/*Start footer*/
.footer {
    background: #f5f5f5;
    /*width: 100%;*/
}

.footer nav {
    padding: 19px 0;
    float: left;
}

.footer .footer_menu {
    font-size: 13px;
    text-transform: uppercase;
    margin-right: 30px;
}

.footer .footer_menu li{
    display: block;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer .footer_menu li:last-child{
    margin-bottom: 0;
    color: #757575;
}

.footer .footer_menu li,
.footer .footer_menu li a{
    color: #757575;
}

.footer .footer_menu li a:hover,
.footer .footer_menu li a:focus{
    color: #e21a22;
    text-decoration: none;
}

/*.footer_menu a{
    display: block;
    margin-bottom: 16px;
    font-weight: bold;
    color: #757575;
}

.footer_menu a:last-child{
    margin-bottom: 0;
}

.footer_menu a:hover,
.footer_menu a:focus{
    text-decoration: none;
}

.footer_menu a[href]:hover,
.footer_menu a[href]:focus{
    color: #e21a22;
}*/


.footer_submenu {
    font-weight: 400;
    font-size: 13px;
    width: 542px;
}

.footer_submenu ul {
    margin-bottom: 16px;
    width: 542px;
    float: left;
    clear: both;
}

.footer_submenu ul:last-child {
    margin-bottom: 0;
}

.footer_submenu li {
    display: block;
    position: relative;
    float: left;
    /*display: inline-block;*/
    margin: 0 10px 0 10px;
}

.footer_submenu li:before {
    content: ' ';
    display: block;
    position: absolute;
    top: 8px;
    left: -12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #757575;
}

.footer_submenu li:first-of-type {
    margin-left: 0;
}

.footer_submenu li:first-of-type:before {
    display: none;
}

.footer_submenu li a {
    color: #757575;
}

.footer_submenu li a:hover,
.footer_submenu li a:focus {
    color: #e21a22;
    text-decoration: none;
}

/*.footer .footer_submenu .point {
    background: #757575;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin: 8px;
    float: left;
}*/

.footer .privacy {
    background: #fafafa;
    width: 320px;
    padding: 19px 21px;
    font-size: 12px;
    color: #757575;
    float: right;
}

.footer .privacy p {
    margin: 0;
}

.footer .privacy a {
    color: #4887c7;
}

.footer .privacy a:hover {
    color: #e21a22;
}

/*.footer .logo {*/
    /*background: url(/images/gui/tochka-toolbar/logo.png) no-repeat; !* For IE 8*!*/
    /*background: none,  url("/images/gui/tochka-toolbar/logo.svg") no-repeat;*/
    /*background-size: 124px 28px;*/
    /*float: right;*/
    /*width: 124px;*/
    /*height: 28px;*/
    /*margin: 20px 98px;*/
    /*display: block;*/
/*}*/

.footer .commercial{
    font-size: 12px;
    color: #787878;
    width: 320px;
    text-align: center;
    float: right;
    line-height: 16px;
}

.footer .commercial > div {
    padding: 0;
}

.footer .commercial p{
    margin-bottom: 1px;
}

.footer .commercial a{
    color: #787878;
}

.footer .commercial a:hover,
.footer .commercial a:focus{
    color: #e21a22;
    text-decoration: none;
}

.footer_rating-bm{
    display: inline-block;
    width: 320px;
    text-align: center;
    margin: 10px 0 15px;
    float: right;
}

.footer_rating-bm a img{
    margin: 0 auto;
}

/*End footer*/

@media (max-width: 1019px) {

    .footer_dropdown_menu {
        display: none;
    }

    .footer_opened .footer_dropdown_menu {
        display: block;
    }

    .footer .footer_menu_open,
    .footer .footer_menu_hide {
        font-family: 'Open Sans Condensed', Arial Narrow;
        font-weight: 700;
        font-size: 14px;
        text-transform: uppercase;
        color: #757575;
        height: 40px;
        background: #f5f5f5;
        border: none;
        display: block;
        margin: 0 auto;
        clear: both;
    }

    .footer .footer_menu_open:hover,
    .footer .footer_menu_hide:hover {
        text-decoration: none;
        cursor: pointer;
    }

    .footer .footer_menu_open:focus,
    .footer .footer_menu_hide:focus {
        outline: none;
    }

    .footer .footer_menu_open span,
    .footer .footer_menu_hide span {
        font-size: 6px;
        float: right;
        margin: 7px 0 0 5px;
    }

    .footer nav {
        padding-bottom: 0;
    }

    .footer .footer_menu {
        padding-left: 20px;
    }

    .footer_submenu {
        width: auto;
    }

    .footer_submenu ul {
        width: auto;
    }

    .footer .privacy {
        background: none;
        width:auto;
        border-top: 2px solid #e3e3e3;
        margin: 0 21px;
        padding: 19px 0 0;
    }

    .footer .privacy br {
        display: none;
    }

    .footer .logo {
        display: none;
    }

    .footer .commercial{
        width: 100%;
        padding: 0 21px;
        margin: 15px 0 10px;
        text-align: left;
    }

    .footer_rating-bm{
        width: 100%;
    }

}

@media (max-width: 1019px) and (min-width: 765px){
    .footer .commercial {
        text-align: center;
    }
}

@media (max-width: 765px) {

    .footer .footer_menu li {
        margin-bottom: 13px;
    }

    .footer_submenu,
    .footer_submenu ul {
        margin-bottom: 0;
    }

    .footer_submenu li {
        margin-bottom: 13px;
    }

    .footer .commercial{
        text-align: left;
    }
    .footer .commercial > div:nth-child(even){
        text-align: right;
    }
}

@media (max-width: 678px) {

    .footer .footer_menu li:nth-child(6) {
        margin-bottom: 45px;
    }

    .footer_submenu {
        width: 470px;
    }
}

@media (max-width: 628px) {

    .footer_submenu {
        width: 422px;
    }
}

@media (max-width: 580px) {

    .footer_submenu {
        width: 361px;
    }
}

@media (max-width: 519px) {

    .footer .footer_menu li:nth-child(1),
    .footer .footer_menu li:nth-child(4) {
        margin-bottom: 45px;
    }

    .footer_submenu {
        width: 277px;
    }

}

@media (max-width: 435px) {
    .footer .footer_menu{
        margin-right: 10px;
    }

    .footer .footer_menu li:first-child,
    .footer .footer_menu li:nth-child(2),
    .footer .footer_menu li:nth-child(4),
    .footer .footer_menu li:nth-child(7) {
        margin-bottom: 45px;
    }

    .footer .footer_menu li:nth-child(6) {
        margin-bottom: 73px;
    }

    .footer_submenu {
        width: 224px;
    }
}

@media (max-width: 320px) {

    .footer .footer_menu {
        padding-left: 5px;
        margin-right: 7px;
    }

    .footer .footer_menu li:first-child {
        margin-bottom: 136px;
    }

    .footer .footer_menu li:nth-child(2),
    .footer .footer_menu li:nth-child(3) {
        margin-bottom: 76px;
    }

    .footer .footer_menu li:nth-child(4) {
        margin-bottom: 106px;
    }

    .footer .footer_menu li:nth-child(5) {
        margin-bottom: 43px;
    }

    .footer .footer_menu li:nth-child(6) {
        margin-bottom: 200px;
    }

    .footer .footer_menu li:nth-child(7) {
        margin-bottom: 43px;
    }

    .footer_submenu {
        padding-right: 5px;
        width: 140px;
        margin: 0;
    }

    .footer_submenu li {
        float: none;
        margin-left: 0;
    }

    .footer_submenu li:before {
        display: none;
    }

}


/* #cookies-alert-checkbox {
  position: absolute;
  opacity: 0;
  height: 1px;
}

#cookies-alert-checkbox:checked + .cookies-alert {
  display: none;
} */

.cookies-alert {
  display: none;
  position: fixed;
  z-index: 10000;
  bottom: 0;
  width: 100%;
  padding: 16px;
  background-color: #454545;
  color: #fff;
}

.cookies-alert a {
  color: #94b5d7;
  text-decoration: underline;
}

.cookies-alert .btn {
  position: absolute;
  color: #000;
  text-decoration: underline;
}

.cookies-alert .btn:hover {
  background-color: #fff;
}

@media (min-width: 761px) {
  .cookies-alert .btn {
    right: 16px;
    top: 16px;
  }
}

@media (max-width: 760px) {
  .cookies-alert {
    padding-bottom: 70px;
  }
  .cookies-alert .btn {
    left: 50%;
    margin-left: -70px;
    bottom: 16px;
  }
}
