/*
Theme Name: Dynamic Media Institute
Description: Dynamic Media Institute MFA program website theme.
Author: Saul Baizman
Author URI: https://baizmandesign.com
Template: Avada
Version: 1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  Avada
*/

/* Typography via Type Network */
/* Added on Tue Jun 26 22:38:32 EDT 2018 */
/* Sample usage. */
/*
.interstatelight {
    font-family: "Interstate Lt";
    font-style: Normal;
    font-weight: Normal;
}

.interstatelightitalic {
    font-family: "Interstate Lt It";
    font-style: Italic;
    font-weight: Normal;
}

.interstateregular {
    font-family: "Interstate Reg";
    font-style: Normal;
    font-weight: Normal;
}

.interstateitalic {
    font-family: "Interstate It";
    font-style: Italic;
    font-weight: Normal;
}

.interstatebold {
    font-family: "Interstate Bd";
    font-style: Normal;
    font-weight: Normal;
}

.interstatebolditalic {
    font-family: "Interstate Bd It";
    font-style: Italic;
    font-weight: Normal;
}
 */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Interstate Bd', Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
}

.fusion-header-v5 .fusion-header {
    background-color: #E0E0E0;
}

.fusion-main-menu ul#menu-desktop-menu li {
    text-transform: uppercase;
}

.fusion-secondary-main-menu {
    /* background-image: url(imagery/navigation-background.png) ; */
	background-color: #030000 !important;
    background-repeat: repeat;
}

.fusion-page-title-bar .fusion-page-title-row h1 {
    color: #576A79 ;
    font-size: 33.5px !important ;
    font-family: 'Interstate Bd', Helvetica, sans-serif ;
    font-style: normal;
    font-weight: normal;
}

