.banner-t1 {
    position: relative;
}

.banner-t1 h1 {
    color: #55565a;
    font-weight: 200;
}

.banner-t1-image {
    display: flex;
}

.banner-t1-image img {
    object-fit: cover;
    width: 100%;
}

.about-us-tabs>h2 {
    padding: 0;
    margin: 0;
}

.tab-content,
.our-history-contents {
    margin: 0 auto;
    padding: 0;
}

.content-r1 {
    padding: 0;
    display: flex;
}

.tab-content li .content-r1 .tab-text {
    float: left;
}

.tab-content li .content-r1 h3,
.tab-content li>h3,
.our-history-contents h3 {
    font-size: 30px;
    font-weight: 400;
    margin: 0 0 25px 0;
}

.tab-content li .content-r1 a {
    border-bottom: none;
    display: block;
    margin: 30px 0 22px 0;
}

.learn-more::after {
    content: "";
    font-family: 'Raleway', sans-serif;
    margin-left: 5px;
    background: no-repeat center url(/Thomasville/images/global/title-arrows.png);
    color: #FFF0;
    background-size: contain;
    background-position: 0 9px;
    width: 15px;
    height: 20px;
    display: inline-block;
}

.tab-content li {
    list-style: none;
}

.banner-t1 .about-uscontents {
    display: none;
}

.about-us-tabs .r-tabs-tab.r-tabs-state-active {
    border-bottom: solid 4px #041C2C;
}

.r-tabs .r-tabs-nav .r-tabs-anchor,
.find-styles li a,
.design-styles li a {
    color: #565059;
    font-size: 18px;
    font-weight: normal;
}

.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
    color: #1A1A1A;
}

.find-styles,
.find-styles ul,
.design-styles,
.design-styles ul {
    padding: 0;
    margin: 0;
}

.find-styles li {
    list-style-type: none;
}

.find-styles li ul,
.design-styles li ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.find-styles li ul li {
    width: 46.8%;
    margin-bottom: 20px;
}

.find-styles li ul li:nth-child(even) {
    padding-left: 10px;
}

.find-styles li a,
.design-styles li a {
    color: #041C2C;
    font-weight: 200;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-family: 'Old Standard TT', sans-serif;
}

.style-item li a::after {
    content: "...";
    font-family: 'Raleway', sans-serif;
    margin-left: 5px;
    background: no-repeat center url(/Thomasville/images/global/title-arrows.png);
    color: rgba(226, 227, 227, 0.4);
}

.design-styles {
    padding: 0;
    margin: 0;
}

.design-styles li {
    list-style-type: none;
    margin-bottom: 20px;
}

.r-tabs .r-tabs-nav .r-tabs-tab {
    min-width: 14%;
    width: 14%
}

.r-tabs:before {
    top: 57px;
    height: 5px;
}

.about-uscontents h2 {
    color: #041C2C;
    font-weight: 200;
}

.style-item li p {
    color: #1A1A1A;
    font-size: 15px;
}

.design-styles .style-item li p {
    color: #565059;
    font-size: 15px;
}

.about-uscontents p,
.tab-content p,
.our-history-contents p {
    color: #565059;
    font-size: 15px;
    margin-bottom: 20px;
}

.content-r1 h3 {
    display: block;
}

.tab-content>li>h3 {
    display: none
}

.tab-content li .content-r1 div:last-child {
    padding-right: 0;
}

