/*
Theme Name: UMC Theme Child - U News
Theme URI: http://umc.utah.edu/
Description: Child Theme of UMC Theme - U News
Author: Scott Troxel (design), Dave White (code), Brian Thurber (code), Rachel Engle (design & code)
Author URI: http://umc.utah.edu/
Template: umctheme
Version: 1.0.0
License: Approved use for the University of Utah Marketing and Communications only
License URI: http://umc.utah.edu/
Tags: Responsive University
Text Domain: umctheme-child
*/

/* NOTE: Parent Theme styles are loaded via the parent themes functions file in 'parent-style' and then this stylesheet (style.css) for the child is loaded */

/* Site Specific Styles Start Here 
------------------------------------------------------------ */

/* ---- Newsletter Styles ----*/
#main .content-padding{
  padding:0 2em 0 0;
}

.main-channel{border:0;}

.right-channel, .left-channel{padding-top: 2em;}

.page-title{
  color:#333;
  font-weight:600;
}

.main-channel .post-image, .relatedthumb .post-image {
    max-height: 251px;
    overflow: hidden;
}

.relatedthumb .post-image{max-height:88px; margin-bottom: 1em;}

.post-image img {
    width: 100%;
    height: auto;
}

h1.widget-title, h2.widget-title, h3.widget-title, .right-channel h3 {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 300;
}
    

h2.entry-title a { 
    color: #000;
    font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif !important;
    font-weight: 300;
}
h2.entry-title{
	font-size:2.25em;
	margin-bottom:0;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small{
  font-size:50%;
  font-family:'Open Sans', Helvetica, Arial, sans-serif;
  opacity: 0.7;
  text-transform:uppercase;
}

h1 small, h2 small{
/*  margin-top:-0.5em;*/
  line-height: 1.5em;
}

.entry-meta{
/*    font-family: 'Open Sans Condensed', sans-serif;
*/	display:block;
	padding:0.2em 0 0.2em 0.4em;
	border-top: 1px solid #e1e1e1;
	border-bottom:1px solid #e1e1e1;
  margin-bottom:2em;
}

.entry-content {
  padding: 0 0 2em 0;
/*  font-family: 'Open Sans Condensed';
*/  font-weight: 400;
/*  font-size: 1.2em;
*/}

.entry-content p{
	margin-top:0;
}

.entry-meta .date:before, .entry-content .date:before{
  content:'\f017';
  font-family: 'FontAwesome';
  display:inline-block;
  margin-right:7px;
  color:#999;
}

.post-image{margin-top:2em;}

h1.widget-title{
    text-transform: capitalize;
    font-size: 2em;
    font-weight: bold;
}

/* ============ FRONT PAGE STYLES ================ */

.home-page-articles h2.entry-title{
  margin-bottom:0.4em;
}

/*.home-page-articles .entry-content{
  font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif;
  font-size:1.2em;
}*/

/* -------------- AddtoAny Social Share placement --------------- */
.entry-meta .social{
	margin-top:1px;
}

/* -------------- AddtoAny Social Share placement --------------- */

div.post-image{position:relative;}

div.post-image .featured_category_name{
	position:absolute;
	left: 60px;
	padding: 3px 10px;
    width: 100px;
	background:#cc0000;
	color:#fff;
	text-transform: uppercase;
	font-family: 'Open Sans Condensed';
	font-weight: 300;
	letter-spacing: 0;
    
}

div.post-image .featured_category_name a {
    color: #fff;
    text-decoration: none;
}

div.post-image .featured_category_name p{margin:0;}

.user-type {
    display: block;
    text-align: center;
}

.user-type div {
    background: #ccc;
    color:#fff;
    text-align: center;
    width: 100px;
    padding: 0.2em 2em;
    font-family: 'Open Sans Condensed', sans-serif;
    cursor: pointer;
    margin: 0 auto 2em auto;
    display: inline;
}

.change-user-button a {
    color: #fff;
}

.load-more-articles {
    background: #cc0000;
    color:#fff;
    text-align: center;
    width: 200px;
    padding: 0.4em 2em;
    font-family: 'Open Sans Condensed', sans-serif;
    cursor: pointer;
    margin: 0 auto 2em auto;
    display: none;
}

.see-all-homepage-articles {
    background: #cc0000;
    color:#fff;
    text-align: center;
    width: 200px;
    padding: 0.4em 2em;
    font-family: 'Open Sans Condensed', sans-serif;
    cursor: pointer;
    margin: 0 auto 2em auto;
}

.see-all-homepage-articles a {
    color:#fff;
}

.see-all-homepage-articles a:hover {
    text-decoration: none;
    color: #fff;
}

.pagination {
    background: #cc0000;
    color:#fff;
    text-align: center;
    width: 200px;
    padding: 0.4em 2em;
    font-family: 'Open Sans Condensed', sans-serif;
    cursor: pointer;
    margin: 0 auto 2em auto;
    display: none;
}

.pagination a {
    color:#fff;
}

.nav-older {
    display: inline;
    float: right;
}

.nav-newer {
    display: inline;
    float: left;
}

.relatedposts{
	font-family: 'Open Sans Condensed', sans-serif;
	margin-bottom:2em;
}

.relatedposts h3{
	font-size: 2.2em;
	text-transform:uppercase;
}

.relatedposts .eq-ht-wrapper{
	padding:0;
}

.relatedposts .relatedthumb{
	padding: 0;
	border: 0;
}

.relatedposts .relatedthumb img{
	padding:0;
	height:auto;
  width:100%;
}

.relatedposts .relatedthumb .title{
	font-size:1.5em;
	color:#000;
	text-transform:uppercase;
}

.relatedposts .relatedthumb a.title:hover, .relatedposts .relatedthumb a.title:focus{
	color:#cc0000;
}

.relatedposts .related-date {
    font-size: 1.2em;
}


/* ---- social tab styles ---- */
#instagram-content, #facebook-content, #twitter-content{
	/*display: none;*/
    position:absolute;
    margin-left: -9999px;
}
.social-tabs{
	width: 100%;
	margin: 0 auto;
}
.social-tabs div h2{
	font-family: 'Open Sans Condensed';
    font-weight: 300;
	text-transform: uppercase;
}
.social-tabs div h2:hover{
	cursor: pointer;
}
.social-tab{
	display: inline-block; /*magic*/
    height: 70px; 
    width: 33%;
}
.social-tab a{
	height: 100%; 
    width: 100%; 
    display: block; 
}
.insta-horizontal-wrapper{
	width: 100%;
    height: 178px;
    overflow: auto;
    overflow-y: hidden;
    margin: 30px auto 50px auto;
    white-space: nowrap;
}
.instagram-unit{
	display: inline;
  margin: 20px 10px;
}

