/*
Theme name: Bayfair
Description: Custom Theme
*/

/******* Bayfair WordPress CSS *******/

/* Common elements styling */

.post .entry h1 { font-size: 20px; line-height: 30px}
.post .entry h2 { font-size: 18px; line-height: 27px}
.post .entry h3 { font-size: 16px; line-height: 24px}
.post .entry h4 { font-size: 14px; line-height: 21px}
.post .entry h5 { font-size: 12px; line-height: 18px}
.post .entry h6 { font-size: 10px; line-height: 15px}

.post .entry ul { margin-left: 25px; }
.post .entry ol { margin-left: 25px; }
.post .entry a img { border: 0 }

p img { padding: 0;	max-width: 100%; }
img.centered { display: block; margin-left: auto; margin-right: auto; }
img.alignright { margin: 2px 0 2px 7px; display: inline; }
img.alignleft { margin: 0px 20px 20px 0px; display: inline; }
.alignright { float: right; display: inline; }
.alignleft { float: left; display: inline; }
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Calendar widget */
#wp-calendar { empty-cells: show; margin: 10px auto 0; }
#wp-calendar #next a { padding-right: 10px; text-align: right; }
#wp-calendar #prev a { padding-left: 10px; text-align: left; }
#wp-calendar a { display: block; }
#wp-calendar caption { text-align: center; width: 100%; }
#wp-calendar td { padding: 3px 0; text-align: center; }
.wp-caption { border: 1px solid #ddd; text-align: center; padding-top: 4px; margin: 10px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0;}

/* Big images in rich text editor should not break page layout */
.post .entry { overflow: hidden; } 

/******* /Bayfair WordPress CSS *******/

/* ------------------------------------------------------------ *\
	Reset
\* ------------------------------------------------------------ */
* { padding: 0; margin: 0; outline: 0; }

/* ------------------------------------------------------------ *\
	Base	
\* ------------------------------------------------------------ */
html,
body { height: 100%; }

html { overflow-y: scroll; 
		-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%;
}

body { min-width: 1340px; background: #fff; font-family: 'Lato', sans-serif; font-size: 16px; line-height: 2.25; color: #000; font-weight: 400; 
		-webkit-font-smoothing:antialiased;
}

h1 { font-size: 40px; line-height: 1; color: #000; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 300; }
h2 { font-size: 30px; line-height: 1.2; color: #000; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 300; }
h3 { font-size: 20px; line-height: 2; color: #000; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 300; }
h4 { font-size: 18px; line-height: 1.2; color: #000; font-weight: 300; }
h5 { font-size: 16px; line-height: 1.3; color: #000; font-weight: 300; }
h6 { font-size: 15px; line-height: 1.5; color: #000; font-weight: 300; }



a { cursor: pointer; text-decoration: none; color: #1b2c4d; }
a:hover { text-decoration: none; }

img { border: 0; vertical-align: middle; }

ul,
ol { list-style-position: inside; }

strong { font-weight: bold; }
small { font-size: 80%; }

article,
aside,
figcaption,
figure,
footer,
header,
main,
nav,
section { display: block; }

/* ------------------------------------------------------------ *\
	Helpers
\* ------------------------------------------------------------ */
.alignleft { float: left; }
.alignright { float: right; }
.hidden { display: none; visibility: hidden; }

.clearfix:before,
.clearfix:after { display: table; content: ' '; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* ------------------------------------------------------------ *\
	
\* ------------------------------------------------------------ */
.btn-blue { display: inline-block; text-transform: uppercase; border: 2px solid #fff; color: #fff; }
.btn-blue:hover { background: #fff; color: #394764; }

/* ------------------------------------------------------------ *\
	Containers
\* ------------------------------------------------------------ */
.wrapper { position: relative; }
.shell { width: 1340px; margin: 0 auto; }

/* ------------------------------------------------------------ *\
	Transition
\* ------------------------------------------------------------ */
.footer-access li a,
.btn-blue,
.section-project .bx-prev,
.section-project .bx-next,
.section-project .slider-pager a span,
.slider-home .bx-prev,
.slider-home .bx-next,
.home .header,
.slider-pager img.selected,
.slider-pager img,
.home .header.header-bg {
 	-webkit-transition: all 0.9s;
	        transition: all 0.9s;
 }

.header,
.header.small,
.logo,
.header.small .logo
.home .logo,
.home .header.small .logo,
.nav,
.prev a.thumbs,
.next a.thumbs,
.header.small .nav {
 	-webkit-transition: all 0.5s;
	        transition: all 0.5s;
 }

/* ------------------------------------------------------------ *\
	Header
\* ------------------------------------------------------------ */
.header { position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 104px; background: rgba(255,255,255,1); border-bottom: 1px solid #eee; }
.header.small { height: 80px; }

.header-inner { padding-top: 13px; }

.header.small .logo { width: 255px; height: 54px; background: url(images/logo-alt.png) no-repeat 0 0; }
.logo { margin-left: 1px; width: 350px; height: 74px; display: block; float: left; text-indent: 100%; white-space: nowrap; overflow: hidden; background: url(images/logo.png) no-repeat 0 0; }


.header-right { float: right; text-align: right; }
.header-top { overflow: hidden; }

.phone { padding-top: 3px; float: right; font-size: 15px; line-height: 1.2; letter-spacing: 0.2em; color: #1b2c4d; }
.nav-access { float: right; padding: 7px 0 0 37px; }
.nav-access ul { list-style: none outside none; width: 300px; }
.nav-access li a { display: block; font-size: 12px; line-height: 1.2; letter-spacing: 0.2em; color: #1b2c4d; text-transform: uppercase; font-weight: 700; float: left; padding-left: 40px; }

.header.small .nav { padding-top: 10px; }
.nav { padding-top: 20px; margin-right: -4px; }
a.menu-btn { display: none; }
.nav > ul { list-style: none outside none; }
.nav > ul > li { position: relative; float: left; margin-left: 25px; }
.nav > ul > li > a { font-size: 16px; line-height: 1.2; letter-spacing: 0.2em; color: #1b2c4d; text-transform: uppercase; }
.nav .login-link { display: none; }



.home .header { background: rgba(0,0,0,0); border-bottom: 0; }
.home .header.header-bg { background: #1b2c4d; }
.home .header.small .logo { width: 255px; height: 54px; background: url(images/logo-home-alt.png) no-repeat 0 0; }
.home .logo { background: url(images/logo-home.png) no-repeat 0 0; }


.home .phone,
.home .nav-access li a,
.home .nav > ul > li > a { color: #fff; }


.nav .sub-menu { position: absolute; top: 100%; left: 0; list-style: none outside none; background: #fff; padding-top: 33px; min-width: 205px; opacity: 0; visibility: hidden; box-shadow: 0px 10px 30px #979797;
		-webkit-transform: scale(0.8) translate3d(0,-10%,0);
				transform: scale(0.8) translate3d(0,-10%,0);
		-webkit-transition: all 0.2s;
				transition: all 0.2s;
}
.nav .sub-menu:before { position: absolute; top: -12px; left: 10px; z-index: 2; content: ""; width: 0; height: 0; border-style: solid; border-width: 0 6px 12px 6px; border-color: transparent transparent #ffffff transparent }

.nav .sub-menu li { padding-bottom: 29px; text-align: left; }
.nav .sub-menu a { padding-left: 19px; display: block; font-family: 'Caviar Dreams', sans-serif; font-size: 13px; line-height: 1.2; letter-spacing: 0.1em; color: #1b2c4d; font-weight: 400; text-transform: uppercase; }
.nav .sub-menu a:hover { color: #375285; }

.nav > ul > li:hover .sub-menu { opacity: 1; visibility: visible;
	-webkit-transform: scale(1) translate3d(0,0,0);
			transform: scale(1) translate3d(0,0,0);
}

.nav > ul > li:last-child { left: auto; right: 0; }

/* ------------------------------------------------------------ *\
	Section Post
\* ------------------------------------------------------------ */
.section-post { margin-top: 105px; padding: 88px 0 64px; } 

.section-post .entry-header { margin-bottom: 40px; }
.entry-header h1 { margin-left: -6px; padding-bottom: 3px; font-size: 72px; line-height: 1; letter-spacing: 0.2em; color: #000; font-weight: 300; text-transform: uppercase; }
.entry-header h5 { font-family: 'Times New Roman', serif; font-size: 25px; line-height: 2; letter-spacing: 0.2em; color: #000; text-transform: uppercase; font-weight: normal; }

.section-post .section-image { margin-bottom: 95px; }
.section-post .section-image img { max-width: 100%; height: auto; }

.section-post .entry { }

.section-post .entry h1 { padding-bottom: 43px; }
.section-post .entry h1:first-child { position: relative; }
.section-post .entry h1:first-child:after { position: absolute; bottom: 23px; left: 1px; display: block; content: ""; width: 59px; height: 6px; background: #000; }
.section-post .entry h2 { padding: 21px 0 7px 1px; }
.section-post .entry h3,
.section-post .entry h4 { padding: 16px 0 8px; }

.section-post .entry h5,
.section-post .entry h6 { padding: 8px 0; }

.section-post .entry p { padding: 0 12px 24px 0; }
.section-post .entry > p:first-letter { margin-right: 9px; font-family: 'Times New Roman', serif; float: left; font-size: 118px; line-height: 0.9; }
.section-post .post .entry p:first-letter,
.error404 .section-post .entry p:first-letter {margin-right: 0; font-family: 'Lato', serif; float: none; font-size: 16px; line-height: 2.25;}

.section-post .entry p ~ p:first-letter { margin-right: 0; float: none; font-family: 'Lato', sans-serif; font-size: 16px; line-height: 2.25; font-weight: 400; letter-spacing: 0; }
.section-post .entry p a { color: #283a58; }

.section-post .entry p + ul,
.section-post .entry p + ol { margin-top: -24px; }

.section-post .entry ul ul,
.section-post .entry ol ol { padding-left: 20px; }

.section-post .entry ul,
.section-post .entry ol { padding-bottom: 14px; }

.navigation a,
.post-title a {color: #000;}

/* ------------------------------------------------------------ *\
	Section Features
\* ------------------------------------------------------------ */
.section-features { margin-top: 105px; }
.section-features .entry-header { padding: 88px 0 39px; }
.features { list-style: none outside none; }
.feature { overflow: hidden; }

.feature-image { position: relative; z-index: 1; float: left; width: 50%; }
.feature-image:after { position: absolute; top: 50%; right: 0; z-index: 2; margin-top: -18px; content: ""; width: 0; height: 0; border-style: solid; border-width: 18.5px 31px 18.5px 0; border-color: transparent #ffffff transparent transparent; }
.feature-image a { display: block; }
.feature-image a img { width: 100%; height: auto; }

.feature-content,
.service-content { float: right; width: 50%; display: table; text-align: center; }

.service-inner,
.feature-inner { padding: 0 70px; margin: 0 auto; display: table-cell; vertical-align: middle; }

.service-content h2,
.feature-content h2 { padding-bottom: 28px; color: #1b2c4d; }
.service-content h2 a,
.feature-content h2 a { color: #1b2c4d; }
.service-content h6,
.feature-content h6 { position: relative; margin-bottom: 26px; }
.service-content h6:after,
.feature-content h6:after { position: absolute; top: 50%; left: 0; right: 0; z-index: 2; display: block; content: ""; width: 100%; height: 1px; background: #394764; }
.service-content h6 span,
.feature-content h6 span { position: relative; z-index: 3; display: inline-block; font-size: 12px; padding: 0 20px; line-height: 2; letter-spacing: 0.2em; color: #1b2c4d; background: #fff; text-transform: uppercase; font-weight: 400; }
.service-content p,
.feature-content p { padding-bottom: 11px; letter-spacing: 0.05em; color: #1b2c4d; }

.service-actions a,
.feature-actions a { font-size: 14px; line-height: 3.9; letter-spacing: 0.2em; color: #1b2c4d; font-weight: 400; text-transform: uppercase; }

.feature-alt .feature-image { float: right; }
.feature-alt .feature-content { float: left; }
.feature-alt .feature-image:after { left: 0; right: auto; border-width: 18.5px 0 18.5px 31px; border-color: transparent transparent transparent #ffffff; }

/* ------------------------------------------------------------ *\
	Section Services
\* ------------------------------------------------------------ */
.section-services .shell { width: 1199px; overflow: hidden; }
.section-services .services { list-style: none outside none; }
.section-services .service { padding: 80px 0; }
.section-services .service-alt { background: #f9fbfe; }

.service-inner { padding: 0; }
.service-image { float: left; width: 587px; }
.service-image a { display: block; }
.service-image img { width: 100%; height: auto; }

.service-content { width: 553px; float: right; }
.service-content h2 { margin-top: 6px; }
.service-content h6 span { padding: 0 20px; }

.section-services .service-alt .service-content h6 span { background: #f9fbfe; }

/* ------------------------------------------------------------ *\
	Section Project
\* ------------------------------------------------------------ */
.section-project { padding: 105px 0 76px; }
.section-project .entry-header { padding: 79px 0 41px; }

/*.section-project .section-slider { overflow: hidden; margin-bottom: 80px; }

.section-project .slider-project { position: relative; float: right; width: 717px; height: 556px; overflow: hidden; }
.section-project .slider-project .slides { overflow: hidden; list-style: none outside none; width: 717px; height: 556px; }
.section-project .slider-project .slide { float: left; width: 717px; height: 556px; }
.section-project .slider-project .slide img { width: 100%; height: auto; }

.bx-prev,
.bx-next { position: absolute; top: 50%; z-index: 51; margin-top: -25px; content: ""; display: block; height: 54px; width: 34px; text-indent: 100%; overflow: hidden; white-space: nowrap; opacity: 0; }

.bx-prev { left: 19px; background: url(images/slide-prev.png) no-repeat 0 0; }
.bx-next { right: 19px; background: url(images/slide-next.png) no-repeat 0 0; }

.bx-pager { display: none; }

.section-project .slider-project:hover .bx-prev,
.section-project .slider-project:hover .bx-next { opacity: 1; }

.section-project .slider-pager { float: left; width: 610px; height: auto; overflow: hidden; margin: -4px -7px 0; }
.section-project .slider-pager a { position: relative; margin: 5px; width: 193px; height: 180px; float: left; }
.section-project .slider-pager a span { position: absolute; top: 0; right: 0; width: 193px; height: 180px; background: rgba(255,255,255,0.5); opacity: 0; }
.section-project .slider-pager a:hover span,
.section-project .slider-pager a.active span { opacity: 1; }
.section-project .slider-pager a img { width: 193px; height: 180px; }

.section-project .entry { text-align: center; }
.section-project .entry h1 { position: relative; margin: 0 62px 20px; }
.section-project .entry h1:after { position: absolute; top: 50%; z-index: 1; left: 0; right: 0; z-index: 2; display: block; content: ""; width: 100%; height: 1px; background: #394764; }
.section-project .entry h1 span { position: relative; z-index: 3; padding: 0 20px; display: inline-block; margin: 0 auto; font-size: 36px; line-height: 1; color: #1b2c4d; text-transform: uppercase; font-weight: 300; letter-spacing: 0.1em; background: #fff; }
.section-project .entry p { letter-spacing: 0.1em; color: #1b2c4d; }*/

.section-slider { width: 1340px; height: 566px; margin-bottom: 80px; position: relative; }
.section-slider .slider-project img { display: block; float: left; width: 717px; height: 556px; }
.slider-project { position: relative; float: right; width: 717px; height: 556px; overflow: hidden; }
.slider-pager { width: 610px; float: left; }
.slider-pager img {  margin: 5px; width: 193px; height: 180px; cursor: pointer; }

.slider-pager img.selected,
.slider-pager img:hover { opacity: 0.6; }
 
.slider-pager div { width: 610px; height: 556px; float: left; }

.prev a.images,
.next a.images { position: absolute; top: 50%; z-index: 51; margin-top: -25px; content: ""; display: block; height: 54px; width: 34px; text-indent: 100%; overflow: hidden; white-space: nowrap; opacity: 1; }

.prev a.disabled,
.next a.disabled { display: none !important; }

.prev a.images { left: 640px; background: url(images/slide-prev.png) no-repeat 0 0; }
.next a.images { right: 19px; background: url(images/slide-next.png) no-repeat 0 0; }

.prev a.thumbs,
.next a.thumbs { position: absolute; left: 280px; z-index: 51; margin-top: 0; content: ""; display: block; height: 40px; width: 54px; text-indent: 100%; overflow: hidden; white-space: nowrap; opacity: 1; }
.prev a.thumbs { top: -40px; background: url(images/arrow-up.png) no-repeat 0 0; }
.next a.thumbs { bottom: -40px; background: url(images/arrow-down.png) no-repeat 0 0; }

.prev a.thumbs:hover,
.next a.thumbs:hover { opacity: 0.8; }

/* ------------------------------------------------------------ *\
	Slider Home
\* ------------------------------------------------------------ */
.slider-home { position: relative; height: 869px; }

.slider-home .slider-clip { position: relative; }
.slider-home .slides { overflow: hidden; list-style: none outside none; width: 100%; height: 869px; }
.slider-home .slide { float: left; width: 100%; height: 869px; }
.slider-home .slide-image { width: 100%; height: 869px; }

.slider-home .slide-image.fsr-container { position: absolute; }

.slider-home .slide-content { position: relative; z-index: 53; display: table; height: 869px; width: 1340px; margin: 0 auto; }
.slider-home .slide-content .shell { overflow: hidden; display: table-cell; vertical-align: bottom; padding-bottom: 57px; }
.slider-home .slide-content h2 { padding: 9px 0 0 180px; float: left; color: #fff; }
.slider-home .slide-actions { padding-left: 70px; float: left; }
.slider-home .slide-actions .btn-blue { padding: 0 35px 0 41px; height: 51px; font-size: 16px; line-height: 48px; letter-spacing: 0.2em; font-weight: 300; }
.slider-home .slide-actions .btn-blue:hover { color: #394764; }

.slider-home:hover .bx-prev,
.slider-home:hover .bx-next { opacity: 1; }

.slider-home .bx-prev,
.slider-home .bx-next { position: absolute; top: 50%; z-index: 51; margin-top: -25px; content: ""; display: block; height: 54px; width: 34px; text-indent: 100%; overflow: hidden; white-space: nowrap; opacity: 0; }

.slider-home .bx-prev { left: 19px; background: url(images/slide-prev.png) no-repeat 0 0; }
.slider-home .bx-next { right: 19px; background: url(images/slide-next.png) no-repeat 0 0; }

.slider-home .bx-pager { display: none; }

.slider-home .slide-image:before { position: absolute; top: 0; left: 0; right: 0; z-index: 52; content: ""; display: block; height: 100px;   
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.7)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}

.slider-home .slide-image:after { position: absolute; bottom: 0; left: 0; right: 0; z-index: 52; content: ""; display: block; height: 250px;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}

/* ------------------------------------------------------------ *\
	Section Contact
\* ------------------------------------------------------------ */
.section-contact { padding-top: 102px; height: 275px; text-align: center; }
.section-contact.fsr-container { background-position: center top; }
.section-contact h1 { position: relative; display: inline-block; margin: 0 auto 39px; font-size: 48px; line-height: 1; color: #fff; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; }
.section-contact h1:after { position: absolute; top: 50%; left: 110%; width: 255px; height: 1px; display: block; content: ""; background: #fff; }
.section-contact h1:before { position: absolute; top: 50%; right: 110%; width: 255px; height: 1px; display: block; content: ""; background: #fff; }

.section-contact .section-actions { display: block; }
.section-contact .btn-blue { padding: 0 25px 0 30px; height: 67px; font-size: 18px; line-height: 63px; color: #fff; letter-spacing: 0.1em; }
.section-contact .btn-blue:hover { color: #394764; }

/* ------------------------------------------------------------ *\
	Footer
\* ------------------------------------------------------------ */
.footer { height: 40px; padding-top: 16px; position: relative; }
.footer .shell { height: 40px; }
.copyright { padding-top: 3px; float: left; }
.copyright p { font-size: 10px; line-height: 2; letter-spacing: 0.2em; text-transform: uppercase; color: #8691a7; }

.footer-access { position: absolute; left: 0; right: 0; z-index: 2; width: 100%; text-align: center; }
.footer-access ul { overflow: hidden; list-style: none outside none; display: inline-block; margin: 0 auto; }
.footer-access li { float: left; background: url(images/footer-bullet.png) no-repeat left center; padding-left: 12px; margin-left: 6px; }
.footer-access li:first-child { background: none; padding-left: 0; margin-left: 0; }
.footer-access li a { display: block; font-size: 10px; line-height: 2; letter-spacing: 0.2em; text-transform: uppercase; color: #aaa; }
.footer-access li a:hover { color: #000; }

.footer-logo { position: relative; z-index: 3; float: right; }
.footer-logo a { display: block; width: 272px; height: 32px; background: url(images/footer-logo.png) no-repeat 0 0; }

.gform_wrapper .top_label .gfield_label { font-family: 'Lato', sans-serif; font-weight: normal!important; }
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] { padding: 0 25px 0 30px; height: 67px; font-size: 18px; line-height: 63px; color: #000; border: 2px solid #000; letter-spacing: 0.1em; background: #fff; text-transform: uppercase; font-family: 'Lato', sans-serif; }
.gform_wrapper .gform_footer input[type=submit]:hover { background: #000; color: #fff; border: 2px solid #fff; transition: all 0.9s; }

.gfield  span.gfield_required { display: none;}

.gform_wrapper input[tyle=submit],
.gform_wrapper input[tyle=text],
.gform_wrapper textarea { border: 1px solid #ccc; -webkit-appearance: none; border-radius: 0; }

.gform_wrapper .gfield_checkbox li input[type=checkbox],
.gform_wrapper .gfield_radio li input[type=radio] { margin-top: 7px !important; }

/* ------------------------------------------------------------ *\
	Fullscreener
\* ------------------------------------------------------------ */
.fsr-container { position: relative; overflow: hidden; background-position: center center; background-repeat: no-repeat; background-size: cover; }
.fsr-element { position: absolute; }
.fsr-hidden { display: none; }

/* ------------------------------------------------------------ *\
	Media - Small desktop, tablets in landscape 
\* ------------------------------------------------------------ */
@media (max-width: 1350px) {
	.nav .login-link { display: block; }
	
	.slider-home .slide-image:after { position: absolute; bottom: 0; left: 0; right: 0; z-index: 52; content: ""; display: block; height: 250px; background: none; }
	
	body { min-width: 100%; }
	.shell { width: 660px; }

	.header,
	.header.small { height: 89px; }
	
	.header-inner { padding-top: 0px; }

	.header.small .logo,
	.home .logo,
	.logo,
	.home .header.small .logo { width: 245px; height: 52px; -webkit-background-size: 245px 52px; background-size: 245px 52px; margin-top: 14px;  }

	.phone,
	.nav-access { display: none; }

	.page-id-5 a.menu-btn { width: 28px; height: 15px; background: url(images/white-menu-btn.png) no-repeat 0 0; background-size: 28px 15px; }

	.page-id-5 .nav.show a.menu-btn { -webkit-background-size: 28px 15px; width: 28px!important; height: 15px; background: url(images/mobile-menu-btn.png) no-repeat 0 0; background-size: 28px 15px; }

	a.menu-btn { position: relative; z-index: 5; display: inline-block; float: right; text-indent: 100%; white-space: nowrap; overflow: hidden; margin: 0px; -webkit-background-size: 245px 52px; background-size: 245px 52px; margin-top: 14px; width: 55px; height: 30px; background: url(images/mobile-menu-btn.png) no-repeat 0 0; }

	.header.small .nav { margin-top: 30px; padding-top: 0; }
	.nav { width: auto; }
	.nav > ul { position: absolute; top: 0; right: 0; right: 0; z-index: 4; float: none; width: 344px; display: block; background: #fff; padding: 100px 0 0 0; visibility: hidden; height: auto; opacity: 0; }
	.nav > ul { 
		-webkit-transform: scale(0.8) translate3d(0,-10%,0);
				transform: scale(0.8) translate3d(0,-10%,0);
		-webkit-transition: all 0.2s;
				transition: all 0.2s;
	}
	.nav > ul > li { float: none; display: block; margin: 0; padding: 0 0 30px 0; text-align: left; }

	.home .nav > ul > li > a,
	.nav > ul > li > a { padding: 0 0 0 53px; display: block; position: relative; color: #1a2c4d; }
 
	.nav.show > ul { visibility: visible; opacity: 1; background: #fff; }
	.nav.show > ul { box-shadow:0px 10px 30px #979797;
		-webkit-transform: scale(1) translate3d(0,0,0);
				transform: scale(1) translate3d(0,0,0);
	}

	.siteorigin-panels .embed-container { overflow: visible; }
	.siteorigin-panels .embed-container iframe { top: 36px; left: 100px; width: 315px; height: 177px; }
	
	.nav > ul > li:hover .sub-menu { height: auto; padding-top: 15px; margin: 21px 0 -15px; }
	.nav .sub-menu { height: 0; position: static; top: auto; left: auto; background: #f0f5fb; padding: 0; margin: 0; }
	.nav .sub-menu:before { display: none; }

	.nav .sub-menu li { padding-bottom: 0px; text-align: left; padding-bottom: 35px; }
	.nav .sub-menu li:last-child { padding-bottom: 10px; }
	.nav .sub-menu a { padding: 0 0 0 53px; font-size: 13px; font-family: 'Lato', sans-serif; }
	.nav .sub-menu a:hover { color: #375285; }
	.nav > ul > li:last-child { left: auto; right: auto; }

	.entry-header h1 { font-size: 48px; padding-bottom: 7px; }
	.entry-header h5 { font-size: 18px; }

	.section-features { margin-top: 89px; }
	.section-features .entry-header { padding: 70px 0 19px; }
	.feature-image { float: none; width: 100%; }
	.feature-content { padding: 60px 105px 47px; float: none; width: auto; display: table; text-align: center; }
	.feature-alt .feature-image:after,
	.feature-image:after { position: absolute; top: auto; bottom: 0; left: 50%; right: auto; margin-left: -18px; z-index: 2; margin-top: 0; content: ""; width: 0; height: 0; border-style: solid; border-width: 0 18.5px 31px 18.5px; border-color: transparent transparent #ffffff transparent; }

	.section-contact { padding-top: 76px; height: 194px; }
	.section-contact h1 { margin: 0 auto 29px; font-size: 32px; }
	.section-contact h1:after { left: 110%; width: 110px; }
	.section-contact h1:before { right: 110%; width: 110px; }

	.slider-home,
	.slider-home .slides,
	.slider-home .slide, 
	.slider-home .slide-image { height: 557px; }

	.slider-home .slide-content { height: 557px; width: 660px; margin: 0 auto; }
	.slider-home .slide-content .shell { padding-bottom: 39px; }
	.slider-home .slide-content h2 { padding: 9px 0 0 0; float: left; font-size: 20px; color: #fff; }
	.slider-home .slide-actions { padding-left: 0; float: right; }
	.slider-home .slide-actions .btn-blue { padding: 0 24px; height: 33px; font-size: 11px; line-height: 30px; }

	.section-services { text-align: center; }
	.section-services .shell { width: 660px; }

	.section-services .service { padding: 80px 0 60px; }
	.section-services .service-alt { background: #f9fbfe; }

	.service-inner { padding: 0; }
	.service-image { float: none; width: 587px; margin: 0 auto 26px; }
	.service-content { width: 553px; float: none; margin: 0 auto; }

	.section-project { padding: 84px 0 76px; }
	.section-project .entry-header { padding: 79px 0 17px; }

	/*.section-project .section-slider { overflow: hidden; margin-bottom: 80px; }

	.section-project .slider-project { float: none; width: 660px; height: 509px; margin-bottom: 6px; }
	.section-project .slider-project .slides { width: 660px; height: 509px; }
	.section-project .slider-project .slide { width: 660px; height: 509px; }

	.section-project .slider-pager { float: none; width: 683px; height: 400px; margin: -4px -8px 0; }
	.section-project .slider-pager a { margin: 5px 8px; width: 211px; height: 188px; }
	.section-project .slider-pager a span { display: none; }
	.section-project .slider-pager a img { width: 208px; height: 188px; }*/

	.section-slider { width: 660px; height: auto; margin-bottom: 50px; }
	.section-slider .slider-project img { display: block; float: left; width: 660px; height: 509px; }
	.section-slider .caroufredsel_wrapper { width: 660px !important; }
	.section-slider .slider-project { left: 0 !important; }
	.slider-project { float: none; width: 660px; height: 509px; }
	.slider-project img { width: 660px; height: 509px; }
	.slider-pager { width: 683px; height: 400px !important; float: none; }
	.slider-pager div { width: 683px; height: 400px !important; }
	.section-slider .caroufredsel_wrapper + .caroufredsel_wrapper { height: 400px !important; }
	.slider-pager img { margin: 5px 4px; width: 211px; height: 188px; }
	.prev a.images,
	.next a.images { top: 270px; }
	.prev a.images { left: 10px; }
	.next a.images { right: 10px; }
	.prev a.thumbs,
	.next a.thumbs { left: 48%; }
	.prev a.thumbs { top: 515px; }
	.next a.thumbs { bottom: -30px; }

	.section-project .entry h1 { font-size: 30px; margin: 4px 62px 11px; }
	.section-project .entry h1:after { display: none; }
	.section-project .entry h1 span { padding: 0; font-size: 30px; }

	.section-post { padding: 58px 0 33px; } 
	.section-post .entry-header { margin-bottom: 16px; }
	.section-post .section-image { margin-bottom: 88px; }
	.section-post .entry h1 { padding-bottom: 39px; margin-bottom: 4px; }

	.section-contact .section-actions { display: block; }
	.section-contact .btn-blue { padding: 0 22px; height: 46px; font-size: 13px; line-height: 43px; }

	.footer { height: 40px; padding-top: 5px; }
	.footer-access { float: left; display: block; position: static; left: auto; right: auto; width: auto; text-align: left; margin-top: -4px; }
	.footer-logo { margin-top: 7px; }

	.gform_wrapper .gfield_checkbox li input[type=checkbox],
	.gform_wrapper .gfield_radio li input[type=radio] { margin-top: 6px !important; }

}

@media (max-width: 890px) {
	
	.section-post .entry form table td:first-child { width: 100px !important; }
	.section-post .entry form table td + td input { width: 188px !important; }

	.section-post .entry form table td:only-child,
	.section-post .entry form table tr,
	.section-post .entry form table tbody,
	.section-post .entry form table { width: 100% !important; display: block; }
	.siteorigin-panels .embed-container iframe { top: 37px; left: 20px; width: 100%; height: 100%; }

}

/* ------------------------------------------------------------ *\
	Media - Phones
\* ------------------------------------------------------------ */
@media (max-width: 767px) {

	body { min-width: 100%; font-size: 12px; line-height: 1.8; }
	img { max-width: 100%; }
	h1 { font-size: 24px; }
	h2 { font-size: 19px; }
	h3 { font-size: 14px; }
	h4 { font-size: 13px; }
	h5 { font-size: 12px; }
	h6 { font-size: 11px; }

	.shell { width: auto; padding: 0 23px; }
	.btn-blue { border: 1px solid #fff; color: #fff; }

	.header,
	.header.small { height: 44px; }

	.header.small .logo,
	.home .logo,
	.logo,
	.home .header.small .logo { width: 121px; height: 26px; }

	.header.small .logo,
	.logo { background: url(images/logo@x2.png) no-repeat 0 0; -webkit-background-size: 121px 26px; background-size: 121px 26px; margin-top: 7px; }

	.home .logo,
	.home .header.small .logo { background: url(images/logo-home@x2.png) no-repeat 0 0; -webkit-background-size: 121px 26px; background-size: 121px 26px; margin-top: 7px; }

	.phone,
	.nav-access { display: none; }


	.page-id-5 a.menu-btn { width: 28px; height: 15px; -webkit-background-size: 28px 15px; background-size: 28px 15px; margin-top: 0; }

	a.menu-btn { width: 28px; height: 15px; -webkit-background-size: 28px 15px; background-size: 28px 15px; margin-top: 0; }

	.header.small .nav { margin-top: 14px; padding-top: 0; }
	.nav { width: auto; padding: 0; margin: 14px 0 0; }

	.nav > ul { width: 140px; padding: 44px 0 0 0; }
	.nav > ul > li { padding: 0 0 16px 0; }

	.home .nav > ul > li > a,
	.nav > ul > li > a { font-size: 8px; padding: 0 0 0 26px; display: block; position: relative; color: #1a2c4d; }
 
	.nav > ul > li:hover .sub-menu { height: auto; padding-top: 10px; margin: 10px 0 -5px; }
	
	.nav .sub-menu li { padding-bottom: 15px; }
	.nav .sub-menu a { padding: 0 0 0 26px; font-size: 8px; }

	.entry-header h1 { font-size: 20px; margin: 0; padding-bottom: 4px; }
	.entry-header h5 { font-size: 9px; }

	.section-features { margin-top: 83px; }
	.section-features .entry-header { padding: 0 0 10px; }

	.feature-content { padding: 30px 0 19px; }
	.feature-alt .feature-image:after,
	.feature-image:after { margin-left: -9px; z-index: 2; border-width: 0 9px 15px 9px; }

	.feature-inner { padding: 0 22px; }
	.service-content h2,
	.feature-content h2 { font-size: 19px; padding-bottom: 8px; }

	.service-content h6,
	.feature-content h6 { font-size: 8px; margin-bottom: 15px; }

	.service-content h6 span,
	.feature-content h6 span { font-size: 8px; padding: 0 10px; }
	.service-content p,
	.feature-content p { padding-bottom: 1px; }

	.service-actions a,
	.feature-actions a { font-size: 11px; line-height: 3.9; letter-spacing: 0.2em; color: #1b2c4d; font-weight: 400; text-transform: uppercase; }

	.bx-prev,
	.bx-next { display: none; }

	.slider-home,
	.slider-home .slides,
	.slider-home .slide, 
	.slider-home .slide-image { height: 290px; }

	.slider-home .slide-content { height: 290px; width: auto; margin: 0 auto; text-align: center; }
	.slider-home .slide-content .shell { padding-bottom: 16px; }
	.slider-home .slide-content h2 { padding: 0 0 5px 0; float: none; font-size: 11px; }
	.slider-home .slide-actions { padding-left: 0; float: none; }
	.slider-home .slide-actions .btn-blue { padding: 0 13px; height: 19px; font-size: 7px; line-height: 19px; margin: 0 auto; }

	.section-services .shell { width: auto; }

	.section-services .service { padding: 41px 0 25px; }
	.service-image { width: 100%; margin: 0 auto 10px; }
	.service-content { width: 100%; float: none; margin: 0 auto; }

	.section-project { padding: 82px 0 46px; text-align: center; }
	.section-project .entry-header { padding: 2px 0 9px; text-align: center; }

	/*.section-project .section-slider { overflow: hidden; margin-bottom: 40px; }

	.section-project .slider-project { float: none; width: 275px; height: 213px; margin: 0 auto 6px; }
	.section-project .slider-project .slides { width: 275px; height: 213px; }
	.section-project .slider-project .slide { width: 275px; height: 213px; }

	.section-project .slider-pager { float: none; width: 288px; height: 175px; margin: -4px auto 0; }
	.section-project .slider-pager a { margin: 4px; width: 87px; height: 79px; }
	.section-project .slider-pager a span { display: none; }
	.section-project .slider-pager a img { width: 87px; height: 79px; }*/

	.section-slider { width: 275px; height: auto; margin: 0 auto 40px; }
	.section-slider .caroufredsel_wrapper { width: 275px !important; }
	.section-slider .slider-project { left: 0 !important; }
	.slider-project { float: none; width: 275px; height: 213px; }
	.section-slider .slider-project img,
	.slider-project img { width: 275px; height: 213px; }
	.slider-pager { margin-top: 20px; width: 288px; height: 175px !important; float: none; }
	.slider-pager div { width: 288px; height: 175px !important; }
	.section-slider .caroufredsel_wrapper { height: 213px !important; }
	.section-slider .caroufredsel_wrapper + .caroufredsel_wrapper { height: 175px !important; }
	.slider-pager img { margin: 4px; width: 87px; height: 79px; }
	.prev a.images,
	.next a.images { top: 125px; width: 15px; height: 24px; -webkit-background-size: 15px 24px; background-size: 15px 24px; }
	.prev a.images { left: 10px; }
	.next a.images { right: 10px; }
	.prev a.thumbs,
	.next a.thumbs { width: 20px; height: 15px; left: 48%; -webkit-background-size: 20px 15px; background-size: 20px 15px; }
	.prev a.thumbs { top: 217px; }
	.next a.thumbs { bottom: -20px; }

	.section-project .entry h1 { font-size: 19px; margin: 4px 0; }
	.section-project .entry h1:after { display: none; }
	.section-project .entry h1 span { padding: 0; font-size: 19px; }
	
	.section-post .entry p { padding: 0 0 10px; }
	.section-post .entry h2 { padding: 10px 0 5px; }

	.section-post .entry h3,
	.section-post .entry h4 { padding: 8px 0; }

	.section-post .entry p + ul, 
	.section-post .entry p + ol { margin-top: 0; }

	.section-post { margin-top: 24px; padding: 57px 0 20px; }
	.section-post .entry-header { margin-bottom: 8px; }
	.section-post .section-image { margin-bottom: 44px; }
	.section-post .entry h1 { padding-bottom: 18px; }
	.section-post .entry h1:first-child:after { bottom: 10px; height: 3px; width: 29px; }
	.wpgmza_iw_title{max-width:100%; width:auto!important}

	.section-contact { padding-top: 38px; height: 95px; }
	.section-contact h1 { font-size: 16px; margin: 0 auto 15px; }
	.section-contact h1:after { width: 42px; }
	.section-contact h1:before { width: 42px; }
	
	.section-contact .section-actions { display: block; }
	.section-contact .btn-blue { padding: 0 11px; height: 24px; font-size: 7px; line-height: 24px; }
	.section-contact .btn-blue:hover { color: #394764; }

	.footer { height: 27px; padding-top: 5px; }
	.footer .shell { height: 27px; }
	
	.copyright p { font-size: 5px; line-height: 6px; }
	.footer-access li a { font-size: 5px; line-height: 6px; }

	.footer-logo a { display: block; width: 100px; height: 11px; background: url(images/footer-logo@x2.png) no-repeat 0 0; -webkit-background-size: 120px 13px; background-size: 100px 11px; }

	.siteorigin-panels .embed-container { overflow: hidden; } 
	.siteorigin-panels .embed-container iframe { top: 0; left: 0; width: 100%; height: 100%; }

	.section-post .entry form table td:first-child { width: 100px !important; }
	.section-post .entry form table td + td input { width: 150px !important; }

	.section-post .entry form table td:only-child,
	.section-post .entry form table tr,
	.section-post .entry form table tbody,
	.section-post .entry form table { width: 290px !important; display: block; }
	.siteorigin-panels .embed-container iframe { top: 37px; left: 20px; width: 100%; height: 100%; }
	.section-post .entry form { text-align: center; }
	.section-post .entry form table { margin: 0 auto; }

}