/* HEADER
 --------- */
.btn-primary {color: #ffffff;background-color: #768591;}
.btn-check.btn-primary {border-color: #768591;color: #768591;}
.btn-check.btn-primary.active, .btn-check.btn-primary:hover {color: #fff;background-color: #768591;}
.btn-secondary {color: #fff;background-color: #24648c;border-color: #24648c;} 
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {color: #fff;background-color: #768591;border: 1px solid #509cbc;}
.nav-tabs > li > a:hover, .nav.nav-tabs > li > a:hover, .nav.nav-tabs > li > a:focus {border-color: #509cbc #509cbc #509cbc;background-color: #768591;}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {color: #fff;background-color: #768591;border-color: transparent;}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {color: #ffffff;background-color: #24648c;border-color: #24648c;}
.landing .box {background: #768591;}

header {
    background: #fff;
    text-align: center;
    height: 147px;
    font-size: 16px;
}
header .navbar, header .navbar-collapse {
    border: none;
}
header.transition, header .transition {
    -webkit-transition: height 300ms linear, margin 300ms linear;
    -moz-transition: height 300ms linear, margin 300ms linear;
    -ms-transition: height 300ms linear, margin 300ms linear;
    -o-transition: height 300ms linear, margin 300ms linear;
    transition: height 300ms linear, margin 300ms linear;
}
header #logo {
    position: absolute;
    display: block;
    max-height: 100%; width: 100%;
    overflow: hidden;
    text-align: center;
    margin: 21px auto;
    z-index: 50;
}
header #logo img {
    max-width: 100%; max-height: 80px;
}
header #menu-primary {
    margin-top: 101px;
}
header #tyler-navigation.text-fit {
    max-height: 46px;
}
header ul {
    text-align: center;
    list-style: none;
    margin: 0; padding: 0;
}
header ul li {
    display: inline-block;
    font-size: 1em; font-weight: 500;
    color: #5b5959;
    text-transform: uppercase;
}
header ul li a {
    display: block;
    color: inherit;
    padding: 12px 12px;
    box-sizing: border-box;
    height: 46px;
}
header ul li.current-menu-item a, header ul li a:hover {
    background: #35aadc;
    color: #fff;
    text-decoration: none;
}
header ul li.register a {
    background-color: #e83a56;
    color: #fff;
}
header ul ul {
    display: none;
    position: absolute;
    background-color: #3d3d3d;
    height: auto; min-width: 180px;
    text-align: left;
    border-radius: 0;
    text-transform: none;
    margin: 0; padding: 0;
    z-index: 100;
}
header ul .expand > ul {
    display: block;
}
header ul ul li {
    position: relative;
    display: block;
    color: #fff;
    font-size: 0.875em;
}
header ul ul li a {
    padding: 7px 14px;
    max-height: none;
    height: auto;
}
header ul ul ul {
    position: absolute;
    left: 100%; top: 0;
    margin: 0;
    background-color: #818181;
    border: none; border-radius: 0;
}
header.sticky {
    position: fixed;
    top:0; left: 0; right: 0;
	width: 100%;
    max-width: 1260px;
    z-index: 1000;
    height: 60px;
}

header.sticky #logo {
    display: none;
}
header.sticky #menu-primary {
    position: absolute;
    float: none;
    margin: 0;
}

@media (min-width: 992px) {
    header {
        max-width: 1260px;
        width: 100%;
        margin: 0 auto;
        height: 60px;
    }
    header #logo {
        position: relative;
        width: auto;
        float: left;
        margin: 18px 0 -18px;
    }
    header #menu-primary {
        margin-top: 0px;
        position: absolute;
        right: 0;
    }
}