/*
	Theme Name: UCSF-Fresno
	Theme URI: http://www.fresno.ucsf.edu
    Description: (minor release) : Change all fonts look and feel, add standard one and two templates with Section Widget Area, add all authorize.net files.
	Version: 1.1.0
	Author: UCSF Fresno
	Author URI: http://www.fresno.ucsf.edu
	Tags: Blank, HTML5, CSS3
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/


/*------------------------------------*\
    MAIN
\*------------------------------------*/


/* global box-sizing */

*,
*:after,
*:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
}


/* html element 62.5% font-size for REM use */

html {
    font-size: 100%;
}

body {
    font: 400 15px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #EEE;
    overflow-x: hidden;
}

/* New Standard */
p, ul, div {
    font-size: 1.05rem;
}


/* clear */

.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

form {
    width: 100%;
}

a,
a:visited {
    color: #178ccb;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
}

input:focus {
    outline: 0;
    border: 1px solid #178ccb;
}

hr.hr-thick {
    height: 2px;
    border-color: lightgray;
    border-width: 2px;
    margin-left: 0px;
    margin-right: 0px;
}

h1 {
    font-family: 'Granjon Roman', 'Times New Roman', Times, serif;
    color: #24A3AA;
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

h2 {
    font-family: 'Granjon Roman', 'Times New Roman', Times, serif;
    color: #24A3AA;
    font-style: italic;
    font-weight: 300;
    font-size: 24px;
    text-transform: lowercase;
}

h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
    font-size: 1.15rem;
}

h4 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
    text-transform: capitalize;
    font-size: 1.15rem;
}

h5 {
    font-family: 'Granjon Roman', 'Times New Roman', Times, serif;
    color: #24A3AA;
    font-style: italic;
    font-weight: 600;
    font-size: 1.15rem;
}

h5 a {
    color: #178ccb;
}

h6 {
    font-family: 'Granjon Roman', 'Times New Roman', Times, serif;
    color: #000;
    font-style: italic;
    font-weight: 600;
    font-size: 1.25rem;
}

h6 a,
h6 a:visited {
    color: #000;
}

.continue-reading a .fa {
    color: #db9364;
    font-size: 2.6rem;
}

ul {
    padding-left: 18px;
}

img.jumbotron-image {
    width: 100%;
}

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201c""\201D""\2018""\2019"
}

blockquote blockquote {
    border-left: 5px solid #ccc;
}

blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote p {
    display: inline;
}

