body {
    background-color: #f6f7fb !important;
}

.logo {
    margin-bottom: 0px;
}

.logo img {
    margin-bottom: 10px;
    width: 100%;
    max-width: 500px;
}

.main_container {
    margin: 8px;
}

a {
    transition: all .2s linear;
}

.block {
    background-color: white;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.block_padding {
    margin: 20px 0px;
}

.fakeimg {
    height: 200px;
    background: #aaa;
}

.fakeimg2 {
    height: 200px;
    background: rgb(143, 0, 0);
}

.navbar {
    border-top: 1px solid #ebebeb;
}

.navbar-nav {
    margin: 0 auto;
}

.navbar-toggler{
    margin: 0 auto;
    width: 100%;
}

.nav_stick {
    position: fixed !important;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 10;
}

/* BLOCK DESIGN */

.block_article {
    width: 100%;
    display: flex;
}

/* On big screen: */
.block_article .left{
    width: 47%;
    float: left;

    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.block_article .right {
    width: 53%;
    float: left;
    padding: 40px;
}

.article .date {
    font-size: 12px;
    line-height: 14px;
    font-weight: normal;
    color: #a6a6a6;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.article .title {
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 18px;
    color: #4c4c4c;
}

.article a {
    color: #4c4c4c;
}

.article a:hover {
    color: #fc5d5d;
}

.article 
.btn-primary,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    border-radius: 0 !important;
    color: #4c4c4c;
    background-color: #e6e6e6 !important;
    border-color: transparent !important;
}

.btn-primary,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    border-radius: 0 !important;
    color: white;
    background-color: #fc5d5d !important;
    border-color: transparent !important;
}

.btn-primary:hover {
    background-color: #a53b3b !important;
}

.side_form input, .side_form textarea, .side_form button{
    margin-top: 10px;
}

.hide {
    display: none !important;
}

.successful {
    margin-top: 5px;
    color: #009b27;
    text-align: center;
    font-size: 19px;
}

/* .side_form p.error { */
p.error {
    color: red;
    margin: 0 0 0 0;
}

/* SIDE BLOCKS */

.sub_on_mail {
    padding: 30px 25px 20px;
}

.form-group {
    margin-bottom: 0px !important;
}

.auth_form {
    width: 80%;
    margin: 25px auto;
    padding: 20px;
}

.sub_on_mail .title {
    text-align: center;
    border-bottom: 1px solid #999;
    color: #999;
    padding-bottom: 10px;
}

.sub_on_mail .rej {
	margin-top: 10px;
	margin-bottom: 0px;
}

@media (max-width: 768px) {
    .block_article .left{
        width: 100%;
        height: 250px;
        margin-bottom: 25px;

        background-position-y: top;
    }

    .block_article .right {
        width: 100%;
        padding: 0 28px 24px;
    }

    .block_article {
        display: inline-block;
    }

    .auth_form {
        width: 100%;
    }
}


/* FOOTER */

.footer {
    border-radius: 0 !important;
    background-color: #333 !important;
    color: white;
    margin-bottom:0 !important;
    padding: 30px 0px !important;
}

.footer p {
    margin-bottom: 0px;
}

.footer a {
    color: white;
    text-decoration: underline !important;
}

.big_block {
    padding: 30px !important;
}

.descr {
    margin: 0;
}

.lower_descr{
    margin: 40px 0 10px 0;
}

.big_button {
    width: calc(50% - 25px);
    height: 50px;
    margin-left: 10px;
    margin-right: 10px;
}

.active_button {
    background-color: #fc5d5d !important;
    color: white !important;
}

.active_button:hover{
    background-color: #a53b3b !important;
}

