/******************************************/
/***CSS for SFD Ponderosa Template Sites***/
/******************************************/
*{}  *{} *{} *{}

/******************************************************************************/
/******************************* Bootstrap Hacks ******************************/
/******************************************************************************/

/********************************* Five Columns *******************************/

.col-xs-25,
.col-sm-25,
.col-md-25,
.col-lg-25 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-25 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-25 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-25 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-25 {
        width: 20%;
        float: left;
    }
}

/********************************** Ten Columns *******************************/

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-15 {
    width: 10%;
    float: left;
}

.col-xs-offset-15 {
    margin-left:10%;
}

@media (min-width: 768px) {
    .col-sm-15 {
        width: 10%;
        float: left;
    }
    .col-sm-offset-15 {
        margin-left:10%;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 10%;
        float: left;
    }
    .col-md-offset-15 {
        margin-left:10%;
    }    
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 10%;
        float: left;
    }
    .col-lg-offset-15 {
        margin-left:10%;
    }    
}

/******************************************************************************/
/****************************** Employee Database *****************************/
/******************************************************************************/

.mdb_row, .mdb-row {
    padding: 10px 0;    
}

.mdb_row .mdb_picture a, .mdb-row .mdb-picture a {
    border-bottom: none !important;
}

.mdb_picture img, .mdb-picture img {
    margin: 0 0 10px 0;
    max-width:300px;
	 width: 100%;
    height:auto;
}

.mdb_row .mdb_name, .mdb-row .mdb-name {
    margin:0 0 5px 0;
}

.mdb_contact h2, .mdb-contact h2 {
    margin-top:0;
}

.mdb_contact .office-hours p, .mdb-contact .mdb-office-hours p {
    margin-bottom: 5px;
    padding-left: 15px;
}

.mdb_contact p.cv-url, .mdb-contact p.cv-url {
    margin-bottom: 5px;
}

.mdb_row .mdb_title, .mdb-row .mdb-title {
    font-size:.75em;
}

.fdb_row {
    padding: 15px 0;
}

.fdb_row .fdb_column h3 {
    margin: 10px 0;
}

.fdb_picture .fdb_link {
    border-bottom:none;  
}

.fdb_name {
    padding:5px;
    line-height:1.15em;
}

.mdb_details h3:first-child {
    margin-top: 0;
}

#mdb-grid .mdb-row [class*="col-"] {
    padding-left: 0;
}

#mdb-grid .mdb-row {
    padding: 15px 0;
}

/* Large desktop */
@media (min-width: 1200px) { }
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { }
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .mdb_picture, .mdb-picture {
        float: left !important;
        width: 30%;
    }
    
    .mdb_contact, .mdb-contact {
        float: left !important;
        width: 60%;
    }
    
    .fdb_row .fdb_column, .fdb-row .fdb-column {
        clear:both;
    }
    
    .fdb_column .fdb_picture, .fdb-column .fdb-picture {
        float: left !important;
        margin: 0 0 30px !important;
        width: 30% !important;
    }
    
    .fdb_column .fdb_name, .fdb-column .fdb-name {
        float: left !important;
        margin: 0 0 0 5% !important;
        width: 64% !important;
    }
}
 
/* Landscape phones and down */
@media (max-width: 450px) { 
    
    .mdb_row, .mdb-row {
        text-align:center !important;
        padding:0 !important;
    }
    
    .mdb_picture, .mdb-picture {
        float: none;
        width: 100%;
    }
    
    .mdb_picture img, .mdb-picture img {
        max-height:250px !important;
        margin:0 0 15px 0 !important;
        /*width: inherit !important;*/
    }
    
    .mdb_contact, .mdb-contact {
        float: none;
        margin-left: 0;
        width: 100%;
    }
    
    .fdb_row .fdb_column, .fdb-row .fdb-column {
        clear:both;
        text-align:center;
    }
    
    .fdb_column .fdb_picture img, .fdb-column .fdb-picture img {
        max-height:250px !important;
        
    }
    
    .fdb_column .fdb_picture, .fdb-column .fdb-picture {
        float: left !important;
        margin: 0 0 0 0 !important;
        width: 100% !important;
    }
    
    .fdb_column .fdb_name, .fdb-column .fdb-name {
        float: left !important;
        margin:0 0 0 0 !important;
        width: 100% !important;
    }
    
    #mdb-grid .mdb-column {
        margin:15px 0;
    }
}

/******************************************************************************/
/****************************** Registration Form *****************************/
/******************************************************************************/ 
form > h1 {
    margin-top: 0 !important;
}

form h2 {
    clear: both;
    float: left;
    padding-top: 10px;
}

form a {
    font-weight: bold;
}

form em {
    float: left;
}

form label {
    clear: both;
}

form input {
    margin-right: 10px !important;
    margin-bottom: 10px !important;
    clear: both;
    float: left;
}

form label input {
}

form legend {
    margin-top:25px;
}

form input.cv-input {
    margin-bottom:10px;
}

fieldset .file-upload {
    margin-bottom:25px;
}

fieldset textarea {
    height: inherit !important; /*Added May 2016, this insures that defined text area lines will display properly in browsers. Central IT CSS defines a height of 32px to text area and will only render one line visible*/
    margin-bottom:10px;
}


