/*
 Theme Name:   Centex Materials
 Theme URI:
 Description:
 Author:       starkmedia
 Author URI:
 Template:     twentytwentyone
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/*Base*/
html,
body {
    overflow-x: hidden;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body,
.error404 main p {
    margin: 0;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #484848 !important;
    background-color: #fff;
}

.error404 main p {
    background-color: transparent;
    margin: 0 0 10px !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    margin: 10px 0;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: normal;
    line-height: 20px;
    color: #184c97;
    text-rendering: optimizelegibility;
}

body h1,
body h2,
body h3 {
    line-height: 1;
}

body h1 {
    font-size: 38px;
}

body h3 {
    font-size: 28px;
    text-transform: uppercase;
}

body ul,
body ol,
body p,
body a,
.error404 main p {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

body p {
    margin: 0 0 10px;
}

body a {
    color: #5789d0;
    text-decoration: none;
}

body a:hover,
body a:focus {
    color: #484848 !important;
    text-decoration: underline;
    background: transparent !important;
}

img {
    max-width: 100%;
    width: auto \9;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.hide {
    display: none;
}

.container {
    width: 940px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.container:before,
.container:after,
.row-fluid:before,
.row-fluid:after {
    display: table;
    content: "";
    line-height: 0;
}

.container:after,
.row-fluid:after {
    clear: both;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: normal;
    line-height: 20px;
    color: #184c97;
    margin: 10px 0;
    text-rendering: optimizelegibility;
}

h1,
h2,
h3 {
    line-height: 1;
}

h3 {
    text-transform: uppercase;
}

p {
    margin: 0 0 10px;
}

img {
    max-width: 100%;
    width: auto;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.flex {
    display: flex;
}

.btn {
    display: inline-block;
}

.btn-small {
    padding: 2px 10px;
    font-size: 11.9px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.flexslider {
    margin: 0 0 40px;
    background: #fff;
    border: 4px solid #fff;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    zoom: 1;
}

.flex-direction-nav .flex-prev {
    opacity: 1;
}

.flex-direction-nav .flex-next {
    opacity: 1;
    background-position: 100% 0;
}

.flex-direction-nav a {
    width: 30px;
    height: 35px;
    margin: -20px 0 0;
    display: block;
    background: url(/wp-content/themes/Centex%20Materials/assets/img/flex_direction_nav.png) no-repeat 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    font-size: 0;
    color: transparent;
    -webkit-transition: all .3s ease;
}

.flex-direction-nav a:before {
    color: transparent;
    text-shadow: none;
}

.flex-direction-nav a:hover,
.flex-direction-nav a:focus,
.flex-direction-nav a:active {
    outline: none !important;
    background: url(/wp-content/themes/Centex%20Materials/assets/img/flex_direction_nav.png) no-repeat 0 0 !important;
    color: transparent !important;
}

.flex-direction-nav a.flex-next:hover,
.flex-direction-nav a.flex-next:focus,
.flex-direction-nav a.flex-next:active {
    background-position: 100% 0 !important;
}

.flexslider .slides img {
    width: 100%;
    display: block;
}

@media (max-width: 767px) {
    .container {
        width: auto;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .container {
        width: 676px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/*Header*/
header.site-header {
    max-width: 1170px;
    row-gap: 0;
    padding: 0;
}

header.site-header .site-branding,
header.site-header .site-logo {
    margin: 0 auto;
}

header.site-header .site-logo {
    position: relative !important;
}

header.site-header .site-logo .custom-logo {
    max-width: 100%;
    max-width: 690px;
    max-height: initial;
    height: auto;
}

header.site-header .primary-navigation {
    position: relative;
    width: 100%;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    background-color: #17488e;
    background-image: -moz-linear-gradient(top, #184c97, #154181);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#184c97), to(#154181));
    background-image: -webkit-linear-gradient(top, #184c97, #154181);
    background-image: -o-linear-gradient(top, #184c97, #154181);
    background-image: linear-gradient(to bottom, #184c97, #154181);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff184c97', endColorstr='#ff144080', GradientType=0);
    background-color: #17488e;
    background-image: -moz-linear-gradient(top, #184c97, #154181);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#184c97), to(#154181));
    background-image: -webkit-linear-gradient(top, #184c97, #154181);
    background-image: -o-linear-gradient(top, #184c97, #154181);
    background-image: linear-gradient(to bottom, #184c97, #154181);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff184c97', endColorstr='#ff144080', GradientType=0);
    background-color: #154181;
    background-image: -moz-linear-gradient(top, #184c97, #154181);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#184c97), to(#154181));
    background-image: -webkit-linear-gradient(top, #184c97, #154181);
    background-image: -o-linear-gradient(top, #184c97, #154181);
    background-image: linear-gradient(to bottom, #184c97, #154181);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff184c97', endColorstr='#ff144080', GradientType=0);
    border: 1px solid #17488e;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    z-index: 999999999;
}

header.site-header .primary-navigation .menu-button-container {
    padding: 0;
    background-color: #17488e;
}

header.site-header .primary-navigation .menu-button-container #primary-mobile-menu {
    padding: 7px 15px 7px 7px;
}

header.site-header .primary-navigation .menu-button-container #primary-mobile-menu .dropdown-icon {
    color: #fff;
}

header.site-header .primary-navigation>div>.menu-wrapper {
    justify-content: center;
}

header.site-header .primary-navigation>div>.menu-wrapper li {
    line-height: 20px;
}

.primary-navigation-open .primary-navigation > .primary-menu-container {
    background-color: #17488e;
}

header.site-header .primary-navigation a,
header.site-header .primary-navigation a:hover,
header.site-header .primary-navigation a:link,
header.site-header .primary-navigation a:visited {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px 10px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 0 #184c97;
    outline: none;
}

header.site-header .primary-navigation a:hover,
header.site-header .primary-navigation a:active,
header.site-header .primary-navigation a:focus {
    color: #fff !important;
    text-decoration: none !important;
    background: #11366b !important;
    outline: none !important;
}

header.site-header .primary-navigation .current-menu-item a {
    background: #11366b;
}

@media (max-width: 600px) {
    header.site-header .site-logo .custom-logo {
        max-height: initial !important;
        width: 100% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

@media (min-width: 1200px) {
    header.site-header .primary-navigation {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
}

/*Home*/
.home .site-main {
    padding-top: 10px !important;
}
.home-slider {
    height: 175px;
    width: 100%;
    margin-bottom: 0 !important;
}

.home-slider .container {
    background: rgba(255, 255, 255, 0.42);
    width: 100%;
    overflow: hidden;
    padding: 0;
    text-align: center;
}

.home-slider-flexslider {
    border-radius: 0 0 0 0;
    border-width: 0;
    margin-bottom: 0;
}

.home-slider-flexslider:hover .flex-direction-nav .flex-prev {
    left: 15px;
}

.home-slider-flexslider:hover .flex-direction-nav .flex-next {
    right: 15px;
}

.home-slider-flexslider ul.slides {
    max-height: 400px;
    overflow: hidden;
    zoom: 1;
}

.home-slider-flexslider .flex-control-nav {
    bottom: 0;
    right: 0;
    width: auto;
}

.intro {
    position: relative;
    margin: 0 -20px 30px 0 !important;
    z-index: 999;
}

.intro .container {
    background: #102447;
    border-bottom: 10px solid #184c97;
    padding: 30px;
}

.intro p {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    color: #fff;
}

.product-content .row-fluid {
    position: relative;
}

.product-content .flex {
    flex-direction: column;
    margin-bottom: 30px;
}

.product-content .text-block {
    width: 100%;
    padding: 15px;
}

.product-content .text-block h3 {
    font-size: 17.5px;
    color: #484848;
    margin-top: 0;
}

.product-content .text-block a {
    display: block;
}

.product-content .text-block img {
    width: 100%;
    height: auto;
}

.product-content .text-block a.btn {
    width: 100%;
    padding: 5px 0;
    margin-top: 15px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 1px solid #ccc;
}

.image-slider {
    background: #eee;
    border: 1px solid #eee;
    margin: 0 0 10px;
    padding: 0 0 40px;
}

.image-slider .flex-control-nav {
    position: absolute;
    bottom: 15px;
    left: 10px;
    text-align: center;
    width: 100%;
    height: 11px;
    z-index: 3;
}

.image-slider .flex-control-nav li {
    float: left;
    padding: 2px;
    margin: 0 2px;
}

.image-slider .flex-control-nav li a {
    background: url(/wp-content/themes/Centex%20Materials/assets/img/slider-nav.png) no-repeat;
    cursor: pointer;
    display: block;
    text-indent: -9999px;
    width: 10px;
    height: 11px;
}

.image-slider .flex-control-nav li a.flex-active {
    background-position: -10px 0;
}

.image-slider .flex-direction-nav {
    position: absolute;
    bottom: 15px;
    right: 10px;
    height: 11px;
    z-index: 4;
}

.image-slider .flex-direction-nav li {
    float: left;
    padding: 0 2px;
}

.image-slider .flex-direction-nav li a {
    margin: 0;
}

.image-slider .flex-prev,
.image-slider .flex-next,
.image-slider .pause,
.image-slider .play {
    background: url(/wp-content/themes/Centex%20Materials/assets/img/arrows.png) no-repeat;
    display: block;
    width: 15px;
    height: 15px;
    text-indent: -9999px;
    padding: 0;
    opacity: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
}

.image-slider .flex-direction-nav a:hover,
.image-slider .flex-direction-nav a:focus,
.image-slider .flex-direction-nav a:active {
    background: url(/wp-content/themes/Centex%20Materials/assets/img/arrows.png) no-repeat !important;
}

.image-slider:hover .flex-prev {
    opacity: 1;
    left: auto !important;
}

.image-slider:hover .flex-next {
    opacity: 1;
    right: auto !important;
}

.image-slider .flex-prev {
    background-position: 0 0;
}

.image-slider .flex-direction-nav a.flex-prev:hover {
    background-position: 0 -15px !important;
}

.image-slider .flex-next {
    background-position: -15px 0;
}

.image-slider .flex-direction-nav a.flex-next:hover {
    background-position: -15px -15px !important;
}

.sidebar {
    background-color: #d7d7d7;
}

.sidebar-content-description {
    background-color: #3f4140;
    border-bottom: 10px solid #878988;
    padding: 15px;
}

.sidebar-content-description h3 {
    font-family: "Old Standard TT", Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    color: #f5f4f2;
    text-align: center;
    text-transform: uppercase;
    border-top: 5px solid #535453;
    margin: 0;
    padding: 10px 0 7px;
}

.sidebar-content-description img {
    display: block;
    margin: 0 auto;
}

.sidebar-content-block {
    text-align: right;
    padding: 15px;
}

.sidebar-content-block h3 {
    font-size: 17.5px;
    margin-top: 0;
    color: #484848;
}

.sidebar-content-block h4 {
    font-size: 16px;
}

.sidebar-content-block img {
    width: 100%;
    padding-bottom: 15px;
}

.sidebar-content-block a.button.btn.btn-small {
    text-align: center;
    font-size: 11.9px;
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #184c97 !important;
    border-color: #184c97 #184c97 #0e2b55;
    border-radius: 3px;
    width: 100%;
    padding: 5px 0;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .home-slider {
        height: 340px;
    }

    .home .sidebar {
        position: absolute;
        top: -365px;
        right: 15px;
        width: 280px;
        z-index: 9999;
    }

    .intro .container {
        padding: 30px 335px 30px 30px;
    }

    .product-content .flex {
        padding-right: 300px;
    }

    .image-slider-container {
        padding-right: 315px;
    }
}

@media (min-width: 992px) {
    .product-content .flex {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .product-content .text-block {
        width: 50%;
    }
}

/*Content*/
.site-main {
    padding-top: 0 !important;
}

.site-main article.page {
    padding: 15px;
}

.site-main .entry-header,
.search .page-header,
.error404 .page-header {
    margin-bottom: 30px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.site-main .entry-header h1.entry-title,
.search .page-header h1.page-title,
.error404 .page-header h1.page-title {
    clear: both;
    font-size: 38px !important;
    color: #184c97;
    border-bottom: 1px solid #ddd;
    padding: 0 0 7.5px 0;
}

.search .page-header,
.error404 .page-header {
    margin-top: var(--global--spacing-vertical);
}

.search .page-header h1.page-title .search-term,
.error404 .page-header h1.page-title .search-term {
    font-style: italic;
    padding-right: 15px;
}

.site-main .entry-content h1,
.site-main .entry-content h2,
.site-main .entry-content h3,
.site-main .entry-content h4,
.site-main .entry-content h5,
.site-main .entry-content h6,
.site-main .entry-content p,
.site-main .entry-content ul,
.site-main .entry-content ol {
    max-width: 100% !important;
}

.site-main .entry-content h2,
.site-main .entry-content h3 {
    color: #48484a;
    margin: 80px 0 30px;
}

.site-main .entry-content h2 {
    font-size: 28px;
    text-transform: uppercase;
}

.site-main .entry-content hr.wp-block-separator {
    width: 100%;
    margin: 20px 0;
    border: 0;
    border-top: 3px solid #eee;
    border-bottom: 1px solid #fff;
}

.site-main .entry-content p {
    margin: 0 0 10px;
}

.site-main .entry-content .wp-block-columns,
.site-main .entry-content .wp-block-contact-form-7-contact-form-selector,
.site-main .entry-content figure {
    max-width: 100% !important;
    margin: 0 !important;
}

.site-main .entry-content .wp-block-image {
    display: inline-block;

}

.roundabout-slider {
    height: 220px;
    margin: 0;
}

.roundabout-slider li.roundabout-moveable-item {
    height: 220px;
    width: 600px;
    cursor: pointer;
    display: block;
    line-height: auto;
}

.roundabout-moveable-item img {
    border: 1px solid black;
    height: 100%;
    width: 100%;
    max-width: none;
    box-shadow: 0px 15px 10px -17px #111;
}

/* .locatorResults {
    margin-left: 20px;
} */

.locatorResults ul {
    margin-left: 0;
    padding: 0;
    list-style: none;
}

.locatorResults ul li {
    padding: 5px 0;
    margin: 0 0;
}

.locatorResults ul li:first-child {
    padding-top: 0;
}

.googleMap {
    border: 5px solid #919191;
    min-width: 98%;
    max-width: 100%;
}

.page-id-64 .site-main .entry-content h2 {
    font-size: 32px;
    color: #184c97;
    margin: 10px 0;
}

.search .entry-header .post-thumbnail {
    display: block;
    float: left;
    padding: 4px;
    line-height: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.055);
    margin: 15px 10px 10px 0;
    max-width: 260px;
}

.search .entry-header .post-thumbnail .wp-post-image {
    margin-top: 0;
    width: auto;
    height: auto;
}

.search-no-results .content-area + .sidebar {
    display: none;
}

.search-no-results .page-content,
.search-no-results .page-content form {
    max-width: 100%;
}

@media (max-width: 480px) {
    .search .entry-header .post-thumbnail {
        float: none;
        max-width: 100%;
        display: block;
        margin: 0 0 10px 0;
    }
}

@media (min-width: 768px) {
    .site-main article.page,
    .search-results-content,
    .error-content {
        display: inline;
        float: left;
        width: 72.5%;
        margin: 0 0 0 2.5%;
        padding: 0 15px 15px 0;
    }

    .search .site-main article.page,
    .error404 .error-404 {
        width: 100%;
        margin-left: 0;
    }

    .search .site-main article.page h2,
    .error404 .site-main article.page p {
        max-width: 100%;
        font-size: 28px;
        text-transform: uppercase;
    }

    .search .site-main article.page h2 a {
        color: #5789d0;
        text-decoration: none;
    }

    .page:not(.home) .sidebar,
    .search .sidebar,
    .error404 .sidebar {
        display: inline;
        float: left;
        width: 22.5%;
        margin: 0 0 0 2.5%;
        padding-top: 450px;
    }

    .page:not(.home) .site-main:not(.has-roundabout-slider) .sidebar,
    .search .sidebar,
    .error404 .sidebar {
        padding-top: 115px;
    }

    .locatorResults {
        float: left;
        width: 31.914893617%;
    }

    .googleMapContainer {
        float: left;
        width: 61.9574468085%;
        margin-left: 2.12765957447%;
    }
}

.wpcf7-form .flex {
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.wpcf7-form .flex>div {
    flex: 1;
}

.wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    margin-bottom: 5px;
}

.wpcf7-form label+br {
    display: none;
}

.wpcf7-form input:not([type="submit"]),
.wpcf7-form select {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #555;
    margin-left: 0;
}

.wpcf7-form input[type="submit"] {
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    color: #fff !important;
    background-color: #184c97 !important;
    border: none !important;
    border-radius: 3px;
    padding: 5px 10px;
}

/*Footer*/
.footer {
    max-width: 100%;
    width: 100%;
    background-color: #102447;
}

.footer .container {
    color: #fff;
    font-size: 90%;
    position: relative;
}

.footer .container .row-fluid {
    width: auto;
    padding: 30px 30px 0;
}

.footer .widget-area {
    display: block !important;
    margin: 0;
    padding: 0;
}

.footer .widget-area h3 {
    font-size: 17.5px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 10px;
}

.footer .wp-block-columns .wp-block-column>* {
    margin-top: 0;
}

.footer .widget-area ul li {
    line-height: inherit;
}

.footer .widget-area p,
.footer .widget-area a {
    font-size: 14px;
}

.footer .widget-area p,
.footer .widget-area p a {
    color: #fff !important;
}

.footer .widget-area a {
    color: #5789d0 !important;
    text-decoration: none;
}

.footer .widget-area a:hover,
.footer .widget-area a:focus,
.footer .widget-area a:active {
    text-decoration: underline;
}

.footer .widget-area #block-3 ul li {
    display: inline-block;
}

.footer .widget-area #block-3 ul li:first-child {
    margin-left: -15px;
}

.footer .widget-area #block-3 ul li a {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 12px;
    padding-left: 12px;
    margin-right: 2px;
    line-height: 14px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.footer .widget-area #block-3 ul li a:hover,
.footer .widget-area #block-3 ul li a:focus,
.footer .widget-area #block-3 ul li a:active {
    background-color: #5789d0;
    color: #333 !important;
    text-decoration: none;
}

.footer .wp-block-search input[type="search"] {
    width: 200px;
    height: 48px;
    font-size: 14px;
    line-height: 20px;
    border: 1px solid #e1e1e1;
	border-radius: 0;
    padding: 5px;
    background-color: #fff;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}

.footer .wp-block-search button.wp-block-search__button.has-icon {
    background-color: #5789d0 !important;
    padding: 5px;
}

.footer .wp-block-search button.wp-block-search__button.has-icon:hover,
.footer .wp-block-search button.wp-block-search__button.has-icon:focus,
.footer .wp-block-search button.wp-block-search__button.has-icon:active {
    border-color: #5789d0 !important;
}

.footer .wp-block-search button.wp-block-search__button.has-icon svg {
    width: 20px;
    height: 20px;
}