html, body {
    font-size: 14px;
    height: 100%;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    font-family: Raleway, Tahoma, sans-serif;
    background: transparent !important;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.qm-news-row {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    box-shadow: 0 3px 4px 0 #0002;
    min-height: 158px;
}

.qm-news-row .thumbnail {
    width: 110px;
    height: 110px;
    border: 1.5px solid #d5d5d5;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: white;
    flex-shrink: 0;
    margin-right: 24px;
}

.qm-news-row .source {
    font-size: 14px;
    font-weight: 600;
}

.qm-news-row .headline {
    font-weight: bold;
    font-size: 23px;
    line-height: 1.5;
    padding: 5px 0;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    line-break: normal;
}

.qm-news-row .timestamp {
    font-size: 14px;
    color: #959595;
}

#news-table {
    border: 0 !important;
}

#news-table thead {
    display: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    font-size: 14px;
    min-width: 1em;
    margin-left: 2px;
    cursor: pointer;
    color: #AEB1B4 !important;
    padding: 0 2px;
    border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    border-color: #23B34C;
    background: #23B34C;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate {
    width: 100%;
    text-align: center;
    padding-top: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #030303 !important;
    border: 1px solid white;
    background: white;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:active {
    box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    font-weight: bold;
    color: #23B34C;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous:active,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.next:active{
    color: #FFFFFF !important;
    background: #23B34C;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: #9B9B9B !important;
    font-weight: bold;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: #9B9B9B !important;
    background: #FFFFFF;
    box-shadow: none;
}

.cursor-pointer {
    cursor: pointer !important;
}

.text-link:hover {
    text-decoration: underline;
    cursor: pointer;
}

#news-modal .headline {
    font-size: 1.5rem;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

#news-modal .close {
    font-size: 2rem;
    color: white;
    outline: none;
    opacity: 0.9;
}
#news-modal .close:hover {
    opacity: 1;
}
body.modal-open{
    padding-right: 0!important;
}
@media screen and (max-width:1000px){
    a{
        word-break: break-all!important;
    }
    .news-header.bg-primary.text-white,
    .news-body{
        padding-right: 20px;
        padding-left: 20px;
    }
}
@media screen and (max-width:768px){
    div#bwbodyimg{
        width:100%!important;
        max-width:100%!important;
    }
    div#bwbodyimg img,
    img{
        width:auto!important;
        max-width:100%!important;
    }
}