﻿body {
    font-size: 1em;
    line-height: 1.6em;
    direction: rtl;
}

img {
    width: 100%;
}

a:hover {
    text-decoration: none;
}

header,
nav,
footer {
    background-color: #6b164c;
}

h1 {
    font-size: 1.6em;
    display: block;
}

h2 {
    font-size: 1.3em;
    display: block;
}

h3 {
    font-size: 1em;
    display: block;
}

.Bar {
    width: 80%;
    margin: auto;
    display: block;
}

.Num {
    direction: ltr;
    font-size: 0.9em;
}

.R {
    float: right;
}

.L {
    float: left;
}

.Head {
    border-bottom: dashed 1px #b9818b !important;
    color: #fff;
}

.Head .R {
    width: 50%;
    position: relative;
    height: 100%;
}

.Head .R a {
    display: block;
    line-height: 0;
    width: 55%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.Head .L {
    width: 50%;
    height: 100%;
    position: relative;
}

.TopLinks_SearchBox_Wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    left: 0;
}

/*Search Box*/

.SearchBox {
    position: relative;
}

.SearchBox input[type=text] {
    background-color: #a36d77;
    color: #fff;
    font-family: "WRoya";
    font-size: 1em;
    float: right;
    border: solid 1px #a36d77;
    height: 40px;
    width: 94%;
    padding: 0 3%;
    margin: 0;
}

::-webkit-input-placeholder {
    color: #fff;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #fff;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #fff;
}

:-ms-input-placeholder {
    color: #fff;
}

.SearchBox a {
    background-image: url("IconSet.png");
    background-position: -36px 4px;
    height: 40px;
    width: 40px;
    display: block;
    background-color: #a36d77;
    position: absolute;
    top: 0;
    left: 0;
}

.SearchBox a:hover {
    background-position: 4px 4px;
}

/* Register & Login Links*/

.TopLinks {
    margin-bottom: 10px;
}

.TopLinks a {
    color: #fff;
    float: left;
    display: block;
    line-height: 1em;
}

.TopLinks a:hover {
    color: #a36d77;
}

.TopLinks .LoginLink {
    padding-left: 10px;
    border-left: dotted 1px #fff !important;
}

.TopLinks .RegisterLink {
    padding-right: 10px;
}

/*Menu*/

.MenuBtn {
    display: none;
}

ul.Menu {
    height: 100%;
    font-size: 1.2em;
}

ul.Menu li {
    float: right;
    height: 100%;
    display: block;
}

ul.Menu li a {
    display: block;
    height: 100%;
    margin: 0 20px;
    color: #cc90ac;
}

ul.Menu li a:hover {
    color: #fff;
}

/*Page Info*/

.PageInfo {
}

.PageTitle {
    color: #6b164c;
}

.PagePath {
}

.PagePath * {
    display: block;
    float: left;
}

.PagePath a {
    color: #cc90ac;
}

.PagePath a:hover {
    color: #6b164c;
}

.PagePath .Delim {
    padding: 0 5px;
    color: #cc90ac;
}

.PagePath .Txt {
    color: #aaa;
}

/*Content*/

.Content {
    margin-bottom: 4%;
}

.Content .MainContent {
    width: 80%;
}

.Content .MainContent article {
}

.Content .LeftColumn {
    width: 20%;
}

.Content .LeftColumn aside {
}

.Content a {
    color: #2385d9;
}

.Content a:hover {
    color: #dc7a26;
}

.OneColMaster.MainContent {
    width: 100% !important;
    float: none;
}

/*Box*/

.Box {
    margin-bottom: 20%;
}

.Box .Title {
    background-color: #f3d5b2;
    color: #6b164c;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.Box ul {
}

.Box ul li a {
    color: #6b164c;
    font-size: 1.1em;
    padding: 0 5px;
    line-height: 2em;
    display: block;
}

.Box ul li a:hover {
    color: #a36d77;
}

.VisitStats {
    width: 100%;
}

.VisitStats tr td {
    color: #6b164c;
    font-size: 1.1em;
    padding: 0 5px;
    line-height: 2em;
    width: 50%;
}

