@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700,900');

/*Tabs*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

/*Contact Form*/
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,600,400italic);

/*Masonry Gallery*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

* {
	box-sizing: border-box;
	transition: all ease-in-out 200ms;
}

body {
	margin: 0;
	font-family: 'Raleway', sans-serif;
	text-align: center;
	background-color: #1c1c1e;
	color: #ffffff;
}

img {
	max-width:100%;
	height: auto;
}

img.logo {
	margin-top: -1rem;
}

.container {
	width: 100%;
	max-width: 70em;
	margin: 0 auto;
	padding: 0;
}

.clearfix::after,
section::after,
footer::after {
	content: '';
	display: block;
	clear:both;
}

/* Columns */

[class^=col-] {
	width: 100%;
	margin-top: 1em;
}

[class^=col-]:first-child {
	margin-top: 0;
}

.col-footer {
		margin-top: 1em;
		text-align: center;
}

.col-header span {
	display: none;
}

@media (min-width: 40rem) {

	[class^=col-] {
		float: left;
		padding: 0 .5em;
		margin-top: 0;
	}

	[class^=col-]:first-child {
		padding-left: 0;
	}

	[class^=col-]:last-child {
		padding-right: 0;
	}

	.col-services {
		margin-top: 1em;
		width: 33.333334%;
		float: left;
	}

	.col-header {
		margin-top: 1em;
		width: 33.333334%;
		float: left;
	}

	.col-header span {
		display: block;
	}

	.col-footer {
		margin-top: 1em;
		width: 33.333334%;
		text-align: center;
	}
}

/* Typography */

h1 {
	font-weight: 700;
	font-size: 1.7rem;
	margin-top: 0;
	padding-bottom: .5em;
}

p {
	margin-top: 0;
	line-height: 1.5;
}

.title {
	font-size: 2.5rem;
	margin-bottom: 1.5em;
	font-weight: 900;
	margin-top: 1em;
}

.title span {
	font-weight: 300;
	display: none;
	font-size: .6em;
}

.title-cta {
	margin: 0 0 .5em
}

.unstyled-list {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

@media (min-width: 60rem) {

	p {
		font-size: 1.2rem;
		line-height: 1.6;
	}

	.title {
		font-size: 3.7rem;
	}

	.title span {
		font-weight: 300;
		display: block;
		font-size: .6em;
	}
	.team-p {
		font-size: 1rem;
	}
}

/* Font Awesome Icons */

.fa {
	padding: .5em;
    text-align: center;
    text-decoration: none !important;
}

/* Buttons */

.button {
	display: inline-block;
	font-size: 1.15rem;
	text-decoration: none;
	text-transform: uppercase;
	padding: .5em 1.75em;
}

@media (min-width: 60rem) {
	.button {
		font-size: 1.5rem;
	}
}

@media (max-width: 768px){
	.button-dark {
		width:30%;
		font-size:14px;
		padding: 0;
	}
}

.button-small {
	font-size: .7rem;
	font-weight: 700;
}

.button-accent {
	color:#ffffff;
	background-color: #cf010c;
}

.button-accent:hover,
.button-accent:focus
{
	background:#ffffff;
	color:#cf010c;
	text-decoration: none;
}

.button-dark {
	color:#cf010c;
	background-color: #ffffff;
}

.button-dark:hover,
.button-dark:focus
{
	background-color: transparent;
	color:#ffffff;
	border: 1px solid #ffffff;
	text-decoration: none;
}

/* Parallax */

.parallax--bg,
.parallax--box {
	transition: initial;
}

/* Header */

header {
	position: relative;
	left: 0;
	right: 0;
	margin: 1em;
}

nav ul {
	padding:0;
}

nav li {
	display: inline;
	margin: .10em .1em;
	text-align:center;
}

nav a {
	font-weight: 900;
	text-decoration: none !important;
	text-transform: uppercase;
	font-size: .8rem;
	padding: .5em;
	color:#333333;
	line-height: 1em;
}

.logo {
	max-width: 10em;
}

nav a:hover,
nav a:focus {
	color:#cf010c;
}

/*Responsive navbar*/

.topnav a {display: none;}
.topnav a.icon {
    float: right;
    display: block;
  }

.topnav.responsive {
	position: relative; 
	background: #ffffff;
	border: 1px solid #cf010c;
}
.topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
.topnav.responsive a {
    float: none;
    display: block;
    text-align: center;
  }

  .mobilenav{
	background-color: #1c1c1e;
  }

/* End Responsive navbar*/

@media (min-width: 60rem) {
	.logo {
		max-width: 10em;
	}

	nav li {
		display:inline-block;
		margin: 1em;
	}

	.topnav a {display: block;}

	.mobilenav a.icon {
		display: none;
	}

	nav a {
		font-weight: 900;
		text-decoration: none !important;
		text-transform: uppercase;
		font-size: .8rem;
		padding: .5em;
		color:#333333;
	}
}



/* Footer */

footer {
	background: #ffffff;
	color: #333333;
	text-align: left;
	padding: 5em 0;
}


*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100vh;
}

