/***************************************************************************
 * FONTS
*/
h1, h2, h3,
.navbar-brand,
.navbar-nav,
.btn-primary,
.btn-default,
.sidebarTitle,
#headerPhoneNumber,
#logoText{
    font-family: 'EB Garamond', serif;
}
/***************************************************************************
 * HTML OVERRIDES
*/
body{
    color: #074266;
}
p{
    padding: 10px 0;
}
a{
    color: #074266;
}

.panel-courses>.panel-body{
    background: #074266 url(../images/leaves-overlay.png) center right no-repeat;
    color: #fff;
}
.panel-courses>.panel-heading,
.panel-courses>.panel-footer{
    background: rgba(6,59,91,1.0);
    color: #fff;
}
.panel-courses>.panel-heading a,
.panel-courses>.panel-footer a{
    color: #fff;
}
.panel-courses>.panel-heading{
    border: 1px solid #2a6496;
}
.panel-courses>.panel-footer{
    border: 1px solid #2a6496;
}
form{
    background: rgba(246, 246, 246, 0.7);
    padding: 30px;
    border: 1px solid #e4e4e4;
}

.panel-body li{
    margin: 10px 0;
}
.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover{
    background-color: #fe9832;
    border-radius: 0;
}
.panel{
    background-color: #fff;
    background-color: rgba(255,255,255,0.6);
}
.nav-pills{
    background: #074266 url(../images/leaves-overlay.png) center right no-repeat;
}
.nav-title{
    padding: 10px 15px;
    background: #063b5b;
    color: #fff;
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    border-radius: 20px 8px 0 0;
}
.nav-footer{
    height: 10px;
    background: #074266;
    border-radius: 0 0 20px 8px;
    margin-bottom: 20px;
}
.nav-pills li a{
    color: #fff;
}
.nav>li>a:focus,
.nav>li>a:hover{
    background-color: #0e5b89;
    border-radius: 0;
}
.page-header{
    padding: 14px 0 18px;
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
}
.label-default{
    background-color: #063b5b;
}
.label{
    padding: 6px 16px;
}
.panel-default>.panel-heading{
    color: #074266;
}


header{
    background: #fff url('../images/tree-logo-header.png') bottom right no-repeat;
    text-align: center;
    padding-top: 20px;
}

/***************************************************************************
 * NAV BAR
*/
.navbar-default{
}
.navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
}

.navbar .navbar-collapse {
    text-align: center;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover{
    color:#04569d;
    font-size: 28px;
}
.navbar-brand{

}
.navbar-default .navbar-brand img{
    margin-right:20px;
}
.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover{
    color: #074266;
    font-weight: 500;
}
#logoText{

}
#logoText1 {
    font-size: 36px;
    padding: 10px 0 4px 0;
}
#logoText2{
    font-size: 20px;
    padding: 16px 0 20px 0;
}
#headerPhoneNumber{
    float: right;
    font-size: 20px;
    padding: 10px;
    background: rgb(254, 152, 50);
    margin-top: 30px;
    border-radius: 5px;
}
a #headerPhoneNumber{
    color:#fff;
}
a #headerPhoneNumber .glyphicon{
    color: #fe9832;
    background: #fff;
    border-radius: 20px;
    padding: 6px;
}
.navbar{
    margin-bottom: 0;
}
.navbar-nav{
    color:#333;
    font-size:18px;
}

.section-homepage .menu-homepage a,
.section-about .menu-about a,
.section-services .menu-services a,
.section-team .menu-team a,
.section-toolbox .menu-toolbox a,
.section-training .menu-training a,
.section-contactUs .menu-contactUs a{
    background: none;
    border-bottom: 3px #ff9933 solid;
}

/***************************************************************************
 * FORMS
*/
.input-group{
    width: 100%;
}
.input-group-addon {
    background-color: #0072b5;
    border: 1px solid #0066a2;
    color:#fff;
}
.input-group-addon label{
    margin-bottom: 0;
}
#fieldControl{
    display: none;
}
/***************************************************************************
 * HERO
*/
#hero-text{
    margin-top: 100px;
    text-align: center;
    color:#fff;
    background-color: #0066A2;
    background-color: rgba(51,122,183,0.5);
    background: url('../images/tree-logo-header.png') bottom right no-repeat;
    padding: 8px 0;
    border-radius: 10px;
}
#hero-buttons{
    margin: 100px auto;
    text-align:center;
}
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-caption{
    background-color: rgba(4,86,157,0.6);
    border-radius: 8px;
    padding-top: 0;
}
.carousel-image{
    background-size: cover!important;
    width: 100%;
    height: 560px;
}
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus{
    background: #ff9933;
    border: none;
    color:#fff;
    padding: 10px 20px;
    font-size: 24px;
    margin: 4px 0;
}
.btn-default,
.btn-default:hover,
.btn-default:active,
.btn-default:focus{
    background: #fff;
    border: 1px solid #888;
    color:#333;
    padding: 10px 20px;
    font-size: 24px;
    margin: 4px 0;
}