.post-content h2 {
    font-family: 'Interstate Bd', Helvetica, sans-serif !important;
    font-style: normal;
    font-weight: normal;
    color: #576A79 !important;
    font-size: 29px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.post-content h3 {
    font-family: 'Interstate Bd', Helvetica, sans-serif !important;
    font-style: normal;
    font-weight: normal;
    color: #576A79 !important;
    font-size: 23px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.post-content h4 {
    font-family: 'Interstate Bd', Helvetica, sans-serif !important;
    font-style: normal;
    font-weight: normal;
    color: #576A79 !important;
    font-size: 23px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.post-content h5 {
    font-family: 'Interstate Bd', Helvetica, sans-serif !important;
    font-style: normal;
    font-weight: normal;
    color: #576A79 !important;
    font-size: 20.75px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.post-content h6 {
    font-family: 'Interstate Bd', Helvetica, sans-serif !important;
    font-style: normal;
    font-weight: normal;
    color: #576A79 !important;
    font-size: 18px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

/*
Shut off background graphics on Avada's "title bar."
 */
.fusion-body .fusion-page-title-bar {
    background: none !important;
    border: none !important;
}

.fusion-page-title-wrapper {
    display: block ;
    padding-top: 2em ;
}

.fusion-page-title-breadcrumbs {
    margin-bottom: 1em ;
}

/*
Make the title area taller than 87px.
 */
.fusion-page-title-bar {
    height: auto !important;
}

/*
For the display of the page title.
 */
.fusion-page-title-captions h1.entry-title {
    padding-bottom: 0.5em ;
}

/*
Get rid of top padding for main content so it's closer to the page title.
 */
#main {
    padding-top: 0!important;
}

.fusion-page-title-row {
    overflow: visible;
}

.fusion-is-sticky .fusion-main-menu > ul > li > a, .fusion-is-sticky .fusion-main-menu > ul > li > a::after {
    color: #ffffff !important;
}

/* https://toolset.com/forums/topic/embedded-media-field-has-a-very-large-amount-of-white-space-above-and-below-it/ */
/* Over-rides crazy white space. */
#wrapper #main div.fluid-width-video-wrapper {
    padding-top: 60% !important ;
}

/*
Issue #17: reduce width of primary desktop navigation.
 */
.fusion-secondary-main-menu .fusion-main-menu > ul > li > a {
    font-family: 'Interstate Reg', Helvetica, sans-serif;
    font-style: Normal;
    font-weight: Normal;
    letter-spacing: 0.05em;
}

/*
Ensure the sticky and non-sticky headers have the same padding + overall width.
 */
.fusion-secondary-main-menu .fusion-main-menu > ul > li > a, #wrapper .fusion-is-sticky .fusion-main-menu > ul > li > a {
    padding-left: 14.5px ;
    padding-right: 14.5px ;
}

/*
Ensure search magnifying glass displays correctly, overrides the Interstate typeface definition.
 */
.fusion-secondary-main-menu .fusion-main-menu .fusion-main-menu-search a {
    font-family: icomoon ;
    transition: all 300ms ;
}

.fusion-secondary-main-menu .fusion-main-menu .fusion-main-menu-search a:hover::after {
    color: #E0E0E0 ;
}

/*
Search input field.
 */
.fusion-search-form-classic .searchform .fusion-search-form-content .fusion-search-field input {
    color: #000000;
    font-family: 'Interstate Reg', Helvetica, sans-serif ;
    font-style: Normal ;
    font-weight: Normal ;
    font-size: 15px ;
}

/*
Make the submenu type Interstate and increase the font size from 14px to 15px.
 */
.fusion-main-menu .fusion-dropdown-menu .sub-menu li.fusion-dropdown-submenu a {
    text-transform: none ;
    font-family: 'Interstate Reg', Helvetica, sans-serif ;
    font-style: Normal ;
    font-weight: Normal ;
    font-size: 15px ;
}

/*
Make the submenu hover color green and the text blue.
 */
.fusion-main-menu .sub-menu li a:hover {
    background-color: #EF4F24 !important ;
    background-color: rgba(153,197,37,0) !important;
    color: #576A79 !important ;
}

.fusion-main-menu li.current-menu-item .sub-menu a:hover {
    color: #576A79 !important ;
}

/*
Make the lines between the subnav items transparent.
 */
.fusion-main-menu .fusion-dropdown-menu .sub-menu li a {
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
}

/*
Reduce height of main navigation.
 */
.fusion-main-menu > ul > li > a {
    height: 90px !important;
    line-height: 90px !important;
}

/*
Make the text of the current page in the primary nav green, no background but the blue header image.
 */
.fusion-main-menu > ul > li.current-menu-ancestor > a, .fusion-main-menu > ul > li.current-menu-parent > a, .fusion-main-menu > ul > li.current_page_item > a {
    background-color: transparent !important;
    color: #E0E0E0 !important;
}

/*
When the current primary nav list item is hovered over, turn the background green.
 */

.fusion-main-menu > ul > li.current-menu-parent:not(#menu-item-3556):hover, .fusion-main-menu > ul > li.current_page_item:not(#menu-item-3556):hover {
    background-color: #EF4F24 !important;
}

/*
Disable background hover color for Apply link.
 */
#menu-item-3556 a:hover {
    background-color: transparent;
}

/*
When the primary nav list item is hovered over, turn the nav list item's text white (otherwise it turns green).
 */
.fusion-main-menu > ul > li.current-menu-parent:hover > a, .fusion-main-menu > ul > li.current_page_item:hover a {
    color: #FFFFFF !important;
}

/*
In submenu, change the current page indicator from a green background to blue text only.
 */
.fusion-main-menu .sub-menu .current_page_item > a {
    background-color: transparent !important;
    color: #576A79 !important;
}

/*
Widen the submenu.
 */
.fusion-main-menu .sub-menu {
    width: 200px !important ;
    border-top: 1px solid rgba(255,255,255,0.3) !important;
    /*background-color: #E0E0E0 !important; - 2023*/
}

/*
Add more top and bottom padding for text in the submenu.
 */
.fusion-main-menu .fusion-dropdown-menu .sub-menu li a, .fusion-main-menu .sub-menu li a {
    padding-top: 11px !important;
    padding-bottom: 11px !important ;
}

/*
Add 1px gap right above hover state of primary nav. So green background doesn't bleed into the header.
 */
a.fusion-background-highlight {
    margin-top: 1px ;
}

/*
Remove 1px bottom border on desktop nav.
 */
.fusion-secondary-main-menu {
    border-bottom-width: 0 !important;
}

.fusion-secondary-header, .fusion-header-v5 .fusion-header, .fusion-secondary-main-menu {
    border-bottom-width: 0 !important;
}

/*
Apply link desktop styling.
 */
#menu-item-3556 a span {
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    /* border: 1.5px solid #fff; */
    background-color: #EF4F24;
    background-image: linear-gradient(to bottom, #EF4F24, #EF4F24);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    transition: all 300ms ;
}

/*
Apply link desktop hover styling.
 */
#menu-item-3556 a span:hover {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

/* For the homepage imagery in the top gallery. */
.ei-title h2, .ei-title h3 {
    font-family: 'Interstate Reg', Helvetica, sans-serif !important;
    font-style: Normal !important;
    font-weight: Normal !important;
}

/*
For the big text on the homepage describing DMI.
 */
#homepage_big_intro_text {
    font-family: 'Interstate Reg', Helvetica, sans-serif ;
    font-style: Normal ;
    font-weight: Normal ;
    color: #576A79 ;
    font-size: 2em ;
    hyphens: auto;
}

