.ha_social_share {
    display: flex;
    justify-content: end;
    gap: 15px;
    margin-bottom: 15px;
}
.ha_social_share img {
    width: auto !important;
    max-height: 28px;
}
.ha_social_share a div {
    display: none;
}

.single .imgs_slider ul.imgs_slider-ul {
    margin: unset !important;
}
[dir="rtl"] .slick-next {
    left: 10px;
    z-index: 1;
    width: 40px;
    height: 40px;
}
[dir="rtl"] .slick-prev {
    right: 10px;
    z-index: 1;
    width: 40px;
    height: 40px;
}
.slick-prev:before,
.slick-next:before {
    font-size: 40px;
}
.imgs_slider-ul img {
    width: 100%;
}
.slick-dots {
    margin: unset !important;
    bottom: 0;
}
.slick-dots li button:before {
    color: #fff;
    opacity: 0.6;
    font-size: 13px;
}
.slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}

.time-line {
    position: relative;
    margin-bottom: 100px;
    background-color: #fff;
    padding: 50px;
    border-radius: 5px;
    padding-top: 0;
}
.tl-open {
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 20px;
}
.tl-el {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 100px;
    margin-bottom: 50px;
}

.tl-el-4 .tle-left img {
    width: 600px !important;
    height: 900px !important;
}

.tle-left {
    position: relative;
}
.tle-left h3 {
    font-size: 26px;
    margin-bottom: 25px;
}

/* התאמה של הגדלת תמונה ספציפית ב"ציר הזמן" שדן התקין */
.tle-left img {
    height: 367px;
    width: 512px;
    object-fit: contain;
    margin-bottom: 0;
    max-width: 100%;
}

#tl-el-4 .tle-left img {
    height: 100%;
    width: 512px;
    object-fit: cover;
}

#tl-el-6 .tle-left img {
    width: 512px;
    object-fit: cover;
}

.tle-img-quote {
    text-align: center;
    font-size: 16px;
}
.tl-el:nth-child(even) .tle-left {
    order: 1;
}
.tl-el:last-child .tle-left {
    margin: unset;
}
span.time-axis {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 100%;
    width: 4px;
    border-left: 4px dotted #ccc;
}
.tl-el:nth-child(even) .tle-right {
    text-align: left;
}
/*
.tl-el:nth-child(odd):after {
    content: "";
    position: absolute;
    top: 0;
    right: 25px;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 70px;
    height: 35px;
    background-color: #939393;
    clip-path: polygon(0% 42.3%, 62.8% 43%, 62.9% 27%, 92.6% 50.8%, 62.8% 68.5%, 62.6% 55.8%, 0% 55%);
  	scale: -1;
}
.tl-el:nth-child(even):after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 25px;
    bottom: 0;
    margin: auto;
    width: 70px;
    height: 35px;
    background-color: #939393;
    clip-path: polygon(0% 42.3%, 62.8% 43%, 62.9% 27%, 92.6% 50.8%, 62.8% 68.5%, 62.6% 55.8%, 0% 55%);
}
*/
.tl-el.aos-init.aos-animate:after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #ebc1c5;
    left: 0;
    right: 0;
    top: 100px;
    margin: auto;
    border-radius: 100%;
    border: 3px solid #d22830;
    box-shadow: 0 0 0 5px #fff;
}
.tl-el.aos-init.aos-animate:before {
    content: "";
    position: absolute;
    width: 80%;
    height: 3px;
    background-color: #ebc1c5;
    left: 0;
    right: 0;
    top: 111px;
    margin: auto;
    border: 2px solid #ebc1c5;
}
.tl-el:last-child .tle-left {
    margin: unset;
    text-align: center;
    background-color: #fff;
}
.post-template-timeline .breadcrumbs {
    float: unset;
}
.tl-el.tle-empty.aos-animate:before {
    display: none;
}

.tl-open h1 {
    color: #d22a30;
    margin-bottom: 15px;
}
.tl-open h2 {
    color: #d22a30;
    font-size: 32px;
    line-height: 39px;
    margin-bottom: 10px;
}
.tl-open p {
    font-size: 19px;
    line-height: 32px;
}
.tle-date {
    font-family: alef, arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #d22a30;
    margin-bottom: 10px;
    background-color: #fff;
    position: relative;
    display: inline-block;
    padding-left: 10px;
}
.tle-right h3 {
    font: 19px Assistant, Arial, sans-serif;
    font-size: 23px;
    margin-bottom: 10px;
}
.tel-text p {
    line-height: 33px;
    color: #000;
}
.tle-quote {
    line-height: 33px;
    padding-right: 20pt;
}
.tle-quote-c {
    font-size: 16px;
    line-height: 33px;
    padding-right: 20pt;
}
.tle-right {
    padding-top: 97px;
}
.tl-el:nth-child(even) .tle-right {
    text-align: right;
}
.tl-el.aos-init.aos-animate:nth-child(odd) .tle-date {
    display: block;
    padding-left: unset;
    box-shadow: 0 0 0 10px #fff;
}

