/* Styles for all pages

   developer:   suef
   ========================================================================== */

/* ==========================================================================
   Main
   ========================================================================== */

html { border-top: none; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    color: #757575;
}

.inner {
    font-size: 1rem;
    margin: 0 auto;
    max-width: 56rem;
    padding: 2.1875rem 1.25rem 4.0625rem;
}

a {
    color: #33aadd;
    text-decoration: none;
}

a:hover { color: #1681a4; }

.inner ul li a { color: #757575; }

.inner ul li a:hover { color: #33aadd; }

p {
    margin: 0 0 1.25rem;
    line-height: 1.5;
    font-size: 1rem;
}

p:last-child { margin: 0; }

p.intro {
    font-size: 1.3125rem;
    font-weight: 300;
}

h1 {
    font-size: 2.5rem;
    color: #33aadd;
    font-family: 'Enriqueta', Arial, sans-serif;
    font-weight: 600;
    margin: 1.6rem 0;
}

h2 {
    font-size: 1.3125rem;
    color: #1681a4;
    margin: 0 0 .3125rem;
    font-weight: 400;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #33aadd;
    margin: 1.5625rem 0 .3125rem;
}

.left { float: left; }

.right { float: right; }

.center {
    display: block;
    margin: 0 auto;
}

.row * { float: none; }

.half {
    width: 45%;
    display: inline-block;
    vertical-align: top;
    margin: 0 1.875rem 0 0;
}

.half+.half { margin: 0; }

.third {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    margin: 0 1.875rem 0 0;
}

.third:nth-child(3n) { margin: 0; }

hr {
    border: 0;
    background: #ddd;
    height: 1px;
    margin: 1.5625rem 0;
}

table+hr { margin: 1.875rem 0 1.5625rem; }

a.button,
input.button {
    font-size: 1rem;
    color: #fff;
    padding: .5rem 1.5625rem;
    background: #33aadd;
    border: 1px solid #1681a4;
    border-radius: 3px;
    line-height: 3;
    cursor: pointer;
}

input.button {
    line-height: 1;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

a.button:hover,
input.button:hover { background: #1681a4; }

a.breadcrumb {
    background: #1681a4;
    padding: .3125rem 1.25rem;
    color: #fff;
    top: -1.875rem;
    position: relative;
}

a.breadcrumb:hover { background: #33aadd; }

.sub-caption {
    font-size: 10px;
    /* hard pixel value so it doesn't shrink even smaller */
    color: #ababab;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    margin: 0 auto;
    text-align: left;
    background: #3b393a;
    position: relative;
    z-index: 100;
    font-size: 0;
}

.nav-inner {
    padding: 0;
    margin: 0 auto;
    max-width: 75rem;
    position: relative;
    text-align: right;
}

.nav a {
    display: inline-block;
    vertical-align: middle;
    font-size: .9375rem;
    line-height: 1.375rem;
}

.nav-inner>a {
    float: left;
    margin: .625rem 0 .625rem 1.25rem;
}

.nav a img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 .625rem 0 0;
    border: 0;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}

.nav li {
    display: inline-block;
    vertical-align: top;
}

.nav ul a {
    display: block;
    color: #fff;
    padding: 1.5rem 1.125rem;
    position: relative;
    background: transparent;
}

.nav #about-menu,
.nav #resources-menu {
    background: transparent;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.nav ul li:hover,
#about-menu:hover,
#resources-menu:hover,
#pisa-index #pisa,
#take-action-index #take-action,
#making-the-case-index #making-the-case,
#apply-index #about-menu,
#news-index #news,
#community-index #about-menu,
#what-is-cbm-index #about-menu,
#module-summary #resources-menu,
#activity-compute #resources-menu,
#activity-define #resources-menu,
#activity-interpret #resources-menu,
#activity-translate #resources-menu,
#chapter-introduction #resources-menu,
#chapter-review #resources-menu,
#primer #resources-menu,
#project #resources-menu,
#resources-index #resources-menu,
#materials-index #resources-menu,
#download-index #resources-menu { background: #33aadd; }

.nav #what-is-cbm,
.nav #resources {
    display: inline-block;
    padding: 1.5rem .4375rem 1.5rem 1.125rem;
}

.nav .about-button,
.nav .resources-button {
    background: url('/img/global-arrows.png') no-repeat -27px center;
    background-size: 38px;
    border: 0;
    width: 1.75rem;
    height: 2rem;
    outline: none;
    vertical-align: middle;
    position: relative;
}

.nav .show-apply .about-button,
.nav .show-apply .resources-button {
    background: url('/img/global-arrows.png') no-repeat 0 center;
    background-size: 38px;
}

.nav .dropdown {
    z-index: 20;
    background: #1681a4;
    position: absolute;
    display: none;
}

.nav .dropdown li {
    display: block;
    text-align: left;
}

.nav .dropdown a { padding: .3125rem 1.125rem; }

.nav .menu { display: none; }

#sub-nav {
    background-color: #156683;
    font-size: 15px;
    height: 60px;
}

#sub-nav .sub-nav {
    width: 100%;
    display: inline-block;
    text-align: center;
}

#sub-nav .sub-nav>.sub-nav-link {
    position: relative;
    top: 2px;
}

#sub-nav a { color: #fff; }

#sub-nav a:hover { color: #f4b534; }

#sub-nav .divider {
    position: relative;
    display: inline-block;
    top: 15px;
    height: 30px;
    border-left: 2px solid #33aadd;
    margin: 0 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 1.625rem 0;
    overflow: hidden;
    background: #20536a;
}