.VisitStats tr td.FieldName {
    text-align: right;
}

.VisitStats tr td.FieldValue {
    text-align: left;
}

.Box ul li a:hover {
    color: #a36d77;
}

/*Footer*/

.Foot {
    color: #fff;
}

.Foot .Col {
    width: 33%;
}

.Foot .Col_Right {
    float: right;
    position: relative;
    height: 100%;
}

.Foot .Col_Right .ContactInfo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.Foot .Col_Center {
    float: right;
    width: 34%;
    position: relative;
    height: 100%;
}

.Foot .Col_Center .PoweredBy {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(50%);
    right: 50%;
    font-size: 0.9em;
}

.Foot .Col_Center .PoweredBy a {
    color: #ffcb05;
}

.Foot .Col_Left {
    float: left;
    text-align: left;
    position: relative;
    height: 100%;
}

.Foot .Col_Left .BottomLinks_CopyRight_Wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.Foot .Col_Left .CopyRight {
    line-height: 2em;
}

.Foot .Col_Left .BottonLinks ul {
}

.Foot .Col_Left .BottonLinks ul li {
    float: left;
}

.Foot .Col_Left .BottonLinks ul li a {
    display: block;
    color: #fff;
    border-right: dotted 1px #fff !important;
    padding-right: 10px;
    padding-left: 10px;
    line-height: 1em;
}

.Foot .Col_Left .BottonLinks ul li:last-child a {
    border-right: none !important;
}

.Foot .Col_Left .BottonLinks ul li a:hover {
    color: #a36d77;
}

/*News*/

.HomeNews {
}

.News {
    width: 100%;
}

.News .R {
    width: 20%;
}

.News .R a {
    border: dotted 1px #ccc;
    display: block;
    line-height: 0;
    height: auto !important;
    padding: 0;
    margin: 0 0 10px 0;
}

.News .R a:hover {
    opacity: 0.8;
}

.News .L {
    width: 74%;
    margin: 2% 2% 2% 4%;
}

.News h2 a {
    color: #6b164c;
}

.News h2 a:hover {
    color: #a36d77;
}

.News .PubDate {
    font-size: 0.9em;
    margin: 1% 0;
    color: #a36d77;
}

.News p {
    border-bottom: dotted 1px #b9818b !important;
    padding-bottom: 3%;
    position: relative;
}

.News .More {
    width: 14px;
    height: 20px;
    background-image: url("IconSet.png");
    background-position: -80px 0;
    display: block;
    position: absolute;
    left: 0;
    bottom: 10px;
}

.NewsLink {
    font-family: Arial;
}

.HomeNews .ArchiveLink {
    padding: 0;
    margin: 0;
    color: #a36d77;
    font-size: 1.2em;
    float: left;
    display: block;
    margin-left: 4%;
    margin-bottom: 3%;
}

.HomeNews .ArchiveLink:hover {
    color: #6b164c;
}

.NewsViewer {
    width: 96%;
    margin-left: 4%;
    margin-bottom: 4%;
}

.NewsViewer img {
    width: auto !important;
}

.NewsViewer h2 {
    margin-bottom: 2%;
}

.NewsViewer .PubDate {
    font-size: 0.9em;
    margin: 1% 0;
    color: #a36d77;
}

.NewsViewer .NewsBody {
    margin-bottom: 4%;
}

.NewsViewer .ArchiveLink {
    color: #a36d77;
    font-size: 1.2em;
}

.NewsViewer .ArchiveLink:hover {
    color: #6b164c;
}

/*Archived News*/

.ArchivedNews {
    margin: 0 0 4% 4%;
    width: 96%;
}

.ArchivedNews h3 {
    margin-bottom: 0.5%;
}

.ArchivedNews td {
    padding: 1% 0;
    border-top: dotted 1px #b9818b;
}

.ArchivedNews a {
    margin-right: 2%;
}

.ArchivedNews .ArchivedNews-Pager {
}

.ArchivedNews .ArchivedNews-Pager td {
    border-width: 0;
    padding: 3% 5px;
}

/*Search Result*/

