/* Custom Responsive Styles - Graphic standards branch */


.sidebar h4 {
	font-size:.95em;
	text-transform: uppercase;
	color:#937200;
	font-weight:normal;
	margin-top: 15px;
	margin-bottom: .325em;
}

.sidebar h4 a {
	color:#937200;
}

/* footer styles */

#footer .col-33percent-sm .col-50percent-sm {
	padding-left:0;
	padding-right:0;
}

/* media queries styles */

@media (max-width:859px) {
#footer .col-33percent-sm .col-50percent-sm {
	width:100%;
	padding-bottom:0;
}

#footer .col-33percent-sm .col-50percent-sm ul.list:first-child {
	margin-bottom:0;
}
}

/* ===================================== 
   NEW 2018 STYLES
======================================== */

.title {
    padding-top: 1.5%;
    width: 45%;
    max-width: 430px;
    font-size: 1.7em;
}
h1, h2, h3, h4, h5, p, a{
    letter-spacing: .01em;
}
.panel-body ol {
    padding-left: 15px;    
}
.panel-body ol li {
    margin-bottom: 10px;
}
.panel-body ol li a {
    color: #00829b;
}
.panel-variation-4 {
    border-radius: 0;
}
.header-refer-online{
    color: #002855;
}
.page-header {
    margin-top: 35px !important;
}
.page-header h1 {
    color:#1a3e68;
    font-weight: 600;
    margin: 0;
}
.panel-plain > .panel-heading h2 {
    color:#1a3e68;
    font-weight: 600;
    margin-bottom: -15px;
}
.panel-body h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color:#1a3e68;
    font-weight: 600;
}
.panel-body h3 {
	text-transform:uppercase;
	font-weight:bold;
	font-size:1em;
	line-height:1.1em;
}
.sidebar .panel-variation-4 h3 {
    margin-top: 0;
}

/* ===================================== 
   Marquee styles
======================================== */
#topbanner .flexslider .slide-item-caption {
    position: absolute;
    width: 60%;
    left: unset;
    bottom: 0;
    background-color: rgba(0,38,86,0.85);
    margin-bottom: 30px;
    right: 0;
}

.landingpage .slide-item-caption h1 {
    padding: 18px 20px 20px 30px;
    font-size: 1.8em;
    line-height: 1.4em;
    font-weight: 300;
    text-shadow: none;
    margin-bottom: 0;
    letter-spacing: .01em;
}
.slide-item-caption h1:hover, .slide-item-caption a:hover {
    text-decoration: none;
}

@media (max-width: 1250px) {
    .landingpage .slide-item-caption h1 {
        font-size: 1.5em;
    }
}
@media (max-width: 639px) {
    #topbanner .flexslider .slide-item-caption {
        position: relative;
        background-color: #E5E9EF;
        width: 100%;
        left: 0;
        bottom: 0;
        margin: 0;
    }
    .landingpage .slide-item-caption h1 {
        font-size: 1.3em;
    }
}
@media (min-width:769px) {
        .video-box { max-width:70%}
        .video-box .overlay {top:35%}
}
@media (max-width: 769px) {
    .content-promo-blocks .promo-block h3{
        padding-top: 0 !important;
        border-top: none !important;
    }
    .content-promo-blocks .promo-block img{
        margin-top: 20px;
    }
    .content-promo-blocks .promo-block p:first-child  {
        border-top: 1px solid #D9DFE6;
    }
}


/* ===================================== 
   Map Styles
======================================== */
.map-wrapper {
    max-width: 235px;
    font-size: .9em;
}
.map-wrapper img {
    width: 100%;
}
@media (min-width: 769px) {
    .map-wrapper.mobile-show {
        display: none;
    }
}
@media (max-width: 768px) {
    .map-wrapper {
        max-width: 100%;
        margin-top: 15px;
    }
    .map-wrapper.desktop-show {
        display: none;
    }
}
/* ===================================== 
   Video Styles
======================================== */

