.master-template .container h3, 
.master-template .container h4, 
.master-template .container h5 {
    font-family: "freight-big-pro", serif;   
}

.master-template .container h3 {
    line-height: 40px;   
    margin-bottom: 20px;
}

.master-template .hero-content h1 {
    line-height: 70px;
    margin-bottom: 3rem;
}

.master-template .hero-content p {
    margin-bottom: 30px;
}

.master-template #go-to-contact-form {
    display: none;
}

.master-template p {
    margin-bottom: 10px;
}

.master-template .grid-3-3-offset-l div:last-child {
    grid-column: none;
    grid-row: none;
}

.master-template .container .contained {
    padding-bottom: 30px;
}

.master-template .container .contained.divider-part {
    padding-bottom: 0px;
    border-bottom: 1px solid #4d4d4d;
    border-top: 1px solid #4d4d4d;
    position: relative;
}

.master-template .container .contained.posts-part {
    padding-bottom: 0px;
}

.master-template .container .contained.posts-part .contained {
    padding-bottom: 0px;
}

.master-template .image-class-sbs {
    display: inline-block;
    width: 49%;
    height: auto;
    vertical-align: middle;
}

.master-template .image-class-single {
    width: 98.6%;
    height: auto;
    display: inline-block;
}

.master-template iframe {
    height: 300px;
    width: 49%;
    display: inline-block;
}

.master-template #user-interaction {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-filter: grayscale(90%); 
    filter: grayscale(90%);
    max-height: 700px;
    height: auto;
    overflow: hidden;
    transition: all 1s ease-in-out;
} 

.master-template #user-interaction.colour {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.master-template .interaction-inner {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 30px;
    background: rgba(255,255,255,0.9);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.master-template .interaction-inner.show {
    opacity: 1;
    transition: all 0.1s ease-in-out;
}

.master-template .interaction-inner .inner-image {
    max-width: 300px;
    display: inline-block;
}

.master-template .fancybox-content {
    padding: 0px;
    border-radius: 5px;
}

.master-template .icon-grid-part .grid-container-2 {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 0;
    margin: 0 auto;
}

.master-template .icon-grid-part .grid-item {
    padding: 20px;
    font-size: 2.1rem;
}

.master-template .icon-grid-part .grid-icon {
    float: left;
    margin-right: 15px;
}

.master-template .discovery-day-part {
    position: relative;
}

.master-template .discovery-day-part #events-search-form,
.master-template .discovery-day-part #location-search-results {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.master-template .discovery-day-part #location-search-results {
    width: 96%;
    top: 159px;
    border: 2px solid #83266c;
}

.master-template .discovery-day-part #location-search-results a {
    background: #f7f7f7;
}

.master-template .discovery-day-part #events-search-form #search {
    border-radius: 5px;
    background: #FFFFFF;
    margin: 0 auto;
    font-size: 1.7rem;
    border: 2px solid #83266c;
    padding: 18px 6px;
}

.master-template .discovery-day-part select:not(.dob-field) {
    -webkit-appearance: listbox;
    width: 100%;
    max-width: 600px;
    padding: 18px 6px;
    border-radius: 5px;
    background: #FFFFFF;
    margin: 0 auto;
    font-size: 1.7rem;
    border: 2px solid #83266c;
}

.master-template .discovery-day-part select#discovery-day-locations option {
    font-size: 2rem;
}

.master-template .discovery-day-part #session-details-container {
    border-top: 5px solid #83266c;
    border-bottom: 5px solid #d2dc6a;
    background-image: url(https://nwuk.site/images/WALX-Discovery-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 25%;
    box-shadow: inset 0 0 0 1000px rgba(255,255,255,.8);
}

.master-template .discovery-day-part #discovery-session-group-logo {
    position: relative;
    display: inline-block;
}

.master-template .discovery-day-part #discovery-session-group-logo img {
    max-width: 175px;
    height: auto;
    position: relative;
    display: inline-block;
    border: 1px solid #cbcbcb;
    background: #FFFFFF;
}

.master-template .discovery-day-part #discovery-session-group-logo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 93%;
    top: -1rem;
    left: -1rem;
    background: #d2dc6a;
    z-index: 0;
}

.master-template .login-register-box {
    display: none;
}

.master-template .festivals-showcase-part .festivals-showcase-part {
    padding: 5px;
}

.master-template .festivals-showcase-part .festival-showcase-item {
    border-radius: 10px;
    background: #e9e9e9;
}

.master-template .festivals-showcase-part .festival-icon {
    width: 100%;
    max-width: 250px;
    height: 100%;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    filter: grayscale(80%);
}

.master-template .festivals-showcase-part .festival-icon:hover {
    filter: grayscale(0%);
}

.master-template .festivals-showcase-part .festival-grid {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: auto auto auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px;
}

