@font-face {
    font-family: myFont1;
    src: url(../font/ofont.ru_Museo\ Sans\ Cyrl\ 700.ttf);
}

@font-face {
    font-family: myFont2;
    src: url(../font/ofont.ru_Museo\ Sans\ Cyrl\ 500.ttf);
}

body {
    margin: 0;
    font-family: myFont2;
    font-size: 18px;
    min-width: 305px;
    width: auto !important;
}

h2 {
    color: #545454;
}
a {
    color: #df0b25;
}

.metrics {
    display: block;
    float: left;
}
/* .background-image {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 1;

  display: block;
  background-image: url('http://666a658c624a3c03a6b2-25cda059d975d2f318c03e90bcf17c40.r92.cf1.rackcdn.com/unsplash_527bf56961712_1.JPG');
  width: 1200px;
  height: 800px;

  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
} */
.bg {
  z-index: 1;
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: white url(../images/bg.jpg) repeat;
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}

a.refToMetrics {
    display: block;
    line-height: 31px;
    color: #fff;
    float: left;
    padding: 0 5px;
}

div.statsBar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    height: 31px;
    z-index: 10;
    box-shadow: 0 0 20px -2px rgba(0, 0, 0, .2);
}

div.navBar {
    top: 0;
    align-self: center;
    overflow: hidden;
    /* border: 1px solid #afafaf; */
    background-color: #c8c8c8; /* #f3f3f3; */
    z-index: 10;

    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    position: fixed;
    width: 880px;
    height: 45px;
    box-sizing: border-box;
    font-size: 14px;
    box-shadow: 0 0 20px -2px rgba(0, 0, 0, .2);
    display: table;
}

div.navBar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: table-cell;
    width: 100%;
    vertical-align: top;
    height: 45px;
    text-align: center;
}

div.navBar ul li { 
    display: inline-block;
    border-right: 1px solid #afafaf;/* #e7e7e7; */
    height: 45px;
    cursor: pointer;
    vertical-align: top;
}

div.navBar ul li.last-item {
    border-right: none;
}

#menuLogo {
    height: 45px;
    box-sizing: border-box;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 2.5px;
    padding-right: 2.5px;
}

div.navBar ul li:nth-last-child(2) {
    border-right: none;
}

div.navBar ul li a span {
    display: inline-block;
}

div.navBar ul li a {
    font-family: myFont1;
    color: #000;
    display: block;
    line-height: 45px;
    text-align: center;
    height: 45px;
    padding: 0px 5px;
    text-decoration: none;
    margin: 0 auto;
}

div.navBar ul li a.highlight {
    background-color: #df0b25;
    color: #fff;
}
.logo {
    height: 14px;
    
}

div.navBar ul li.right {float: right;}

@media screen and (max-width: 880px){
    div.navBar { width: 775px; }
    div.navBar ul li a.twoLine{
        line-height: 22px;
        width: 70px;
    }
}

@media screen and (max-width: 800px){
    div.navBar { width: 100%; }
}

@media screen and (max-width: 775px){
    div.navBar { width: 100%; }
    
    #menuButton {
        display: table-cell !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .navBar ul li.toHide {
        display: none;
    }
    
    .navBar ul li {
        border-right: none !important;
    }
    li.right {
        display: block;
    }
    
    body {
        font-size: 16px;
    }
    
    .pageContent {
        padding: 20px !important;
    }
    div.col1 {
        display: block;
        width: 100%;
    }
    div.col2 {
        display: block;
        width: 100%;
    }
    div.pageContent { 
        width: 100%;
        margin: 0;
    }
    
    h1 {
        text-align: center;
    }
    
    h2 {
        text-align: center;
    }
    
    
    /* div.navbar ul li a { padding: 14px 5px; } */
    
    #scheme1 {
        width: 95% !important;
    }
    
    ul.cards li {
        width: 135px !important;
    }
    
    ul.cards li div {
        width: 135px !important;
    }
    
}

@media screen and (max-width: 600px) {
}
@media screen and (max-width: 500px){
    #scheme1 { 
        display: none !important;
    }
    #scheme1_v { 
        display: block !important;
    }
    
    div.navBar ul li {
        text-align: center;
    }
    
    #aboutButton {
        width: 45px !important;
    }
    
    #credits {
        margin-top: 90px;
    }
    
    .g-recaptcha {
        transform:scale(0.8);
        -webkit-transform:scale(0.8);
        transform-origin:0 0;
        -webkit-transform-origin:0 0;
    }
}
    
div.lineHorizontal {
    border-bottom: 1px dotted #000;
    margin-top: 50px;
    margin-bottom: 50px;
}

