/* -------------------------- */
/* Стили для раздела "Статьи" */
/* -------------------------- */

/* Сам список статей */

.tags-cloud {
    margin: 4px 5px 24px;
    text-align: center;
}

.tags-cloud > span {
    line-height: 20px;
    padding: 2px 6px;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.tags-cloud > span > span {
    color: #FFF;
    font-size: 11px;
    position: absolute;
    top: -2px;
    left: calc(100% - 5px);
    -webkit-transition: all 0.2s ease-in-out;
    -webkit-transition-delay: 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.tags-cloud > span:hover > span {
    color: #666;
}

.articles .slider-button {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 130px;
    cursor: pointer;
    opacity: 0.8;
    -webkit-transition: all 0.2s ease-in-out;
    -webkit-transition-delay: 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.articles .slider-button:hover {
    opacity: 1;
}

.articles .slider-button.left {
    background: url(/css/design2016/img/slider_left_white.png) no-repeat;
    left: 0;
}

.articles .slider-button.right {
    background: url(/css/design2016/img/slider_right_white.png) no-repeat;
    right: -6px;
}

.articles .top-articles-slider {
    margin-bottom: 20px;
    display: none;
}

.articles .top-articles-slider > div {
    position: relative;
}

.articles .top-articles-slider > div img {
    width: 1170px;
    height: 300px;
}

.articles .top-articles-slider > div .cover {
    width: 1170px;
    height: 300px;
    background: rgba(0,0,0,0.09);
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.articles .top-articles-slider > div > .counters {
    height: 33px;
    background: rgba(50,50,50,0.45);
    color: #FFF;
    padding: 4px 10px 2px 0;
    position: absolute;
    top: 20px;
    left: 20px;
}

.articles .top-articles-slider > div > .counters i {
    padding: 0 5px 0 10px;
}

.articles .top-articles-slider > div > .counters .icon-eye {
    font-size: 21px;
    line-height: 24px;
    padding-right: 4px;
    padding-left: 6px;
    position: relative;
    top: 1px;
}

.articles .top-articles-slider > div > .counters .icon-comment {
    font-size: 17px;
    padding-right: 4px;
    position: relative;
    top: -1px;
}

.articles .top-articles-slider > div > .date {
    background: rgba(50,50,50,0.45);
    color: #FFF;
    padding: 4px 10px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.articles .top-articles-slider > div > .info {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

.articles .top-articles-slider > div .tags {
    margin-bottom: 20px;
    display: inline-block;
}

.articles .top-articles-slider > div .tags > a {
    background: rgba(0, 131, 199, 0.85);
    color: #FFF;
    padding: 4px 10px 3px;
    margin-right: 15px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 2px 2px 12px 0 #444;
    -moz-box-shadow: 2px 2px 12px 0 #444;
    -webkit-box-shadow: 2px 2px 12px 0 #444;
}

.articles .top-articles-slider > div .title {
    background: rgba(50,50,50,0.6);
    color: #FFF;
    font-size: 16px;
    padding: 7px 10px 5px;
    margin-right: 20px;
    text-decoration: none;
    display: inline-block;
}

.articles .ad-block {
    border-top: 1px #DDD solid;
    border-bottom: 1px #DDD solid;
    padding: 10px 0;
    margin-bottom: 20px;
    text-align: center;
}

.articles .ad-block.google {
    padding: 20px 0 15px;
}

.articles .big-articles {
    float: right;
}

.articles .big-articles > div {
    margin-bottom: 20px;
    position: relative;
}

.articles .big-articles > div img {
    width: 507px;
    height: 380px;
}

.articles .big-articles > div .cover {
    width: 507px;
    height: 380px;
    background: rgba(0,0,0,0.09);
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.articles .big-articles > div > .counters {
    height: 33px;
    background: rgba(0,0,0,0.45);
    color: #FFF;
    padding: 4px 10px 4px 5px;
    position: absolute;
    top: 18px;
    left: 20px;
    text-shadow: 1px 1px #000;
}

.articles .big-articles > div > .counters i {
    padding: 0 5px 0 6px;
}

.articles .big-articles > div > .counters .icon-eye {
    font-size: 21px;
    line-height: 21px;
    padding-right: 4px;
    padding-left: 2px;
    position: relative;
    top: 1px;
}

.articles .big-articles > div > .counters .icon-comment {
    font-size: 17px;
    padding-right: 4px;
    position: relative;
    top: -1px;
}

.articles .big-articles > div > .date {
    background: rgba(0,0,0,0.45);
    color: #FFF;
    padding: 4px 10px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.articles .big-articles > div > .info {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

.articles .big-articles > div .tags {
    margin-bottom: 20px;
    display: inline-block;
}

.articles .big-articles > div .tags a {
    background: rgba(0, 131, 199, 0.85);
    color: #FFF;
    padding: 4px 10px 3px;
    margin-right: 15px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 2px 2px 12px 0 #444;
    -moz-box-shadow: 2px 2px 12px 0 #444;
    -webkit-box-shadow: 2px 2px 12px 0 #444;
}

.articles .big-articles > div .title {
    background: rgba(0,0,0,0.6);
    color: #FFF;
    font-size: 16px;
    padding: 7px 10px 5px;
    margin-right: 20px;
    text-decoration: none;
    display: inline-block;
}

.articles .regular-articles > .regular {
    width: 640px;
    height: 180px;
    background: #EEE;
    margin: 0 20px 20px 0;
    padding: 15px 15px 40px 0;
    position: relative;
    float: left;
}

.articles .regular-articles > .regular img {
    width: 240px;
    height: 180px;
    position: absolute;
    top: 0;
    left: 0;
}

.articles .regular-articles > .regular .cover {
    width: 240px;
    height: 180px;
    background: rgba(0,0,0,0.09);
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.articles .regular-articles > .regular > div {
    margin-left: 255px;
}

.articles .regular-articles > .regular > .tags {
    padding-bottom: 8px;
}

.articles .regular-articles > .regular > .tags a {
    color: #0083c7;
    font-size: 13px;
    font-weight: 600;
    padding-right: 10px;
    margin-bottom: 2px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-block;
}

.articles .regular-articles > .regular > .title {
    font-size: 16px;
}

.articles .regular-articles > .regular > .title a {
    color: #333;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -webkit-transition-delay: 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.articles .regular-articles > .regular > .title a:hover {
    color: #444;
}

.articles .regular-articles > .regular > .status {
    width: 382px;
    margin: 0;
    position: absolute;
    bottom: 10px;
    right: 15px;
}

.articles .regular-articles > .regular > .status .counters {
    color: #F60;
    font-size: 16px;
    float: left;
}

.articles .regular-articles > .regular > .status .counters i {
    padding: 0 5px 0 10px;
    opacity: 0.8;
}

.articles .regular-articles > .regular > .status .counters .icon-eye {
    font-size: 21px;
    padding-right: 4px;
    position: relative;
    top: 1px;
}

.articles .regular-articles > .regular > .status .counters .icon-comment {
    font-size: 17px;
    padding-right: 4px;
    position: relative;
    top: -1px;
}

.articles .regular-articles > .regular > .status .date {
    color: #888;
    line-height: 31px;
    float: right;
}

.articles .regular-articles.old > .regular {
    width: calc(50% - 10px);
}

.articles .regular-articles.old > .regular:nth-child(even) {
    margin-right: 0;
}

.articles .regular-articles.old > .regular > .status {
    width: 317px;
}

.articles .likes .like,
.article .likes .like {
    width: 50px;
    height: 23px;
    border: 1px solid;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: normal;
    padding-top: 2px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
    -webkit-transition-delay: 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.articles .likes .yes,
.article .likes .yes {
    border-color: #0B0;
    color: #0B0;
}

.articles .likes .yes:hover,
.article .likes .yes:hover,
.article .likes .yes.votes {
    background: #0B0;
    color: #FFF;
}

.articles .likes .no,
.article .likes .no {
    border-color: #F22;
    color: #F22;
}

.articles .likes .no:hover,
.article .likes .no:hover,
.article .likes .no.votes {
    background: #F22;
    color: #FFF;
}

.articles .likes i,
.article .likes i {
    margin-left: 2px;
}

.box {
    margin-top: 20px;
}

.pages {
    padding-top: 10px;
}

/* Одна статья */

.article > img {
    width: 240px;
    height: 180px;
    border: 4px #FFF solid;
    margin: 0 20px 18px 0;
    display: block;
    float: left;
    box-shadow: 2px 2px 15px 0 #BBB;
    -moz-box-shadow: 2px 2px 15px 0 #BBB;
    -webkit-box-shadow: 2px 2px 15px 0 #BBB;
}

.article > .top-line {
    margin-bottom: 22px;
}

.article > .top-line .date,
.article > .top-line .author {
    color: #666;
    font-size: 16px;
    display: inline-block;
}

.article > .top-line .author span {
    padding: 0 8px;
}

.article > .top-line .tags {
    color: #666;
    padding-left: 20px;
    display: inline-block;
}

.article > .top-line .tags a {
    font-size: 14px;
    font-weight: 600;
    padding-left: 8px;
    text-transform: uppercase;
}

.article > .top-line .views,
.article > .top-line .remarks {
    padding-left: 33px;
    margin-left: 8px;
    position: relative;
    float: right;
}

.article > .top-line i {
    color: #999;
    font-size: 20px;
    position: absolute;
    top: -4px;
    left: 0;
}

.article > .top-line .remarks i {
    font-size: 17px;
    top: -2px;
    left: 5px;
}

.article > .top-line .remarks a {
    color: #444;
    text-decoration: none;
}

.article > .tags {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.article > .tags a {
    padding-left: 8px;
}

.article > .text {
    text-align: justify;
}

.article > .text ul,
.article > .text ol {
    color: #444 !important;
    font-family: 'Arimo' !important;
    font-size: 16px !important;
    line-height: 22px !important;
    margin: 0 0 22px !important;
}

.article > .text p,
.article > .text span {
    color: #444 !important;
    font-family: 'Arimo' !important;
    font-size: 16px !important;
    line-height: 22px !important;
    margin: 0 0 22px !important;
}

.article > .text a {
    word-break: break-all;
}

.article > .text h1 {
    color: #444 !important;
    font-family: 'Arimo' !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 44px 0 22px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.article > .text h2,
.article > .text h3 {
    color: #444 !important;
    font-family: 'Arimo' !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 44px 0 22px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.article > .text h4,
.article > .text h5,
.article > .text h6 {
    font-family: 'Arimo' !important;
    font-size: 16px !important;
}

.article > .status {
    background: #F0FBFF;
    border: 1px #9CF dashed;
    padding: 14px 15px;
    margin-top: 20px;
}

.article > .status .views {
    height: 25px;
    background: #FFF;
    border: 1px solid #CCC;
    color: #000;
    margin: 0 4px;
    cursor: default;
    float: left;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.article > .status .views > i {
    width: 36px;
    color: #F60;
    font-size: 19px;
    position: relative;
    top: -3px;
    display: inline-block;
}

.article > .status .views > i:before {
    position: relative;
    top: 1px;
    left: 5px;
}

.article > .status .views > span {
    height: 23px;
    border-left: 1px solid #CCC;;
    line-height: 23px;
    padding: 0 8px;
    position: relative;
    top: -3px;
    display: inline-block;
}

.article > .status .likes {
    margin: 1px 0 0 20px;
    float: left;
}

.article .socials {
    float: right;
}

.article .socials > span {
	padding-right: 9px;
    position: relative;
    top: 2px;
}

.article .additional {
    padding: 16px 0 0 2px;
}

.article .additional > a {
    margin-right: 20px;
}

.article .additional > a > i {
    font-size: 18px;
    padding-right: 5px;
    position: relative;
    top: 1px;
}

.article .additional > a > i.icon-tags {
    padding-right: 8px;
}

.article .diagnosis {
    border-top: 1px #DDD solid;
    padding-top: 20px;
    margin-top: 20px;
}

.article .diagnosis > span {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
}

.article .yandex-ad {
    border-top: 1px #DDD solid;
    padding-top: 18px;
    margin-top: 20px;
}

.article .recommended-clinics {
    border-top: 1px #DDD solid;
    padding-top: 18px;
    margin-top: 20px;
}

.article .recommended-clinics h3 {
    color: #444;
    font-family: 'Arimo';
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
}

.article #com {
    width: 0;
    height: 0;
    position: relative;
    top: -40px;
}

.article .comments {
    border-top: 1px #DDD solid;
    padding-top: 18px;
    margin-top: 20px;
}

.article .comments .anonim {
    font-size: 16px;
    font-style: italic;
    margin-top: 20px;
    text-align: center;
}

.article .comments #comments {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
}

.article .comments .comments_form {
    border: none;
    padding: 0 0 20px;
}

.article .comments .comments_form textarea {
    width: 100%;
    margin-bottom: 8px;
    resize: none;
}

.article .comments .comments_form input[type=submit] {
    float: right;
}

.article .comments .comment {
    background: #FBFBFB;
    border: 1px #CCC solid;
    border-left: 4px #BBB solid;
    padding: 10px 15px 11px;
    margin-bottom: 20px;
    position: relative;
}

.article .comments .comment .date {
    margin-top: 10px;
}

.article .comments .comment .date .plus {
    float: right;
}

.article .comments .comment .comments_form {
    border-top: 1px #DDD solid;
    margin-top: 11px;
    padding: 15px 0 5px;
    display: none;
}

.article .comments > .plus {
    display: none;
    float: right;
}

/* Форма добавления статьи */

.article-add-container {
    background: #F5FCFF;
    border: 1px #68b3e7 solid;
    padding: 14px 15px 10px;
    margin: 0 0 20px;
    position: relative;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.article-add-container > div {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.article-add-container > div > span:first-of-type {
    font-size: 16px;
    padding-bottom: 6px;
    display: block;
}

.article-add-container > div > span:first-of-type i {
    font-size: 18px;
    padding-right: 2px;
}

.article-add-container > div input[type=text],
.article-add-container > div select,
.article-add-container > div textarea {
    width: 100%;
}

.article-add-container > div textarea {
    resize: vertical;
}

.article-add-container .add-title {
    width: 70%;
    padding-right: 14px;
    margin-bottom: 15px;
    float: left;
}

.article-add-container .icon-newspaper {
    padding-right: 4px;
    position: relative;
    top: 1px;
}

.article-add-container .add-type {
    width: 30%;
    float: left;
}

.article-add-container .add-descr {
    width: 100%;
    margin-bottom: 15px;
}

.article-add-container .add-text {
    width: 100%;
    margin-bottom: 20px;
}

.article-add-container .add-image {
    width: 100%;
    margin-bottom: 25px;
}

.article-add-container .add-image img {
    width: 100px;
    height: 100px;
    border: 4px #FFF solid;
    margin: 15px 0 0 6px;
    position: relative;
    left: -4px;
    display: block;
    box-shadow: 1px 1px 12px 0 #888;
    -moz-box-shadow: 1px 1px 12px 0 #888;
    -webkit-box-shadow: 1px 1px 12px 0 #888;
}

.article-add-container .add-others {
    width: 100%;
    margin-bottom: 10px;
}

.article-add-container .add-others table {
    width: 100%;
}

.article-add-container .add-others table td {
    border: 1px #BBB solid;
    padding: 15px;
}

.article-add-container .add-others table td #diag_list,
.article-add-container .add-others table td #disesses_list {
    margin-bottom: 15px;
}

.article-add-container .add-others table td #diag_list input[type=checkbox],
.article-add-container .add-others table td #disesses_list input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin: 8px 2px 0 0;
    position: relative;
    top: 4px;
}

.article-add-container .add-others table td #clinic_list input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin: 8px 2px 0 0;
    position: relative;
    top: 5px;
}

.article-add-container .add-others table td.clinics-search {
    padding: 15px 15px 0;
}

.article-add-container .add-others table td.clinics-search input {
    width: calc(100% - 112px);
    margin-right: 12px;
    float: left;
}

.article-add-container .add-others table td.clinics-search > a {
    width: 100px;
    float: left;
}

.article-add-container .add-others table td.clinics-search #clinics {
    margin: 20px 0;
}

.article-add-container .add-others table td.clinics-search #clinics > div {
    margin-bottom: 15px;
}

.article-add-container .add-others table td.clinics-search #clinics > div:last-of-type {
    margin-bottom: 0;
}

.article-add-container .add-others table td.clinics-search #clinics > div > p {
    margin-bottom: 4px;
}

.article-add-container .add-others table td.clinics-search #clinics > div > div {
    color: #666;
    font-size: 15px;
    font-style: italic;
}

.article-add-container .add-others table td.clinics-search #clinics > p {
    color: #666;
    font-weight: normal;
    font-style: italic;
    margin-left: 4px;
}

#art_post > input[type=submit] {
    margin-right: 18px;
}

#art_post > .agree {
    margin-right: 2px;
    float: right;
}

#art_post > .agree input {
    width: 20px;
    height: 20px;
    margin-right: 2px;
    position: relative;
    top: 3px;
}

/* Tags in articles */
a.tag_a {
    display: inline-block !important;
    padding: 2px 8px;
    margin: 0 8px 0 0;
    color: white;
    background-color: #68b3e7;
    text-decoration: none;
}
a.tag_a:hover {
    text-decoration: underline;
}
div.tags_line {
    padding: 0 !important;
    margin: 0 0 5px 0;
}
div.tags_line2 {
    padding: 0 !important;
    margin: 7px 0 5px 0;
}
div.tags_line3 {
    padding: 0 !important;
    margin: 1px 0 1px 0;
}

.loading {
    width: 100%;
    height: 290px;
    background: url(/css/design2016/img/loading.gif) no-repeat center center;
}