/* GENERAL */
* {
    margin: 0;
    padding: 0;
    outline: 0;
}

html, body {
    height: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    color: #333;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 10pt;
}

body.birdiefire {
    background-color: black;
}

img {
    border: 0;
}

dt {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    font-size: inherit;
}

td {
    margin: 0;
    border: 0;
    padding: 0;
}

h1 {
    margin: 0;
}

div {
    box-sizing: border-box;
}

#body {
    clear: both;
    margin: 0 auto;
    max-width: 1000px;
    min-height: 900px;
    box-sizing: border-box;
}

/* PAGE LAYOUT */

#body_table {
    min-height: 600px;
    border-collapse: collapse;
    display: table;
}

#dash_col {
    background-color: white;
    padding: 5px 10px;
    display: table-cell;
    width: 180px;
    min-height: 800px;
    vertical-align: top;
}

#body_col {
    background-color: white;
    display: table-cell;
    width: 800px;
    min-height: 800px;
    vertical-align: top;
    border-left: 1px solid #E8E8E8;
    padding: 10px;
    margin-top: 10px;
}

#full_body {
    background-color: white;
    width: 980px;
    height: 800px;
    vertical-align: top;
    border-left: 1px solid #E8E8E8;
    padding: 5px;
    margin-top: 10px;
}

.row-box {
    width: 100%;
    text-align: center;
}

.box5050 {
    display: inline-block;
    width: 376px;
    padding: 8px;
    vertical-align: top;
    text-align: left;
}

.box33 {
    display: inline-block;
    width: 266px;
    padding: 8px;
    vertical-align: top;
    text-align: left;
}

#dash_col .info-box {
    margin-top: 20px;
    font-size: 12px;
    padding: 5px 8px;
    background-color: rgba(255, 144, 8, 0.37);
    border-radius: 6px;
}

.side_tabs {
    margin-top: 50px;
}

.side_tabs ul li {
    background: none;
    font-size: 14px;
    margin: 8px 0px;
    height: 30px;
    line-height: 30px;
    padding-left: 12px;
}

.side_tabs ul li i {
    width: 25px;
    font-size: 16px;
    vertical-align: middle;
    color: #42647F;
}

.side_tabs ul li.focus {
    width: 140px;
    background: #04204b;
    border-radius: 3px;
    box-shadow: 0px 4px 12px #42647F;
    color: white;
}

.side_tabs ul li.focus i {
    color: white;
}


.side_tabs ul li a:link, .side_tabs ul li a:visited {
    text-decoration: none;
    color: #42647F;
}

.side_tabs ul li a:hover {
    color: #04204b;
    width: 100%;
    height: 100%;
}

.side_tabs ul li.focus {
    font-weight: bold;
}

.side_tabs ul li.focus a:hover {
    color: white;
    background: None;
}

.side_tabs ul li.focus a {
    color: white;
}

/* OTHER */
ul {
    list-style: none
}

a:link {
    text-decoration: none
}

p {
    color: #999;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
    font-size: inherit;
}

td {
    margin: 0;
    border: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    color: #04204b;
}

h3, h4 {
    margin: 2px;
    margin-top: 8px;
}

pre {
    white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */
    white-space: -pre-wrap; /* Opera */
    white-space: -o-pre-wrap; /* Opera */
    white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */
    word-wrap: break-word; /* IE 5.5+ */
}

h2.one, tr.one {
    background-color: #FFB487;
    color: #444;
}

h2.two, tr.two {
    background-color: #FFEC44;
    color: #444;
}

font.one {
    color: #f05023;
}

font.two {
    color: #030197;
}

/* CLEARS */

.clearboth {
    clear: both;
}

/* reference:
 *   http://www.positioniseverything.net/easyclearing.html
 *   http://www.zeldman.com/2006/10/27/ie7fixes1/
 *      comment by michael on 10/28/2006
 */
.clearfix {
    min-height: 1%;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* hides from ie5-mac \*/
* html .clearfix {
    height: 1%;
}

/* end hide from ie5-mac */


/* ACCOUNT LINKS */
div.account {
    text-align: right;
    color: white;
}

div.account a:link, div.account a:visited {
    color: white;
}

div.account a:hover {
    color: #FEBA12;
}

#locale_switcher {
    display: inline;
}

#subnav {
    margin: 0;
    padding: 0;
    background: #DEF; /* tab colour */
    border-bottom: 1px solid #9BC;
}

#subnav ul {
    float: right;
    margin: 0 20px;
    padding: 0;
}

