/*
Theme Name: WRMS
*/

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
    background: #fff;
    color: #333;
    font: 15px/1.6 "Open Sans", Arial, Sans-serif;
}
@media (min-width: 768px) {
    body {
        padding: 25px;
    }
}

a:link,
a:visited {
    color: #441A10;
}

a:hover,
a:focus {
    color: #900;
}

h1, h2, h3 {
    margin: 0;
    padding: 0 0 0.5em;
}

h1 {
	color: #441a10;
    font-size: 1.5em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.2em;
}

@media (min-width: 768px) {
    h1 {
        font-size: 2em;
    }
}

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

ol, ul {
    margin: 0 0 0 2.5em;
    padding: 0 0 1.5em;
}

p {
    margin: 0;
    padding: 0 0 1.5em;
}

.button {
    padding: 0.5em 1em;
    background: #441a10;
}

    .button:link,
    .button:visited {
        color: #fff;
        text-decoration: none;
    }

.tba {
    padding: 2em 0;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    color: #666;
    text-align: center;
}

.wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .wrap {
        margin: 0 auto;
        position: relative;
        max-width: 1200px;
        box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }
}

.header {
    padding: 12px 25px;
    background: #441a10;
    background: linear-gradient(
        to top right, 
        #441a10 0%,  
        #441a10 100%
    );
    border-bottom: solid 5px #DEB031;
    color: #fff;
    border-radius: 4px 4px 0 0;
}
@media (min-width: 768px) {
    .header {
        padding-bottom: 48px;
    }
}
@media (min-width: 1024px) {
    .header {
        padding: 12px 25px;
    }
}
    .header__title {
        padding: 0;
        color: #DEB031;
        text-shadow: 0.1em 0.1em 0.5em #000;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

        .header__title a:link,
        .header__title a:visited {
            color: #DEB031;
            text-decoration: none;
        }

.menu-activator {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 101;
    padding-left: 1.25em;
    line-height: 1.15em;
    text-decoration: none;
}
.menu-activator::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 1em;
    height: 0.15em;
    background: white;
    box-shadow:
    0 0.25em 0 0 white,
    0 0.5em 0 0 white;
}
.menu-activator:link,
.menu-activator:visited {
    color: #fff;
}

@media (min-width: 768px) {
    .menu-activator {
        display: none;
    }
}

.primary-navigation {
    position: absolute;
    left: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    transition: left 0.5s ease-in-out;
    z-index: 100;
    background: rgba(50, 50, 50, 0.9);
}

.navigation-active .primary-navigation {
    left: 0;
}

    .primary-navigation > ul {
        margin: 0;
        padding: 60px 25px 25px;
        font-size: 1.5em;
        list-style: none;
    }

        .primary-navigation > ul > li {
            padding-bottom: 15px;
        }

    @media (min-width: 768px) {
        .primary-navigation {
            height: 48px;
            left: auto;
            top: auto;
            width: auto;
            margin-top: -53px;
            margin-bottom: 5px;
            background: transparent;
            transition: none;
        }

        .primary-navigation > ul {
            padding: 12px 13px;
            font-size: 1em;
        }

        .primary-navigation > ul li {
            padding: 0 12px;
            display: inline-block;
        }

    }
    @media (min-width: 1024px) {
        .primary-navigation {
            margin: 0;
            position: absolute;
            left: 17em;
            right: 0;
            top: 1em;
            text-align: right;
        }
    }

    .primary-navigation a:link,
    .primary-navigation a:visited {
        color: #fff;
        text-decoration: none;
    }

    .primary-navigation a:hover,
    .primary-navigation a:focus {
        border-bottom: solid 1px #fff;
    }

.banner {
    height: 200px;
}

    .banner img {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        height: 200px;
        width: auto;
        max-width: none;
    }

@media (min-width: 800px) {
    .banner {
        height: auto;
        width: 100%;
    }

        .banner img {
            height: auto;
            width: 100%;
        }
}

.top-section {
	position: relative;
}

.page-navigation {
}

    .page-navigation ul {
        margin: 0;
        padding: 0 0 1em;
        list-style-type: none;
    }

        .page-navigation li {
            margin-right: 2em;
            display: inline;
        }