.instagram-unit img{
	width: 178px;
}



/*----------------------plug in styles----------------------------*/

.email-link{
	font-size: 0.9em;
}




/* --- SIDEBAR POST FEED----*/
.feed_header_box{
	padding: 2.6em 1.3em 1.3em;
  margin-bottom:0;
}

.light-gray-sidebar .lineonsides {
	color: #000;
	text-transform: uppercase;
	text-align: center;
  border-bottom: 1px solid #000;
  line-height: 0;
  padding: 0;
  margin-bottom:0.6em;
  font-family: 'Open Sans Condensed';
  margin-top: 0.1em;
  letter-spacing: 0;
  font-weight: 300;
  font-size: 1.75em;
}


.light-gray-sidebar .lineonsides span{
	background: #e1e1e1;
	padding: 0 3%;
}

.minisubtitle{
	font-size: 0.8em;
	text-align:center;
}

hr.bar{
	border: 4px solid #cc0000;
    height: 0;
    left: 29%;
    position: absolute;
    width: 50%;
}

.feed_post{
	text-align: center;
  font-style:normal;
}

/*.feed_post hr{
	border:1px solid #cc0000;
	width:75%;
	height:0;
	margin:2em auto;
}*/

.feed_post h4, .feed_post p{
	font-family: 'Open Sans Condensed';
}

.feed_post h4{
	font-size: 1.6em;
	line-height:1.3em;
	font-weight:normal;
  margin-top:0;
}

.feed_post h4 a {
    color: #000;
}

.feed_post p{
  margin-bottom:0;
}

.feed_post .source{
    font-size:1.25em;
    background-color:rgba(0,0,0,0.5);
    color:#fff;
    padding:2px 10px;
    margin-bottom: .75em;
    display: inline-block;
}

.article_feed .slick-1carousel, .meltwaternews{
  opacity:0;
  -webkit-transition: opacity 250ms ease-in;
   -moz-transition: opacity 250ms ease-in;
    -ms-transition: opacity 250ms ease-in;
     -o-transition: opacity 250ms ease-in;
        transition: opacity 250ms ease-in;
  max-height:150px;
}

.slick-slider{
  margin-bottom: 25px !important;
  border-bottom: 40px solid #e1e1e1;
  position:relative;
}

.slick-slider .slick-prev, .slick-slider .slick-next, .slickslider .slick-dots{
  margin:0;
  padding:0;
}

.slick-slider .slick-prev, .slick-slider .slick-next{
  font-size: 0px !important;
  bottom: -40px !important;
}

.slick-slider .slick-dots{
  font-size: 0px !important;
  line-height:1 !important;
  bottom: -33px !important;
  left:0;
  margin:0;
}