/*
Set boldface to correct typeface.
 */
#homepage_big_intro_text strong {
    font-family: 'Interstate Bd', Helvetica, sans-serif ;
}

/*
Add margin above big intro text.
 */
#big_intro_text_container {
    margin-top: 30px !important;
}

/*
Body link hover style.
 */
.post-content a {
    transition: border-bottom-color 300ms ;
    border-bottom: 2px solid #EF4F24;
    padding-bottom: 3px ;
}
.post-content a:hover, .post-content a:active, .post-content a:focus {
    border-bottom: 2px solid #EF4F24;
}

/*
For subpage imagery. Add a little padding below it.
 */
#main #content .subpage_image {
    margin-bottom: 1em ;
}

/*
Attribution for blockquote (issue #3). Grabs last paragraph in the blockquote and styles it.
https://css-tricks.com/almanac/selectors/l/last-of-type/
 */
.post-content blockquote p:last-of-type {
    font-family: 'Interstate Bd', Helvetica, sans-serif !important;
    font-style: normal;
    font-weight: normal ;
    text-transform: uppercase;
    font-size: .86em ;
    letter-spacing: 0.02em;
    color: #E0E0E0 ;
}

/*
Style the first paragraph of the Thesis Works and Projects pages.
*/
.post-content #student_work p:first-of-type, .post-content #thesis_abstract p:first-of-type {


}
.post-content #student_work p:first-of-type em, .post-content #thesis_abstract p:first-of-type em {

}


.fusion-footer h4.widget-title {
    font-family: 'Interstate Bd', Helvetica, sans-serif !important ;
    font-style: normal ;
    font-weight: normal ;
    text-transform: none ;
    margin-bottom: 0;
}

.fusion-footer .textwidget a {
    border-bottom: 2px solid;
    padding-bottom: 3px ;
    transition: all .3s ease;
}

.fusion-footer .textwidget a:hover, .fusion-footer .textwidget a:focus {
    border-bottom: 2px solid #EF4F24;
}

/*
Subpage image caption styles.
*/
.post-content .subpage_caption {
    font-size: 0.9em;
    font-family: 'Interstate Lt It', Helvetica, sans-serif !important ;
    font-style: italic ;
    font-weight: normal ;
    color: #576A79;
}
/*
.post-content .subpage_caption::first-line {
    font-family: 'Interstate Bd It', Helvetica, sans-serif !important ;
    font-style: italic ;
    font-weight: normal ;
}
*/

/*
Add bottom padding to photo gallery on student work pages.
 */
.post-content .photo_gallery_padding img {
    padding-top: 0px ;
    padding-bottom: 30px ;
}

/*
Student work type (project, case study, thesis abstract) style and icon.
 */
.post-content .student_work_work_type {
    font-family: 'Interstate Bd', Helvetica, sans-serif ;
    font-style: normal ;
    font-weight: normal ;
    color: #393939 ;
    text-transform: uppercase ;
    /*letter-spacing: 0.03em;*/
    padding-left: 23px ;
    font-size: 0.8em ;
    overflow: hidden;
}

