:root{
  --Brand-Grey: #3C3D45;
  --Brand-Blue: #2162AF;
  --Brand-Dark-Blue: #133D8D;
  --Brand-Light-Blue: #BCD0E7;
}

@media (max-width: 1568px) {
    div.card-slider.slick-slider .slick-list{
        width: auto;
    }
    
}

@media (max-width: 1515px) {
    .csi-container1500{
        padding: 0 1rem;
    }
}

/* 1400  *
-------------------------------------------------------------------------------------- */
@media (max-width: 1415px) {
    .csi-container1400{
        padding: 0 1rem;
    }
}

@media (max-width: 1300px) {
    .csi-ibButton .csi-btn.btn:first-of-type{
        padding: 0.375rem 2.25rem;
    }
}


@media (max-width: 1230px) {
    
    .csi-carousel .carousel-item{
        background-position: 50% 50%;
    }
    .mobile-ib{
        background: var(--Brand-Blue);
        padding: 1rem 0;
    }
    .mobile-ib .ib-fields{
        justify-content: center;
    }
    .csi-header{
        padding-bottom: 0;
    }
    .header-row{
        margin-bottom: 1.25rem;
    }
    .header-row{
        align-items: center;
    }
    .csi-ib h5{
        color: #fff;
    }
    .home .csi-carousel .caption-content{
        width: 50%;
    }
    .csi-ibButton .csi-btn.btn:first-of-type{
        background: #fff;
        border-color: #fff;
        color: var(--Brand-Blue);
    }
    .csi-ibButton .csi-btn.btn:first-of-type:hover, .csi-ibButton .csi-btn.btn:first-of-type:focus{
        background: var(--Brand-Blue);
        color: #fff;
    }
}

