/*
Theme Name: Blackwood Miners Institute
Theme URI: https://blackwoodminersinstitute.com
Description: Blackwwod Miners Institute Website
Version: 1.0
Author: Richard Boydell
Author URI: https://www.unitedgraphicdesign.com/
*/


/* Body */

html, body {height: 100%; width: 100%; margin:0; padding:0; color: var(--navy); font-family: serenity, sans-serif; font-size: 1em; font-weight: 300; line-height: 1.3; scroll-behavior: smooth;}


/* Typography */

h1 {font-size:3em;}
h2 {font-size:2.5em;}
h3 {font-size:1.6em;}
h4 {font-size:1.4em;}
h1, h2, h3, h4 {font-family: forma-djr-banner, sans-serif; font-weight: 800; margin-bottom: 10px; letter-spacing: 0.02em;}

a {color:inherit; text-decoration:underline;}
a:hover {text-decoration: none;}

strong {font-weight: 700;}

hr {display: block; content: ''; margin: 1.5em auto; border-style:solid; border-width: 5px; border-color:var(--navy); opacity: 0.1; clear: both;}


/* Images */

.alignleft {float:left;	margin-right:15px;}
.alignright {float:right;margin-left:15px;}
.aligncenter {margin: 0 auto; text-align: center;}

img {max-width:100%; height: auto;}

.gallery-thumb {padding: 5px !important;}
.caption-title {font-size: 1.2em; background: var(--white); padding: 15px 15px 20px; margin:0; -webkit-margin-before: 0; -webkit-margin-after:0;}


/* Structure */

* {box-sizing: border-box;}

.wrapper {max-width: 1200px; margin: 0 auto; position: relative;}
.smallwrapper {max-width: 800px; margin: 0 auto;}
.row:after, .wrapper:after, .smallwrapper:after {content: ""; clear: both; display: block;}
.block {padding: 60px 0; position: relative;}
.column {padding: 0 30px;}

[class*="col-"] {float: left; padding: 30px;}

@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}

.clear {clear: both;}


/* Colours */

:root {
--white: #FFFFFF;
--black: #000000;
--grey: #eef2f4;
--navy: #265b8c;
--blue: #0A78C7;
--red: #ED1C24;
}

.white {background-color: var(--white);}
.black {background-color: var(--black); color: var(--white);}
.grey {background-color: var(--grey); color: var(--white);}
.navy {background-color: var(--navy); color: var(--white);}
.blue {background-color: var(--blue); color: var(--white);}


/* Splash page */

.splash {position: relative; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center;}
.splash::after {position: absolute; top:0; left:0; width: 100%; height: 100%; content: ""; background-color: rgba(0,0,0,0.5);}
.splash-box {color: var(--white); font-size: 1.2em; max-width: 600px; height: auto; margin: 0 auto; padding: 30px; text-align: center; background: rgba(10,120,199,0.9); z-index: 999;}
.splash-box img {margin-bottom: 30px; max-width: 200px;}
.splash-box a {font-size: 1.3em; color: var(--white); padding: 20px; margin: 15px; border: 1px solid var(--white); display: inline-block; text-decoration: none; transition: ease all 0.5s;}
.splash-box a:hover {background-color: var(--navy);}
.splash-box p {margin: 0;}
.splash-box h1 {color: var(--white); font-size:1.8em;}


/* Header */

.header {min-height: 500px; color: var(--white) !important; position: relative; background-image:linear-gradient(to bottom, rgba(0,0,0,1.0), rgba(0,0,0,0.3), rgba(0,0,0,0.3));}
.header-home {min-height: 600px; color: var(--white) !important; position: relative;}
.header-flex {display: flex; align-items: center; flex-wrap: wrap; padding: 10px 30px; z-index: 999;}
.logo {width:15%;}
.logo img {width: 100%;}

.single-feature {position: absolute; top:0; left:0; width:100%; height: 100%; z-index: -1; background-size: cover; overflow: hidden; background-repeat: no-repeat; background-position: center;}
@media only screen and (min-width: 768px) {.mobile {display: none;}}

.page-title {position: absolute; bottom: 0; width: 100%;}
.page-title h1 {margin: 0; color: var(--white);}


