html {
    position: relative;
    min-height: 100%;
    min-width: 560px;
    padding-bottom: 450px;
}
a{
    color: #000;
}
a:hover{
color: #94070A;
text-decoration: none;
}
.margin-blank-5 {
margin: 5px;
}
.padding-left-5{
padding-left: 5px;
}
.padding-5{
padding:5px;
}
.border{
border: 1px solid #EEE;
}
.border-top{
border-top: 1px solid #EEE;
}
.border-bottom{
border-bottom: 1px solid #EEE;
}
.border-left{
border-left: 1px solid #EEE;
}
.border-right{
border-right: 1px solid #EEE;
}
.no-indent p{
text-indent:0;
}
.highlight {
padding: 9px 14px;
margin-bottom: 14px;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
border-radius: 4px;
}
.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
#global-header{
    background-color: #94070A;    
}
#global-header a, #global-header a:hover{
    color: #FFF;
}
#global-header .head-links{
    background-color: #700005;
    padding: 5px;
}
#global-header .logo-bar{
    height: 115px;
    width: 100%;
}
#global-header .logo-bar .logo{
    height: 115px;
    background: url(../images/psy_logo.png) left center no-repeat;
}
.navbar{
    margin-bottom: 0;
}
.navbar-nav>li>a {
    padding: 10px;
}
#navbar{
    margin-left: -15px;
    margin-right: -15px;
    font-size: 1.2em;
}
#hpCarousel, #main-content{
    margin-bottom: 15px;
}

/* CSS in index #content */
.carousel {
    height: 300px;
    margin-bottom: 15px;
    padding-left: 10%;
    padding-right: 10%;
    /* background-color: #777; */
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
    text-align: left;
    background: #000;
    padding: 10px 15px ;
    opacity: 0.35;
    bottom: 30px;
    color: #FFF;
}
.carousel-indicators li{
    border: 1px solid #777;
}
.carousel-indicators li.active{
    background-color: #777;
}
/* Declare heights because of positioning of img element */
.carousel .item {
    height: 300px;
}
.carousel-inner > .item > img {
    position: absolute;
    top: 15px;
    left: 0;
    min-width: 100%;
    height: 270px;
}
#hpCarousel{
    background-color: #a0a0a0;
}
#hpCarousel .carousel-inner > .item > img {
    position: absolute;
    top: 15px;
    right: 85px;
    left: auto;
    min-width: auto;
    /* min-width: 100%; */
    height: 270px;
}
.carousel-indicators {
    bottom: -5px;
}

/*==== index =====*/
#main-content p{
    margin-bottom: 1em;
    line-height: 2em;
}
#main-content .mcontent-block{
    padding: 10px;
    margin-bottom: 10px;
    max-height: 600px;
    overflow: hidden;
}
#main-content .mcontent-block h3{
    border-bottom: 3px solid #94070A;
    padding: 5px;
}
#main-content .mcontent-block p{
    padding-left: 5px;
    padding-right: 5px;
}
#main-content .mcontent-block .seminars-entity:hover .date-wrap {
    background-color: #94070A;
}
#main-content .mcontent-block .row{
    margin-bottom: 10px;
    max-height: 120px;
    overflow: hidden;
    clear: both;
}
#main-content .mcontent-block .container-fluid{
    padding: 0;
}
#main-content .mcontent-block .row .news-img img{
    max-width: 85px;
    max-height: 85px;
}
#seminars .semi-date{
    text-align: center;
}
#seminars .semi-date .date-wrap{
    background-color: #6b6860;
    padding: 10px 0;
}
#seminars .semi-date .date-wrap>.date-month{
    color: #fbfbf9;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 12px;
    text-transform: uppercase;
}
#seminars .semi-date .date-wrap>.date-day {
    color: #fbfbf9;
    font-size: 25px;
    font-weight: 300;
    line-height: 18px;
}
#seminars .semi-title{
    padding-left: 0;
}

/*==== page =====*/
#main-content .leftbar{
    border: 0;
    padding: 10px 0;
    border-top: 3px solid #94070A;
    font-size: 1.2em;
}
#main-content .leftbar #subMenu li{
    border-bottom: 1px solid #CCC;
}
#main-content .leftbar #subMenu ul:last-child>li:last-child{
    border-bottom: 0;
}
#main-content .rightbar .title {
    margin-bottom: 10px;
    border-bottom: 1px solid #94070A;
}
#main-content .rightbar .title h2{
    margin-top: 6px;
}
#main-content .rightbar p span.date{
  display: block;
  padding-left: 5px;
  padding-right: 5px;
  color: #94070A;
}
#main-content .rightbar .list-text p {
    padding: 5px;
    border-bottom: 1px solid #EEE;
}

