/* c  [0, 320]
 * xs [320, 480]
 * s  [480, 768]
 * m  [768, 992]
 * l  [992, 1200]
 * xl [1200, inf]
 */

/*****************************************************************************/
/*                                                                           */
/*     BASE                                                                  */
/*                                                                           */
/*****************************************************************************/

body {
    background-color: #444;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1.125em;
}

h5 {
    font-size: 1.0625em;
}

h6 {
    font-size: 1.03125em;
}

#page-container {
    background-color: #D2D0CE;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
}

.panel {
    margin-bottom: 15px;
}

#content-container {
    padding-top: 15px;
    margin-bottom: 96px;
}

.red-cs-accent {
    color: #ef3e33;
}

@media (min-width: 992px) {
    .left-column {
        padding-right: 7.5px;
    }

    .right-column {
        padding-left: 7.5px;
    }

}

.list-group {
    margin-bottom: 0px;
}

.list-group > div > .list-group-item {
    padding-left: 30px;
}

.list-group-item {
    border: 0px;
    color: black !important;
}

.list-group-content {
    padding-left: 55px;
}

.label-default {
    background-color: #D2D0CE;
}

/*
 * Search Box
 */


@media (min-width: 992px) {
    .search-box {
        float: right!important;
    }
}

/*
 * Back to top
 */
#back-to-top {
    position: fixed;
    bottom: 0.5em;
    right: 0.5em;
    text-decoration: none;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    padding: 0.8em 0 0 1em;
    margin: 15px;
    width: 3em;
    height: 3em;
    display: inline;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

#back-to-top:hover {
    background-color: rgba(135, 135, 135, 0.50);
    color: #fff;
}

form input[type=submit] {
    margin-top: 15px;
}

/*****************************************************************************/
/*                                                                           */
/*     HEADER                                                                */
/*                                                                           */
/*****************************************************************************/

#header-container {
    background-color: #444;
}

#top-red-bar {
    height: 5px;
    background-color: #92392e;
}

/*
 * Logo
 */

#cs-logo {
    max-height: 110px;
}

@media (max-width: 992px) {
    #cs-logo-container {
        text-align: center;
    }
}

/*
 * search
 */

#header-search-box {
    margin-top: 15px;
    margin-bottom: 15px;
}

#header-search-text-field {
    background-color: #444;
    color: #D2D0CE;
}


/*
 * Nav Bar
 */

#nav-bar {
    float: right!important;
    margin-bottom: 15px;
}

/* center nav bar when page is narrow */
@media (max-width: 992px) {
    #nav-bar {
        position: relative;
        left: -50%;
        text-align: left;
        margin: 15px;
    }

    #nav-bar ul {
        list-style: none;
        position: relative;
        left:50%;
    }
}

.dropdown-toggle {
    color: #fff;
}

.dropdown-toggle:hover {
    color: #444;
}

/*****************************************************************************/
/*                                                                           */
/*     INDEX                                                                 */
/*                                                                           */
/*****************************************************************************/

.index-box {
    margin-bottom: 15px;
}
/*Boxes */
.index-box-content {
    background-color: #fff;
    padding: 0px 15px 15px 15px;
}


@media (max-width: 992px) {
    #content-container {
        padding-bottom: 0px;
    }
}

/* items in boxes */
.index-item {
    border-style: none none solid none;
    border-color: #D2D0CE;
    border-width: 1px;
    padding-top: 10px;
    color: #333;
}

@media (min-width: 992px) {
    .index-item-title {
        height: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.index-item:hover {
    background-color: #f5f5f5;
    color: #92392E;
    text-decoration: none;
}

.index-view-more {
    text-align: center;
    padding-top:15px;
    color: #92392e;
}

.index-view-more a {
    padding: 10px;
}

/*
 * Banners for boxes
 */
.banner {
    float: left;
    display: block;
    min-width: 180px;
    background: rgba(0,0,0,0.6);
    padding-top: 12px;
    padding-left: 18px;
}

.red-underline {
    border-bottom: 3px solid #92392e;
    height: 60px;
}

.banner-title {
    font-weight: 300;
    font-size: 24px;
    color: #fff !important;
}

.banner-title:hover {
    background: transparent !important;
    font-weight: 300;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
}

.banner-title:active {
    font-weight: 300;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
}

.left-triangle {
    float: left;
    width: 60px;
    height: 57px;
    display: inline-block;
    text-indent: -9999px;
    border-top: 57px solid transparent;
    border-left: 57px solid rgba(0,0,0,0.6);
}

#top-left-banner {
    background: url('/static/index/research.jpg') 36px -9px;
}

#top-right-banner {
    background: url('/static/index/events.jpg') center center;
}