.video-thumbnail:hover {
    opacity: .8;
}
.video-thumbnail img {
    padding: 0;
}
.video-thumbnail-textarea {
    background-color: #eceff3;
    padding: 15px;
}
.video-thumbnail.desktop-show {
    margin-top: 40px;
}
@media (min-width: 769px) {
    .video-thumbnail.mobile-show {
        display: none;
    }
    .video-thumbnail .overlay {
        top: 30px;
        left: 35%;
    }
}
@media (max-width: 768px) {
    .video-thumbnail {
        max-width: 100%;
        margin-top: 15px;
    }
    .video-thumbnail.desktop-show {
        display: none;
    }
    .video-thumbnail .overlay {
        top: 150px;
        left: 45%;
    }
}
@media (max-width: 600px) {
    .video-thumbnail .overlay {
        top: 120px;
    }
}
@media (max-width: 480px) {
    .video-thumbnail .overlay {
        top: 60px;
        left:40%;
    }
}
/* ===================================== 
   Content Promo styles
======================================== */
.content-promo-blocks {
    margin-top: -15px;
}

.content-promo-wrapper{
    margin-top: 20px;
    display: block;
    width: 100%
    height: 100%;
    cursor: pointer;
}
.content-promo-wrapper:hover{
    opacity: .8;
}
.promo-block img{
   width: 100%;
}
.promo-block-textarea {
    background-color: #eceff3;
    padding: 15px;
}
.promo-block-textarea h3 {
    margin-top: 0;
}
.glyphicon-chevron-right {
    color: #F99f00;
    padding-left: 3px;
    vertical-align: bottom;
    padding-bottom: 4px;
}

/* ===================================== 
   Landing pages styles
======================================== */
.landingpage.wide {
    padding-top:0;
}
.page-header { 
    color: #1a3e68; 
}
.page-header h1 { 
    margin-bottom: 0;
    font-weight: 600;
}



/* ===================================== 
   Service list styles
======================================== */

.service-list-divider-first.poppy-orange {
    border-top: 2px solid #F7CC9D;
    margin: 0 0 30px 0;
}
.service-list-divider.poppy-orange {
    border-top: 2px solid #F7CC9D;
    margin: -40px 0 30px 0;
}
.service-list-divider-first.rec-pool-blue {
    border-top: 2px solid #A8C6D5;
    margin: 0 0 30px 0;
}
.service-list-divider.rec-pool-blue {
    border-top: 2px solid #A8C6D5;
    margin: -40px 0 30px 0;
}
.service-list-divider-first.sunny-grass-green {
    border-top: 2px solid #C7E0AD;
    margin: 0 0 30px 0;
}
.service-list-divider.sunny-grass-green {
    border-top: 2px solid #C7E0AD;
    margin: -40px 0 30px 0;
}
.service-list-divider-first.mu-brick {
    border-top: 2px solid #E2BCB0;
    margin: 0 0 30px 0;
}
.service-list-divider.mu-brick {
    border-top: 2px solid #E2BCB0;
    margin: -40px 0 30px 0;
}
.service-list-divider-first.wintersky-blue {
    border-top: 2px solid #B4BFCA;
    margin: 0 0 30px 0;
}
.service-list-divider.wintersky-blue {
    border-top: 2px solid #B4BFCA;
    margin: -40px 0 30px 0;
}
.service-list-container-link:hover {
    background-color:#f7f7f7;
    text-decoration: none;
}
.service-list-link {
    display: block;
    width: 100%;
    height: 100%;
}
.service-list-link:hover {
    text-decoration: none;
    color: #002855 !important;
}