@media (max-width: 767px) {
    .main-content, .banner-t1 {
        padding: 0 9px;
    }

    .banner-t1 img {
        display: none;
    }

    .banner-t1-topcontent h1 {
        font-size: 24px;
        margin: 20px 0 12.5px;
        white-space: nowrap;
        margin-left: 0;
        color: #041C2C;
    }

    .about-uscontents h2 {
        font-size: 22px;
        color: #1A1A1A;
        margin: 0 0 15px;
    }

    .about-uscontents h3 {
        font-size: 16px;
        font-weight: normal;
        margin: 15px 0 12.5px;
        max-width: 275px;
        color: #041C2C;
    }

    .content-r1 {
        flex-direction: column;
    }

    .tab-content li .content-r1 .tab-text {
        float: none;
    }

    .content-r1 .tab-img,
    .tab-content li .content-r1 a {
        margin: 20px 0;
        padding: 0;
        font-size: 14px;
    }

    .content-r1 .tab-img {
        display: flex;
        justify-content: center;
    }

    .content-r1 .tab-img img {
        max-width: 100%;
    }
    
    .tab-content li .content-r1 h3,
    .our-history-contents h3 {
        font-size: 20px;
        margin: 10px 0 9px;
    }

    .banner-t1-content,
    .r-tabs .r-tabs-accordion-title .r-tabs-anchor,
    .r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
        background-color: #F3F4F4;
        border: 1px solid #D4D4D4;
    }

    .r-tabs .r-tabs-accordion-title .r-tabs-anchor,
    .r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
        color: #565059;
        border-top: none;
        font-size: 14px;
    }

    .r-tabs .r-tabs-accordion-title:nth-child(2) .r-tabs-anchor {
        border-top: 1px solid #D4D4D4;
    }

    .r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
        border-bottom: none;
        color: #1A1A1A;
    }

    .r-tabs .r-tabs-panel {
        padding: 9px 9px 0;
    }

    .r-tabs-panel.r-tabs-state-active {
        border: 1px solid #D4D4D4;
        border-top: none;
    }

    #responsiveTabsDemo>.tab-img .r-tabs-anchor {
        border-top: 1px solid #D4D4D4;
    }

    .r-tabs-accordion-title span {
        background-image: url(/Thomasville/images/global/sprite_image_mobile.png);
        background-position: -16px -284px;
    }

    .r-tabs-accordion-title.r-tabs-state-active span {
        background-image: url(/Thomasville/images/global/sprite_image_mobile.png);
        background-position: -16px -299px;
    }

    .banner-t1 p,
    .our-history-contents p,
    .tab-content p {
        margin-bottom: 22.5px;
        font-size: 12px;
        /* font-weight: 500; */
        line-height: 1.4;
    }

    .about-us-tabs>h2 {
        display: none;
    }

    .about-us-tabs {
        margin-bottom: 50px;
    }

    .about-us-content {
        display: none;
    }

    .banner-t1 .about-uscontents {
        display: block;
    }
}

