/* COLORIST */
.bg-gray {
    background: #F2F2F2;
}
.bg-black {
    background: #404040;
    color: white;
}
.bg-red {
    background: #BC1A19;
    color: white;
}

.min-height-400 {
    min-height: 400px;
}
.min-height-280 {
    min-height: 280px;
}



/* BLOCK */
.t-block {
    padding-top: 10px;
    padding-bottom: 10px;
    height: 100%;
}
.t-block2x {
    padding-top: 20px;
    padding-bottom: 20px;
    height: 100%;
}
.t-block__top {
    padding-top: 10px;
}
.t-block2x__top {
    padding-top: 20px;
}
.t-block3x__top {
    padding-top: 30px;
}
.t-block__bottom {
    padding-bottom: 10px;
}
.t-block2x__bottom {
    padding-bottom: 20px;
}
.t-block3x__bottom {
    padding-bottom: 30px;
}
.t-card {
    border-radius: 15px;
    height: 100%;
    padding: 30px;
    overflow: hidden;
    position: relative;
}
.t-card__area {
    height: 75%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 25px 25px 0 25px;
}
.t-card__footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 25%;
    padding: 0 25px 25px 25px;
}
.t-card__rightbottom {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    height: 100%;
}
.t-card__leftbottom {
    display: flex;
    align-items: flex-end;
    height: 100%;
}
.t-card.no-padding {
    padding: 0;
}

@media only screen and (max-width : 1365px) {

}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
    .t-card__area {
        position: relative;
        padding: 0;
    }
    .t-card__footer {
        position: relative;
        padding: 0;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}

@media only screen and (max-width : 575px) {
    .t-card__rightbottom {
        display: block;
        text-align: left;
        margin-top: 15px;
    }
    .t-card__leftbottom {
        display: block;
        margin-top: 15px;
    }
    .t-card {
        height: auto;
    }
}

/* PAGE: ABOUT-US */
.t-blockabout {
    padding-top: 10px;
    padding-bottom: 10px;
}
.t-cardabout {
    border-radius: 15px;
    height: 100%;
    overflow: hidden;
    background: #F2F2F2;
}
.t-cardabout__line1 {
    height: 150px;
    padding: 30px 30px 0 30px;
}
.t-cardabout__line2 {
    height: 100px;
    padding: 0 30px;
    display: flex;
    align-items: flex-end;
    align-content: flex-start;
}
.t-cardabout__line4 {
    padding: 0 30px;
    height: 380px;
}
.page-about__image {
    height: 75px;
    width: auto;
}
.page-about__imagepng {
    height: 49px;
}
.t-cardabout__line3 {
    background: url(/local/templates/terdesign/img/bg-line.svg) no-repeat left center;
    padding: 25px 30px;
}
.page-about__dot {
    height: 10px;
    width: 10px;
    background: #bd2126;
}

@media only screen and (max-width : 1365px) {

}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
    .t-cardabout__line1 {
        height: auto;
        padding: 30px 30px 0 30px;
    }
    .t-cardabout__line2 {
        padding: 10px 30px;
        height: auto;
    }
    .t-cardabout__line3 {
        padding: 10px 30px;
    }
    .t-cardabout__line4 {
        height: auto;
        padding: 10px 30px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    .t-cardabout__line1 {
        height: auto;
        padding: 20px 20px 0 20px;
    }
    .t-cardabout__line2 {
        padding: 10px 20px;
        height: auto;
    }
    .t-cardabout__line3 {
        padding: 10px 20px;
    }
    .t-cardabout__line4 {
        height: auto;
        padding: 10px 20px;
    }
}

@media only screen and (max-width : 575px) {

}



