/* Styles for home page carousel */

#photo .outer_wrap {
    width: 100%;
    max-width: 100%;
}

#photo .inner_wrap {
    padding: 0;
}

.content_box._slideshow-block {
    padding-bottom: 0;
    margin-bottom: 0;
}

.content_box ._slideshow2 .flex-control-nav {
    top: 12px;
    right: 10px;
    bottom: auto;
}

._slideshow2 .flex-direction-nav a {
    height: 50%;
    top: 25%;
}

._slideshow2 dl {
    font-family: "Futura-PT", "Lucida Grande", "Lucida Sans", Verdana, sans-serif;
    position: absolute;
    left: 0;
}

.content_box._slideshow-block p {
    font-family: "Futura-PT", "Lucida Grande", "Lucida Sans", Verdana, sans-serif;
    position: absolute;
    font-size: 2.2em;
    text-transform: uppercase;
    line-height: 100%;
    margin: 0;
    padding: 0;
    background: rgba(0,40,85,.6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC002855, endColorstr=#CC002855);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC002855, endColorstr=#CC002855)";
}

.content_box._slideshow-block p a {
    display: block;
    color: #FFF;
    border-bottom: 0 none;
    padding: 10px 35px 10px 15px;
    background: transparent url('../images/home/arrow_right_white.gif') scroll no-repeat right center;
}

.content_box._slideshow-block p.left {
    left: 40px;
}

.content_box.unbordered ._slideshow2 dl dt {
    min-width: 6em;
    text-align: right;
    font-size: 1.2em;
    color: #F8EECC;
    text-transform: uppercase;
    font-weight: normal;
    font-style: normal;
    float: left;
    margin: 0;
    padding: 0.8em 10px 0.9em;
    background: rgba(0,40,85,.6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC002855, endColorstr=#CC002855);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC002855, endColorstr=#CC002855)";
}

._slideshow2 dd {
    /*font-weight: 400;*/
    font-size: 2.2em;
    color: #FFF;
    display: inline-block;
    float: left;
    margin: 0;
    padding: 0;
    background: rgba(0,0,0,.8);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000, endColorstr=#CC000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000, endColorstr=#CC000000)";
}

._slideshow2 dd a {
    color: #FFF;
    border-bottom: 0 none;
    padding: 0.41em 10px 0.51em;
    display: block;
}

/*._slideshow2 .one dl {
    position: absolute;
    left: 40px;
    background: rgba(0,40,85,.6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC002855, endColorstr=#CC002855);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC002855, endColorstr=#CC002855)";

}*/

/*._slideshow2 .one p {
    font-family: "Futura-PT", "Lucida Grande", "Lucida Sans", Verdana, sans-serif;
    position: absolute;
    font-size: 2.2em;
    text-transform: uppercase;
    line-height: 100%;
    margin: 0;
    padding: 0;
    background: rgba(0,40,85,.6);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC002855, endColorstr=#CC002855);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC002855, endColorstr=#CC002855)";
}

._slideshow2 .one p a {
    display: block;
    color: #FFF;
    border-bottom: 0 none;
    padding: 10px 35px 10px 15px;
    background: transparent url('../images/home/arrow_right_white.gif') scroll no-repeat right center;
}*/

/*.content_box.unbordered ._slideshow2 .one dl dt {
    font-family: "Futura-PT","Lucida Grande","Lucida Sans",Verdana,sans-serif;
    font-size: 2.2em;
    color: #FFF;
    text-transform: uppercase;
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    background: none;
}

._slideshow2 .one dd {
    font-family: "Futura-PT","Lucida Grande","Lucida Sans",Verdana,sans-serif;
    font-size: 2.2em;
    color: #FFF;
    display: block;
    margin: 0;
    padding: 0;
    background: none;
}

._slideshow2 .one dt a, ._slideshow2 .one dd a {
    color: #FFF;
    border-bottom: 0 none;
    padding: 0.4em 10px 0.5em;
    display: block;
}*/

._slideshow2 dd a.video {
    background: transparent url('../images/home/video_icon.gif') scroll no-repeat right 50%;
    padding-right: 50px;
}

._slideshow2 dd a.slideshow {
    background: url("../images/home/slideshow_icon.png") no-repeat scroll right 50% rgba(0, 0, 0, 0);
    padding-right: 50px;
}

._slideshow2 dd a:hover,
._slideshow2 dd a:focus {
    color: #FFF;
}

._slideshow2 .top {
    top: 10%;
}

._slideshow2 .bottom {
    bottom: 10%;
}

.content_box._slideshow-block img.img_overlay {
    position: absolute;
    right: 40px;
    width: 225px;
}

.content_box._slideshow-block img.img_overlay.top {
    top: 10%;
}

.content_box._slideshow-block img.img_overlay.bottom {
    bottom: 10%;
}

.content_box._slideshow-block img.img_overlay.one_logo {
    right: 40px;
    bottom: 10%;
    top: auto;
}

@media screen and (max-width: 1150px) {

    .content_box._slideshow-block img.img_overlay.one_logo {
        width: 200px;
    }

}

._slideshow2 .one p {
    background: transparent;
    font-weight: bold;
    margin-bottom: 0;
    margin-right: 280px;
    padding-bottom: 0;
    font-size: 2.75em;
}

.content_box._slideshow-block .one p {
    left: 40px;
}

.content_box._slideshow-block .one p a {
    padding: 0;
    background-image: none;
}

.content_box._slideshow-block .one p.bottom {
    bottom: 8%;
}


._slideshow2 dd span.small {
    font-size: 0.65em;
    display: inline;
}

._slideshow2 .flexslider .slides li {
    line-height: 0;
}

._slideshow2 .flexslider .slides li dl, ._slideshow2 .flexslider .slides li p {
    line-height: 140%;
}


/*------------------------------ RESPONSIVE ADDITIONS ------------------------------*/

@media only screen and (max-width: 767px) {

    ._slideshow2 dl {
        position: relative;
    }

    ._slideshow2 dd a {
        padding: 5px 10px 6px;
    }

    ._slideshow2 .flexslider ul.slides li {
        background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8);
    }

    .content_box.unbordered ._slideshow2 dl dt {
        float: none;
        min-width: auto;
        padding: 0.3em 10px 0.4em;
        text-align: left;
    }

    ._slideshow2 dd {
        display: block;
        float: none;
        font-size: 1.6em;
        margin: 0;
        padding: 0;
        background: none;
        line-height: 1.2;
    }

    ._slideshow2 dd a.video {
        background: none;
        padding-right: 50px;
    }

    ._slideshow2 dd a.slideshow {
        background: none;
        padding-right: 50px;
    }

    ._slideshow2 .flex-direction-nav a {
        width: 25px;
        height: 34px;
        top: 2%;
    }

    /* Mobile styles for One UC Davis slides */

    ._slideshow2 .one p {
        margin: 0 82px 0 0;
        font-size: 1.5em;
        padding: 0;
        line-height: 0;
    }

    .content_box._slideshow-block .one p a {
        padding: 8px 10px 5px 10px;
        line-height: 1.2;
    }

    .content_box._slideshow-block .one p {
        left: auto;
        position: relative;
        background: none;
        margin-right: 82px;
    }

    .content_box._slideshow-block .one p.left {
        float: none;
    }

    .content_box._slideshow-block .one p.top, .content_box._slideshow-block .one p.bottom {
        bottom: auto;
        top: auto;
    }

    .content_box._slideshow-block img.img_overlay {
        bottom: 0;
        right: 0;
        width: 70px;
        z-index: 99;
        position: absolute;
        margin: 8px 5px 0 0;
    }

    .content_box._slideshow-block img.img_overlay.bottom {
        bottom: 8px;
    }
    
    .content_box._slideshow-block img.img_overlay.one_logo {
        bottom: 8px;
        margin: 0;
        right: 5px;
        top: auto;
        width: 80px;
    }

    ._slideshow2 dd a, ._slideshow2 dd a.video {
      padding-right: 75px;
    }

}

