@CHARSET "ISO-8859-1"; 

html,body {
	margin: 0px;
	padding: 0px;
}

body {
	background-color: #1D1C1A;
    background-image: url('/img/bg-tile.png');
	background-repeat: repeat;
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.3rem;
    color: #DDD;
}

@media screen and (max-width: 780px) {
	body {
		font-size: 1.15rem;
	}
}

a {
	text-decoration: none;
    color: #DBC3A2;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
}

/***************/
/* MAIN LAYOUT */
/***************/

div#layout {
    margin: 0px 220px;
}

div#central-content {
	padding: 0 20px;
}

div#page-mask {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 50;
	transition: display 0.5s;
}

/*********/
/* MENUS */
/*********/

div.menu-column {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    font-size: 30px;
    background-color: rgba(120, 120, 120, 0.2);
    width: 220px;
}

div#menu-left {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
}

div#menu-right {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
}

a.menu-item {
    margin: 40px 20px;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.15s;
    padding: 15px 15px;
}

a.menu-item.selected {
	border: 1px solid #AAA;
	background-color: rgba(200, 200, 200, 0.1);
	padding: 14px 14px;
	color: #FFF;
}

a.menu-item:hover {
	color: #FFF;
	text-decoration: none;
}

div#menu-icon {
	display: none;
	position: absolute;
	left: 20px;
	top: 8px;
	font-size: 40px;
	z-index: 75;
}

div#menu-icon a {
	color: #DBC3A2;
	text-decoration: none;
}

ul#hamburger-menu-options {
	display: none;
	position: absolute;
	top: 0;
	left: 80px;
	padding: 0;
	list-style-type: none;
	overflow: hidden;
	vertical-align: top;
	z-index: 100;
	margin: 0;
}

ul#hamburger-menu-options li {
	float: none;
	text-align: center;
	border-bottom: 1px solid #777;
	border-left: 1px solid #777;
	border-right: 1px solid #777;
	background-color: #555;
	right: 0;
}

ul#hamburger-menu-options li:hover {
	background-color: #999;
}

ul#hamburger-menu-options li a {
	display: block;
	min-width: 250px;
	color: #DBC3A2;
	padding: 10px 0;
	text-transform: uppercase;
	text-decoration: none;
}

div#footer {
    position: fixed;
    bottom: 7px;
    right: 7px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    background-color: #333;
    padding: 12px 4px;
}

a.social-link {
    width: 50px;
    height: 50px;
    margin-left: 8px;
    margin-right: 8px;
    background-size: 100% 100%;
}

a.social-link:hover {
    opacity: 0.7;
}

#footer-fb-link {
    background-image: url('/img/fb-logo.png');
}

#footer-twitter-link {
    background-image: url('/img/twitter-logo.png');
}

#footer-email-link {
    background-image: url('/img/email-logo.png');
}


/*****************/
/* MEDIA QUERIES */
/*****************/

@media screen and (max-width:1040px) {
	div.menu-column {
		width: 180px;
		font-size: 24px;
	}

	div#layout {
		margin: 0px 180px;
	}

    div#footer {
        padding: 8px 3px;
        right: 6px;
        bottom: 6px;
    }

    a.social-link {
        width: 42px;
        height: 42px;
        margin-left: 6px;
        margin-right: 6px;
    }
}

@media screen and (max-width:880px) {
	div.menu-column {
		width: 150px;
		font-size: 20px;
	}

	div#layout {
		margin: 0px 140px;
	}

	a.menu-item {
		padding: 10px 10px;
	}

	a.menu-item.selected {
		padding: 9px 9px;
	}

    div#footer {
        padding: 6px 2px;
        right: 4px;
        bottom: 4px;
    }

    a.social-link {
        width: 36px;
        height: 36px;
        margin-left: 5px;
        margin-right: 5px;
    }
}

/* Switch to mobile style menu */
@media screen and (max-width:780px) {
	div.menu-column {
		display: none;
	}

	div#layout {
		margin: 0px 0px;
	}

	div#menu-icon {
		display: inline-block;
	}

	ul#hamburger-menu-options.visible {
		display: block;
	}

	div#page-mask.visible {
		display: block;
	}

    div#footer.not-on-home {
        display: none;
    }
}

/*************/
/* HOME PAGE */
/*************/

div#home-banners {
    position: relative;
    margin: 40px auto 0px;
    max-width: 600px;
}

div#home-banners img {
    position: absolute;
    width: 100%;
    transition: transform 0.5s;
}

img#home-banner-top {
    transform-origin: center top;
}

img#home-banner-top.shrunk {
    transform: translate(0px, -30px) scale(0.4, 0.4);
}

img#home-banner-top.shrunk:hover {
	transform: translate(0px, -30px) scale(0.5, 0.5);
}

img#home-banner-bottom.shrunk {
    transform: scale(0, 0);
}

/* CONTENT */

img#spinner {
	display: block;
	margin: 40px auto 0px;
	animation-name: spinner-spin;
	animation-duration: 0.8s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@-webkit-keyframes spinner-spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spinner-spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

div#outer-container {
    padding-top: 120px;
}

@media screen and (max-width:1040px) {
	div#outer-container {
		padding-top: 100px;
	}
}

@media screen and (max-width:480px) {
	div#outer-container {
		padding-top: 80px;
	}
}

div.content-title {
    font-size: 34px;
    margin-bottom: 40px;
    text-align: center;
}

@media screen and (max-width: 780px) {
	div.content-title {
		font-size: 28px;
	}
}

div#submenu {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
}

a.submenu-item {
	display: inline-block;
	padding: 6px 12px;
	text-decoration: none;
	color: #333;
	cursor: pointer;
	text-transform: uppercase;
	background-color: #999;
}

a.submenu-item.selected {
    background-color: #DBC3A2;
}

a.submenu-item:hover {
	background-color: #DDD;
}

/*******************/
/* Utility Classes */
/*******************/

.float-left { float: left; }
.clear-both { clear: both; }
.bold {	font-weight: bold; }
.italic { font-style: italic; }

.no-select {
     -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}