*{
    font-family: sans-serif;

}
#logo{
    font-size: 36px;
    color: #50c1c9;


}
body{
    margin: 0;
}

#wrapper{
    padding: 30px;
}


table.default{
    border-collapse: collapse;
    width: 100%;

}

table.default td,
table.default th{
    padding: 5px;
    border: solid 1px #ccc;


}






/* 
    Created on : 15.01.2018, 16:55:25
    Author     : su27
*/

.clear{clear: both;}
.clearfix:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

body *{
    font-family: 'Roboto',sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a, a:visited, a:active, a:link{color: #E5286A; outline: none;text-decoration: underline;}
a:hover{text-decoration: none;}

h2{
    font-weight: 300;
    font-size: 22px;
    text-transform: uppercase;
    margin-top: 40px;
}
h3{
    font-weight: 300;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 18px;
    border-bottom: 1px solid #50c1c9;
    display: inline-block;
    padding-bottom: 5px;
}

h3 + p{
    margin-top: -5px;
}
p{
    line-height: 1.5;
}


#logo{
    margin-bottom: 40px;
}

.form_standart{
    margin-bottom: 80px;
    max-width: 480px;
    margin-left: -25px;
}

.form_standart .field{
    float: left;
    width: 215px;
    margin-left: 25px;
}


.tit{
    display: inline-block;
    font-size: 15px;
    margin-bottom: 5px;
}

.tit.hidden{
    visibility: hidden;
}

.form_standart input{
    margin-bottom: 20px;
    height: 36px;
    width: 100%;
}
.form_standart textarea{
    margin-bottom: 20px;
    height: 100px;
    width: 100%;
    resize: vertical;
    padding: 10px 10px;
}



input, textarea{
    font-size: 14px;
    padding: 0 10px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

input:hover,input:focus, textarea:hover,textarea:focus{
    border-color: #50c1c9;
    outline: none;
}

.form_standart button, .button{
    width: 100%;
    border: none;
    height: 36px;
    background-color: #50c1c9;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-in;
}

.form_standart button:hover, .button:hover{
    background-color: #20858c;
}
.form_standart button:focus, .button:focus{
    outline: none;
}
.form_standart button i{
    margin-right: 10px;
    font-size: 22px;
}




#search_form{
    margin-bottom: 20px;
}

#search_form label{
    margin-right: 10px;
    font-weight: bold;
    font-size: 14px;
}

#search_form input{
    font-size: 14px;
    height: 36px;
}
#search_form input:hover, #search_form input:focus{
    border-color: #e44d82;
}


#search_form button{
    height: 36px;
    border: none;
    cursor: pointer;
    padding: 0 13px;
    font-size: 13px;
    color: #fff;
    background-color: #E5286A;
    transition: background-color 0.3s ease-in;
}

#search_form button:focus{
    outline: none;
}
#search_form button:hover{
    background-color: #e44d82;
}


table.default{
    font-size: 15px;
    width: auto;
}

table.default td, table.default th{
    padding-right: 15px;
    padding-left: 15px;
}

table.default:not(.show_more_bill) tr td:first-child{
    text-align: center;
}

th{
    padding: 10px 10px;
    text-align: left;
    font-weight: bold;
}



#pages_title{
    margin-top: 45px;
}

#pages{
    margin-left: -7px;
}

#current_page, .page_number{
    float: left;
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    text-align: center;
    background-color: #E5286A;
    color: #fff;
    margin-left: 5px;
    font-weight: bold;
    margin-bottom: 7px;
}

a.page_number{
    text-decoration: none;
    color: #fff;
    transition: background-color .3s ease;
}

#current_page, .page_number:hover{
    background-color: #e44d82;
}



.show_more_bill{
    margin: 20px 0;
}



.id_order{
    font-weight: 400;
}




/*СТРАНИЦА ПЕРЕД ОПЛАТОЙ*/

#pay_info{
    max-width: 1200px;
    margin: 50px 0;
    height: 400px;
    border: 1px solid #ccc;
    padding: 20px 40px;
    overflow: auto;
}

#pay_add_info{
    max-width: 1200px;
    margin: 50px 0 80px;
}

