html {

}
body {
    margin: 0;
    padding: 0;
    background-color: #d3d6db;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: #000000;
}
a {
    display: inline-block;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
input, button, select {
    font-family: 'Nunito', sans-serif;
}
img {
    cursor: pointer;
}
.container {
    max-width: 880px;
}
.header {
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #4e7394 0%, #4e7394 50%, #456b8e 51%, #456b8e 100%);
    box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px;
}

.header__countup {
    position: absolute;
    top: -8px;
    right: -12px;
    margin-bottom: 15px;
    padding: 2px 5px;    
    border-radius: 3px;    
    background-color: #DF3A47;
    text-align: center;
    font-size: 10px;
}
.footer {
    margin-top: 15px;
    height: 45px;
    line-height: 45px;
    background-color: #4e7394;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -2px 2px;
    text-align: center;    
}
.footer a {
    color: #ffffff;
}

.search-form,
.toolbar {
    margin: 10px 0;
}
.search-form input,
.toolbar {
    height: 28px;
    line-height: 28px;
}

.logo {
    text-align: center;
}

.toolbar {
    text-align: right;
}
.toolbar a {
    width: 40px;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    color: #ffffff;
}
.toolbar a.user-name {
    position: relative;
    margin-left: 10px;
    margin-right: 15px;
    width: auto;
    font-size: 14px;
}
.toolbar a.user-name:hover {
    text-decoration: underline;
}

.search-form {
    position: relative;
    display: none;

    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}
.search-form input {
    padding: 0 10px;
    width: 100%;
    border: 0;
    border-radius: 3px;
}
.search-form button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    padding: 0;
    height: 20px;
    line-height: 1;
    width: 30px;
    border: 0;
    border-left: 1px solid #ddd;
    background: none;
    font-size: 15px;
    text-align: center;
    color: #aaaaaa;
    cursor: pointer;
}
.article-block__header > span,
.card-block-total-like-comment {
    display: inline-block;
    cursor: pointer;
    color: #999999;
}
.article-block__header > span:hover,
.card-block-total-like-comment:hover {
    text-decoration: underline;
}
.card-block__link .btn {
    border-radius: 5px;
    border: 1px solid #0e304e;
    background-color: #4e7394;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
}
.card-block__link .btn:hover {
    background-color: #ffffff;
    color: #0e304e;
}
.card-block__gallery {
    margin: 20px -10px 0;
    padding: 0 10px;
    border-top: 1px solid #dddddd;
}
.card-block__gallery header {
    padding-top: 5px;
    padding-bottom: 3px;
}
.card-block__gallery a {
    display: block;
}
.card-block__gallery a img {
    width: 100%;
}
.card-block__gallery figure figcaption {
    margin: 3px 0;
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    color: #616161;
}
.articles-block__wrapper-single-article {
    margin-bottom: 10px;
}

/* for iphone 5 */
@media (min-width: 350px) {
    .card-block__gallery figure figcaption {
        font-size: 11px;
    }
}
/* table */
@media (min-width: 768px) {
    .search-form {
        display: block;
        animation: none;
    }
    .footer {
        margin-top: 30px;
    }
    .toolbar a:nth-child(2) {
        display: none;
    }
}
@media (min-width: 992px) {
    .header {
        margin-bottom: 20px;
    }
    .logo {
        text-align: left;
    }
}