.tl-el.tle-empty.aos-init.aos-animate:nth-child(even):before {
    content: "";
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #ebc1c5;
    left: unset;
    right: 0;
    top: 111px;
    margin: auto;
    border: 2px solid #ebc1c5;
    display: block;
}
.tl-el.tle-empty.aos-init.aos-animate:nth-child(odd):before {
    content: "";
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #ebc1c5;
    right: unset;
    left: 0;
    top: 111px;
    margin: auto;
    border: 2px solid #ebc1c5;
    display: block;
}

.time-line {
    padding-bottom: unset;
}
.tl-bottom {
    background-color: #fff;
    z-index: 2;
    position: relative;
    padding-top: 50px;
    padding-bottom: 100px;
}
.tl-more h2,
.tl-see-also h2 {
    color: #b31a18;
    font-size: 24px;
    margin-top: 1.6em;
    font-weight: 400 !important;
    clear: both;
    margin-bottom: 0.4em;
}
.tl-more ul,
.tl-see-also ul {
    margin: 0 1.5em 1.2em;
}

.tl-see-also ul li {
    font-weight: 300;
}

.tl-more p {
    color: #b31a18;
    font-size: 24px;
    font-family: alef;
    font-weight: 400 !important;
}

.tl-more ul li {
    font-family: alef;
    font-weight: 300;
}

.tle-mobile {
    display: none;
}
.tl-open ul {
    position: relative;
    list-style-type: none;
    margin: unset;
    padding: unset;
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}
.tl-open ul li {
    padding-right: 30px;
    position: relative;
}
.tl-open ul li:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #ebc1c5;
    right: 2px;
    top: 0;
    border-radius: 100%;
    border: 1px solid #d22830;
    box-shadow: 0 0 0 5px #fff;
    bottom: 0;
    margin: auto;
}
.tl-open ul li:last-child:after {
    display: none;
}
.tl-open ul li:after {
    content: "";
    position: absolute;
    width: 5px;
    bottom: -17px;
    right: 5px;
    border-left: 6px dotted #ccc;
    height: 20px;
}
.tl-open ul li a {
    text-decoration: none;
    color: #000;
}
.tl-el > a {
    display: block;
    text-decoration: none;
    outline: none;
}
.tl-open ul li:target a {
    color: #d22a30;
    font-weight: bold;
}

.mejs-controls .mejs-time-rail .mejs-time-current,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: #d22830 !important;
}
/* .mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body {
    background: #f0eeef;
} */
/* .mejs-time {
    color: #8e8e8e;
} */
span.mejs-time-total.mejs-time-slider {
    margin: 8px 0 0 !important;
    height: 5px !important;
}
.mejs-horizontal-volume-total {
    height: 5px !important;
    margin-top: 3px !important;
}

h3.about-word {
    margin-bottom: 25px;
}
.archive.no-sidebars #content-box {
    overflow: unset;
}
.tag #content-box > #content-container {
    overflow: unset;
}
.tag #content-box > #content-container #content {
    overflow: unset;
    padding-inline: 15px;
    box-sizing: border-box;
}
.mila-btns {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    top: 10px;
    z-index: 9;
}
.mila-btns a {
    background-color: #fff;
    border-radius: 25px;
    box-shadow: 0 0 10px 0 #00000061;
    text-align: center;
    padding-block: 3px;
    text-decoration: none;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    color: #cd2c33;
    font-weight: bold;
    font-size: 16px;
}
.mila-btns a.btn-disabled {
    background-color: #e1e6ea;
    color: #105377;
    opacity: 0.6;
    box-shadow: unset;
    cursor: not-allowed;
}
.tag #content-box > #content-container #content .post.millon {
    margin-inline: unset;
}
.archive.tag div#content > div {
    box-sizing: border-box;
    width: 100% !important;
}
.post.millon .separate {
    max-width: 100%;
}

/* fix halufon banner */
body.page-template-halufon.page-template-halufon-php
    #header
    .feature-image-container {
    float: unset;
}

.search-wrap .search-form input[type="submit"] {
    width: 28px;
    height: 31px;
    background-size: contain;
    background-image: url(images/search.png);
    background-repeat: no-repeat;
}

