@charset "utf-8";

@font-face {
    font-family: 'Roboto Slab';
    src: url('../fonts/RobotoSlab-Regular.ttf');
}

* {margin:0px; padding:0px;}

body {
    color:#b1b3b4;
    font-family: 'Roboto Slab', serif;
    font-size:16px;
    font-weight:300;
    line-height:1.5;
}
html {
    overflow:-moz-scrollbars-vertical;
    background: url('../images/bg_page_winter.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
img {border:none;}
b {font-weight:bold;}
textarea{overflow:auto;}
p {margin-bottom: 25px;}
label {display: block;padding-bottom: 5px;font-weight:700;}
h1 {font-size: 32px;padding-bottom:20px;font-weight:400;}
h2 {padding: 10px 0;font-weight:300;}

#wrapper_main {
    position:relative;
    width:700px;
    margin:60px auto 5px;
    box-sizing: border-box;
    text-align:center;
    background: #fff;
    background: rgba(30,30,30,0.8);
    padding: 50px 50px 130px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#content {
    text-align: left;
}

#overlay {
    position:fixed;
    z-index:99;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(30,30,30,0.8);
    display:none;
    text-align: center;
    padding-top:20%;
    box-sizing: border-box;
    font-size:22px;
    color:#fff;
}

input, textarea, select, fieldset, .button {
    width: 100%;
    border: 1px solid #888;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 10px 5px;
    margin: 0 auto 30px;
    font-family: 'Roboto Slab', serif;
}
input, fieldset {box-sizing: border-box;}
textarea {height: 70px;}
input[type="submit"], .submit {
    background: #eb6909;
    color:#fff;
    cursor:pointer;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
    font-size:16px;
    width: 100%;
}
input[type="submit"]:hover, .submit:hover {background: #e99c63;}
select {width:100%;}

#submitlink {
    display: none;
}

.message {
    padding: 5px 10px;
    border:1px solid #508c2f;
    background: rgba(75,185,35,0.3);
    font-weight:700;
    text-align: center;
    margin-bottom:15px;
    color:#fff;
}
.message.error {
    background: rgba(255,0,0,0.5);
    border-color:#f00;
}

.message a:link, .message a:visited {
    color:#fff !important;
    font-size:14px;
    font-weight:400;
}

.message a:hover, .message a:active {
    text-decoration: underline;
}

.w50 div {
	width: 45%;
	margin-right: 9%;
	float: left;
}
.w50 div:last-child {
	margin-right: 0;
}

.clear {
	clear: both;
}

#wrapper_main a:link, #wrapper_main a:visited {color:#e99c63;}
#wrapper_main a:hover, #wrapper_main a:active {color:#444;}

@media (min-width: 1300px) {
    #wrapper_main {padding-bottom: 50px;}
}

@media (max-width: 1000px) {
    #wrapper_main {
        width: 90%;
    }

    input[type="submit"], .submit {
        width: 100% !important;
        margin: 15px 0 0;
    }
}

@media (max-width: 760px) {
    .w50 div {
        width: 100%;
    }
}

a:link, a:visited {text-decoration:none;color:#444;}
a:hover, a:active {color:#e99c63;}
