/* Design */
.Top {
    color: #000000;
    font-weight: bold;
    text-align: center;
    min-height: 250px;
    background-color: #fffbea;
    padding: 20px;
}

.Top_Bottom {
    color: #000000;
    font-weight: bold;
    text-align: center;
    min-height: 250px;
    background-color: #fff2cc;
    padding: 20px;
}

.Top_Bottom p {
    text-align: center;
}

.Top a,
.Top a:visited,
.Top h2 {
    text-decoration: none;
    color: #000000;
}

.Top h1 {
    font-weight: bolder;
    color: #000000;
    font-size: 2.2em;
}

@media only screen and (max-width: 500px) {

    /* In small mobile phones - the font size makes issues. */
    .Top h1 {
        font-size: unset;
    }
}


/* Central part */
div#Container {
    overflow: auto;
    padding-bottom: 10px;
}

/* h1 – Main Title */
div#Container h1 {
    color: #000000;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 0.5em;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.3em;
}

/* h2 – Section Title */
div#Container h2 {
    color: #000000;
    font-size: 2em;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    padding-left: 10px;
}

/* h3 – Subsection Title */
div#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;
}

/* h4 – Minor Heading */
div#Container h4 {
    color: #000000;
    font-size: 1.3em;
    font-weight: 500;
    margin-top: 1em;
    margin-bottom: 0.3em;
    font-style: italic;
}


/* Bottom part */
.Bottom {
    text-align: center;
    background-color: #440E62;
    color: white;
    padding: 5px;
}

.Footer {
    padding: 10px;
    font-size: 13px;
}

.Footer p {
    font-size:18px;
}

.Footer a {
    text-decoration: underline;
    color: blue;
}

.Footer a:hover {
    font-weight: bold;
}

div#Footer_Div_Accessibility_Box {
    float: left;
    display: block;
    width: 110px;
    height: 90px;
    border: 1px solid grey;
    padding: 5px;
    margin: 100px 15px 10px 15px;
    text-align: center;
}

@media only screen and (max-width:350px) {
    div#Footer_Div_Accessibility_Box {
        margin: 15px;
        float: unset;
    }
}

.Bottom_Links {
    font-size: 8px;
    color: #fffff9;
}

.Bottom_Links a {
    font-size: 8px;
    text-decoration: none;
    color: #fffff9;
}


/* Mobile screen sizing */
div.Top,
div.Top_Bottom,
div#Container,
div.Bottom,
div.Footer {
    min-width: 650px;
    width: 80%;
    margin: auto;
}

@media only screen and (max-width:650px) {

    div.Top,
    div.Top_Bottom,
    div#Container,
    div.Bottom,
    div.Footer {
        width: unset;
        min-width: unset;
    }
}


/**************************************
*** 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%);
}



/******************************************************************************************
******************************* 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 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
}

.grid-item {
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.grid-item img.width_60 {
    max-width: 60%;
}

.grid-item p.p_blue {
    display: block;
    background-color: darkblue;
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    height: 50px;
    margin-bottom: 0px;
    font-size: 21px;
}

.grid-item p.p_blue_small_text {
    font-size: 18px;
}

.grid-item p.p_blue_height_80 {
    height: 80px;
}

.grid-item p.p_yellow {
    display: block;
    background-color: #ffff4d;
    color: darkblue;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    height: 30px;
    margin-top: 0px;
}

.grid-item p.p_yellow:hover {
    background-color: orange;
}


.grid-item a {
    text-decoration: none;
}

@media only screen and (max-width: 500px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 3px;
    }

    #Container .grid-item p.p_blue,
    #Container .grid-item p.p_blue_small_text,
    #Container .grid-item p.p_yellow {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
    }

    #Container .grid-item p.p_blue {
        height: 70px;
    }
}



p {
    display: block;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 22px;
    direction: rtl;
    text-align: right;
}

p.p_big {
    font-size: 25px;
}

li {
    font-size: 22px;
    direction: rtl;
    text-align: right;
}

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;
}