body {
    padding: 0px 0px 0px 0px;
    margin:0px;
    margin-bottom: solid 1px #a01708;
    background: #eee;
    color: #000 !important;
    font-weight: 400 !important;
}

.centered-text {
    text-align: center;
}

#menu {
    display: none;
}

    #jPanelMenu-menu {
        padding-top: 10px;
        position: fixed;
        z-index: 999999999;
    }

    #jPanelMenu-menu ul {
        list-style: none;
        padding: 0px;
        margin: 0px;
        margin-top: 10px;
    }

        #jPanelMenu-menu ul li {
            padding: 0px;
            margin: 0px;
        }

            #jPanelMenu-menu ul li a {
                color: #fff;
                float: left;
                display: block;
                padding: 10px 20px 10px 20px;
                width: 100%;
                font-size: 1em;
                border-bottom: solid 1px #222;
                border-top: solid 1px #444;
                font-size: 13px;
            }

                #jPanelMenu-menu ul li a span {
                    padding-right: 5px;
                }

                #jPanelMenu-menu ul li a:hover {
                    text-decoration: none;
                    background: #222;
                }

h4 {
    font-weight: bold;
    padding: 0px;
    margin: 0px 0px 10px 0px;
}

h4 a {
    color: #000;
}

    h4 a:hover {
        text-decoration: none;
        color: #000;
    }

.navbar {
    width: 100%;
    margin-bottom: 5px;
    padding: 5px;
    position: fixed;
    z-index: 9999999;
    /*background-image: url('/static/img/craciun-pattern.jpg');*/
}

.search {
    margin-bottom: 5px;
}

#jPanelMenu-menu {
    background: #333;
}

.menu-trigger {
    float: left;
    position: absolute;
    padding-top: 10px;
    font-size: 16px;
}

.navbar button {
    border: none;
    background: none;
}

.navbar button:hover {
    border: none;
    background: none;
    opacity: 0.7;
}

.logo {
    padding: 5px;
}

.article_row {
    display: block;
    width: 100%;
    float: left;
    margin:0px;
    padding: 0px;
    border: solid 1px #ddd;
    background: #fff;
    margin-bottom: 5px;
    padding: 10px;
}

.article_row h3 {
    margin-top: 7px;
    font-size: 14px;
}

.article_row small {
    margin-bottom: 5px;
}

.article_row small a {
    color: #666;
}

.article_row .info {
    padding: 10px;
    background: #f9f9f9;
    float: left;
    width: 100%;
    margin-top: 10px;
}

.article_row img {
    width: 100% !important;
    height:  auto !important;
    display: block;
    float: left;
    margin:0px 0px 5px 0px;
    padding: 0px;
}

#st-1 .st-btn > img {
    width: 16px !important;
    height: 16px !important;
}

.article_row .article_attachments {
    display:block;
    width: 100%;
    float: left;
    padding: 10px;
    background: #eee;
}

.article_row .article_attachments ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    clear: both;
    display:block;
    width: 100%;
}

.article_row .article_attachments ul li {
    float: left;
}

.article_row .article_attachments ul li a {
    color: #999;
    margin-right: 20px;
    font-size: 20px;
}

.article_row .article_attachments ul li a:hover, .article_row .article_attachments ul li a.selected {
    color: #000;
    text-decoration: none;
}

.article_row iframe {
    width: 100% !important;
    /* height: auto !important; */
}

.article_row .ad iframe {
    height: 250px !important;
}

.article_row h1 {
    font-size: 26px;
    font-weight: 400;
    padding: 10px 0px;
    margin: 0px;
}

.article_row .article_comments {
    margin-top: 5px;
}

.article_row br {
    height: 5px;
    display: block;
    width: 100%;
    clear: none;
    content: "";
}

/*.article_row br+br+br {
    display: none;
}*/

.article_row table {
    width: 100%;
}

.to_top {
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
    display: block;
    color: #000;
    background: #fff;
    padding: 10px;
    border: solid 1px #ccc;
    opacity: 0.7;
}

.category_name {
    font-weight: bold;
    padding-bottom: 10px;
}

.category_name h3 {
	color: #333 !important;
    font-size: 16px;
    font-weight: 400;
}

.category_name h3 a, .category_name h3 a:hover {
    color: #fff !important;
    text-decoration: none;
}

.to_top:hover {
    color: #000;
}

.container-fluid .carousel-inner .item img {
    width: 100% !important;
    min-height: 180px;
}

.container-fluid .carousel-inner .item h3 {
    margin: 0px;
    padding: 0px;
    line-height: 0.6em;
    background: #111;
    padding: 10px;
    text-shadow: 0px 2px 2px #000;
    opacity: 0.8;
    font-size: 22px;
}