#main-content .rightbar .list-text p a{
  display: block;
}
#main-content .rightbar .list-text p span.date{
  float: right;
  /*height: 100%;*/
  text-align: right;
}
#main-content .rightbar .list-text p.padding-right a{
    display: block;
    padding-right: 96px;
}
#main-content .rightbar .with-pic p{
    border-bottom: 0;
}
#main-content .rightbar .with-pic .container-fluid{
    padding: 0;
}
#main-content .rightbar .with-pic .post-entity{
    margin-bottom: 5px;
}
#main-content .rightbar .with-pic .post-entity .img-wrap img{
    max-width: 85px;
    max-height: 85px;
}
.pagination > li > a, .pagination > li > span{
    color: #000;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #700005;
    border-color: #700005;
}

/*==== people =====*/
.faculty-list{
    margin-top: 20px;
}
.faculty-list .faculty-entity{
    border-bottom: 1px solid #a0a0a0;
    padding: 10px 0;
}

.faculty-list .faculty-entity .faculty-photo{
    margin: 0;
    padding: 0;
    height: 100px;
    width: 100px;
    overflow: hidden;
    float: left;
}
.faculty-list .faculty-entity .faculty-photo img{
    max-width: 100px;
    max-height: 100px;
}
.faculty-list .faculty-entity .faculty-info{
    margin-left: 120px;
}
.faculty-list .faculty-entity .faculty-info h3{
    margin: 0;
}
    
#content-head{
    height: 280px;
    padding: 40px 0;
}
#content-head .faculty-photo{
    margin: 0;
    padding: 0;
    height: 200px;
    width: 200px;
    overflow: hidden;
    float: left;
}
#content-head .faculty-photo img{
    max-width: 200px;
    max-height: 200px;
}
#content-head .faculty-info{
    margin-left: 220px;
}

#main-content .people .tab-pane{
    padding: 1em 5px;
    border: 1px solid #DDD;
    border-top: 0;
}
#main-content .people .tab-pane#pubs p{
    margin: 0;
    line-height: 1.5em;
    padding:10px 5px 5px 5px;
    border-bottom:solid 1px #E0E0E0;
}
#main-content .people .tab-pane#pubs p:nth-child(odd){
    background:#F9F9F9;
}
#main-content .people .tab-pane#pubs p:last-child{
    border-bottom: 0px;
}
#main-content .people .tab-pane#pubs p:hover{
    background:#F0F0F0;
}

#footer{
    position: absolute;
    bottom: 120px;
    width: 100%;
    min-height: 160px;
    background-color: #700005;
    color: #FFF;
}
#footer a{
    color: #FFF;
}
.global-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    background-color: #f5f5f5;
    padding: 15px;
}


@media (min-width: 768px) {
    html{
        padding-bottom: 300px;
    }
    #navbar>.nav>li:first-child{
        margin-left: -15px;
    }
    #main-content #aboutus{
        height: 350px;
    }
    #main-content #news{
        width: 49%;
        margin-right: 1%;
    }
    #main-content #seminars{
        width: 49%;
        margin-left: 1%;
    }
    #main-content .mcontent-block{
        height: 560px;
    }
    #main-content .mcontent-block .row{
        max-height: 140px;
    }
    #main-content .mcontent-block .row .news-img img{
        max-width: 64px;
        max-height: 64px;
    }
    #main-content .rightbar .with-pic .post-entity{
        max-height: 140px;
    }
    #main-content .rightbar .with-pic .post-entity .img-wrap img{
        max-width: 64px;
        max-height: 64px;
    }
}
@media (min-width: 992px) {
    .navbar-nav>li>a {
        padding: 15px;
    }
    #main-content #news{
        margin-left:1.5%;
        margin-right:1.5%;
    }
    #main-content #seminars, #main-content #news, #main-content #aboutus{
        width: 32%;
        height: 560px;
    }
    #main-content .mcontent-block .row{
        max-height: 120px;
    }
    #main-content .mcontent-block .row .news-img img{
        max-width: 70px;
        max-height: 70px;
    }
    #main-content .rightbar .with-pic .post-entity{
        max-height: 120px;
    }
    #main-content .rightbar .with-pic .post-entity .img-wrap img{
        max-width: 70px;
        max-height: 70px;
    }
    #main-content .rightbar .with-pic .post-entity .col-md-10 {
        margin-left: -40px;
    }
    #main-content .rightbar .with-pic .post-entity .col-md-10 p{
        margin-right: -40px;
    }
}
@media (min-width: 1200px){
    #main-content .mcontent-block{
        height: 460px;
    }
    #main-content .mcontent-block .row{
        max-height: 110px;
    }
    #main-content .mcontent-block .row .news-img img{
        max-width: 120%;
        max-height: 120%;
    }
    #main-content .rightbar .with-pic .post-entity{
        max-height: 120px;
    }
    #main-content .rightbar .with-pic .post-entity .img-wrap img{
        max-width: 110px;
        max-height: 110px;
    }
}
@media (min-width: 2000px){
    .carousel {
        padding-left: 15%;
        padding-right: 15%;
    }
}
@media (max-width: 600px){
    .carousel {
        padding-left: 10px;
        padding-right: 10px;
    }
    .carousel-inner > .item > img {
        position: absolute;
        top: 15px;
        right: 0px;
        /* left: 0; */
        min-width: 100%;
        height: 270px;
    }
    
}