/*
Theme Name: East Forest
Theme URI: http://eastforest.org
Author: the WordPress team
Author URI: http://wordpress.org/
Description: East Forest, 2016.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.htmla
*/

@import url(https://fonts.googleapis.com/css?family=PT+Serif);

@font-face {
    font-family: "Novocento";
    src: url('./fonts/novecentowide-medium-webfont.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: "Socialico";
    src: url('./fonts/Socialico.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: "Socialico Plus";
    src: url('./fonts/SocialicoPlus.ttf') format('truetype');
    font-style: normal;
}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

h1 {
    font-family: "Novocento";
    font-size: 4em;
    letter-spacing: 0px;
    margin: 0;
}

h2 {
    font-family: "Novocento";
    font-size: 1.5em;
    color: #fff;
}

h3 {
    font-family: "Novocento";
    font-size: 1.5em;
    text-align: center;
    letter-spacing: 1px;
}

a {
    color: #475466;
    transition: color 50ms linear;
    text-decoration: none;
}

a:hover {
    color: #D6B25C;
}

p {
    font-family: "PT Serif", serif;
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 1.5rem;
}

p:last-of-type {
    margin-bottom: 0;
}

.flex {
    display: -ms-Flexbox;
	-ms-box-orient: horizontal;

	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;

    -webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;

    -webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
}

#player {
    z-index: -5;
}

.player-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    -moz-filter: brightness(0.6);
    -webkit-filter: brightness(0.6);
    filter: brightness(0.6);
    z-index: -5;
}

.player-outer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 400%;
    height: 100%;
    display: block;
    z-index: -5;
}

.player-inner {
    position: relative;
    width: 25%;
    height: auto;
    margin: 0 auto;
    display: block;
    z-index: -5;
}

#mute {
	position: fixed;
	top: 20px;
	left: 25px;
	width: 30px;
	height: 30px;
	z-index: 50;
	cursor: pointer;
	opacity: 0.5;
	background-image: url('./img/not-muted.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

#mute:hover {
	opacity: 1;
}

#mute.muted {
	background-image: url('./img/muted.svg');
}

.menu {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    text-align: left;
    color: #fff;
    padding: 15px 45px;
    z-index: 2;
    background: white;
    height: 70px;
	border-bottom: 1px solid #ddd;
}

.menu.mobile {
	display: none;
}

.menu a,
#submenu a {
    color: #2C4A54;
	text-transform: uppercase;
    cursor: pointer;
}

.menu a.selected {
    color: #D6B25C;
}

.menu .container {
    padding: 0;
}

.menu .menu-title {
    float: left;
}

.menu .logo {
    height: 40px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 20px;
}

.menu h2 {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    color: #2C4A54;
    font-weight: bold;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    float: right
}

.menu ul li {
    display: inline-block;
    padding: 5px 0 0 0;
    margin: 0 15px 0 0;
    font-size: 1.1em;
}

.menu ul li:last-of-type {
    margin-right: 0;
    border: none;
}

.menu #hamburger {
	display: none;
}

#hero {
    width: 100%;
    height: 100%;
    color: #fff;
}

#hero h1 {
    transition: opacity 250ms ease;
}

#hero h1.hidden {
    opacity: 0;
}

#background {
	display: none;
}

#hero #title {
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

#hero #title #title-inner .logo {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: inline-block;
    margin-right: 25px;
    vertical-align: middle;
}

#hero #title #title-inner #text {
    display: inline-block;
    vertical-align: middle;
}

#hero #title #title-inner #links {
    text-align: left;
    list-style-type: none;
    margin: -5px 0 0 2px;
}

#title #title-inner #links li {
    display: inline-block;
    padding: 5px 0 0 0;
    letter-spacing: 1px;
    margin: 5px 15px 0 0;
}

#hero #title #title-inner #links a {
    color: #fff;
    font-weight: bold;
	text-transform: uppercase;
    cursor: pointer;
}

#hero #title #title-inner #links a.selected {
    color: #D6B25C;
}

#socials {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111B1F;
    padding: 5px;
    border-top: 1px solid #2C4A54;
    border-bottom: 1px solid #2C4A54;
    color: #fff;
    text-align: center;
}

