* {
	outline: none !important;
}

::selection {
	background-color: #475B6F;
	color: #fff;
}

html {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	overflow-y: scroll;
	scroll-behavior: smooth;
}

body {
	color: #6a6a6a;
	background: #f1f0f0;
}

p {
	margin: 0 0 20px 0;
}

img {
	max-width: 100%;
}

a {
	text-decoration: none;
	outline: none;
}

a {
	color: #4da7ca;
	-o-transition: all .4s;
	-ms-transition: all .4s;
	-moz-transition: all .4s;
	-webkit-transition: all .4s;
	transition: all .4s;
}

a:hover {
	color: #4290ae;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 15px 0;
	color: #3A4F52;
	font-family: 'Stencil';
}

.btn {
	border-radius: 0;
}

.btn-o {
	border: 1px solid #3A4F52;
	color: #3A4F52;
}

.btn-o:hover {
	background: #3A4F52;
	color: white;
}

.btn.btn-o-white {
	border: 1px solid white;
	color: white;
	background: transparent;
}

.btn.btn-o-white:hover {
	background: white;
	color: #6a6a6a;
}


/*////////////////////////////////////////////////////////////////////////
//  02 - Header
///////////////////////////////////////////////////////////////////////*/

#header {
	position: relative;
	padding: 0 !important;
}

#header.header-wrapper {
	background: url(../images/main4.jpg) no-repeat center center;
	background-size: cover;
	display: table;
	height: 100vh;
	width: 100%;
	position: relative;
	z-index: 1;
	overflow-x: hidden;
}

#header.header-wrapper .header-wrapper-cover {
	background: black;
	opacity: 50%;
	z-index: -1;
	background-size: cover;
	display: table;
	height: 100vh;
	width: 100%;
	position: absolute;
	overflow-x: hidden;
}

@media screen and (max-width: 767px) and (orientation: landscape) {
	#header.header-wrapper {
		height: auto;
		min-height: 100vh;
		padding: 0px;
	}
}

#header.header-wrapper .header-wrapper-inner {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

#header .top {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 30px;
	height: auto;
	z-index: 500;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	-moz-transition: all .5s;
	-webkit-transition: all .5s;
	transition: all .5s;
}

#header .top.solid {
	background: #475B6F;
	padding-top: 15px;
	padding-bottom: 15px;
}

#header .top h1 {
	margin-bottom: 0;
}

#header .top.solid .toggleDrawer i {
	padding-top: 8px;
}

#header .logo,
#header .toggleDrawer {
	font-family: 'Alegreya SC';
	color: white;
}

#header .slogan {
	font-size: 4em;
	margin-bottom: 15px;
	line-height: 1em;
	font-family: 'Stencil';
	color: white;
}

#header .secondary-slogan {
	font-size: 1.6em;
	color: white;
	line-height: 1em;
	font-family: 'Arial';
	font-weight: 700;
	z-index: 3;
}

#header .bottom {
	bottom: 10%;
	display: block;
	position: absolute;
	width: 100%;
	z-index: 3;
}

#header .bottom a img {
	width: 50px;
}

#header .bottom a {
	opacity: 0.7;
}

#header .bottom a:hover {
	opacity: 1;
}

#header .pull-left {
	display: flex;
	justify-content: center;
	align-items: center;
}

#header .pull-left img {
	height: 40px;
	margin-right: 10px;
}

#header .pull-left a {
	font-family: "Stencil";
}

#header .pull-left a:hover {
	text-decoration: none;
}

#header .center {
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: center;
	align-items: center;
}

#header .center .secondary-slogan {
	width: 80%;
}

#header .center a {
	margin-top: 5px;
}



/*////////////////////////////////////////////////////////////////////////
//  03 - Drawer with menu
///////////////////////////////////////////////////////////////////////*/

#drawer-right {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	margin-right: -300px;
	background-color: #182757ff;
	width: 300px;
	padding: 20px;
	z-index: 999;
}

#drawer-right h1,
#drawer-right h2 {
	color: white;
}

#drawer-right .nav-pills>li>a {
	font-size: 18px;
	border-radius: 0;
}

#drawer-right .social {
	margin-top: 30px
}

#drawer-right .social ul {
	list-style: none;
	padding-left: 20px;
}

#drawer-right .social ul>li {
	display: inline-block;
}

#drawer-right .social ul>li>a:hover {
	color: white;
}

.social ul {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

/*////////////////////////////////////////////////////////////////////////
//  04 - Parallax styles
///////////////////////////////////////////////////////////////////////*/

.content-block {
	background: transparent no-repeat center center fixed;
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	overflow: hidden;
	padding: 60px 0;
}

.parallax {
	padding: 80px 0;
}

.block-body {
	margin-top: 60px;
}

#services {
	background-image: url(../images/main9.jpg);
	color: white;
	background-color: #405162;
}

