/* Main Styles for Site */

/* ===== @ Font Face ===== */
@font-face {
    font-family: 'Wrexham';
    src: url('../fonts/WREXHAM_.eot?');
    src:        url('../fonts/WREXHAM_.woff') format('woff'),
                url('../fonts/WREXHAM_.ttf') format('truetype'),
                url('../fonts/WREXHAM_.svg') format('svg');
        }

/* 
 * ===== COLOR PALETTE =====
 * Main Orange - rgb(255, 126, 0) | #ff7e00
 * Darker Orange - rgb(255, 100, 0) | #ff6400
 * Dark Grey - #222
 *
 */


/* ===== SITE STYLES ===== */

html {
        font-size: 10px;
        background-image: linear-gradient(#000,#aaa);
}

body {
        font-family: lato;
        color: #444;
        background: #fff;
}

.main-navigation {
        background-color: #000;
        color: #fff;
        font-size: 1.3rem;
        text-align: center;
}

.main-header {
        background-color: rgb(255, 126, 0);
        padding-top: 25px;
        padding-bottom: 30px;
        text-align: center;
}

.hero.hero-large {
       /* min-height: 600px; min-height set by vegas slideshow */
       height: 600px;
        background-size: cover;
        background-position: center center;
}

.hero.hero-small {
        min-height: 300px;
        background-size: cover;
        background-position: center center;
}

.main-content {
        font-size: 2rem;
}

#main-footer {
        background-color: #222;
        color: #fff;
        padding: 30px 0;
        font-size: 1.4rem;
}
#deep-footer {
        background-color: #000;
        color: #888;
        padding: 10px 0;
}

/* HEADER AREA */

.main-header {
    position: relative;
}

.sitetitle,
.subtitle {
        display: block;
}

.sitetitle {
        font-family: "Wrexham";
        font-size: 6rem;
        margin: 0;
        text-shadow: 1px 2px 0 #faebd7;
}
        .sitetitle a {
                color: #000;
                text-decoration: none;
        }

.obielogo img {
	width: 100px;
	margin-right: 1rem;
	position: relative;
	top: -10px;
}

.subtitle {
        font-size: 2.5rem;
        margin: 0;
        padding: 0;
        color: #fff;
        text-shadow: 1px 1px 0 #666;
}

/* ANNOUNCEMENT */

.announcement {
    font-size: 2.1rem;
    color: rgb(250, 100, 0);
    background: rgb(250, 225, 200);
    text-align: center;
}

/* FOOTER AREA */

.footer-logo,
.footer-address {
  display: table-cell;
  padding-right: 1em;
  vertical-align: top;
}

#main-footer .social .fa {
  font-size: 3rem;
  padding: 10px;
}
#main-footer .social a {
    color: #fff;
}
    #main-footer .social a:hover {
        color: rgb(255, 126, 0);
    }

/* Footer Menu */

.footer-menu {
    font-size: 1.3rem;
}

.footer-menu li {
    list-style: none;
}
.footer-menu li > a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
}
    .footer-menu li:hover > a,
    .footer-menu li:active > a {
        background: rgb(255,126,0);
        color: #000;
    }


/* SPECIAL STYLES */

.attribution {
    font-size: 8px;
    color: #777;
    display: block;
    text-align: right;
}

.pullquote,
.aside {
    display: block;
    float: right;
    width: 30%;
    padding: 3rem 2rem;
    color: #222;
    margin: 2rem;
    border-style: solid;
    border-color: #666;
    font-size: 130%; /*80%;*/
   /* background: rgba(255, 126, 0, 0.2); /*rgba(255, 165, 0, 0.2); #fcfafa;*/
}

.aside {
    font-size: 80%;
    background:  rgba(255,126,0,0.2);
}
    .pullquote-right,
    .aside-right {
        float: right;
        border-width: 0 0 0 2px;
        margin: 2rem 0rem 2rem 2rem;
        /*text-align: right;*/
        padding-left: 3rem;
    }
    .pullquote-left,
    .aside-left {
        float: left;
        border-width: 0 2px 0 0;
        margin: 2rem 2rem 2rem 0;
        /*text-align: left;*/
        padding-right: 3rem;
    }
    .pullquote figure.align_left,
    .pullquote figure.align_right,
    .aside figure.align-left,
    .aside figure.align-right { margin-top: 0; }


.swing {
	font-family: 'Wrexham';
}
.sitetitle .swing {
	color: #fff;
	display: inline-block;
	text-shadow: 3px 1px 0px #000;
	transform: rotate(-15deg) translateY(-10px);
}

