.flat_button:before {
    content: '';
    display: inline-block;
    margin-right: 8px;
    background-image: url(/img/post_widget.png);
    background-repeat: no-repeat;
    height: 11px;
    background-position: 0 -52px;
    width: 15px;
    position: relative;
    bottom: -1px;
}
.flat_button {
    padding: 7px 16px 8px;
    margin: 0;
    font-size: 12.5px;
    display: inline-block;
    zoom: 1;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    font-family: -apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;
    vertical-align: top;
    line-height: 15px;
    text-align: center;
    text-decoration: none;
    background: none;
    background-color: #5181b8;
    color: #fff;
    border: 0;
    border-radius: 4px;
    box-sizing: border-box;
}
a.flat_button{
    text-decoration: none;
}
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.holiday{
    /*position:fixed;*/
    position:static;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100px;
    z-index:90;
    display:block;
    pointer-events:none;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.bg-black {
    background-color: black!important;
}
.btn-vk {
    color: #fff;
    background-color: #5181b8;
    border-color: #5181b8;
}

.btn-vk:hover {
    color: #fff;
    background-color: #5b88bd;
    border-color: #5b88bd;
}

.btn-vk:focus, .btn-vk.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-vk.disabled, .btn-vk:disabled {
    color: #fff;
    background-color: #dfe6ed;
    border-color: #dfe6ed;
}

.btn-vk:not(:disabled):not(.disabled):active, .btn-vk:not(:disabled):not(.disabled).active,
.show > .btn-vk.dropdown-toggle {
    color: #fff;
    background-color: #4872a3;
    border-color: #4872a3;
}

.btn-vk:not(:disabled):not(.disabled):active:focus, .btn-vk:not(:disabled):not(.disabled).active:focus,
.show > .btn-vk.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-ok {
    color: #fff;
    background-color: #ee8208;
    border-color: #ee8208;
}

.btn-ok:hover {
    color: #fff;
    background-color: #ee7808;
    border-color: #ee7808;
}

.btn-ok:focus, .btn-ok.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-ok.disabled, .btn-ok:disabled {
    color: #fff;
    background-color: #ee8208;
    border-color: #ee8208;
}

.btn-ok:not(:disabled):not(.disabled):active, .btn-ok:not(:disabled):not(.disabled).active,
.show > .btn-ok.dropdown-toggle {
    color: #fff;
    background-color: #ee7808;
    border-color: #ee7808;
}

.btn-ok:not(:disabled):not(.disabled):active:focus, .btn-ok:not(:disabled):not(.disabled).active:focus,
.show > .btn-ok.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-fb {
    color: #fff;
    background-color: #4267b2;
    border-color: #4267b2;
}

.btn-fb:hover {
    color: #fff;
    background-color: #395695;
    border-color: #395695;
}

.btn-fb:focus, .btn-fb.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-fb.disabled, .btn-fb:disabled {
    color: #fff;
    background-color: #99b1d5;
    border-color: #99b1d5;
}

.btn-fb:not(:disabled):not(.disabled):active, .btn-fb:not(:disabled):not(.disabled).active,
.show > .btn-fb.dropdown-toggle {
    color: #fff;
    background-color: #99b1d5;
    border-color: #99b1d5;
}

.btn-fb:not(:disabled):not(.disabled):active:focus, .btn-fb:not(:disabled):not(.disabled).active:focus,
.show > .btn-fb.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}


.btn-in {
    color: #fff;
    background-color: #e63a6d;
    border-color: #e63a6d;
}

.btn-in:hover {
    color: #fff;
    background-color: #f4554f;
    border-color: #f4554f;
}

.btn-in:focus, .btn-in.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-in.disabled, .btn-in:disabled {
    color: #fff;
    background-color: #703aba;
    border-color: #703aba;
}

.btn-in:not(:disabled):not(.disabled):active, .btn-in:not(:disabled):not(.disabled).active,
.show > .btn-in.dropdown-toggle {
    color: #fff;
    background-color: #ffb95f;
    border-color: #ffb95f;
}

.btn-in:not(:disabled):not(.disabled):active:focus, .btn-in:not(:disabled):not(.disabled).active:focus,
.show > .btn-in.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}
.a {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    /*background-color: transparent; // Remove the gray background on active links in IE 10.*/
    /*-webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+.*/
}
.a:hover {
    color: #0056b3;
    text-decoration: underline;
}
.modal {
    overflow-y: auto
}

#Go_Top {

    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 10px;
    font-size: 24px;
}

#Go_Bottom {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 80px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 10px;
    font-size: 24px;
}
.pointer {
    cursor: pointer;
}
@media screen and (max-width: 600px) {
    table.responsive {
        border: 0;
    }

    table.responsive caption {
        font-size: 1.3em;
    }

    table.responsive thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.responsive tr {
        background-color: #f8f8f8;
        border: 1px solid #ddd;
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
        padding: .35em;
    }

    table.responsive td {
        border-bottom: 1px solid #ddd;
        display: block;
        /*font-size: .8em;*/
        text-align: right;
    }

    table.responsive td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table.responsive td:last-child {
        border-bottom: 0;
    }
}
