/*
THEME NAME: Mid South Painting
DESCRIPTION: Custom theme developed by DaddyDesign.com for Mid South Painting Inc
VERSION: 1
AUTHOR: Daddy Design
AUTHOR URI: http://www.daddydesign.com/
*/

/* General Settings */
*{ margin: 0; padding: 0; }
img { border: 0; }

html, body { height: 100%; }
body{
font-family: 'Barlow', sans-serif;
font-size: 17px;
color: #555;
background: #fff;
overflow-x: hidden;
}

p { margin-bottom: 20px; line-height: 27px; }

a{ color: #555; text-decoration: none; outline: none; }
a:hover{ text-decoration: none; }

/* HTML5 Elements */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main, section figure, article figure { display: block; padding: 0; margin: 0; }

/* Loader */
.loader{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: block; background: transparent; text-indent: -9000px; z-index: 9; }
#loader{ position: fixed; z-index: 9999999; }
.loader:before {
content: '';
height: 20px;
width: 20px;
position: absolute;
left:50%; 
top:50%; 
margin-top: -10px;
margin-left: -10px;
-webkit-animation: rotation .6s infinite linear;
-moz-animation: rotation .6s infinite linear;
-o-animation: rotation .6s infinite linear;
animation: rotation .6s infinite linear;
border-left: 6px solid rgba(255, 255, 255, .5);
border-right: 6px solid rgba(255, 255, 255, .5);
border-bottom: 6px solid rgba(255, 255, 255, .5);
border-top: 6px solid rgba(255, 255, 255, 1);
border-radius: 100%;
text-indent: -9000px;
-webkit-box-sizing: border-box; 
-moz-box-sizing: border-box; 
box-sizing: border-box;
}
.loader.big:before { height: 40px; width: 40px; margin-top: -20px; margin-left: -20px; }
@-webkit-keyframes rotation { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(359deg); } }
@-moz-keyframes rotation { from { -moz-transform: rotate(0deg); } to { -moz-transform: rotate(359deg); } }
@-o-keyframes rotation { from { -o-transform: rotate(0deg); } to { -o-transform: rotate(359deg); } }
@keyframes rotation { from { transform: rotate(0deg); } to { transform: rotate(359deg); } }

