/* 
    Color Dark: #434443;
    Color Light: #9e8e70;
    Background: #50463c;
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');
@import url('https://fonts.googleapis.com/css?family=Varela+Round');

body {
    background: #fafafa url(images/backslant-home-repeat.svg) repeat-y 50% 0;
    background-size: 101%;
    color: #757575;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    padding-top: 100px;
}


a {
	color: #f00;
}

#menu {
    background: #434443;
    color: #fff;
    position: fixed;
    z-index: 2000;
}

#menu .logo img {
    width: auto;
    height: 35px;
    margin: 9px 0 0;
}

#menu a {
    color: #fff;
}

#menu a.active, #menu a:hover {
    border-bottom: 1px solid #fff;
}

.content {
    padding-bottom: 10px;
}

section.block {
    margin-bottom: 20px;
    position: relative;
}

section.block > .container {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 8px 0 rgba(0,0,0,.05), 0 1px 4px 0 rgba(0,0,0,.14), 0 3px 3px -2px rgba(0,0,0,.12);
    padding: 0 100px 85px;
    z-index: 1000;
    position: relative;
    overflow: hidden;
}

section.block.no-block > .container {
    background: transparent;
    box-shadow: none;
    color: #fff;
}

section.block.no-block:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 100vw;
    background: url(images/backslant-footer.svg) no-repeat 50% 100%;
    background-size: 100%;
    z-index: 1;
}

div.block-container > .row {
    display: flex;
}

div.block {
    margin-top: 65px;
    padding-bottom: 45px;
    display: flex;
    color: #fff;
}

div.block > .row {
    background: #434443;
    margin: 0 0 10px;
    border-radius: 3px;
    overflow: hidden;
}

div.block h2 {
    background: #9e8e70;
    margin: 0 0 30px;
    color: #fff;
    font-family: serif;
    font-size: 18px;
    line-height: 18px;
    padding: 24px 0;
    margin-left: -25px;
    margin-right: -25px;
}

div.block > .row div {
    padding: 0 25px 25px;
    text-align: center;
}

section.block.second-round > .container:before {
    content: "";
    position: absolute;
    top: 30px;
    right: 30px;
    width: 240px;
    height: 130px;
    background: url();
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-transform: rotate(18deg);
    -moz-transform: rotate(18deg);
    -ms-transform: rotate(18deg);
    -o-transform: rotate(18deg);
    transform: rotate(18deg);
}



.keys img {
    max-width: 60%;
    height: auto;
}

.keys a, .field-grid-submit button {
    color: #333;
    background: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 2px;
    transition: all .15s ease-in-out;
    position: relative;
    margin-bottom: 100px;
    border: 0;
    top: 0;
}

.keys a:hover, .field-grid-submit button:hover {
    text-decoration: none;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.6);
    top: -3px;
    background: #77a1d3;
    color: #FFFFFF;
}

.block:not(.no-block) .field-grid-submit button {
	background: #77a1d3;
	color: #fff;
	margin-bottom: 0;
}


h1 {
    font-weight: 400;
    color: #757575;
    font-size: 48px;
    font-family: 'Varela Round', sans-serif;
    line-height: 62px;
    margin-top: 80px;
}

h2 {
    font-weight: 400;
    color: #424242;
    font-size: 32px;
    font-family: 'Varela Round', sans-serif;
    line-height: 1.4em;
    margin-top: 80px;
}

.block.second-round h2 {
    font-size: 18px;
    font-family: 'Varela Round', sans-serif;
    line-height: 1.6em;
    color: #212121;
    margin-top: -50px;
}

h3 {
    font-size: 18px;
    font-family: 'Varela Round', sans-serif;
    line-height: 1.6em;
    color: #212121;
    margin-top: 0.2em;
}

section.block.no-block {
    margin-bottom: 0;
}

section.block.no-block h2 {
    color: #fff;
}

section.block.no-block input {
    color: #000;
}

@media (max-width: 991px) {
    section.block > .container {
        padding: 0 30px 30px;
    }
    
    section.block.no-block:before {
        background-size: 140%;
    }
}

@media (max-width: 768px) {
    
    #menu {
        margin-bottom: 0;
    }
    
    #menu .menu-container {
        top: -34px;
    }
    
    .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
        background-color: #fff;
    }
    
    section.block > .container {
        border-radius: 0;
        box-shadow: none;
    }
    
    h1 {
        font-size: 32px;
        line-height: 1.4em;
        margin-top: 0
    }

}


















