@media (min-width: 767px) {
    .navbar-nav {
        padding-left: 180px !important;
    }
}

.function-login {
    background-image: url("../../images/news.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
}

.newsmain .r-body {
    background: white;
    padding-top: 0px;
}

.newsmain .r-topbar-page .r-topheader[data-menu-width="compact"]>.navbar {
    border-radius: 0px;
    border-top: #cd2122 2px solid;
    background: #2c2c2c;
}

.newsmain [data-itemid="category_menu"] {
    display: flex !important;
    width: 100%;
    background: #2c2c2c;
    color: white;
}

.newsmain [data-itemid="category_menu"]>span {
    /*flex: auto;*/
    text-align: center;
    position: relative;
}

.newsmain [data-itemid="category_menu"]>span.active,
.newsmain [data-itemid="category_menu"]>span:hover {
    background: #000000;
}

.newsmain [data-itemid="category_menu"]>span>a {
    padding: 12px 20px;
    display: inline-block;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
}

.newsmain [data-itemid="category_menu"]>span:nth-child(4n+1)>a {
    border-bottom: 3px solid #cd2122;
}

.newsmain [data-itemid="category_menu"]>span:nth-child(4n+2)>a {
    border-bottom: 3px solid #4db237;
}

.newsmain [data-itemid="category_menu"]>span:nth-child(4n+3)>a {
    border-bottom: 3px solid #665fef;
}

.newsmain [data-itemid="category_menu"]>span:nth-child(4n+4)>a {
    border-bottom: 3px solid #febe36;
}

.newsmain [data-itemid="category_menu"]>span>.newssubcategory {
    display: none;
}

.newsmain [data-itemid="category_menu"]>span:hover>.newssubcategory {
    display: flex !important;
    flex-wrap: wrap;
    list-style-type: none;
    background: #FFF;
    -webkit-box-shadow: rgb(0 0 0 / 20%) 0 0 25px;
    box-shadow: rgb(0 0 0 / 20%) 0 0 25px;
    backface-visibility: visible!important;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    position: absolute;
    width: 202px;
    left: 0;
    top: auto;
    z-index: 1001;
    border-bottom: 3px solid #cd2122;
    padding: 0px;
    margin-bottom: 0px;
}

.newsmain [data-itemid="category_menu"]>span:hover>.newssubcategory li {
    flex: 100% 0 0;
    text-align: left;
}

.newsmain [data-itemid="category_menu"]>span:hover>.newssubcategory li a {
    padding: 10px 0px 10px 20px;
    line-height: 18px;
    border-bottom: 1px solid #f5f5f5;
    border-bottom: 1px solid rgba( 0, 0, 0, .06);
    color: #888;
    width: 100%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsmain [data-itemid="logo"] i,
.newsmain [data-itemid="logo"] span {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.newsmain [data-itemid="logo"] {
    padding: 0px;
    display: flex !important;
    align-items: center;
}

.newsmain [data-itemid="logo"] i {
    margin-right: 10px;
}

.newsmain [data-itemid="logo"] i:before {
    margin-top: 3px;
    display: block;
}

.newsmain [data-itemid="logo"] i,
.newsmain [data-itemid="logo"] .r {
    color: #cd2122;
}

.newsmain [data-itemid="logo"] .b {
    color: #222;
    margin-right: 5px;
}

.newsmain .r-body .r-content [data-location="grid"] {
    display: flex;
    padding: 0px 15px;
}

.newsmain .r-record-body .panel-body {
    padding: 0px !important;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td {
    padding: 0px;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:first-child * {
    display: inline-block;
    width: 100%;
    overflow: hidden !important;
}

.newsmain .r-record-body .panel-body tbody tr:first-child,
.newsmain .r-record-body .panel-body tbody tr:first-child td:first-child * {
    height: 210px;
}

.newsmain [data-location="grid"] .r-record-body .panel {
    margin: 0px;
    border-radius: 0px;
}

.newsmain .r-record-body .panel-heading {
    display: none;
}

.newsmain .r-record-body .panel-body {
    padding: 0px;
}

.list_image {
    background-size: cover;
    background-position: center center;
    position: relative;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 100% 0;
    -moz-transform-origin: 50% 100% 0;
    transform-origin: 50% 100% 0;
}

.r-record-body:hover .list_image {
    -webkit-transform: scale(1.035);
    -moz-transform: scale(1.035);
    transform: scale(1.035);
}

.list_image::before {
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.7)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0);
    -webkit-transition: background-color .2s ease;
    -moz-transition: background-color 0.2s ease;
    -o-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.newsmain .r-record-body .panel-body tbody tr:first-child {
    display: block;
    position: relative;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td {
    width: 100%;
    position: absolute;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) {
    color: white;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    text-shadow: #000 10px 0 10px;
    bottom: 0px;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) a {
    color: white;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Category"],
.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Subcategory"],
.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Posted"] {
    font-size: 12px !important;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Posted"] {
    margin-left: 10px;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Category"],
.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Subcategory"] {
    font-weight: normal !important;
}

.newsmain [data-field="Subcategory"] span:not(:empty)::before {
    content: "\2022";
    display: inline-block;
    margin-right: 10px;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Subcategory"] {
    margin-left: 10px;
    margin-right: 10px;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Title"] {
    font-weight: bold;
    font-size: 16px;
}

.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="Title"],
.newsmain .r-record-body .panel-body tbody tr:first-child td:nth-child(2) [data-field="SmallDescription"] {
    flex: 100% 0 0;
}

.newsmain .r-body {
    -webkit-box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 50%);
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 50%);
}

.newsmain.list .r-body {
    min-height: calc(100vh - 52px);
}

.newsmain.view .r-edit-form>tbody>tr {
    display: flex;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child {
    flex: auto;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix {
    display: flex;
    flex-direction: column;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix .r-view-field,
.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix>span {
    padding: 0px;
    margin: 0px;
    width: auto;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix .r-view-field[data-field="Title"] {
    padding: 15px 0px;
    border-bottom: 1px #E8E8E8 solid;
    border-top: 1px #E8E8E8 solid;
    color: #1f1f1f;
    font-size: 32px;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix .r-view-field[data-field="Title"] span {
    font-size: 32px !important;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix [data-itemid="snippet"] {
    padding: 10px 0px;
    border-top: 1px #E8E8E8 solid;
    border-bottom: 1px #E8E8E8 solid;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix [data-itemid="snippet"] .btn {
    background: #ad88fc;
    border: none;
    border-radius: 0;
    font-weight: bold;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix [data-field="FullDescription"] {
    padding-top: 25px;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix [data-field="FullDescription"] .r-html-container p {
    text-align: justify;
}

.newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix [data-field="news_image"] {
    padding-top: 20px;
}

.newsmain.view [data-itemid="view_back_list"] {
    margin-left: 15px;
}

.newsmain.view [data-cellid="top_c"] {
    margin-left: 10px;
}

.newsmain.view [data-field="Category"],
.newsmain.view [data-field="Subcategory"] {
    margin-right: 10px !important;
}

.newsmain.view [data-itemid="logo"] {
    margin-left: 15px;
}

.newsmain.list [data-field="SmallDescription"] a[data-gridlink] {
    color: transparent !important;
}

.newsmain.list [data-field="SmallDescription"] a[data-gridlink]:before {
    content: " ...";
    color: white;
}

@media print,
(min-width: 768px) and (min-width: 1200px) {
    .r-topbar-page .r-topheader[data-menu-width="compact"]>.navbar,
    .newsmain.view .r-body {
        width: 100% !important;
    }
}

@media print,
(min-width: 768px) and (min-width: 1400px) {
    .r-topbar-page .r-topheader[data-menu-width="compact"]>.navbar,
    .newsmain.view .r-body {
        width: 100% !important;
    }
}

@media print,
(min-width: 768px) and (min-width: 1800px) {
    .r-topbar-page .r-topheader[data-menu-width="compact"]>.navbar,
    .newsmain.view .r-body {
        width: 1300px !important;
    }
}

.newsmain [data-location="grid"] .r-record-body [data-field="Title"] a {
    font-size: 14px;
}

.r-images {
    position: relative;
}

@media (min-width: 768px) {
    .r-fluid:not(.mainfluid) {
        margin-bottom: 20px;
    }
    .newsmain {
        background-color: #212121;
        background-image: url(back.jpg);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center center;
        background-size: cover;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
    }
    .newsmain [data-itemid="loginform_login"] {
        margin-left: auto;
    }
    .newsmain.list:not(.less5) [data-location="grid"] {
        display: none;
    }
    .newsmain:not(.less5) .mainfluid[data-location="grid"] .r-record-body:nth-child(4),
    .newsmain:not(.less5) .mainfluid[data-location="grid"] .r-record-body:nth-child(5) {
        margin-top: -215px;
    }
    .newsmain:not(.less5) .mainfluid[data-location="grid"] .r-record-body:nth-child(4) {
        margin-left: 50%;
    }
    .newsmain:not(.less5) .mainfluid[data-location="grid"] .r-record-body:nth-child(5) {
        margin-left: auto;
    }
    .newsmain:not(.less5) .mainfluid .r-record-body:first-child .panel-body tbody tr:first-child,
    .newsmain:not(.less5) .mainfluid .r-record-body:first-child .panel-body tbody tr:first-child td:first-child * {
        height: 425px;
    }
    .newsmain:not(.less5) .mainfluid .r-record-body:first-child [data-field="Title"] a {
        font-size: 16px;
    }
    .newsmain:not(.less5) .mainfluid[data-location="grid"] .r-record-body:first-child {
        height: 430px;
        flex: 50% 0 0;
    }
    .newsmain [data-location="grid"] .r-record-body {
        height: 215px;
        flex: 25% 0 0;
        margin-bottom: 0px;
        padding: 2px;
        cursor: pointer;
    }
    .newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix [data-field="FullDescription"] .r-html-container p {
        padding-right: 50px;
    }
    .newsmain.view [data-field="Subcategory"]:before {
        content: "•";
        margin-right: 10px !important;
        display: inline-block;
    }
    [data-itemid="mobile_toogle"] {
        display: none;
    }
    .newsmain [data-itemid="logo"] {
        margin: 30px 0 20px 0;
    }
}

.newsmain:not(.LoggedIn) [data-itemid="menu"],
.newsmain:not(.LoggedIn) [data-itemid="username_button"],
.newsmain.LoggedIn [data-itemid="loginform_login"] {
    display: none !important;
}

@media (max-width: 768px) {
    .r-body {
        box-shadow: none !important;
        ;
    }
    .newsmain [data-location="grid"] {
        flex-direction: column;
    }
    .newsmain .r-grid-vertical>.r-record-body {
        margin-bottom: 10px;
    }
    .newsmain [data-itemid="category_menu"] {
        flex-wrap: wrap;
    }
    .newsmain [data-itemid="category_menu"]>span {
        flex: 50% 0 0;
    }
    .newsmain [data-itemid="category_menu"]>span a {
        width: 100%;
    }
    .newsmain [data-cellid="above-grid_c2"] {
        padding: 0px;
    }
    .newsmain .breadcrumb li {
        display: inline;
    }
    .newsmain.view .r-edit-form>tbody>tr td:first-child .clearfix [data-field="FullDescription"] .r-html-container p {
        word-break: break-all;
    }
    .newsmain [data-itemid="mobile_toogle"] .collapsed {
        /* #cd2122*/
        border: 1px solid #cd2122;
    }
    .newsmain [data-itemid="mobile_toogle"] .collapsed .icon-bar {
        background: #cd2122;
    }
    .newsmain.mobile_toogle [data-itemid="mobile_toogle"] .collapsed {
        background: #cd2122;
    }
    .newsmain.mobile_toogle [data-itemid="mobile_toogle"] .collapsed .icon-bar {
        background: white;
    }
    .newsmain [data-location="supertop"]>span {
        margin: 0px;
        box-shadow: none;
    }
    .newsmain [data-cellid="above-grid_c1"] {
        align-items: center;
        display: flex;
    }
    .newsmain [data-cellid="above-grid_c1"] [data-itemid="mobile_toogle"] {
        margin-left: auto;
    }
    .newsmain.mobile_toogle [data-cellid="above-grid_c1"] {
        position: absolute;
        top: 0px;
        z-index: 100;
        width: 100%;
        background: white;
    }
    .newsmain.mobile_toogle .navbar-form[data-itemid="simple_search"] {
        margin-top: 50px;
    }
    .newsmain .r-form[data-location="above-grid"] .row {
        margin-bottom: 0px;
    }
}