/*
    0.  HTML5 Boilerplate defaults
    1.  Document Setup (body, common classes, vertical rhythm, structure etc)
    2.  Header Styles
    3.  Navigation & Menus
    4.  Main Content Styles
    5.  Footer Styles
    6.  Page Styles
    7.  Form Styles
    8.  Helpers classes
    9.  Media Queries
    10. Print Styles
----------------------------------------------- ------------------------------------*/

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #acacac;
    text-shadow: none;
}

::selection {
    background: #acacac;
    text-shadow: none;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* http://www.responsivegridsystem.com/ */
/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}
.group:before, .group:after { content:""; display:table; }
.col:not(:last-child) { margin: 0 0 1.5em; }
.content section.first .col { margin: 0;}

/* generic floats */
.left { float: left }
.right { float: right }

.disabled {
    opacity: .5;
}
.required {
    
}

/*-----------------------------------------------------------------------------------*/
/*  1.  Document Setup (body, common classes, vertical rhythm, structure etc)
/*-----------------------------------------------------------------------------------*/
body {
    font-size: 87.5%;
    background-color: #dfdfdf;
}
.page, .nav-primary {
    position: relative;
    margin: auto;
}
header, .wrapper, section {
    background-color: #ffffff;
}
.wrapper, section, footer .page {
    padding-left: 20px;
    padding-right: 20px;
}

img {
    max-width: 100%;
}
.ie6 img {
    width: 100%;
}

.ui-state-hover {
    color: #fff !important;
}
.ui-widget {
    font-size: inherit !important;
}
.animate {
    -webkit-transition: all 400ms ease-out;
    transition: all 400ms ease-out;
}

/*-----------------------------------------------------------------------------------*/
/*  2.  Header Styles
/*-----------------------------------------------------------------------------------*/
header {
    border-top: 15px solid #1C3F95;
    border-bottom: 1px solid #1C3F95;
}
header .page { padding: 14px 20px 14px 10px; }
header .logo,
header .menu {
    display: inline-block;
    margin-left: 0;
    margin-right: -4px;
    vertical-align: middle;
}
header .logo {
    width: 100%; 
    margin-right: -35px;
}
header .logo a {
    display: block;
    position: relative;
}

header .logo .inner {
    margin-right: 65px;
}
header .menu { 
    width: 35px; 
    text-align: right;
    position: relative;
}

.overlay {
    position: absolute;
    width: 100%;
    top: 50% !important; 
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.overlay .wrap:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: #3b3b3b;
    opacity: .5;
}
.overlay h1 {
    position: relative;
    color: #fff;
    text-shadow: 0 1px 0 (50,50,50,.4);
    z-index: 10;
    font-family: 'Bebas Neue';
    line-height: 1.8em;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-align: center;
    letter-spacing: .02em;
    padding: 0;
    margin: 0;
}

/*-----------------------------------------------------------------------------------*/
/*  3.  Navigation & Menus
/*-----------------------------------------------------------------------------------*/
#navToggle {
    display: inline-block;
    font-weight: normal;
    text-decoration: none;
    vertical-align: middle;
}

#navToggle .fa:before {
    color: #1C3F95;
}

#menu {
    background-color: #f3f3f3;
    padding: 0 0 20px;
    font-size: 90%;
    text-align: left;
    border: 0;
    z-index: 0;
    position: fixed;
    top: 0;
    right: -270px;
    width: 270px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    font-family: 'Bebas Neue';
}
#menu {
    -webkit-transform: translate3d(0,-100%,0);
    transform: translate3d(0,-100%,0); 
    -webkit-transition: -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
}
header .logo, header .menu, #page, #menu, footer {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
}
.showSidenav #menu {
    position: fixed;
    overflow: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}
.showSidenav header .logo, 
.showSidenav header .menu,
.showSidenav #page,
.showSidenav #menu,
.showSidenav footer {
    -webkit-transform: translate3d(-270px,0,0);
    transform: translate3d(-270px,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.showSidenav #container {
    position: fixed;
    overflow: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

#menu .header {
    height: 51px;
    padding: 0 15px;
    background-color: #1C3F95;
}

#menu .header span {
    display: block;
    color: #e8e8e8;
    padding: 8px 0;
    font-size: 2.5em;
    font-weight: 400;
}

