*{
    padding: 0;
    margin: 0;
}

html,body{
    font-family: "PT Sans";
    background: #fafafa;
    height: 100%;
    min-width: 1024px;
}


.page_wrapper{
    width: 1024px;
    padding: 33px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page_wrapper__content:after{
    content: '';
    display: table;
    clear: both;
}

/*************CONTACTS**************/
.contacts_and_form_wrap,
.thumb_and_letter_wrap,
.form{
    float: left;
    width: 50%;
    display: flex;
    flex-direction: column;
}
.links_block{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 41px;
}

.contacts_and_form_wrap{
    padding-right: 42px;
    box-sizing: border-box;
}

.hr_contacts{
    width: 57px;
    margin-bottom: 20px;
    margin-top: 6px;
}

.hr_form{
    width: 135px;
    margin-bottom: 20px;
    margin-top: 6px;
}

.hash{
    margin-bottom: 10px;
}


.form{
    width: 100%;
}

.form__title{
    font-family: "Avenir Next";
}

.phone, .vk, .insta{
    font-weight: bold;
    margin-bottom: 10px;
}

.inner_phone,
.inner_link_insta,
.inner_link_vk{
    font-weight: normal;
}

.inner_link_insta,
.inner_link_vk {
    text-decoration: underline;
}

.insta_photos:hover,
.vk a:hover,
.insta a:hover
{
    color: #6DCEE1;
    transition: color .2s;
}

.insta_logo, .vk_logo{
    margin-right: 15px;
    opacity: .35;
}

.insta_logo:hover, .vk_logo:hover{
    transition-property: opacity;
    transition-duration: .5s;
    opacity: 1;
}

.input{
    margin-bottom: 10px;
    padding: 10px;
    padding-left: 20px;
    border: 0 solid #DFDFDF;
    background: white;
    font-size: 14px;
    color: #676767;
    font-family: "Avenir Next";
}

.input:focus{
    outline-color: #9EDDE7;
    outline-width: 2px;
}

.submit{
    margin-top: 5px;
    width: 111px;
    padding-left: 10px;
    align-self: center;
    letter-spacing: 0.47px;
    border: 1px solid #6DCEE1;
}

.submit:hover{
    cursor: pointer;
    background: #DCF1F6;
}

.input::placeholder{

}

.format{
    display: flex;
    flex-direction: column;
    background: white;
    font-size: 14px;
    color: #676767;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.format:hover{
    cursor: pointer;
}

.format__opened{
    border: 1px solid #6DCEE1;
}

/*************ARROW**************/
.arrow-down-input {
    background: transparent;
    position: relative;
}

.arrow-down-input.active {
    background: transparent;
}

.arrow-down-input:before, .arrow-down-input:after {
    content: "";
    display: block;
    width: 12px;
    height: 2px;
    background: #9EDDE7;
    position: absolute;
    top: 16px;
    transition: transform .5s;
}

.arrow-down-input:before {
    right: 17px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transform: rotate(45deg);
}

.arrow-down-input:after {
    right: 10px;
    transform: rotate(-45deg);
}

.arrow-down-input.active:before {
    transform: rotate(-45deg);
}

.arrow-down-input.active:after {
    transform: rotate(45deg);
}

/*************************************/

.format_type{
    font-size: 15px;
    font-family: Arial;
    padding: 10px;
    padding-left: 20px;
}

.format_type__opened{
    padding-bottom: 10px;
    border-bottom: 1px solid #6DCEE1;
    margin-bottom: 15px;
}

.sub{
    display: none;
    padding: 10px;
    padding-left: 0px;
    padding-top: 0;
    margin-bottom: 0;
    padding-left: 20px;
}

.sub:hover{
    cursor: pointer;
}

.thumb{
    margin-bottom: 15px;
}

.letter{
    font-size: 15px;
}

/******************************************************/

/************SERVICES**************************************/

.wall{
    background: url(/themes/katrin_theme/assets/img/contacts_wall.jpg) no-repeat;
    background-size: cover;
    background-position: top;
    min-height: 92.8vh;
    position: relative;
    top: 5px;
}

.wall_fade{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(255,255,255,.8);
}

.page_wrapper__content{
    display: flex;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.page_wrapper__content_contacts{
    display: flex;
    /*overflow: hidden;*/
    position: relative;
    height: 100%;
}

.service_wrap{
    display: flex;
    flex-direction: column;
    width: 50%;
}

.service_item{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    align-items: center;
    opacity: 0;
}

.service_item:hover{
    cursor: pointer;
}

.service_item .thumb{
    width: 483px;
    height: 101px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    box-sizing: border-box;
    border: 1px solid #F6F6F6;
    box-shadow: 0 2px 4px 0 rgba(217,217,217,0.50);
}

.custom_item .thumb{
    border: 0;
    box-shadow: none;
    background: transparent;
}

.custom_item .thumb .thumb__title{
    font-size: 15px;
    color: #242424;
    letter-spacing: 0.2px;
}

.thumb__title{
    text-align: center;
    font-size: 18px;
    letter-spacing: 0.42px;
    margin-bottom: 10px;
}

.description{
    width: 50%;
    min-width: 50%;
    float: left;
    padding-left: 36px;
    box-sizing: border-box;
    right: -550px;
    position: absolute;
    transition: -webkit-transform .5s;
    -o-transition: right .5s;
    transition: right .5s;
    transition: right .5s, -webkit-transform .5s;

}

.opened_description{
    -webkit-transform: translateX(-550px);
    -ms-transform: translateX(-550px);
    transform: translateX(-550px);
    -webkit-transition: -webkit-transform 1s;
    transition: -webkit-transform 1s;
    -o-transition: transform 1s;
    transition: transform 1s;
    transition: transform 1s, -webkit-transform 1s;
}

.pack{
    margin-bottom: 30px;
    display: none;
}

.current_pack{
    display: block;
}

.service_title{
    font-weight: bold;
    margin-bottom: 15px;
}

.service_descr{
    margin-bottom: 15px;
}

.order{
    width: 101px;
    height: 33px;
    background: rgba(255,255,255,.5);
    border: 1px solid #6DCEE1;
    font-size: 14px;
    color: #676767;
    letter-spacing: 0.47px;
    font-family: "PT Sans";
}

.more{
    background: transparent;
    border: 0;
    font-size: 14px;
    font-style: italic;
    text-decoration: underline;
    color: #525252;
    letter-spacing: 0.33px;
}

.custom{
    width: 49px;
    height: 49px;
    background: url('/themes/katrin_theme/assets/img/message.png') no-repeat;
    background-position: center;
    background-size: cover;
    border: 0;
}

.custom:hover{
    cursor: pointer;
}

.custom_item:hover{
    cursor: auto;
}

.custom_message{
    height: 108px;
}

.order:hover, .more:hover{
    cursor: pointer;
}

.hidden, .hidden_custom{
    display: none;
}

.hidden_popup_form{
    max-width: 470px;
    margin: 0 auto;
    background: #FAFAFA;
    padding: 25px;
    box-sizing: border-box;
    position: relative;
}

.hidden_popup_form .input{
    width: 100%;
    box-sizing: border-box;
}

.hidden_popup_form .submit{
    width: 111px;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
}

.alert_success,
.alert_error{
    background: transparent !important;
}

.alert_success h2,
.alert_error h2{
    color: white;
}

.alert_success p,
.alert_error p {
    color: white;
}


/*********************************************************/

.album_wrapper .albums_list,
.album_wrapper .album{
    margin: 0px 0.2% 0.2% 0px;
    padding: 0;
    list-style-type: none;
}

.albums_list:after{
    content: '';
    display: table;
    clear: both;
}

.album{
    display: inline-block;
    width: 33.1%;
    float: left;
    margin-right: 2px;
    height: 27.4vh;
    background-size: cover;
    background-position: center;
}

.album:nth-child(3n){
    margin-right: 0;
}

.fade{
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.album_wrapper .title{
    color: white;
}

.album_wrapper .fade:hover{
    opacity: 0;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.album_wrapper a:link{
    color: white;
    text-decoration: none;
}

.show_more_albums{
    display: none;
    height: 9vh;
    justify-content: center;
    align-items: center;
    display: flex;
    /*position: absolute;*/
    bottom: 0px;
    width: 100%;
}

.show_more_btn{
    width: 140px;
    padding: 10px;
    background: white;
    border: 1px solid #6DCEE1;
    font-size: 14px;
    color: #676767;
    letter-spacing: 0.47px;
    display: none;

}

.show_more_btn:hover{
    cursor: pointer;
    background: #DCF1F6;
}

.link_to_album{
}

/***************************************************/

.album_wrapper{
    overflow: hidden;
}

.album_navigation{
    height: 12vh;
    background: transparent;
    position: relative;
    text-align: center;
    background: #fafafa;
}

.back_to_albums_list{
    margin-left: 40px;
    left: 0;
    position: absolute;
    top: 40%;
    z-index: 2;
    color: #5E5E5E !important;
}

.back_to_albums_list:before{
    content: '';
    position: absolute;
    top: 6px;
    left: -20px;
    width: 10px;
    height: 10px;
    background: url('/themes/katrin_theme/assets/img/arrow_back.png') no-repeat;
}

.back_to_albums_list:hover{
    color: #ACACAC !important;
}

.arrow_back{
    width: 32px;
    height: 32px;
    fill: red;
    stroke: red;
    stroke-width: 3px;
}

.album_main_title{
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
    font-size: 16px;
}

.item_img{
    width: 200px;
    padding: 2px !important;
}

.item_img img{
    max-width: 100%;
    width: 100%;
}

input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/*.date{*/
    /*-webkit-appearance: menulist-text;*/
/*}*/

@media screen and (min-width: 320px) and (max-width: 900px) {
    html,body{
        font-family: "Avenir Next";
    }

    input.submit, textarea {
        -webkit-appearance: none;
        -webkit-border-radius: 0;
    }

    html,body{
        min-width: auto;
    }

    .order{
        font-family: "Avenir Next";
    }

    .submit{
        margin-top: 5px;
        width: 111px;
        padding-left: 10px;
        align-self: center;
        letter-spacing: 0.47px;
        border: 1px solid #6DCEE1;
    }

    .page_wrapper{
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .contacts_and_form_wrap,
    .thumb_and_letter_wrap,
    .form{
        float: none;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .contacts_and_form_wrap{
        padding-right: 0;
    }

    .thumb{
        width: 290px;
        height: 279px;
    }

    .thumb_and_letter_wrap{
        margin-bottom: 12px;
    }

    .links_block{
        margin-bottom: 21px;
    }

    .thumb, .hash{
        margin-bottom: 20px;
    }

    .letter{
        font-size: 14px;
    }

    .input{
        border-radius: 0;
    }

    /***********************************/

    .wall .page_wrapper{
        padding: 0;
    }

    .service_item{
        margin: 0 auto;
        width: 100%;
    }

    .service_item:nth-child(2n){
        margin-right: auto;
    }

    .description{
        display: none;
    }

    .service_wrap{
        width: 100%;
    }

    .service_item .thumb{
        margin-bottom: 5px;
        min-height: 101px;
        height: auto;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .service_item .thumb .thumb__title{
        font-size: 16px;
        color: #000000;
        letter-spacing: 0.37px;
    }

    .custom_item .thumb{
        padding-top: 5px;
    }

    .pack{
        margin-top: 20px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .wall{
        background: none;
    }

    .wall_fade{
        display: none;
    }

    .close_btn{
        width: 19px;
        height: 40px;

    }

    /************************************/

    .album{
        width: 49.802%;
        height: 20vh;
    }

    .album:nth-child(3n){
        margin-right: 0.2%;
    }

    .album:nth-child(2n){
        margin-right: 0;
    }
    /************************************/

    .back_to_albums_list{
        top: 20%;
        font-size: 14px;
        letter-spacing: 0.26px;
    }

    .album_main_title{
        top: 60%;
        font-size: 16px;
    }

    .insta_logo, .vk_logo{
        opacity: 1;
    }


}
