/*
Theme Name: SMPH Radiology Theme
Theme URI: none
Author: SMPH Radiology IT
Author URI: https://radiology.wisc.edu/
Description: This theme is a child theme of the Univerisity of Wisconsin theme 'uw-theme'. It is for the SMPH Radiology department.
Template: uw-theme
Version: 1.1.0-uw1.16.0
License:
License URI:
Text Domain: radiology-uw-theme-child
Tags: uwmadison radiology
*/

.padding-bottom-20px {
    padding-bottom: 20px;
}

div.acf-field-59c57b0f81f19{
    border-top: none!important;
    padding-top: 5px!important;
}

.redOnly input{
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
    font-weight: bold;
    color: #f40f2a;
    font-size: 25px;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events:none;
}

.redOnly .acf-label{
    margin-bottom: 0px!important;
}

.float-right {
    float:right;
}

/* Fix for having .uw-mini-bar within a text-center */
.text-center .uw-mini-bar:before {
   position: absolute;
   left: 0;
   height: 4px;
   content: '';
   width: 2rem;
   top: -12px;
   background-color: #c5050c;
   right: 0;
   margin: 0 auto;
}

ul.media-list {
    margin-top: 0;
}

ul.media-list li {
    margin: 0.5em;
}

.no-text-decoration {
    text-decoration: none;
}
ul.person-secondary-title-list {
    margin-left: 0px;
}
.person-secondary-title-list li {
    margin: 0px;
    list-style-type: none;
}

/* Secondary Titles for the profile page */
/*
.person-secondary-title-list li {
    display: inline;
}

.person-secondary-title-list li:after {
    content: " • ";
    font-weight: bold;
}

.person-secondary-title-list li:last-child:after {
    content: "";
}
*/

/* Education fields for the profile page */

ul.person-education-list, ul.person-education-sublist {
    list-style-type: none;
    padding-left: 0px;
    display: table;
}
.person-education-key {
    float: left;
    width: 10em;
    font-size: 1.125rem;
    font-weight: 800;
    display: table-cell;
}

#mainContainer {
    display:inline;
    float:left;
    border:none;
    margin:0px;
    margin-left: 20px;
    padding:0px;
    overflow:hidden;
}
div.captionedPhoto {
    padding:0 0 0 0;
    margin-bottom: 0;
    height:auto;
    width:auto;
    text-align:center;
}
.imgRight {
    margin-left:10px;
    margin-bottom: 10px;
    float: right;
    padding-top: 8px;
}

.imgLeft {
    margin-right:14px;
    margin-bottom: 10px;
    float: left;
    padding-top: 8px;
}

.highlight{
    color: red;
}

.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    justify-content: center;
}
.underline{
    text-decoration: underline;
}

.uw-button{
    font-size: 1.5rem!important;
    min-width: 350px;
    min-height: 101px;
    text-align: center;
    padding-top: 39px!important;
}

.residency-button.uw-button {
    padding: 35px 20px;
    line-height: 1.3;
}

.tweeter{
    background-image: url('https://www.radiology.wisc.edu/wp-content/uploads/2018/11/tweeter-icon.png');
    background-repeat: no-repeat;
    padding-left: 26px;
    display: block;
    background-size: 19px;
}

.button.button-white {
    margin-right: 40px;
    background-color: white;
    border: 2px solid #c5050c;
    color: #c5050c;
    font-size: 1.2rem;
    font-weight: 600;
}

.button.button-white:last-child {
    margin-right: 0;
}

.button-white span.dashicons {
    vertical-align: text-bottom;
    transition: color .25s ease-out;
}


.button.button-white:focus,
.button.button-white:hover {
    background-color: #c5050c;
    color: #ffffff;
}

.inline-videos .wp-video {
    display: inline-block;
}

.inline-videos .wp-video:last-of-type {
    float: right;
}

/* Extra Narrow Column for three column display */

.uw-outer-row .uw-inner-row .uw-column.xtra-narrow-column {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 28%;
            flex: 0 0 28%;
    max-width: 28%;
    padding-right: 1rem;
    padding-left: 1rem;
    max-width: 28%;
}

.uw-outer-row .uw-inner-row .uw-column.xtra-wide-column {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 72%;
            flex: 0 0 72%;
    max-width: 72%;
    padding-right: 1rem;
    padding-left: 1rem;
    max-width: 72%;
}

.uw-outer-row.short {
    padding: 2rem 0;
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .uw-column.xtra-narrow-column .uw-content-box, .uw-column.three-column .uw-content-box {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .uw-column.xtra-narrow-column .uw-content-box > p, .uw-column.three-column .uw-content-box > p {
        font-size: .925rem;
    }
}

@media screen and (max-width: 39.9375em) and (min-width: 40em) {
    .uw-outer-row .uw-inner-row .uw-column.xtra-narrow-column,
    .uw-outer-row .uw-inner-row .uw-column.xtra-wide-column {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

@media screen and (min-width: 40em) {
    .uw-outer-row .uw-inner-row .uw-column.xtra-narrow-column,
    .uw-outer-row .uw-inner-row .uw-column.xtra-wide-column {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

@media screen and (max-width: 39.9375em) {
    .uw-outer-row .uw-inner-row .uw-column.xtra-narrow-column,
    .uw-outer-row .uw-inner-row .uw-column.xtra-wide-column {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        max-width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        max-width: 100%;
    }
  }

svg:not(:root) {
    width: 14px;
}

.uw-header-crest svg {
    width: inherit;
}

.darken-on-hover {
    transition: 0.5s;
}

.darken-on-hover:hover {
    filter: contrast(0.5);
}

/* Fix mobile responsive issues on neuroradiology fellowship page */

.about_radiology-grid {
	display: grid;
	grid-template-columns: 65% 30%;
	grid-column-gap: 5%;
}

@media only screen and (max-width: 1100px) {
  .about_radiology-grid {
    grid-template-columns: 100%;
    grid-column-gap: 0;
  }
}

/* Center align resident info on current residents page */

.page-id-6430 .faculty-education {
	text-align: center !important;
}

/* Add box-shadow and hover effect to about madison image on MSK fellowship page */

#about_madison_img {
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3);
	transition: box-shadow .5s;
}

#about_madison_img:hover {
    box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),0 6px 30px 5px rgba(0,0,0,0.12),0 8px 10px -7px rgba(0,0,0,0.2);
}

/* Diversity and Inclusion page styles */

.page-id-14811 #mentoring .image-gallery {
	display: flex;
	justify-content: center;
}

.page-id-14811 #strategic_plans .uw-pe {
	margin-bottom: 0.5rem !important;
}

.page-id-14811 .image-gallery .image-gallery-item .image-gallery-content {
    background-color: #F7F7F7;
}

/* General UW Theme overrides */

.single .entry-content p, .entry-content p, .uw-pe-text_block li {
    font-family: inherit;
}

.uw-hero .uw-hero-enabled {
    width: 100vw;
}

@media only screen and (min-width: 911px) {
.second-nav {
    padding: 2rem 0;
}
}

@media only screen and (max-width: 910px) {
    .second-nav {
        padding: 2%!important;
    }
}
