/*start of header*/
.under-header {
  padding-top: 102px;
  background-color: black;
}
.navbar-static-top {
  margin-bottom: 0;
}

.navbar-wrapper {
  max-height: 102px;
  height: 102px;
}

.navbar-wrapper::after {
  content: "";
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  background-image: url(../../img/background/footer.jpg);
  background-position: center;
}

.navbar {
  height: 102px;
  max-height:102px;
}

.navbar-collapse.in {
  background-color: rgba(13, 97, 147, 0.65);
}
.logo {
max-height: 97px;
}
/*end of header*/

/*label for new text in carpet block*/
.imgHint span {
    position: absolute;
    top: 13px;
    left: 3px;
    background-color: rgba(245, 157, 14, 0.85);
    color: white;
    padding: 10px;
    font-weight: bold;
    z-index: 2;
    border-radius: 10px;
    transform: rotate(-35deg);
}
/*end label for new text in carpet block*/
.img-fluid {
  width: auto!important
}

.color-1 {
    color: rgb(13, 97, 147);
}
.color-2 {
    color: rgb(245, 157, 14);
}
.color-3 {
    color: rgb(137, 137, 137);
}
.color-4 {
    color: #ffffff;
}
.width-100
{
    width: 100%;
}
.btn-rounded {
    border-radius: 50px!important;
}
.carousel-inner {
    background-color: black;
}
.no-padding {
    padding: 0!important;
}
.padding-2 {
    padding: 2px;
}
.padding-10 {
    padding: 10px;
}
.padding-t-10 {
    padding-top: 10px;
}
.padding-b-10 {
    padding-bottom: 10px;
}
.padding-l-10 {
    padding-left: 10px;
}
.padding-r-10 {
    padding-right: 10px;
}
.padding-t-30 {
    padding-top: 30px; /* Space out the Bootstrap <hr> more */
}
.padding-t-50 {
    padding-top: 50px; /* Space out the Bootstrap <hr> more */
}
.padding-l-30 {
    padding-left: 30px; /* Space out the Bootstrap <hr> more */
}
.padding-l-50 {
    padding-left: 50px; /* Space out the Bootstrap <hr> more */
}
.padding-30 {
    padding: 30px; /* Space out the Bootstrap <hr> more */
}
.padding-50 {
    padding: 50px; /* Space out the Bootstrap <hr> more */
}

.no-margin {
    margin: 0!important;
}
.margin-6 {
    margin: 6px!important;
}
.margin-10 {
    margin: 10px;
}
.margin-t-10 {
    margin-top: 10px;
}
.margin-b-10 {
    margin-bottom: 10px;
}
.margin-l-10 {
    margin-left: 10px;
}
.margin-r-10 {
    padding-right: 10px;
}
.margin-b-20 {
    margin-bottom: 20px;
}
.margin-b-30 {
    margin-bottom: 30px;
}
.margin-t-30 {
    margin-top: 30px; /* Space out the Bootstrap <hr> more */
}
.margin-t-50 {
    margin-top: 50px; /* Space out the Bootstrap <hr> more */
}
.margin-l-30 {
    margin-left: 30px; /* Space out the Bootstrap <hr> more */
}
.margin-l-50 {
    margin-left: 50px; /* Space out the Bootstrap <hr> more */
}
.margin-30 {
    margin: 30px; /* Space out the Bootstrap <hr> more */
}
.margin-50 {
    margin: 50px; /* Space out the Bootstrap <hr> more */
}
.feature {
    background-color: rgb(235, 235, 235);
}

.our-tradition {
    background-image: url("../../img/background/tradition.jpg");
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-position: left bottom;
    background-size: contain;
    min-height: 600px;
    margin-left: -15px;
    margin-right: -15px;
}

.carousel-content {
    display:flex;
    align-items:center;
}
.carousel-white {
    background-color: transparent;
}

#text-carousel {
    width: 100%;
    height: auto!important;
    padding: 0 30px;
}

.carousel-inner.carousel-white > .item {
    max-width: 100%;
    height: auto!important;
}

.carousel-control.text-carousel-control {
    width: 0;
    color: rgb(13, 97, 147);
    opacity: .5
}
.carousel-control.text-carousel-control:hover {
    color: #22729c;
    opacity: 1
}
.text-carousel-indicators {
    position: static;
    bottom: -20px;
    text-align: left;
    width: 100%;
    margin-left: 0!important;
}
.text-carousel-indicators li {
    border: 1px solid rgb(13, 97, 147);
}

.text-carousel-indicators .active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: rgb(13, 97, 147);
    box-shadow: inset 0 0 0 1px #fff;
}
.valign {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    /* vendor prefixes omitted due to brevity */
}

.triange {
    font-size: xx-large;
    color: #fff;
    text-align: center;
    position: absolute;
    top: -70%;
    transform: translateY(0%);
    margin: 0 -18px;
    /* vendor prefixes omitted due to brevity */
}
.font-x-large {
    font-size: x-large;
}
.gallery {
    height: 500px!important;
}

.bg-color-gallery {
    background-color: rgba(245, 157, 14, 0.85);
}

.bg-gallery {
    background-image: url('../../img/background/gallery.jpg');
    background-repeat: no-repeat;
    width:100%;
}

.carousel-vertical-main {
    height:500px!important;
}

.footer-color {
    background-color: rgba(13, 97, 147, 0.95);
}

.footer {
    background-image: url('../../img/background/footer.jpg');
    background-repeat: inherit;
    background-position: center;
    width:100%;
    /*height: 100%;*/
}

.footer a {
    color: white;
}

.footer a:hover, .footer a:active {
    color: rgba(245, 157, 14, 1);
}