/***** New Form Styling Overrides May 2015.  These may need to be removed in the future as other changes are made to the form-builder plugin, Ponderosa template, or HS Server integration with Central IT *****/ 
.radio label, .checkbox label {
    padding-left: 0;
}    

.checkbox .option {
    margin-left: 25px;
}

.option label {
    padding-left: 10px;
}

.radio_set .radio {
    margin-left: 30px;
}

ul.email_form {
    list-style: none;
}

ul.email_form li {
    padding: 5px 0;
}

/******************************************************************************/
/****************************** Profile Block *********************************/
/******************************************************************************/

.profile .profile-email {
    padding-left:0;
}

.profile_info .profile-lines p {
    margin-bottom: 5px;
}

.profile_info .profile-lines p:last-child {
    margin-bottom: 22px;
}

/******************************************************************************/
/****************************** Button Block *********************************/
/******************************************************************************/

.btn-pos-parent {
    position:relative;
}

.btn-pos-child {
    transform: translate(-50%, -50%); 
    left: 50%; 
    top: 50%; 
    margin: 0px; 
    padding: 0px; 
    position: absolute;
}

.separatedButtons div[class*="btn-count-"]:first-child a.img-btn, .separatedButtons div[class*="col-"]:first-child a.img-btn {
    margin-left: 0;
    margin-right: 8px;
}

.separatedButtons div[class*="btn-count-"]:last-child a.img-btn, .separatedButtons div[class*="col-"]:last-child a.img-btn {
    margin-left: 8px;
    margin-right: 0;
}

.separatedButtons .btn-count-6:nth-child(2) a.img-btn, .separatedButtons .btn-count-5:nth-child(2) a.img-btn {
    margin-left: 2px;
    margin-right: 6px;
}

.separatedButtons .btn-count-6:nth-last-child(2) a.img-btn, .separatedButtons .btn-count-5:nth-last-child(2) a.img-btn {
    margin-left: 6px;
    margin-right: 2px;
}

.separatedButtons .btn-count-6:nth-child(3) a.img-btn, .separatedButtons .btn-count-4:nth-child(2) a.img-btn {
    margin-left: 3px;
    margin-right: 5px;
}

.separatedButtons .btn-count-6:nth-last-child(3) a.img-btn, .separatedButtons .btn-count-4:nth-last-child(2) a.img-btn {
    margin-left: 5px;
    margin-right: 3px;
}

.separatedButtons .btn-count-5 a.img-btn, .separatedButtons .btn-count-3 a.img-btn {
    margin: 0 4px 5px;
}

.separatedButtons .img-btn {
    padding:0 !important;
    border:none;
}

a.img-btn .image_label h3 {
    text-shadow: 2px 2px 2px #000;
    background-color: rgba(130,130,130,0.5);
    font-size: 1.4em;
    line-height: 1.25em;
    padding: 15px 20px;
    margin: 0 !important;
}

/* Small devices (up to 767px) */
@media (max-width: 767px) {
    .separatedButtons .img-btn {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/******************************************************************************/
/**************************** Roster Accordions *******************************/
/******************************************************************************/

div.profile_accordion {
    font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}    

div.profile_accordion div.info_click{
    overflow: hidden;
    padding-left: 25px;
    margin-top: 25px;
}

.info_click .ui-icon {
    position: absolute !important;
    top:25px !important;
    left:5px !important;
}

.info_click h2{
    border-bottom: none;
    margin:2px 0 0 0;
    font-size:1.3em;
    font-weight:700;
    color:inherit;
}

.info_click p{
    padding: 5px !important;
}

.info_click a {
    font-size: 1em !important;
    text-decoration: underline !important;
    padding-left: 0 !important;
    border-bottom:none;
}
.info_click img{
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    max-height:182px;
}
.info_click ul{
    list-style-type: none;
    padding: 5px !important;
    margin:0;
}

div.ui-state-default, div.ui-widget-content div.ui-state-default, div.ui-widget-header div.ui-state-default {
    background: #E6E6E6;
}

/******************************************************************************/
/******************************** HS Footer ***********************************/
/******************************************************************************/

.footercontent .sfdFooter {
    text-align: center;
    background: rgba(245,245,245,0.8);
    border-top:1px solid #ccc;
}

.footercontent img {
    margin: 0;
    padding: 10px 0;
}

.footercontent img.sfdFooterLogo {
    width: 50px;
    padding: 15px 0 5px;
}

.footercontent img.casFooterLogo {
    width: 175px;
    margin-top:7px;
}

.footercontent p {
    padding-top:20px;
}

.footercontent .sfdFooter a {
    border-bottom:none;
}

/* Dark */

.footercontent .sfdFooter-dark {
    background-color: #555;
    color: #fbfbf5;
}

.footercontent .sfdFooter-dark a {
    color: #d5cdc5;
}

.footercontent .sfdFooter-dark a:hover, .footercontent .sfdFooter-dark a:focus {
    color: #fff;
    text-decoration: underline;
}

/***** FOOTER RESPONSIVE ******/
/* Large desktop */
@media (min-width: 1200px) { ... }
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { ... }
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
    .footercontent img.casFooterLogo {
        margin-top:0;
    }
    
    .footercontent p {
        padding-top:0;
    }
}
 
/* Landscape phones and down */
@media (max-width: 480px) { 
    .footercontent img.casFooterLogo {
        margin-top:0;
    }
    .footercontent p {
        padding-top:0;
    }
}