.SearchResult {
    margin-left: 4%;
    margin-bottom: 4%;
    font-size: 1.1em;
}

.SearchResult .topBar {
    width: 100%;
    border-top: solid 1px #f3d5b2;
    height: 40px;
    line-height: 40px;
    background-color: #fdf7f0;
}

.SearchResult .topBar td {
    padding: 0 1%;
}

.SearchResult .topBar .ResultCount {
    text-align: left;
}

.SearchResult .ResultItem {
    width: 100%;
}

.SearchResult .ResultItem td {
    padding: 5px;
}

.SearchResult .ResultItem-Title {
    direction: rtl;
}

.SearchResult .ResultItem-Content {
    font-size: 0.8em;
}

.SearchResult .ResultItem-Url {
    color: #249331;
    direction: ltr;
    text-align: left;
    font-size: 0.8em;
}

/*Committees*/

.Committees {
    margin-left: 4%;
    font-size: 1.1em;
}

.Tv {
}

.Tv table,
.Tv tbody,
.Tv tr,
.Tv td {
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    vertical-align: top !important;
}

.Tv div {
}

.Tv a {
}

.Tv img {
    width: auto;
    transform: rotateY(180deg);
}

/*Departments*/

.Departments {
    margin-left: 4%;
    font-size: 1.1em;
}

.Departments h3 {
}

.Departments p {
    margin: 1% 0;
}

.Departments .Faculty {
    margin-bottom: 3%;
}

.Departments ul.Depts {
    display: block;
    margin-right: 50px;
    list-style: disc;
}

/*Regulations*/

.Regulations {
    margin-left: 4%;
    margin-bottom: 4%;
    font-size: 1.1em;
}

.Regulations h3 {
    margin: 5% 0 1% 0;
}

/*Grid*/

.Gv {
    width: 100%;
}

.Gv tr {
}

.Gv tr:hover {
    background-color: #eee;
}

.Gv th {
    text-align: right;
    padding: 0.5%;
    background-color: #f3d5b2;
    color: #6b164c;
    border: dashed 1px #c7c4c1 !important;
}

.Gv td {
    padding: 0.5%;
    border: dashed 1px #c7c4c1 !important;
}

.Gv .AlterRow {
    background-color: #fdf7f0;
}

.Gv tr.Gv-Empty td {
    color: #6b164c;
    text-align: center;
    background-color: #eee;
    border-width: 0;
    border: dashed 1px #c7c4c1 !important;
}

.Gv .RowNo {
    font-size: 0.8em;
    width: 5%;
    text-align: center;
    word-break: keep-all;
}

.Gv .Cntr {
    text-align: center;
}

.Gv .Download {
    width: 15%;
}

.Gv .Download a {
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("IconSet.png");
    background-position: 0 -40px;
    margin: auto;
}

/*Contact Us*/

.ContactUs {
    margin: 0 0 4% 4%;
    font-size: 1.1em;
}

/*Site map*/

.SiteMap {
    margin: 0 0 4% 4%;
    font-size: 1.2em;
}

/*Committee Info*/

.CommitteeInfo {
    margin: 0 0 4% 4%;
    font-size: 1.1em;
}

.CommitteeInfo p {
    margin-bottom: 10px;
}

/*Department Info*/

.DepartmentInfo {
    margin: 0 0 4% 4%;
    font-size: 1.1em;
}

.DepartmentInfo p {
    margin-bottom: 10px;
}

/*Researcher*/

.Researcher {
    font-size: 1.1em;
}

/*Person Info*/

.PersonInfo {
}

.PersonInfo .R {
    width: 16%;
    padding: 0;
}

.PersonInfo .R img {
    display: block;
}

.PersonInfo .L {
    width: 80%;
    margin: 0 2%;
    padding: 0;
}

.PersonInfo table {
    width: 100%;
}

.PersonInfo td {
}

.PersonInfo td span {
    border-left: dotted 1px #f3d5b2 !important;
    padding: 5px 10px;
    display: block;
}

.PersonInfo .PI-F {
    text-align: left;
    width: 20%;
    color: #26435c;
}