.btn-header-primary,
.btn-header-primary:hover,
.btn-header-primary:active,
.btn-header-primary:focus{
    background: #ff9933;
    border: none;
    color:#fff;
    padding: 5px 10px;
    font-size: 14px;
    margin: 4px 3px 0 0;
}
.btn-header-default,
.btn-header-default:hover,
.btn-header-default:active,
.btn-header-default:focus{
    background: #dcdcdc;
    border: none;
    color:#333;
    padding: 5px 10px;
    font-size: 14px;
    margin: 4px 3px 0 0;
}
/***************************************************************************
 * ABOUT
*/
#about{
    background: url('../images/leaves-overlay-4pc-TOP.png') top left no-repeat;
}
#about h2{
    font-size: 32px;
}
#about .phone-image{
    margin-top:20px;
    text-align:center;
}

.bodyContent{
    padding: 40px 0;
    background: url('../images/leaves-overlay-4pc-TOP.png') top left no-repeat;
}
.imagerow{
    background-size: cover;
}
/***************************************************************************
 * LISTS
*/
#lists{
    background: #0072b5;
    color:#fff;
}
#lists h2{
    font-size: 40px;
    padding-bottom: 20px;
}
#lists ul li{
    padding:4px 0;
    font-size: 16px;
    display: block;
}
#lists li:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    font-family: 'Glyphicons Halflings', serif ;
    font-size: 9px;
    float: left;
    margin-top: 4px;
    margin-left: -17px;
    color: #fff;
}
#lists #list-left li:before {
    content: "\e013"; /*tick */
}
#lists #list-right li:before {
    content: "\e080";
}
#lists ul{
    margin-bottom: 30px;
}
#list-left,
#list-right{
    padding: 10px 20px 40px;
}
#list-left{
    background: #0072b5;
}
#list-right{
    background: #0066a2;
    box-shadow: inset 20px 0 50px #00598d;
}

/***************************************************************************
 * CTA
*/
#cta{
    background: #074266 url('../images/leaves-overlay.png') center right no-repeat;
    color: #fff;
    padding:20px 0 40px;
    text-align: center;
}
#cta h2{
    font-size: 36px;
    padding-bottom: 20px;
}
/***************************************************************************
 * SESSIONS
*/
#sessions{
    background: #f1f1f1;
    color: #333;
    padding:20px 0 40px;
}
#sessions h2{
    font-size: 36px;
    padding-bottom: 20px;
    color:#333;
    text-align:center;
}
.input-group-addon{
    min-width: 120px;
    text-align: right;
}
#sessions #formblock{
    padding: 20px;
}
/***************************************************************************
 * LOCATION
*/
#location{
    background: #0072B5 url('../images/leaves-overlay.png') center right no-repeat;
    padding:40px 0;
    color: #fff;
}
#location a{
    color: #fff;
}

/***************************************************************************
 * TESTIMONIALS
*/

blockquote{
    background-color: #fff;
    background-color: rgba(255,255,255,0.8);
    background: url('../images/leaves-overlay-4pc.png') center right no-repeat;
    border-radius: 10px;
    padding: 30px;
    font-family: Georgia, Times, serif;
    font-style: italic;
}
cite{
    font-weight:bold;
}
.block-header{
    background: #f2f2f2;
    color:#333;
    text-align: center;
    padding: 20px 0;
}
.block-header h2{
    font-size: 30px;
    margin: 0;
}
.block-body{
    padding: 60px 0;
}
/* SUB PAGES
 *
 */
.header-row{
    background: #f2f2f2;
    text-align: center;
}
/* TOOLBOX
 */
.sidebarTitle{
    margin-bottom: 20px;
    font-size: 24px;
}
/* CONTACT US PAGE
 */
#map {
    width: 100%;
    height: 400px;
    background-color: #CCC;
}
#mapHomepage{
    width: 100%;
    height: 400px;
    background-color: #CCC;
}
#contactList{
    margin: 20px 0;
}
.contactListItem{
    margin: 20px 0;
}
/***************************************************************************
 * FOOTER
*/
footer{
    border-top: 1px solid #ddd;
    margin: 40px 0 0;
    padding: 20px 0;
    background:#fcfcfc;
    text-align: center;
}
#endorsements{
    padding-top: 20px;
}
.endorse-img{
    text-align: center;
}
.endorse-img img{
    display: inline;
}
#endorse-li{
    text-align: right;
}
#endorse-fb{

}




/***************************************************************************
 * MEDIA QUERIES
 */
