div.article-inner div.content {
    width: 100%;
    margin-right: 20px;
    float: none;
}

.node-straipsnis .articles-list-relatet-content-row-wrap1 {
    float: none;
    width: 100%;
    margin-top: 20px;
}

.articles-list-relatet-content-row {
    width: 100%;
}

li.articles-list-relatet-content-row {
    display: block;
    float: left;
    width: 32%;
    margin-right: 2%;
}

li.articles-list-relatet-content-row:last-child {
    margin-right: 0 !important;
}

li.articles-list-relatet-content-row .views-field.views-field-field-media img {
    max-width: 100%;
    height: auto;
}

.view-display-id-node_media_gallery {
    max-width: initial;
    width: 100%;
    max-height: initial;
}

.straipsnio-teksto-wrapper {
    text-align: justify;
    font-size: 17px;
    margin: 25px 0 10px !important;
    line-height: 1.5;
}

.straipsnio-teksto-wrapper p {
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
}

.straipsnio-teksto-wrapper .article-intro {max-width: 600px; font-weight: bold; display: block; margin: 0 auto; font-size: 18px;}
.straipsnio-teksto-wrapper .article-intro p {max-width: initial;}

.straipsnio-teksto-wrapper blockquote {
    font-style: italic;
    line-height: 1.5;
    text-align: center;
    font-weight: bold;
    width: 300px;
    min-height: 190px;
    display: flex;
    -moz-display: flex;
    -webkit-display: flex;
    -o-display: flex;
    -ms-display: flex;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -o-justify-content: center;
    -ms-justify-content: center;
    align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    -o-align-items: center;
    -ms-align-items: center;
    padding: 38px 18px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    position: relative;
    border: none;
    font-size: 16pt !important;
    background-color: #fff;
    color: #444;
}

.straipsnio-teksto-wrapper blockquote p, .straipsnio-teksto-wrapper blockquote p span, .straipsnio-teksto-wrapper blockquote span {
    font-size: 16pt !important;
}

.straipsnio-teksto-wrapper blockquote:before {
    content: "\201C" !important;
    position: absolute !important;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 90pt;
    left: -16px;
    top: 38px;
    margin-left: 0;
    border: 0;
    width: initial;
    height: initial;
    line-height: 0;
}

.straipsnio-teksto-wrapper blockquote:after {
    content: "\201D" !important;
    position: absolute !important;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 90pt;
    left: initial;
    top: initial;
    margin-left: 0;
    border: 0;
    width: initial;
    height: initial;
    line-height: 0;
    right: 2px;
    bottom: -8px;
}

