.log_in .wrap_page{
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}
.log_in .container{
    position: relative;
    width: 390px;
    padding: 40px 0;
}
.log_in img{
	display: block;
	/*position: absolute;*/
    left: 20px;
    width: 300px;
    height: 100px;
}
.logo{
	width: 350px;
    height: 100px;
}
.log_in .log_in select, .advice{
    width: 350px;
    margin: 0 auto;
}
.log_in input{
    margin-top: 24px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right:auto;
}
.log_in select.middle{
    margin-top: 20px;
    margin-bottom: 20px;
}
.log_in .password{ 
	margin-top: 24px;
    margin-bottom: 24px;
}
.log_in a{
    display: block;
    color: #f8f8f8;
    width: 120px;
    margin-top: 10px;
    margin-left: auto;
    text-decoration: none;
}
.log_in a:hover{
    text-decoration: underline;
}
.advice{
    margin-top: 20px;
	margin-bottom: 24px;
    text-align: center;
    font-size: 18px;
    height: 55px;
}
/* 320px - 576px */
@media screen and (max-width: 576px) {
    .log_in .container{
        width: 300px;
        padding: 20px 0;
    }
    .log_in img{
        left: 130px;
        width: 120px;
        height: 80px;
    }
    .log_in input, .log_in select, .advice{
        width: 260px;
    }
    .log_in a:hover{
        text-decoration: underline;
    }
    .advice{
        margin-bottom: 40px;
    }
    .message{
        width: 300px !important;
        min-height: 50px;
        background-color: #85DBF9;
        left: 50%;
        top: 10px;
        margin-left: -150px;
        padding: 12px;
    }
}

.main{
	width: 350px;
    display: block;
    height: 55px;
    background-color: #ffffff;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding-left: 15px;
    border: 0;
}
.button{
	width: 365px;
    background-color:#C0A65C;
    color: #ffffff;
    font-family: 'Open Sans SemiBold',serif;
    font-size: 22px;
    text-align: center;
    display: block;
    height: 55px;
    box-shadow:none;
    border-radius: 5px;
    padding-left: 15px;
    border: 0;
}
.button_center{
	margin:0 auto;
}
.button:hover{
    cursor: pointer;
}
.buttons_set{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
textarea{
    padding-top: 15px;
}
header, footer, div, p, ul, li, button, a, form, span, nav, textarea,section, select{
    box-sizing: border-box;
}
label{
    display: none;
}
p{
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    font-size: 30px;
    text-align: center;
}
.container_log{
    background-color: #671C5B;
    margin: 0 auto;
    box-shadow: 0 0 12px rgba(192, 166, 92, 0.7);
    border-radius: 5px;
    padding: 30px;
}
.container{
    margin: 0 auto;
    box-shadow: 0 0 12px rgba(192, 166, 92, 0.7);
    border-radius: 5px;
    padding: 30px;
}
.inner_container{
    background-color: #C2EAF8;
    margin: 0 auto;
    box-shadow: 0 0 6px rgba(192, 166, 92, 0.7);
    border-radius: 5px;
    padding: 30px;
}
.info_set{
    display: flex;
    justify-content: space-between;
}
.info_set span:last-child{
    text-align: right;
}
.mobile{
    display: none;
}
.message{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 410px;
    min-height: 50px;
    background-color: #671C5B;
    left: 50%;
    top: 20px;
    margin-left: -205px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 12px;
	color:#FFFFFF;
}
/*Далее представлены правила для шапки сайта*/
header{
    display: flex;
    align-items: center;
    height: 100px;
    max-width: 100%;
    background-color: #671C5B;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 60px;
}
header img{
    display: block;
    width: 80px;
    height: 80px;
}
header nav{
    display: flex;
    justify-content: space-between;
    margin-left: 5%;
}
header .nav_ref_wrap{
    display: flex;
    align-items: center;
    border-bottom:solid 5px #C0A65C;
    height: 55px;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 5px;
    border-radius: 5px;
}

header a{
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
}
header a:hover{
    transform: scale(1.05);
    -webkit-transition: 250ms;
    -moz-transition: 250ms;
    -o-transition: 250ms;
    transition: 250ms;
}
.header_wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
}
.header_wrap span:first-child{
    text-align: right;
}
header span{
    font-family: 'Open Sans Light', serif;
    font-size: 20px;
	color: #FFFFFF;
    margin-right: 20px;
    color:#C0A65C;
}
.log_out{
	display: flex;
    border-bottom:solid 5px #C0A65C;
    height: 55px;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 5px;
    border-radius: 5px;
}

header select{
	background-color: #671C5B;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.25);
	color: #FFFFFF;
	border-bottom:solid 5px #C0A65C;
    height: 55px;
    font-family: 'Open Sans', serif;
    font-size: 18px;
    letter-spacing: 0.035em;
    border-width: 0;
    margin-right: 30px;
    margin-left: 30px;
    padding-left: 5px;
}
header select option{
    font-size: 18px;
    letter-spacing: 0.035em;
}