.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}
.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}
.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    font-size: 24px;
    line-height: 1.33;
    border-radius: 35px;
}

/*
 *  STYLE 6
 */

#body::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

#body::-webkit-scrollbar
{
    width: 8px;
    background-color: #F5F5F5;
}

#body::-webkit-scrollbar-thumb
{
    background-color: rgba(245, 157, 14, 0.9);
    background-image: -webkit-linear-gradient(45deg,
    rgba(255, 255, 255, .2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, .2) 50%,
    rgba(255, 255, 255, .2) 75%,
    transparent 75%,
    transparent)
}

.story li {
    color: rgba(13, 97, 147, 0.95); /* Цвет маркеров */
    font-size:18px;
}
.story li span {
    /* Text color */
    color: #333;
    font-size:14px;
}

.list-style-none {
    font-size: medium;
}

.list-style-none > ul {
    list-style-type: none;
    padding-left: 0;
}

.form-filter select {
    width:220px!important;
}

.form-filter label {
    display:block;
    text-align: left!important;
}

@media (max-width: 767px) {
    .padding-xs-10 {
        padding: 10px!important;
    }
    .no-padding-xs {
        padding: 0!important;
    }
    .no-padding-xs-l {
        padding-left: 0!important;
        padding-right: 0!important;
    }
    .no-padding-xs-t {
        padding-top: 0!important;
        padding-bottom: 0!important;
    }
    .text-center-xs {
        text-align: center;
    }
    h1 {
        font-size: 2em!important;
    }
    h2 {
        font-size: 1.8em!important;
    }
    h3 {
        font-size: 1.6em!important;
    }
    .smooth-scroll {
        bottom:20px !important;
        right: 15px !important;
    }
    .form-filter select {
        width:100%!important;
    }
    .nav > li > a {
        margin: 0;
    }

    .carpet_detail div{
        font-size: inherit!important;
        line-height: normal!important;
    }
    .call-close-icon {
        right: -50px!important;
    }
}

.carpet_detail div{
    font-size: 14px;
    line-height: 3;
}

.loader {
    position: relative;
    left: 30%;
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid rgba(13, 97, 147, 1); /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 10px;
}

.cpt-loader {
    display: none;
}
.news-loader {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* for news */
.blogShort {
    border-bottom: 1px solid #ddd;
}

.add {
    background: #333;
    padding: 10%;
    height: 300px;
}

.nav-sidebar {
    width: 100%;
    padding: 8px 0;
    border-right: 1px solid #ddd;
}

.nav-sidebar a {
    color: #333;
    -webkit-transition: all 0.08s linear;
    -moz-transition: all 0.08s linear;
    -o-transition: all 0.08s linear;
    transition: all 0.08s linear;
}

.nav-sidebar .active a {
    cursor: default;
    background-color: #34ca78;
    color: #fff;
}

.nav-sidebar .active a:hover {
    background-color: #37D980;
}

.nav-sidebar .text-overflow a,
.nav-sidebar .text-overflow .media-body {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.btn-blog:hover,
.btn-blog:focus,
.btn-blog:active,
.btn-blog.active,
.open .dropdown-toggle.btn-blog {
    color: white;
    background-color: #34ca78;
    border-color: #34ca78;
}

article h2 {
    color: #333333;
}

.margin10 {
    margin-bottom: 10px;
    margin-right: 10px;
}

.img-thumbnail {
    padding: 4px;
    line-height: 1.428571429;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* for news */

.btn-active {
    -webkit-box-shadow: 0 0 0 4px rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}
.btn-active.btn:active, .btn-active.btn:focus, .btn-active.btn:hover {
    -webkit-box-shadow: 0 0 0 4px rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

.modal-close-div {
    position: absolute;
    right: -3px;
    top: -20px;
}
.modal-close-div > .close {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    color: white!important;
    text-shadow: 0 1px 0 #fff;
    opacity: 1;
}

.carpet_detail ul {
    list-style-type: none;
    line-height: 2;
}

.cpt-show-new-color {
    width:20px;
    height: 20px;
}
img {
    pointer-events: none;
}
@media (max-width: 575px) {
    .carousel-vertical > .carousel-inner > .item img, .carousel-vertical-main > .carousel-inner > .item img{
        margin-left: 0!important;
        position: absolute;
        left:-25%;
    }
}

.navbar {
    max-height: 105px;
}

@media (min-width: 768px) and (max-width: 963px) {
    .nav.navbar-nav {
        padding-left: 0!important;
        font-size: 12px;
    }
    .navbar.navbar-static-top.width-100 .container {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar.navbar-static-top.width-100 {
        padding-left: 15px;
        padding-right: 5px;
    }
    .nav > li > a {
        margin: 15px 8px;
    }
}

@media (min-width: 960px) and (max-width: 992px) {
    .nav.navbar-nav {
        padding-left: 0!important;
        font-size: 13px;
    }
}

.navbar-toggle {
    margin-top: 40px;
}

.card-news-header {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 0;
}

.card-text-news {
    font-size: 13px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding: 0;
}

.card:hover .card-news-header, .card:hover .card-text-news {
    display: block;
}

@media (max-width: 992px) {
    .card-body .card-news-header, .card-body .card-text-news {
        display: block;
    }

    .news-block img {
        margin: 5px!important;
        width: 100% !important;
        height: auto;
    }
}

.news-block {
    width: 900px;
    margin: 0 auto;
    float: none;
}

@media (max-width: 900px)
{
    .news-block {
        width: auto;
        padding: 0 15px;
    }
}

.news-block img {
    margin: 0 15px 15px;
}