.email-sign-up-form-sidebar, .slick-slider, .meltwaternews{
  padding:2em 1em !important;
  border-left:2px solid #e1e1e1;
  border-right:2px solid #e1e1e1;
  border-top:0;
  margin-bottom:20px;
}

/* ---------- SIDEBAR SEARCH ------------ */

.container-1{
  width: 100%;
  vertical-align: middle;
  white-space: nowrap;
  position: relative;
}

.container-1 input#search{
  width: 100%;
  height: 50px;
  background: #e1e1e1;
  border: none;
  font-size: 10pt;
  float: left;
  color: #333333; 
  margin-bottom:20px;
  padding-left: 45px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.container-1 input#search::-webkit-input-placeholder {
   color: #333333;
}
 
.container-1 input#search:-moz-placeholder { /* Firefox 18- */
   color: #333333;
}
 
.container-1 input#search::-moz-placeholder {  /* Firefox 19+ */
   color: #333333;
}
 
.container-1 input#search:-ms-input-placeholder { 
   color: #333333;
}

.container-1 .icon{
  position: absolute;
  top: 2px;
  margin-left: -35px;
  margin-top: 10px;
  z-index: 1;
  color: #333333;
  left: 48px;
   -webkit-transition: all .55s ease;
  -moz-transition: all .55s ease;
  -ms-transition: all .55s ease;
  -o-transition: all .55s ease;
  transition: all .55s ease;
}

  .container-1:hover .icon, .container-1:focus .icon, .container-1:active .icon{
  color: #cc0000;

    -webkit-transform:scale(1.25); /* Safari and Chrome */
  -moz-transform:scale(1.25); /* Firefox */
  -ms-transform:scale(1.25); /* IE 9 */
  -o-transform:scale(1.25); /* Opera */
   transform:scale(1.25);

}

/* ========== Sidebar Sign-up Form ================== */

.email-sign-up-form-sidebar{
  border-bottom:2px solid #e1e1e1;
}

.email-sign-up-form-sidebar .infusion-field-input-container, .email-sign-up-form-sidebar .infusion-option{
  display:block;
  width:100%;
}

.email-sign-up-form-sidebar .infusion-option{
  padding-left:1em;
}

.form-group{margin-bottom:1em;}

.email-sign-up-form-sidebar .infusion-submit{text-align:right;}

.feed_header_box.mailing_list{
  margin-bottom:0;
}

/* ========== Footer Sign-up Form ================== */

.medium-gray-callout{
  background:#7b7b7b;
}

.uu-custom-callout{padding:1em 0;}

.email-sign-up-form-footer{margin-bottom:1em;}

.email-sign-up-form-footer h5{
  color: #000;
  display: block;
  border-bottom: 2px solid #666;
  padding-bottom: 10px;
  margin-bottom: 1em;
  font-size:1.4em;
}

.email-sign-up-form-footer .form-group{
  float:left;
  margin-right:2em;
}

.email-sign-up-form-footer input[type="submit"]{width:100%;}
.email-sign-up-form-footer label[for="inf_option_EmailSubscribe"]{margin:0;}

.email-sign-up-form-footer label[for="inf_option_EmailSubscribe"]{
  float:left;
  margin-right:20px;
}

.email-sign-up-form-footer .infusion-checkboxes .infusion-field, .email-sign-up-form-footer .infusion-option, .email-sign-up-form-footer .infusion-checkboxes{float:left;}

@media (max-width: 650px){
   .email-sign-up-form-footer .form-group{float:none; margin-right:0;}
}

/* ================ General Sign-up Form Styles ================ */

.email-sign-up-form-sidebar .infusion-option input, .email-sign-up-form-footer .infusion-option input{margin-right:5px;}
.email-sign-up-form-sidebar .infusion-option label, .email-sign-up-form-footer .infusion-option label{margin-right:10px;}

input:required{
cursor: pointer; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDhss3LcOZQAAAU5JREFUOMvdkzFLA0EQhd/bO7iIYmklaCUopLAQA6KNaawt9BeIgnUwLHPJRchfEBR7CyGWgiDY2SlIQBT/gDaCoGDudiy8SLwkBiwz1c7y+GZ25i0wnFEqlSZFZKGdi8iiiOR7aU32QkR2c7ncPcljAARAkgckb8IwrGf1fg/oJ8lRAHkR2VDVmOQ8AKjqY1bMHgCGYXhFchnAg6omJGcBXEZRtNoXYK2dMsaMt1qtD9/3p40x5yS9tHICYF1Vn0mOxXH8Uq/Xb389wff9PQDbQRB0t/QNOiPZ1h4B2MoO0fxnYz8dOOcOVbWhqq8kJzzPa3RAXZIkawCenHMjJN/+GiIqlcoFgKKq3pEMAMwAuCa5VK1W3SAfbAIopum+cy5KzwXn3M5AI6XVYlVt1mq1U8/zTlS1CeC9j2+6o1wuz1lrVzpWXLDWTg3pz/0CQnd2Jos49xUAAAAASUVORK5CYII=); background-attachment: scroll; background-position: 100% 50%; background-repeat: no-repeat;
}