.pageContent {
    width: 75%;
    padding: 35px;
    margin: 0 auto;
    max-width: 2700px;
    margin-top: 96px;
    position: relative;
    z-index: 5;
    background-color: #fff;
    box-shadow: 0 0 20px -2px rgba(0, 0, 0, .2);
    border-radius: 2px;
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
}

div.columns {
    text-align: center;
    position: relative;
}

.col1 {
    display: inline-block;
    width: 70%;
    vertical-align: middle;
}

.col2 {
    display: inline-block;
    width: 30%;
    vertical-align: middle;
}

ul.cards {
    list-style-type: none;
    margin: 10px 0;
    padding: 0;
    text-align: center;
    width: 99%;
}

ul.cards li {
    display: inline-block;
    width: 162px;
    height: 86px;
    color: #df0b25 !important;
    border: 3px solid #df0b25;
    margin: 5px 5px;
    position: relative;
}

ul.cards li div{
    font-weight: bold;
    width: 162px;
    display: table-cell;
    height: 86px;
    vertical-align: middle;
}

.wheat {
    /* content: url("https://www.fzol.ru/images/wheat.svg"); */
    width: 50px;
    margin: 10px auto;
    display: block;
}

#scheme1 {
    display: block;
    width: 90%;
    position: relative;
    margin: 0 auto;
}

#scheme2 {
    display: block;
    width: 90%;
    position: relative;
    margin: 0 auto;
}

#scheme3 {
    display: block;
    width: 90%;
    position: relative;
    margin: 0 auto;
}

#scheme1_v {
    display: none;
    width: 85%;
    position: relative;
    margin: 0 auto;
}

.simpleList {
    list-style: square outside;
}

#logo {
    width: 75%;
    margin: 30px auto;
    display: block;
}


ul.cards1 {
    list-style-type: none;
    margin: 10px 0;
    padding: 0;
    text-align: center;
    width: 99%;
}

ul.cards1 li {
    display: inline-block;
    width: 170px;
    height: 113px;
    margin: 5px 5px;
    position: relative;
}

ul.cards1 li div{
    font-weight: bold;
    width: 170px;
    display: table-cell;
    height: 113px;
    vertical-align: top;
}

ul.cards1 li div:before {
    content: "✓";
    color: #df0b25;
}

#submitForm {
    background: url("/images/form_bg.jpg") no-repeat;
    position: relative;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 5px;
    max-width: 600px;
}

#submitForm input {
    margin: 5px auto;
    width: 85%;
    outline: none;
    height: 50px;
    display: block;
    border: none;
    font-style: italic;
    font-size: 16px;
    padding: 0 15px;
    max-width: 550px;
    -moz-box-sizing: border-box; /* Для Firefox */  
    box-sizing: border-box;
}

#submit {
    cursor: pointer;
    font-style: normal !important;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    outline: none;
    font-family: myFont2;
    border: 4px solid #ffffff !important;
    width: 200px !important;
    background: transparent;
    background-color: transparent;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    margin-bottom: 15px !important;
}

#submitForm h2 {
    margin: 20px 0;
    color: #ffffff;
}

#logo {
    max-width: 450px;
}

.g-recaptcha {
    float: left !important;
}
.captcha {
    width: 85%;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    height: 78px;
}

#menuButton {
    display: none;
    width: 45px !important;
    height: 45px !important;
    box-sizing: border-box;
    padding-left: 2.5px;
    padding-right: 2.5px;
    vertical-align: top;
    border-right: 1px solid #afafaf;
}

#menuButton img {
    width: 40px;
}

.hiddenMenu {
    background-color: #f1f1f1;
    width: 300px;
    height: 100%;
    position: fixed;
    top: 45px;
    left: -300px;
    z-index: 2;
    transition: left 0.35s ease-out;
}

.hidden {
    background-color: #f1f1f1;
    left: -300px;
    z-index: 2;
    box-shadow: none;
}

.shown {
    background-color: #f1f1f1;
    left: 0px;
    z-index: 100;
    box-shadow: 1px 0px 1px #1F0F2E;
}

.menuList {
    position: relative;
    top: 0;
    margin: 0;
    padding: 1px;
    list-style-type: none;
}

.menuList li {
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    border-top: 1px solid #bbb;
    font-weight: bold;
}

.menuList li:first-child {
    border-top: none;
}

#darkFade{
    top: 0;
    position: fixed;
    background-color: rgba(0,0,0,0.75);
    z-index: 8;
}

.fade {
    height: 100%;
    width: 100%;
}

#submit:disabled {
    border: 4px solid #8b8b8b !important;
    color: #8b8b8b;
}