/* =====
BASIC HTML/UIKIT OVERRIDES
===== */

a { color: #ff6400; }
.section3 a { color: #e8ff08; }
	.section3 a:hover { color: #0f6ecd; }
.announcement a { color: #0f6ecd; }

a[href*=".pdf"]::after {
    font-family: fontawesome;
    content: '\f1c1';
    margin-left: 0.5rem;
    color: #ff0000;
}
a[href*=".doc"]::after,
a[href*=".docx"] {
    font-family: fontawesome;
    content: '\f1c2';
    margin-left: 0.5rem;
    color: #00a1f1;
}
    /*Change link icon color in buttons*/
    a.uk-button.uk-button-primary[href*=".pdf"]::after {
        color: #fff;
    }

audio { 
	margin: 3.5rem 0 2rem;
}

em { color: inherit; }

li { list-style-position: inside; }

.uk-button {
    font-size: 1.8rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.button-mtsb {
  background: #222;
  color: #fff;
}
  .button-mtsb:hover {
    background: #666;
    color: #fff;
  }

.uk-card-body {
    font-size: 1.3rem;
}


/* =====
NAVIGATION
===== */

.main-navigation ul.topnav {
        padding-left: 0;
}

.main-navigation li {
        display: inline-block;
        list-style: none;
        text-transform: uppercase;
        font-weight: 700;
}

.main-navigation li > a {
        display: inline-block;
        padding: 1rem;
        background-color: transparent;
        color: #fff;
        text-decoration: none;
        transition: background-color .5s linear,
        			color .5s linear;
}
        .main-navigation li > a:hover {
                background-color: rgb(255, 126, 0);
                color: #000;
                text-decoration: none;
        }

/* -----
Mobile Menu
----- */

.mm-navigation { 
	background: #000;
	color: #fff;

}

.hamburger-menu-text {
	font-size: 2rem;
	color: #fff;
	text-transform: uppercase;
}

.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
	background-color: #ff6400 !important;
}

@media (max-width: 959px) {

	#my-menu { display: none; }

}

.mm-navbar .mm-title {
	font-size: 2.5rem;
}

.mm-panels, .mm-panels > .mm-panel {
	background-color: #ff6400 !important;
}

.mm-listview > li > a, 
.mm-listview > li > span {
    color: #fff !important;
}


/* =====
HEADINGS
===== */

h1 { font-size: 4rem; }
h2 {
        font-size: 3.5rem;
        border-bottom: 1px solid rgb(255, 126, 0);
}
h3 { font-size: 3rem; }
h4 { font-size: 2.5rem; }
h5,h6 { font-size: 2rem; }

h1.pagetitle {
        font-size: 4rem;
        text-align: center;
}

#main-footer h1,
#main-footer h2,
#main-footer h3,
#main-footer h4,
#main-footer h5,
#main-footer h6 {
        color: #fff;
}

/* =====
IMAGES
===== */

figure {
        display: table;
}

figcaption {
        display: table-caption;
        caption-side: bottom;
        padding: 1rem;
        font-size: 1.3rem;
        color: #666;
}
figcaption > .attribution {
        font-size: 70%;
        display: block;
        color: #aaa;
        text-align: right;
}
    .section3 figcaption > .attribution { color: #555; }

.align_left {
        float: left;
        margin-right: 2rem;
        margin-bottom: 1rem;
}

.align_right {
        float: right;
        margin-left: 2rem;
        margin-bottom: 1rem;
}

.align_center {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
}
	img.align_center { display: block; }

/* Image group */

.image-group {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-flow: wrap;
}

.image-group > img {
    margin: 1rem;
}


/* =====
FRONT PAGE
===== */

.iconnav {
        background: #222;
        color: #fff;
        text-align: center;
}
.iconlink {
       /* border-right: 1px solid #fff; */
}
        .iconlink:last-of-type { border-right: 0; }
        .iconlink .fa { 
                font-size: 6rem;
                margin-bottom: 2rem;
                }
        .iconlink a { 
                color: #fff;
                text-decoration: none;
                }
                .iconlink a:hover { color: rgb(255, 126, 0); }

.section1,
.section3 {
        background: rgb(255, 126, 0);
}

.section2 {
        background: #222;
}

.section3,
.section3 h1,
.section3 h2,
.section3 h3,
.section3 h4,
.section3 h5,
.section3 h6 { color: #fff; }

.article-preview {
        background-position: center center;
        background-size: cover;
        color: #fff;
        text-shadow: 1px 1px 1px #000;
        font-size: 90%;
        min-height: 400px;
        position: relative;
        display: flex;
        flex-direction: column;
}

.article-preview h3 {
        color: #fff;
        border-bottom: 2px solid;
        padding-bottom:10px;
        line-height: 1.1;
}

.article-preview-title {
    padding: 1rem;
    line-height: 1.3;
    font-size: 2.5rem;
    background-image: linear-gradient(rgba(0,0,0,.9), rgba(0,0,0,.7), rgba(0,0,0,0));
    margin-bottom: 0;
    font-weight: 400 !important;
}

.article-preview-title a {
    color: #fff;
}

.article-preview-body {
	margin-top: auto;
	padding: 3rem 1rem 1rem;
	background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.7), rgba(0,0,0,.9));
}

.article-preview-body .read-more a {
	background: #555;
	display: block;
	padding: 3px 5px;
	color: rgb(255,126,0);
	text-shadow: none;
	text-align: center;
	margin-top: 1rem;
}
	.article-preview-body .read-more:hover a {
		background: rgb(255,126,0);
		color: #000;
		text-decoration: none;
	}


.more-link {
        display: block;
        text-align: center;
        margin-top: 4rem;
}

        .more-link > .uk-button { font-size: 2rem; }

.tertiary_home_content {
        align-content: flex-start;
     /*   border-width: 0 1px 0 0;
        border-color: #fff;
        border-style: solid;
        padding-right: 2rem;*/
}
   /* .tertiary_home_content:last-of-type { border: 0; }*/

.tertiary_home_content > p:first-of-type {
    margin-top: 0;
}


/* Photo Panels */

.photo-panel {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 50vw;
}

@media (max-width: 639px) {

    .photo-panel {
        background-attachment: scroll;
        height: 250px;
    }
}


/* =====
CATEGORY PAGE
===== */

.article-meta {
    font-size: 1.2rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 5px;
    background: #fefefe;
    margin-bottom: 1.4rem;
}

.article-meta i {
    margin-right: 3px;
}

.article-meta > span {
    margin-right: 10px;
}


.pagination {
    margin-top: 4rem;
}


/* =====
DIRECTORS PAGE
===== */

.director {
	margin-bottom: 3rem;
}

.director img {
	display: block;
	margin: 0 auto;
}

.director-name,
.director-years {
	display: block;
	text-align: center;
}
.director-years {
	margin-top: 10px;
	font-weight: 700;
}


/* =====
RESPONSIVE OVERRIDES
===== */

/* Less than Small */
@media (max-width: 639px) {

    html { font-size: 8px; }

    .sitetitle {
        font-size: 4rem;
        line-height: 1.2;
        text-shadow: 1px 1px 0 #faebd7;
    }

    .sitetitle .swing {
        text-shadow: 1px 1px 0 #000;
        transform: translateY(0px) rotate(-15deg);
    }

    .obielogo {
        float: left;
    }

    .subtitle {
        font-size: 2.5rem;
        display: inline-block;
        clear: both;
    }

    .vegas { display: xnone; }

    .hero.hero-small { min-height: 200px; }
    
    .iconlink {
        display: block;
        float: left;
        width: 50%;
    }

    .pullquote {
    	width: 75%; /*90%;*/
    }
    .pullquote-left,
    .pullquote-right {
    	float: none;
    	text-align: center;
    	/*border: none;*/
    	margin: 0 auto;
        display: block;
        border-top: 2px solid;
        border-bottom: 2px solid;
    }


}


/* Extra Small and Small */
@media (max-width: 959px) {

    .tertiary_home_content {
            border-width: 0;
            padding-right: 0;
            padding-bottom: 4rem;
    }

    .footer-logo,
    .footer-address {
        display: inline-block;
    }

    img.align_right,
    img.align_left,
    figure.align_right,
    figure.align_left {
        float: none;
        margin-left: auto;
        margin-right: auto;
        display: table;
    }

}


/* Small */
@media (min-width: 640px) and (max-width: 959px) {

    .sitetitle {
        font-size: 5rem;
    }

    .iconlink {
        display: block;
        float: left;
        width: 50%;
    }

    .pullquote {
    	width: 40%;
    }


}

/* Medium */
@media (min-width: 960px) and (max-width: 1199px) {}

/* Large */
@media (min-width: 1200px) and (max-width: 1599px) {}

/* Extra Large */
@media (min-width: 1600px) {}