body {
    color: #484887;
    font: 15px/20px 'Droid Serif', Georgia, "Times New Roman", Times, serif;
    background-color: #FDFDFD;
}

html {
    height: 100%;
}

h2 small{
    color: inherit;
    font-size: 80%;
}

.h3, h3 {
    font-size: 20px;
    margin-top: 5px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.content {
    margin: 0 auto;
    background-color: #F4F4F4;
    border-radius: 15px;
    padding: 5px;
    color: #484887;
    font: 13px/20px 'Droid Serif', Georgia, "Times New Roman", Times, serif;
}

header {
    margin: 25px 0px;
}

.header-img {
    background-color: #DCDCE6;
    padding: 15px 0px;
    border-radius: 0px 0px 5px 5px;
}

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

.banner-container {
    background-image: url(../img/banner.jpg);
    height: 380px;
    position: relative;
    padding: 0px;
}

@media (max-width: 440px) {
    .banner-container {
        background-image: url(../img/banner-xs.jpg);
        height: 165px;
    }
}
@media (min-width: 440px) {
    .banner-container {
        background-image: url(../img/banner-sm.jpg);
        height: 225px;
    }
}
@media (min-width: 768px) {
    .banner-container {
        background-image: url(../img/banner-md.jpg);
        height: 285px;
    }
}
@media (min-width: 1200px) {
    .banner-container {
        background-image: url(../img/banner-xl.jpg);
        height: 345px;
    }
}

.banner-container div {
    padding-left: 15px;
    padding-right: 15px;
}

.banner-border {
    position: absolute;
    width: 90px;
    height: 100%;
    top: 0px;
    background-repeat: repeat-y;
}

.banner-border.left {
    left: 0px;
    background-image: url(../img/border-left.png);
}

.banner-border.right {
    right: 0px;
    background-image: url(../img/border-right.png);
}

.full-height {
    height: 100%;
}

.banner-phone {
    background-color: #DCDCE6;
    position: absolute;
    bottom: 0px;
    left: 0px;
    border-radius: 0px 5px 0px 0px;
    padding-top: 10px;
}

.branding {
    background: #DCDCE6;
    margin-top: 25px;
    border-radius: 10px 0px 0px 10px;
}

.branding-mobile{
    margin: 0px auto;
    width: 401px;
    height: 72px;
    background: #DCDCE6;
    border-radius: 10px 10px 0px 0px;
}

#home {
    padding-top: 0px;
    padding-bottom: 10px;
    margin: 0px;
    background-color: #DCDCE6;
}

#topnav {
    background-color: #DCDCE6;
}

#topnav .navbar-toggle {
    background-color: #1d1d4d;
}

.icon-bar {
    background-color: #ffffff;
}

.navbar-fixed-top .navbar-collapse {
    max-height: none;
}

.navbar-nav li a {
    padding: 5px 0px;
    color: #484887;
}

.navbar-nav li a :active, .navbar-nav li a .active, .navbar-nav li a:hover, .navbar-nav li a:focus {
    border-radius: 3px;
    background-color: #DCDCE6;
    text-decoration: underline;
}

.navbar-brand {
    padding: 10px 15px;
}

.nav-filler {
    display: block;
    width: 100%;
    height: 50px;
}

.nav-stacked > li+ li {
    margin-top: 0px;
}

.bggrey {
    background-color: #B9B9CB;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 15px;
}

#main {
    margin-top: 15px;
}

#sidebar {
    width: 200px;
}

#sidebar.affix-top {
    position: static;
}

#sidebar.affix {
    position: fixed;
    top: 30px;
}

#sidebar a.list-group-item {
    color: #555;
    border-style: none;
    border-right: solid 0px;
    border-left-style: solid;
    border-color: #232352;
    background-color: #fff;
    border-radius: 0px;
    background-image: url(../img/border-right-transp.png);
    background-repeat: repeat-y;
    background-position: right;
}

#sidebar li.active a:before {
    font-family: 'Glyphicons Halflings'; 
    content:"\e080";
}

#sidebar li a:hover {
    text-decoration: underline !important;
    -webkit-text-decoration: underline !important;
}

#sidebar a.first {
    border-top-style: solid;
    border-radius: 3px 0 0 0;
}

#sidebar a.last {
    border-bottom-style: solid;
    border-radius: 0 0 0 3px;
}

.wraptocenter {
    text-align: center;
    vertical-align: middle;
}

.wraptocenter * {
    vertical-align: middle;
}

#leftCol {
}

.footer {
    background-color: #232352;
    color: #fff;
}

.footer.row {
    margin-left: 0px;
    margin-right: 0px;
}

.rotate {
    transform: rotate(0deg);
    transition: transform 400ms;
}

.rotated {
    transform: rotate(90deg);
    transition: transform 400ms;
}

.infobox {
    background-color: #eee;
    border-radius: 3px;
    padding: 10px;
}

label {
    width: 80px;
}

input, textarea, select {
    width: 200px;
    width: calc(100% - 100px);
}

ul, ol {
    margin-bottom: 0px;
}

#submit {
    max-width: 300px;
    background-color: #272755;
    color: #ffffff;
    border-style: none;
    border-radius: 5px;
    padding: 5px;
}

#submit:hover{
    background-color: #B9B9CB;
}

.submit-container {
    text-align: center;
}

.triangle {
    width: 100%;
    height: 100%;
}

.triangle.top-grey {
    border-top: 30px solid #DCDCE6;
    border-right: 98vw solid transparent;
}

.triangle.top-greyblue {
    border-top: 30px solid #B9B9CB;
    border-right: 98vw solid transparent;
}

.triangle.bot-greyblue {
    border-bottom: 30px solid #B9B9CB;
    border-left: 98vw solid transparent;
}

.triangle.bot-blue {
    border-bottom: 30px solid #232352;
    border-left: 98vw solid transparent;
}

.panel a {
    color: #23527c;
}

.panel a h2 {
    transition: margin-left 1s;
}

.panel a:hover, .panel a:focus {
    text-decoration: none;
}

.panel a:hover h2 {
    margin-left: 7px;
    transition: margin-left 1s;
    text-decoration: none;
}

.panel a > * {
    text-decoration: none;
}

.panel a:focus h2 {
    text-decoration: none;
}

.panel-heading {
    padding-bottom: 0px;
    border-bottom: solid 2px #DCDCE6 !important;
}

.panel-collapse {
    background-image: url(../img/background-texture.png);
    background-repeat: repeat;
}

.panel-bottom {
    display: block;
    width: 100%;
    height: 15px;
}