.container-fluid .carousel-inner .item h3 a {
    color: #fff;
    font-size: 0.6em;
    text-shadow: 0px 2px 2px #000;
}

.container-fluid  .carousel-inner .carousel-caption {
    margin: 0px;
    padding: 0px;
}

.cautare input, .cautare select, cautare button {
    margin-bottom: 10px;
}

.fixed_bottom {
    position: fixed;
    left: 50%;
    margin-left: -150px;
    bottom: 0;
    width: 100%;
    z-index: 99999;
    overflow: hidden;
}

.fixed_bottom img {
    width: 100%;
    display: block;
    z-index: 99999;
}

.remove_banner {
    position: absolute;
    left: 50%;
    margin-left:-30px;
    padding: 10px;
    background: #fff;
    border-radius: 20px;
    top: 5px;
}

#footer\.outside {
    right: 10px !important;
    left: auto !important;
}

.w50 {
    width: 50%;
    display: block;
    float: left;
}

.w100 {
    width: 100%;
    display: block;
    float: left;
}

.article_row .banner_stiri_mobile iframe {
    width: auto !important;
    height: 250px !important;
}

.banner_stiri_mobile {
    width: 100%;
    /* max-height: 250px; */
    height: auto;
    min-height: 1px;
    text-align: center;
    margin: 10px auto;
    overflow: hidden;
    background: #fff;
}

.banner_stiri_mobile .add a img {
	max-width: 100%;
}


/* new style */


.container-fluid {
    padding-left: 0;
    padding-right: 0;
    padding-top: 52px;
    background: #ddd;
}

.article_row.rowTemplate {
    border: none;
    margin-bottom: 0;
    position: relative;
    padding: 10px;
    margin-bottom: 10px;
}

.article_row.rowTemplate.noBorder {
    border: none;
}

.article_row.article {
    border: none;
    margin-bottom: 0;
    /* user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none; */
}

.article table {
    display: flex;
}

.article table tr td {
    padding: 5px;
}

.article_row.rowTemplate .articleImage {
    width: 100%;
}

.article_row.rowTemplate .categoryName {
    width: 100%;
    float: right;
    margin-bottom: 0px;
    display: none;
}

.article_row.rowTemplate .articleTitle {
    font-size: 1.3em;
    font-weight: 500;
    margin: 0 0 5px 0;
    width: 100%;
    float: left;
    padding: 2px;
}

.article_row.rowTemplate .articleTitle a {
    font-size: 20px;
    font-weight: 400;
}

.articleTitle .supraTitle {
    font-size: 16px;
    color: #d9230f;
    display: block;
}

.article_row.rowTemplate .info {
    background: none;
    padding: 0;
    width: auto;
    font-size: 14px;
    margin: 0;
    width: 100%;
    float: left;
    color: #999;
    display: flex;
    align-items: center;
}

.article_row.rowTemplate .info .glyphicon {
    padding: 5px;
}

.more_articles {
    margin-top: 10px;
    width: 96%;
    margin-left: 2%;
    font-size: 16px;
}

.banner_stiri_mobile {
    margin: 0 0 10px 0;
    min-height: 0px;
    padding: 10px 0;
}

.category_name, .toMobile {
    font-size: 16px;
    padding: 15px;
    margin: 0 !important;
    background: #eee;
    color: #333;
    font-weight: normal;
}

.toMobile a {
	color: #333;
	font-size: 16px;
}

.navbar {
    margin-bottom: 0
}

.toMobile {
    margin-top: 5px;
}

.well.cautare {
    margin-bottom: 0px;
}

.article_row h1 .sup {
    font-size: 0.7em;
    display: block;
    color: #d9230f;
}

.panel-title p {
	margin: 0;
}

blockquote {
    font-size: 16px;
    margin: 10px 0;
}

.mobileCorner {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 10px;
}

.carousel-caption {
    left: 0 !important;
    right: 0 !important;
    bottom: -20px !important;
}

.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
    top: 10% !important;
}

.dobrogea_biblioteca.header {
    background: url('//ziuaconstanta.ro/static/www_v2/img/dobrogea-de-ieri-si-de-azi/header-backgound-mobile.jpg') top center no-repeat;
    background-size: cover;
}

.inlineSearch .categoryLabel {
    padding: 5px;
    display: block;
    text-align: center;
}

.inlineSearch .select2-container {
    width: 100% !important;
}

.readLibraryBook, .readLibraryBook:hover, .readLibraryBook:active {
    background: #d9230f;
    text-align: center;
    color: #fff;
    padding: 20px;
    display: block;
    float: left;
    text-transform: uppercase;
    width: 100%;
}