#parallax {
	background-image: url(../images/main7.jpg);
	color: white;
	background-color: #405162;
}

#contact {
	background-image: url(../images/newsletter-bg.png);
	color: white;
	background-color: #405162;
}

#parallax h1 {
	margin-bottom: 60px;
	color: white;
}




/*////////////////////////////////////////////////////////////////////////
//  05 - Recent works
///////////////////////////////////////////////////////////////////////*/

.recent-work {
	width: 100%;
	padding-bottom: 27%;
	background: #C3C9CC;
	display: table;
	text-align: center;
	vertical-align: middle;
	padding-top: 27%;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	margin-bottom: 30px;
}

.recent-work span {
	margin-top: -18px;
	opacity: 0;
	position: relative;
	z-index: 1;
}

.recent-work:before {
	background: rgba(2, 56, 58, 0.7);
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	content: '';
	opacity: 0;
	-o-transition: all .2s;
	-ms-transition: all .2s;
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	transition: all .2s;
}

.recent-work:hover {
	background-size: 200%;
	background-position: center;
}

.recent-work:hover:before,
.recent-work:hover span {
	opacity: 1;
}





/*////////////////////////////////////////////////////////////////////////
//  06 - Services
///////////////////////////////////////////////////////////////////////*/

#services h1,
#services h2 {
	color: white;
}

.service i {
	font-size: 60px;
}

.service {
	padding: 0 25px;
}

#services .container-fluid,
#parallax .container-fluid {
	background-color: transparent;
	padding: 20px;
	backdrop-filter: blur(10px);
	background-image: linear-gradient(120deg,
			rgba(255, 255, 255, 0.3),
			rgba(0, 0, 0, 0.2));
	border: none;
	filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

/*////////////////////////////////////////////////////////////////////////
//  07 - Blog
///////////////////////////////////////////////////////////////////////*/


#blog .blog-post img {
	margin-bottom: 20px;
}

#blog .date {
	margin-bottom: 15px;
	font-style: italic;
}


/*////////////////////////////////////////////////////////////////////////
//  08 - Testimonials
///////////////////////////////////////////////////////////////////////*/


#testimonials {
	text-align: center;
}

#testimonials .testimonial>img {
	border-radius: 100%;
	margin-bottom: 15px;
}

#testimonials .testimonial {
	padding: 25px;
}


/*////////////////////////////////////////////////////////////////////////
//  09 - Contact
///////////////////////////////////////////////////////////////////////*/


#contact {
	color: white;
}

#contact h1 {
	color: white
}

.form-control-white {
	background: transparent;
	color: white;
}

.form-control-white::-webkit-input-placeholder {
	/* WebKit browsers */
	color: white;
}

.form-control-white:-moz-placeholder {
	/* Mozilla Firefox 4 to 18 */
	color: white;
	opacity: 1;
}

.form-control-white::-moz-placeholder {
	/* Mozilla Firefox 19+ */
	color: white;
	opacity: 1;
}

.form-control-white:-ms-input-placeholder {
	/* Internet Explorer 10+ */
	color: white;
}


/*////////////////////////////////////////////////////////////////////////
//  10 - Footer
///////////////////////////////////////////////////////////////////////*/


#footer {
	background: #2B3E51;
	color: white;
}



/*////////////////////////////////////////////////////////////////////////
//  11 - Responsive styles
///////////////////////////////////////////////////////////////////////*/


@media (max-width: 767px) {

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		text-align: center;
	}

	#header .slogan {
		font-size: 2.8em;
	}

	#header .secondary-slogan {
		font-size: 1.2em;
	}

	#header .bottom {
		bottom: 13%;
	}

	.blog-post {
		margin-bottom: 40px;
	}

	.recent-work {
		background-position: center;
	}

	.recent-work:before {
		opacity: 1;
	}

	.recent-work span {
		opacity: 1;
	}
}

@media (max-width: 480px) {
	#drawer-right {
		padding: 10px 20px;
	}

	#drawer-right .nav-pills>li>a {
		font-size: 17px;
	}

	.nav-stacked>li+li {
		margin-top: 0;
	}

	.nav>li>a {
		padding: 8px 15px;
	}

	#drawer-right .social {
		margin-top: 5px;
	}

	#header {
		background-size: cover;
	}
}

/* Modal */
dialog {
	height: 50vh;
	opacity: 0;
	scale: 0;
	display: block;
	transition: all 2.5s;
	overflow: hidden;
	border-radius: 10px;
  }
  
  dialog[open] {
	opacity: 1;
	scale: 1;
	border: none;
  }
  
  dialog img {
	height: 100%;
  }
  
  .image-fade {
	animation: imgFade 0.5s ease-in-out;
  }
  
  @keyframes imgFade {
	0% {
	  opacity: 0;
	}
	100% {
	  opacity: 1;
	}
  }