@media (min-width: 768px) {
    .r-tabs {
        margin-bottom: 50px;
    }

    .banner-t1>p {
        margin-bottom: 30px;
    }

    .banner-t1-topcontent {
        position: absolute;
        bottom: 0px;
        left: 0;
        width: 100%;
        color: #FFF;
        background-color: rgba(0,0,0,0.7);
    }

    .banner-t1 .banner-t1-topcontent h1 {
        color: #FFF;
        margin-bottom: 0;
        margin-top: 4px;
        font-size: 40px;
    }

    .about-us-tabs>h2 {
        text-align: center;
        font-weight: 300;
        font-size: 40px;
        margin-bottom: 50px;
    }

    .find-styles {
        max-width: 642px;
        margin: 0 auto;
    }

    .find-styles>li {
        margin-bottom: 40px;
    }

    .find-styles>li:last-child {
        margin-bottom: 0;
    }

    .find-styles li ul li,
    .design-styles li ul li {
        background: #F3F4F4;
        /*rgba(226, 227, 227, 0.4); */
        margin-bottom: 0;
    }

    .find-styles li p {
        font-size: 20px;
    }

    .find-styles li img {
        width: 100%;
    }

    .find-styles li ul li:nth-child(even) {
        padding: 20px;
    }

    .find-styles li a,
    .design-styles li a {
        font-size: 21px;
        margin-bottom: 10px;
        display: inline-block;
    }

    .resp-tabs-list li {
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }

    .design-styles {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 950px;
        width: 100%;
        margin: 0 auto;
    }

    .design-styles li {
        width: 54%;
        margin: 10px auto;
    }

    .design-styles .style-item li:first-child {
        width: 19.2%;
        margin-bottom: 0;
    }

    .design-styles .style-item li:last-child {
        width: 78%;
        padding: 10px;
        padding-right: 0;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .banner-t1 {
        margin-bottom: 40px;
    }

    .banner-t1 .banner-t1-topcontent h1 {
        margin-left: 13px;
    }
    .tab-content li .content-r1 h3, .tab-content li>h3, .our-history-contents h3 {
        color: #041C2C;
    }
    .r-tabs .r-tabs-nav .r-tabs-tab {
        min-width: 17%;
        width: 17%;
        padding-bottom: 19px;
    }
    .r-tabs:before {
        top: 56px;
    }
    .r-tabs .r-tabs-nav {
        margin-bottom: 40px;
    }

    .r-tabs .r-tabs-nav .r-tabs-anchor {
        font-size: 15px;
        font-weight: 500;
    }

    #consumer-reviews .content-r1 h3 {
        display: none;
    }

    .content-r1 .tab-img {
        flex-direction:  column;
        display:  flex;
        padding-bottom: 15px;
    }

    .content-r1 .tab-img img {
        object-fit: cover;
    }

    .tab-content li .content-r1 .tab-text {
        padding-right: 40px;
    }

    .tab-content>li>h3 {
        display: block;
    }

    .tab-content li .content-r1 a {
        margin: 25px 0;
        font-size: 15px;
        font-weight: 500;
    }

    .about-uscontents h2 {
        margin-bottom: 12px;
        font-size: 40px;
    }

    .about-uscontents h3 {
        font-size: 25px;
        margin-top: 12px;
        margin-bottom: 15px;
        font-weight: normal;
        color: #041C2C;
    }

    .about-uscontents p:last-child {
        margin-bottom: 47px;
    }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 
    .r-tabs:before {
        top: 78px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1199px) { 
    .banner-t1-image, .banner-t1-image img {
       height: 271px;
    }
}
@media (min-width: 992px) {
    .banner-t1 {
        position: relative;
    }

    .banner-t1-topcontent {
        position: absolute;
        bottom: 0px;
        left: 0;
        width: 100%;
        color: #FFF;
        background-color: rgba(0,0,0,0.7);
    }

    .banner-t1 .banner-t1-topcontent h1 {
        color: #FFF;
        margin-bottom: 0;
        margin-top: 8px;
        margin-left: 15px;
    }

    .banner-t1 {
        margin-bottom: 50px;
    }
    .about-us-content h2 {
        font-size: 40px;
        margin-bottom: 23px;
        margin-top: 0;
    }

    .about-us-content h3 {
        font-size: 25px;
        font-weight: normal;
        margin: 23px 0 18px 0;
        color: #041C2C;
    }

    .about-uscontents {
        margin: 0 auto 50px;
    }

    .about-uscontents p {
        margin-bottom: 30px;
    }

    .about-us-tabs .r-tabs .r-tabs-nav {
        max-width: 1096px;
        margin-bottom: 63px;
    }

    .tab-content li .content-r1 .tab-text {
        float: left;
        padding-right: 40px;
    }

    .tab-content li .content-r1 .tab-img {
        flex-basis: 88%
    }
}

@media(min-width: 1200px) {

    .banner-t1-topcontent {
        height: 60px;
    }
    .banner-t1-image {
        height: 390px;
    }

    .find-styles,
    .design-styles {
        max-width: 1170px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .tab-content,
    .our-history-contents {
        max-width: 1170px;
    }

    .find-styles>li {
        /*width: 49%;*/
        -ms-flex-preferred-size: 570px;
        flex-basis: 570px;
    }

    .find-styles>li>ul,
    .design-styles>li>ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .find-styles>li>ul>li {
        /*width: 45%;*/
        -ms-flex-preferred-size: 265px;
        flex-basis: 265px;
    }

    .design-styles li {
        width: 49%;
        margin: 0;
        margin-bottom: 20px;
    }

    .banner-t1 {
        margin-bottom: 60px;
    }

    .banner-t1 .banner-t1-topcontent h1 {
        margin-left: 40px;
    }

    .about-uscontents {
        max-width: 1170px;
        margin: 0 auto 60px;
    }

    .about-uscontents p {
        margin-bottom: 25px;
    }

    .find-styles li a {
        font-size: 25px;
    }

    .design-styles li a {
        font-size: 22px;
    }

    .find-styles li p {
        font-size: 15px;
    }

    .find-styles>li {
        margin-bottom: 50px;
    }

    .tab-content li .content-r1 .tab-text {
        padding-right: 20px;
        max-width: 100%;
    }

    .tab-content li .content-r1 .tab-img {
        flex-basis: 63.5%
    }
    .tab-content li .content-r1 .tab-text a {
        font-size: 15px;
        margin: 22px 0 15px 0;
        padding: 0;
    }
    .r-tabs {
        margin-bottom: 70px;
    }
}

/* For Cabinet Review page */
.wrapperBVVendor {
    border: 1px solid #d4d4d4;
    padding: 50px 45px 65px;
    margin-bottom: 70px;
}
@media screen and (max-width: 1023px) {
    .wrapperBVVendor {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 767px) {
    .cabinet-reviews .banner-t1-topcontent h1, .cabinet-reviews h1 {
        white-space: normal;
    }
}
@media screen and (min-width: 1024px) {
    .cabinet-reviews .main-content {
        padding: 0 56px;
    }
}
/* For Cabinet Review page */