/* body {
    background: #ccc;
} */
h1.fw100 {
    font-weight:100;
}
.reviews--page {
    margin-bottom: 100px;
    margin-top: 150px;
}

.highlighter {
    width:150px;
    height:4px;
    background-color:#ab040e;
    margin:20px 0 30px 0;
}
.content {
    margin-top:40px;
}

.activated svg .svg-elem-9,.activated svg .svg-elem-6 {
    fill: #000;
}
/* ----------------------------
Side projects boxes
-------------------------------*/

.main-reviews {
    
    color: #4d4d4d;
    padding: 7px 3px;
    width:100%;
    overflow: auto;
}

.main-reviews .inside {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
}
.main-reviews .inside .rev {
    margin-bottom:20px;
}

.main-reviews .inside .aaa {
    width: 100%;
    padding: 0 3px 2px 3px;
    position: relative;
    transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1) 1.5s, opacity 2s cubic-bezier(0.19, 1, 0.22, 1) 1.5s;
}

.main-reviews .inside .aaa .wrapp {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.main-reviews .inside img {
    width: 100%;
    padding: 0;
}

.rev:hover .aaa {background-color: #f2ede7;}
.reviews--page>.container {display: flex;justify-content: space-between;gap:30px;position:relative;} 
.sticky {position:sticky;top:16vh;left:0;height: 500px;bottom: auto;width:25%}

.main-reviews .inside .aaa {
    display: grid;grid-template-columns: 3fr 1fr;background-color: #fff;transition: all 0.4s ease;
}
.main-reviews .inside .aaa .info {padding: 30px 40px 20px 40px}
.main-reviews .inside img {object-fit: cover;height: 100%;}

.rev_content .text {
    padding: 10px 0;
font-size: 14px;
font-style: italic;
}
.rev_content .bottom {
    display: flex;
justify-content: space-between;
}
.rev_content .author a {
    font-weight:600;
}
.reviews .rev h3 a:hover {
    text-decoration:underline;
}

@media (max-width:768px) {
    .reviews--page>.container {
        flex-direction:column;
    }
    .sticky {
        position: static;top: 0;left: 0;height: auto;bottom: auto;width: 100%;
    }
    .main-reviews .inside img {object-fit: contain;height: initial;}
    .main-reviews .inside .aaa {
        grid-template-columns: 1fr;
    }
    .main-reviews .inside .aaa .wrapp.fon {
        order:-1
    }
}
.header_callus a {
    padding: 10px 20px;
    display: inline-block;
    background-color: #ab040e;
    color: #fff;
}
.header_callus a:hover {background-color: #d90b0b;}
.reviews--page .content p {font-size: 1.1em;}

/* =================== */
/* css HYSTOMODAL  */
/* ================== */
.hystmodal__opened,
.hystmodal__shadow {
    position: fixed;
    right: 0;
    left: 0;
    overflow: hidden
}

.hystmodal__shadow {
    border: none;
    display: block;
    width: 100%;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 98;
    opacity: 0;
    transition: opacity .15s ease;
    background-color: #000
}

.hystmodal__shadow--show {
    pointer-events: auto;
    opacity: .6
}

.hystmodal {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    pointer-events: none;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    z-index: 99;
    visibility: hidden
}

.hystmodal--active {
    opacity: 1
}

.hystmodal--active,
.hystmodal--moved {
    pointer-events: auto;
    visibility: visible
}

.hystmodal__wrap {
    flex-shrink: 0;
    flex-grow: 0;
    width: 100%;
    min-height: 100%;
    margin: auto;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center
}

.hystmodal__window {
    margin: 50px 0;
    box-sizing: border-box;
    flex-shrink: 0;
    flex-grow: 0;
    /* background: #fff; */
    width: 600px;
    max-width: 100%;
    overflow: visible;
    transition: transform .2s ease 0s, opacity .2s ease 0s;
    transform: scale(.9);
    opacity: 0
}

.hystmodal--active .hystmodal__window {
    transform: scale(1);
    opacity: 1
}

.hystmodal__close {
    position: absolute;
    z-index: 10;
    top: 0;
    right: -40px;
    display: block;
    width: 30px;
    height: 30px;
    background-color: transparent;
    background-position: 50%;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' stroke='%23fff' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M22 2L2 22'/%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M2 2l20 20'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    border: none;
    font-size: 0;
    cursor: pointer;
    outline: none
}

.hystmodal__close:focus {
    outline: 2px dotted #afb3b9;
    outline-offset: 2px
}

@media (max-width:767px) {
    .hystmodal__close {
        top: 10px;
        right: 10px;
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' stroke='%23111' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M22 2L2 22'/%3E%3Cpath fill='none' stroke='%23111' stroke-linecap='square' stroke-miterlimit='50' stroke-width='2' d='M2 2l20 20'/%3E%3C/svg%3E")
    }

    .hystmodal__window {
        margin: 0
    }
}
.hystmodal .form {
    background: #ECE9E4;
    padding: 40px 25px 25px 25px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0px 4px 26px 0px rgba(0, 0, 0, 0.13);
}
.hystmodal .bage {
    display: flex;
    align-items: center;
}
.hystmodal .bage h4 {font-size: 1.5rem;color: #000;font-weight: 500;}
.hystmodal .c-form_item {
    display: grid;
    gap: 5px;
    margin-top: 15px;
}
.hystmodal .c-form_item .c-form_input,.hystmodal .c-form_item .c-form_textarea {
    border:1px solid;
    padding: 5px;
    font-size: 18px;
}
.hystmodal .c-form_item .c-form_textarea {
    min-height:200px;
}
.hystmodal .sentbtn {
    margin-top: 15px;
}
.hystmodal .sentbtn button {
    background:  #ab040e;
    border: none;
    padding: 10px 20px;
    color: #fff;
}
.hystmodal .sentbtn button:hover {
    background: #d90b0b;
}