/* Scss Document */ @import 'reset'; @import 'variables'; @import 'header'; @import 'footer'; @import 'location'; @import 'contact'; body { overflow-x: hidden; font-family: $sans; background-image: url("../graphics/bgbody.png"); background-position: 50% 50%; background-repeat: no-repeat; } .container { max-width: 1000px; margin: 0 auto; } #hero { img { max-width: 100%; height: auto; } } main { display: -webkit-box; display: -ms-flexbox; display: flex; padding: 10px; background: #fff; &#contact-main { -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; h1 { margin: 20px 20px 10px; } } #main-left { width: 75%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; &.self-main-left { h2.red { color: $red; font-size: 24px; margin: 10px 20px; &.big { font-size: 38px; } } h2.grey { font-size: 36px; color: $grey + 50; margin: 10px 20px; } p { line-height: 1.4; margin: 5px 20px; max-width: 90%; } } .inner-main-wrap { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding: 5px 0; article { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; h1 { font-size: 36px; margin-bottom: 5px; color: $grey + 50; &#first { color: $red; } } p { font-size: 17px; line-height: 1.4; } } img { max-width: 100%; margin: 0 10px; } #ul-wrap { margin: 10px 0; display: -webkit-box; display: -ms-flexbox; display: flex; ul.list { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; li { line-height: 1.4; i { font-size: 12px; color: $grey + 50; } } } } } } #sidebar { width: 25%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; img { margin: 10px 0; } .bizInfo { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; margin: 10px 0; h1 { font-size: 26px; text-align: right; margin: 4px 0; } p { margin: 2px 0; } a { color: $red; font-size: 13px; } } } } @media all and (max-width: 780px) { main { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; #main-left { width: 100%; .inner-main-wrap { img { display: none; } } } #sidebar { width: 100%; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; img { margin: 10px; } .bizInfo { margin: 10px; h1 { max-width: 12ch; } } } } }