﻿@font-face {
    font-family: "BBCNassim";
    src: local("☺"),
        url("../fonts/bbc-nassim-regular.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

html {
    font-size: 100%;
}

body {
    direction: rtl;
    width:960px;
    margin:auto;
    font-family:BBCNassim;
    font-size:initial;
    background-image:url('../src/bg.png');
    box-shadow: #CECECE 2px 2px 16px;
}

image {
    border-width:0 !important;
}

a {
    text-decoration: none;
    color:gray;
}

h1, h2, h3 {
    color: #B64900;
    font-family:BBCNassim !important;
    font-weight:bolder;
    margin-bottom:5px;
    letter-spacing:0;
}



hr.hr1 {
    border: 0;
    height: 2px;
    background-color:#542C12;

}

hr.hr2{
    border: 0;
    height: 2px;
    background-color:#FF6600;
}

.language-bar {
    background-color: #D2AB66;
    text-align:left;
    padding:10px 10px;
    padding-bottom:0;
    font-size:smaller;
    color:white;
}

.header {
    background-image:url('../src/header.jpg');
    width:960px;
    height:163px;
}

.menu-bar {
    background-color:#EFE3CB;
    color:#542C12;
    font-size:12PX;
    border-top: 1px solid #DDCDAD;
    font-family:Tahoma;
}


.menu-arrow {
    position: absolute;
    top: 42%;
    left: 0;
}


nav ul ul {
    visibility:hidden;
    opacity: 0;

    -webkit-transition:all ease-in-out 300ms;
    -o-transition:all ease-in-out 300ms;
    -moz-transition:all ease-in-out 300ms;
    transition:all ease-in-out 300ms;
}

nav ul li:hover > ul {
    visibility:visible;
    opacity: 1;
    z-index:1000;
}

nav ul {
    list-style: none;
    position: relative;
    cursor:pointer;
}

    nav ul:after {
        content: "";
        clear: both;
        display: block;
    }


    nav ul li {
        float: right;
        min-width:60px;
        text-align:center;
        position:relative;
        padding-left:6px;
    }

        nav ul li:hover {
            background: #76411f;
            background: linear-gradient(top, #76411f 0%, #542C12 40%);
            background: -moz-linear-gradient(top, #76411f 0%, #542C12 40%);
            background: -webkit-linear-gradient(top, #76411f 0%,#542C12 40%);
        }

            nav ul li:hover a {
                color: #fff;
            }

        nav ul li a {
            display: block;
            padding: 15px 9px;
            text-decoration: none;
            color:#542C12;
            font-size:11px;
        }



    nav ul ul {
        background: #5c3a23;
        border-radius: 0px;
        padding: 0;
        position: absolute;
        top: 100%;
    }

        nav ul ul li {
            float: none;
            border-top: 1px solid #684732;
            border-bottom: 1px solid #442918;
            position: relative;
            text-align:right;
        }

            nav ul ul li a {
                padding: 15px 30px;
                color: #fff;
                min-width:150px;
            }

        nav ul ul ul {
            position: absolute;
            left: 100%;
            top: 0;
        }

.slider-wrapper {
    min-height:380px;
    position:relative;
    background-color:#fffaf1;
}

.square-bullet {
    width: 10px;
    height: 10px;
    background-color: #D4A964;
    float: right;
    margin-top: 12px;
    margin-right: 10px;
    margin-left: 10px;
}

.slider-title {
    width: 410px;
    padding:5px;
    display:block;
    padding-right:30px;
    color:black;
    cursor:pointer;
}

.slider-image {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 510px;
    max-height:380px;
    background-color:#EFE3CB;

    -webkit-transition:all ease-in-out 500ms;
    -o-transition:all ease-in-out 500ms;
    -moz-transition:all ease-in-out 500ms;
    transition:all ease-in-out 500ms;

    border-radius:20px 0;
}

.fav-news-wrapper {
    background-color: #D2AB66;
    padding:10px;
    padding-top:20px;
}

.fav-news-item {
    float: right;
    margin-right:30px;
    width:150px;
    text-align:justify;
    color:#542C12;
}

    .fav-news-item img {
        width:140px;
        display:block;
        margin:auto;
        margin-bottom:5px;
        border-radius:10px 0;
    }


.footer {
    background-color:#542C12;
    padding:10px;
    text-align:center;
    color:#FFF9ED;
    font-size:smaller;
}

.main {
    background-color: white;
}

.list-item {
    display: block;
    border-right:3px solid #542C12;
    padding:15px 10px;
    margin-bottom:10px;
    font-size:large;
    background-color:#fcfcfc;
    border-radius:10px 0;
    color:gray;

}
    .list-item a {
        color: #542C12;
        font-size:24px;
    }

    .list-item img {
        max-width: 150px;
        border-radius:10px 0;
        border:3px double gray;
        
    }

.item-image-link {
    float: left;
}

.album-item {
    float:right;
    margin:0 0 10px 10px;
    text-align:center;
    cursor:pointer;
}

    .album-item:hover {
        color:black;
    }

    .album-item img {
        max-height: 180px;
        display:block;
        margin:auto;
        margin-bottom:10px;
        border:1px  double #542C12;
        padding:3px;
    }


.paging_number {
    /*min-width: 20px;
    display: inline-block;
    border: 1px solid #acacac;
    padding:6px;
    text-align:center;*/

    padding: 7px 15px;
    border: 1px solid #D8D8D8;
    float:right;
    border-right:none;
    text-align:center;

    -webkit-user-select:none;
    -moz-user-select:none;
    user-select:none;

    background: -webkit-linear-gradient(#fcfcfc, #F0F0F0); /* For Safari */
    background: -o-linear-gradient(#fcfcfc, #F0F0F0); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#fcfcfc, #F0F0F0); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#fcfcfc, #F0F0F0); /* Standard syntax */
    background-color:#f1f1f1;
}

    .paging_number.end {
        border-bottom-left-radius: 3px;
        border-top-left-radius: 3px;
    }

    .paging_number.start {
        border-right: 1px solid #D8D8D8;
    }

.paging_current_page{
    background: none;
    background-color: #eaeaea;
    font-weight:bold;
    cursor:default;
}

.paging_hyperlink{
    color:gray;
}
.paging_hyperlink:hover{
    background: none;
    background-color: #eaeaea;
}

.gallery-wrapper {
    background-color: white;
    text-align: center;
    position: fixed;
    z-index: 1001;
    overflow: hidden;
    direction:ltr;
    text-align:center;
    cursor:pointer;
    display:none;

    -moz-user-select:none;
    -webkit-user-select:none;
    user-select:none;
    box-shadow:0px 0px 20px 5px #464646;
}


.gallery-close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 64px;
    opacity: 0.1;
}

.gallery-close:hover {
    opacity: 1;
}

.dark-screen {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.50);
    left: 0;
    top: 0;
    z-index: 1000;
    display:none;

}

.center-screen {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1001;
}

    .center-screen > div {
        position: relative;
        left: -50%;
        top: -50%;
        background-color: white;
        width: 100%;
        min-height: 100%;
        border-radius:5px;
        padding:20px;

        -moz-box-sizing:border-box;
        -webkit-box-sizing:border-box;
        box-sizing:border-box;

        -moz-user-select:none;
        -webkit-user-select:none;
        user-select:none;
        box-shadow:0px 0px 15px 3px #1F1F1F;
    }

.form input[type=text] {
    padding: 10px;
    width:100%;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

.form table {
      border-spacing: 10px;
    border-collapse: separate;
}

.button {
    padding: 10px 20px;
    font-family:BBCNassim;
    font-size:large;
    background-color:#542C12;
    color:white;
}

    .button:hover {
        background-color: #381905;
    }

.HTML ul, .HTML ol, .HTML li {
    margin: initial;
    padding: initial;
    list-style: initial;
    border-width: initial;
    padding:0 20px;
}

.HTML img {
    max-width: 100%;
}

.content-image {
    max-width: 100%;
}


.register-validator {
    color: red;
    display: block;
}
.register-validator:before {
    content:'▪ ';
}