.footer .inner {
    padding: 0 1.25rem;
    color: #fff;
    font-size: .6875rem;
    line-height: 2.18;
}

.footer .right a {
    color: #fff;
    display: inline-block;
}

.footer .right a:hover { color: #33aadd; }

.linkedin-icon {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    vertical-align: middle;
}

.linkedin-icon {
    background: url('/img/global-social.png') right top;
    background-size: cover;
    margin: 0 .125rem 0 .3125rem;
}

/* ==========================================================================
   Maths Fix book include
   ========================================================================== */

#maths-fix,
#maths-fix p {
    color: #757575;
    font-size: 1rem;
    line-height: 1.3;
}

#maths-fix a {
    color: #235E7F;
    font-weight: 600;
}

#maths-fix a:hover { color: #33aadd; }

/* ==========================================================================
   Thickbox
   ========================================================================== */

#TB_overlay {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.TB_overlayMacFFBGHack { background: url('/common/images/TBmacFFBgHack.png') repeat; }

.TB_overlayBG {
    background-color: #000;
    filter: alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
    padding: 0;
    margin: 0;
}

#TB_window {
    position: fixed;
    background: transparent;
    z-index: 100000;
    display: none;
    text-align: left;
    top: 0;
    left: 0;
    padding: 0;
    margin: auto !important;
    right: 0;
    bottom: 0;
    height: 355px;
    max-width: 100%;
}

#TB_window iframe { max-width: 100% !important; }

/* ==========================================================================
   Miscellaneous
   ========================================================================== */

table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    table-layout: fixed;
}

table tr th {
    background: #33aadd;
    color: #fff;
    border: 1px solid #ddd;
    padding: .3125rem 0 .3125rem 1.875rem;
    font-weight: 400;
}

table tr:nth-child(odd) { background: #f8f8f8; }

table tr td {
    border: 1px solid #ddd;
    padding: .3125rem .3125rem .3125rem 1.875rem;
    vertical-align: top;
}

table tr td:nth-child(1n) { width: 12.5rem; }

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {
}

/* styles for medium screens (1000px) snowflake
   ========================================================================== */

@media all and (max-width: 1000px) {
    .nav a img+img { display: none; }
}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
    .nav-inner { text-align: center; }
    .nav-inner>a {
        float: none;
        margin: 0;
    }
    .nav-inner ul li a { padding: 1.5rem .9rem; }
}

/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    #_noscript div { top: 4.75rem; }
    .nav-inner { text-align: left; }
    .nav-inner>a { margin: .5rem; }
    .nav ul {
        display: none;
        background: #1681a4;
        padding: .3125rem 0;
    }
    .nav .menu {
        display: inline-block;
        border: 0;
        border-top: .75rem double #fff;
        width: 1.375rem;
        height: 1.25rem;
        background: transparent;
        position: relative;
        float: right;
        margin: 1.75rem 1.25rem 1.5rem 0;
        cursor: pointer;
        outline: none;
    }
    .nav .menu:after {
        content: '';
        width: 1.375rem;
        height: .23rem;
        background: #fff;
        display: block;
        position: absolute;
        left: 0;
    }
    .nav .menu:hover { border-top: .75rem double #33aadd; }
    .nav .menu:hover:after { background: #33aadd; }
    .nav li { display: block; }
    .nav ul li a,
    .nav #what-is-cbm,
    .nav ul li a,
    .nav #resources { padding: .3125rem 1.125rem; }
    .show-apply { background: #33aadd; }
    .nav .dropdown {
        background: #33aadd;
        position: relative;
    }
    .nav .dropdown a:hover,
    .nav #what-is-cbm:hover,
    .nav #resources:hover { color: #0d6684; }
    #sub-nav .divider { margin: 0 15px; }
    .half {
        width: 100%;
        display: block;
    }
    footer .right { font-size: 0; }
    footer .left { margin: 6px 0 0 0; }
    .linkedin-icon,
    .mail-icon {
        width: 32px;
        height: 32px;
    }
    .mail-icon {
        background: url('/img/global-social-responsive.png') left top;
        background-size: cover;
        margin: 0 6px 0 0;
        vertical-align: middle;
    }
    .linkedin-icon {
        background: url('/img/global-social-responsive.png') right top;
        background-size: cover;
        margin: 0 6px 0 0;
    }
}

/* styles for minimum supported screen width (320px)
   ========================================================================== */

@media all and (max-width: 320px) {
}

/* printer styles
   ========================================================================== */

@media print {
}