/* DEFAULT SLICK ARROWS */
.def-slick-arrows .slick-arrow {
    border: none;
    height: 40px;
    width: 40px;
    border-radius: 30px;
    display: block;
    cursor: pointer;
}
.def-slick-arrows .slick-prev {
    position: absolute;
    left: -20px;
    z-index: 10;
    top: 50%;
    margin-top: -20px;
    background-image: url('/local/templates/terdesign/img/arrow-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #bc1a19;
    background-size: 9px;
}
.def-slick-arrows .slick-next {
    position: absolute;
    right: -20px;
    z-index: 10;
    top: 50%;
    margin-top: -20px;
    background-image: url('/local/templates/terdesign/img/arrow-left.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #bc1a19;
    background-size: 9px;
}

/* GRAY SLICK ARROWS */
.gray-slick-arrows .slick-arrow {
    border: none;
    height: 40px;
    width: 40px;
    border-radius: 30px;
    display: block;
    cursor: pointer;
}
.gray-slick-arrows .slick-prev {
    position: absolute;
    left: -20px;
    z-index: 10;
    top: 50%;
    margin-top: -20px;
    background-image: url('/local/templates/terdesign/img/arrow-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #8E8E8E;
    background-size: 9px;
}
.gray-slick-arrows .slick-next {
    position: absolute;
    right: -20px;
    z-index: 10;
    top: 50%;
    margin-top: -20px;
    background-image: url('/local/templates/terdesign/img/arrow-left.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #8E8E8E;
    background-size: 9px;
}

/* STYLED SLICK ARROWS */
.arrow-slick-arrows .slick-arrow {
    border: none;
    height: 20px;
    width: 50px;
    display: block;
    cursor: pointer;
}
.arrow-slick-arrows .slick-prev {
    position: absolute;
    right: 75px;
    z-index: 10;
    bottom: 25px;
    background-image: url('/local/templates/terdesign/img/arrow-right-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}
.arrow-slick-arrows .slick-next {
    position: absolute;
    right: 20px;
    z-index: 10;
    bottom: 25px;
    background-image: url('/local/templates/terdesign/img/arrow-left-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}



/* SLICK PADDING */
.def-slick-padding .slick-slide {
    padding: 0 10px;
}
.def-slick-padding .slick-list {
    margin: 0 -10px;
}

/* DEFAULT SLICK DOTS */
.def-slick-dots .slick-dots {
    position: absolute;
    z-index: 10;
    bottom: 20px;
    right: 30px;
    padding: 0;
    margin: 0;
}
.def-slick-dots .slick-dots button {
    height: 12px;
    width: 12px;
    background: #f2f2f2;
    border: 0;
    border-radius: 12px;
    color: transparent;
    overflow: hidden;
    margin: 3px;
}
.def-slick-dots .slick-dots > li {
    display: inline-block;
}
.def-slick-dots .slick-dots li.slick-active button {
    background: #bc1a19;
}


/* ICONS */
.ico-show-all {
    background: rgba(142, 142, 142, 1);
    padding: 8px;
    border-radius: 9px;
    margin: 0 5px 0 5px;
}
.ico-show-single {
    background: rgba(142, 142, 142, 1);
    padding: 8px;
    border-radius: 9px;
    margin: 0 5px 0 5px;
}
.ico-show-single.active, .ico-show-all.active {
    background-color: #bc1a19;
}

@media only screen and (max-width : 1365px) {

}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
    .ico-show-single, .ico-show-all {
        display: none;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}

@media only screen and (max-width : 575px) {

}

/* TEXT & NUMBER */
.num-col-1 {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 100%;
    font-size: 40px;
    font-weight: bold;
    min-height: 50px;
}
.num-col-2 {
    display: flex;
    align-items: center;
    align-content: center;
    height: 100%;
    font-size: 15px;
    line-height: 1.2;
    min-height: 50px;
}
.num-col-2.big-text {
    font-size: 18px;
    font-weight: 700;
}

/* INPUT ELEMENTS */
.style-input-text {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    max-width: 430px;
    background: #EFEFEF;
}
.style-input-textarea {
    width: 100%;
    padding: 12px 10px;
    margin: 5px 0;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    resize: none;
    background: #EFEFEF;
}


/* FORM DEFAULT */
.form-style-default .modal-body {
    padding: 25px 37px 34px;
}
.form-style-default .modal-header {
    padding: 30px 40px 0;
    border: none;
}
.form-style-default .buttons-area {
    padding-top: 20px;
}
.form-style-default .soglasie-area {
    font-size: 12px;
    line-height: 14px;
    color: #777777;
}
.form-style-default .soglasie-area a {
    color: #b41818 !important;
    text-decoration: underline;
}

/* OUR WORK MAINPAGE */
.block-ourwork__titletop {
    font-size: 18px;
    font-weight: 700;
    color: #bc1a19;
}
.block-ourwork__titlebottom {
    font-size: 18px;
    font-weight: 700;
    color: black;
    text-align: center;
}
.block-ourwork__line svg {
    width: 100%;
}
.block-ourwork__lineinfo {
    text-align: center;
}
.block-ourwork__image {
    max-width: 100px;
    width: 100%;
    margin: 0 auto;
    display: block;
    padding-top: 24px;
}
.block-ourwork__steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
}
.block-ourwork__step .num {
    font-size: 28px;
    color: #bd2126;
    padding-bottom: 13px;
    font-weight: bold;
}
.block-ourwork__step {
    padding: 10px 0 28px 88px;
    width: 180px;
    font-size: 12px;
}
.block-ourwork__step.step-1 {
    background-image: url("/local/templates/terdesign/img/ico-we-1.png");
    background-repeat: no-repeat;
    background-position: 12px 11px;
    background-size: 55px;
}
.block-ourwork__step.step-2 {
    background-image: url("/local/templates/terdesign/img/ico-we-2.png");
    background-repeat: no-repeat;
    background-position: 0 11px;
    background-size: 69px;
}
.block-ourwork__step.step-3 {
    background-image: url("/local/templates/terdesign/img/ico-we-3.png");
    background-repeat: no-repeat;
    background-position: 12px 11px;
    background-size: 55px;
}


.ico-social__panel.right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.ico-social__panel.right .ico-social {
    padding: 0 15px;
}


/* FIX RED-NUM */
.fix-rednum:hover .num-col-1 {
    color: #bc1a19;
}

.no-elements {
    background: #F2F2F2;
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}