@media (max-width: 320px) {
    .navbar-brand{
        padding:6px 0;
    }
    .navbar-default .navbar-brand img{
        margin-right: 8px;
    }
    .navbar-default .navbar-brand, .navbar-default .navbar-brand:hover{
        font-size: 23px;
    }
    .navbar-nav{
        padding: 10px 0;
    }
}
/* Extra small devices (phones, less than 375px) */
@media (max-width: 414px) {
    .navbar-nav{
        padding: 10px 0;
    }
    .btn {
        width: 100%;
    }
    #logoText1{
        padding-left: 0;
    }
    #logoText2{
        font-size:18px;
        padding-left: 0;
    }
    #logoImage{
        padding: 0;
    }
    .navbar-default .navbar-brand img{
        margin-right: 0;
    }
    .navbar-brand{
        padding: 15px 0;
    }
    .navbar-toggle{
    }
    .page-header{
        padding: 4px 0 6px;
    }
    .page-header h1{
        font-size: 26px;
    }
    .page-header h2{
        font-size: 24px;
    }
    #hero-text,
    #hero-buttons{
        margin:20px auto;
    }
    #hero-text h1{
        font-size: 24px;
    }
    #hero-text h2{
        font-size: 23px;
    }
    #hero{
        min-height: inherit;
    }
    #about h2{
        font-size: 26px;
    }
    #sessions h2{
        font-size: 30px;
    }
    #sessions h3{
        margin-bottom: 20px;
    }
    #location{
        padding: 10px 20px;
    }
    #mapHomepage{
        margin: 20px 0;
        height:260px;
    }
    #map {
        height: 200px;
    }
    #testimonials .block-body{
        padding: 20px 0;
    }
    #sub-nav{
        margin: 0 0 20px 0;
        padding: 0;
        background: #074266;
        border-radius: 4px;
    }
    #sub-nav li{
        list-style-type: none;
    }
    #sub-nav li a{
        padding: 10px;
        text-decoration: none;
        display: block;
        color: #fff;
    }
    #sub-nav li .active a,
    #sub-nav li .dropdown-menu .active,
    #sub-nav .dropdown-menu>.active>a{
        color: #fff;
    }
    #sub-nav li .dropdown-menu{
        width: 100%;
    }
    #sub-nav .dropdown-menu>li>a{
        padding: 10px 20px;
        color: #074266;
    }
    #sub-nav .dropdown-menu>li{
        border-bottom: 1px solid #eaeaea;
    }
    .bodyContent{
        padding: 20px 0;
    }
    .bodyContent h1{
        font-size: 28px;
    }
    #cta h2{
        font-size: 26px;
    }
    #headerPhoneNumber{
        display:none;
    }
    .carousel-inner{
    }
}
/* Small devices (phones, less than 768px) */
@media (max-width: 767px) {

    #headerPhoneNumber{
        display:none;
    }
    #logoText1, #logoText2{
        padding: 0 0 20px 0;
    }
    #sub-nav{
        margin: 0 0 20px 0;
        padding: 0;
        background: #074266;
        border-radius: 4px;
    }
    #sub-nav li{
        list-style-type: none;
    }
    #sub-nav li a{
        padding: 10px;
        text-decoration: none;
        display: block;
        color: #fff;
    }
    #sub-nav li .active a,
    #sub-nav li .dropdown-menu .active,
    #sub-nav .dropdown-menu>.active>a{
        color: #fff;
    }
    #sub-nav li .dropdown-menu{
        width: 100%;
    }
    #sub-nav .dropdown-menu>li>a{
        padding: 10px 20px;
        color: #074266;
    }
    #sub-nav .dropdown-menu>li{
        border-bottom: 1px solid #eaeaea;
    }
    .navbar-default .navbar-toggle{
        margin: 10px 0;
    }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-right{
        float:none!important;
        margin-top: 110px;
        background: #fff;
        background: rgba(255,255,255,0.8);
    }
    .nav>li{
        padding: 0 16px;
    }
    #bootcampForm{
        width: 80%;
        margin: 0 auto;
        background: #e8e8e8;
        border: 1px solid #DDDDDD;
        border-radius: 4px;
        padding: 20px;
    }
    #bootcampForm h3{
        margin-top: 0;
    }
    #location{
        padding: 10px 0;
    }
    #location p{
        padding: 6px 0;
    }
    #sub-nav{
        margin: 0 0 20px 0;
        padding: 0;
        background: #074266;
        border-radius: 4px;
    }
    #sub-nav li{
        list-style-type: none;
    }
    #sub-nav li a{
        padding: 10px;
        text-decoration: none;
        display: block;
        color: #fff;
    }
    #sub-nav li .active a,
    #sub-nav li .dropdown-menu .active,
    #sub-nav .dropdown-menu>.active>a{
        color: #fff;
    }
    #sub-nav li .dropdown-menu{
        width: 100%;
    }
    #sub-nav .dropdown-menu>li>a{
        padding: 10px 20px;
        color: #074266;
    }
    #sub-nav .dropdown-menu>li{
        border-bottom: 1px solid #eaeaea;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 768px) {
    .navbar-brand{
        display:none;
    }
}

@media (max-width: 992px){
    #endorse-li {
        text-align: center;
    }
    #endorse-fb {
        text-align: center;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 992px) and (max-width: 1319px) {
    #headerPhoneNumber{
        width:60%;
    }
}
@media (min-width: 1320px) {
    #headerPhoneNumber{
        width:50%;
    }
}