/*
 Theme Name:	Chastains
 Theme URI:     https://www.chastains.com
 Description:   Custom theme built upon the SEOteric framework
 Author:        SEOteric
 Author URI:    https://www.seoteric.com
 Template:		Framework-V4
 Version:       1
*/



/*////////////////////////////////////////////////
GENERAL STYLES
///////////////////////////////////////////////*/


@import url('https://use.typekit.net/ljr8tvn.css');

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {

    font-family: 'pt-sans-pro', sans-serif;
}

img.center {
	display: block;
	margin-left:auto;
	margin-right: auto;
}

.content a {
    color: #00263e;
}

.content h2 {
font-size: 40px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.3;

}

.content p {
font-size: 18px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 2;
    margin-bottom: 20px;
}

/*#page-banner.noImage {
    background-image: url(images/no-banner.jpg);
}*/

header {
/*    height: 100px;*/
    transition: 0.5s;
    background: #fff;
    box-sizing: border-box;
/*    border-bottom: 2px solid #00263e;*/
}


header .topNav {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    height: 50px;
    padding-top: 10px;
    transition: 0.5s;
}

header .custom-logo-link {
    margin-top: -30px;
    display: inline-block;
    max-width: 280px;
transition: 0.5s;
}

header img.custom-logo {
    max-width: 315px;
}


header.sticky {
/*    height: 60px;*/
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    transition: 0.5s;
}

header.sticky .topNav {
    margin-top: -40px;
}

header.sticky img.custom-logo {
    max-width: 200px;
    transition: 0.5s;
}

header.sticky .custom-logo-link {
    margin-top: -5px;
}

header ul.socials li a i {
    font-size: 20px;
    margin-right: 20px;
    color: #00263e;
}

header .topNav a[href^="tel"] {
    float: right;
    color: #00263e;
    font-weight: 700;
    font-size: 15px;
}

header .phone:before {
    font-size: 20px;
}

header #cssmenu {
    float: right;
}

header #cssmenu a {
    float: right;
    font-size: 16px !important;
  font-weight: 600 !important;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.25;
  letter-spacing: 0.4px;
    color: #00263e;
    border-bottom: 2px solid #fff;
    text-transform: uppercase;
}

#cssmenu > ul > li > a {
    padding: 8px 15px;
}

#cssmenu ul li.current_page_item a {
    color: #00263e;
    
}

#cssmenu ul li.current_page_item {
    background: none;
   
}

#cssmenu > ul > li:hover {
    background: none;
    
}

#cssmenu ul li.current_page_item:hover {
    background: none;
}

#cssmenu > ul > li:hover a {
    color: #00263e;
     border-bottom: 2px solid #7c1316;
}


/*------------------------------------------
--------------------------------------------
Home Page Styles 
--------------------------------------------
-------------------------------------------*/

.centered {
    text-align: center;
}

.home #slider {
    margin-top: 100px !important;
}

.home #slider .slides li {
    height: 600px;
}

.panel.source {
    background: url(images/source-bg.png);
    background-size: cover;
    color: #00263e;
}

.panel.source span {
    text-transform: uppercase;
    color: #00263e;
    font-size: 20px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.3;
}

.panel.products:nth-of-type(odd) {
    background: #efefef;
}

.panel.products-single {
    display: flex;
    flex-wrap: wrap;
}

.prodBoxContainer {
    box-sizing: border-box;
    margin-bottom: 30px;
    padding: 12px;
    
}

h3.product {
    font-size: 24px;
    padding-top: 10px;
}

figure.prodBox {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  -webkit-perspective: 50em;
  perspective: 50em;
    box-shadow: 0px 0px 5px #00263e;
    
}
figure.prodBox * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
figure.prodBox img {
  width: 100%;
  vertical-align: top;
    box-shadow: 0px 0px 6px #354D5C;
}
figure.prodBox figcaption {
  top: 50%;
  left: 20px;
  right: 20px;
  position: absolute;
  opacity: 0;
  z-index: 1;
}
figure.prodBox h2,
figure.prodBox h4 {
  margin: 0;
}
figure.prodBox h2 {
  font-weight: 600;
}
figure.prodBox h4 {
  font-weight: 400;
  text-transform: uppercase;
}

figure.prodBox:after {
  background: rgba(0, 38, 62, 0.8);
  position: absolute;
  content: "";
  display: block;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  opacity: 0;
}
figure.prodBox a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.prodBox:hover figcaption,
figure.prodBox.hover figcaption {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.prodBox:hover:after,
figure.prodBox.hover:after {
  -webkit-transform: rotateX(0);
  transform: rotateX(0);
  opacity: 0.9;
}

figure.prodBox.single h4 {
    font-size: 26px;
}

.content ul.vendor-gallery {
    margin-left: 0px;
}

ul.vendor-gallery li {
    list-style: none;
    display: inline-block;
    padding: 8px;
}

ul.vendor-gallery li img {
    box-shadow: 0px 0px 6px #354D5C;
}

.mfp-title {
    display: none;
}

.single-vendors #sidebar .catMenu {
    display: none;
}