.categoryTags {
    padding: 10px;
    background: #f1f1f1;
    display: block;
    width: 100%;
}

.article_info.library .views {
    display: block;
    float: left;
    padding: 10px;
}

.article_info.library .share {
    display: block;
    float: right;
    padding: 10px;
}

#at-expanding-share-button {
    /*margin-bottom: 110px;*/
    margin-right: -7px;
}

.cc-type-opt-out {
    padding: 5px !important;
    font-size: 12px !important;
    text-align: center;
}

.bannerAd {
    display: flex;
    justify-content: center;
	background: url('/static/img/publicitate.jpg') center center no-repeat;
}

.article_row.article .article {
    font-size: 16px;
}

#carousel-example-generic {
    height: 300px;
    margin-bottom: 10px;;
}

#carousel-example-generic .carousel-inner {
    height: 300px;
}

.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right {
    top: 50% !important;
}

.container-fluid .carousel-inner .item h3 {
    line-height: 20px;
    font-size: 30px;
}

.carousel-inner>.item {
    height: 300px;
    -webkit-transition: 0.3s ease-in-out left;
    -moz-transition: 0.3s ease-in-out left;
    -o-transition: 0.3s ease-in-out left;
    transition: 0.3s ease-in-out left;
}

.carousel-caption {
    bottom: 0px !important;
}

.article img+ul {
    list-style: none;
    margin: 5px 0;
    padding: 10px;
    background: #eee;
    clear: both;
    font-weight: 500;
    font-size: 16px;
}

.article img+ul li {
    padding: 5px 0;
}

.article img+ul li strong {
    font-weight: 400;
}

.articleCategory {
    color: #333;
}

.articleCategory a {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    padding: 2px;
}

.pagination>li>a, .pagination>li>span {
    font-size: 18px;
    padding: 12px 16px;
}



@media (prefers-color-scheme: dark) {

    body {
        background: #111;
        color: #ccc;
    }

    .container-fluid {
        background: #111;
    }

    .article_row {
        background: #222;
        color: #ccc;
    }

    .article_row a {
        color: #ccc;
    }

    .banner_stiri_mobile {
        background: #222;
    }

    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
        color: #ccc;
    }

    h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6 {
        font-size: 20px;
    }

    .article_row .article_attachments {
        background: #333;
    }

    .article img+ul {
        background: #333;
        color: #ccc;
    }

    .category_name, .toMobile {
        background: #333;
        color: #ccc;
    }

    .category_name h3.text-center {
        color: #ccc !important;
    }

    .panel-default>.panel-heading {
        background: #333;
        color: #ccc;
        border: none;
        border-radius: 0 !important;
    }

    .panel {
        border: none;
        border-radius: 0;
        background-color: #333;
    }

    .panel-default>.panel-heading+.panel-collapse .panel-body {
        border: none;
    }

    .article_row .article_attachments ul li a:hover, .article_row .article_attachments ul li a.selected {
        color: #fff;
    }

    .well {
        background: #222;
        color: #ccc;
        border: none;
    }

    h4 a:hover {
        color: #eee;
    }

    .toMobile a {
        color: #eee;
    }

    .categoryTags {
        background: #333;
        color: #ccc;
    }

    blockquote {
        border: none;
        padding: 10px;
        background: #333;
        color: #ccc;
    }

}

.contact_page .col-lg-4, .contact_page .col-md-4, .contact_page .col-sm-4,  .contact_page .col-xs-4, .contact_page .col-lg-12 {
    width: 100%;
    padding: 5px 0;
}

.contact_page strong, .contact_page h3 {
    display: block;
    margin-top: 10px;
    font-size: 18px;
}

.contact_header img {
    display: none;
}

.contact_whatsapp {
    display: block;
    line-height: 18px;
    font-size: 14px;
    margin-bottom: 40px;
    color: #000;
}

.contact_whatsapp img {
    width: 50px !important;
    height: 50px !important;
    float: left;
    margin-right: 10px;
}

.contact_whatsapp span {
    display: block;
    width: calc(100% - 60px);
    margin-top: 4px;
    float: left;
}

#jPanelMenu-menu ul li a.social-icon {
    width: auto;
    font-size: 22px;
    padding-right: 0px;
    padding-left: 22px;
}

#jPanelMenu-menu ul li a.social-icon:hover {
    background: transparent;
}

.google-news {
    padding-left: 20px;
    background: url(../img/google-news.png) no-repeat left center;
    background-size: contain;
}

.whatsapp-link {
    padding-left: 20px;
    background: url(../img/whatsapp.png) no-repeat left center;
    background-size: contain;
}