.straipsnio-teksto-wrapper blockquote p {
    text-indent: 0;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

.straipsnio-teksto-wrapper blockquote p:before {
    display: none!important;
}

.straipsnio-teksto-wrapper img[typeof="foaf:Image"] {max-width: 728px !important; max-height: 600px !important; width: auto !important; float: none !important; margin: 0 auto 20px !important; padding: 0 !important; display: block !important;}
.straipsnio-teksto-wrapper img[typeof="foaf:Image"].text_img_left {width: 340px !important; height: auto !important; margin: 10px 20px 10px 0 !important; float: left !important; }
.straipsnio-teksto-wrapper img[typeof="foaf:Image"].text_img_right {width: 340px !important; height: auto !important; margin: 10px 0 10px 20px !important; float: right !important; }
.straipsnio-teksto-wrapper img[typeof="foaf:Image"].text_img_center {max-width: 728px !important; max-height: 600px !important; width: auto !important; float: none !important; margin: 0 auto 20px !important; }

.straipsnio-teksto-wrapper .article_showcase_1 {
    width:300px; height: 250px; margin: 0 30px 10px 0; float: left; padding-top:15px; position:relative;
}

.article-media ul.media-gallery-list li {
    width: 100%;
    height: 627px;
    z-index: 0 !important;
}

.article-media ul.media-gallery-list li:not(:first-child) {
    position: absolute;
    top: 0;
    z-index: -1 !important;
}

.article-media ul.media-gallery-list li a img {
    max-width: 100%;
    max-height: 627px;
    width: auto;
    object-fit: contain;
}

.article-media ul.media-gallery-list li a {
    width: 100%;
    height: 100%;
    display: flex;
    -moz-display: flex;
    -webkit-display: flex;
    -o-display: flex;
    -ms-display: flex;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -o-justify-content: center;
    -ms-justify-content: center;
    align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    -o-align-items: center;
    -ms-align-items: center;
}



.article-media .contextual-links-region.view-display-id-node_media_gallery_thumbs {
    margin-top: -105px;
    position: relative;
    z-index: 100;
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.article-media:hover .contextual-links-region.view-display-id-node_media_gallery_thumbs {
    opacity: 1;
    background: rgba(0,0,0,0.7);
}

.article-media .contextual-links-region .media-gallery-thumbnails-list-wrap {
    width: 100%;
}

.article-media .contextual-links-region .media-gallery-thumbnails-list-wrap > .bx-wrapper, .article-media .contextual-links-region .media-gallery-thumbnails-list-wrap > .bx-wrapper > .bx-window {
    width: 100% !important;
}

.bottom-reklama-straipsnyje {
    clear: both;
    width: 728px;
    margin: 20px auto;
}

.media_embed {text-align: center;}
.media_embed iframe {width: 600px;}

.straipsnio-teksto-wrapper table {
    margin: auto;
    max-width: 600px;
}

/* PAPILDOMA GALERIJA STRAIPSNYJE */

.media-gallery-inline {
    width: 728px;
    margin: 0 auto;
}

.media-gallery-inline hr {
    margin: 20px 0 40px;
}

.media-gallery-inline hr:first-child {
    margin: 40px 0 20px;
}

.media-gallery-inline-header {
    margin-bottom: 10px;
    margin-top: -10px;
}

.media-gallery-inline-title {
    font-size: 18px;
    font-weight: 600;
}

.media-gallery-inline-count {
    font-size: 16px;
}

.media-gallery-list2 {
    width: 728px;
    text-align: center;
    margin: 0 auto -10px !important;
    display: block;
}

.media-gallery-list2 li {
    list-style: none !important;
    display: inline-block;
    margin-right: 10px;
}

.media-gallery-list2 img {
    width: 137px;
    padding: initial;
}

.media-gallery-list2 li:nth-child(5n+5) {
    margin-right: 0;
}

.media-gallery-list3 {
    width: 728px;
    text-align: center;
    margin: 0 auto -10px !important;
    display: block;
}

.media-gallery-list3 li {
    list-style: none !important;
    display: inline-block;
    margin-right: 10px;
}

.media-gallery-list3 img {
    width: 137px;
    padding: initial;
}

.media-gallery-list3 li:nth-child(5n+5) {
    margin-right: 0;
}

.media-gallery-list4 {
    width: 728px;
    text-align: center;
    margin: 0 auto -10px !important;
    display: block;
}

.media-gallery-list4 li {
    list-style: none !important;
    display: inline-block;
    margin-right: 10px;
}

.media-gallery-list4 img {
    width: 137px;
    padding: initial;
}

.media-gallery-list4 li:nth-child(5n+5) {
    margin-right: 0;
}

.media-gallery-list5 {
    width: 728px;
    text-align: center;
    margin: 0 auto -10px !important;
    display: block;
}

.media-gallery-list5 li {
    list-style: none !important;
    display: inline-block;
    margin-right: 10px;
}

.media-gallery-list5 img {
    width: 137px;
    padding: initial;
}

.media-gallery-list5 li:nth-child(5n+5) {
    margin-right: 0;
}

#komentaru-block {
    border-top: 1px solid #a4a4a4;
    margin-bottom: 20px;
}

#komentaru-block-links {
    padding: 30px 0 20px;
}

.straipsnis-visi-komentarai {
    background: #e8e8e8;
    padding: 12px 25px;
    float: right;
    color: #555;
    cursor: pointer;
}

.straipsnis-visi-komentarai div {
    display: inline-block;
}

#straipsnis-komentuoti {
    background: #526E90;
    padding: 12px 25px;
    float: right;
    color: #fff;
    cursor: pointer;
    margin-left: 20px;
}

body.kaunodienalt #straipsnis-komentuoti {
    background: #5F873B;
}

body.klaipedalt #straipsnis-komentuoti {
    background: #FFAD32;
    color: #555;
}

article.comment {
    border: none;
}

div.comments-and-title-area {
    padding-right: 20px;
    height: 230px;
    overflow: auto;
    box-sizing: border-box;
    border: none;
    position: absolute;
    bottom: 0;
    width: 100%;
}

header.user-comment-header {
    background: #e8e8e8;
    padding: 5px;
    padding-left: 10px;
    display: inline-block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

header.user-comment-header h3 {
    font-style: normal;
    font-weight: bold;
    color: #5f873b;
}

.dienalt header.user-comment-header h3 {
    color: #526e90;
}

.klaipedalt header.user-comment-header h3 {
    color: #680000;
}

header.user-comment-header time {
    padding: 0;
    border: none;
}

.user-comment-comment {
    padding: 10px 0;
    color: #555;
}

div.like-dislike {
    float: left;
}

div.like-button-cl, div.like-button-cl.active, div.like-button-cl:hover {
    background: none;
    border: 1px solid #5f873b;
    color: #5f873b;
    font-size: 14px;
    font-weight: bold;
    padding: 4px;
    padding-right: 10px;
    width: auto;
}

.like-count, .dislike-count {
    display: inline;
    margin-left: 10px;
}

div.dislike-button-cl, div.dislike-button-cl.active, div.dislike-button-cl:hover {
    background: none;
    border: 1px solid #ce3837;
    color: #ce3837;
    font-size: 14px;
    font-weight: bold;
    padding: 4px;
    padding-right: 10px;
    width: auto;
}

.at-style-responsive .at-share-btn {
    margin: 0 10px 0 0 !important;
}

.at-resp-share-element .at4-share-count-container {
    font-size: 14px !important;
}

form.comment-form label {
    display: none;
}

#edit-comment-body-und-0-value-counter {
    display: none;
}

