@font-face {
    font-family: 'Matias';
    src: url('../fonts/Matias.eot');
    src: url('../fonts/Matias.woff2') format('woff2'),
        url('../fonts/Matias.woff') format('woff'),
        url('../fonts/Matias.ttf') format('truetype'),
        url('../fonts/Matias.svg#Matias') format('svg'),
        url('../fonts/Matias.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansRegular';
    src: url('../fonts/OpenSansRegular.eot');
    src: url('../fonts/OpenSansRegular.woff2') format('woff2'),
        url('../fonts/OpenSansRegular.woff') format('woff'),
        url('../fonts/OpenSansRegular.ttf') format('truetype'),
        url('../fonts/OpenSansRegular.svg#OpenSansRegular') format('svg'),
        url('../fonts/OpenSansRegular.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

/*reset.css*/
@charset "utf-8";
body, h1, h2, h3, h4, h5, h6 {
    font: 14px/18px Verdana, sans-serif;
}
code, kbd, pre, samp, tt, var {
    font: 14px/18px Consolas, "Courier New", monospace;
}
body, optgroup {
    color: #000;
    background: #fff;
}
body, code, dl, dd, form, pre {
    margin: 0;
}
a:link {
    color: #009;
}
a:link, a:visited, ins {
    text-decoration: none;
}
a:visited {
    color: #505;
}
a:hover {
    text-decoration: none;
}
a:link img, a:visited img, object, fieldset, abbr, acronym {
    border: none;
}
sub, sup {
    position: relative;
    display: inline-block;
    font-size: 11px;
    line-height: 11px;
}
sub {
    top: 5px;
    vertical-align: middle;
}
sup {
    top: -2px;
    margin-top: -11px;
}
abbr, acronym {
    cursor: help;
    border-bottom: 1px dotted #999;
}
address, cite, dfn {
    font-style: normal;
}
code, pre {
    white-space: pre-wrap;
}
img {
    vertical-align: bottom;
}
td, th, textarea {
    vertical-align: top;
}
input, select, button {
    vertical-align: middle;
}
legend {
    color: #000;
    margin: 0 0 -2px;
    padding: 0;
}
li {
    display: block;
    list-style: none;
}
optgroup option {
    padding-left: 22px;
}
table {
    border-collapse: collapse;
}
caption, th {
    text-align: left;
}
td, th {
    padding: 0;
}
address, blockquote, h1, h2, h3, h4, h5, h6, fieldset, p, ol, ul {
    margin: 0;
    padding: 0;
}
th, h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}
q {
    quotes: "\00ab" "\00bb" "\201e" "\201c";
}
q:after {
    content: "\00bb";
}
q:before {
    content: "\00ab";
}
q > q:after {
    content: "\201c";
}
q > q:before {
    content: "\201e";
}

/*главная*/
body {
    background:#fff;
    font-family: Matias;
}
header, nav, section, article, aside, footer {display: block;}
img {
    vertical-align:middle;
}
::-webkit-input-placeholder {color:#fff;}
::-moz-placeholder          {color:#fff;}/* Firefox 19+ */
:-moz-placeholder           {color:#fff;}/* Firefox 18- */
:-ms-input-placeholder      {color:#fff;}
.content {
    width:100%;
    margin:0;
    padding:0;
    max-width:100%;
    min-width:320px;
    height:100vh;
    background-image: url(../images/panorama.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.restaurant_area {
    width: 33.33333333%;
    text-align: center;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
    line-height: 24px;
    position: relative;
    transition: all 0.4s;
}
.restaurant_area.hidden {
    width: 0;
    overflow: hidden;
    transition: all 0.4s;
    height: 0;
}
.restaurant_area.map {
    width: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.4s;
}
.restaurant_area.map:before, .restaurant_area.map:after {
    display: none;
}
.restaurant_area.map.open {
    width: 66.6666%;
    transition: all 0.4s;
    height: 100vh;
}
.restaurant_area p {
    color: #fff;
    margin-top: 30px;
}
.restaurant_area p.restaurant_area-contacts {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.4s;
}
.restaurant_area-logo {
    width: 100%;
    height: 10%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.restaurant_area:before {
    content: '';
    position: absolute;
    height: 35%;
    width: 1px;
    left: 50%;
    top: 0;
    transition: all 0.4s;
}
.restaurant_area:after {
    content: '';
    position: absolute;
    height: 35%;
    width: 1px;
    left: 50%;
    bottom: 0;
    transition: all 0.4s;
}
.close {
    opacity: 0;
    position: relative;
    transition: all 0.4s;
    overflow: hidden;
    height: 0;
    width: 0;
    z-index: 555;
    cursor: pointer;
    margin-bottom: 30px;
}
.close:before, .close:after {
    position: absolute;
    left: 50%;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}
.active .close {
    height: 35px;
    opacity: 0.7;
    transition: all 0.4s;
    width: 100%;
}
.active .close:hover {
    opacity: 1;
    transition: all 0.4s;
}
.orange.restaurant_area {
    background-color: rgba(246, 157, 15, 0);
}
.green.restaurant_area {
    background-color: rgba(150, 187, 45, 0);;
}
.purple.restaurant_area {
    background-color: rgba(195, 71, 143, 0);
}
.orange.restaurant_area:before, .orange.restaurant_area:after {
    background: #F69D0F;
}
.green.restaurant_area:before, .green.restaurant_area:after {
    background: #96BB2D;
}
.purple.restaurant_area:before, .purple.restaurant_area:after {
    background: #C3478F;
}
.restaurant_area-logo {
    transition: all 0.4s;
}
.orange .restaurant_area-logo {
    background-image: url(../images/l-orange.svg);
}
.purple .restaurant_area-logo {
    background-image: url(../images/l-purple.svg);
}
.green .restaurant_area-logo {
    background-image: url(../images/l-green.svg);
}
.orange.restaurant_area:hover {
    background-color: rgba(246, 157, 15, 1);
    transition: all 0.4s;
}
.green.restaurant_area:hover {
    background-color: rgba(150, 187, 45, 1);
    transition: all 0.4s;
}
.purple.restaurant_area:hover,.purple.restaurant_area.active {
    background-color: rgba(195, 71, 143, 1);
    transition: all 0.4s;
}
.restaurant_area:hover .restaurant_area-logo, .restaurant_area.active .restaurant_area-logo {
    background-image: url(../images/l-white.svg);
    transition: all 0.4s;
}
.restaurant_area:hover:before, .restaurant_area:hover:after, .restaurant_area.active:before, .restaurant_area.active:after {
    height: 20%;
    transition: all 0.4s;
    background: #fff;
}
.restaurant_area:hover p.restaurant_area-contacts, .restaurant_area.active p.restaurant_area-contacts{
    height: 72px;
    opacity: 1;
    transition: all 0.4s;
}
@media only screen and (max-width: 991px) {   
    .content {
        display: block;
        height: auto;
    }
    .restaurant_area {
        width: 100%;
        height: 33.333%;
        flex-direction: row;
        padding-bottom: 30px;
    }
    .restaurant_area:before, .restaurant_area:after {
        display: none;
    }
    .restaurant_area-logo {
        height: auto;
        width: 40%;
    }
    .restaurant_area-holder {
        padding: 0 5%;
    }
    .restaurant_area p.restaurant_area-contacts {
        opacity: 1;
        height: auto;
    }
    .restaurant_area.map.open {
        width: 100%;
        padding-bottom: 0;
    }
    .orange.restaurant_area.hidden, .green.restaurant_area.hidden, .purple.restaurant_area.hidden {
        padding-bottom: 0;
        border: none;
    }
    .active .close {
        position: absolute;
        width: 40%;
        left: 15px;
        top: 30px;
    }
    .orange.restaurant_area {
        border-top: 3px solid rgba(246, 157, 15, 1);
    }
    .purple.restaurant_area {
        border-top: 3px solid rgba(195, 71, 143, 1);
    }
    .green.restaurant_area {
        border-top: 3px solid rgba(150, 187, 45, 1);
    }
}