/* Box Method */
.box{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

/* Center */
.center{ text-align: center; }

/* Padding */
.pad_xbig{ padding: 120px; }
.pad_big{ padding: 80px; }
.pad_med{ padding: 60px; }
.pad_small{ padding: 40px; }
.pad_xsmall{ padding: 30px; }
.pad_xxsmall{ padding: 20px; }
.pad_std{ padding: 10px; }
.pad_top{ padding-top: 40px; }
.pad_top_med{ padding-top: 60px; }
.pad_btm_med{ padding-bottom: 60px; }
.pad_top_big{ padding-top: 80px !important; }
.pad_top_xbig{ padding-top: 120px !important; }
.pad_btm_big{ padding-bottom: 80px !important; }
.pad_notop{ padding-top: 0 !important; }
.pad_nobtm{ padding-bottom: 0 !important; }
.grid .wrapper.pad_std{ padding: 0; }
.grid .wrapper.pad_xbig{ padding: 110px; }
.grid .wrapper.pad_big{ padding: 70px; }
.grid .wrapper.pad_med, .grid .project.preview .pad_med{ padding: 50px; }

/* Margin */
.marg5{ margin: 0 0 5px; }
.marg10{ margin: 0 0 10px; }
.marg15{ margin: 0 0 15px; }
.marg20{ margin: 0 0 20px; }
.marg30{ margin: 0 0 30px; }
.marg40{ margin: 0 0 40px; }
.marg50{ margin: 0 0 50px; }
.marg60{ margin: 0 0 60px; }

/* Button */
.btn{
width: auto;
height: 50px;
float: left;
font-size: 17px;
line-height: 46px;
color: #fff !important;
font-weight: 700;
text-align: center;
text-decoration: none;
text-transform: uppercase;
padding: 0 25px;
margin: 0;
border: 1px solid #fff;
background-color: transparent;
}
.btn:hover{ color: #172d57 !important; background-color: #fff; }
.btn.small{ height: 40px; font-size: 15px; line-height: 38px; padding: 0 24px; }

.btn_arrow{
width: 80px;
height: 80px;
display: inline-block;
padding: 0;
margin: 0;
text-indent: -9000px;
border: 2px solid #fff;
background-color: transparent;
background-image: url(images/arrow.svg);
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: 36px; 
-moz-background-size: 36px; 
-o-background-size: 36px; 
background-size: 36px;
border-radius: 40px; 
-moz-border-radius: 40px; 
-webkit-border-radius: 40px;
cursor: pointer;
}
.btn_arrow:hover{ border-color: #ccc; }

/* With Background Image */
.with_bg{
background-color: #000;
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover; 
-moz-background-size: cover; 
-o-background-size: cover; 
background-size: cover;
}
.with_bg.pos_top{ background-position: top; }
.with_bg.pos_btm{ background-position: bottom; }
.with_bg.with_overlay::before{
content: '';
display: block; 
width: 100%; 
height: 100%; 
position: absolute;
top: 0;
left: 0;
background: #000; 
-webkit-opacity: 0.25;
-moz-opacity: 0.25;
opacity: 0.25;
z-index: 1;
}
.with_bg.with_blue_overlay::before{
content: '';
display: block; 
width: 100%; 
height: 100%; 
position: absolute;
top: 0;
left: 0;
background: #172d57; 
-webkit-opacity: 0.5;
-moz-opacity: 0.5;
opacity: 0.5;
z-index: 1;
}

/* Image Resizing */
.img img{ display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; position: relative; }
.img a{ display: block; }

/* Container */
#container{ width: 100%; height: 100%; float: left; display: block; margin: 0 auto; position: relative; }
#container.pad_top{ padding-top: 100px; }

/* Header */
#header{ width: 100%; height: 100px; background: transparent; border-bottom: 1px solid #ddd; position: fixed; top: 0; left: 0; right: 0; z-index: 9999; }
#header.blue{ background: #172d57; }

#header h1#logo{ width: 204px; height: 60px; float: left; display: block; padding: 20px; text-indent: -9000px; }
#header h1#logo a{ display: block; width: 204px; height: 60px; background: url(images/logo.svg) no-repeat center; }

#header .wrap{ width: auto; float: right; position: relative; }
	
#nav_btn{ display: none; }
#header .toggle{ display: block; }
#header #nav{ width: auto; float: left; }
#header #nav ul.menu{ width: auto; float: left; list-style: none; }
#header #nav ul.menu li{ width: auto; height: 100px; float: left; }
#header #nav ul.menu li a{ display: block; font-size: 17px; font-weight: 400; color: #fff; line-height: 98px; text-transform: uppercase; padding: 0 12px; position: relative; }
#header #nav ul.menu li a:hover{ color: #ccc; }

#header .wrap .phone{ width: auto; height: 100px; float: left; font-size: 17px; font-weight: 700; color: #fff; line-height: 98px; padding: 0 5px 0 20px; position: relative;  }
#header .wrap .phone::after{ content: ''; width: 1px; height: 30px; position: absolute; left: 3px; top: 35px; background: #ddd; }
#header .wrap .phone a{ color: #fff; }
#header .wrap .phone a:hover{ color: #ccc; }
#header .wrap .btn{ margin: 25px; }

/* Main */
#main{ width: 100%; float: left; position: relative; }

/* Section */
.section{ width: 100%; float: left; position: relative; }
.section.hgt100{ height: 100vh !important; }
.section.white{ background-color: #fff; }
.section.blue{ color: #fff; background-color: #172d57; }
.section.gray{ background-color: #f6f6f6; }
.section.centered{ text-align: center; }
.section .wrapper{ width: 100%; max-width: 1080px; display: block; clear: both; margin: 0 auto; position: relative; overflow: hidden; }
.section .wrapper.pad_xbig{ max-width: 1080px; }
.section .wrapper.wide{ max-width: 100%; }

.section .main{ width: 100%; float: left; position: relative; }
.section .header{ width: 100%; float: left; position: relative; }
.section .header.with_bg.tall{ height: 620px; }
.section .header.with_bg.medium{ height: 340px; }
.section .header.with_bg.medium .wrap h1{ bottom:100px; }
.section .header.with_bg .wrap{
width: 100%;
max-width: 1600px;
height: 100%;
display: block;
position: relative;
margin: 0 auto;
overflow: hidden;
}
.section .header.with_bg .wrap h1{
width: 100%;
max-width: 600px;
display: block;
position: absolute;
right: 80px;
bottom: 80px;
color: #fff;
text-align: right;
text-transform: uppercase;
z-index: 9;
}
.section .header.with_bg .wrap h1 span{ display: block; font-size: 24px; font-weight: 400; line-height: 28px; margin: 0 0 5px; }

.section .header h1{ font-size: 100px; font-weight: 700; line-height: 98px; text-transform: uppercase; }
.section .header h1.big{ font-size: 80px; font-weight: 400; line-height: 76px; text-transform: none; }
.section .header h1.med{ font-size: 46px; font-weight: 400; line-height: 54px; text-transform: none; }
.section .header h1.small{ font-size: 26px; line-height: 30px; }
.section .header h2{ font-size: 60px; font-weight: 700; line-height: 60px; text-transform: uppercase; }
.section .header h2.big{ font-size: 100px; font-weight: 700; line-height: 98px; text-transform: uppercase; }
.section .header h2.med{ font-size: 40px; font-weight: 400; line-height: 46px; text-transform: none; }
.section .header h2.small{ font-size: 24px; font-weight: 400; line-height: 30px; text-transform: none; }
.section .header h3{ font-size: 24px; font-weight: 400; line-height: 30px; text-transform: uppercase; }
.section .header h3.upper{ font-size: 24px; font-weight: 700; line-height: 26px; }
.section .header h3.big{ font-size: 46px; font-weight: 700; line-height: 46px; text-transform: uppercase; }
.section .header h4{ font-size: 20px; font-weight: 300; line-height: 22px; text-transform: uppercase; }
.section .header .blue, .section.white .header, .section.gray .header{ color: #172d57; }
.section .header .white{ color: #fff; }
.section .header span.sub_title{ display: block; font-size: 22px; font-weight: 300; line-height: 22px; text-transform: uppercase; position: relative; padding-top: 5px; }
.section .header span.meta{ display: block; font-size: 16px; font-weight: 700; line-height: 22px; text-transform: uppercase; position: relative; }
.section .header span.meta.with_border{ padding: 0 0 20px; }
.section .header span.meta.with_border::after{ content: ''; width: 40px; height: 1px; display: block; position: absolute; bottom: 0; left: 0; background: #ddd; }
.section .content{ width: 100%; float: left; position: relative; }
.section .content.small, .section .content.small p{ font-size: 15px; line-height: 23px; }
.section .content.med, .section .content.med p{ font-size: 20px; line-height: 32px; }
.section .content.big, .section .content.big p{ font-size: 24px; line-height: 35px; }
.section .footer{ width: 100%; float: left; padding-top: 15px; position: relative; }
.section .footer.center .btn{ float: none; display: inline-block; }

.section.grid .header.main.center{ padding: 10px 10px 0; }
.section .header.main.center{ text-align: center; }
.section .header.main.center h3{ width: 100%; max-width: 380px; color: #172d57; padding-bottom: 60px; margin: 0 auto; position: relative; }
.section.blue .header.main.center h3{ color: #fff; }
.section .header.main.center h3::after{
content: '';
width: 1px;
height: 30px;
position: absolute;
bottom: 20px;
left: 50%;
margin-left: -1px;
background: #172d57;
}
.section.blue .header.main.center h3::after{ background: #ddd; }

.section .image{ width: 100%; float: left; position: relative; }

/* Grid */
.section.grid .header.main_title{ padding: 0 10px 10px; }
.section.grid .header.main_title .wrap{ width: 100%; float: left; position: relative; }
.section.grid .header.main_title .wrap::after{ content: ''; width: 100%; height: 1px; display: block; position: absolute; top: 50%; left: 0; background: #ddd; z-index: 0; }
.section.grid .header.main_title h3{ float: left; font-weight: 700; text-transform: uppercase; padding-right: 20px; background: #fff; position: relative; z-index: 9; }
.section.grid.blue .header.main_title h3{ color: #fff; background: #172d57; }
.section.grid.gray .header.main_title h3{ background: #f6f6f6; }
.section.grid .item{ padding: 10px; }
.section.grid.cols2 .item{ width: 50%; float: left; }
.section.grid.cols3 .item{ width: 33.3333%; float: left; }
.section.grid.cols4 .item{ width: 25%; float: left; }
.section.grid .item a.wrap{ display: block; }
.section.grid.blue .item a{ color: #fff; }

/* Hero */
.entry .section.hero{ height: 660px; }
.entry .section.hero .header{ 
width: 100%;
max-width: 880px; 
display: block;
color: #fff;
position: absolute;
top: 100px; 
left: 0; 
bottom: 0;
z-index: 99;
}
.entry .section.hero .header .wrap{ 
width: 100%;
display: block;
position: absolute;
top: 50%; 
left: 0; 
text-align: left;
-webkit-transform: translate(0,-50%);
-ms-transform: translate(0,-50%); 
transform: translate(0,-50%);
}

/* Home */
.quote_btn{ 
display: table;
position: absolute; 
bottom: 40px; 
right: 40px; 
color: #fff; 
z-index: 999; 
}
.quote_btn::after{
content: '';
width: 80px;
height: 80px;
display: inline-block;
padding: 0;
margin: 0;
border: 2px solid #fff;
background-color: transparent;
background-image: url(images/arrow.svg);
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: 36px; 
-moz-background-size: 36px; 
-o-background-size: 36px; 
background-size: 36px;
border-radius: 44px; 
-moz-border-radius: 44px; 
-webkit-border-radius: 44px;
cursor: pointer;
}
.quote_btn span{
display: table-cell;
vertical-align: middle;
width: 180px;
font-size: 26px;
line-height: 31px;
text-align: right;
padding-right: 25px;
}

/* CTA */
.cta.white, .cta.gray{ color: #172d57; }
.cta .header{ width: 70%; float: left; display: table; }
.cta .header .title{ width: 30%; font-weight: 700; text-align: right; text-transform: uppercase; display: table-cell; vertical-align: middle; padding-right: 20px; }
.cta .header .sub_title{ width: 70%; display: table-cell; vertical-align: middle; position: relative; padding: 0 50px; }
.cta .header .sub_title::before{ content: ''; width: 30px; height: 1px; display: block; position: absolute; top: 50%; left: 0; background: #172d57; }
.cta .header .sub_title::after{ content: ''; width: 30px; height: 1px; display: block; position: absolute; top: 50%; right: 0; background: #172d57; }
.cta.blue .header .sub_title::before, .cta.blue .header .sub_title::after{ background: #fff; }
.cta .footer{ width: 30%; float: left; display: table; padding: 0 0 0 20px; }
.cta .footer div{ display: table-cell; vertical-align: middle; }
.cta.white .footer .btn, .cta.gray .footer .btn{ color: #172d57 !important; border: 1px solid #172d57; }
.cta.white .footer .btn:hover, .cta.gray .footer .btn:hover{ color: #fff !important; background: #172d57; }

/* Projects */
.projects{ background: #0f2041; }
.project.preview{ width: 33.3333%; height: calc(100vh - 100px); }
.project.preview.featured{ width: 100% !important; height: 100vh; }
.project.preview.featured2{ width: 66.6666% !important; }
.project.preview .wrap{ display: block; width: 100%; height: 100%; background-color: #000; position: relative; }
.project.preview .wrap .header{ 
width: 100%;
display: block;
color: #fff;
position: absolute;
left: 0; 
bottom: 0;
background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(23,45,87,0.8) 0%, rgba(0,0,0,0) 100%);
z-index: 99;
}
.project.preview .wrap .header .main{ 
width: 100%;
max-width: 480px;
float: none;
display: block;
text-align: center;
margin: 0 auto;
}
.project.preview.featured .wrap .header .main{ max-width: 880px; }
.project.preview .wrap .header .main span.stat{
display: block;
font-size: 26px;
font-weight: 700;
line-height: 26px;
text-transform: uppercase;
padding: 10px 0 0;
}
.project.preview.featured .wrap .header .main span.stat{ font-size: 32px; line-height: 32px; }
.project.preview .wrap .header .main span.stat span{ font-weight: 300; }
.project.preview .wrap .header .main span.btn{ display: inline-block; float: none; margin-top: 40px; position: relative; }
.project.preview .wrap .header .main span.btn::before{
content: '';
width: 1px;
height: 16px;
position: absolute;
top: -30px;
left: 50%;
margin-left: -1px;
background: #fff;
}

.project.preview.featured .btn_arrow{ position: absolute; bottom: 40px; right: 40px; z-index: 999; }

/* Project - Single */
.project.single .section.hero .header{ 
width: 100%;
display: block;
color: #fff;
position: absolute;
left: 0; 
bottom: 0;
background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
z-index: 99;
}
.project.single .section.hero .header .wrap{ 
width: 100%;
max-width: 880px;
display: block;
text-align: center;
margin: 0 auto;
}
.project.single .section.hero .header .wrap span.stat{
display: block;
font-size: 32px;
font-weight: 700;
line-height: 32px;
text-transform: uppercase;
padding: 10px 0 0;
}
.project.single .section.hero .header .wrap span.stat span{ font-weight: 300; }
.project.single .section.hero .header .wrap .btn_arrow{ margin-top: 40px; position: relative; }
.project.single .section.hero .header .wrap .btn_arrow::before{
content: '';
width: 1px;
height: 16px;
position: absolute;
top: -30px;
left: 50%;
margin-left: -1px;
background: #fff;
}

/* Gallery */
.gallery .item{ width: 100%; float: left; }
.gallery .item .image { height: 700px; }
.gallery .item .image img{ display: none; }
.gallery .sxs .item{ width: 50%; }
.gallery .sxs2 .item:first-child{ width: 60%; }
.gallery .sxs2 .item:last-child{ width: 40%; }
.gallery .sxs3 .item:first-child{ width: 40%; }
.gallery .sxs3 .item:last-child{ width: 60%; }

/* News - Preview */
.post.preview .header{ padding-right: 10px; }
.section.blue .post.preview .header .blue{ color: #fff !important; }
.post.preview .image{ height: 280px; }
.post.preview .image img{ display: none; }

/* List */
.section.list .item .wrap{ width: 100%; float: left; padding: 20px 30px 0 0; border-top: 1px dotted #ddd; }

/* Team */
.section.team .item .wrap{ width: 100%; float: left; padding-top: 10px; border-top: 1px dotted #ddd; }

/* Contact */
.contact.entry .wrapper.pad_xbig{ max-width: 1280px; }

.contact_form{ width: 65%; float: left; padding-right: 60px; }

.contact_details{ width: 35%; float: right; }
.contact_details .map{ width: 100%; float: left; }
.contact_details .map iframe{ width: 100%; max-width: 100%; height: 220px; }
.contact_details ul{ width: 100%; float: left; color: #172d57; list-style: none; }
.contact_details ul li{ display: block; font-size: 20px; line-height: 26px; }
.contact_details ul li.company_name{ display: block; font-size: 24px; font-weight: 700; line-height: 30px; margin: 0 0 3px; }
.contact_details ul li.address span{ display: block; }
.contact_details ul li.address{ margin: 0 0 8px; }
.contact_details ul li.phone{ font-weight: 700; }
.contact_details ul li a{ color: #172d57; }

/* Navigation */
.pagination{ padding-top: 0; }
.wp-pagenavi{ width: 100%; padding-top: 15px; margin-right: 5px; margin-left: 5px; border-top: 1px solid #ddd; clear: both; text-align: right; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.wp-pagenavi a, .wp-pagenavi span{ padding: 3px !important; margin: 1px; border: 0 !important; }
.wp-pagenavi span.pages{ float: left; font-size: 14px; font-style: italic; padding-left: 0 !important; margin-left: 0; padding-right: 10px !important; margin-right: 5px; }
.wp-pagenavi a{ font-size: 18px; color: #0f2041; }
.wp-pagenavi a:hover{ text-decoration: underline; }
.wp-pagenavi span.current{ font-size: 18px; font-weight: 700; }

.projects_pagination{ color: #fff; background: #172d57; }
.projects_pagination .wp-pagenavi{ padding-top: 0; maregin: 0; border: 0; }
.projects_pagination .wp-pagenavi a{ color: #fff; }
.projects_pagination .wp-pagenavi a:hover{ color: #ccc; text-decoration: none; }

/* Footer */
#footer{ width: 100%; float: left; color: #fff; background: #0f2041; position: relative; }
#footer .wrapper{ display: block; padding: 0; margin: 0 auto; position: relative; overflow: hidden; }
#footer a{ color: #fff; }
#footer a:hover{ color: #ccc; text-decoration: none; }

#footer #freequote{ width: 66.6666%; min-height: 500px; float: right; }

#footer .main{ width: 33.3333%; float: left; }
#footer .main h3.logo{ width: 204px; height: 60px; float: left; display: block; text-indent: -9000px; }
#footer .main h3.logo a{ display: block; width: 204px; height: 60px; background: url(images/logo.svg) no-repeat center; }

#footer ul.contact{ width: 100%; float: left; list-style: none; }
#footer ul.contact li{ display: block; font-size: 17px; line-height: 21px; }
#footer ul.contact li.address span{ display: block; }
#footer ul.contact li.address{ margin: 0 0 5px; }
#footer ul.contact li.phone{ font-weight: 700; }

#footer .nav{ width: 100%; float: left; }
#footer .nav ul{ width: 100%; float: left; position: relative; list-style: none; }
#footer .nav ul li{ width: auto; float: left; padding: 6px 12px 6px 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; position: relative; }
#footer .nav ul li a{ display: block; font-size: 17px; font-weight: 400; text-transform: uppercase; }

#footer ul.social{ width: 100%; float: left; padding: 15px 0; list-style: none; }
#footer ul.social li{ width: 30px; height: 30px; display: inline-block; vertical-align: top; text-indent: -9000px; }
#footer ul.social li a{ 
width: 30px; 
height: 30px; 
display: block; 
background-position: center; 
background-repeat: no-repeat; 
position: relative; 
overflow: hidden; 
}
#footer ul.social li.facebook a{ background-image: url(images/facebook.svg); }
#footer ul.social li.twitter a{ background-image: url(images/twitter.svg); }
#footer ul.social li.instagram a{ background-image: url(images/instagram.svg); }

#footer .main .meta{ width: 100%; float: left; font-size: 11px; line-height: 17px; }
#footer .main .meta span{ display: block; }

/* Forms */
.wpcf7{ display: block; clear: both; padding: 0 !important; }
.wpcf7-form{ width: 100%; display: block; overflow: hidden; position: relative; }
.wpcf7-form fieldset{ width: 100%; float: left; display: block; border: 0; }
.wpcf7-form label{ display: block; font-size: 15px; color: #333; font-weight: bold; line-height: 20px; padding: 0 15px 0 0; margin: 0 0 10px; }
.wpcf7-form div.form_radios{ width: 100%; float: left; margin: 0 0 20px; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.wpcf7-form div.form_radios .wpcf7-list-item{ display: inline-block; padding: 0 4px 4px 0; }
.wpcf7-form div.form_field{ width: 100%; float: left; margin: 0; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.wpcf7-form fieldset.x3 div.form_field{ width: 33.3333%; padding: 0 10px; }
.wpcf7-form fieldset.x3 div.form_field:first-child{ padding-left: 0; }
.wpcf7-form fieldset.x3 div.form_field:last-child{ padding-right: 0; }
.wpcf7-form fieldset.x2 div.form_field{ width: 50%; }
.wpcf7-form fieldset.x2 div.form_field:first-child{ padding-right: 10px; }
.wpcf7-form fieldset.x2 div.form_field:last-child{ padding-left: 10px; }
.mailpoet_checkbox_label,
.wpcf7-form div.form_field span{ display: block; }
.wpcf7-form div.form_field input, 
.wpcf7-form div.form_field select,
.wpcf7-form div.form_field textarea { 
width: 100%; 
display: block; 
font-family: 'Barlow', sans-serif;
color: #172d57;
font-size: 16px; 
padding: 15px 20px;
background: none;
border: 1px solid #ccc;
-webkit-box-sizing: border-box; 
-moz-box-sizing: border-box; 
box-sizing: border-box;
-webkit-appearance: none;
border-radius: 0; 
-moz-border-radius: 0; 
-webkit-border-radius: 0;	
outline: none;
}
.wpcf7-form div.form_field textarea { height: 240px; padding: 15px 20px; }
.wpcf7-form div.form_field select{ 
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
text-indent: 0.01px;
text-overflow: '';
padding-right: 36px;
background: url(images/arrow_down.svg) no-repeat right 16px top 50%;
-webkit-background-size: 10px 6px; 
-moz-background-size: 10px 6px;  
-o-background-size: 10px 6px; 
background-size: 10px 6px;
}
.wpcf7-form div.form_field select::-ms-expand { display: none; }
.wpcf7-form div.form_field input::-webkit-input-placeholder{ color: #172d57; }
.wpcf7-form div.form_field input:-moz-placeholder{ color: #172d57; }
.wpcf7-form div.form_field input::-moz-placeholder{ color: #172d57; }
.wpcf7-form div.form_field input:-ms-input-placeholder{ color: #172d57; }
.wpcf7-form div.form_field select::-webkit-input-placeholder{ color: #172d57; }
.wpcf7-form div.form_field select:-moz-placeholder{ color: #172d57; }
.wpcf7-form div.form_field select::-moz-placeholder{ color: #172d57; }
.wpcf7-form div.form_field select:-ms-input-placeholder{ color: #172d57; }
.wpcf7-form div.form_field textarea::-webkit-input-placeholder{ color: #172d57; }
.wpcf7-form div.form_field textarea:-moz-placeholder{ color: #172d57; }
.wpcf7-form div.form_field textarea::-moz-placeholder{ color: #172d57; }
.wpcf7-form div.form_field textarea:-ms-input-placeholder{ color: #172d57; }

.wpcf7-form div.submit{ width: 100%; float: left; clear: both; padding-right: 0; margin: 10px 0 20px; position: relative; }
div.wpcf7 .ajax-loader{ position: absolute; top: 50%; right: 0; margin-top: -8px !important; }
.wpcf7-form div.submit input { 
width: auto; 
height: 50px;
float: left; 
font-family: 'Barlow', sans-serif;
font-size: 17px;
font-weight: 700 !important;
color: #fff; 
text-transform: uppercase; 
padding: 0 60px;
margin: 0; 
border: 1px solid #172d57;
background-color: #172d57;
position: relative; 
cursor: pointer;
outline: none;
-webkit-appearance: none;
border-radius: 0; 
-moz-border-radius: 0; 
-webkit-border-radius: 0;	
z-index: 9; 
}
.wpcf7-form div.submit input:hover{ color: #172d57; background-color: transparent; }

div.wpcf7-response-output{ 
clear: both;
font-family: 'Barlow', sans-serif;
color: #172d57 !important;
font-size: 16px;
font-weight: 700;
line-height: 22px;
border: 1px solid #ccc !important;
background: #f7f7f7;
margin: 0 0 20px !important; 
padding: 25px 20px !important;
color: inherit; 
text-align: center;
border-radius: 0; 
-moz-border-radius: 0; 
-webkit-border-radius: 0;
}
div.wpcf7-validation-errors{ color: #fff !important; border: 1px solid #ed2024 !important; background: #ed2024; }

span.wpcf7-not-valid-tip {
width: auto !important;
height: 1px;
position: absolute;
overflow: hidden;
background: transparent !important;
border: 0 !important;
border-top: 1px solid #ed2024 !important;
text-indent: -9000px;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: inherit !important;
padding: 0 !important;
}

/* Quote Form */
#freequote .wpcf7-form div.form_field input, 
#freequote .wpcf7-form div.form_field select,
#freequote .wpcf7-form div.form_field textarea { color: #fff; border: 1px solid #fff; }

#freequote .wpcf7-form div.form_field input::-webkit-input-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field input:-moz-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field input::-moz-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field input:-ms-input-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field select::-webkit-input-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field select:-moz-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field select::-moz-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field select:-ms-input-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field textarea::-webkit-input-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field textarea:-moz-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field textarea::-moz-placeholder{ color: #fff; }
#freequote .wpcf7-form div.form_field textarea:-ms-input-placeholder{ color: #fff; }

#freequote .wpcf7-form div.submit input { color: #172d57; border: 1px solid #fff; background-color: #fff; }
#freequote .wpcf7-form div.submit input:hover{ color: #fff; background-color: transparent; }


/* Content Block Universal Code */
/* Begin Images */
.content-block img{ display: block; max-width: 100%; height: auto; padding: 10px 0 20px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.content-block .aligncenter { display: block; margin: 0 auto; }
.content-block .alignleft{ max-width: 50%; display: inline-block; float: left; padding-right: 30px; vertical-align: top; }
.content-block .alignright{ max-width: 50%; display: inline-block; float: right; padding-left: 30px; vertical-align: top; }
.content-block .alignleft img, .content-block .alignright img{ padding-left: 0; padding-right: 0; }
.content-block .wp-caption{ width: auto !important; text-align: center; margin: 0 0 20px; background: #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.content-block .wp-caption.alignleft, .content-block .wp-caption.alignright{ width: 50% !important; padding: 0; }
.content-block .wp-caption.alignleft{ margin-right: 30px; }
.content-block .wp-caption.alignright{ margin-left: 30px; }
.content-block .wp-caption p.wp-caption-text{ display: block; font-size: 15px; line-height: 22px; padding: 10px 12px; margin: 0; background-color: #fff; }
.content-block .wp-caption img{ padding: 10px 10px 0; margin: 0 auto; }
/* END Images */

/* Begin Image Gallery */
.content-block .gallery{ display: block; max-width: 1020px; padding: 10px 0 30px; margin: 0 auto; overflow: hidden; }
.content-block .gallery .gallery_item{ width: 20%; float: left; }
.content-block .gallery .gallery_item a{ display: block; padding: 5px; margin: 5px; background: #fff; }
.content-block .gallery .gallery_item a img{ display: block; width: auto; max-width: 100%; height: auto; padding: 0; margin: 0 auto; }
/* END Image Gallery */

/* Video */
.content-block .fluid-width-video-wrapper{ margin: 60px 0 20px; }
.video.content-block .fluid-width-video-wrapper, #video .fluid-width-video-wrapper{ margin: 0; }
.content-block embed, .content-block iframe, .content-block object{ max-width: 100%; }
.content-block video { max-width: 100%; height: auto; }

.content-block p sm{ display: block; font-size: 11px; font-weight: 400; color: #777; line-height: 18px !important; }
.content-block p.disclaimer{ font-size: 13px; font-style: italic; line-height: 21px; }
.content-block a{ color: #172d57; }
.content-block a:hover{ text-decoration: underline; }

.content-block blockquote{ 
font-size: 20px;
font-weight: 400;
font-style: italic;
line-height: 28px;
color: #172d57;
padding: 5px 20px;
margin: 30px 0;
border-left: 3px solid #172d57;
position: relative;
}
.content-block blockquote p{ line-height: 28px; }
.content-block blockquote p:last-child{ margin-bottom: 0; }

.content-block h1, .content-block h2, .content-block h3, .content-block h4, .content-block h5{ font-size: 100%; font-weight: 700; color: #172d57; padding: 20px 0 15px; }
.content-block h1:first-child, .content-block h2:first-child, .content-block h3:first-child, .content-block h4:first-child, .content-block h5:first-child{ padding-top: 0; }
.content-block h1{ font-size: 32px; line-height: 38px; }
.entry .content-block h1:first-child{ font-size: 40px; font-weight: 400; line-height: 46px; }
.content-block h2{ font-size: 32px; line-height: 38px; }
.entry .content-block h2:first-child{ font-size: 40px; font-weight: 400; line-height: 46px; }
.content-block h3{ font-size: 28px; line-height: 34px; }
.content-block h4{ font-size: 22px; line-height: 28px; }
.content-block h5{ font-size: 18px; line-height: 24px; }

.content-block ul, .content-block ol{ padding: 0 0 20px 40px; }
.content-block ul li, .content-block ol li{ padding: 0 0 8px; line-height: 26px; }
.content-block ul li p, .content-block ol li p{ margin: 0 0 15px; }
/* END Content Block Universal Code */