* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html, body, main {
    height: 100%;
    width: 100%;
}
body {
    font-size: .9vw;
    background-color: #52544f;
    font-family: sans-serif;
}
main {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    grid-template-columns: 2fr 15fr;
    display: grid;
}



section {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 4fr 2fr;
}
#mail_info_container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 4fr;
}
.box_section {
    display: grid;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    grid-template-columns: auto auto;
}
.box {
    text-align: center;
    color: #52544e;
    height: 11vw;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: grid;
    grid-template-rows: 3fr 1fr 4fr;
    padding: 0 0.7vw;
    width: 12vw;
    background-color: #faf6ef;
}
.box i {
    color: #697871;
    text-align: center;
    font-size: 3vw
}
.box_header {
    font-size: 1.5vw;
}

.box_info {
    font-size: .8vw;
}
.send_button {
    background: #52544e none repeat scroll 0 0;
    color: #fff;
    font-weight: 600;
    padding: .7vw 0;
    border: none;
    font-size: 1vw;
}
.main_section {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 70%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    display: grid;
}
.main_section h1 {
    font-size: 2vw;
    color: #52544e;
}
.input, .msg .area {
    padding: 1vw;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
    -webkit-transform: all 0.5s ease;
    transform: all 0.5s ease;
    font-size: .8vw;
}
textarea {
    resize: none;
}
.input:focus,
.msg .area:focus {
    border: 2px solid #263238;
}

.subject .input {
    width: 100%;
}
.msg .area {
    width: 100%;
}



#map_container {
    height: 100%;
    width: 100%;
}
#map {
    position: absolute;
    overflow: hidden;
    height: 100%;
    width: 29%;
}
/*map*/















#wrap  p {
    text-shadow:0 1px 0 #fff;
    font-size:24px;
}
#wrap {   
    width: 530px;
    margin: 4vw auto 0;
}
#wrap h1 {
    margin-bottom:20px;
    text-align:center;
    font-size:48px;
    text-shadow:0 1px 0 #ede8d9;
}
#form_wrap {
    overflow:hidden;
    height:446px;
    position:relative;
    top:0px;
    -webkit-transition: all 1s ease-in-out .3s;
    transition: all 1s ease-in-out .3s;
}
#form_wrap:before {
    content:"";
    position:absolute;
    bottom:128px;left:0px;
    background:url("../images/before.png");
    width:530px;height: 316px;
}
#form_wrap:after {
    content:"";position:absolute;
    bottom:0px;left:0;
    background:url("../images/after.png");
    width:530px;height: 260px; 
}
#form_wrap.hide:after, #form_wrap.hide:before {display:none; }
#form_wrap:hover {height:776px;top:-200px;}
form {
    background:#f7f2ec url("../images/letter_bg.png"); 
    position:relative;top:200px;overflow:hidden;
    height:200px;width:400px;margin:0px auto;padding:20px; 
    border: 1px solid #fff;
    border-radius: 3px; 
    -moz-border-radius: 3px; -webkit-border-radius: 3px;
    box-shadow: 0px 0px 3px #9d9d9d, inset 0px 0px 27px #fff;
    -moz-box-shadow: 0px 0px 3px #9d9d9d, inset 0px 0px 14px #fff;
    -webkit-box-shadow: 0px 0px 3px #9d9d9d, inset 0px 0px 27px #fff;
    -webkit-transition: all 1s ease-in-out .3s;
    transition: all 1s ease-in-out .3s;}
#form_wrap:hover form {height:530px;}
label {
    margin: 11px 20px 0 0; 
    font-size: 16px; color: #b3aba1;
    text-transform: uppercase; 
    text-shadow: 0px 1px 0px #fff;
}
input[type=text], textarea {
    font: 14px normal normal uppercase helvetica, arial, serif;
    color: #7c7873;background:none;
    width: 380px; height: 36px; padding: 0px 10px; margin: 0 0 10px 0;
    border:1px solid #f8f5f1; border-radius: 5px;
    -webkit-box-shadow:  inset 0px 0px 1px #b3a895; 
    box-shadow:  inset 0px 0px 1px #b3a895;
}	
textarea { height: 80px; padding-top:14px;}

textarea:focus, input[type=text]:focus {background:rgba(255,255,255,.35);}