.master-template .festivals-showcase-part .festival-showcase-item .festival-grid .grid-item {
    padding: 10px;
    background: #c0c4bd;
    padding: 10px;
    border-radius: 10px;
}

.master-template .festivals-showcase-part .festival-info-label {
    display: block;
    color: #83266c;
}

img.mt-guide-image {
    width: 100%;
    max-width: 800px;
    height: auto;
}

img.mt-guide-image.mt-border {
    border: 1px solid #cfcfcf;
}

.acf-button-group label {
    padding: 0px 6px;
    background: #f1f1f1;
}

@media screen and (min-width: 992px) {

    .master-template h1 {
        font-size: 6rem;
    }
    
    .master-template .container .contained.divider-part.branded:before {
        content: url(https://walx.co.uk/wp-content/uploads/2019/12/walx-logo-100x100.png);
        position: absolute;
        left: 20px;
        top: 22px;
        opacity: 0.3;
    }
    
    .master-template .container .contained.divider-part.branded:after {
        content: url(https://walx.co.uk/wp-content/uploads/2019/12/walx-logo-100x100.png);
        position: absolute;
        right: 20px;
        top: 22px;
        opacity: 0.3;
    }

    .master-template .hero.hero-2 {
        grid-template-rows: minmax(30rem, 1fr) 14rem minmax(30rem, 1fr);
    }

    .master-template .grid-4-col-l .grid-2-row p {
        min-height: 0;
    }

    .master-template .grid-offset-img {
        grid-template-rows: 1fr 4fr 60px 0fr;
    }

}

@media screen and (min-width: 1337px) {

    .master-template .hero.hero-1 .hero-content {
        max-width: 76rem;
        opacity: 0.9;
    }

    .master-template .hero.hero-1 {
        grid-template-rows: 9vh auto 3rem auto 15vh;
    }

    .master-template .hero.hero-2 {
        grid-template-rows: minmax(37rem, 1fr) 25rem minmax(37rem, 1fr);
    }

    .master-template .hero.hero-4 {
        grid-template-rows: 15rem 4rem auto;
    }
    
    .master-template .discovery-day-part #session-details-container ul.list-unstyled {
        white-space: nowrap;
        border-bottom: 1px solid #4d4d4d;
        display: inline-block;
    }

    .master-template .discovery-day-part #session-details-container ul.list-unstyled li {
        display: inline;
        margin: 0 15px;
    }
    
    .master-template .discovery-day-part #session-details-container ul:not(.list-unstyled) li {
        display: inline-block;
    }

    .master-template .grid-offset-img {
        grid-template-rows: 1fr 3fr 60px 0fr;
    }

}

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

    .master-template h1 {
        font-size: 6rem;
    }

    .master-template .hero.hero-4 {
        grid-template-rows: inherit;
    }

    .master-template .bg-purple + .hero-content {
        color: #FFFFFF;
    }

    .master-template .hero.hero-1 {
        grid-template-rows: 35vh 5rem auto 3rem auto;
    }

}

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

    .master-template .hero.hero-4 {
        grid-template-rows: 52rem 0rem auto;
    }

    .master-template .hero.hero-1 .hero-content {
        max-width: 80%;
    }

}

/* iPad all */

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1.5) {

    .master-template h1 {
        font-size: 6rem;
    }

}

/* iPad landscape */

@media screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {

    .master-template .hero.hero-1 .hero-content {
        max-width: 80rem;
    }
    
    .master-template .container .contained.divider-part.branded:before,
    .master-template .container .contained.divider-part.branded:after {
        top: 12px;
    }
    
    .master-template .hero.hero-4 {
        grid-template-rows: 10rem 1rem auto;
        margin-bottom: 5rem;
    }

}

/* iPad Portrait */

@media screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait), screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) {

    .master-template .hero.hero-1 {
        grid-template-rows: 5vh auto 3rem auto;
    }

    .master-template .hero.hero-2 {
        grid-template-rows: minmax(30rem, 1fr) 11rem minmax(30rem, 1fr);
    }

}

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

    .master-template .hero.hero-4 .bg-purple + .hero-content{
        color: #FFFFFF;
    }

} 

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

    
    .master-template iframe {
        width: 100%;
    }
    
    .master-template h1 {
        font-size: 4rem;
    }
    
    .master-template #search-map {
        height: 300px !important;
        width: 100% !important;
        position: relative !important;
        left: initial;
        top: initial;
    }

    .master-template .hero.hero-2 {
        grid-template-rows: minmax(22rem, 3fr) 6rem minmax(15rem, 2fr);
    }

    .master-template .container .contained {
        padding-bottom: 5px;
    }

    .master-template .icon-grid-part .grid-container-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .master-template .discovery-day-part #location-search-results {
        top: 200px;
    }

}