/* Navigation */

.navigation {width:85%; float: right; font-size: 1.2em; font-family: forma-djr-banner, sans-serif; font-weight: 800; letter-spacing: 0.5px; padding: 15px 30px; text-transform: uppercase; text-align: right;}
nav {margin: 0;}
nav ul {padding: 0; margin:0; list-style: none; position: relative;}
nav ul li {padding: 0; margin: 0 -7px 0 0; display:inline-block; text-align: left;}
nav a {display:block; padding: 10px 15px; text-decoration:none; transition: ease all 0.8s;}
nav a:hover {text-decoration:none; opacity: 0.6;}
nav ul ul {display: none; position: absolute; /* top: 100%; */}
nav ul li:hover > ul {display:inherit;}
nav ul ul li {z-index: 9999; min-width:170px; display:list-item; position: relative; background-color:var(--blue); border-bottom: 1px solid #FFFFFF; font-size: 0.9em;}
nav ul ul li a:hover {}
nav ul ul ul {position: absolute; top:0; }
nav li > a:after {content:  " +"; font-size: 0.8em;}
nav li > a:only-child:after { content: ''; }
nav .strong {font-weight: 700;}

ul.sub-menu {float:left; text-align: left;}

nav.welsh {font-size: 0.85em;}
nav.welsh a {}

ul#menu-main-menu.menu, ul#menu-main-menu-1.menu, ul#menu-bwydlen.menu, ul#menu-bwydlen-1.menu {list-style-type: none; list-style-image: none; margin: 0; padding: 0;}
ul#menu-mobile-menu.menu {list-style-type: none; list-style-image: none;}
@media only screen and (min-width: 768px) {.sidenav, .menu-button {display: none;}}

.wpml-ls-item span {font-size: 0.75em; border: 2px solid var(--white); border-radius: 50%; margin-left: 15px; padding: 2.5px;}

.breadcrumbs a {font-weight: 700; text-decoration: none;}
.breadcrumbs a:hover {text-decoration: underline;}

.bttop {transition: ease all 0.8s; opacity: 0; position: fixed; bottom: 30px; right: 30px; font-size: 0.85em; z-index: 99999999;}
.bttop::after {font-family: FontAwesome; content: "\f0aa"; font-size: 1.3em;}
a.bttop {text-decoration: none; color: var(--blue);}
.not-transparent {opacity: 1;}


/* Carousel */

#slider {position: absolute; top:0; left:0; width:100%; height: 600px;}
.slide {height:600px; position: relative; background-size: cover; background-repeat: no-repeat; background-position: center;}
.slide-caption-wrap {width: 100%; position: absolute; bottom: 90px;}
.slide-caption {color:#FFFFFF; padding: 30px;}
.slide-caption h2 {font-weight: 800; font-size: 3em; margin-bottom: 5px;}
.slide-caption p {font-size: 1.5em; font-weight: 500; margin: 0 0 15px;}


/* Content */

.welcome p {font-size: 1.3em;}

.rough {display: inline-block; position: relative; left: 50%; transform: translateX(-50%); text-align: center; text-transform: uppercase; background-repeat: no-repeat; background-size: 100% 100%; background-position: center; padding: 15px 60px 30px; margin-top: 0;}
.rough:after {content: ""; clear: both; display: block;}

.page p, .page li {font-size: 1.3em;}
.page a {font-weight: 700;}
.page h1, .page h2, .page h3, .page h4 {}

.lwptoc_i {background-color: var(--grey); border-radius: 15px; padding: 15px !important; display: flex !important; align-items: center; }
.lwptoc_i:after {content: ""; clear: both; display: block;}
.lwptoc_header {display: inline-block; float: left; margin: 0 10px 0 0 !important;}
.lwptoc_item {display: inline-block; float: left; text-transform: uppercase; margin: 0 !important; font-size: 1.3em;}
.lwptoc_item:after {content: "|"; display: inline-block; float: right; margin: 0 7.5px;}
.lwptoc_item:first-of-type:before {content: ""; display: inline-block; float: left; margin: 0;}


/* Shows Archive */

.shows {padding: 30px 0;}
.shows-wrap {display: flex; flex-wrap: wrap; width:100%;}
.show {width: calc(25% - 30px); margin: 15px; background-color: var(--grey); position: relative;}
.show-image {height:340px; background-size: cover; background-position: center; background-repeat: no-repeat;}
.show-content {padding: 15px 15px 30px; margin-bottom: 60px;}
.show-content h3 {margin-top: 10px;}
.show-date {font-size: 1.3em; font-weight: 500;}
.show-cat {background-size: 100% 100%; background-repeat: no-repeat; text-transform: uppercase; font-weight: 500; padding: 5px 10px; display: inline-block; margin: 5px 0;}
.music {background-image: url("images/live-music-stroke.png"); color: var(--white);}
.orig-music {background-image: url("images/orig-music-stroke.png"); color: var(--black);}
.comedy {background-image: url("images/comedy-stroke.png"); color: var(--black);}
.theatre {background-image: url("images/theatre-stroke.png"); color: var(--white);}
.dance {background-image: url("images/dance-stroke.png"); color: var(--white);}
.entertainment {background-image: url("images/entertainment-stroke.png"); color: var(--white);}
.family {background-image: url("images/family-stroke.png"); color: var(--white);}
.film {background-image: url("images/film-stroke.png"); color: var(--black);}
.talks {background-image: url("images/talks-stroke.png"); color: var(--white);}
.show-links {background-color: var(--navy); color: var(--white); padding: 15px; font-size: 1.2em; font-weight: 700; position: absolute; bottom: 0; left:0; right:0;}
.show-links a::before {display: inline-block; font-family: FontAwesome; content: "\f3ff"; margin-right: 7.5px;}


/* Shows Page */

h1.show-title {margin-top: 0; margin-bottom: 10px; line-height: 1.1;}
.show-breadcrumbs {margin-bottom: 15px; font-size: 0.85em;}
.show-breadcrumbs a {font-weight: 700; text-decoration: none;}
.show-breadcrumbs a:hover {text-decoration: underline;}
.show-description font {font-size: 1em !important;}

.show-details-title {font-weight: 700; margin-top: 10px;}
.show-details-title:first-of-type {margin-top: 0 !important;}
.show-details-meta {font-size: 0.85em;}

.show-tickets {padding: 10px 0; border-bottom: var(--navy) dashed 1px;}
.show-tickets::after {content: ""; clear: both; display: block;}
.show-tickets-title {float:left; width:65%; font-weight: 700;}
.show-tickets a {color:var(--white); background-color:var(--navy); padding:5px 15px; font-weight:500; cursor:pointer; text-decoration:none; text-transform:uppercase; transition:ease all 0.6s; border-radius:10px; float:right;}
.show-tickets a:hover {text-decoration:none; background-color:var(--blue);}
.sold {background-color: var(--red) !important;}

.embed-container {position: relative; padding-bottom: 56.25%; overflow: hidden; max-width: 100%; height: auto;} 
.embed-container iframe, .embed-container object, .embed-container embed {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.linked-shows {padding: 0 30px 30px; border-top: solid 15px var(--grey);}


/* Information Boxes */

.info-wrap {background-color: var(--grey); padding: 30px 0;}
.info-box {display: block; color: var(--navy); padding: 30px 30px 0;}
.info-box:first-of-type {padding: 0 30px;}
.info-box:last-of-type {padding: 30px;}
.info-image {height:250px; overflow: hidden;}
.info-image img {width:100%; height: 250px; object-fit: cover;}
.info-content {font-size: 1.3em; font-weight:500;}
.info-content h3 {color: var(--navy); margin-top:0;}
.info-box a {color:var(--white); background-color:var(--navy); padding:5px 15px; font-weight:500; cursor:pointer; text-decoration:none; text-transform:uppercase; transition:ease all 0.6s; border-radius:10px;}
.info-box a:hover {text-decoration:none; background-color:var(--blue);}


/* Mailing List Box */

.mailing-block {background-repeat: no-repeat; background-size: 100% 100%; background-position: center; padding: 60px 0; margin: 30px 0;}
.mailing-wrap {width:100%; text-align: center;}
.mailing-wrap:after {content: ""; clear: both; display: block;}
.mailing-wrap h3 {margin-top:0; text-transform: uppercase;}
.mailing-wrap img {max-height: 75px;}
.mailing-wrap-content {font-size: 1.3em; font-weight:500;}


/* Galleries */

.gallery-thumb {padding: 5px !important;}
.caption-title {font-size: 1.2em; background: var(--white); padding: 15px 15px 20px; margin:0; -webkit-margin-before: 0; -webkit-margin-after:0;}


/* Google Maps */

.map-wrap {padding: 0 30px 30px;}
.acf-map {width: 100%; height: 400px; border: #ccc solid 1px; margin: 20px 0;}
.acf-map img {max-width: inherit !important;}


/* Sidebar */

.sidebar {background-color:var(--grey); padding:15px; position: relative; font-size: 1.2em; margin-bottom: 30px;}
.sidebar li {list-style-type:none;}
.sidebar ul {margin: 0; padding: 0;}
.sidebar h2, .sidebar h4 {margin-top: 0;}
.sidebar ul a {text-decoration:none;}
h2.widgettitle  {list-style-type: none; list-style-image: none;}
.sidebar .widget {margin-bottom: 30px;}
.sidebar .widget::after {display: block; content: ''; margin: 1.5em auto; border-style:solid; border-width: 5px; border-color:inherit; opacity: 0.2; clear: both;}
.widget_subpages li a {display: block; border-bottom: 1px dotted #009BCD; font-size: 1em; line-height: normal; padding: 10px 0;}
.times {float: left; width: 50%;}
.sidebar img {transition: ease all 0.8s;}
.sidebar img:hover {transform: scale(1.1);}


/* FAQs */

.collapsible {background-color: #EEEEEE; cursor: pointer; padding: 15px; width: 100%; border: none; text-align: left; outline: none; margin-bottom: 2px !important; font-weight: 700; font-size: 1.2em;}
.active, .collapsible:hover {background-color: #06357a; color: var(--white);}
.collapsible:before {content: '\002B'; font-weight: bold; float: right; margin-left: 5px;}
.active:before {content: "\2212";}
.collapse {background-color: var(--white); padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out;}
.collapse-content {padding: 15px;}


/* Forms */

input:matches([type="button"], [type="submit"], [type="reset"]) {color:#265b8c; background-color:#eef2f4; border-radius: 10px; padding: 5px 15px; border: none; font-size: 1.3em; font-weight: 500; font-family: serenity, sans-serif;}

.gfield_label {font-size: 1em !important; font-weight: 300 !important;}
.gfield_required {font-style: normal !important; color: inherit !important; font-weight: 300 !important;}

#gform_fields_1 {width: 60%; margin: 0 auto;}
#gform_submit_button_1 {margin: 0 auto; cursor: pointer; transition:ease all 0.6s;}
#gform_submit_button_1:hover {text-decoration:none; color:var(--white); background-color:var(--blue);}


/* Footer */

#footer {color: var(--white); line-height: 1.2; background-image: linear-gradient(to bottom, var(--blue), var(--navy), var(--black)); background-repeat: no-repeat; background-size: cover; padding: 30px 0; font-weight: 300;}
#footer h2 {color: inherit !important; margin-top: 0; font-weight: 500; font-size: 1.3em; font-family: serenity, sans-serif;}
#footer a {color:inherit; text-decoration: none;}
#footer a:hover {text-decoration: underline;}
#footer li {list-style-type: none; list-style-image: none; padding: 0; margin: 0; -webkit-padding-start:0;} 
#footer ul {list-style-type: none; list-style-image: none; padding: 0; margin: 0; -webkit-padding-start:0;}
#footer img {max-width: 250px !important; transition: ease all 0.3s;}

.foot1 {text-align: left;}
.foot2 {text-align: center;}
.foot2 img {margin: 0 3px; transition: all ease 0.5s;}
.foot2 img:hover {transform: scale(0.9);}
.foot3 {text-align: right;}
.foot3 li {padding: 0;}
.foot4 {text-align: center;}
.foot4 .gallery {display: flex; align-items: center; padding-top: 15px !important;}
.foot4 .gallery img {border: none !important;}

.copyright {text-align: center; font-size: 0.8em;}