@media (max-width: 1200px){
    .home-contact-form .wpcf7 input{
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* 1065  *
-------------------------------------------------------------------------------------- */
@media (max-width: 1064px) {
    #csiMenuWrapper button.toggle{
        display: block !important;
        position: relative;
        padding: 0;
    }
    .mobile-menu{
        display: block !important;
        padding: 0 1rem;
    }
    #csiMenuWrapper .nav-toggle .toggle-inner{
        display: flex;
        align-items: flex-end;
        flex-direction: column;
        padding: 0;
    }
    .csi-logo{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* 992  *
-------------------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .social-media{
        text-align: center;
    }
    .logo-footer-row{
        justify-content: center;
        text-align: center;
        margin-bottom: 2rem;
    }
    footer .logo-footer{
        margin-bottom: 2rem;
    }
    .csi-carousel .carousel-item{
        background-position: center;
        background-size: cover;
    }
    #csiMenuWrapper button.toggle{
        padding-right: 1rem;
    }
    #csiMenuWrapper .modal-menu{
        width: 100%;
        left: 0;
    }
    .csi-defaultAccordion .panel{
        width: 95%;
    }
    .csi-defaultAccordion .panel-body{
        padding: 0 1.5rem 2.5rem;
    }
    .button-group .csi-btn{
        margin-bottom: 1rem;
    }
    .locations-block{
        width: 100%;
        box-shadow: none;
        margin-top: 0;
    }
    .locations-form input[type="submit"]{
        width: 25%;
    }
    .csi-ib{
        padding: 2.25rem 3.5rem;
    }
    .csi-ib h5{
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
    }
    .csi-ib .form-row{
        flex-direction: column;
    }
    .csi-ib .input-group{
        margin-bottom: 1.25rem;
    }
    .csi-ib #ib-username{
        min-width: 290px;
    }
    .csi-ibButton{
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .csi-ibButton .csi-btn.btn:first-of-type{
        background: #fff;
        border-color: #fff;
        color: var(--Brand-Blue);
    }
    .csi-ibButton .csi-btn.btn:first-of-type:hover, .csi-ibButton .csi-btn.btn:first-of-type:focus{
        background: var(--Brand-Blue);
        color: #fff;
    }
    .mobile-hide{
        display: none;
    }
    .mobile-show{
        display: block;
    }
    .quick-links{
        display: none;
    }
    .quick-link-spacing{
        padding: 0;
    }
    .csi-carousel .carousel-caption{
        position: relative;
        top: 340px;
        bottom: initial;
        left: initial;
        right: initial;
    }
    .csi-logo img{
        max-width: 400px;
        width: 100%;
    }
    .home .csi-carousel .carousel-item, .csi-carousel .carousel-item{
        min-height: 250px;
        margin-bottom: 320px;
        padding-bottom: 3.5rem;
    }
    .home .csi-carousel .caption-content, .csi-carousel .caption-content{
        width: 100%;
    }
    .csi-carousel .carousel-item::before{
       content: none;
    }
    .csi-carousel .carousel-item h1{
        font-size: 1.75rem;
        line-height: 2rem;
    }
    .card-boxes{
        padding-bottom: 1rem;
    }
    .card-boxes .card-box{
        margin-bottom: 3.75rem;
        border-radius: 0;
    }
    .card-boxes .card-box::before{
        border-radius: 0;
    }
    .articles{
        padding-bottom: 0;
    }
    .articles .article{
        margin-bottom: 5rem;
    }
    .articles h1{
        font-size: 2rem;
        margin-bottom: 0;
        line-height: 2.5rem;
    }
    .articles .article-image{
        min-height: 260px;
    }
    .articles p{
        font-size: 1.5rem;
        line-height: 1.75rem;
    }
    .wpcf7 h3{
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: 2rem;
    }
    .wpcf7 h3 strong{
        display: block;
    }
    .wpcf7 input{
        margin-right: 0;
        margin-bottom: 1rem;
    }
     .wpcf7 input[type="checkbox"]{
        margin-right: 0.5rem;
        margin-bottom: 0;
     }
    .wpcf7 .form-fields{
        flex-direction: column;
    }
    footer{
        padding-top: 2rem;
    }
    .light-blue-bgColor{
        padding: 2rem 0;
    }
    .locations-block{
        padding: 2rem;
    }
    .feature-cards-section{
        padding: 2rem 0;
    }
    .feature-cards-section .supporting-image{
        min-height: 350px;
        margin-bottom: 2rem;
    }
    .feature-cards .csi_cards{
        margin: 2rem 0;
    }
    .feature-cards .csi_cards .card{
        margin: 0;
    }
    .feature-cards-section .feature-cards-intro{
        margin-bottom: 2.5rem;
    }
    .featured-post .author, .featured-post-image{
        margin-bottom: 2rem;
    }
    .post-card{
        margin-bottom: 2.25rem;
        max-width: none;
    }
    .latest-posts{
        margin-bottom: 5rem;
        justify-content: center;
    }
    .newsletter{
        padding: 2rem;
        margin-bottom: 4rem;
    }
    .product-information .product-card{
        margin-bottom: 3rem;
    }
    div.card-slider.slick-slider .slick-list{
        margin-bottom: 4rem;
    }
    .product-information .col-lg-7{
        padding-left: 15px;
    }
    img.alignright{
        float: none;
        margin: 0;
    }
    .card-slider .slick-arrow{
        width: 62px;
        height: 140px;
        top: calc(50% - 70px);
    }
    .locations-block .middle-content h5{
        margin-bottom: 1.375rem;
    }
    .location-content{
        columns: 1;
    }
    .archive .featured-post{
        padding-bottom: 3rem;
    }
     .csi-insidepages .csi-btn.btn{
        margin-bottom: 0.5rem;
    }
    div.calc-body{
        padding: 0;
    }
    div.csi-insidepages .csi-articleContent .calc-body ul li{
        width: 100% !important;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .footer-links{
        display: block;
        margin-bottom: 1rem;
        text-align: center;
    }
    .copyright{
        justify-content: center;
        margin-bottom: 1rem;
    }
    .inside-panel-group, .csi-defaultAccordion .panel{
        width: 100%;
    }
    .footer-links a{
        margin-right: 0.5rem;
    }
 }



/* 768  *
-------------------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .product-information .card-deck{
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .product-card{
        margin-bottom: 2rem;
    }
     .post-card{
        max-width: none;
     }
     .specific-cat-posts, .latest-posts{
        display: block;
    }
    .locations-block .block-buttons a{
        width: 100%;
        margin: 0;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .locations-block{
        padding-bottom: 1rem;
    }
    .locations-block hr{
        margin: 1.5rem 0;
    }
    .locations-form select{
        margin: 0;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .locations-form input[type="submit"]{
        width: 100%;
    }
    .location-posts .post-card{
        margin-bottom: 2rem;
        min-height: 500px;
    }
    .location-posts .post-icon{
        min-height: 217px;
    }
    .ending-statement{
        flex-direction: column;
    }
    .ending-statement-text{
        margin-right: 0;
        margin-bottom: 1rem;
    }
}


/* 568  *
-------------------------------------------------------------------------------------- */
@media (max-width: 576px) {
    .newsletter .form-fields .wpcf7{
        padding: 2.625rem 2.625rem 1.625rem;
    }
	h1, h2, h3, h4{
        line-height: 1.2;
    }
    .csi_cards .card.people-Large .people-image{
        min-height: 500px;
    }
    .csi_cards .card.people-Large .person-info{
        padding: 1.5rem 1rem;
    }
}


