/*
Theme Name: UMC Theme 2 Child - Science
Theme URI: http://umc.utah.edu/
Description: Child Theme of UMC Theme - Science
Author: Scott Troxel (design), Dave White (code), Brian Thurber (code), Rachel Engle (design & code)
Author URI: http://umc.utah.edu/
Template: umctheme2
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: umctheme2-child-science
*/

/* 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
------------------------------------------------------------ */

@media only screen and (min-width: 1024px) {
  .content-single {
      width: auto !important;
      margin: 0 auto;
    }

  .content-single-760 {
      width: 760px !important;
    }
}


h5 {
  text-transform: none;
  font-size: 26px;
  font-weight: normal;
}


hr.thick {
  margin: 20px auto 40px 0px;
  height: 4px;
  width: 75px;
  background: linear-gradient(-20deg, #750000, #CC0000);
  border: none;
  margin: 20px auto 40px auto;
}

hr.thick.left {
  margin-left: 0;
}

hr.thick.right {
  margin-right: 0;
}

a:hover {
  text-decoration: none;
}

button, button:focus {
  outline: none;
}

.uu-btn, .uu-btn:visited {
  display: inline-block;
  margin: 10px auto;
  position: relative;
  background: #CC0000;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}


.uu-btn:hover {
  background: #750000;
  color: #ffffff;
  transform: translateY(-2px);
  -webkit-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
}

.uu-btn.small {
  padding: 5px 15px;
  font-size: 12px;
}


.uu-btn.white {
  background: #ffffff;
  color: #CC0000;
}

.uu-btn.gray {
  background: #847A7A;
  color: #ffffff;
}

.ghost {
  background: none;
  border: 2px solid #CC0000;
  color: #CC0000;
}

.ghost:hover {
  background: #CC0000;
  color: #ffffff;
}

.ghost.white {
  background: none;
  border-color: #ffffff;
  color: #ffffff;
}

.ghost.white:hover {
  background-color: #ffffff;
  color: #CC0000;
}

a.uu-link, button.uu-link {
  position: relative;
  transition: all 0.15s ease;
}
a.uu-link:after, button.uu-link:after {
  position: absolute;
  right: -10px;
  content: "\f105";
  font-family: "FontAwesome";
}
a.uu-link:hover:after, button.uu-link:hover:after {
  right: -12px;
}


/* Cards */
.card:hover .card-inner {
  transform: translateY(-5px);
  -webkit-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
}


.card-inner {
  position: relative;
  text-align: center;
  background: #FFFFFF;
  padding: 80px 30px;
  border-radius: 0px;
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card.img .card-inner {
  padding: 0px;
  height: 100%;
}

.card-img {
  display: block;
  height: 200px;
  position: relative;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0px;
}

.card-body {
  position: relative;
}

.card-content {
  padding: 30px;
  text-align: left;
}

.card-body .post-categories {
  padding: 0px;
  margin: 0
}

.card-body .post-categories a {
  cursor: pointer;
  font-size: 12px;
}

.card-footer {
  /* display: flex; */
  display: none;
  flex-flow: row nowrap;
  width: 100%;
  border-top: 1px solid #EFF2F5;
  padding: 30px;
  font-size: 12px;
  color: #7C7C7C;
}

.card-footer .author, .card-footer .date {
  flex: 1 1 50%;
}

.card-footer .author {
  text-align: left;
}
.card-footer .date {
  text-align: right;
}



/*--------------------------------------------------------------
 *## ABOUT PAGE
 *-------------------------------------------------------------- */
 .about-image-grid h3.widget-title{
   position: absolute;
   top: calc(50% - 23px);
   left: 0;
   right: 0;
   margin: 0px auto;
   border: none;
   color: #ffffff;
   font-size: 36px;
   line-height: 36px;
   pointer-events: none;
   z-index: 102;
 }

.about-image-grid .so-widget-sow-image .sow-image-container {
  position: relative;
  overflow: hidden;
  z-index: 100;
}
.about-image-grid .so-widget-sow-image .sow-image-container::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(20deg, rgba(204,0,0, 1), rgba(204,0,0, 0));
  z-index: 101;
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 2s; /* Firefox < 16 */
  -ms-animation: fadein 2s; /* Internet Explorer */
  -o-animation: fadein 2s; /* Opera < 12.1 */
  animation: fadein 2s;
  pointer-events: none;
}
.about-image-grid .so-widget-sow-image {
  position: relative;
}
.about-image-grid .so-widget-sow-image:hover {
  cursor: pointer;
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.1);
}
.about-image-grid .so-widget-sow-image img {
  transition: all 0.3s ease;
}
.about-image-grid .so-widget-sow-image:hover img {
  transform: scale(1.2);
}



/* Post Loop Views */
.post-loop-view1 {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: stretch;
  align-content: center;
}
.post-loop-view1 .card {
  flex: 1 1 27.333%;
  margin: 1%;
  min-width: 260px;
}

.post-loop-view1 .card:first-child {
  flex: 1 1 98%;
}

.post-loop-view1 .card:first-child .card-inner {
  display: flex;
  flex-flow: row wrap;
}

.post-loop-view1 .post-title {
  min-height: 99px;
}

.post-loop-view1 .card:first-child .card-img, .post-loop-view1 .card:first-child .card-body {
  flex: 1 1 50%;
  height: 100%;
}

.post-loop-view1 .card:first-child .card-img {
  min-height: 400px;
  order: 2;
}

.post-loop-view1 .card:first-child .card-body {
  order: 1;
}

@media only screen and (max-width: 876px) {
  .post-loop-view1 .card:first-child {
    flex: 1 1 27.333%;
  }

  .post-loop-view1 .card:first-child .card-inner {
    flex-flow: column nowrap;
  }

  .post-loop-view1 .card:first-child .card-img {
    order: 1;
    height: 200px;
    min-height: 200px;
  }

  .post-loop-view1 .card:first-child .card-body {
    order: 2;
  }
}


/* site origin tabs */
.sow-tabs-tab-container {
  background: none;
  display: flex;
  margin-bottom: 30px;
}

.sow-tabs-tab {
  position: relative;
  flex-grow: 1;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  padding: 20px 10px !important;
  cursor: pointer;
  background: #F7F9FB;
  color: #6A6A6A;
  border-radius: 8px 8px 0px 0px;
  margin: 0px 1px !important;
}

.sow-tabs-tab-selected {
  position: relative;
  background: #FFF;
  color: #CC0000;
  outline: none;
  -webkit-box-shadow: 0px -5px 10px 0px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px -5px 10px 0px rgba(0, 0, 0, 0.05);
  box-shadow: 0px -5px 10px 0px rgba(0, 0, 0, 0.05);
}
.sow-tabs-tab:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #E6E6E6;
}
.sow-tabs-tab-selected:after {
  content: "";
  background: #FFFFFF;
}