#subnav ul li {
    display: inline;
    list-style-type: none;
}

#subnav ul a:link, #subnav ul a:visited {
    float: left;
    font-weight: bold;
    text-decoration: none;
    color: #444;
    padding: 4px 20px;
}

#subnav ul a:hover {
    color: #FFF;
    background: #9BC;
}


/* WHAT NEXT */

dl.what_next {
    margin: 2em;
}

dl.what_next dt {
    font-size: 120%;
}

dl.what_next dd {
    margin: 0 0 1em 0;
    font-style: italic;
}

p.what_next {
    font-size: 120%;
}


/* FORM TOGGLE */

.form-toggle p {
    margin-bottom: 2px;
}

.form-toggle p span {
    background: #DEF;
    padding: 3px 6px;
    border-top: 1px solid #9BC;
    border-left: 1px solid #9BC;
    border-right: 1px solid #9BC;
    cursor: pointer;
}

.form-toggle form {
    padding: 3px 6px;
    margin: 0;
    background: #DEF;
    border: 1px solid #9BC;
}


/* EXTRAS TO CLEAN UP */

.warning {
    color: red;
    font-weight: bold;
}

div.profile_info p {
    margin: 0;
}

div.left_panel {
    width: 550px;
}

div.right_panel {
    margin-top: 20px;
    width: 200px;
    float: right;
    z-index: 999;
}

/* SCROLL BOX */
.scrollArea {
/ / width: 275 px;
/ / height: 100 px;
    padding-left: 5px;
    padding-right: 5px;
    border-color: #6699CC;
    border-width: 1px;
    border-style: solid;
    float: left;
    overflow: auto;
}


/* Timelines box */
.timeline-table {
    border: 1px solid #DDD;
    font-size: 10px;
}

.timeline-table th {
    padding: 2px 4px;
    border: 1px solid #2069AF;
}

.timeline-table td {
    padding: 2px 4px;
    border: 1px solid #999;
    text-align: center;
    color: #555;
}

/* Referral box */
div.referral {
    background-color: #E3E3E3;
    margin: 8px 4px;
    padding: 10px 20px;
    font: 18px/20px "MuseoSlab500Regular", arial, sans-serif;
    color: #04204B;
/ / text-shadow: 1 px 1 px 1 px #000;
    border-bottom: 1px solid #929292;
    border-right: 1px solid #929292;
}

div.referral p {
    font: 12px/14px;
    color: #42647F;
}

/* ==========================================================================
	#Icons
========================================================================== */
.ico {
    display: inline-block;
    font-family: "BirdieFire icons";
    vertical-align: middle;
}

/* ==========================================================================
	#Mobile Nav
========================================================================== */
.mobile-nav {
    overflow-y: auto;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    z-index: 20;
    width: 50%;
    min-width: 280px;
    background-color: #4a4a4a;
}

.mobile-nav.active {
    left: 50%;
}

.close-mobile-nav {
    margin: 16px 0 0 21px;
    font-size: 18px;
    color: #fff;
}

.mobile-nav-btn {
    position: absolute;
    top: 10px;
    right: 21px;
    display: none;
    width: 20px;
    height: 18px;
    color: #fff;
    font-size: 20px;
}

.mobile-nav-btn:hover {
    text-decoration: none;
}

#leftpanel2 {
    background: #04204c;
}

#leftpanel2 #search {
    position: relative;
}

#leftpanel2 #search .field {
    border-radius: 17px;
    font-size: 15px;
    color: #626a6e;
    font-weight: bold;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 34px;
    font-family: 'Merriweather Sans', sans-serif;
}

#leftpanel2 #search .button {
    width: 15px;
    height: 15px;
    background: url(images/search-icon.png) no-repeat 0 0;
    display: block;
    position: absolute;
    top: 7px;
    left: 12px;
    z-index: 100;
    border: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -4000px;
    cursor: pointer;
}

#leftpanel2 ul {
    list-style: none outside none;
}

#leftpanel2 .nav-holder ul {
    margin-top: 12px;
    margin-bottom: 28px;
}

#leftpanel2 .nav-holder ul li {
    border-top: 1px solid #2e4569;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    display: block;
    float: none;
}

#leftpanel2 .nav-holder ul li.open > a em {
    background-position: 0 bottom;
}

#leftpanel2 .nav-holder ul li em {
    width: 10px;
    height: 11px;
    background: url(images/nav-arrows.png) no-repeat 0 0;
    display: block;
    position: absolute;
    top: 27px;
    right: 23px;
}