.content {
    background: #fff;
}

.content::after {
    content: "";
    display: table;
    clear: both;
}

.content__primary,
.content__secondary {
    padding: 25px;
}

.content__primary {
    max-width: 100%;
    width: 40em;
    float: left;
}
@media (min-width: 1024px) {
    .content__primary {
        width: 66%;
        float: left;
    }
}

.content__primary + .content__primary {
    padding-top: 0;
}

.content__primary--full {
    width: 100%;
}

.content--one-col .content__primary {
    margin: 0 auto;
    float: none;
}

.content__secondary {
    width: 33%;
    float: right;
}

.panel {
    background: #eee;
}

.footer {
    padding: 25px;
    background: #ddd;
    color: #999;
    border-radius: 0 0 4px 4px;
    text-align: center;
}

    .footer a:link, .footer a:visited {
	    color: #999;
    }

    .footer__copyright {
        padding: 0;
    }

.data-table {
    margin: 0 0 1.5em;
    width: 100%;
    border-top: solid 1px #ccc;
    border-collapse: collapse;
}

    .data-table td,
    .data-table th {
        padding: 12px 6px;
        border-bottom: solid 1px #ccc;
        vertical-align: top;
        text-align: left;
    }

    .data-table thead th {
        border-bottom-width: 3px;
    }

    .data-table tbody th {
        width: 35%;
    }

    .data-table--alt tbody th {
        width: 65%;
    }

.events {
}

    .event--break {
        background: #eee;
        color: #666;
    }

    .event__date {
        width: 10em;
    }

    .event__header {
        padding: 0;
        font-size: 1em;
    }

    .event > td > p {
        padding: 0;
    }

.exhibition-cta {
	position: absolute;
	top: 0;
	right: 0;
	width: 9em;
	height: 10em;
	text-align: center;
}

	.exhibition-cta::before {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		width: 0; 
		height: 0; 
		border-bottom: 13em solid transparent;
		border-right: 13em solid #1F3D80;
	}

	.exhibition-cta::after {
		content: "";
		position: absolute;
		top: 0.4em;
		right: 0.4em;
		width: 0; 
		height: 0; 
		border-bottom: 11.75em solid transparent;
		border-right: 11.75em solid #33549E;
	}

	.exhibition-cta__inner {
		position: absolute;
		width: 100%;
		right: 0;
		top: 0;
		z-index: 2;
		transform: translateY(1em) translateX(0.5em) rotate(45deg);
		text-decoration: none;
		text-shadow: 0.1em 0.1em 0.5em #000;
	}

		.exhibition-cta__title,
		.exhibition-cta__including {
			padding: 0;
			font-size: 0.9em;
			line-height: 1.2;
		}
	
		.exhibition-cta__title {
			margin-bottom: 0.2em;
			color: #DEB031;
			font-size: 1.3em;
		}
	
		.exhibition-cta__including {
			color: #fff;
			
		}

.gallery {
    margin: 0 -5px;
    display: block;
    overflow: hidden;
    text-align: center;
    list-style: none;
}

    .gallery__item {
        width: 100%;
        float: left;
        position: relative;
    }

        .gallery__item a {
            cursor: default;
        }

    @media (min-width: 450px) {
        .gallery__item {
            width: 50%;
        }

            .gallery__item a {
                cursor: pointer;
            }
    }

    @media (min-width: 1024px) {
        .gallery__item {
            width: 33.33%;
        }
    }
        .gallery__item::before {
            content: "";
            display: block;
            padding-bottom: 100%;
        }

        .gallery__item__link {
            padding: 5px;
            position: absolute;
            top: 0;
            left: 0;
        }

#map {
    width: 100%;
    height: 400px;
}

#location .button {
    margin-top: -0.5em;
    float: right;
}

.exhibition-read-more {
    margin-left: 30px;
    margin-top: 3em;
    padding: 5px 20px;
    float: right;
    background: #33549E;
    border: solid 5px #1F3D80;
}

    .exhibition-read-more:link,
    .exhibition-read-more:visited {
        color: #fff;
        text-decoration: none;
    }
