@import url('normalize.css');

/* ----------------------------------------------------------
    St. John & St. John CSS
    Version 1.0

    TABLE OF CONTENTS

    01 - BASE STYLES
    02 - BACKGROUND & TEXT COLORS
    03 - BUTTONS
    04 - LAYOUT
    05 - HEADER STYLES
    06 - NAVIGATION STYLES
    07 - ROTATOR STYLES
    08 - MAIN CONTENT AREA STYLES
    09 - SIDEBAR STYLES
    010 - FOOTER STYLES

    COLOR GUIDE (Main Site Colors and their Hex Codes)
    Main Blue: #3B7B97
    Main Dark Grey: #313131
    
    FONTS USED
    Main Copy:Source Sans Pro   
    Main Headers: Merriweather
    Secondary Headers:
    
---------------------------------------------------------- */


/* 01 = BASE STYLES
---------------------------------------------------------- */

body {
    background-color: #FFF;
    color: #4e4e4e;
    font-family: Arial, sans-serif;
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased !important;
    -moz-font-smoothing: antialiased !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
}

.gigantic {font-size: 30px;}

h1, 
.huge {font-size: 24px;}

h2, 
.large {font-size: 20px;}

h3, 
.big {font-size: 16px;}

h4, 
.normal {font-size: 12px;}

h5, 
.small {font-size: 10px;}

h6, 
.tiny {font-size: 8px;}

p {
    font-size: 13px;
    line-height: 20px;
}

a {
    color: #3B7B97;
    text-decoration: none;
}