.post-content .student_work_work_type.circle {
    background: rgba(255,255,255,0) url(imagery/circle-icon.png) no-repeat 0% 50%;
    background-size: 17px 17px ;
}

.post-content .student_work_work_type.diamond {
    background: rgba(255,255,255,0) url(imagery/diamond-icon.png) no-repeat 0% 50%;
    background-size: 19px 19px ;
}

.post-content .student_work_work_type.square {
    background: rgba(255,255,255,0) url(imagery/square-icon.png) no-repeat 0% 50%;
    background-size: 14px 14px ;
}


/*
Styles for the type on the Profile Index page.
 */
.post-content p.profile_index_name {
    font-family: 'Interstate Bd', Helvetica, sans-serif ;
    font-style: normal ;
    font-weight: normal ;
    font-size: 22px ;
    margin-bottom: 0.2em;
    padding-bottom: 0;
}

.post-content .profile_index {
    margin-bottom: 2em;
    /*text-align: center;*/
}

.post-content .profile_index p.profile_index_headshot {
    margin-bottom: 10px;
}

.post-content .profile_index p.profile_index_headshot img,  .post-content p.profile_index_headshot img {
    border-radius: 10px;
}

.post-content .profile_index p.profile_index_headshot a {
    border-bottom: none ;
}

.post-content .profile_index p.profile_index_name a {
    color: #393939 ;
}

.post-content .profile_index p.profile_index_graduation_year, .post-content .profile_index p.profile_index_faculty_title {
    font-family: 'Interstate Lt', Helvetica, sans-serif ;
    font-style: normal ;
    font-weight: normal ;
    font-size: 15px ;
}

/*
Styles for social media icon hover color.
 */
.fusion-social-links-footer .fusion-social-networks-wrapper a.fusion-social-network-icon:hover, .fusion-social-links-footer .fusion-social-networks-wrapper a.fusion-social-network-icon:focus {
    color: #E0E0E0 !important;
}

/*
Author bio details in left column on Student Works and Essays.
 */
.post-content .author_bio_details p {
    /*line-height: 1.3;*/
    margin-bottom: 9px;
}

/*
Added white space above headshot on Person profile page.
 */
.post-content .profile_page_headshot_padding img {
    margin-top: 25px ;
}

/*
.post-content .author_bio_details p strong {
    font-family: 'Interstate Bd', Helvetica, sans-serif ;
    font-style: normal ;
    font-weight: normal ;
    font-size: 0.8em ;
    text-transform: uppercase ;
    color: #576A79;
}
*/

/*
Course Descriptions table heading.
 */
table th {
    text-align: left;
    font-family: 'Interstate Bd', Helvetica, sans-serif !important;
    font-style: normal ;
    font-weight: normal ;
    color: #576A79;
    text-transform: uppercase ;
    font-size: 0.8em;
}

/*
Padding above and below Fusion gallery on Student Work page.
 */
#student_work div.fusion-gallery-container {
    margin-top: 25px !important ;
    margin-bottom: 25px !important ;
}

/*
Styles tags and over-rides first-of-type large text format when Fusion Builder has been used to build a page.
 */
.post-content #student_work p#keywords {
    font-size: 15px !important;
    font-family: Georgia, serif !important;
    font-weight: 400 !important;
    letter-spacing: 0px !important;
    font-style: normal !important;
}

/*
Styles text in the Fusion Builder lightbox.
 */
body .ilightbox-holder.dark div.ilightbox-inner-toolbar .ilightbox-title {
    font-family: 'Interstate Lt', Helvetica, sans-serif ;
    font-size: 0.95em ;
    font-style: normal ;
    font-weight: normal ;
}

/*
Pagination styling.
 */
ul.wpv-pagination-nav-links-container, ul.wpv-pagination-nav-links-container  * {
    font-family: 'Interstate Reg', Helvetica, sans-serif ;
    font-style: normal ;
    font-weight: normal ;
    display: inline;
}

ul.wpv-pagination-nav-links-container a {
    /*transition: border-bottom-color 300ms ;*/
    /*border-bottom: 2px solid rgba(153,197,37,0);*/
    border-bottom: none;
    /*color: #576A79;*/
    font-family: 'Interstate Lt', Helvetica, sans-serif ;
    font-style: normal ;
    font-weight: normal ;
}

