/******************************************************************
Theme Name: Matchworks Custom
Theme URI: https://www.grindstone.com.au
Description: Custom theme built for Matchworks.
Author: Richard Huf, Yavisht Katgara
Author URI: https://www.grindstone.com.au
Version: 1.7
Tags: fluid-layout, responsive-layout, accessibility-ready, translation-ready, microformats, rtl-language-support

/*
WordPress Probz
So Theme Check (http://wordpress.org/plugins/theme-check/)
is constantly telling me that it needs these classes in the CSS even
though they are in the REAL stylesheet in library/css/style.css.
So we're gonna drop these here to keep it happy.
Great work, Theme Check (eye roll)
*/

.sticky {}


/* DO NOT EDIT THIS */

.gallery-caption {}


/* THESE ARE USELESS */

.bypostauthor {}


/* THEY ARE ONLY TO KEEP THEME CHECK HAPPY */

.ubermenu {
    padding-left: 10px;
}

#ubermenu-main-2-main-nav a {
    font-size: 1.6rem;
    font-weight: 600;
}

li.ubermenu-current-menu-ancestor>a {
    border-bottom: 5px solid #B00A3A !important;
}

.ubermenu-current_page_item>a,
.ubermenu-item>a:hover {
    border: medium none;
}

.front-callout__submit-vacancy a {
    font-size: 1.7rem !important;
}

article .article-header .entry-title {
    line-height: 1.1;
    margin-bottom: 5px;
}

.home .slideshow-front__slide .container {
    display: table;
    height: 1px;
}

.home .slideshow-front__inner-wrap {
    display: table-cell;
    vertical-align: middle;
}

.home .news-feature--large a.news-feature__link img {
    width: 100%;
}

.ubermenu li.ubermenu-item-level-2 a {
    padding: 4px 10px !important;
}

h4,
h5 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.main-content-wrap {
    padding: 0;
}

.single .sidebar-content .front-callout__submit-vacancy,
.page-template-default .sidebar-content .front-callout__submit-vacancy {
    width: 100%;
    padding-top: 0;
}

a.a2a_dd {
    width: 100%;
}

a.a2a_dd:after {
    position: relative;
    right: -4px;
}

.a2a_full_footer a {
    display: none !important;
}

.single-location .entry-content {
    padding: 0 30px;
}
.entry-content h2{line-height: 1.1;}
figcaption{
    font-weight: bold;
    font-style: italic;
    font-size: 1.4rem;
    top: -20px;
    position: relative;
    line-height: 1.3;
}
p.wp-caption-text{font-weight: bold;font-style: italic;font-size: 1.4rem;line-height:1.4;}
.gf_browser_ie.gform_wrapper .gform_footer input.button{padding:5px 15px;}
.search .excerpt-read-more{display:none;}
.footer__social-link a {vertical-align: middle;}
.video-section__container h3 a{padding: 0;}
.video-section__modal-link {
    padding: 0 0 80px;
}
/* Large Devices, Wide Screens */

@media only screen and (max-width: 1380px) {
    #ubermenu-main-2-main-nav a {
        font-size: 1.4rem;
    }
}


/* Medium Devices, Desktops */

@media only screen and (max-width: 1024px) {
    .page-banner {
        background-position: bottom right;
    }
    .site-footer__wrap .site-footer .site-footer__inner .widget {
        width: 33.3333%;
    }
    .site-footer__wrap .site-footer .site-footer__inner .footer__logos {
        width: 100%;
        margin-top:80px;
    }
    .page-template-landing-page .entry-content {
        padding: 0px 30px;
    }
    .page-template-landing-page .container--callout-links-three-up .callout-links__list {
        padding: 0px 30px;
    }
    .site-footer__inner {
        padding: 80px 30px;
    }
    .breadcrumb-wrap #breadcrumbs,
    .container {
        padding: 0px 30px;
    }
    .page-banner__heading,
    .page-title,
    .slideshow-front__title {
        line-height: 1;
    }
    .article-internal-landing-page {
        padding: 55px 0 180px;
    }
}


/* Medium Devices, Desktops */

@media only screen and (max-width: 992px) {
    .page-banner {
        background-position: right;
    }
    .news-single__title {
        padding-top: 30px;
    }
    .page-banner {
        display: table;
        height: 1px;
    }
    .page-banner .container {
        padding-top: 0px;
        display: table-cell;
        vertical-align: middle;
    }
    .case-studies-slider {
        margin-bottom: 100px;
    }
    .case-studies-slider__list-item {
        margin-top: 100px;
    }
    .search-results .search-results-wrap h2{margin-top:30px;}
    figure.location-finder__image{display:none;}
    .location-finder__item-detail{position:relative;}
}


/* Small Devices, Tablets */

@media only screen and (max-width: 768px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1.2;
    }
    .page-banner {
        background-position: right top;
        margin-bottom: -48px;
        padding: 80px 0 40px;
        transform: translateY(-48px);
        min-height: auto;
        display: table;
    }
    .page-template-locations-page .page-banner {
        margin-bottom: 0;
    }
    .page-template-landing-page .entry-content {
        padding: 0;
    }
}


/* Extra Small Devices, Phones */

@media only screen and (max-width: 599px) {
    .page-banner {
        transform: translateY(0px);
        margin-bottom: 0px;
    }
    .home .callout-link a {
        padding: 88px 20px 0;
    }
    .site-footer__wrap .site-footer .site-footer__inner .widget {
        width: 100%;
    }
    
    .page-template-landing-page .container--callout-links-three-up .callout-links__list {
        padding: 0px 20px;
    }
    .site-footer__inner {
        padding: 80px 20px;
    }
    .breadcrumb-wrap #breadcrumbs,
    .container {
        padding: 0px 20px;
    }
    .home .case-studies-slider__list {
        margin: 20px 0 ;
    }
    .home .main-content-wrap {
        padding-bottom: 0;
    }
    .site-footer__fine-print {
        padding: 0px 20px;
    }
    .blog article a img {
        display: none;
    }
    .blog .article-listing-teaser .entry-content {
        padding: 0;
    }
    .page-template-case-study-page article a img {
        display: none;
    }
    .page-template-case-study-page .article-listing-teaser .entry-content {
        padding: 0;
    }
    
    .page-template-landing-page .container--callout-links-three-up .callout-links__list {
        padding: 0;
    }
    .case-studies-slider__list {
        margin: 0px;
    }
    .internal-page__navigation a{line-height: 1.2;font-size: 1.4rem;}
    .internal-page__navigation .page_item{margin:1px;}
    .callout-link a {
        background-size: auto 45px;
    }
    .home .callout-link a {
        background-size: auto 50px ;
    }
    
}


/* Custom, iPhone Retina */

@media only screen and (max-width: 320px) {
    .internal-page__navigation .page_item{flex-basis: 100%;}
    .callout-link a {
            background-size: auto 35px;
            padding:80px 20px 0;
        }
    
}

.footer-logo__karingal a {
    background: transparent url(../matchworks/library/images/gen-u.png) center center no-repeat;
    background-size: 100% auto;
}