* {
    font-family: 'Tajawal';
}
footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #f5f5f5;
}
a:hover {
    text-decoration: none !important;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

html {
    direction: rtl;
}

body {
    text-align: right;
}

header {
    margin-bottom: 15px;
}

.SiteContent {
    width: 1730px;
    margin: 0 auto;
}

.TopStrip {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.TopSearch {
    text-align: left;
    flex-grow: 1;
}

.TopSearch input {
    border: 0;
    outline: 0;
}

.TopSearch button {
    background-color: white;
    border: 0;
    color: #ccc;
    outline: none;
}

.TopSearch button:hover {
    color: #d9d62f;
    cursor: pointer;
}

.Nav {
    display: flex;
    /* margin: 10px 0; */
    border-bottom: 3px solid #333;
    margin-bottom: 20px;
    height: 83px;
}

.NavLogo {
    padding: 10px 0;
    /* padding-right: 10px; */
}

.NavItems {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* justify-self: center; */
    /* align-self: center; */
}

a.NavItem {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0px 17px;
    color: black;
    font-weight: bold;
    transition: color 0.3s;
    position: relative;
    font-size: 14px;
}

a.NavItem:hover, a.NavItem.active {
    color: #d9d62f;
}

a:hover {
    text-decoration: none;
}

a.NavItem:before {
    position: absolute;
    height: 3px;
    background-color: #d9d62f;
    width: 0%;
    content: '';
    bottom: -3px;
    transition: all 0.4s ease;
}

a.NavItem:hover:before, a.NavItem.active:before {
    width: 100%;
}

.MainNewsContainer {
    display: flex;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.MainNews {
    align-self: flex-start;
    /* margin-left: 10px; */
    position: relative;
    display: flex;
}

.MainNews:first-child {
    width: 50%;
    height: 500px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* margin-left: 10px; */
    padding-left: 8px;
    overflow: hidden;
    position: relative;
}

.MainNews:not(:first-child) {
    width: 25%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.MainNews:nth-child(3) {
    align-self: flex-end;
    margin-right: -25%;
    padding-top: 4px;
    padding-left: 4px;
}

.MainNews:nth-child(4) {
    /* margin-left: 0; */
    /* width: calc(25% - 25px); */
    padding-right: 4px;
    padding-bottom: 4px;
}

.MainNews:nth-child(5) {
    align-self: flex-end;
    margin-right: -25%;
    margin-left: 0;
    padding-right: 4px;
    padding-top: 4px;
}

.MainNewsPicContainer {
    flex-grow: 1;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.MainNews:nth-child(2) {
    padding-left: 4px;
    padding-bottom: 4px;
}

.MainNewsPicContainer:before {
    content: '';
    position: absolute;
    width: 100%;
    bottom: 0;
    top: 50%;
    left: 0;
    opacity: .8;
    z-index: 0;
    background-image: linear-gradient(to bottom, transparent 0%, black 100%);
    background-repeat: repeat-x;
    transition: .4s all ease;
}

.MainNewsTitle {
    position: absolute;
    color: white;
    bottom: 40px;
    left: 10px;
    right: 10px;
    text-align: right;
}

.MainNewsAddedDate {
    color: #d9d62f;
    position: absolute;
    bottom: 17px;
    right: 10px;
    font-size: 14px;
}

.MainNewsCat {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #d9d62f;
    color: black;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: bold;
    transition: color 0.3s;
    cursor: pointer;
}

.MainNewsCat:hover {
    background-color: #333;
    color: #d9d62f;
}

.MainNews:first-child .MainNewsTitle {
    font-size: 30px;
    left: 20px;
    right: 20px;
}

.MainNews:first-child .MainNewsAddedDate {
    right: 20px;
    bottom: 20px;
}

.MainNews:hover .MainNewsPicContainer:before {
    opacity: 1;
    top: 30%;
}

.MainNews:hover {
    cursor: pointer;
}

.catHeader {
    border-bottom: 1px solid #333;
    height: 43px;
    margin-bottom: 35px;
}

.catTitle {
    display: inline-block;
    font-size: 40px;
    background-color: white;
    margin-bottom: 0;
    padding-left: 15px;
    font-weight: bold;
}

.catContents {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
}

.catNews {
    width: calc(25% - 10px);
    display: flex;
    flex-direction: column;
}

.newsPic {
    height: 250px;
    background-size: cover;
    background-position: center;
    border: 1px solid #f5f5f5;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsTitle {
    padding: 5px;
    font-size: 18px;
}

.newsAdded {
    font-size: 14px;
    /* text-align: left; */
    color: #ccc;
    padding-right: 5px;
}

.newsPic.nopic {
    background-image: url(../images/logo.png);
    background-size: auto;
    background-repeat: no-repeat;
    filter: grayscale(1);
}

.catNews:hover .newsTitle {
    text-decoration: underline;
}

.newsPic img {
    /* min-width: 100%; */
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.viewCatMainNewsContainer {
    display: flex;
    margin-bottom: 20px;
}

.viewCatMainNewsPic {
    flex-basis: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    border: 1px solid #ccc;
    object-fit: cover;
    display: block;
}

.viewCatMainNewsPic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.viewCatMainNewsTitle {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.viewCatMainNewsContent {
    display: flex;
    flex-direction: column;
}

.viewCatMainNewsPreview {
    flex-grow: 1;
}

.viewCatMainNewsReadMoreBtn {
    background-color: #d9d62f;
    display: inline-block;
    color: #333;
    font-weight: bold;
    padding: 10px 30px;
    transition: color 0.4s;
}

.viewCatMainNewsFooter {
    text-align: left;
}

.viewCatMainNewsReadMoreBtn:hover {
    background-color: #333;
    color: white;
}

.viewCatMainNewsTitle a:hover {
    color: #d9d62f;
}

.viewCatMainNewsTitle a {
    transition: color 0.4s;
}

h1.viewCatMainTitle {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.breadCrumbs {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 5px;
    margin-bottom: 10px;
}

.breadCrumbs a {
    padding-left: 10px;
    white-space: nowrap;
    /* font-weight: bold; */
}

i.fas.fa-chevron-left.breadCrumbsSeperator {
    margin-left: 10px;
    font-size: 10px;
}

.finalBreadCrumb {
    color: #666;
    cursor: default;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
}

.breadCrumbs a:hover {
    color: #d9d62f;
}

.viewCatNewsContainer {
    display: flex;
    flex-direction: column;
}

.viewCatNews {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.viewCatNewsPic {
    display: flex;
    margin-left: 15px;
    width: 250px;
    height: 125px;
    overflow: hidden;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    justify-content: center;
    border: 1px solid #ccc;
}

.viewCatNewsPic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.viewCatNewsTitle {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    transition: color 0.4s;
}

.viewCatNews:last-child {
    border-bottom: 0;
}

.viewCatNewsDetails {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.viewCatNewsContent {
    flex-grow: 1;
}

.viewCatNewsDate {
    text-align: left;
    font-size: 12px;
}

a.viewCatNews:hover .viewCatNewsTitle {
    color: #d9d62f;
}

.spinner {
    margin: 20px auto;
    width: 70px;
    text-align: center;
}

.spinner>div {
    width: 18px;
    height: 18px;
    background-color: #333;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

.viewCatNewsLoadingContainer {
    opacity: 0;
    transition: opacity 0.5s;
}

.NavOuter.float .Nav {
    position: fixed;
    z-index: 10;
    top: 0;
    width: 1730px;
    background-color: white;
    /* box-shadow: 0px 0px 15px silver; */
}

.NavOuter {
    height: 88px;
}

.viewNewsMainContainer {
    display: flex;
    align-items: flex-start;
}

.viewNewsContainer {
    margin-left: 20px;
    flex-grow:1;
}

.viewNewsSideContainer {
    flex-basis: 340px;
    flex-shrink: 0;
    width: 340px;
}

.ad.ad-large-square {
    width: 336px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    color: white;
    margin-bottom: 20px;
}

.viewNewsSideTitle {
    font-size: 28px;
    border-bottom: 1px solid #ccc;
}

.viewNewsSideLatestNews {
    display: flex;
    flex-direction: column;
}

.viewNewsSideNews {
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}

.viewNewsSideNewsCat {
    display: none;
}

.viewNewsPic {
    background-color: #f5f5f5;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewNewsPic img {
    max-width: 100%;
}

.viewNewsBody {
    font-size: 20px;
    line-height: 1.7;
    /* user-select: none; */
}

.viewNewsSideNewsTitle a {
    display: block;
    width: 100%;
    height: 100%;
    transition: color 0.3s;
}

.viewNewsSideNewsTitle a:hover {
    color: #d9d62f;
}

.viewNewsAddedDate {
    margin-bottom: 20px;
}

h1.viewNewsTitle {
    margin: 20px 0;
    user-select: none;
    pointer-events: none;
}

.viewNewsCommentsTitle {
    font-size: 28px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
}

.viewNewsZeroComments {
    margin-bottom: 20px;
    text-align: center;
    background-color: #f5f5f5;
    padding: 20px;
}

.viewNewsAddCommentFormContainer {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.viewNewsAddCommentFormTitle {
    padding: 10px;
    font-weight: bold;
    border-top: 3px solid #00c793;
}

.viewNewsAddCommentFormRow {
    display: flex;
}

.viewNewsAddCommentFormV {
    flex-grow: 1;
    padding: 10px;
}

.viewNewsAddCommentFormN {
    padding: 10px;
    min-width: 100px;
}

.viewNewsAddCommentFormFoot {
    border-top: 1px solid #ccc;
    margin: 10px;
    padding: 10px;
    text-align: left;
    padding-left: 0;
    padding-bottom: 0;
    display: flex;
}

button#addCommentBtn {
    background-color: #d9d62f;
    color: white;
    border: 0;
    padding: 10px 20px;
    outline: none;
    cursor: pointer;
}

textarea#addCommentBody {
    min-width: 100%;
    min-height: 130px;
    resize: vertical;
    max-height: 300px;
}

.viewNewsAddCommentFormRow .form-control {
    border-radius: 0;
    outline: none;
    box-shadow: none;
}

.viewNewsComment {
    background-color: #f5f5f5;
    margin-bottom: 30px;
}

.viewNewsCommentHeader {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    margin: 10px;
}

.viewNewsCommentAdded {
    flex-grow: 1;
    text-align: left;
    padding: 10px;
    font-size: 12px;
    padding-left: 0;
}

.viewNewsCommentUser {
    padding: 10px;
    font-weight: bold;
    padding-right: 0;
}

.viewNewsCommentBody {
    padding: 10px;
    max-height: 30em;
    overflow: auto;
}

.viewNewsAddCommentResult {
    flex-grow: 1;
    padding-left: 20px;
    text-align: center;
}

.viewNewsAddCommentResult .alert {
    margin: 0;
    padding: 9px;
}

.viewNewsAddCommentFormRow .form-control.error {
    border: 1px solid #EF9A9A;
    background-color: #FFEBEE;
}

.viewNewsAddCommentFormContainer.loading {
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
    /* cursor: wait; */
}
.viewNewsAddCommentFormContainer .alert.result {
    margin: 0;
    text-align: center;
}
.ad.ad-large-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad.ad-large-square a {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topAd {
    width: 100%;
}

.topAd img {
    width: 100%;
    margin-bottom: 20px;
}
  .navMenu,.navProtector {
    display: none;
}

@media only screen and (max-width: 1770px) {
    .SiteContent {
        width: 1330px;
    }
    .newsPic {
        /* width: 317px; */
        height: 207px;
    }
    .viewCatMainNewsPic {
        height: 350px;
    }
    .viewCatNewsPic {
        width: 200px;
    }
    .NavOuter.float .Nav {
        width: 1330px;
    }
}

@media only screen and (max-width: 1370px) {
    .SiteContent {
        width: 1080px;
    }
    .NavOuter.float .Nav {
        width: 1080px;
    }
    .MainNews:first-child {
        height: 400px;
    }
    .MainNews:not(:first-child) {
        height: 200px;
    }
    .newsPic {
        width: 255px;
        height: 159px;
    }
    .viewCatMainNewsPic {
        height: 300px;
    }
    .viewCatNewsPic {
        width: 150px;
    }
}
  
@media only screen and (max-width: 1100px) {



.navMenu {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 80px;
    width: 83px;
    cursor: pointer;
}

.menuBar1 {
    position: absolute;
    height: 5px;
    top: 23px;
    width: 60%;
    background-color: #777;
    left: 20%;
    border-radius: 10px;
}

.menuBar2 {
    position: absolute;
    height: 5px;
    top: calc(50% - 2.5px);
    width: 60%;
    background-color: #777;
    left: 20%;
    border-radius: 10px;
}

.menuBar3 {
    position: absolute;
    height: 5px;
    bottom: 22px;
    width: 60%;
    background-color: #777;
    left: 20%;
    border-radius: 10px;
}


    .SiteContent {
        width: 100%;
    }
    .NavOuter.float .Nav {
        width: 100%;
    }
    .NavItems {
        position: fixed;
        background-color: white;
        right: 0;
        width: 80%;
        overflow: auto;
        height: 100%;
        top: 0;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1000;
        justify-content: flex-start;
        transition: all 0.5s;
        right: -100%;
       
    }
    .Nav {
        align-items: center;
        justify-content: center;
    }
    .MainNews:first-child {
        width: 100%;
        padding-left: 0;
        margin-bottom: 10px;
    }
    .MainNews:not(:first-child) {
        width: 50%;
        margin: 0;
        padding: 0;
    }
    .MainNews:nth-child(2) {
        padding-left: 5px;
        padding-bottom: 5px;
    }
    .MainNews:nth-child(3) {
        padding-right: 5px;
        padding-bottom: 5px;
    }
    .MainNews:nth-child(4) {
        padding-top: 5px;
        padding-left: 5px;
    }
    .MainNews:nth-child(5) {
        padding-top: 5px;
        padding-right: 5px;
    }
    .catContents {
        flex-direction: column;
    }
    a.catNews {
        width: 100%;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
        margin-bottom: 10px;
        flex-direction: row;
        align-items: center;
    }
    .newsPic {
        flex-shrink: 0;
        width: 150px;
        height: 100px;
        margin-left: 10px;
    }
    .newsAdded {
        display: none;
    }
    a.catNews:last-child {
        padding: 0;
        margin: 0;
        border: 0;
    }
    .TopStrip {
        display: none;
    }
    span.mobDscHide {
        display: none;
    }
    .viewCatMainNewsContainer {
        flex-direction: column;
        padding: 15px;
    }
    .viewCatMainNewsPic {
        margin: 0;
        margin-bottom: 10px;
    }
    .viewCatMainNewsPreview {
        margin-bottom: 10px;
    }
    .viewCatMainNewsContainer {
        border-bottom: 1px solid #ccc;
    }
    a.viewCatNews {
        padding-left: 15px;
        padding-right: 15px;
    }
    h1.viewCatMainTitle {
        padding-left: 15px;
        padding-right: 15px;
    }
    h2.viewCatMainNewsTitle {
        font-size: 30px;
    }
    .viewNewsMainContainer {
        flex-direction: column;
    }
    .viewNewsSideContainer {
        flex-basis: 100%;
        width: 100%;
    }
    .viewNewsContainer {
        margin-left: 0;
    }
    .ad.ad-large-square {
        margin: 20px auto;
    }
    .viewNewsBody {
        padding: 0 10px;
    }
    .viewNewsSideNews {
        padding: 10px;
    }
    .viewNewsSideTitle {
        padding: 0 10px;
    }
    h1.viewNewsTitle {
        padding: 0 10px;
    }
    .viewNewsAddedDate {
        padding: 0 10px;
    }
    a.NavItem {
    text-align: right;
    justify-content: flex-start;
    width: calc(100% - 34px);
    padding: 20px;
    height: auto;
    flex-shrink: 0;
}
.NavItems.active {
    right: 0px;
}
.navProtector.active{position: fixed;width: 100vw;height: 100vh;background-color: rgba(0,0,0,0.5);top: 0;left: 0;display: block;}
}