ul.wpv-pagination-nav-links-container a:hover {
    /*border-bottom: 2px solid rgba(153, 197, 37, 1);*/
    border-bottom: none;
}

ul.wpv-pagination-nav-links-container .wpv_page_current span, ul.wpv-pagination-nav-links-container a {
    margin: 0 0.5em ;
}


/*
Lightbox styles for captions in photo gallery.
 */

.ilightbox-holder .ilightbox-container .ilightbox-caption {
    left: 0 !important;
    right: 0 !important;
    font-size: 16px !important;
    border-radius: unset !important;
    padding: 15px 20px !important;
}

/*
Search results. Add a bottom border to separate results.
*/
.search-results .hentry {
    border-bottom: 2px dotted #f1f1f1;
    margin-bottom: 1em ;
}

/*
The post type style in search results.
 */
p.search_result_entry span.search_result_post_type {
    font-family: 'Interstate Bd', Helvetica, sans-serif ;
    font-style: normal ;
    font-weight: normal ;
    color: #393939 ;
    text-transform: uppercase ;
    font-size: 0.8em ;
}

/*
The hightlighted term in search results.
 */
.relevanssi-query-term {
    font-weight: bold;
}

/*
Background screens in header.
 */
div.fusion-header.dmi-header-wrapper {
    background: #E0E0E0 url(https://dynamicmediainstitute.org/wp-content/uploads/DMI-Banner.png) no-repeat scroll right center ;
	/* https://dynamicmediainstitute.org/wp-content/uploads/Screen_line01.png */
    background-size: 1920px 300px ;
}

/*
Mobile header styles.
 */
.fusion-mobile-menu {
	display:none !important
}
.fusion-mobile-menu-icons a:after {
    color: #E0E0E0 !important;
    margin-top: 20px !important;
    background-color: #fff !important;
    padding: 8px !important;

}

.fusion-mobile-menu-icons a {
    font-size: 25px !important;
}

/*
Change font on Find Events button on The Events Calendar main page.
 */
#tribe-bar-form > div.tribe-bar-filters > div > div.tribe-bar-submit > input {
    font-family: 'Interstate Bd', Helvetica, sans-serif !important ;
    font-style: normal !important;
    font-weight: normal !important;
}

/*
Mobile device styles.
 */
@media only screen and (max-width: 800px) {

    /*
    Hide screens.
     */
    div.fusion-header.dmi-header-wrapper {
        background: none ;
        background-color: #E0E0E0;
    }

    /*
    Make nav menu icon white.
     */
    .fusion-mobile-menu-icons a, .fusion-mobile-menu-icons a:before {
        color: #FFFFFF !important;
    }

    /*
    Resize large introductory text.
     */
    #homepage_big_intro_text {
        font-size: 1.2em;
    }

    .fusion-mobile-nav-holder > ul li a {
        font-family: 'Interstate Reg', Helvetica, sans-serif !important ;
        font-style: normal !important;
        font-weight: normal !important;
    }

}

/*
Fusion callout styling.
 */
.fusion-button-wrapper .fusion-button {
    background-color: #EF4F24 !important;
    border-radius: 5px !important;
    font-family: 'Interstate Reg', Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    padding-bottom: 13px !important;
}

/*
Correct padding for responsive columns.
 */
@media (max-width: 768px) {
    .post-content .col-sm-12 {
        padding-left: 0!important;
        padding-right: 0!important;
    }

    .post-content .col-sm-4 {
        padding-right: 0!important;
    }

    /*
    Homepage listing of random faculty, staff, and alumni.
     */
    #wpv-view-layout-4507-TCPID3149 .row, #wpv-view-layout-4508-TCPID3149 .row, #wpv-view-layout-4509-TCPID3149 .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/*
Sort controls.
 */
#sort_controls {
    margin-bottom: 1em ;
    text-align: right ;
    font-family: 'Interstate Reg', Helvetica, sans-serif ;
    font-weight: normal ;
    font-style: normal ;
}

#sort_controls select {
    color: #000000 ;
}

#sort_controls #sort_field {
    display: inline-block;
}

#sort_controls #sort_direction {
    display: inline-block;
}