#bottom-left-banner {
    background: url('/static/index/awards.jpg') 55px -27px;
}

#bottom-right-banner {
    background: url('/static/index/news.jpg') center center;
}

/*
 * Slide show
 */
.index-box-slideshow {
    background-color: #fff;
    padding: 0px;
    min-height: 481px;
}

#slideshow {
    position: relative;
    overflow: hidden;
    height: 481px;
    width: 100%;
    top: 0px;
    left: 0px;
}

.slideshow-container {
    height: 431px;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0px;
}

.slideshow-container p {
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    width: 100%;
    padding: 15px 15px 0px 15px;
    background: rgba(0,0,0,0.6);
    color: white !important;
}

.slideshow-container a {
    color: white !important;
}

.slideshow-background-image {
    z-index:-1;
    width: 100%;
}

.slideshow-control-container {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 50px;
    background: rgba(0,0,0,0.6);
}

/* overwriting bootstrap classes for slideshow */
.carousel-inner {
    height: 100%;
}

.carousel-inner item {
    position: relative;
    overflow: hidden;
}

.carousel-indicators {
    bottom:0px;
    margin-bottom:15px;
}

.carousel-indicators li {
    border: 1px solid white;
}

.carousel-indicators .active {
    background-color: white;
}

.carousel-control {
    background-image:none !important;
    height: 50px;
    top:auto!important;
    bottom:0px;
    color: white;
    text-shadow: none;
}

.carousel-control:hover {
    background-color: transparent !important;
}

.carousel-control span {
    top: 15px !important;
    margin-top: 0px !important;
    color: white;
}

/* News */
.calendar-box {
    border: 1px solid #D2D0CE;
    border-radius: 5px;
    margin-right: 15px;
    min-width: 50px;
    height: 50px;
    background: #f6f6f6;
    display: block;
    float: left;
}

.calendar-month {
    background: #92392E;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    padding: 0;
}

.calendar-date {
    text-align: center;
    font-size: 20px;
    color: #777;
    font-weight: 200;
}

/*****************************************************************************/
/*                                                                           */
/*     CONTENT                                                               */
/*                                                                           */
/*****************************************************************************/

/* general text formatting across the site */
h1, h2, h3, h4, h5 {
    color: #92392e;
    font-weight: 300;
}

/* remove bootstrap margin on first header in content so it lines up with the
 * top of the content box properly
 */
#content-container h1:first-of-type,
#content-container h2:first-of-type,
#content-container h3:first-of-type,
#content-container h4:first-of-type,
#content-container h5:first-of-type {
    margin-top: 0px;
}

hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.panel-body > p:last-child {
    margin-bottom: 0px;
}

#content-container a {
    color: #92392e;
    text-decoration: none;
}

#content-container a:hover {
    color: #92392e;
    background-color: #f5f5f5;
    text-decoration: none;
}

.content-list-group .list-group-item {
    border-top: 1px solid #D2D0CE;
}

.content-list-group .list-group-item:first-of-type {
    border-top: none;
}

.content-list-group > panel-collapse {
    padding-bottom: 15px;
}



/*****************************************************************************/
/*                                                                           */
/*     DOCS                                                                  */
/*                                                                           */
/*****************************************************************************/

#docs-search-box {
    margin-bottom:15px;
}

@media (min-width: 992px) {
    #docs-search-box {
        width: 33.3%;
    }
}

/*****************************************************************************/
/*                                                                           */
/*     FORMS                                                                 */
/*                                                                           */
/*****************************************************************************/

.errorlist {
    list-style-type: none;
}

label {
    margin-top: 15px;
}

/*form input[type='file'] {
    margin-bottom: 15px;
}*/

/*****************************************************************************/
/*                                                                           */
/*     FOOTER                                                                */
/*                                                                           */
/*****************************************************************************/

#footer-container {
    position: absolute;
    bottom: 0;
    height: 96px;
    width: 100%;
    background-color: #444;
    color:#fff;
}

#footer-copyright {
    color: #A0A0A0;
    font-size: 16px;
    margin-top: 54px;
    margin-bottom: 20px;
}

#footer-logo {
    max-height: 60px;
    margin-top: 15px;
    margin-bottom: 15px;
}