/************************** custom chrome scroll *****************************/
::-webkit-resizer {
    background-image: url('');
    background-repeat: no-repeat;
    width: 5px;
    height: 1px;
}
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-button {
    background-image: url('');
    background-repat: no-repeat;
    width: 5px;
    height: 0px;
}
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background-color: #50c1c9;
}
::-webkit-scrollbar-track {
    background-color: #ccc;
}
/************************ end custom chrome scroll ***************************/


/*#pay_systems{
    padding-left: 0;
}

#pay_systems li{
    list-style: none;
    height: 60px;
    line-height: 60px;
    position: relative;
    padding-left: 70px;
    margin-bottom: 10px;
    outline: 1px dashed #ccc;
    background-position: left center;
    background-repeat: no-repeat;
}*/


#check_pre_order{
    margin: 20px 0 0;
}

a.button{
    text-align: center;
    line-height: 36px;
    display: block;
    color: #fff;
    width: 200px;
    margin-top: 20px;
    text-decoration: none;
}

#go_pay.lock{
    opacity: 0.6;
    cursor: default;
}
.time{
    font-size: 80%;
}
.light{
    color: #fff;
    background-color: #bcc950;
    padding: 0 3px;
}

/*END СТРАНИЦА ПЕРЕД ОПЛАТОЙ*/



/*Опросник*/


#quiz_form{
    margin-left: 0;
    margin-bottom: 15px;
}

#quiz_form .field{
    float: none;
    width: 100%;
    margin-left: 0;
}

/*input[type="date"]{
    width: 190px;
}*/


.double_field{
    display: flex;
    justify-content: space-between;
}

#quiz_form .double_field .field{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 48%;
}

#quiz_form  input {
    margin-bottom: 30px;
    height: 40px;
}

#quiz_form .double_field.first_big .field:first-child{
    width: 65%;
}
#quiz_form .double_field.first_big .field:last-child{
    width: 30%;
}

#quiz_form button{
    height: 44px;
}




/*Messages*/
.success_msg, .error_msg, .attention_msg{
    font-size: 14px;
    margin-top: 7px; 
    margin-bottom: 20px;
    padding: 12px 40px;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    line-height: 1.5;
}
.success_msg{
    background-color: rgba(16, 181, 27, 0.22);
}
.error_msg{
    background-color: #f9ebeb;
}
.attention_msg{
    background-color: rgba(201, 181, 80, 0.34);
}

.success_msg:before, .error_msg:before, .attention_msg:before{
    display: block;
    font-weight: 400;
    margin-bottom: 3px;
}
.success_msg:before{
    content: '';
}
.error_msg:before{
    content: '';
}

.attention_msg:before{
    content: '';
}

.error_msg.hide{
    display: none;
}

/*Messages END*/

.action_button{
    border: none;
    padding: 10px 20px;
    display: inline-block;
    background-color: #50c1c9;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin: 15px 0 25px;
    transition: background-color 0.3s ease-in;
}

.action_button i{
    margin-right: 10px;
    font-size: 22px;
}

.action_button:hover {
    background-color: #20858c;
}


a.action_button{
    text-decoration: none;
    color: #fff;
}

.edit_quiz_form{
    margin-top: 40px;
    padding: 40px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

input[readonly], textarea[readonly]{
    cursor: initial;
    background-color: #f9f9f9;
    font-style: italic;
}
input[readonly]:hover, textarea[readonly]:hover{
    border-color: #ccc;
}

#create_order_from_quiz{
}

#create_order_from_quiz hr{
    color: #ccc;
    margin-left: 25px;
    width: calc(100% - 25px);
    margin-bottom: 25px;
}

#create_order_from_quiz button{
    margin-left: 25px;
    height: auto;
    padding: 12px 15px;
    width: calc(100% - 25px);
}


q{
    display: block;
    padding-left: 20px;
    position: relative;
    margin: 35px 0 0 25px;
    font-style: italic;
    font-size: 90%;
    
}

q:before{
    display: block;
    content: '';
    width: 10px;
    height: 100%;
    background-color: #f1f1f1;
    position: absolute;
    left: 0;
    top: 0;
}


#menu{
    margin-top: -20px;
    margin-bottom: 45px;
}

#menu a{
    border: 1px solid;
    padding: 8px 30px;
    text-decoration: none;
    transition: all 0.25s ease;
}

#menu a:hover, #menu a.current{
    background-color: #E5286A;
    color: #fff;
}