/*general*/

body {
    background: #f69c60 url(../image/background.png) repeat scroll left top;
    background-size: auto auto;
    color:#fff;
}

h1 {
font-size:31px;
color:#7d0000;
}

h2 {
font-size:30px;
color:#7d0000;
}

h3 {
font-size:29px;
color:#7d0000;
}

h4 {
font-size:27px;
color:#7d0000;
}

h5 {
font-size:26px;
color:#fff;
}

/*header*/

header.top-bar, header.top-bar ul , .blure, .title-bar{
    background: rgba(0, 0, 0, 0.07) none repeat scroll left top;
    opacity: 1;
}

header.top-bar ul {
    background-color: transparent;
}

header.top-bar .counter-text, header.top-bar .menu a{
    color:#fff;
}

header.top-bar .counter-text span {
    color:#7d0000;
}

.menu-lg {
    width:140px;
    height:44px;
}

.menu-lg img {
    margin-top:-11px;
}


.title-bar{
    position:relative;
}

.title-bar .logo {
    position: absolute;
    right: 0;
    display: block;
    height:100%;
}

.title-bar .logo img{
    height:100%;
    width:auto;
}



/*main*/

.preloader {
    margin-top:-35%;
    z-index:5000000;
    position:fixed;
}

.overlay {display:none; position:fixed; left:0; top:0; width:100%; height:100%; background-color:rgba(255, 255, 255, 0.8); z-index:499999;}

.wrap {
    width: 90%;
    margin: 0 auto;
}

.padding{
    padding: 20px;
}

.icon{
    width: 100%;
    height: 80px;
}

.box{
    background: transparent url(../image/box.png) no-repeat scroll center center;
    background-size: contain;
}

.mouse{
    background: transparent url(../image/mouse.png) no-repeat scroll center center;
    background-size: contain;
}

.shield{
    background: transparent url(../image/shield.png) no-repeat scroll center center;
    background-size: contain;
}

label {
    color:#fff;
}

.cell label {
    font-size:22px; 
    color:#7d0000;
}

.cell.large-10 {
    font-size:18px;
}

.switch-paddle, .slider-fill{
    background-color:#e6a06a;
}

.slider-handle, .slider-handle:hover, .button, .button:hover, .button:active, .button:focus {
    background-color:#7d0000;
}

input:checked ~ .switch-paddle {
    background-color: #3fa92c;
}

.slider {
    background-color:#fff;
}

.error {
    color: #930407;
}

.switch-paddle, .switch-paddle::after, .slider-handle{
    border-radius: 20px;
}


.list-winners li {
    list-style-type:none;
    width:800px;
    color:#7d0000;
}

.list-winners li a {
    color:#fff;
}

.list-winners li a:hover, a:focus {
    color:#7d0000;
}

.list-winners img {
    width:50px;
    margin-right:15px;
    margin-bottom:5px;
}

#why_we p {
    font-size:18px;
    line-height:1.3;
}

#questions p {
    font-size:18px;
    line-height:1.3;
}

.cell.padding {
    margin-bottom:-22px; 
}

.cell.text-center{
    margin-bottom:-22px;
}


.donate iframe{
    width: 100%;
    height: 244px;
}



/*footer*/


footer {
    padding: 10px;
}

footer .copyright{
    display: inline;
}
/* Для истории */
.ribon{
	border: 1px solid #e6e6e6;
}
.ribon .first {
	border-bottom-width: 0px;
}
.ribon .cpt {
	height: 52px;
	display: block;
	padding-left: 15px;
	line-height: 52px;
	background-color: #8cc67b;
}
.ribon .red {
	background-color: red;
}

.ribon .info {
	border-top: 1px solid #e6e6e6;
	display: none;
}
.ribon .info p, 
.ribon .info ul {
	margin-left: 15px;
	line-height: 30px;
	margin-bottom: 0;
}
.ribon .info hr{
	margin-right: 15px;
	margin-left: 15px; 
}
.ribon .show {
	display: block;
}
.ribon ul li a{
	color: #0d6efd !important;
}

.last-ok-contests {
    margin: 30px 0;
    padding: 25px 15px;
    overflow: hidden;
}

.last-ok-contests h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.last-ok-contests-carousel-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.last-ok-contests-carousel {
    display: flex;
    align-items: stretch;
    gap: 16px;
    will-change: transform;
}

.last-ok-contest-item {
    flex: 0 0 150px;
    width: 150px;
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,.75);
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
    transition: transform .2s ease, box-shadow .2s ease;
}

.last-ok-contest-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.last-ok-contest-img {
    display: block;
    width: 150px;
    height: 110px;
    background: #f2f2f2;
    overflow: hidden;
}

.last-ok-contest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.last-ok-contest-title {
    display: block;
    padding: 9px 8px 10px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    height: 48px;
    overflow: hidden;
    color: #7d0000;
}

/* Планшеты */
@media screen and (max-width: 1024px) {
    .last-ok-contest-item {
        flex-basis: 135px;
        width: 135px;
    }

    .last-ok-contest-img {
        width: 135px;
        height: 100px;
    }
}

/* Телефоны */
@media screen and (max-width: 640px) {
    .last-ok-contests {
        margin: 20px 0;
        padding: 20px 10px;
    }

    .last-ok-contests h3 {
        font-size: 19px;
    }

    .last-ok-contest-item {
        flex-basis: 120px;
        width: 120px;
    }

    .last-ok-contest-img {
        width: 120px;
        height: 90px;
    }

    .last-ok-contest-title {
        font-size: 12px;
        height: 44px;
    }
}