a:hover, 
a:visited {color: #50A5CA;}

ul,
ol {
    font-size: 13px;
    line-height: 20px;
    padding-left: 15px;
    margin: auto 25px auto 0;
}

.right,
.align-right {float: right;}

.left,
.align-left {float: left;}

.print {display: none;}

.clear {clear: both;}


/* 02 = BACKGROUND & TEXT COLORS
---------------------------------------------------------- */

.t-blue {color: #3B7B97;}

.t-light-blue {color: #50A5CA;}


/* 03 = BUTTONS
---------------------------------------------------------- */

.titlebar-btn {
    background-color: #313131;
    background-image: url(../images/btn-arrow.png);
    background-position: 225px;
    background-repeat: no-repeat;
    border: none;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    margin-right: 0;
    margin-top: 15px;
    min-width: 250px;
    padding: 9px 9px 9px 20px;
    text-align: left;
}

.titlebar-btn:hover {background-color: #484848;}

.titlebar-btn a {color: #fff;}

.btn {
    background-color: #f6f6f4;
    border: 1px solid #d0d0ce;
    color: #666;
    padding: 10px;
}

.btn:hover {
    background-color: #3B7B97;
    color: #fff !important;
}

/* 04 = LAYOUT
---------------------------------------------------------- */

.global-width {
    margin: auto;
    width: 1030px;
    padding: 0 5px;
}

table {font-size: 12px;}

/* 05 = HEADER STYLES
---------------------------------------------------------- */

.header {height: 140px;}

.logo {margin-top: 40px;}

.accolades {margin-top: 30px;}

a.accolades.right img {
    max-height: 72px;
    width: auto;
}

/* 06 = NAVIGATION STYLES
---------------------------------------------------------- */

.nav-container {
    background-color: #313131;
    min-width:1040px;
    width: 100%;
}

ul.nav {
    padding-left: 0;
    margin: auto;
}

.top-menu-item {
    border-left: 1px solid #484848;
    display: inline-block;
    margin-left: -4px;
}

.top-menu-item.last {border-right: 1px solid #484848;}

.top-menu-item a {
    color: #fff;
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 11px 0;
    text-align: center;
    width: 171px;
}

.top-menu-item a:hover {background-color: #484848;}

.top-menu-item.active a {
    background-color: #484848;
    font-weight: 400;
}

ul.submenu {
    display: none;
    float: right;
    margin-left: -16px;
    position: absolute;
    z-index: 1000;
}


li.submenu-item {
    background-color: #484848;     
    float: none !important;
    margin-top: 0 !important;
    display: block;
}

li.submenu-item a {
    text-align: left;
    padding-left: 10px;
    width: 163px;
}

li.submenu-item a:hover {background-color: #313131;}


/* 07 = ROTATOR STYLES
---------------------------------------------------------- */

.slider.home {
    background-image: url(../images/hero-images/home.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 650px;
    min-width: 1040px;
    position: relative;
    width: 100%;    
}

.slider.subpage {
    background-image: url(../images/hero-images/subpage-one.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 500px;
    min-width: 1040px;
    position: relative;
    width: 100%;    
}

.slider.subpage.photo-one {
    background-image: url(../images/hero-images/subpage-one.jpg);
}
.slider.subpage.photo-two {
    background-image: url(../images/hero-images/subpage-two.jpg);
}
.slider.subpage.photo-three {
    background-image: url(../images/hero-images/subpage-three.jpg);
}
.slider.subpage.photo-four {
    background-image: url(../images/hero-images/subpage-four.jpg);
}
.slider.subpage.photo-five {
    background-image: url(../images/hero-images/subpage-five.jpg);
}
.slider.subpage.photo-six {
    background-image: url(../images/hero-images/homepage.jpg);
}

.titlebar {
    background-color: rgba(0, 0, 0,0.5);
    border-bottom: 1px solid #cdcdcd;
    bottom: 0;
    padding: 5px 0;
    position: absolute;
    width: 100%;
}

.titlebar.home {padding: 5px 0;}

.titlebar h1 {
    display: inline-block;
    color: #fff;
    font-weight: 400;
}


/* 08 = MAIN CONTENT AREA STYLES
---------------------------------------------------------- */

.main-content {
    border-left: 1px solid #cdcdcd;
    padding: 35px 0 35px 20px;
    width: 790px;
}

.main-content.home {
    border-left: none;
    padding: 30px 50px 50px 0;
    width: 640px;
}

.main-content.profile {
    min-height: 425px;
}

.main-content.error {
    border-left: none;
    width: 100%;
}

.main-content.contact {width: 735px;}

.main-content img.left {margin: 5px 15px 0 0;}

.main-content img.right {margin: 5px 0 0 15px;}

#call-us-btn, 
#schedule-consultation-btn {
    display: inline-block;
    letter-spacing: 1px;
    margin-right: 10px;
    margin-top: 15px;
    padding: 5px 30px 5px 5px;
}

#call-us-btn:visited, 
#schedule-consultation-btn:visited {color: #666;}

#call-us-btn span, 
#schedule-consultation-btn span {
    background-image: url(../images/home-btn-sprite.png);
    background-repeat: no-repeat;
    display: inline-block;
    height: 22px;
    margin-right: 10px;
    overflow: hidden;
    vertical-align: bottom;
    width: 32px;
}

#schedule-consultation-btn span {background-position-x: -32px;}

#call-us-btn:hover span, 
#schedule-consultation-btn:hover span {background-position-y: -22px;}

.magnets-container {border-top: 1px solid #cdcdcd;}

.magnet {
    float: left;
    height: 200px;
    margin: 35px 41px 35px 0;
    position: relative;
    width: 315px;
}

.magnet.last {
    float: right;
    margin-right: 0;
}

.magnet span {
    background-color: rgba(255,255,255,0.8);
    background-image: url(../images/magnet-arrow.png);
    background-position-x: right;
    background-repeat: no-repeat;
    bottom: 0px;
    color: #484848;
    font-size: 13px;
    font-weight: 700;
    left: 0px;
    letter-spacing: 0.5px;
    padding: 13px;
    position: absolute;
    width: 289px;
}

.magnet a:hover span {
    background-color: rgba(65,135,164,0.9);
    background-position-y: -44px;
    color: #fff;
}

.history-imgs img {
    height: auto;
    margin-right: 10px;
    width: 115px;
}

.history-imgs img:last-child {margin-right: 0;}

/* 09 = SIDEBAR STYLES
---------------------------------------------------------- */
.sidebar {
    font-size: 13px;
    padding: 35px 20px 35px 0;
    width: 175px;
}

.sidebar-home {
    border-left: 1px solid #cdcdcd;
    padding: 40px 0 90px 35px;
    width: 300px;
}

.sidebar-home h3 {
    font-weight: 700;
    margin-bottom: 0;
}

.sidebar-home h4 {
    color: #7c7c7a;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sidebar-heading {
    color: #7c7c7a;
    font-family: 'Source Sans Pro', sans-serif;
}

.sidebar-nav {    
    list-style-type: none;
    padding: 0;
    width: 190px;
}

.sidebar-nav li {border-bottom: 1px solid #cdcdcd;}

.sidebar-nav.past-attorneys li {padding: 8px;}

.sidebar-nav a {
    color: #797979;
    display: block;
    padding: 8px;
}

.sidebar-nav a:hover {
    background: #3B7B97;
    border-bottom-color: #fff;
    color: #fff;
}

.sidebar .active a {color: #3B7B97;}

.sidebar .active a:hover {color: #fff;}

.sidebar.contact .map {margin-top: 20px;}

.sidebar.contact {width: 250px;}

/* 10 = FOOTER STYLES
---------------------------------------------------------- */
.footer {
    background-color: #e6e6e6;
    border-top: 1px solid #cdcdcd;
    height: 175px;
    min-width: 1040px;
}

.footer-wrap {margin: 15px auto;}

.footer p {
    font-size: 12px;
    line-height: 16px;
}

p.disclaimer {
    color: #808080;
    font-style: italic;
    font-size: 11px;
    line-height: 14px;
    width: 265px;
}

.footer .right p {text-align: right;}

.footer a {color: #4e4e4e;}

.footer a:hover {color: #969696;}

/* 11 = FORM STYLES
---------------------------------------------------------- */
form {
    font-size: 13px;
    line-height: 20px;
}

form button {margin-top: 10px;}

form input[type="text"] {width: 250px;}

form textarea {resize: vertical;}

.hideoption {
    display: none;
    font-size: 0;
    height: 0;
    visibility: hidden;
}

.contact label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    margin-top: 10px;
    width: 100px;
}

label.long-label {
    margin-top: 15px;
    width: 250px;
}

.contact label.error {
    color: #50A5CA;
    display: inline;
    font-style: italic;
    font-weight: 400;
    margin-left: 10px;
}

.form-disclaimer {
    margin-top: 0;
}