/* 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;
}

p {
    line-height: 150%;
}

#page-container {
    background-color: #FFF;
    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: 0;
    color: black !important;
}

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

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

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

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

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

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

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

/*
 * Search Box
 */


@media (min-width: 992px) {
    .search-box {
        padding: none;
        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;
}

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

#header-container {
    background-image: linear-gradient(to bottom, white 50%, #424242 50%);
}

#header-content-container {
    padding-top: 15px;
    margin-right: 20px;
    background: #fff;
    margin-left: none;
    float: right;
}

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

/*
 * Logo
 */

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

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

/*
 * search
 */

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

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


/*
 * Nav Bar
 */

#nav-bar {
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 15px;
    margin-top: 5px;
}

/* 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 {
    font-weight: bold;
    color: #fff;
}

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

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

.index-box {
    margin-bottom: 15px;
}

.index-box-content {
    background-color: #fff;
    padding: 0 15px 15px 10px;
}

.index-box-careers {
    background-color: #fff;
    padding: 0 15px 0 10px;
}

.index-box-careers > a:last-of-type > div {
    border-color: #fff;
}

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

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

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

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

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

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

/*
 * Banners for boxes
 */
.banner {
    float: left;
    display: block;
    min-width: 180px;
    background:#fff;
    padding-top: 12px;
    padding-left: 18px;
}

.red-underline {
    border-bottom:1px solid #fff;
    height: 50px;
    padding-left: 5px;
    padding-right: 5px;
}

.banner-title {
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 1px;
    color: #424242 !important;
}

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

.banner-title:active {
    font-weight: 400;
    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: 0;
    min-height:550px;
}

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

.slideshow-container {
    border:10px rgba(0, 0, 0, 0.6);
    height:500px;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
}

.slideshow-container p {
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    width: 100%;
    padding: 15px 15px 0 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: 0;
    bottom: 0;
    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: 0;
    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: 0;
    color: white;
    text-shadow: none;
}

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

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

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

.calendar-month {
    background: #cbcbcb;
    color: #424242;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
}

.calendar-date {
    text-align: center;
    font-size: 13px;
    color: #424242;
    font-weight: 400;
}

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

/* general text formatting across the site */
h1 {
    color:#ed1b2f;
    font-weight: 500;
} 

h2, h3, h4, h5 {
    color: #ed1b2f;
    font-weight: 400;
}

/* 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: 0;
}

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

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

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

#content-container a:hover {
    color: #ed1b2f;
    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;
}

/* FAQ page specifics */
h3.faq {
    font-size: 1em;
    color: #333;
}

h3.faq::before {
  font-weight: bold;
  content: "Q: ";
}
p.faq::before {
  font-weight: bold;
  content: "A: ";
}

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

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

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

/*****************************************************************************/
/*                                                                           */
/*     RESEARCH AREAS                                                        */
/*                                                                           */
/*****************************************************************************/

/* Overflow: scrolling for interest */

.interest{
    max-height: 120px;
    scrollbar-width: none;
    overflow-y: auto;
    -ms-overflow-style: none;
}

.interest::-webkit-scrollbar { width: 0 !important}

/*
::-webkit-scrollbar-corner {  background: rgba(0, 0, 0, 0);}
::-webkit-scrollbar-button {  background: rgba(0, 0, 0, 0);}
::-webkit-scrollbar-track {  background: rgba(0, 0, 0, 0);}
*/
/*****************************************************************************/
/*                                                                           */
/*     FOOTER                                                                */
/*                                                                           */
/*****************************************************************************/

#footer-container {
    position: absolute;
    bottom: 1;
    height: 130px;
    width: 100%;
    background-color: #000;
    color:#fff;
}

#footer-copyright {
    color: #A0A0A0;
    font-size: 16px;
    float: right;
    background-color: 000;
    padding-right: 70px;
}

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

/*****************************************************************************/
/*                                                                           */
/*     DONATE                                                                */
/*                                                                           */
/*****************************************************************************/

.donate-container {
    background-color: #424242;
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.donate-content-upper {
    text-align: center;
    color: #fff !important;
    font-size: 36px;
    font-family: 'Times New Roman', Times, serif;
    
}

.donate-content-lower {
    text-align: center;
    color: #fff !important;
    font-size: 20px;
    font-weight: lighter;
}

/*****************************************************************************/
/*                                                                           */
/*     IMPORTANT@CS                                                          */
/*                                                                           */
/*****************************************************************************/

.important-container-red {
    background-color: #ae0e1d;
    padding: 5px;
    text-align: center;
    justify-content: center;
    display: flex;
    margin-top: 10px;
    margin-left: -10px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.important-container-dark {
    background-color: #630811;
    padding: 5px;
    text-align: center;
    justify-content: center;
    display: flex;
    margin-top: 10px;
    margin-left: -10px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.important-content {
    text-align: center;
    color: #fff !important;
    font-size: 18px;
}

.important-image-container{
    margin-top: 10px;
    margin-bottom: 10px;
}

.image-box{
    border: solid #ed1b2f;
}

/*****************************************************************************/
/*                                                                           */
/*     EVENTS@CS                                                             */
/*                                                                           */
/*****************************************************************************/

.events-item {
    padding-top: 10px;
    color: #333;
    padding-bottom: 10px;
}
@media (min-width: 992px) {
    .events-item-title {
        padding-top: 10px;
        padding-bottom: 10px;
        height: 35px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* color: #000; */
    }
}

.events-item:hover {
    background-color: #f5f5f5;
    color: #ed1b2f;
    text-decoration: none;
}