#menu ul { padding: 0; }
#menu li {
    display: block;
    border-bottom: 1px solid #E4E4E4;
    padding: 0;
}
#menu ul a, .board a {
    text-decoration: none;
    font-weight: normal;
}
#menu li,
#menu li a {
    color: #1C3F95;
    font-size: 1.4em;
}
#menu ul > li a {
    display: block;
    text-decoration: none;
    padding: 10px 25px 7px;
    line-height: 1.5em;
}
#menu li a:hover { text-decoration: none; }
#menu ul ul {
    background-color: rgb(68, 68, 68)
}
#menu ul ul a {
    font-size: 14px;
    padding-left: 37px;
    color: white;
}
#menu ul a.selected {
    font-weight: bold;
}
#menu ul li span.t_color { font-weight: 600; }

/*-----------------------------------------------------------------------------------*/
/*  4.  Main Content Styles
/*-----------------------------------------------------------------------------------*/
.content {
    background-color: #fff;
    margin-top: 20px;
}
.center {
    text-align: center;
}
.fixed {
    position: fixed;
}
.content-block.bg-fixed {
    background-attachment: fixed;
}
.content-block {
    position: relative;
    background-repeat: no-repeat;
}
.content-block.empty {
    min-height: 300px;
}
.noPad { padding: 0 !important; }
.noMargin { margin: 0 !important; }
.pad-top-small .section { padding-top: 20px; }
.pad-top-medium .section { padding-top: 30px; }
.pad-top-large .section { padding-top: 40px; }
.pad-top-xlarge .section { padding-top: 80px; }
.pad-bot-small .section { padding-bottom: 20px; }
.pad-bot-medium .section { padding-bottom: 30px; }
.pad-bot-large .section { padding-bottom: 40px; }
.pad-bot-xlarge .section { padding-bottom: 80px; }

.arrow {
    position: fixed;
    bottom: 0;
    cursor: pointer;
    background: url(/assets/images/layout/arrow_down.png) 9px 15px no-repeat;
    background-color: rgb(250,250,250);
    background-color: rgba(250, 250, 250, .3);
    display: none;
    width: 42px;
    height: 42px;
    left: 48%;
    z-index: 230;
}
.no-touch .arrow:hover {
    background-color: rgb(50,50,50);
    background-color: rgba(50,50,50,.9);
}