.email-sign-up-form-sidebar label, .email-sign-up-form-footer label{font-weight:bold;}
.email-sign-up-form-sidebar .infusion-option label, .email-sign-up-form-footer .infusion-option label{font-weight:normal;}

.infusion-checkboxes{
  background: inherit;
  border: 0;
  box-shadow: none;
  color: inherit;
}


/* ========== Caption Styles ================== */

.wp-caption{
  padding:0;
/*  border:2px solid #e1e1e1;
*/}

.wp-caption .caption-bottom{
  border:1px solid #e5e5e5;
  border-top:0;
}

.wp-caption img{
/*  padding: 0.5em 0.5em 0em 0.5em;
*/  margin: 0;
    border:1px solid #e5e5e5;
}

.wp-caption .credit{
  text-align: left;
  font-size: 0.75em;
  margin-bottom: 0.5em;
  padding: 5px 10px 2px 10px;
  line-height: 1.25;
  color: #999;
}

.wp-caption .credit .pre-text{font-size:0.75em;}

.wp-caption-text{
  border:0;
  text-align:center;
  padding:10px 10px 0px;
  color:#666;
  font-size: 0.85em;
  line-height: 1.6em;
}

button.outline-light.btn-full-width{
  border:0;
  border-top:1px solid #f4f4f4;
  border-radius:0;
  margin:0;
  padding:7px 10px;
  font-size:0.9em;
}

button i{
  margin-right:10px;
}


button.outline-light.btn-full-width:hover, button.outline-light.btn-full-width:focus{
    background:#f4f4f4 !important;
    cursor:pointer;
    color:#fff;
    border-radius:0 !important;
    border:0;
    border-top:1px solid #f4f4f4;
}

button.outline-light.btn-full-width:hover a, button.outline-light.btn-full-width:focus a{
  text-decoration:none !important;
  color:#c00;
}

/* Slick Carousel Styles */
.slick-dots{
    bottom: -32px;
}

/* ============== Media Contacts Styles =========== */
.contact-person{
  padding: 1em 1em 0 1em;
  border: 1px solid #e5e5e5;
  margin: 0 0 1em 0;
}

.contact-person .name{font-weight:bold;}

.contact-person .title:before{
  content:' | ';
  color:#c00;
}

.contact-person .phone{
  margin-right:15px;
}

.contact-person .phone:before, .contact-person .email:before{
  content:'\f098';
  font-family: 'FontAwesome';
  display:inline-block;
  margin-right:7px;
}

.contact-person .email:before{
  content:'\f199';
}


/* ============= Additional Media Queries =========*/

@media only screen and (max-width:950px){

  .light-gray-sidebar .lineonsides{
    font-size:1.25em;
  }
  
}

@media only screen and (max-width:766px){
    .right-channel{float:none; clear:both;}
    #main .content-padding { padding:0; }
    .infusion-checkboxes{display: inline-block;}
}

@media only screen and (max-width: 480px){    
    div.post-image .featured_category_name {
        /*display:none;*/
        left: 20px;
    }
    .main-channel .post-image {
        max-height: 178px;
    }
}


.image-gallery-popup {
    position: relative;
    width:auto;
    background:rgba(0,0,0,0.6);
    max-width: 70%;
    margin: 20px auto;
}

.image-gallery-popup img {
    width: 100%;
}

.image-gallery-popup .mfp-caption {
    color: #fff;
    padding: 0.5em 1em 0 1em;
    float: left;
    max-width: 75%;
}

.image-gallery-popup .mfp-credit {
    color: #fff;
    padding: 0.3em 1em 1em 1em;
    float: right;
    max-width: 20%;
    font-size: 0.7em;
}

.image-gallery-popup .mfp-counter {
    position: relative;
    color: #fff;
    float: right;
    max-width: 20%;
    font-size: 0.8em;
    padding: 0 1em 0.5em 0;
}

.image-gallery-popup .mfp-download {
    padding: 0 1em 1em 1em;
    float: left;
    max-width: 75%;
}

.image-gallery-popup .photo-credit {
    text-transform: uppercase;
    font-size: 0.5em;
}

.image-gallery-popup a {
    display: block;
    clear: both;
    color:#c00;
}

.image-gallery-popup a:before{
  font-family: 'FontAwesome';
  content: "\f019";
  display:inline-block;
  margin-right:10px;
}