/* 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;
}



/* DEFAULT SLICK ARROWS */
.def-slick-arrows .slick-arrow {
    border: none;
    height: 40px;
    width: 40px;
    border-radius: 30px;
    display: block;
    cursor: pointer;
}
.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;
}
.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;
}

/* 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: white;
    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;
}

/* 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;
}

.style-form-label {
    font-weight: bold;
    padding: 0;
    margin: 0 0 2px;
}
.style-form-label span {
    color: #b41818;
}
.style-form-input__wrapper {
    display: inline-block;
    width: 100%;
}
.style-form-input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    background: #EFEFEF;
}
.style-form-input:focus {
    color: #212529;
    background-color: #EFEFEF;
    border-color: #e9ecef;
    box-shadow: none;
}
.style-form-textarea {
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    background: #EFEFEF;
    min-height: 144px !important;
}
.style-form-textarea:focus {
    color: #212529;
    background-color: #EFEFEF;
    border-color: #e9ecef;
    box-shadow: none;
}
.style-form-input-border:focus {
    color: #212529;
    background-color: #f2f2f2;
    border-color: #8E8E8E;
    box-shadow: none;
}
.style-form-input-border {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    background: #EFEFEF;
    border: 2px solid #8E8E8E;
}
.style-form-select-border {
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    background-color: #EFEFEF;
    border: 2px solid #8E8E8E;
}
.style-form-select-border:focus {
    color: #212529;
    background-color: #f2f2f2;
    border-color: #8E8E8E;
    box-shadow: none;
}
.style-form-select {
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    background-color: #EFEFEF;
    border: 1px solid #e9ecef;
}
.style-form-select:focus {
    color: #212529;
    background-color: #f2f2f2;
    border-color: #e9ecef;
    box-shadow: none;
}


/* 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;
}


/* ALERTS */
.alert-area {
    padding-top: 10px;
    padding-bottom: 10px;
}
.alert-area > p {
    margin: 0;
    background: #f2f2f2;
    padding: 20px;
    border-radius: 15px;
}

.no-elements {
    background: #F2F2F2;
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}


.soc-insta {
    padding: 10px 10px 10px 40px;
    background-image: url(/local/templates/personal/img/ico-insta.svg);
    background-repeat: no-repeat;
    background-position: 8px center;
}
.soc-facebook {
    padding: 10px 10px 10px 40px;
    background-image: url(/local/templates/personal/img/ico-facebook.svg);
    background-position: 16px center;
    background-repeat: no-repeat;
    background-size: 10px;
}
.soc-vk {
    padding: 10px 10px 10px 40px;
    background-image: url(/local/templates/personal/img/ico-vk.svg);
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 25px;
}