.no-lr-pad {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.float-right {
    float: right !important;
    margin-left: 10px;
}

div {
    word-wrap: break-word;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
h5.single-post-date {
    font-weight: 400;
    text-transform: lowercase;
}
h5#post-date{
    padding: 1em 0;
    padding-top: 0;
}

article {
    margin-bottom: 15px;
}

.row>p {
    position: relative;
    width: 100%;
    min-height: 1px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}


/* Faculty Badge */

.ucsf-badge-row .col-lg-6 {
    padding-left: 10px;
    padding-right: 10px;
}

.ucsf-badge {
    display: inline-flex;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    flex-direction: column;
    -webkit-flow-direction: column;
    -ms-flow-direction: column;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    width: 100%;
    height: 95%;
    margin: 10px 0;
    padding: 0;
    background-color: #f5f5f5;
}

.ucsf-badge-image {
    width: 198px;
    height: 198px;
    padding: 0;
    margin: 0;
}

.ucsf-badge-image img {
    width: 198px;
    height: 198px;
    padding: 0;
    margin: 0;
}

.ucsf-badge-content {
    padding: 15px 25px !important;
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    align-items: stretch;
    -webkit-align-items: stretch;
    -ms-align-items: stretch;
    flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
}

.ucsf-badge-text {
    width: 100%;
    overflow-y: scroll;
    font-size: .80em;
}

@media only screen and (min-width:768px) {
    .ucsf-badge {
        flex-direction: row;
        -webkit-flow-direction: row;
        -ms-flow-direction: row;
        align-items: stretch;
        -webkit-align-items: stretch;
        -ms-align-items: stretch;
        width: 100%;
        height: 198px;
        margin: 5px 0;
        padding: 0;
    }
}

.ucsf-badge-text h3 {
    margin-bottom: 10px;
}

.ucsf-badge-text p {
    margin-bottom: 0;
}

.ucsf-badge-text-more {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    width: 100%;
    min-height: 30px;
    flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    -ms-align-items: flex-end;
    padding-bottom: 0px;
}

.spacer50 {
    height: 50px;
}

.spacer40 {
    height: 40px;
}

.spacer30 {
    height: 30px;
}

.spacer20 {
    height: 20px;
}

.jumbotron.jumbotron-header-image {
    padding: 0;
    /* content overlap using negative margin*/
    margin: 0 0 -100px 0;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


/* use this to get images to fill container without distorting */

div.image-center-cover {
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.continue-reading a:hover {
    color: #178ccb;
}


/* Video shortcode */

.ucsf-video-widget {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -ms-flex-direction: column;
    padding: 0 5px;
}

.ucsf-video-thumbnail {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
}

.ucsf-video-container {
    position: relative;
}

.mejs-overlay-button {
    background-image: url(https://cdn2.iconfinder.com/data/icons/media-and-navigation-buttons-round/512/Button_3-512.png);
    background-repeat: no-repeat;
    width: 25%;
    height: 25%;
    position: absolute;
    left: 0%;
    right: 0%;
    top: 25%;
    margin: auto;
    background-size: contain;
    background-position: center;
}


/* Margin for medium and up only */

@media (min-width: 768px) {
    .ucsf-video-widget:first-child {
        padding-left: 0;
    }
    .ucsf-video-widget:last-child {
        padding-right: 0;
    }
}

.ucsf-video-widget .ucsf-video-container {
    width: auto;
    margin: 0;
    height: 225px;
}

.ucsf-video-widget .ucsf-video-container .wp-video {
    width: auto !important;
}

.ucsf-video-widget .ucsf-video-caption {
    width: 100%;
    margin: 0;
    height: 100px;
    padding: 20px 15px;
    overflow: hidden;
}

.ucsf-video-widget:hover .ucsf-video-caption {
    background-color: white;
}

.intrinsic-container {
    position: relative;
    height: 0;
    overflow: hidden;
}


/* 16x9 Aspect Ratio */

.intrinsic-container-16x9 {
    padding-bottom: 56.25%;
}


/* 4x3 Aspect Ratio */

.intrinsic-container-4x3 {
    padding-bottom: 75%;
}

.intrinsic-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*------------------------------------*\
    BOOTSTRAP OVERRIDES
\*------------------------------------*/

.container .row {
    margin-left: 0px;
    margin-right: 0px;
}

.container .row .col,
.container .row .col-md {
    padding-left: 0px;
}

.btn-ucsf {
    color: white;
    font-size: 15px;
    background-color: #ff8c00;
    border-color: #df7c00;
    border-width: 2px;
    padding-top: 0;
    padding-bottom: 10px;
    height: 50px;
    margin-top: 10px;
}

.btn-ucsf::after {
    position: absolute;
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    right: 4px;
    top: 8px;
    font-size: 16px;
    color: white;
    content: "\f18e";
}

.btn-ucsf .fa {
    color: white;
}

a.btn-ucsf,
a.btn-ucsf:hover,
a.btn-ucsf:visited {
    color: white;
    text-decoration: none;
    padding-top: 5px;
}

.btn-full-width {
    width: 100%;
}

.horizontal-scroll {
    white-space: nowrap;
    overflow-x: scroll;
}

.text-muted pre {
    color: #636c72 !important;
}

form.row div.form-left-padding select.form-control {
    height:4.25rem;
}


/* accordion styling */

.accordion {
    width: 100%;
    border-style: none;
    border-bottom: 1px solid lightgray;
}

.accordion.accordion-shortcode {
    border-bottom: 2px solid lightgray;
    margin-top: 20px;
    margin-bottom: 20px;
}


/* Margin for medium and up only */

@media (min-width: 768px) {
    .accordion.accordion-shortcode {
        width: 80%;
        margin: 20px 10%;
    }
}

.accordion-shortcode .card {
    background: transparent;
    border-style: none;
}

.accordion-shortcode .card-header {
    background: transparent;
    border-style: none;
    border-top: 2px solid lightgray;
    padding-top: 0;
    padding-bottom: 0;
}

.accordion-shortcode .card-header h4 {
    padding-top: .75em;
    padding-bottom: .75em;
    padding-right: 30px;
    text-transform: none;
    font-size: 1.4em;
}

.accordion-shortcode .card-header a {
    text-decoration: none;
}

.accordion-shortcode .card-header a::before {
    position: absolute;
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin: 0px 20px 0px 0px;
    padding-top: .4em;
    text-decoration: none;
    right: 0;
    top: 8px;
    font-size: 1.5em;
    color: #f48033;
}

.card-header a[aria-expanded="true"]::before {
    content: '\f077';
}

.card-header a[aria-expanded="false"]::before {
    content: '\f067';
}

div.col-md-divider {
    width: 2px;
    margin-top: 30px;
    height: 70%;
    background-color: lightgray;
}


/*** forms ***/

.container form.row>.form-left-padding {
    padding-left: 60px;
}

.form-left-padding .form-group>label,
.form-left-padding .form-group>legend {
    margin-left: -60px;
    font-weight: bold;
}

form.row .form-control {
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

form.row .form-group {
    margin-bottom: 30px;
    margin-top: 20px;
}

.form-step-container1 {
    width: 15%;
    float: left;
}

.form-step-container2 {
    width: 85%;
}

.form-step {
    margin-bottom: 20px;
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
}

.form-step-circle {
    position: relative;
    display: block;
    float: left;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    padding-left: 16px;
    padding-top: 9px;
    margin-right: 20px;
    background-color: gold;
}

.form-step-content {
    flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
}

/*** Responsive Forms ***/

span.wpcf7-list-item {
display: block;
}
textarea div.wpcf7 .wpcf7-form-control wpcf7-form-control {
    max-width: 95%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
textarea.wpcf7-form-control.wpcf7-textarea {
    max-width: 95%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
/* Make Contact Form 7 Select Dropdown field responsive & full width */
.wpcf7 select {
    border-radius: 3px;
    margin: 0;
    padding: 4px;
    text-indent: 0px;
    width: 100%;
    z-index: 100;
}
/* Make Contact Form 7 text field full width & responsive */
.wpcf7-text,
.wpcf7-textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/*------------------------------------*\
    badge_inline
\*------------------------------------*/

.ucsf-badge-inline-row {
    margin: 15px 0;
}

.ucsf-badge-inline-row .badge-inline-width {
    padding-left: 0;
    max-width: 100%;
}

.ucsf-badge-inline {
    display: inline-flex;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    padding: 0;
}

.ucsf-badge-inline-image {
    padding: 0;
    margin: 0;
    min-width: 100px;
    max-width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.ucsf-badge-inline-image img {
    width: auto;
    padding: 0;
}

.ucsf-badge-inline-content {
    padding: 0 20px !important;
    display: block;
    margin: auto 0;
}

.ucsf-badge-inline-text {
    width: 100%;
    max-height: 215px;
    overflow: hidden;
}

.ucsf-badge-inline-text h2 {
    text-transform: uppercase;
    font-weight: 500;
}

.ucsf-badge-inline-text h5 {
    margin-bottom: 0;
    text-transform: lowercase;
    font-size: 18px;
}


/*------------------------------------*\
    FONT AWESOME
\*------------------------------------*/

.fa {
    position: relative;
    margin-left: 10px;
    font-size: 2.6rem;
    top: 5px;
    color: #cc8f8f;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/


/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue.woff') format('woff'), url('fonts/HelveticaNeue.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Bold.woff') format('woff'), url('fonts/HelveticaNeue-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Italic.woff') format('woff'), url('fonts/HelveticaNeue-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Granjon Roman';
    src: url('fonts/GranjonRoman.woff') format('woff'), url('fonts/GranjonRoman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Granjon Roman';
    src: url('fonts/GranjonRoman-Bold.woff') format('woff'), url('fonts/GranjonRoman-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Granjon Roman';
    src: url('fonts/GranjonRoman-Italic.woff') format('woff'), url('fonts/GranjonRoman-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


/* small screens greater than 576px */

@media only screen and (min-width:576px) {}


/* medium screens greater than 768px */

@media only screen and (min-width:768px) {
    .container {
        padding-left: 0px;
        padding-right: 0px;
    }
    .container .row>.col:nth-last-of-type(1),
    .container .row>.col-md:nth-last-of-type(1) {
        padding-right: 0px;
    }
    /*temporary style to show edit link on pages to right of content*/
    .ucsf-fresno-edit-page-link {
        position: absolute;
        left: -60px;
        top: 200px;
    }
}


/* large screens greater than 992px */

@media only screen and (min-width:992px) {}


/* extra large screens grater than 1200px */

@media only screen and (min-width:1200px) {}


/* Reversed (max width) queries */


/* Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575px) {}


/* Small devices (landscape phones, less than 768px) */

@media (max-width: 767px) {
    .container .row>.col,
    .container .row>.col-md {
        padding-right: 0px;
    }
    .col-md-divider {
        display: none;
    }
}


/* Medium devices (tablets, less than 992px) */

@media (max-width: 991px) {}


/* Large devices (desktops, less than 1200px) */

@media (max-width: 1199px) {}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background: #178ccb;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #178ccb;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #178ccb;
    color: #FFF;
    text-shadow: none;
}


/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}


/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}


/*------------------------------------*\
    Search result styles
\*------------------------------------*/

.generic .search-thumbnail img {
    margin-top: 35px;
}

.generic .search-excert h2 {
    margin-bottom: 10px;
}

.generic .search-excert p {
    padding-top: 10px;
}

.pagination {
    display: block;
}

.pagination-center {
    text-align: center;
}

.search-pagination .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px 0 0;
    border: 1px solid #eee;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    font-size: 1.45rem;
    color: #f48033;
}

.search-pagination .page-numbers.current,
.search-pagination a.page-numbers:hover {
    background: #f9f9f9;
    color: #000000;
}

.search-pagination .fa {
    margin-left: 0;
    font-size: 2rem;
    top: 0;
    font-weight: 600;
    color: #f48033;
}


/*------------------------------------*\
        table image fixes
\*------------------------------------*/

.genericpostlayoutwrapper td img {
    max-width: none;
}

/*------------------------------------*\
        1.0.1 Changes
\*------------------------------------*/

/* Medical Education (Meded) Mega Menu */

/* Meded close show when scrolled down */
.main-nav-fixed button.close.shutsmpanel {
    top: 40px;
}

/* Mega Menu height to fit content */
@media only screen and (min-width: 992px) {
    .ucsf-fresno-mainnav .big-panel-menu {
        min-height: 405px !important;
    }
}

/* Program link activators */
.activated h4 {
    color: #178ccb;
      padding-bottom: .5em;
      border-bottom: 2px solid #178ccb;
  }
  #med-program-links h4:hover {
    color: #178ccb;
  }
  
  .activated-section {
    display: block;
  }
  
  program, program-list {
    display:none;
  }
  
  ul#med-program-links {
      margin-left: 0px;
      padding-left: 0px;
  }
  
  ul#med-program-links li:first-child {
      padding-left: 0px;
  }
  
  ul#med-program-links li {
      display: inline-block;
      padding: 0px 4em 0px 0px;
  }
  
  ul#med-program-links h4 {
      margin: 0px;
      padding: 0px;
      text-transform: capitalize;
      line-height: 1.35em;
      font-weight: 500;
      letter-spacing: .05em;
  }
  
  h4#activate-fellowship.activated {
      color: #178ccb;
      padding-bottom: .5em;
      border-bottom: 2px solid #178ccb;
  }
  
  ul#meded-program-list li {
      list-style-type: none;
      line-height: 1.75em;
  }
  
  ul#meded-program-list {
      padding-left: 0em;
      padding-top: 0em;
      text-decoration: none;
  }

  program-list {
    width: 65%;
    column-count: 2;
    column-gap: 0px;
    margin-top: 2em;
    }

/* Meded Program heading margin bottom fix */
.ucsf-fresno-mainnav .big-panel-menu .container h4.meded-program-heading {
    margin-bottom: 10px;
}

/* Program image for Additional Programs */
.ucsf-fresno-mainnav .mededu-nav .imgcontainer4 {
    height: 200px;
    width: 100%;
    background-image: url('/wp-content/uploads/2017/12/Dr.-Haight-and-Tammy-Petrossian.png');
    background-size: cover;
    background-position: center;
}

body.elementor-page div#main-content-container .generictitlewrapper {
		display: none;
}