.square-wrap {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .tle-mobile {
        display: block;
    }
    .tle-right .tle-date,
    .tle-right h3 {
        display: none;
    }
    .tle-right.tle-mobile .tle-date,
    .tle-right.tle-mobile h3 {
        display: block;
    }
    .time-line {
        padding: 15px 25px;
    }
    .tl-el {
        gap: 25px;
        grid-template-columns: 20% calc(80% - 25px);
    }
    .tl-el:nth-child(even) .tle-left,
    .tl-el:nth-child(odd) .tle-left {
        order: 2;
    }
    span.time-axis {
        left: unset;
        right: 20%;
    }
    .tle-right {
        font-size: 18px;
        letter-spacing: unset;
    }
    .tle-left img {
        max-height: 300px;
        height: auto;
    }
    .tle-left:after {
        border-width: 10px 0 10px 20px;
    }
    .tl-el:nth-child(odd) .tle-left:after {
        left: unset;
        right: -20px;
        scale: 1;
    }
    .tl-el:nth-child(even) .tle-left:after {
        right: -20px;
    }
    .tl-el.aos-init.aos-animate:after {
        display: none;
    }
    .tle-right {
        padding-left: 15px;
    }

    .tl-el {
        grid-template-columns: 1fr;
        margin: unset;
        gap: 25px;
        background-color: white;
    }
    .tl-el.tle-empty.aos-init.aos-animate:nth-child(odd):before,
    .tl-el.aos-init.aos-animate:before,
    .tl-el.tle-empty.aos-init.aos-animate:nth-child(even):before {
        display: none;
    }
    span.time-axis {
        left: 0;
        right: 0;
        top: 50px;
    }
    .tle-right {
        padding: unset;
        padding-inline: 25px;
        background-color: white;
        padding-block: 25px;
        order: 2;
        text-align: center;
    }
    .tle-left {
        position: relative;
        text-align: center;
    }
    .tl-el:nth-child(even) .tle-right {
        text-align: center;
    }
    .time-line {
        overflow: hidden;
        padding-bottom: unset;
    }
    .tl-bottom {
        padding-top: 1px;
        padding-inline: unset;
    }
    .tl-open {
        padding-top: unset;
    }
    .tl-open p {
        line-height: 1.5;
        color: #000;
    }

    .tle-right.tle-mobile {
        position: relative;
        padding: unset;
        text-align: right;
    }
    .tle-right.tle-mobile .tle-date {
        display: inline-block !important;
        padding-left: 30px;
    }
    .tle-right.tle-mobile:before {
        content: "";
        position: absolute;
        width: 100%;
        top: 15px;
        height: 3px;
        background-color: #ebc1c5;
    }
    .tle-right.tle-mobile:after {
        content: "";
        position: absolute;
        width: 25px;
        height: 25px;
        background-color: #ebc1c5;
        left: 0;
        top: 3px;
        margin: auto;
        border-radius: 100%;
        border: 3px solid #d22830;
        box-shadow: 0 0 0 5px #fff;
    }
    .tle-right h3 {
        margin: unset;
    }
    .tle-right,
    .tl-el:nth-child(even) .tle-right {
        padding: unset;
        text-align: right;
    }
    .tle-quote,
    .tle-quote-c {
        padding-right: 15px;
    }
    .tel-text p {
        margin: unset;
    }
    .tl-el {
        margin-bottom: 50px;
    }
    span.time-axis {
        display: none;
    }
    .tl-more h2,
    .tl-see-also h2 {
        margin-top: 0;
    }

    .tl-el.aos-init.aos-animate:nth-child(odd) .tle-date {
        display: none;
    }

    .tag #content-box > #content-container #content .mila-btns {
        gap: 5px;
        margin: auto;
        width: 95%;
    }
    .mila-btns a {
        border-radius: 10px;
        line-height: 1.1;
        font-size: 14px;
        padding-inline: 10px;
        padding-block: 5px;
    }
    .mila-btns a {
        gap: 5px;
    }
    .mila-btns img.icon {
        height: 25px;
    }
    .tag #content-box > #content-container #content > div {
        margin-right: 5px;
    }

    .term-14706 .archive-meta > p {
        display: flex;
        flex-flow: column;
        align-items: center;
    }

    #access .menu > .menu-item.expandable.over > .sub-menu {
        overflow: hidden;
    }
}

/* fix halufon banner */
@media screen and (max-width: 500px) {
    body.page-template-halufon.page-template-halufon-php
        #header
        .feature-image-container:after {
        content: "";
        background-image: url(images/acad_logo.png);
        background-color: #eff4f7;
        height: 85px;
        display: block;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        position: relative;
        top: 32px;
    }

    .search-wrap form.search-form {
        display: flex;
        width: auto;
        margin: unset;
        margin-inline: 10px;
    }
    .search-wrap form.search-form label {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
}
