@import "elements.less"; // Universal body { background: #ebebeb; padding-top: 900px; padding-bottom: 40px; } .row { max-width: 1214px; } h1,h2,h3,h4,h5, .headline-font { font-family: "bell-centennial-std-name-num"; } .clearfix { &:after { content: ""; clear: both; display: block; } } .inner-wrap:before { display: none; } .button { .rounded(3px); .headline-font(); padding: 0; background: #ca1500 !important; color: #fff !important; text-transform: uppercase; padding: 0 45px; line-height: 48px; &:hover { color: #ca1500 !important; background: #fff !important; } } p, li { font-family: "bell-centennial-std-address"; } img.right { margin: 0 0 20px 20px; } img.left { margin: 20px 20px 0 0; } // Header header { background: #fff; position: fixed; top: 0; left: 0; width: 100%; z-index: 10000; .mobile-menu-toggle { display: none; } .logo { float: left; position: relative; a { position: absolute; left: 0; top: 0; display: inline-block; width: 582px; height: 155px; background: url(../img/logo.png) no-repeat center center #fff; text-indent: -9999px; z-index: 1000; margin-left: -110px; } } nav { float: right; padding-top: 60px; ul { .clearfix(); margin: 0; } li { float: left; position: relative; list-style: none; a { .headline-font(); display: inline-block; line-height: 60px; padding: 0 20px; font-size: 14px; color: #231f20; } &.open > a, &.active > a { background: #ca1500; color: #fff; } &.open .sub-menu { // .translate(0, 0); .opacity(1); visibility: visible; } .sub-menu { .opacity(0); .drop-shadow(2px,2px,8px,.05); // .transition-duration(0.2s); // .translate(0, 20px); min-width: 210px; visibility: hidden; border-top: 4px solid #ca1500; background: rgba(255, 255, 255, 0.85); position: absolute; left: 0; top: 60px; z-index: 10000; padding: 17px 20px; li { float: none; &.active a { color: #ca1500; } } a { white-space: nowrap; text-transform: uppercase; line-height: 1.2em; font-family: "bell-centennial-std-bold-lis"; font-size: 12px; padding: 0; background: none; &:hover { color: #ca1500; } .sub { font-family: "bell-centennial-std-address"; text-transform: none; font-size: 16px; line-height: 18px; white-space: normal; display: block; padding: 6px 0 15px 5px; } } } } } .top-cta { .headline-font(); position: absolute; right: 0; top: 0; background: #231f20; color: #fff; font-size: 15px; line-height: 42px; padding: 0 25px 0 35px; .dark { color: #999999; } &:before { content: ""; display: block; width: 0; height: 0; border-bottom: 42px solid transparent; border-right: 42px solid #231f20; position: absolute; left: -42px; top: 0; } } } .no-touch header nav > ul > li { &:hover > a { background: #ca1500; color: #fff; } &:hover .sub-menu { .opacity(1); visibility: visible; } } // Homepage .slider-wrap, .subpage-banner { position: fixed; left: 0; top: 120px; width: 100%; height: 100%; background: #231f20; min-height: 300px; img { width: 100%; } .tp-caption.custom_caption { position: absolute; left: 0; padding: 40px; background: #231f20; h2 { color: #fff; font-size: 54px; line-height: 1em; margin: 0; } p { font-size: 24px; color: #fff; margin: 7px 0 30px; } } .next, .prev { .opacity(.5) !important; background: url(../img/arrows.png) no-repeat; width: 12px; height: 24px; text-indent: -9999px; &:hover { .opacity(1) !important; } } .next { background-position: 0 -100px; } } .middle-boxes, #sidebar { .facebook a, .twitter a { .headline-font(); height: 188px; display: block; color: #fff; font-size: 26px; padding: 145px 20px 0; } .facebook { background: url(../img/facebook-box.jpg) no-repeat right bottom; } .twitter { background: url(../img/twitter-box.jpg) no-repeat right bottom; } } #sidebar .roll-over-box, .top-boxes .inner-wrap { height: 398px; background-color: #fff !important; &:hover .roll-over .details { max-height: 1000px; } .roll-over { position: absolute; left: 0; bottom: 0; width: 100%; background: rgba(0, 0, 0, .7); padding: 17px; .details { .transition-duration(0.7s); max-height: 0; overflow: hidden; } h3 { color: #fff; font-size: 26px; margin: 0; } p { color: #fff; font-size: 20px; line-height: 24px; margin-bottom: 30px; padding-top: 10px; } .button { font-size: 14px; line-height: 40px; padding: 0 20px; margin-bottom: 0; } } } .home-boxes { z-index: 1000; position: relative; .inner-wrap { border: 3px solid #fff; position: relative; margin-bottom: 10px; } .middle-boxes { .testimonials { background: url(../img/testimonials-box.jpg) no-repeat; .row { margin-left: 0 !important; } &, .testimonial-wrap { height: 398px; } .testimonial-title { height: 392px; } .testimonial-title { background: rgba(35, 31, 32, .9) } .testimonial-wrap { overflow: hidden; position: relative; .bx-stop { background: url(../img/testimonial-controls.png) 0 -47px; &.active { background-position: 0 -33px; } } .bx-start { background: url(../img/testimonial-controls.png) 0 -15px; &.active { background-position: 0 0; } } .mCSB_scrollTools .mCSB_draggerRail { background: none; } } .columns { padding: 40px 44px; } h3 { color: #fff; font-size: 48px; line-height: 52px; margin-bottom: 160px; } .button { margin-bottom: 0; width: 100%; } p, li, blockquote { color: #fff; font-size: 22px; line-height: 30px; } blockquote { padding: 0; margin: 0; border: none; } } } .bottom-boxes { .blog-post, .map-wrap { height: 400px; } #map-canvas { height: 396px; } .map-wrap { background: url(../img/ajax-loader.gif) no-repeat center center #fff; } } } .blog-posts .inner-wrap { margin: 0; } .blog-posts, .advanced_recent_posts_widget { border: none !important; .columns { float: left !important; } .blog-post { background: #fff; border: none; } .post-content { padding: 15px 20px; } h5 a { .transition-duration(0.3s); color: #231f20; font-size: 20px; line-height: 22px; &:hover { color: #ca1500; } } .date { color: #ca1500; font-size: 14px; margin-bottom: 15px; } .exceprt { font-size: 16px; line-height: 18px; margin: 0; } .more-link { color: #fff; position: absolute; bottom: 0; right: 0; width: 40px; height: 40px; span { position: absolute; z-index: 1000; bottom: 6px; right: 6px; line-height: 1em; } &:hover:before { border-right-color: #231f20; } &:before { .transition-duration(0.3s); content: ""; display: block; height: 0; width: 0; border-top: 40px solid transparent; border-right: 40px solid #ca1500; position: absolute; bottom: 0; right: 0; } } } // Subpage body:not(.home) .main-contain { #content.custom-posts .pagination, #content article { .clearfix(); background: rgba(255, 255, 255, 0.9); border: 3px solid #fff; padding: 40px; p, li { font-size: 22px; line-height: 30px; color: #231f20; } h3 { margin: 0 0 20px; font-size: 48px; } ul.three-column-list li { float: left; width: 33.333%; } ul.two-columns-list li { float: left; width: 50%; } } #content.custom-posts article { margin-bottom: 10px; h3 a { color: #000; &:hover { color: #ca1500; } } } #content.custom-posts .pagination { .clearfix(); p { margin: 0; } a { color: #000; white-space: nowrap; } } #sidebar { .panel { margin-bottom: 10px; padding: 0; border: 3px solid #fff; background: #fff; } .widget_categories, .widget_wp-customtype-archive { padding: 25px; a { color: #000; &:hover { color: #ca1500; } } } .advanced_recent_posts_widget { border: none; background: none; h4 { display: none; } li { margin: 0; padding: 0 0.3125em; border: none; } .inner-wrap { background: #fff; height: 400px; } img { margin: 0; float: none; } } } } // Staff memebrs article.person-detail { position: relative; h3 { margin: 0 !important; } .email-link { position: absolute; top: 40px; right: 40px; display: block; width: 50px; line-height: 50px; text-align: center; color: #fff; background: #ca1500; font-size: 20px; &:hover { background: #333; } } } .staff-list { .person { margin: 0 0 30px; float: left !important; h4 { margin: 0; line-height: 1.2em; a { color: #231f20; &:hover { color: #ca1500; } } } p { margin: 0; } .image-wrap { position: relative; margin-bottom: 7px; img { display: block; } .links-wrap { position: absolute; bottom: 10px; right: 10px; text-align: right; } a { background: #ca1500; display: inline-block; padding: 0 3px; line-height: 25px; color: #fff; font-size: 16px; margin-left: 2px; padding: 0 6px; &:hover { background: #333; } } } } } // Footer body:not(.home) .footer-boxes { margin-top: 10px; } .footer-boxes .contact_details { background: #373334; padding: 20px 25px; border: none; h4, p { color: #fff; margin-bottom: 10px; } p { font-size: 17px; .dark { color: #999; } } } // Responsive @media (max-width: 1214px) { body.home .slider-wrap .tp-caption.custom_caption { left: 20px; p { font-size: 18px; } } header { nav { padding-top: 75px; li:last-child .sub-menu { left: auto; right: 0; } } .logo { margin: 20px 0 0 20px; a { .bg-size(contain); background-color: transparent; margin: 0; width: 203px; height: 42px; } } } } @media (max-width: 1023px) { .home-boxes .middle-boxes { .testimonials { padding: 40px; .testimonial-wrap, .testimonial-title { height: auto; background: none; } .large-6 { padding: 0; } h3 { margin: 0 0 10px; } } } body.home { padding-top: 165px !important; .slider-wrap .tp-caption.custom_caption { display: none; } } } @media (max-width: 767px) { body, body.home { padding-top: 0 !important; } img.right, img.left { float: none !important; margin: 0 !important; } header { position: static; .top-cta { width: 100%; font-size: 13px; position: static; padding: 0 5px; text-align: center; .mobile-menu-toggle { color: #fff; float: right; display: block; font-size: 22px; width: 40px; line-height: 40px; text-align: center; } &:before { display: none; } } .logo { float: none; text-align: center; margin: 20px 0 0; a { position: static; display: inline-block; } } nav { float: none; padding-top: 0; display: none; .sub-menu { width: 100%; } li { float: none; display: block; width: 100%; text-align: center; } } } body.home { .slider-wrap { display: none; } .testimonials { .bg-size(cover); height: auto !important; padding: 20px !important; } .blog-posts { text-align: center; } } body:not(.home) .main-contain #content article { padding: 20px; h3 { font-size: 28px; } } .slider-wrap, .subpage-banner { position: relative; min-height: 0; top: 0; left: 0; .custom_caption { left: 20px !important; bottom: 20px; top: auto !important; h2 { margin: 0 !important; font-size: 40px !important; } p { display: none; } } } aside { .advanced_recent_posts_widget { text-align: center; } } .two-columns-list li { width: 100% !important; float: none !important; } }