.panel.solutions {
    background: url(images/solutions-bg.png);
    background-size: cover;
}

.panel.solutions .forty {
    padding-left: 50px;
}

.panel.solutions .forty .gform_wrapper {
    padding: 25px;
    background: rgba(124, 19, 22, 1)
}

.panel.solutions .forty .gform_wrapper label {
    color: #fff;
}


.panel.solutions .forty .gform_wrapper ul li.gfield {
    margin-top: 6px;
    padding-top: 0;
}

.panel.solutions .forty .gform_wrapper ul {
        padding: 5px 5px 5px 15px !important;
}

.panel.solutions .forty .gform_wrapper h3.gform_title {
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 28px;
}

.panel.solutions h3 {
    color: #fff;
    text-align: left;
}

.panel.solutions p {
    color: #fff;
    text-align: left;
}

/*------------------------------------------
--------------------------------------------
Button Styles 
--------------------------------------------
-------------------------------------------*/
.btn.light, .button {
    background: #7c1316;
    color: #fff;
}

.btn.light:hover, .button:hover {
    background: #fff;
    color: #7c1316;
}

.btn, .button {
    background: #00263e;
    color: #fff !important;
}

.btn:hover, .button:hover {
    background: #7c1316;
    color: #fff;
}

.button {
    padding: 20px;
    display: block !important;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    width: 90% !important;
    margin: 0 auto !important;
}

/*------------------------------------------
--------------------------------------------
Page Styles 
--------------------------------------------
-------------------------------------------*/

#page-banner {
    position: relative;
    margin-top: 100px !important;
    padding: 50px 0 !important;
    height: 210px;
}

#page-banner .container {
    width: 100%;
    max-width: 100%;
}

#page-banner.noImage {
    background-image: url(images/default-header.jpg);
    background-size: cover;
}

#page-banner .info {
    text-align: left;
    text-shadow: 0px 0px 5px #000;
    background: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #00263e;
    max-width: 100%;
        padding: 15px 50px
}

#page-banner h1 {
    text-align: center;
    font-size: 28px;
    line-height: 1;
    display: block;
    max-width: 1100px;
    margin: 0 auto;
}

#page-banner {
    padding: 2% 0;
}

#sidebar.thirty {
    background: #f0f0f0;
}

blockquote {
    background: #f0f0f0;
}

/*------------------------------------------
--------------------------------------------
Sidebar Styles 
--------------------------------------------
-------------------------------------------*/
#sidebar.thirty {
    background: #fff;
}

#sidebar section {
    padding: 20px;
    background: #f0f0f0;
    margin-bottom: 30px;
}

#sidebar h4 {
    font-size: 24px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.2;
    color: #00263e;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0px;

}

#sidebar ul.socials li a {
    font-size: 24px;
}

#sidebar .searchform input {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
}

#sidebar .searchform label {
    color: #00263e;
    text-transform: uppercase;
    font-size: 24px;
    text-align: center;
    width: 100%;
    font-weight: bold;
    display: block;
}

#sidebar #searchsubmit {
    width: 100%; 
    background: #00263e;
    padding: 12px 12px;
    text-align: center;
    color: #fff;
}

#sidebar #searchsubmit:hover {
    background: #7c1316;
    
}

#sidebar .gform_wrapper .button {
    width: 100%; 
    background: #00263e;
    padding: 12px 12px;
    text-align: center;
    color: #fff;
}

#sidebar .gform_wrapper .button:hover {
    background: #7c1316;
}


#sidebar .gform_wrapper ul li {
    padding: 0;
}

#sidebar ul.catMenu li.categories {
    background: #00263e;
}
/*------------------------------------------
--------------------------------------------
Footer Styles 
--------------------------------------------
-------------------------------------------*/

.footer-callout {
    background: #7c1316;
    color: #fff;
}

.footer-callout .thirty {
    text-align: right;
    float: right;
}


.footer-callout .thirty ul.socials li a {
    font-size: 18px;
}

.footer-callout .thirty ul.socials li {
    padding-right: 20px;
}
.footer-callout p, .footer-callout a {
    color: #fff;
}

.footer-callout a {
    font-weight: 800;
    padding-left: 20px;
}

footer {
    background: #00263e;
    color: #fff;    
}

footer h6 {
    margin-bottom: 0;    
}

footer ul.contactInfo li {
    padding-bottom: 10px;    
}

footer .twentyfive {
    margin-bottom: 10px;
}

footer .twentyfive.last {
    float: right;
}

footer a {
    color: #fff;
}

.copy {
    background: #eef0f1;
    color: #00263e;
}

.copy p, .copy a {
    color: #00263e;
}

footer img.custom-logo {
    max-width: 175px;
}