@import "fonts.css";

@import "normalize.css";

*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline-color: #c4fbde;
}

html{
    height: 100%;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    background: #2D2D2F;
    position: relative;
}

.b-container{
    max-width: 1255px;
    margin: auto;
    position: relative;
    padding: 0 15px;
}

/* header  */
.b-header{
    height: 60px;
    background-color: #404043;
    position: relative;
}
.b-logo{
    position: absolute;
    top: 16px;
    left: 16px;
}

.b-avatar a{
    display: inline-block;
    background: url("../images/gal.png") no-repeat right 30px;
    padding-right: 20px;
    padding-top: 11px;
}
.b-avatar img{
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

/* menu */
.b-menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.b-menu ul li{
    display: inline-block;
    margin-left: -4px;
}

.b-menu ul a{
    background: #49494C;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    display: inline-block;
    text-decoration: none;
    height: 60px;
    float: left;
    margin-right: 1px;
    line-height: 61px;
    padding: 0 25px;
}
.b-menu ul li.b-active a{
    background-color: #59595b;
}

.b-menu ul li ul{
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    height: 40px;
    background-color: #59595b;
}

.b-menu ul li ul a{
    color: white;
    font-family: Roboto, serif;
    font-size: 14px;
    font-weight: 400;
    padding: 0 23px;
    line-height: 39px;
    height: 39px;
    margin: 0;
    background-color: #59595b;
}
/* events */
.b-event .b-img img{
    float: right;
}

.b-event .b-title a{
    text-decoration: none;
    color: #2d2d2f;
}

.b-event .b-text p{
    margin: 0;
}

.b-event .b-type span{
    display: inline-block;
    float: left;
    padding: 6px 10px 5px 10px;

    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.b-event .b-data span{
    display: inline-block;
    padding-left: 16px;
    margin-left: 14px;
}

.b-footer{
    height: 55px;
    background-color: #232325;
    padding: 21px;
    margin-top: 20px;
    width: 100%;
    display: block;
    text-align: center;
    color: #9f9fa1;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
}
.b-footer a{
    color: #9f9fa1;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}
.b-footer a:hover{
    text-decoration: underline;
}

.b-footer ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.b-footer .b-social a{
    padding-left: 23px;
}

/* TAB */
.b-tab-nav li a{
    color: #2d2d2f;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none !important;
    text-align: center;
    display: block;
    height: 42px;
    line-height: 42px;
    position: relative;
}

.b-tab-nav li.b-active a:after{
    content:'';
    display:block;
    clear: both;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 8px;
    background: #fff url("../images/tab_active.png") no-repeat center bottom;
}
.b-tab-nav li{
    float: left;
    width: 50%;

}

.b-bar span{
    position: relative;
    z-index: 1;
    color: #2d2d2f;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
}
.b-bar i{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #fecb00;
}

/* LOG */
.b-persone .b-name span{
    color: #404043;
    font-weight: 400;
}
.b-persone .b-name img{
    vertical-align: middle;
    margin-right: 8px;
}

.b-partner-block a{
    display: inline-block;
    padding: 12px 34px;
}

.b-partner-block  .b-container:after{
    content:'';
    display:block;
    clear: both;
}

.b-news .b-item .b-date span{
    display: block;
}
.b-news .b-item .b-date span{
    margin-top: 7px;
}

.b-news .b-item .b-date span + span{
    margin-top: 0;
}

.b-news .b-item a{
    text-decoration: none;
    color: #2d2d2f;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
}

/* BEST */
.b-best .b-item img{
    vertical-align: middle;
    margin-right: 4px;
}

/* QUEST */
.b-content{
    margin-top: 71px;
}

/* DATA BLOCK */
.b-data-block h2{
    color: #2d2d2f;
    font-family: Roboto, serif;
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 8px;
}

.b-data-block p{
    color: #2d2d2f;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.b-nav-form a{
    color: #404043;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    margin-left: 15px;
}

.b-nav-form a:first-child{
    padding-left: 10px;
    background: url("../images/prev.png") no-repeat left 6px;
}
.b-nav-form a+a{
    padding-right: 10px;
    background: url("../images/next.png") no-repeat right 6px;
}

/* TESTS */
.b-test-block{

    max-width: 784px;
    margin: auto;
}

.b-test-block .b-top{
    background-color: #373739;
    padding: 31px 25px 26px 36px;
    margin-bottom: 29px;
}
.b-test-block .b-nav{
    text-align: center;
}
.b-question .b-top:after{
    content:'';
    display:block;
    clear: both;
}

.b-question{
    color: white;
    font-family: Roboto, serif;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 31px;
}

.b-variant input{
    position: absolute;
    bottom: 0;
    left: -10em;
}
.b-variant label{
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding-left: 45px;
    width: 100%;
    float: left;
    margin-bottom: 13px;
}
.b-variant:after{
    content:'';
    display:block;
    clear: both;
}

.b-variant label img{
    float: left;
    width: 100%;
}

.b-variant label span{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 45px;
    background-color: #e3e3e3;

    color: #5c5c5c;
    font-family: Roboto, serif;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}
.b-variant label span b{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -6px;
    margin-top: -9px;
}

.b-variant label i{
    display: block;
    background-color: white;
    color: #404043;
    font-family: Roboto, serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    min-height: 41px;
    padding-left: 14px;
    padding-top: 10px;
    margin-right: 15px;
    padding-bottom: 10px;
}

.b-radio.b-active span{
    background-color: #125baa;
    color: #ffffff;
    font-family: Roboto, serif;
    font-size: 18px;
    font-weight: 500;
}
.b-radio.b-active i{
    background-color: #bbbbff;
}

.b-submit-button1{
    /* Style for "Кнопка" */
    width: 105px;
    height: 33px;
    background-color: #125baa;

    color: #ffffff;
    font-family: Roboto, serif;
    font-size: 18px;
    font-weight: 400;
    border: none;
}
.b-submit-button1:disabled {
    opacity: 0.5;
}

.b-variant-form .b-nav a{
    color: white;
    margin-right: 27px;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
    background: url("../images/back.png") no-repeat 0 5px;
    padding-left: 14px;
    text-decoration: none;
}

.b-from-test{
    text-align: center;
}

.b-item-form{
    margin-bottom: 11px;
}

.b-main-title{
    color: white;
    font-family: Roboto, serif;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 6px;
}

.b-sub-title{
    color: white;
    font-family: Roboto, serif;
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 37px;
}
.b-inputs-block{
    width: 324px;
    margin: auto;
}

.b-input-text1{
    background-color: #4c4c4e;
    border: 2px solid #125baa;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-box-shadow: inset 1px 1.7px 6px rgba(57, 57, 57, 0.22);
    -moz-box-shadow:inset 1px 1.7px 6px rgba(57, 57, 57, 0.22);
    box-shadow:inset 1px 1.7px 6px rgba(57, 57, 57, 0.22);

    color: white;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    padding: 8px;

    width: 100%;
}

.b-submit-button2{
    /* Style for "Прямоугольник," */
    width: 320px;
    height: 39px;
}

.b-win-block{
    text-align: center;
    color: white;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
    margin: auto;
    max-width: 600px;
}

.b-win-block h3{
    color: white;
    font-family: Roboto, serif;
    font-size: 26px;
    font-weight: 500;
    margin: 11px 0;
}
.b-win-block p{
    margin: 0;
}
.b-win-block a{
    color: white;
}

@media (max-width: 1310px){

}

@media (max-width: 1024px){

    .b-partner-block a{
        padding: 12px 8px;
    }
}
@media (max-width: 960px){

    .b-footer{
        height: auto;
        padding-top:5px;
        padding-bottom: 5px;
    }

    .b-variant label {
        width: 100%;
        margin-right: 3%;
    }
}

@media (max-width: 680px){

    .b-variant label {
        float: left;
        width: 100%;
    }
    .b-footer {
        bottom: inherit;
    }
}

tr{
    background-color: #4c4c4e;
    border: 2px solid #f9b700;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    color: white;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
}

td, th{
    background-color: #4c4c4e;
    border: 2px solid #f9b700;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    color: white;
    font-family: Roboto, serif;
    font-size: 16px;
    font-weight: 400;
}

th {
    font-weight: bold;
    background-color: #747474;
}

.admin-page-wrapper input[name=query] {
    width: 85%;
}

/* checkbox */
.checkbox a {
    color: #428bca;
    text-decoration: none;
}

.checkbox a:hover {
    color: #2a6496;
    text-decoration: underline;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    margin: 4px 0 0 -20px;
    line-height: normal;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.checkbox label::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid #9e9e9e;
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    left: 0;
    top: 2px;
}

.checkbox input:checked + label::after {
    content: '';
    display: block;
    width: 12px;
    height: 9px;
    background: url(/images/sprite.png) 0 0 no-repeat;
    position: absolute;
    left: 1px;
    top: 5px;
}

.checkbox label {
    position: relative;
    display: block;
    min-height: 20px;
    padding-left: 26px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #8b8b8c;
}
