.products .container {
    padding-top: 0;
    padding-bottom: 0;
}

.products .top-text .container {
    padding-top: 0;
    padding-bottom: 0;
}

.products .top-text {
    background-color: #fff;
    /* image-rendering: auto;
    background-image: url(../../img/home/texture3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

.products h1 {
    padding-top: 115px;
    padding-bottom: 45px;
    color: #5f666f;
    text-align: start;
}

.products p {
    font-weight: 600;
    font-size: 16px;
    padding-right: 15px;
}

.products .second {
    margin-top: 35px;
    padding-bottom: 0;
    font-size: 16px;
    border-left: 5px solid #cca1a6e7;
    padding-left: 20px;
    line-height: 1.8;
    font-weight: 600;
}

.products .desktop-img {
    image-rendering: auto;
    display: block;
    position: relative;
    top: -110px;
    float: right;
    width: 95%;
    height: auto;
    margin-bottom: -70px;
}

.products .mobile-img {
    image-rendering: auto;
    display: none;
}

.products-tabs {
    /* background-color: #5f666f; */
    background-image: url(../../img/products/tubes/2.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media handheld,
(hover: none),
(pointer: coarse) {
    .products-tabs {
        background-attachment: scroll;
    }
}

.products-tabs .container {
    padding-top: 80px;
    padding-bottom: 70px;
    padding-left: 0px;
    padding-right: 0px;
}

.products-tabs ul {
    width: fit-content;
    margin: auto;
    margin-top: 25px;
}

.products-tabs ul.nav.nav-tabs {
    border-bottom: 0;
    padding-top: 5px;
}

.products-tabs ul.nav.nav-tabs li a,
.products-tabs ul.nav.nav-tabs li a.active {
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    border-left: 1px solid #ddd;
    border-radius: 0;
    font-size: 22px;
    color: #fff;
    padding: 0 30px;
    text-transform: uppercase;
    display: block;
    font-weight: 800;
    margin-top: 15px;
}

.products-tabs ul.nav.nav-tabs li:first-child>a {
    padding-left: 0;
    border-left: 0;
}

.products-tabs ul.nav.nav-tabs li:last-child>a,
.products-tabs ul.nav.nav-tabs li:last-child>a.active {
    padding-right: 0;
}

.products-tabs ul.nav.nav-tabs li>a {
    border-left: 1px solid #ddd;
}

.products-tabs ul.nav.nav-tabs li a.active {
    color: #CCA1A6;
}

.tab-content .tab-pane.fade.in {
    opacity: 1;
    transition: opacity .3s linear
}

.products-tabs hr {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    margin-bottom: 20px;
}

.products-tabs h3 {
    font-weight: 800;
    font-size: 20px;
    padding-bottom: 10px;
}

.products-tabs p {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

@media (max-width: 1200px) {
    .products h1 {
        padding-bottom: 30px;
    }
    .products .desktop-img {
        width: 100%;
        top: -60px;
        margin-bottom: 20px;
    }
    .products p {
        padding-right: 15px;
    }
}

@media (max-width: 991px) {
    .products .container {
        padding-bottom: 60px;
    }
    .products .desktop-img {
        display: none;
    }
    .products .mobile-img {
        display: block;
        margin: auto;
        width: 80%;
        height: auto;
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .products p {
        padding-right: 0;
    }
    .products h1 {
        text-align: center;
    }
    .products-tabs hr {
        margin-top: 25px;
        margin-bottom: 25px;
        margin-right: 0;
    }
}

@media (max-width: 450px) {
    .products-tabs ul.nav.nav-tabs li:first-child>a,
    .products-tabs ul.nav.nav-tabs li:first-child>a.active {
        padding-left: 0px;
    }
    .products-tabs ul.nav.nav-tabs li a,
    .products-tabs ul.nav.nav-tabs li a.active {
        font-size: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 330px) {
    .products-tabs ul.nav.nav-tabs li:first-child>a,
    .products-tabs ul.nav.nav-tabs li:first-child>a.active {
        padding-left: 0px;
    }
    .products-tabs ul.nav.nav-tabs li a,
    .products-tabs ul.nav.nav-tabs li a.active {
        font-size: 20px;
        padding: 0 10px;
    }
}


/* Layers
---------------------------------------- */

.layers .container {
    padding-top: 100px;
    padding-bottom: 50px;
}

.layers .card {
    box-shadow: -1px 2px 3px 2px rgba(0, 0, 0, 0.15);
    border-radius: 7px;
    background-color: #fff;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
    border: 0;
    margin-bottom: 50px;
}

.layers .card-img {
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
}

.layers .card:hover .card-img {
    background-color: #CCA1A6;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
    border: 0;
}

@media handheld,
(hover: none),
(pointer: coarse) {
    .layers .card:hover .card-img {
        background-color: #fff;
    }
}

.layers .card-heading {
    image-rendering: auto;
    /* background-color: #5f666f; */
    background-image: url(../../img/home/texture3.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 20px 0 10px;
    border: 0;
    border-bottom: 3px solid #CCA1A6;
}

.layers h2 {
    color: #fff;
    text-align: center;
    font-size: 30px;
}

.layers h3 {
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

.layers .card p {
    font-weight: 600;
    padding: 20px 20px 0 20px;
    text-align: center;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
}

.layers img {
    width: 100%;
    height: auto;
}

.layers .labels {
    image-rendering: auto;
    position: absolute;
    left: 0;
}

@media (max-width: 991px) and (min-width: 768px) {
    .layers .third-card {
        width: 50%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}


/* Circles
---------------------------------------- */

.circles {
    /* background-color: #5f666f; */
    background-image: url(../../img/products/tubes/2.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media handheld,
(hover: none),
(pointer: coarse) {
    .circles {
        background-attachment: scroll;
    }
}

.circles .container {
    padding: 70px 0 70px;
}

.circles .divider .fa {
    color: #ddd;
}

.circles h1 {
    color: #fff;
}

.circles-group {
    margin-top: 40px;
}

.circles .circle-container {
    margin-bottom: 40px;
}

.circles .circle {
    display: block;
    margin: auto;
    width: 100%;
    background-color: #fff;
    border-radius: 50%;
    -webkit-transition: .2s all ease;
    transition: .2s all ease;
    /* box-shadow: -3px 3px 5px 2px rgba(0, 0, 0, 0.15); */
}

.circles .circle:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.circles .circle h3 {
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #5f666f;
    font-size: 46px;
    font-weight: 800;
    font-family: 'Open Sans', sans-serif;
    -webkit-transition: .2s all ease;
    transition: .2s all ease;
}

.circles .circle h4 {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    -webkit-transition: .2s all ease;
    transition: .2s all ease;
    text-transform: none;
    line-height: 26px;
    text-align: center;
    padding: 0;
    width: 100%;
}

.circles .circle h4 span {
    font-family: "Raleway", sans-serif;
    font-weight: 900;
}

.circles .circle:hover {
    background-color: #CCA1A6;
}

.circles .circle:hover h3 {
    opacity: 0;
}

.circles .circle:hover h4 {
    opacity: 1;
}

@media(max-width: 991px) {
    .circles .circle {
        width: 65%;
    }
}

@media(max-width: 768px) {
    .circles .circle {
        width: 100%;
    }
}

@media(max-width: 575px) {
    .circles .circle {
        width: 65%;
    }
    .circle-container {
        padding: 0;
    }
    .circles-group {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media(max-width: 450px) {
    .circles .circle {
        width: 80%;
    }
}

@media(max-width: 350px) {
    .circles .circle {
        width: 90%;
    }
}


/*
@media (max-width: 350px) {
    .circles .circle {
        width: 60%;
    }
} */

.circles .custom-button {
    display: block;
    margin: 10px auto 20px;
    padding: 15px 30px;
    border-radius: 40px;
    width: 350px;
    outline: none;
    /* box-shadow: -3px 3px 5px 2px rgba(0, 0, 0, 0.15); */
}

.circles .custom-button span {
    font-size: 18px;
    font-weight: 800;
}

.circles .custom-button:before {
    font-size: 16px;
    content: "\f15c";
    right: 48px;
}

@media (max-width: 991px) {
    .circles .custom-button {
        width: 80%;
    }
}


/* caps
---------------------------------------- */

.caps {
    background-color: #fff;
}

.caps .container {
    padding: 70px 0 100px;
}

.cap-items {
    margin-top: 40px;
}

.cap-item {
    position: relative;
    display: inline-block;
    box-shadow: -1px 2px 3px 2px rgba(0, 0, 0, 0.15);
    border-radius: 7px;
}

.cap-item-img-wrap {
    position: relative;
    display: block;
    outline: 0 !important;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.cap-item-img-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    height: 100%;
    /* background: rgba(255, 255, 255, 0.6); */
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.cap-item-caption {
    text-align: center;
    height: 100%;
    padding-bottom: 30px;
    background: #fff;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.cap-item .cap-item-caption h4 {
    line-height: 0;
    text-transform: uppercase;
    margin: 30px 0 0 0;
    font-weight: 700;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
}

.cap-item-caption p {
    padding: 0px 0 18px;
    font-style: italic;
    margin: 0;
}

.cap-item-img-wrap img {
    image-rendering: auto;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.cap-item-caption a:hover {
    text-decoration: none;
}

.cap-item:hover .cap-item-img-wrap:before {
    opacity: 1;
}

.cap-item:hover .cap-item-caption h4,
.cap-item:hover .cap-item-caption p {
    color: #fff;
}