@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Poiret+One');
@import url('https://fonts.googleapis.com/css?family=Noto+Serif');

@import url('https://fonts.googleapis.com/css?family=Exo+2|Tenor+Sans|Ubuntu+Condensed');

/*----------- Общие настройки -----------*/

body {
    font-family: "Tenor Sans";
    font-weight: 300;
    font-size: 12px;
    color: #575757;
    background-color: #f8f9f5;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touth;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

p {
    font-family: "Roboto";
    font-size: 16px;
    margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0px;
    margin: 0px;
}

h1 {
    font-size: 70px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 18px;
}

.name-box {
    width: 100%;
    min-height: 100px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 60px;
    margin-bottom: 20px;
}

.name-box h2 {
    font-size: 26px;
}

/*----------- TOP-HEADER -----------*/

.top-header {
    width: 100%;
    min-height: 40px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-around;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;

    color: #575757;
    border-bottom: 1px solid #f0f0f0;
}

.top-header-item {
    width: 264px;
    min-height: 40px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.top-header-item i {
    font-size: 16px;
    margin-right: 8px;
}

.top-header-item p {
    font-size: 14px;
    margin-right: 8px;
}

.top-header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}


.top-header ul i {
    margin: 0px;
}

.top-header ul li {
    width: 40px;
    min-height: 40px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    border-left: 1px solid #f0f0f0;
}

.top-header ul li a {
    color: #575757;
}

.top-header ul li a:hover {
    transition: all 0.3s ease;
    color: #e7c373;
}

.top-header ul li:last-child {
    border-right: 1px solid #f0f0f0;
}


/*----------- Header -----------*/

header {
    width: 100%;
    min-height: 60px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;

    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0px 100px;
}



.logo {
    width: 200px;
    min-height: 40px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 10px;
}

.logo span {
    font-family: "Noto Serif";
    text-transform: uppercase;
    color: #e7c373;
    letter-spacing: 2px;
}

nav {
    width: 600px;
    min-height: 60px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-end;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    margin: 0px 20px;
    font-size: 14px;
    color: #575757;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #e7c373;
}



/*----------- Header-2 -----------*/

.header-2 {
    width: 100%;
    min-height: 120px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    color: #252525;


}

.header-2-nav {
    width: 100%;
    min-height: 20px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.header-2-nav a {
    color: #575757;
}

.slash {
    margin: 0px 10px;
}

.header-2-name h2 {
    font-size: 28px;
    color: #575757;
    text-transform: uppercase;
}



/*----------- banner -----------*/

.banner {
    width: 100%;
    min-height: 400px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    background: url(../img/banner-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.multi-lending {
    width: 100%;
    min-height: 60px;
    padding: 10px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;

    text-align: center;
    color: #e7c373;
    margin-bottom: 40px;
    font-size: 32px;
    text-transform: uppercase;
}

.param1 {
    color: #e7c373;
    text-align: center;
    text-transform: uppercase;
    font-size: 28px;
}

.banner h2 {
    text-align: center;
    font-size: 24px;
    color: #e7c373;
    line-height: 1.5;
    margin-bottom: 20px;
}

*----------- Форма-----------*/ .forma {
    width: 100%;
    min-height: 100px;
    margin: 20px auto;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Roboto";
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: "Roboto";
    margin-bottom: 10px;
}

input {
    height: 36px;
    width: 200px;

    margin: 10px;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #e7c373;
    background-color: rgba(255, 255, 255, 0);
    font-family: "Roboto";
}

input:focus {
    outline: none;
    border: 2px solid #6e5f52;
    color: #fff;
}

.button {
    width: 240px;
    height: 46px;
    margin: 10px;
    
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;

    font-size: 16px;
    font-family: "Roboto";

    /*    border: rgba(0, 0, 0, .3) 0px solid;*/
    background: rgba(255, 255, 255, 0);
    color: #fff;
    transition: background .4s;
    cursor: pointer;
    border: 1px solid #e7c373;
    border-radius: 10px;
}

.button:hover {
    background: #e7c373;
}

button {
    width: 200px;
    height: 36px;
    margin: 10px;

    font-size: 16px;
    font-family: "Roboto";

    /*    border: rgba(0, 0, 0, .3) 0px solid;*/
    background: rgba(255, 255, 255, 0);
    color: #fff;
    transition: background .4s;
    cursor: pointer;
    border: 1px solid #e7c373;
    border-radius: 10px;
}

button:hover {
    background: #e7c373;
}

.polz-sogl {
    text-align: center;
    color: rgba(98, 98, 98, 0.36);
}

.polz-sogl a {
    color: rgba(98, 98, 98, 0.36);
}

/*----------- Special -----------*/

.special {
    width: 100%;
    min-height: 200px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-around;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0px 80px;
}

.special-item {
    width: 540px;
    min-height: 240px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.tonirovka {
    width: 100%;
    min-height: 240px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.74);
}

.special-border {
    width: 520px;
    min-height: 220px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid #e7c373;
    padding: 20px;
}



.special-border h4 {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
    transition: all 0.3s ease;
}

.special-border:hover h4 {
    color: #e7c373;
}

.si-1 {
    background: url(../img/aq11.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.si-2 {
    background: url(../img/aq12.jpg) no-repeat;
    background-size: cover;
    background-position: bottom;
}


/*----------- Отзывы -----------*/

.comments {
    width: 100%;
    min-height: 200px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0px 20px;
}

.comments-item {
    width: 540px;
    min-height: 240px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #f6f7f7;
    margin: 10px;
    padding-left: 16px;
}

.comments-content {
    width: 400px;
    min-height: 240px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
}

.comments-pfoto {
    width: 100px;
    min-height: 240px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.comments-name h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.comments-txt p {
    font-size: 14px;
    margin-bottom: 10px;
}



/*----------- Услуги -----------*/

.ysl {
    width: 100%;
    min-height: 200px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.ybox {
    width: 100%;
    min-height: 200px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.box {
    width: 300px;
    height: 300px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: flex-end;
    -ms-align-items: center;
    align-items: center;

    flex: 0 2 600px;
    margin: 14px;

    transition: all 0.3s ease;

    background-size: cover;
    background-position: center;
}

.box:hover {
    background-position: left;
}

.namebox {
    width: 100%;
    height: 80px;
    text-align: center;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    transition: all 0.3s ease;
}

.namebox h5 {
    font-size: 24px;
}


.fon-box {
    width: 100%;
    height: 300px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    background-color: rgba(0, 0, 0, 0.73);
    opacity: 0;
    transition: all 0.3s ease;
}

.box:hover .fon-box {
    opacity: 1;
}

.box:hover .namebox {
    display: none;
}

.bord {
    width: 240px;
    height: 240px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;

    color: #e7c373;
    font-size: 40px;
    border: 1px solid #e7c373;
    position: absolute;
}

.bord h5 {
    font-size: 20px;
}

.b1 {
    background: url(../img/b1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b2 {
    background: url(../img/b2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b3 {
    background: url(../img/b3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b4 {
    background: url(../img/b4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b5 {
    background: url(../img/b5.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b6 {
    background: url(../img/b6.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b7 {
    background: url(../img/b7.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b8 {
    background: url(../img/b8.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b9 {
    background: url(../img/b9.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.b10 {
    background: url(../img/b10.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.y-text {
    width: 100%;
    min-height: 100px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    margin-top: 40px;
    margin-bottom: -20px;
}



hr {
    width: 80%;
    border: 0.3px solid #7e7e7e;
    margin-top: 40px;
}




/*----------- PLUS -----------*/

.plus {
    width: 100%;
    min-height: 120px;

    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 0px 20px;
    padding-top: 60px;
    margin-bottom: 60px;
    margin-top: 20px;
}

.plus-item2 {
    width: 280px;
    min-height: 120px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.plus-item2 img {
    margin-bottom: 20px;
}

.plus-cont {
    width: 100%;
    min-height: 100px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.hr-item {
    width: 50px;
    border: 1px solid #e7c373;
    color: aqua;
    margin-top: 10px;
}

.plus-cont hr {
    width: 30px;
    border: 1px solid #e7c373;
    color: aqua;
    margin: 0;
}

.plus-cont h2 {
    color: #070707;
    font-size: 16px;
    margin-bottom: 10px;
}

.plus-cont p {
    font-family: "Roboto";
    color: #888888;
    font-size: 14px;
    text-align: center;
    margin-top: 6px;
}





/*----------- Gallery -----------*/

.popup-gallery {
    width: 100%;
    min-height: 100px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0px;

    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.gallery-item {
    width: 20%;
    min-height: 220px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    opacity: 0.7;
}

.g-1 {
    background: url(../img/s1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-2 {
    background: url(../img/s2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-3 {
    background: url(../img/s3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-4 {
    background: url(../img/s4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-5 {
    background: url(../img/s5.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-6 {
    background: url(../img/s6.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-7 {
    background: url(../img/s7.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-8 {
    background: url(../img/s8.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-9 {
    background: url(../img/s9.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-10 {
    background: url(../img/s10.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-11 {
    background: url(../img/s11.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-12 {
    background: url(../img/s12.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-13 {
    background: url(../img/s13.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-14 {
    background: url(../img/s14.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-15 {
    background: url(../img/s15.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-16 {
    background: url(../img/s16.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-17 {
    background: url(../img/s17.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-18 {
    background: url(../img/s18.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-19 {
    background: url(../img/s19.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-20 {
    background: url(../img/s20.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}



/*----------- Контакты -----------*/

.roll {
    width: 100%;
    min-height: 80px;

    background-color: #3c3c3c;

    margin-top: 10px;

    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.ritem {
    width: 260px;
    height: 70px;
    color: #f5ddd3;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ritem p {
    width: 70%;
    font-size: 14px;
    color: #f5ddd3;
    line-height: 1.5;

}

.ritem a {
    color: #f5ddd3;
}

.ritem a:hover {
    color: #fff;
}


.krug {
    width: 50px;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid #f5ddd3;
    border-radius: 50%;
}

.krug i {
    font-size: 24px;
    color: #f5ddd3;
}

.rolll {
    width: 100%;
    height: 10px;
    background-color: #3c3c3c;
}




.contact {
    width: 100%;
    min-height: 200px;

    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.con-2 {
    width: 380px;
    min-height: 400px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.con-2 p {
    font-size: 28px;
    color: #000;
    margin-bottom: 40px;
    margin-top: 5px;
}

.soc-seti {
    margin-top: 10px;
    font-size: 32px;
    display: flex;
    justify-content: space-around;
}


/*----------- Подвал-----------*/

.foot {
    width: 100%;
    height: 40px;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
    font-size: 18px;
    color: #fff;
    background-color: #3c3c3c;

    margin-top: 20px;
    font-family: "Caveat";
}

.foot a {
    color: #fff;
}

.foot a:hover {
    color: #cecece;
}

/*----------- Окно-----------*/

* {
    box-sizing: border-box;
}

label {
    margin: 0px;
}

label[for] {
    cursor: pointer;
}

input[type="checkbox"] {
    display: none;
}

.lightbox,
.albom {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.lightbox {
    z-index: 1;
    min-height: 100%;
    overflow: auto;

    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);

    -webkit-transition: -webkit-transform .5s ease-out;
    transition: transform .5s ease-out;
}

input[type="checkbox"]:checked + .lightbox {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.grid {
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked ~ .write-txt {
    opacity: 0.125;
}

input[type="checkbox"]:checked ~ .grid {
    opacity: 0.5;
}

.open-pic {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 70%;
    min-height: 200px;
    padding-bottom: 30px;
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    background-color: rgba(0, 0, 0, 0.91);
    border: 2px solid #000;
}

.exit {
    width: 100%;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    color: #fff;
    font-size: 20px;
    padding-top: 30px;
}

.exit i {
    color: #fff;
    font-size: 30px;
}


.exit:hover {
    color: #c24ef9;
}


/*----------- Serv-----------*/

.s-head {
    width: 100%;
    height: 40px;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    padding-left: 40px;

    color: #fff;
    background-color: #3c3c3c;
}

.s-head a {
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;

}

.s-head a:hover {
    color: #9c9d9f;
}

.s-ban {
    width: 100%;
    min-height: 300px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.s-ban1 {
    background: url(../img/b1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban2 {
    background: url(../img/b2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban3 {
    background: url(../img/b3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban4 {
    background: url(../img/b4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban5 {
    background: url(../img/b5.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban6 {
    background: url(../img/b6.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban7 {
    background: url(../img/b7.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban8 {
    background: url(../img/b8.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban9 {
    background: url(../img/b9.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-ban10 {
    background: url(../img/b10.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s-bord {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.73);
}

.s-bord h1 {
    color: #fff;
    font-size: 80px;
}

.s-t {
    width: 40%;
    min-height: 400px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 10px auto;
    background-color: #fffefe;
    box-shadow: 0 0 5px;

    padding-bottom: 20px;
}

.s-t h3 {
    margin: 40px;
}


.ysl-table {
    width: 80%;
    color: #1a2432;


    border-collapse: collapse;
    border-top: 0px solid #e4c964;

    margin-bottom: -40px;
}


td {
    padding: 14px 0px 14px 40px;

    border-bottom: 1px solid #e4c964;
    border-top: 1px solid #e4c964;
}

.name-ysl {
    width: 20%;
}

.s-work {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 70px 0px 20px 0px;
}

.s-grid {

    width: 100%;
    min-height: 200px;

    background-color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;

    align-items: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;

    z-index: 0;
    height: 90%;
    padding: 8px;
    overflow: auto;
    text-align: center;
    -webkit-transition: opacity .75s;
    transition: opacity .75s;

    justify-content: center;
    align-items: center;
}

.s-grid .s-grid-item {
    display: inline-block;
    height: 300px;
    width: 260px;
    margin: 10px;
    opacity: 1;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;

    border: 1px solid #e5007d;
    transition: all 0.3s ease;
}

.s-grid .s-grid-item:hover {
    opacity: 0.7;
}

@media screen and (max-width: 1024px) {
    .s-grid .s-grid-item {
        width: 20%;
    }
}

@media screen and (max-width: 860px) {
    .s-t iframe {
        width: 90%;
    }

    .bubble {
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .s-grid .s-grid-item {
        width: 100%;
    }
}

.s1-1 {
    background: url(../img/s1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-2 {
    background: url(../img/s2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-3 {
    background: url(../img/s3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-4 {
    background: url(../img/s4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-5 {
    background: url(../img/s5.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-6 {
    background: url(../img/s6.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-7 {
    background: url(../img/s7.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-8 {
    background: url(../img/s8.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-9 {
    background: url(../img/s9.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-10 {
    background: url(../img/s10.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.s1-11 {
    background: url(../img/s11.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}


.s1-12 {
    background: url(../img/s12.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.photo {
    width: 100%;
    min-height: 300px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding-top: 20px;
}

.photo-mobil {
    width: 100%;
    min-height: 300px;

    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding-top: 20px;
}






/*-----------------------------------*/

.submenu-link {
    display: none;
}

.submenu {
    width: 100%;
    min-height: 100px;

    display: none;

    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;

    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;

    list-style: none;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.submenu a {
    width: 100%;
    min-height: 30px;
    padding: 10px 0px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;

    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #c7c7c7;
    text-transform: uppercase;
    color: #575757;
}

.submenu a:hover {
    background-color: #d4d4d4;
}

.submenu a:focus {
    background-color: #d4d4d4;
}

.submenu-link i {
    font-size: 28px;
    color: #717171;
    margin-bottom: 10px;
}



/*------------ Soc ------------*/

.soc {
    width: 100%;
    min-height: 200px;
    padding: 10px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;

    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 80px;
    margin-bottom: 30px;
    background: url(../img/soc.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.soc-name h3 {
    font-size: 22px;
    color: #fff;
}

.soc-content {
    width: 100%;
    min-height: 10px;

    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;

    justify-content: space-around;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.soc-content a {
    font-size: 26px;
    color: #e7c373;
    transition: all 0.3s ease;
}

.soc-content a:hover {
    color: #fff;
}




/*------------ Медиа ------------*/

@media screen and (max-width: 910px) {
    .back {
        display: none;
    }

    .submenu-link {
        display: block;
    }

    nav {
        display: none;
        padding-top: 10px;
    }

    header {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }
}

/*-----------------------------------*/

@media screen and (max-width: 520px) {

    .special {
        padding: 0;
    }

    .special-item {
        width: 90%;
        margin-bottom: 10px;
    }

    .special-border {
        width: 94%;
    }

    .special-border h4 {
        font-size: 14px;
    }

    .comments-item {
        width: 90%;
    }

    .comments-pfoto {
        width: 100%;
        min-height: 140px;
    }

    .gallery-item {
        width: 25%;
        min-height: 100px;
    }

    .banner {
        padding: 20px;
    }

    .banner h2 {
        font-size: 18px;
    }
}

@media screen and (max-width: 400px) {
    header {
        padding: 0;
    }

    .gallery-item {
        width: 50%;
        min-height: 140px;
    }
}


@media screen and (max-width: 910px) {

    .viber {
        display: flex !important;
    }

    .back {
        display: none;
    }

    .submenu-link {
        display: block;
    }

    nav {
        display: none;
        padding-top: 10px;
    }
}

@media screen and (max-width: 560px) {

    .home h2 {
        font-size: 20px;
    }

    .home {
        min-height: 140px;
    }

    .s-t {
        width: 100%;
    }
}

@media screen and (max-width: 400px) {

    .home h2 {
        font-size: 20px;
    }

    .home {
        min-height: 140px;
    }

    .s-bord h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 398px) {}