/* trumba calendars */
.cal-data {
  background: inherit;
  padding: 30px;
}

.cal-data.week .cal-row {
  display: flex;
  flex-flow: row nowrap;
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
}

.cal-data.week .cal-item {
  flex: 1 1 20%;
  margin-right: 1px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cal-data.week .cal-item:last-child {
  margin-right: 0px;
}

.cal-data.week .cal-item:nth-child(2n+0) .cal-header {
  background: #585858;
}

.cal-header {
  position: relative;
  background: #372C2C;
  padding: 20px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cal-header::before {
  position: absolute;
  top: calc(50% - 12px);
  right: 30px;
  content: '\f105';
  font-family: "FontAwesome";
  color: #ffffff;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cal-header h3 {
  margin: 0px;
  padding: 0px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 30px;
}

.cal-header h3 span {
  font-size: 40px;
  font-weight: 800;
  display: block;
}

.cal-body {
  background: #ffffff;
  padding: 20px;
  font-size: 12px;
}

.cal-body h4 {
  font-size: 14px;
}

.cal-loc {
  color: #CC0000;
}

.cal-item:hover {
  transform: translateY(-4px) scale(1.02);
  -webkit-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
}

.cal-item:hover .cal-header {
  background: #CC0000;
}

.cal-item:hover .cal-header::before {
  opacity: 1;
  transform: translateX(-5px);
}

.cal-data.list {
  background: none;
  padding: 0px !important;
}

.cal-data.list .cal-row {
  display: block;
}

.cal-data.list h3.group-title {
  background: #847A7A;
  color: #ffffff;
  font-size: 18px;
  padding: 10px 20px;
  margin: 0px;
}

.cal-data.list .cal-item {
  margin-right: 1px;
  cursor: pointer;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.cal-data.list .cal-header {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid #F7F9FB;
  padding-bottom: 5px;
}

.cal-data.list .cal-header::before {
  display: none;
}

.cal-data.list .cal-header .cal-date, .cal-data.list .cal-header .cal-loc {
  flex-grow: 1;
}

.cal-data.list .cal-header h4 {
  color: #372C2C;
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
  margin: 0px;
}

.cal-data.list .cal-header .cal-loc {
  text-align: right;
  font-size: 12px;
}

.cal-data.list .cal-body {
  display: flex;
  background: #ffffff;
}

.cal-data.list .cal-body .cal-img, .cal-data.list .cal-body .cal-info {
  flex-grow: 1;
}

.cal-data.list .cal-body .cal-img {
  max-width: 100px;
  margin-right: 20px;
}

.cal-data.list .cal-body .cal-info {
  color: #372C2C;
}

.cal-data.list h4.cal-title {
  color: #CC0000;
  font-weight: 600;
  margin-bottom: 5px;
}

/* LARGE */
@media only screen and (max-width: 992px) {
  .cal-item { width:33%; }
  .cal-item:nth-child(3n+0) {border-right:none;}
}

/*  MEDIUM */
@media only screen and (max-width: 768px) {
  .cal-data.week .cal-row {
    flex-flow: column nowrap;
  }
  .cal-item { width: 100%; }
  .cal-item:nth-child(2n+0) {border-right:none;}
}

/*  SMALL */
@media only screen and (max-width: 480px) {
  .cal-data.week .cal-row {
    flex-flow: column nowrap;
  }
  .cal-item { width:100%; border-right:none; }
}



/* COS Custom Double Image Widget Overrides */
.uu-cos-custom-widget .uu-images .uu-image-sm {
  z-index: 3
}



/* Gallery Widget Overrides */
.widget_media_gallery .gallery-columns-1, .widget_media_gallery .gallery-columns-2, .widget_media_gallery .gallery-columns-3, .widget_media_gallery .gallery-columns-4, .widget_media_gallery .gallery-columns-5, .widget_media_gallery .gallery-columns-6, .widget_media_gallery .gallery-columns-7, .widget_media_gallery .gallery-columns-8, .widget_media_gallery .gallery-columns-9 {
  display: flex;
  flex-flow: row wrap;
}

@media only screen and (max-width: 878px) {
  .widget_media_gallery .gallery-columns-1, .widget_media_gallery .gallery-columns-2, .widget_media_gallery .gallery-columns-3, .widget_media_gallery .gallery-columns-4, .widget_media_gallery .gallery-columns-5, .widget_media_gallery .gallery-columns-6, .widget_media_gallery .gallery-columns-7, .widget_media_gallery .gallery-columns-8, .widget_media_gallery .gallery-columns-9 {
    flex-flow: column nowrap;
  }
}

figure.gallery-item {
  flex: 1 1 auto;
  margin: 10px 0px 5px 0px;
  text-align: center;
}

.widget_media_gallery .gallery-columns-1 figure.gallery-item {
  flex: 1 1 100%;
}

.widget_media_gallery .gallery-columns-2 figure.gallery-item {
  flex: 1 1 50%;
}

.widget_media_gallery .gallery-columns-3 figure.gallery-item {
  flex: 1 1 33.333%;
}

.widget_media_gallery .gallery-columns-4 figure.gallery-item {
  flex: 1 1 25%;
}

.widget_media_gallery .gallery-columns-5 figure.gallery-item {
  flex: 1 1 20%;
}

.widget_media_gallery .gallery-columns-6 figure.gallery-item {
  flex: 1 1 16.666%;
}

.widget_media_gallery .gallery-columns-7 figure.gallery-item {
  flex: 1 1 14.285%;
}

.widget_media_gallery .gallery-columns-8 figure.gallery-item {
  flex: 1 1 12.5%;
}

.widget_media_gallery .gallery-columns-9 figure.gallery-item {
  flex: 1 1 11.111%;
}



/* Formidable Overrides */
.uu-form form {
  background: #FFFFFF;
  padding: 30px;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 8px;
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
}

.uu-form .frm_form_field {
  margin: 0px 1% 20px 1%;
}

.uu-form .frm_form_field.frm_half {
  width: 48%;
  float: left;
  clear: none; }

.uu-form .frm_form_field.frm_half.frm_first {
  padding-right: 15px; }

.uu-form .frm_form_field.frm_full {
  clear: both; }

.uu-form .frm_form_field label {
  display: block; }

.uu-form .frm_checkbox input, .uu-form .frm_radio input {

  height: 14px!important;
}

.uu-form .frm_form_field input {
  display: block;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #CCCCCC;
  font-size: 16px;
  line-height: 16px;
  padding: 10px 20px;
  width: 100%;
  outline: none;
}

.uu-form .frm_form_field select {
  position: relative;
  display: block;
  height: 44px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #CCCCCC;
  font-size: 16px;
  line-height: 16px;
  padding: 10px 20px;
  width: 100%; }

.uu-form .frm_form_field textarea {
  display: block;
  border-radius: 8px;
  border: 1px solid #CCCCCC;
  font-size: 16px;
  line-height: 16px;
  padding: 20px;
  width: 100%; }

/* .uu-form .frm_form_field .frm_description {
  display: none; } */

.uu-form .frm_style_formidable-style.with_frm_style .frm_rootline .frm_current_page input[type="button"] {
    border-color: #cc0000 !important;
    background-color: #cc0000 !important;
    color: #ffffff;
}

.uu-form .frm_style_formidable-style.with_frm_style .frm_rootline input:focus {
    border-color: #cc0000 !important;
}

.uu-form .frm_style_formidable-style.with_frm_style .frm_current_page .frm_rootline_title {
  color: #cc0000 !important;
}

.uu-form .frm_submit {
  text-align: right;
}

.uu-form .frm_prev_page {
  position: relative;
  left: 0;
  text-align: left;
  color: #666 !important;
  padding: 8px 40px!important;
  border-radius: 50px!important;
  font-size: 14px!important;
  font-weight: 700!important;
}

.uu-form .frm_submit .frm_button_submit, .uu-form .frm_submit .frm_button_submit:visited {
  display: inline-block;
  margin: 10px auto;
  position: relative;
  background: #CC0000!important;
  color: #ffffff!important;
  padding: 8px 40px!important;
  border-radius: 50px!important;
  font-size: 14px!important;
  font-weight: 700!important;
  text-transform: uppercase!important;
  border: none!important;
  white-space: nowrap;
  cursor: pointer;
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.uu-form .frm_submit .frm_button_submit:hover {
  background: #750000;
  color: #ffffff;
  transform: translateY(-2px);
  -webkit-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.1);
}


/* Hide Related Post Date */
.relatedposts .related-date {
  display: none;
}

.post .page-title {
  margin: 1.5em 0 2.5em;
}

.post .entry-meta {
  display: none;
}


/* COS Post Loop Carousel */
.cos-post-loop-carousel {
  margin-bottom: 30px;
}
.cos-post-loop-carousel .card {
  background: none;
  position: absolute;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.cos-post-loop-carousel .card .card-inner {
  -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
  -moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
  background: none;
}
.cos-post-loop-carousel .card .card-inner h3 {
  font-size: 15px;
  text-align: center;
  font-weight: 500;
  color: #474747;
  margin: 10px 0 0 0;
}
.cos-post-loop-carousel .owl-nav {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  margin: 20px auto;
  font-size: 16px;
  height: 20px;
  width: 64px;
  text-align: center;
}
.cos-post-loop-carousel .owl-nav button.owl-prev {
  position: relative;
  top: auto;
  left: auto;
  background: #333;
  color: #FFF;
  padding: 5px 10px !important;
  opacity: 1;
  border-radius: 2px;
  margin: 0px 2px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.cos-post-loop-carousel .owl-nav button.owl-next {
  position: relative;
  top: auto;
  right: auto;
  background: #333;
  color: #FFF;
  padding: 5px 10px !important;
  opacity: 1;
  border-radius: 2px;
  margin: 0px 2px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.cos-post-loop-carousel .owl-nav button.owl-prev:hover, .cos-post-loop-carousel .owl-nav button.owl-prev:focus, .cos-post-loop-carousel .owl-nav button.owl-next:hover, .cos-post-loop-carousel .owl-nav button.owl-next:focus {
  background: #585858 !important;
  color: #FFF !important;
  cursor: pointer;
}
@media only screen and (max-width:780px) {

}


