body {
    padding-top: 50px;
    background: #FCFCFC;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3 {
    color: #224E76;
    border-bottom: 1px solid #DEDEDE;
}

@font-face {
    font-family: 'Duolos';
    src: url('/fonts/DoulosReduced.ttf');
}

.duolos {
    font-family: 'Duolos';
}
@font-face {
    font-family: 'Komu';
    src: url('/fonts/komu.woff');
}
.komu {
    font-family: 'Komu';
}
.aaisp-blue {
    color: #084c71;
}
.btn {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}
@media(min-width: 768px) {
    .row-eq-height {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display:         flex;
    }
}

/* Repsponsive text */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 18px;
    }
}

/* Common text styles */
.error-text {
    color: #9a0000;
}

/* Common element styles */
.page-anchor {
    display: block;
}
.page-anchor:target:before {
    content:"";
    display:block;
    height:50px; /* fixed header height*/
    margin:-50px 0 0; /* negative fixed header height */
}

/* Footer */
.footer {
    background-color: #373737;
    text-align: left;
    padding: 1.5em 3em;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.5);
    color: #a3a3a3;
}

.footer h6 {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.3em;
}

.footer a {
    text-decoration: none;
    color: #a3a3a3;
}

.footer ul {
    list-style-type: none;
}

.footer a:hover {
    text-decoration: underline;
    color: #FFFFFF;
}

.footer-popular li {
    display: block;
}

.footer-popular li:before {
    content: "\e080";
    font-family: 'Glyphicons Halflings';
    font-size: 9px;
    float: left;
    margin-top: 4px;
    margin-left: -17px;
    color: #CCCCCC;
}
.footer-contact-table td {
    padding: 5px 0;
}
.footer-contact-table td:first-child {
    padding: 5px;
}

.footer-location {
    margin-top: 1em;
}

.footer-social {
    margin-left: 30px;
    margin-top: 20px;
    padding-bottom: 18px;
}

.footer-social-icon {
    background-repeat: no-repeat;
    background-position: -19px -1px;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #838383;
    margin-right: 3px;
}

.footer-social-icon:hover {
    background-position: -1px -1px;
}
.footer-chapter a {
    display: block;
    margin: 0 auto;
}
.footer-chapter a img {
    transition: all .2s;
    opacity: .7;
}
.footer-chapter a:hover img {
    opacity: 1;
}
.footer-chapter a:hover {
    background-position: -373px;
}

/* Panels */
.panel-headline {
    font-weight: bold;
    font-size: 1.1em;
}

.panel-default>.panel-heading {
    color: #FFF;
    background-image: url(/img/bg/nav-bg.png);
    background-size: auto 100%;
}
.panel-default>.panel-heading a {
    color: #FFF;
}

.panel-gray>.panel-heading {
    color: #333 !important;
    background-color: #e4e4e4 !important;
    border-color: #ddd !important;
    background-image: none;
}
.panel-gray>.panel-heading a {
    color: #FFFFFF !important;
}
.panel-gray {
    border: 1px solid #EEEEEE;
}

.simple-panel {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 5px 15px 0px;
    background-color: #FFF;
    padding: 19px;
    margin-bottom: 1em;
}
.simple-panel h1, .simple-panel  h2, .simple-panel  h3 {
    margin-top: 10px;
}

.list-group-dark-gray>.list-group-item.active {
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
    border: 1px solid #404040;
    color: #FFFFFF !important;
    background: #373737 url(/img/bg/nav-bg-dark-gray.jpg) repeat-x 0 0;
}
.list-group-dark-gray>.list-group-heading a {
    color: #FFFFFF !important;
}

/* List groups */
.list-group-header {
    text-align: center;
    font-weight: bold;
}

/* Bootstrap tweaks */
.well {
    background-color: #FFFFFF;
}
#common-modal .modal-body {
    max-height: 30em;
    overflow-y: auto;
}

/* Sponsor slider */
.slider-sponsors-container {
    background-color: #FFFFFF;
    height: 60px;
    border-top: 1px dotted #454545;
}
.slider-sponsors {
    padding: 0;
    height: 50px;
}
.slider-sponsors a {
    height: 50px;
    max-width: 145px !important;
}
.slider-sponsors img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.slider-sponsors a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70); /* For IE8 and earlier */
}
.slider-sponsors a {
    display: inline-block;
    border-right: 1px solid #DEDEDE;
    padding: 0 2em;
}
.slider-sponsors li {
    text-align: center;
}

/* bxSlider tweaks */
.bxslider, .bxslider li{
    height: 100% !important;
}
.bx-controls-direction a {
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.bx-wrapper:hover .bx-controls-direction a {
    opacity: 1;
}

/* Fading carousel */
.carousel-fade .carousel-inner .item {
    -webkit-transition-property: opacity;
    transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
    z-index: 2;
}

/* Additional button styles */

/* Outline Button */
.btn.outline {
    background: none;
    padding: 12px 22px;
}
.btn-primary.outline {
    border: 2px solid #0099cc;
    color: #FFF;
    -webkit-transition: all .2s;
}
.btn-primary.outline:hover, .btn-primary.outline:focus, .btn-primary.outline:active, .btn-primary.outline.active, .open > .dropdown-toggle.btn-primary {
    color: #FFF;
    background-color: #005a79;
    border: 2px solid #004357;
}
.btn-primary.outline:active, .btn-primary.outline.active {
    border-color: #007299;
    color: #FFF;
    box-shadow: none;
}

/* Common effects */
.pop-in, .pop-in-bottom, .pop-in-left, .pop-in-right, .fade-in-left, .fade-in-right, .fade-in-bottom {
    visibility: hidden !important;
}