#leftpanel2 .nav-holder ul li:last-child {
    border-bottom: 1px solid #2e4569;
}

#leftpanel2 .nav-holder ul li a {
    font-size: 17px;
    color: #ffffff;
    font-weight: bold;
    display: block;
    padding-top: 16px;
    padding-bottom: 16px;
}

#leftpanel2 .nav-holder ul ul {
    background: #333333;
    padding-left: 15px;
    margin-left: -15px;
    padding-right: 15px;
    margin-right: -15px;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 0 2px 3px #000 inset;
    margin-bottom: 0;
    border-bottom: 0 !important;
    margin-top: 0;
    display: none;
}

#leftpanel2 .nav-holder ul ul li {
    border: 0;
    padding: 0 15px;
}

#leftpanel2 .nav-holder ul ul li:last-child {
    border-bottom: 0;
}

#leftpanel2 .nav-holder ul ul li a {
    font-size: 16px;
    color: #afb2b4;
    font-weight: normal;
    padding-top: 10px;
    padding-bottom: 10px;
}

#leftpanel2 .nav-holder ul ul li em {
    top: 17px;
}

#leftpanel2 .orange-button {
    display: block;
    background: #f07c00;
    line-height: 53px;
    font-size: 16px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
}

#leftpanel2 .orange-button:hover {
    background: #ce6a00;
    text-decoration: none;
}

#leftpanel2 .page-nav {
    margin-top: 10px;
    margin-left: 10px;
}

#leftpanel2 .page-nav li {
    line-height: 35px;
    list-style: none outside none;
}

#leftpanel2 .page-nav li a {
    font-size: 16px;
    color: #fff;
    font-family: 'Merriweather Sans', sans-serif;
}


/* ==========================================================================
	#Analysis
========================================================================== */
div.analysis {
    margin: 20px auto;
    background: white;
    border-radius: 10px;
    border: 1px solid #bbb;
    padding: 10px;
    box-shadow: 8px 8px 5px #888888;
}

div.comp-analysis {
    width: 700px;
}

.comp-analysis th {
    font-size: 15px;
    color: #333;
    padding: 6px;
    text-align: center;
}

.comp-analysis th:nth-child(1) {
    font-size: 20px;
    text-align: left;
    color: #04204B;
}

.comp-analysis td span {
    font-size: 15px;
    font-weight: bold;
}

.comp-analysis tr.border {
    border-bottom: 1px solid #04204B;
}

.comp-analysis tr.border td {
    padding-top: 15px;
}

.comp-analysis td:nth-child(1) {
    width: 60%;
}

.comp-analysis td:nth-child(2) {
    width: 20%;
    text-align: right;
}

.comp-analysis span.value {
    font-size: 18px;
}

.comp-analysis span.comp {
    color: #666;
}

.comp-analysis td:nth-child(3) {
    width: 20%;
    text-align: left;
}

.comp-analysis span.worse {
    color: green;
}

.comp-analysis span.better {
    color: red;
}


/* ==========================================================================
	#Analysis
========================================================================== */

.decade-details {
    margin: 10px;
}

.decade-details td {
    border: 2px solid black;
    text-align: center;
    padding: 5px;
    max-width: 250px;
    width: 250px;
}

.decade-details td:first-child {
    background: #e2e2e2;
    color: #04204B;
    font-weight: 900;
}

.decade-details thead {
    border: 2px solid #04204B;
    background-color: #04204B;
    color: white;
    font-size: 18px;
}

.decade-details thead th {
    padding: 10px 4px;
}

/* ==========================================================================
	#Media Queries
========================================================================== */

@media (max-width: 951px) {
    .full {
        display: none;
    }

    .logo {
        width: 179px;
        height: 24px;
        margin-left: 9px;
        -webkit-background-size: 179px 24px;
        background-size: 179px 24px;
    }

    .mobile-nav-btn {
        display: block;
        color: #fff;
        padding-top: 15px;
    }

    #navigation .profile > a.name {
        display: none;
    }

    #inline-nav {
        display: none;
    }

    .dd {
        display: none;
    }

    h1#logo a {
        margin-left: 10px;
        width: 248px;
    }
}

@media (max-width: 768px) {
    .mobile-nav {
        width: 90%;
    }

    .mobile-nav.active {
        left: 10%;
    }

    #footer .copyright, #footer .holder {
        font-size: 8px;
    }
}

@media (max-width: 570px) {
    h1#logo a {
        background: url(images/birdiefireRing.png) 0 0 no-repeat;
    }
}
