/* Design */

body {
    direction: rtl;
    margin-right: auto;
    margin-left: auto;
    font-family: 'Arimo', sans-serif !important;
}

p {
    display: block;
    font-size: 22px;
    direction: rtl;
    text-align: right;
}

p.p_center {
    text-align: center;
}

li {
    font-size: 22px;
    direction: rtl;
    text-align: right;
}



.Top_New {
    background-color: black;
    background-image: url("./background.gif");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 5px 10px 5px;
}

.Top_New #Top_New_Logo {
    max-width: 60%;
    height: auto;
}

.Top_New h1 {
    font-size: 38px;
    text-decoration: none;
    text-align: center;

    color: #1dc2fb;
}

.Top_New h2 {
    font-size: 24px;
    text-decoration: none;
    text-align: center;

    color: #1dc2fb;
}

@media only screen and (max-width: 500px) {
    .Top_New h1 {
        font-size: 22px;
    }

    .Top_New h2 {
        font-size: 18px;
    }
}


.Top_New div.Top_New_Exhibition_Details {
    color: #1dc2fb;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.Top_New_Bottom {
    background-color: #d6dbe1;
    color: black;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    font-size: 18px;
}

.Top_New_Bottom div.Top_New_Bottom_Flex_Container {
    display: flex;
    justify-content: center;
}

.Top_New_Bottom div.Top_New_Bottom_Flex_Container div.Top_New_Bottom_Flex_Container_Item {
    padding: 5px;
    margin: 10px
}

.Top_New_Bottom div.Top_New_Bottom_Flex_Container div.Top_New_Bottom_Flex_Container_Item p {
    margin: 0px;
}

.Top_New_Bottom div.Top_New_Bottom_Flex_Container div.Top_New_Bottom_Flex_Container_Item h2 {
    margin: 0px;
}

@media only screen and (max-width: 700px) {
    .Top_New_Bottom div.Top_New_Bottom_Flex_Container {
        display: block;
        margin:0px;
    }

    .Top_New_Bottom div.Top_New_Bottom_Flex_Container div.Top_New_Bottom_Flex_Container_Item h2 {
        font-size: 19px;
    }

    .Top_New_Bottom div.Top_New_Bottom_Flex_Container div.Top_New_Bottom_Flex_Container_Item p {
        font-size: 17px;
    }
}


div.Main_Container {
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    padding: 20px;
}


div.Footer_Top {
    margin-right: auto;
    margin-left: auto;
    background-color: black;
    color: white;
    padding: 10px;
}

div.Footer_Top p {
    font-size: 13px;
}

div.Footer_Top div.Footer_Top_YDF_Logo {
    max-width: 100px;
    float: left;
    margin: 30px auto auto 40px;
    background-color: #d6dbe1;
    border: 1px solid black;
    border-radius: 25px;
    color: black;
    padding: 15px;
}

div.Footer_Top div.Footer_Top_YDF_Logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 3px auto 3px auto;
}


div.Footer_Bottom {
    margin-right: auto;
    margin-left: auto;
    background-color: #0c4eb2;
    color: white;
    padding: 10px;
}

div.Footer_Bottom a,
div.Footer_Bottom a:hover {
    background-color: #0c4eb2;
    color: white;
}

div.Footer_Bottom p {
    font-size: 13px;
}



span#status_panuy {
    color: white;
    font-weight: bold;
    text-align: center;
    background-color: green;
    padding: 2px 25px 2px 25px;
}



div#Main_Container h1 {
    color: #0f58bc;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 0.5em;
    text-align: center;
}

div#Main_Container h2 {
    color: #000000;
    font-size: 2em;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    padding-left: 10px;
}

div#Main_Container h3 {
    color: #000000;
    font-size: 1.6em;
    font-weight: 500;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
    text-decoration: underline;
    text-decoration-color: #000000;
}

div#Main_Container h4 {
    color: #000000;
    font-size: 1.3em;
    font-weight: 500;
    margin-top: 1em;
    margin-bottom: 0.3em;
    font-style: italic;
}


/**************************************
*** Design permanent side links box ***
***************************************/
div.permanent_side_links_box {
    position: fixed;
    top: 150px;
    left: 0px;
    padding: 2px;
    border-radius: 0px 10px 10px 0px;
    z-index: 10;
    /* This makes sure it is above the ul text which has z-index=5 */
}

div.permanent_link_box img {
    width: 35px;
    height: 35px;
    border-radius: 10px 10px 10px 10px;
    display: block;
    padding: 10px;
    background-color: #ebe9e9;
    margin-left: 0px;
    margin-right: auto;
}

div.permanent_link_box img#back-to-e10 {
    width: 100px;
    height: auto;
    transition: filter 0.3s ease;
    /* Changes with hover to oragne with time */
}

div.permanent_link_box img#back-to-e10:hover {
    filter: sepia(1) hue-rotate(-20deg) saturate(500%);
}

