html, body {
	padding: 0px;
	margin: 0px;
	font-size: 12px;
	font-family: Tahoma, sans-serif;
	width: 100%;
	height: 100%;
	background:#FFF;
	color:#494949;
}
img, form {
	padding: 0px;
	margin: 0px;
}
a, td {
	font-family: Tahoma, sans-serif;
}
p {
    margin-top:5px;
}
.page {
    width:100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
div {
    box-sizing: border-box;
}

.main {
    display: flex;
    flex-direction:column;
    min-height: 100%;
}
.header {
    border-top:5px solid #d8d8d8;
    padding:15px 0px;
}
.container {
    width:100%;
    max-width:1100px;
    margin:0px auto;
    padding:0px 10px;
}
.body {
    display: flex;
    flex: 1;
    flex-direction:column;
}

.inp_t {
	color:#646464;
	padding:8px 7px;
	border:1px solid #DFDFDF;
    width: 100%;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

.inp_t::placeholder {
    font-size: 12px;
	font-family: Tahoma, sans-serif;
}

h1 {
    margin:0px;
    padding:0px;
    font-size:14px;
    display:inline;
    font-weight:bold;
    color:#E67912;
}
h2 {
    margin:0px;
    padding:0px;
    font-size:25px;
    font-weight:normal;
    color:#E2001A;
}
.header .shapka {
    display: flex;
    flex-direction: row;
}
.shapka .right {
    flex: 1;
}
.input_top_padding {
    padding-top:15px;
}

.minion_font {
	font-size:20px;
    font-family: Tahoma, sans-serif;
	text-decoration:none !important;
	font-weight:normal !important;
	color:#e2001a;
}
.total_questions {
    background-color: #3b3b3b;
    height: 126px;
}
.total_questions .container {
    background-image:url(/img/temp_img3.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size:contain;
    height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.total_questions .text {
    color: #FFF;
    font-size: 16px;
}
.total_questions .digit {
    color: #ffffff;
    font-size: 50px;
    font-family: Times New Roman;
}

.inp_b {
    background-image: linear-gradient(to bottom, #F2BB60, #e67912);
	text-shadow: 0px 1px 0px #EF7B1D;
	border:1px solid #e67912;
    font-size:16px;
	height:35px;
	border-radius: 4px;
	color:#ffffff;
	font-weight:bold;
	cursor:pointer;
}
.inp_b:hover {
    background-image: linear-gradient(to bottom, #F2BB60, #EF9D1D);
}
.inp_b:active {
    border:solid 1px #EF9D1D;
}
.a_seo {
	color:#000000;
	font-size:14px;
	margin-right:20px;
}
.td_footer_1 {
	background:url(../img/bg_footer_2.jpg);
}
.td_info {
	background:url(../img/bg_footer_1.png);
	padding:35px 0px;
}
.td_info .container {
    display: flex;
    align-items: center;
    line-height: 18px;
}

.td_text_block {
	padding-right:18px;
	line-height:18px;
    flex: 1;
    margin-left: 10%;
}
.a_way {
	color:#717171;
	text-decoration:none;
}
.td_slider {
	background-image:url(../img/bg_slider.png);
	background-repeat: repeat-x;
	background-position: top;
	background-color:#3b3b3b;
}
.b-top {
	z-index:2600;
	position:fixed;
	left:0;
	bottom:90px;
	width:34%;
	margin-left:50%;
	opacity: 0.5;
	filter:alpha(opacity=50);
}
.b-top:hover {
	opacity:1;
	filter:alpha(opacity=100);
	cursor:pointer;
}
.b-top-but {
	z-index:2600;
	position:absolute;
	display:block;
	left:56px;
	bottom:0;
	margin:0 0 0 100%;
	padding:32px 12px 4px;
	color:white;
	background:#3B3B3B url(../img/b-j-top.png) no-repeat 50% 11px;
	border-radius:7px;
}
.a_btn {
	display:block;
	height:27px;
    text-transform: uppercase;
	line-height:27px;
	background:url(../img/btn_bg.png) repeat-x;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
	width:68px;
	font-family: Arial,Helvetica,sans-serif;
	font-size:12px;
}
.question_return{
    color:#BD071C;
    cursor:pointer;
    text-decoration:underline;
}
.last_answers {
    padding-top:30px;
    margin-top:30px;
}
.last_answers .title {
    display: flex;
    padding-bottom:30px;
}

.lang_container {
    float: right;
    margin-top:-28px;
}
.lang_container a {
    text-decoration: none;
    color: #3B3B3B;
    font-size: 12px;
}
.lang_container a:hover {
    text-decoration: underline;
}

.lang_container a.active {
    color: #E2001A;
}

.lang_container_new {
    text-align: right;
    padding-bottom: 10px;
}
.lang_container_new a {
    text-decoration: none;
    color: #3B3B3B;
    font-size: 12px;
}
.lang_container_new a:hover {
    text-decoration: underline;
}

.lang_container_new a.active {
    color: #E2001A;
}
.form_login {
    text-align: right;
    display: flex;
    justify-content: flex-end;
}
.form_login a {
    margin-left: 15px;
}
.container.index {
    display: flex;
    padding-top:15px;
}
.container.index .left {
    width: 50%;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
}
.container.index .right {
    width: 50%;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
}
.news_item {
    display: flex;
    text-decoration: none;
    border-bottom:1px solid #e5e3e3;
    padding:30px 0px;
}
.news_item:hover .minion_font {
    text-decoration: underline!important;
}
.block {
    display: inline-block;
    vertical-align: top;
}
.block.image {
    padding-right: 30px;
    align-self: center;
}
.block.content {

}
.search-found {
    background: #fff656;
}
.wallet_div {
    display: inline-block;
    vertical-align: top;
    line-height: 25px;
    margin-left: 30px;
    text-decoration: none;
    background: #eee;
    padding:5px;
}
.wallet_div b {
    font-size: 16px;
}
.inform {
    background: #fff484;
    border:1px solid #ffd800;
    border-radius: 5px;
    padding:15px;
    margin-bottom:15px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}
.grey_blocks {
    background:#EDEDED;
    padding:30px;
    border-radius: 5px;
}
.grey_blocks.mini {
    width: 50%;
    margin: 0px auto;
}

.btn_action {
    padding-top:15px;
    display: flex;
}
.td_footer_2 .container {
    display: flex;
    font-size: 11px;
    padding:10px 0px;
}
.copyright {
    margin-left: auto;
}
.td_bottom_menu {
    line-height: 30px;
    text-align: left;
}
.lang_container_new.mobile {
    display: none;
}
.btn_action_popup {
    display: flex;
    justify-content: space-between;
    padding-top:30px;
}
.btn_action_popup a {
    width: 30%;
}

.popup_text {
    font-size: 16px;
}
.popup_text a {
    color:#444;
}
.mark_cont {
    font-weight: bold;
    font-size: 20px;
    background: #CBCDCC;
    padding:15px;
    display: flex;
    justify-content: center;

}
.pay_cont {
    display: flex;
    align-items: center;
}
.pay_cont .pay_descr {
    flex: 1;
    padding:0px 50px;
}

@media screen and (max-width: 950px) {
    .container.index {
        flex-wrap: wrap;
    }

    .container.index .left {
        width: 100%;
        padding: 0px;
    }
    .container.index .right {
        padding: 0px;
        padding-top:40px;
        width: 100%;
    }
    .td_info {
        padding: 20px 0px;
    }

    .td_info .container {
        flex-wrap: wrap;
    }
    .td_bottom_menu {
        text-align: center;
    }

}
@media screen and (max-width: 600px) {
    .pay_cont {
        flex-direction: column;
    }
    .pay_cont .pay_descr {
        padding:15px 50px;
    }

    .mark_cont {
        flex-direction: column;
    }
    .mark_cont div {
        padding-bottom:10px;
    }
    .btn_action_popup {
        flex-wrap: wrap;
        padding-top:15px;
    }
    .btn_action_popup a {
        width: 100%;
        margin-bottom:15px;
    }
    .grey_blocks.mini {
       width: 100%;
    }
    .grey_blocks {
        padding: 15px;
    }

    html, body {
        font-size: 14px;
    }

    .shapka  {
        justify-content: center;
    }
    .total_questions .container {
        background-size: cover;
    }

    .shapka .right {
        display: none;
    }
    .minion_font {
        text-transform: uppercase;
    }
    .inp_t::placeholder {
        font-size: 14px;
    }
    .btn_action {
        flex-wrap: wrap;
        justify-content: center;
    }
    .btn_action .a_btn {
        width: 100%!important;

    }
    .btn_action .a_btn#show_answer {
        margin-top:10px;
    }
    .last_answers {
        padding-top:10px;
    }

    .last_answers .title {
        flex-direction: column;
        text-align: center;
        padding-bottom: 10px;
    }
    .last_answers .title div {
        margin-left: 0px!important;
    }
    .td_text_block {
        padding:15px 0px;
        margin-left: 0px;
        line-height: 20px;
    }
    .td_info .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        line-height: 20px;
    }

    .td_footer_2 .container {
        flex-direction: column;
        align-items: center;
    }
    .copyright {
        margin-left: 0px;
    }
    .a_show_answer {
        width: 100%!important;
    }
    #search_input {
        width: 100%!important;
    }
    .a_btn {
        font-size: 13px;
    }
    .input_top_padding {
        padding-top:10px;
    }
    .inp_s {
        color:#8a8a8a;
        background: #fff;
    	padding:10px 7px;
    	border:1px solid #DFDFDF;
        width: 100%;
        border-radius: 5px;
        box-sizing: border-box;
        font-size: 14px;
        height: 35px;
    }
    .lang_container_new.mobile {
        display: block;
        padding-top:10px;
    }

    .lang_container_new a {
       text-decoration: none;
        color: #3B3B3B;
        font-size: 14px;
    }
    .a_seo {
        display: inline-block;
    }
    .news_item {
        flex-direction: column;
    }
    .block.image {
        padding-right: 0px;
        text-align: center;
        padding-bottom:15px;
    }
    .block.image img {
        width: 100%;
    }

}