form.comment-form textarea.form-textarea {
    display: block;
    width: 100%;
    height: 40px;
    border: solid 1px #DDD;
    line-height: 18px;
    color: #666;
    font-weight: normal;
    font-family: sans-serif;
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    background-color: white;
    padding-top: 10px;
}

#edit-comment-body {
    position: absolute;
    top: 0;
    width: 100%;
}

#comments .form-item {
    margin-top: 0;
}

#comments .form-item-name {
    display: none;
}

#comments #edit-actions {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    width: auto;
    height: auto;
}

.connect-with-diena-button {
    display: none;
}

form#comment-form input.form-submit {
    background: #e8e8e8;
    padding: 12px 25px;
    float: right;
    color: #555;
    cursor: pointer;
    margin: 0;
    font-weight: normal;
    font-size: 14px;
    line-height: 1em;
    text-transform: uppercase;
}

form.comment-form input#edit-name {
    width: 100%;
    box-shadow: none;
    height: 40px;
    font-size: 14px;
    box-sizing: border-box;
}

#comments .form-item-name, #comments #edit-author--2 {
    display: none;
    position: absolute;
    bottom: 50px;
    width: 100%;
}

#edit-author--2 a {
    color: #555;
}

#komentarai-full div.comments-and-title-area {
    position: static;
    height: auto;
    padding-right: 0;
}

form.comment-form div#edit-actions {
    background-color: transparent;
}

#comment-form-close {
    line-height: 40px;
    cursor: pointer;
    margin-right: 20px;
    font-size: 13px;
    color: #b3b3b3;
}

#comment-form-close:hover {
    color: #555555 !important;
}

a.straipsnis-visi-komentarai {
    color: #555;
}

#comments #edit-name::-webkit-input-placeholder,
#comments #edit-name:-moz-placeholder,
#comments #edit-name::-moz-placeholder,
#comments #edit-name:-ms-input-placeholder {
    color: #a9a9a9;
    font-size: 14px;
}

#komentarai-full .comment-form-area {
    height: 40px;
    position: relative;
    margin-bottom: 30px;
}

.dienalt #comment-form input.form-submit:hover {
    background: #526E90;
    color: #fff;
}

.kaunodienalt #comment-form input.form-submit:hover {
    background: #5F873B;
    color: #fff;
}

.klaipedalt #comment-form input.form-submit:hover {
    background: #ffad32;
    color: #fff;
}

div#straipsnis-komentuoti:hover {
    background: #e8e8e8;
    color: #555;
}

.kaunodienalt a.straipsnis-visi-komentarai:hover {
    text-decoration: none;
    background: #5F873B;
    color: #fff;
}

.klaipedalt a.straipsnis-visi-komentarai:hover {
    text-decoration: none;
    background: #ffad32;
    color: #fff;
}

.dienalt a.straipsnis-visi-komentarai:hover {
    text-decoration: none;
    background: #526E90;
    color: #fff;
}

.raktazodziu-sarasas a {
    border: 1px solid #aaa;
    color: #aaa;
    padding: 5px;
    margin: 0 5px;
    display:inline-block;
}

.kaunodienalt .raktazodziu-sarasas a:hover {
    border: 1px solid #5f873b;
    color: #5f873b;
    text-decoration: none;
}
.klaipedalt .raktazodziu-sarasas a:hover {
    border: 1px solid #ffad32;
    color: #ffad32;
    text-decoration: none;
}
.dienalt .raktazodziu-sarasas a:hover {
    border: 1px solid #526E90;
    color: #526E90;
    text-decoration: none;
}

.kaunodienalt #comment-be-first {
    position: absolute;
    left: 0;
    bottom: 12px;
    font-size: 14px;
    color: #5f873b;
}
.klaipedalt #comment-be-first {
    position: absolute;
    left: 0;
    bottom: 12px;
    font-size: 14px;
    color: #680000;
}
.dienalt #comment-be-first {
    position: absolute;
    left: 0;
    bottom: 12px;
    font-size: 14px;
    color: #526E90;
}
.twiteris{
    width:600px;
    margin-left:auto;
    margin-right:auto;
}