#form_wrap input[type=submit] {
    position:relative;font-family: 'YanoneKaffeesatzRegular'; 
    font-size:24px; color: #7c7873;text-shadow:0 1px 0 #fff;
    width:100%; text-align:center;opacity:0;
    background:none;
    cursor: pointer; border-radius: 3px; 
    -webkit-transition: opacity .6s ease-in-out 0s;
    transition: opacity .6s ease-in-out 0s;
}

#form_wrap:hover input[type=submit] {z-index:1;opacity:1;
    -webkit-transition: opacity .5s ease-in-out 1.3s;
    transition: opacity .5s ease-in-out 1.3s;}

#form_wrap:hover input:hover[type=submit] {color:#435c70;}

/*navigation bar*/
aside {
    background: #080808ab;
    width: 100%;
    height: 100%;
    overflow: none;
    z-index: 1;
    text-align: center;
    padding: 0;
}
nav {
    display: block;
}
aside nav img {
    width: 100%;
}
aside a {
    display: block;
    padding: 1.7vw 0 0 0;
    color: #fff;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
    text-transform: uppercase;
    font-size: 19px;
    letter-spacing: .1vw;
}
aside a i {
    margin-bottom: 0.2vw;
    font-size: 1.8vw !important;
}
.top_nav .icon {
    display: none;
}



@media (max-width: 1400px) {
    aside a {
        padding: 3vw 0 0 0;
        font-size: 17px;
    }
    .info_box {
        font-size: 19px;
        position: absolute;
        width: 40%;
        top: 28%;
        left: 50%;
    }
    aside a i {
        font-size: 2.5vw !important;
    }
}

@media (max-width: 1100px) {
    main {
        grid-template-columns: 3fr 15fr;
    }
    aside a {
        padding: 4vw 0 0 0;
        font-size: 19px;
    }
    .info_box {
        font-size: 21px;
        position: absolute;
        width: 55%;
        top: 28%;
        left: 40%;
        padding: 2vw 3vw;
    }
    .caption_h1 {
        font-size: 5vw;
        top: 18%;
        left: 42%;
        width: 50%;
    }
}

@media screen and (max-width: 800px) {
    main {
        grid-template-columns: 5fr 15fr;
    }
    aside a i {
        font-size: 5vw !important;
    }
    aside a {
        font-size: 20px;
    }
    section {
        grid-template-rows: 5fr 3fr;
        grid-template-columns: 0;
    }
    #map {
        height: 30%;
        width: 100%;
    }
    .box {
        height: 15vw;
        width: 25vw;
    }
    .box i {
        font-size: 6vw;
    }
    .box_header {
        font-size: 3vw;
    }
    .box_info {
        font-size: 2vw;
    }
    input[type=text], textarea {
        font: 20px normal normal uppercase helvetica, arial, serif;
    }
    .send_button {
        padding: 3vw 0;
        font-size: 3vw;
    }
}
@media screen and (max-width: 600px) {
    main {
        grid-template-columns: unset;
        height: auto;
    }
    aside {
        background: #080808d9;
    }
    aside a i {
        font-size: 8vw !important;
    }
    aside nav img {
        width: 100%;
        max-width: 120px;
        height: auto;
    }
    aside nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    #map {
        height: 40%;
    }
    .top_nav a:not(:first-child) {display: none;}
    .top_nav a.icon {

        float: right;
        display: block;
    }
    .top_nav.responsive {position: relative;}
    .top_nav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .top_nav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .box {
        height: 21vw;
        width: 30vw;
    }
    .box i {
        font-size: 7vw;
    }
    .box_header {
        font-size: 4vw;
    }
    .box_info {
        font-size: 3vw;
    }

}

@media screen and (max-width: 550px) {
    #wrap {
        width: 300px;
    }
    #form_wrap:after {
        background-size: contain;
        background-repeat: no-repeat;
        width: 300px;
        height: 147px;
    }
    #form_wrap:before {
        bottom: 72px;
        background: url(../images/before.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 300px;
        height: 178px;
    }
    #form_wrap {
        overflow: hidden;
        height: 300px;
    }
    form {
        width: 250px;
    }
    #wrap h1 {
        font-size: 35px;
    }
    input[type=text], textarea {
        width: 250px;
    }
    .send_button {
        padding: 5vw 0;
        font-size: 5vw;
    }
    #form_wrap:hover {
        height: 650px;
    }
}