body {
  font: 14px/1 'Open Sans', sans-serif;
  color: #555;
  background: #eee;
}

h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
}

p {
  margin: 0 0 20px;
  line-height: 1.5;
}

main {
  min-width: 320px;
  max-width: 90%;
  padding: 50px;
  margin: 0 auto;
  background: #fff;
}

section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}

#tab1, #tab2, #tab3, #tab4 {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
}

label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

label[for*='1']:before { content: '\f030'; }
label[for*='2']:before { content: '\f007'; }
label[for*='3']:before { content: '\f003'; }
label[for*='4']:before { content: '\f02d'; }

label:hover {
  color: #888;
  cursor: pointer;
}

input:checked + label {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid #b87333;
  border-bottom: 1px solid #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}

#content1 {
	column-width: 300px;
	padding-top: 5%;
}

#content2, #content3, #content4 {
	column-width: 600px;
	padding-top: 5%;
}

#content2 img {
	width: 50%;
	box-shadow: 10px 10px 5px grey;
	margin-bottom: 3em;
}

@media screen and (max-width: 650px) {
  label {
    font-size: 0;
  }
  label:before {
    margin: 0;
    font-size: 18px;
  }

  #content2 img {
  width: 100%;
  }
}

@media screen and (max-width: 400px) {
  label {
    padding: 15px;
  }
}

/*Masonry Gallery*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  
}

h1 {
  font-weight: 100;
  margin: 0;
}

section {
  column-width: 300px;
  column-gap: 5px;
  padding: 5px;
}

section img {
  width: 100%;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  background: #7f8c8d;
}

.filter {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(20px);
  opacity: 0.5;
  background-position: center;
  background-size: cover;
}

.lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateY(0deg);
  max-height: 95vh;
  max-width: calc(95vw - 100px);
  transition: 0.8s cubic-bezier(0.7, 0, 0.4, 1);
  transform-style: preserve-3d;
}


/*.lightbox:hover img{
  transform: translate(-50%, -50%) rotateY(180deg);
}*/

[class^="arrow"] {
  height: 200px;
  width: 50px;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

[class^="arrow"]:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 15px;
  height: 15px;
}

.arrowr {
  right: 0;
}

.arrowr:after {
  border-right: 1px solid white;
  border-bottom: 1px solid white;
}

.arrowl {
  left: 0;
}

.arrowl:after {
  border-left: 1px solid white;
  border-top: 1px solid white;
}

.close {
  position: absolute;
  right: 0;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.4);
  margin: 20px;
  cursor: pointer;
}

.close:after,
.close:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 100%;
  background: #e74c3c;
}

.close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.title {
  font-size: 20px;
  color: #000;
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
}


/*Contact Form*/


/** {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}*/

/*body {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-size: 12px;
  line-height: 30px;
  color: #777;
  background: #4CAF50;
}*/

/*.container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}*/

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea,
#contact button[type="submit"] {
  font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif;
}

#contact {
  background: #F9F9F9;
  padding: 25px;
  box-shadow: 10px 10px 5px grey;
  color: #333333;
  width: 50%;
  margin: 0 auto;
}

#contact h3 {
  display: block;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 10px;
}

#contact h4 {
  margin: 5px 0 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 5px;
  padding: 10px;
}

#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}

#contact textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

#contact button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: 1px solid #b87333;
  background: #b87333;
  color: #FFF;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

#contact button[type="submit"]:hover {
  background: transparent;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
  color: #333333;
  border: 1px solid #333333;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.copyright {
  text-align: center;
}

#contact input:focus,
#contact textarea:focus {
  outline: 0;
  border: 1px solid #aaa;
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}

@media(max-width: 768px){
  #contact {
  width: 100%;
  }
  #contact h3 {
  font-size: 20px;
  }
}