@media only screen and (max-width: 700px) {
    div.permanent_side_links_box {
        top: unset;
        bottom: 0px;
    }

    div.permanent_link_box img#back-to-e10 {
        width: 60px;
    }
}



/******************************************************************************************
******************************* Global Elemetns style *************************************
*******************************************************************************************/

body {
    direction: rtl;
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
}

#Container p,
#Container li {
    font-size: 18px;
}

img {
    border: 0px;
}

span.No_Wrap {
    white-space: nowrap;
}

/* Images float and divs */
.Img_Float_Left {
    float: left;
    margin: 20px;
}

.Img_Float_Right {
    float: right;
    margin: 20px;
}

img.Img_Center {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

div.Img_Center {
    text-align: center;
    margin: 10px;
}

div.Img_Center img {
    margin: 10px auto 10px auto;
}

@media only screen and (max-width: 500px) {

    .Img_Float_Right,
    .Img_Float_Left {
        float: unset;
        max-width: 100%;
        height: auto;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

    div.Img_Float_Left {
        text-align: center;
    }

    div.Img_Float_Right {
        text-align: center;
    }

    .Img_Center img,
    img.Img_Center,
    img.Img_Float_Left,
    img.Img_Float_Right {
        float: unset;
        max-width: 100%;
        height: auto;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}

/* Images sizes */
.Max_Image_Size_120 {
    width: 120px;
    height: auto;
}

.Max_Image_Size_140 {
    width: 140px;
    height: auto;
}

.Max_Image_Size_150 {
    width: 150px;
    height: auto;
}

.Max_Image_Size_180 {
    width: 180px;
    height: auto;
}

.Max_Image_Size_200 {
    width: 200px;
    height: auto;
}

.Max_Image_Size_240 {
    width: 240px;
    height: auto;
}

.Max_Image_Height_160 {
    height: 160px;
    width: auto;
}

.Max_Image_Height_180 {
    height: 180px;
    width: auto;
}

.Max_Image_Height_200 {
    height: 200px;
    width: auto;
}

.Max_Image_Height_240 {
    height: 240px;
    width: auto;
}

.Max_Image_Height_280 {
    height: 280px;
    width: auto;
}

.Max_Image_Height_300 {
    height: 300px;
    width: auto;
}

.Max_Image_Height_360 {
    height: 360px;
    width: auto;
}

.Max_Image_Height_500 {
    height: 500px;
    width: auto;
}

/* Font design across all pages */
.text_red {
    color: red;
}

.text_blue {
    color: blue;
}

.text_green {
    color: green;
}

.text_decoration_none {
    text-decoration: none;
}

.text_bold {
    font-weight: bold;
}

.text_center {
    text-align: center;
}

.text_size_20 {
    font-size: 20px;
}

.text_size_22 {
    font-size: 22px;
}

.text_size_24 {
    font-size: 24px;
}

div.overflow_auto {
    overflow: auto;
}



/* Kaftorim shel lemaala vehadpasa. */
.Help_Buttons {
    text-align: left;
}

.Help_Buttons a {
    color: blue;
}









/* Websites grid */
.grid-container {
    overflow: visible;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.grid-item {
    text-align: center;
    border: 1px solid black;
    border-radius: 25px;
    padding: 0px;
    width: 340px;
    background-color: #d6dbe1;
    color: black;
    overflow: hidden;
    /* Apply radius effect on internal elements */
    transition: transform 0.5s ease;
    /* smooth animation */
}

.grid-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.grid-item-top-dns {
    background-color: #1c3c5e;
    color: white;
    font-weight: bold;
    padding: 4px;
}

.grid-item-top-title {
    background-color: #344f6e;
    color: white;
    font-size: 22px;
    font-weight: bold;
    height: 70px;
}

.grid-item-img {
    height: 220px;
    padding: 10px;
    color: black;
    text-align: center;
}

.grid-item-img span {
    display: block;
    margin: auto;
}

.grid-item-img span.red_text {
    font-weight: bold;
    color: red;
}

.grid-item-img a,
.grid-item-img a:hover {
    color: #344f6e;
}

.grid-item-img img {
    max-width: 100%;
    height: auto;
    max-height: 170px;
    display: block;
    margin: auto;
}

.grid-item-bottom {
    color: #344f6e;
    font-size: 22px;
    font-weight: bold;
    ;
}

.grid-item a,
.grid-item a:hover {
    color: white
}

.grid-item a {
    text-decoration: none;
}








p.red_p_active {
    color: red;
    text-align: center;
    font-weight: bold;
}





ul.star-bullet li {
    list-style-type: none;
    /* Remove default bullet */
    position: relative;
    /* Allow positioning of the emoji */
    padding-right: 1.5em;
    /* Space for the emoji */
}

ol.letters-ordered-list {
    list-style-type: upper-alpha;
}

ul.star-bullet li::before {
    content: "✳️";
    /* Emoji as bullet */
    position: absolute;
    right: 0;
    top: 0;
}