#socials p {
    font-size: 1.1em;
    display: inline-block;
    margin-right: 15px;
    font-family: "Helvetica Neue", "Arial", sans-serif;
}

.socials-list {
    float: left;
    list-style-type: none;
    margin: 0;
}

.socials-list li {
    display: inline-block;
    margin: 0 0 0 15px;
    padding: 0;
}

#newsletter {
    float: right;
    width: 45%;
}

#newsletter form {
    margin: 10px 0 0 0;
}

#newsletter input[type=email] {
    width: 50%;
    color: #333;
    margin-bottom: 0;
    height: 25px;
    padding: 5px;
}

#newsletter input[type=submit] {
    color: white;
    margin-bottom: 0;
    height: 25px;
    line-height: 12px;
    font-size: 0.8em;
}

#page {
    z-index: 5;
    background: white;
}

#page .columms {
    text-align: center;
}

#content {
	margin: 0 auto;
    background: #fff;
    color: #333;
    padding: 100px 0;
    opacity: 1;
    transition: opacity 250ms ease;
}

#content h3 {
    padding-bottom: 25px;
}

#content p {
    color: #333;
    font-size: 1.3em;
}

#content p:first-of-type {
    margin-top: 25px;
}

#content iframe{
	max-width: 100% !important;
}

#content img {
	max-width: 100% !important;
	height: auto;
}

#submenu {
    background: #111B1F;
    padding: 5px;
    border-top: 1px solid #2C4A54;
    border-bottom: 1px solid #2C4A54;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
}

#submenu a {
    color: #475466;
}

#submenu a:hover {
    color: #D6B25C;
}

#submenu ul {
    list-style-type: none;
    margin: 0 auto;
}

#submenu ul li {
    display: inline-block;
    margin-right: 15px;
}

#submenu ul li:last-of-type {
    margin: 0;
}

#submenu .socials-list {
    float: none;
    margin: 0 auto;
}

.socialico,
.socialico-plus {
    display: inline-block;
    font-size: 28px;
    padding-right: 3px;
}

.socialico a {
    font-family: "Socialico";
}

.socialico-plus a {
    font-family: "Socialico Plus";
}

@media(max-width: 850px) {

    h1 {
        font-size: 2.5em;
    }

    p {
        font-size: 1em;
    }

	#mute {
		top: auto;
		bottom: 15px;
		left: 15px;
	}

	.menu.desktop {
		display: none;
	}

    .menu.mobile {
		display: block;
        text-align: center;
        height: auto;
        padding: 10px 15px;
    }

    .menu.mobile ul {
        text-align: center;
        float: none;
		position: fixed;
		top: 61px;
		left: 0;
		right: 0;
        margin: 0;
		width: 100%;
    }

    .menu.mobile ul li {
        display: block;
        padding: 10px;
        letter-spacing: 0px;
        margin: 0;
		border-bottom: 1px solid #ddd;
		width: 100%;
		background: white;
    }

	.menu.mobile #hamburger {
		display: block;
		float: right;
		width: 45px;
		opacity: 0.4;
		margin-top: -2px;
	}

	.menu.mobile #hamburger.pressed {
		opacity: 1;
	}

	.menu.mobile #hamburger:hover {
		opacity: 1.0;
		cursor: pointer;
	}

	#background {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 105%;
		z-index: -5;
		background-size: cover;
		text-align: center;
	}

    #links li:last-of-type {
        margin-right: 0;
        border: none;
    }

    #links li a {
        color: #475466;
    }

    #submenu {
        text-align: center;
    }

    .socials-list {
        text-align: center;
        margin: 0 auto;
        float: none;
    }

    #newsletter {
        float: none;
        width: 100%;
        margin: 0 auto 10px;
    }

    #newsletter form {
        margin: 0;
    }

    #newsletter p {
        display: none;
    }

    #newsletter input[type=email] {
        width: 65%;
    }

    #newsletter input[type=submit] {
        width: 30%;
		padding: 5px 10px;
    }

    #newsletter input {
        margin: 10px 0;
    }

    #page {
        overflow-x: hidden;
    }

    #content {
        padding: 50px 0;
    }

}

@media (max-width: 468px) {
	#content iframe {
		height: auto;
	}
}