.service-list-grid {
    display:grid;
    display: -ms-grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 3fr;
    -ms-grid-rows: auto 1fr;
    -ms-grid-column: 1fr 3fr;
    margin: 0 15px;
}
.service-list-image {
    width: 200px;
    grid-row: 1 / 2;    
    grid-column: 1 / 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
}
.service-list-image a{
    display: block;
    width: 100%;
    height: 100%;
}
.service-list-image img{
    width: 100%;
}
.service-list-image .service-list-badges{
    width: 65%;
    margin-left: 35px;
}
.badges a {
    transition: all 0.6s ease 0s;
}
.badges a:hover {
    opacity: .7;
    transition: all 0.6s ease 0s;
}
@media (max-width:768px) {
    .service-list-image .service-list-badges{
        margin-left: 120px;
    }
}
@media (max-width:560px) {
    .service-list-image .service-list-badges{
        margin-left: 55px;
    }
}
.service-list-grid .video-thumbnail .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 30%;
    left: 33%;
}
.service-list-description {
    padding-left: 30px;
    margin-bottom: 25px;
    grid-row: 1 / 2;    
    grid-column: 2 / 3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;    
}
.service-list-description h2 {
    margin-top: 0;
}
.service-list-description li {
    margin: 10px 0;
}
.service-list-description p:hover {
    color: #002855 !important;
}
.glyphicon-chevron-right {
    color: #F99f00;
    padding-left: 3px;
    vertical-align: bottom;
    padding-bottom: 4px;
}
@media (max-width:768px) {
    .service-list-grid {
        display:grid;
        grid-template-rows: auto 1fr;
        grid-template-columns: 1fr;
        display: -ms-grid;
        -ms-grid-rows: auto 1fr;
        -ms-grid-column: 1fr;
    }
    .service-list-image {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;    
    }
    .service-list-description {
        margin-top: 10px;
        padding: 0;
        grid-row: 2 / 3;    
        grid-column: 1 / 2;
        -ms-grid-row: 2;
        -ms-grid-row-span: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;    
    }
    .service-list-grid .video-thumbnail .overlay {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 35%;
        left: 40%;
    }
}

/* ===================================== 
   Sidebar panel styles
======================================== */
.sidebar-cta-heading {
    font-size: 1.2em;
}
.largetext {
    font-size: 1.2em;
    font-weight: 500;
    margin-top: -10px;
}
/* panel mods */
.panel-body {
    padding: 20px;
}
.panel-heading {
    padding-left:20px;
}

/* sidebar panel styles */
.sidebar .panel-title {
    font-weight: 700;
}
.sidebar .panel {
    border-radius: 0
}
.sidebar .panel-heading {
    padding-top: 9px;
    padding-bottom:8px;
    border-radius: 0;
}
.sidebar .panel.panel-default .panel-body p { 
    margin-bottom:.938em;
}
.sidebar .panel.panel-default .panel-body p:first-child { 
    margin-top:8px;
}
.sidebar .panel.panel-default, #sidebar-content .panel.panel-default {
    border-color: #ccd4e0;
    background-color: #f7f7f7;
}
.sidebar .panel-default > .panel-heading {
    color: #1a3e68;
    background-color: #ccd4e0;
    border-color: #ccd4e0;
}


/* sidebar-mobile panel styles */
#sidebar-wrapper-mobile .panel-title {
    font-weight: 700;
}
#sidebar-wrapper-mobile .panel {
    border-radius: 0
}
#sidebar-wrapper-mobile .panel-heading {
    padding-top: 9px;
    padding-bottom:8px;
    border-radius: 0;
}
#sidebar-wrapper-mobile .panel.panel-default .panel-body p { 
    margin-bottom:.938em;
}
#sidebar-wrapper-mobile.panel.panel-default .panel-body p:first-child { 
    margin-top:8px;
}
#sidebar-wrapper-mobile .panel.panel-default, #sidebar-content .panel.panel-default {
    border-color: #ccd4e0;
    background-color: #f7f7f7;
}
#sidebar-wrapper-mobile .panel-default > .panel-heading {
    color: #1a3e68;
    background-color: #ccd4e0;
    border-color: #ccd4e0;
}
.sidebar .panel-body p.read-more-links a { color:#00829B }

@media (min-width: 992px) {.maincol.col-66percent {
        padding-left: 20px;
    }
}