/*-----------------------------------------------------------------------------------*/
/*  5.  Footer Styles
/*-----------------------------------------------------------------------------------*/
footer { background-color: #0b366b; color: #393939; }
footer p { 
    font-family: 'Bebas Neue';
    line-height: inherit; 
}
footer .nav-primary li:not(:last-child) {
    padding-bottom: 1em;
}
footer .nav-primary a {
    font-family: 'Bebas Neue';
    font-weight: 400;
}
footer .nav-primary li.selected a {
    border-bottom: 3px solid #fff;
}
footer p, footer .content-block:not(.credits) a, footer .nav-primary a, footer .social .glyph-icon:before { color: #fff !important; }
footer p, footer .nav-primary a {
    font-size: 1.6em;
}
footer .content-block, footer .content-block .social { text-align: center; }
footer .content-block.logos { background-color: #fff; border-top: 1px solid #eee; }
footer .content-block.credits { background-color: #dfdfdf; }

footer .credits .group {
    font-size: 95%;
    padding: 15px 0;
    text-align: center;
}

/*-----------------------------------------------------------------------------------*/
/*  6.  Page Styles
/*-----------------------------------------------------------------------------------*/
.empty h2 { margin-bottom: .5em; }

.social span{
    display: none;
}
.social .glyph {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    padding-right: 2px;
}
.social .glyph:last-child { padding-right: 0; }
.social .glyph .glyph-icon {
    padding: 5px;
    display: block;
    font-family: "Socialicon";
    font-size: 24px;
    line-height: 1;
}
.social .glyph .glyph-icon:before {
    font-size: 32px;
    color: #0099cc;
    margin-left: 0;
    font-style: normal;
}
.social a { text-decoration: none; }
.social a:hover .glyph-icon:before {
    opacity: .6;
}

.social .fb:before      { content: "\e006"; }
.social .twt:before     { content: "\e015"; }
.social .gp:before      { content: "\e00e"; }
.social .inst:before    { content: "\e011"; }
.social .youtube:before { content: "\e036"; }
.social .li:before      { content: "\e012"; }
.social .flickr:before  { content: "\e022"; }
.social .pint:before    { content: "\e018"; }

/*-----------------------------------------------------------------------------------*/
/*  7.  Form Styles
/*-----------------------------------------------------------------------------------*/

/* Table Styles */
table {
    margin: 5px 0;
}
table td {
    color: #555;    
    padding: 11px 0;
}
table table {
    margin: 0;
}
table table td {
    padding: 0;
}


fieldset {
    margin: 0 auto;
}
fieldset.short {
    max-width: 600px; 
}
fieldset.shorter {
    max-width: 400px; 
}
label {
    color: #555;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .33);
    font-size: 105%;
    font-weight: 400;
    display: block;
    padding-bottom: .5em;
}
::-webkit-input-placeholder { /* WebKit browsers */
    color:    #656667;
    font-size: 95%;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #656667;
    font-size: 95%;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #656667;
    font-size: 95%;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #656667;
    font-size: 95%;
}

.selectboxit-option, .selectboxit-optgroup-header {
    text-indent: 5px !important;
}

form .selectboxit-container {
    margin-bottom: 15px !important;
}
form input { 
    width: 100%; 
    border: 1px solid transparent;
}
form > .group, 
form fieldset > .col > .group,
form fieldset > .group {
    margin-bottom: 20px;
}
fieldset {
    margin: 0 auto !important;
}
form label { padding-top: 10px; }

label, input, button, select, textarea {
    line-height: 20px;
}

label, select, button, input[type="button"], input[type="reset"], input[type="submit"], input[type="radio"], input[type="checkbox"] {
    cursor: pointer;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    font-family: inherit;
    background-color: #eeeeee;
    border: 0;
    -webkit-border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    border-radius: 0\9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear .2s,box-shadow linear .2s;
    -moz-transition: border linear .2s,box-shadow linear .2s;
    -o-transition: border linear .2s,box-shadow linear .2s;
    transition: border linear .2s,box-shadow linear .2s;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    display: inline-block;
    padding: 7px 8px;
    line-height: 20px;
    color: #555;
    vertical-align: middle;
}

input[type="checkbox"] + label, input[type="radio"] + label {
    display:inline-block;
    margin-left: 6px;
}

textarea {
    display: block;
    width: 100%;
    min-height: 30px;
    resize: vertical;
}

form input.tiny,
.tiny {
    width: 25px;
}
form input.xsmall,
.xsmall {
    width: 15%;
}
form input.small,
.small {
    width: 35%;
}
form input.medium,
.medium {
    width: 45%;
}
form input.large,
.large {
    width: 75%;
}
form input.xxlarge,
.xxlarge {
    width: 100% !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*-----------------------------------------------------------------------------------*/
/*  8.  Helper Classes
/*-----------------------------------------------------------------------------------*/

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/*-----------------------------------------------------------------------------------*/
/*  9.  Media Queries
/*-----------------------------------------------------------------------------------*/

@media screen and (max-width: 799px) {
    h1, h2 {
        font-size: 1.8em;
        font-weight: 600;
    }

    select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] { 
        font-size: 16px; 
    }
}

@media screen and (min-width: 568px) {
    header .logo a { max-width: 276px; }
}

@media screen and (max-width: 320px) {
    h1, h2 {
        font-size: 1.6em;
        font-weight: 600;
    }

    .showSidenav header .page {
        padding-right: 13px;
    }
}

/*-----------------------------------------------------------------------------------*/
/*  10.  Print styles.
/*       Inlined to avoid required HTTP connection: h5bp.com/r
/*-----------------------------------------------------------------------------------*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .advisor .details,
    .layout > .content .inner { 
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important; 
    }
    .contact h2 { padding: 0 !important; }
    .contact .col { margin: 0 !important; padding: 0 !important; }
    .container { border: 0 !important; }

    header, footer, .network_name, .contact .span_2_of_3, .sidebar, iframe, .search {
        display: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
