/* Scss Document */ @import 'variables'; @import 'reset'; @import 'modal'; @import 'slideAni'; @import 'sitemap'; /*@import 'test';*/ *,*:before,*:after { -webkit-box-sizing: border-box; box-sizing: border-box; } body { font-family: $font1; background-color: #F5F5F5; } a { text-decoration: none; color: inherit; } #menuBtn { display: none; } .container { max-width: 95vw; margin: 0 auto; } #topheader { background: $grey; position: fixed; width: 100%; z-index: 50000000; &:before { content: ""; position: fixed; top: -10px; left: 0; width: 100%; height: 10px; -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8); box-shadow: 0px 0px 10px rgba(0,0,0,.8); z-index: 100; } } ul#topinfo { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; width: 100%; padding: 10px 5px; li { list-style: none; color: #fff; font-weight: 700; font-size: 18px; margin: 0 10px; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; &:hover { color: $red + 50; } &:nth-of-type(1) { &:hover { color: #fff; } } } } header { width: 100%; position: fixed; z-index: 40000000; background: #f5f5f5; } #inner-header { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding:5px; #left-header { #logo { position: absolute; top: 0; left: 0; z-index: 1000; background: #f5f5f5; border-bottom-right-radius: 7px; -webkit-box-shadow: 0px 0px 5px $grey; box-shadow: 0px 0px 5px $grey; width: 175px; img { max-width: 100%; padding: 5px; } } } ul#nav { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; width: 75%; li { text-transform: uppercase; padding: 15px; ul#dropNav { display: none; position: absolute; top: 100%; left: 0; background: $grey; width: 250px; } &#dropdown { position: relative; &:hover { cursor: pointer; & > ul#dropNav { position: absolute; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; li { padding: 10px; color: #fff; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; &:hover { background: $red; color: #fff; } } } } } &.btm-mobile { display: none; } &:hover { background: $grey; color: #fff; } } } } li.mobile-nav { display: none; } #hero { height: 500px; width: 100%; /*background: url("../graphics/garage.jpg");*/ -webkit-animation: mainHeroSlide 20s linear infinite; animation: mainHeroSlide 20s linear infinite; background-size: cover; position: relative; background-attachment: fixed; background-color: rgba(0,0,0,.5); background-blend-mode: multiply; &.ss-hero { -webkit-animation: heroSelfSlider 10s linear infinite; animation: heroSelfSlider 10s linear infinite; background-size: cover; background-repeat: no-repeat; background-color: rgba(0,0,0,.7); background-blend-mode: multiply; background-attachment: fixed; } &.about-hero { -webkit-animation: none; animation: none; background: url("../graphics/signb.jpg"); background-size: cover; background-repeat: no-repeat; background-color: rgba(0,0,0,.5); background-blend-mode: multiply; background-attachment: fixed; } &.scraphero { -webkit-animation: none; animation: none; background: url("../graphics/slide/scrap.jpg"); background-size: cover; background-repeat: no-repeat; background-color: rgba(0,0,0,.5); background-blend-mode: multiply; background-attachment: fixed; } &.warhero { -webkit-animation: none; animation: none; background: url("../graphics/slide/warranty.jpg"); background-size: cover; background-repeat: no-repeat; background-color: rgba(0,0,0,.5); background-blend-mode: multiply; background-attachment: fixed; } &.containerHero { -webkit-animation: none; animation: none; background: url("../graphics/slide/container.jpg"); background-size: cover; background-repeat: no-repeat; background-color: rgba(0,0,0,.65); background-blend-mode: multiply; background-attachment: fixed; height: 90vh; #topcall { height: 90vh; padding: 0 1rem; #contBtn { padding: 10px 40px; background: #fff; &:hover { -webkit-transform: translateY(-3px); -ms-transform: translateY(-3px); transform: translateY(-3px); -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,.6); box-shadow: 0px 3px 3px rgba(0,0,0,.6); -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; cursor: pointer; } &:active { -webkit-transform: none; -ms-transform: none; transform: none; -webkit-box-shadow: none; box-shadow: none; } } } } &.sellhero { -webkit-animation: none; animation: none; background: url("../graphics/slide/sell.jpg"); background-size: cover; background-repeat: no-repeat; background-color: rgba(0,0,0,.5); background-blend-mode: multiply; background-attachment: fixed; } #topcall { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; height: 400px; h1 { text-transform: uppercase; text-align: center; padding: 5px; letter-spacing: 4px; font-size: 32px; color: #fff; } p { color: #fff; margin: 15px 0; text-align: center; line-height: 1.3; max-width: 50ch; } } #searchBtn { position: absolute; bottom: 5%; right: 10%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; p { padding: 15px 30px; background: #fff; color: $grey - 20; text-align: center; text-transform: uppercase; font-weight: 700; font-size: 21px; -webkit-transition: .2s all ease-in-out; -o-transition: .2s all ease-in-out; transition: .2s all ease-in-out; &:after { content: "\f061"; font-family: "FontAwesome"; font-size: 21px; padding-left: 10px; } &:hover { background: $red; color: #fff; } } } } ul#btmNav { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; width: 100%; margin: 10px 0; -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,.25); box-shadow: 0px 1px 2px rgba(0,0,0,.25); margin-top: 0; li { text-transform: uppercase; padding: 15px; margin: 5px 0; &:hover { background: $grey; color: #fff; } } } .info-wrap { #midcall { 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: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; text-align: center; margin-top: 1rem; &.midcall-secondary { text-align: justify; p { max-width: 88ch; &#warcall { max-width: 70ch; text-align: center; } } } h1 { font-size: 2rem; letter-spacing: 3px; font-weight: 700; margin: 1rem; text-transform: uppercase; } p { max-width: 74ch; line-height: 1.7; padding-bottom: 15px; &#un-st { font-size: 21px; text-align: center; font-weight: 700; line-height: 1.2; margin: 10px 0 -10px 0; max-width: 62ch; } } .bg { background-image: url("../graphics/unnac.jpg"); min-height: 450px; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; background-position: center; width: 100%; margin: 2rem 0; } } img { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; margin: 0 auto; margin-top: -3rem; } } /*self-serv items*/ h2.hours { margin: 10px 0; font-weight: 700; text-align: center; line-height: 1.4; } h3.phone { font-size: 19px; font-weight: 700; margin: 15px 0; text-align: center; span { font-size: 23px; } } iframe#self-serv-map { width: 70vw; max-width: 800px; height: 300px; margin: 15px auto; } /**********************************************FOOTER ELEMENTS*********************************************/ .footer { padding: 2rem; font-size: 1rem; border-top: 30px solid $grey; margin-top: -3rem; &.footer-secondary { margin-top: 0; } } #footwrap { margin: 0 auto; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; -webkit-box-align: center; -ms-flex-align: center; -ms-grid-row-align: center; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; -ms-flex-pack: distribute; justify-content: space-around; text-align: center; line-height: 1.3; } .leftfoot { 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: center; -ms-flex-pack: center; justify-content: center; text-align: center; } .leftfoot li, .midfoot li, .rightfoot li { padding: .25rem; } #address li, #ph-num li{ padding: 0; } .midfoot { 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: center; -ms-flex-pack: center; justify-content: center; text-align: center; #assoc { display: -webkit-box; display: -ms-flexbox; display: flex; img { margin: 5px; } } } .rightfoot { width: 145px; } #bot-soc { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin: 0 10px; } #hours li{ padding: .75rem; } .day { float: left; } .time { float: right; } #copy { text-align: center; padding: 5px; position: relative; a#site-map { font-size: 13px; } } /*map page*/ #mapframe { iframe { width: 100%; height: 500px; } } /*warranty page*/ #war-list-wrap { max-width: 1000px; margin: 0 auto; padding: 10px; } ul.warranty-list { margin: 1rem; li { list-style: disc outside; line-height: 1.3; font-size: 16px; font-weight: 700; margin: 10px 0; max-width: 85ch; } } h2#warh2 { font-size: 1.5rem; text-align: center; font-weight: 700; margin: 10px 0; } /*thank you page*/ #thankyou { padding: 6rem 1rem 3rem; display: flex; flex-direction: column; justify-content: center; align-items: center; background-color: $grey + 90; h1 { text-align: center; font-size: 21px; max-width: 65ch; line-height: 1.2; margin: 1rem; span { color: $red; font-style: italic; } } #homeBtn { background: $red; color: #fff; padding: 10px 20px; text-align: center; margin: 1rem; &:hover { background: $grey; } } } /*end thank you page*/ /*container pics*/ #container-pics { display: flex; #left, #right { flex: 1; height: 425px; background-size: cover; background-position: center; background-repeat: no-repeat; margin: 10px; } #left { background-image: url("../graphics/container1.jpg"); } #right { background-image: url("../graphics/container2.jpg"); } } /*scrap metal unacceptable list*/ ul#unacceptable { margin: 20px 0; li { font-size: 17px; line-height: 1.7; max-width: 55ch; margin-left: 15px; list-style: disc outside; color: $red - 50; font-weight: 700; } } @media all and (max-width: 1000px) { #inner-header { ul#nav { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; -webkit-box-pack: end; justify-content: flex-end; li { text-transform: uppercase; padding: 10px; font-size: 15px; &:hover { background: $grey; color: #fff; } } } } } @media all and (max-width: 885px) { #inner-header { #left-header { #logo { max-width: 200px; position: absolute; top: 0; left: 0; z-index: 1000; background: #f5f5f5; img { width: 100%; } } } ul#nav { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; -webkit-box-pack: end; justify-content: flex-end; li { text-transform: uppercase; padding: 10px 5px; font-size: 15px; &:hover { background: $grey; color: #fff; } } } } ul#btmNav { li { padding: 15px 5px; } } #container-pics { display: flex; flex-direction: column; } } @media all and (max-width: 767px) { #hero { height: 700px; } #topcall { height: 700px; } ul#topinfo { -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } #inner-header { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding: 5px; #left-header { #logo { position: relative; z-index: 1000; background: none; border-bottom-right-radius: none; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-shadow: none; box-shadow: none; img { max-width: 100%; padding: 0 5px; } } } ul#nav { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; width: 100%; li { text-transform: uppercase; padding: 15px; &:hover { background: $grey; color: #fff; } } } } .info-wrap { img { max-width: 100%; margin-top: 0; margin-bottom: 1.5rem; } #midcall { h1 { font-size: 2rem; text-align: center; } } #parts-img { height: 200px; } } #footwrap { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; > ul { margin: 10px 0; } .midfoot { #assoc { flex-direction: column; } } } } @media all and (max-width: 690px) { #menuBtn { display: -ms-flexbox; display: -webkit-box; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-align: center; -webkit-box-align: center; align-items: center; padding: 15px; border-radius: 50%; z-index: 100; font-size: 24px; background: $red; margin-top: 5px; i { color: #fff; } } #inner-header { ul#nav { display: none; } #nav.active { display: -ms-flexbox; display: -webkit-box; display: flex; -ms-flex-direction: column; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -ms-flex-align: start; -webkit-box-align: start; align-items: flex-start; padding-bottom: 0; width: 100%; left: 0; top: 100%; margin-top: 10px; background: $red; opacity: 0; -webkit-animation: slowNav .35s linear; animation: slowNav .35s linear; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; a { width: 100%; li { display: -ms-flexbox; display: -webkit-box; display: flex; -ms-flex-direction: column; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -ms-flex-align: start; -webkit-box-align: start; align-items: flex-start; padding: 10px; width: 100%; color: #fff; &.btm-mobile { display: -webkit-box; display: -ms-flexbox; display: flex; } &:hover { color: $red; background: #F5F5F5; } } } } } li#dropdown { color: #fff; padding: 10px; width: 100%; display: none; } li.mobile-nav { display: -webkit-box; display: -ms-flexbox; display: flex; } ul#btmNav { display: none; } @-webkit-keyframes slowNav { 100% { opacity: 1; } } @keyframes slowNav { 100% { opacity: 1; } } }