.PersonInfo .PI-S {
    color: #26435c;
    padding-right: 10px;
}

.PersonInfo .PI-S.WebSite,
.PersonInfo .PI-S.Email {
    font-size: 0.8em;
    direction: ltr;
    text-align: right;
}

/*Tabs*/

.ResearchTypeTab {
    margin-top: 3%;
    width: 100%;
}

.ResearchTypeTab ul {
}

.ResearchTypeTab li {
    float: right;
}

.ResearchTypeTab li.first a {
}

.ResearchTypeTab li a {
    display: block;
    padding: 7px 21px;
    background-color: #a36d77;
    /* 26435c #f3d5b2;*/
    color: #fff;
    margin-left: 1px;
}

.ResearchTypeTab li a:hover {
    color: #6b164c;
}

.ResearchTypeTab a.Selected {
    background-color: #6b164c;
    color: #fff;
}

.ResearchTypeTab a.Selected:hover {
    color: #a36d77;
}

/*Person Work*/

.PersonWork {
    border: solid 1px #6b164c !important;
}

.PersonWork .Gv th {
    font-family: "WNassimBold";
}

.PersonWork .Gv td {
    font-family: Tahoma;
    font-size: 0.8em;
}

.Gv tr.Gv-Empty td {
    font-family: "WNassimBold";
    padding: 20px;
}

/*Research Viewer*/

.ResearchViewer {
    width: 100%;
}

.ResearchViewer td {
    padding: 5px 10px;
}

.ResearchViewer .RV-FC {
    text-align: left;
    width: 15%;
    font-family: "WNassimBold";
    color: #6b164c;
    border-left: dotted 1px #f3d5b2;
}

.ResearchViewer .RV-FV {
    color: #26435c;
    font-family: Tahoma;
    font-size: 0.9em;
    padding-right: 10px;
    width: 85%;
}

.ResearchViewer .Alter {
    background-color: #fdf7f0;
}

.ResearchViewer .ResearchTitle {
    font-weight: bold;
}

/**/

.SearchResult-Pager table td {
    padding: 0 5px;
}

/* Personal Table */

.personsW .person {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: solid 1px rgb(107, 22, 76) !important;
}

.personsW .person .imageW {
    width: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.personsW .person .textW {
    width: 88%;
    display: flex;
    flex-wrap: wrap;
    margin-right: 1rem;
    align-content: start;
}

.personsW .person .textW .item {
    width: 50%;
    padding: 0.5rem;
    box-sizing: border-box;
    display: flex;
}

.personsW .person .textW .item.row1 {
    background-color: rgb(253, 247, 240);
}

.news-wrapper {
    display: flex;
    direction: rtl;
    flex-direction: column;
    margin: 0 0 30px 30px; 
}

.news-card {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(107, 22, 76, 0.3);
    transition: all 0.3s ease;
    margin: 10px 0;
    padding: 10px; 
}

.news-thumb {
    margin-left: 20px; 
    flex-shrink: 0;
}

.news-thumb img {
    width: 200px;
    height: 220px;
    object-fit: cover;
    border-radius: 2px;
}

.news-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    text-align: right;
    padding: 0;
}

.news-title {
    font-size: 20px;
    margin-bottom: 2px;
    line-height: 1.4;
}

.news-summary {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
}

.read-more {
    align-self: flex-start;
    background-color: #6b164c;
    color: #fff !important;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: auto;
}

.read-more:hover {
    background-color: #510d3a;
}
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        padding: 8px;
    }

    .news-thumb {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
    }

    .news-thumb img {
        width: 200px;  
        height: 220px;  
        max-height: none;
        border-radius: 2px;
        object-fit: cover;
        margin: 0 auto; 
        display: block;
    }

    .news-title {
        font-size: 16px;  
        margin-bottom: 4px;
        text-align: center; 
    }

    .news-summary {
        font-size: 14px;  
        color: #444;
        line-height: 1.4;
        margin-bottom: 10px;
        text-align: justify;
        padding: 0 10px; 
    }

    .read-more {
        align-self: center;
        margin-top: 10px;
        font-size: 13px; 
        padding: 5px 12px;
    }
}

