/** * Vars */ @color-font: #333; /** * Utilities */ .gradient(@top, @bottom) { background: @top; /* Old browsers */ background: -moz-linear-gradient(top, @top 0%, @bottom 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,@top), color-stop(100%,@bottom)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, @top 0%,@bottom 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, @top 0%,@bottom 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, @top 0%,@bottom 100%); /* IE10+ */ background: linear-gradient(top, @top 0%,@bottom 100%); /* W3C */ filter: ~"progid:DXImageTransform.Microsoft.gradient(startColorStr="@top~", EndColorStr="@bottom~")"; } .rounded-corners (@radius: 5px) { border-radius: @radius; -webkit-border-radius: @radius; -moz-border-radius: @radius; } .box-shadow (@horizontal: 0px, @vertical: 0px, @blur: 14px, @spread: 3px, @color: #ccc) { -moz-box-shadow: @horizontal @vertical @blur @spread @color; -webkit-box-shadow: @horizontal @vertical @blur @spread @color; box-shadow: @horizontal @vertical @blur @spread @color; } .text-shadow(@h: 2px, @v: 2px, @blur: 2px, @color: #333) { text-shadow: @h @v @blur @color; } .clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .clearfix { display: inline-block; } html[xmlns] .clearfix { display: block; } * html .clearfix { height: 1%; } div.clear { clear: both !important; } .text-center { text-align: center; } /** * Grid */ .cell { padding: 15px; } .height-wrapper { } /** * Common page elements */ html, body { font-size: 16px; } .container { background-color: #f6ffec; .box-shadow(); } textarea { width: 100%; } /** * Header */ #header { #banner { height: 235px; background: transparent url('../images/banner.jpg') left top no-repeat; } .logo { position: absolute; width: 89px; height: 56px; top: 5px; left: 45px; } .heading { display: none; } .nav-selected { position: absolute; } .home_selected { width: 148px; height: 125px; top: 106px; left: 15px; } .about_selected { width: 142px; height: 121px; top: 110px; left: 169px; } .services_selected { width: 146px; height: 125px; top: 106px; left: 318px; } .practice_information_selected { width: 147px; height: 124px; top: 107px; left: 468px; } .patient_resources_selected { width: 143px; height: 120px; top: 111px; left: 621px; } .contact_selected { width: 167px; height: 140px; top: 91px; left: 763px; } } /** * Navigation */ .nav { margin: 0px; background: #5d8332; display: flex; justify-content: center; li { display: inline-block; a { color: #ffffff; padding: 15px 20px; font-size: 17px; } a:hover, &.active:not(.nav-home) { background-color: #ffa200; text-shadow: 0px 0px 2px #000; } } >.dropdown.active { >a:hover { color: #ffffff; } } } .sub-nav { background-color: #b0db7f; width: 100%; ul { list-style: none; margin: 0; li { float: left; a { display: block; color: #fff; font-size: 20px; line-height: 40px; padding: 0 1em; border-left: 1px solid #fff; .text-shadow(2px, 2px, 2px, #999); &:hover { text-decoration: none; } } &:first-child a { border-left: none; } &.selected a { .gradient(#dbefc5, #b0db7f); } } } } /** * Footer */ #footer { background: transparent url('../images/footer.png') left bottom no-repeat; height: 192px; text-align: center; font-size: 90%; margin-top: 20px; #footer-content { padding-top: 98px; } p { margin-bottom: 7px; } p, a { color: #fff !important; } .nav { font-size: 20px; span { margin: 0 0.25em; } } #rr_design { font-size: 90%; a { text-decoration: underline; } } } /** * Content */ .content { color: @color-font; margin: 25px 22px 0; min-height: 735px; padding-bottom: 2em; border: 3px solid #b0db7f; .rounded-corners(8px); a { color: #00f; } h1, h2, h3 { color: #5d8332; } h2 { font-size: 18px; } h4 { font-size: 16px; color: @color-font; line-height: 1.5em; } p { color: @color-font; line-height: 1.5em; } ul li, ol li { color: @color-font; line-height: 1.75em; } address { color: @color-font; line-height: 1.75em; } strong { color: @color-font; } } .content { position: relative; background-color: #fff; } .strong-list li { font-weight: bold; } hr { border-width: 0; &.skinny-break { border-top-width: 1px; border-color: #b0db7f; } &.fat-break { border-top-width: 3px; border-color: #b0db7f; } } .height-tight { line-height: 1.25em; } /** Google Map **/ #map_canvas { margin-bottom: 1em; width: 400px; height: 300px; border: 3px solid #b0db7f; } #map_container a { text-decoration: underline; } .box { border: 3px solid #b0db7f; .rounded-corners(8px); .gradient(#ffffff, #f0f9fe); } /** * Page-specific content */ .box { border-color: #ff9696; h2, h3 { color: #ffa200; .text-shadow(2px, 2px, 2px, #ddd); } a { color: #00f; } } #content-index, #content-index2 { min-height: 0; h2 { font-size: 24px; } .portal-button { margin: 0 auto 1em; } #office_news { float: left; width: 50%; margin-right: 2em; } #portal_box { float: right; margin-left: 2em; margin-bottom: 1em; } #about-box { background: transparent url('../images/doctors.png') 50% bottom no-repeat; } #social_box { float: right; clear: right; margin-left: 2em; margin-bottom: 1em; padding-top: 0.5em; h3 { color: #333; line-height: 2em; } } } #content-about { .content { min-height: 0; } .height-tight { padding-bottom: 0.5em; } img { margin-right: 1em; margin-bottom: 0.5em; } .profile { clear: left; padding-bottom: 1em; .clearfix(); width: 100%; } } #content-practice-information { .box { margin-bottom: 1.5em; margin-left: 0.5em; } .well { background-color: #fff8d4; font-size: 20px; p { line-height: 45px; margin: 0; } } .our-staff-heading { text-align: center; width: 387px; } } a.logout { position: absolute; top: 30px; right: 30px; display: block; } .portal-button { border: 2px solid #fec50d; display: block; height: 50px; line-height: 50px; text-align: center; width: 250px; color: #fff; font-size: 30px; .gradient(#fff6d4, #ffd53f); .text-shadow(2px, 2px, 2px, #ccc); &:hover { .gradient(#ffd53f, #fff6d4); color: #fff; text-decoration: none; } } .content a.portal-button { color: #fff; } .apt-btn { border: 2px solid #ff9696; height: 25px; width: 250px; text-align: center; font-size: 17px; } .sidenav { ul { list-style: none; margin: 0; li { a { color: #00f; display: block; } padding-left: 1em; margin-right: 1.5em; } li.active { background-color: #f6ffec; border: 2px solid #b0db7f; border-left: 0; } } } #education_sections > section { display: none; padding: 0 1.5em; ul li { list-style-position: inside; } } #education_sections > section#animal_and_human_bites_section { display: block; }