/*!

Theme Name: Agma
Author: ATD digital
Author URI: https://atd.digital/
Description: Description
Version: 1.8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: agma
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/


/* layout */
:root {
    --background-color: #222830;
    --font-color: #fcf9f3;
    --font-color-l: #a3a2a2;
    --s-font-color: #5e97f9;
    --font-s: 'Simpler';
    --font-a: 'NarkissAsaf';
    --cursor: url(./assets/images/cursor.png) 5 5, auto;
}

* {
    color: var(--font-color);
    font-family: var(--font-s);
}

@media screen and (min-width: 766px) {

    * {
        /*cursor: none;*/
        cursor: var(--cursor);
    }

    *:hover {
        cursor: url(./assets/images/cursor_2.png) 10 10, auto;
    }

    img:hover,
    .lobby_img:hover {
        cursor: none !important;
    }


    #wpadminbar,
    #wpadminbar a,
    #wpadminbar ul,
    #wpadminbar li {
        cursor: pointer !important;
    }
}

@media screen and (max-width: 1520px) and (min-width: 1024px) {

    * {
        /* zoom: 0.98; */
    }

}



body {
    background: var(--background-color);
    margin: 0;
    font-size: 100%;
}

@media screen and (max-width: 1920px) {
    html {
        font-size: 16px;
    }

}

@media screen and (max-width: 1680px) {
    html {
        font-size: 15.5px;
    }
}

@media screen and (max-width: 1450px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    .page_header_left,
    .page_header_right {
        /*min-height: 110px !important;*/
    }
}

@media screen and (max-width: 1280px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 13px;
    }
}

@media screen and (max-width: 765px) {
    html {
        font-size: 12px;
    }
}


header {
    padding: 0 50px;
}

footer {
    padding: 0 50px;
    border-top: 1px dotted;
}

main {
    padding: 0 50px;
}

h1 {
    font-size: 3rem !important;
    line-height: 1.05;
    margin: 0;
    font-family: Simpler-e;
}

a h1:hover {
    color: var(--s-font-color);
}

h2 {
    font-size: 2rem !important;
    margin: 0;
  line-height: 1.05;
    font-family: Simpler-e;
}

a h2:hover {
    color: var(--s-font-color);
}

span {
    font-size: 1.3rem;
    line-height: 1.6;
}

span.b {
    font-weight: bold;
}

p {
    margin: 0;
}

hr {
    width: 100%;
    border: unset;
    border-top: 1px dotted;
    margin: 0;
}

/* scroll bar */

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* header */

header {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
    background: var(--background-color);
    position: sticky;
    top: 0;
    z-index: 997;
    -webkit-mask-image: url(./assets/images/header.svg);
    -webkit-mask-position: bottom;
    -webkit-mask-size: cover;
}

.header_top {
    /*min-height: 60px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 35px;
}

.header_top span.header_icons {
    display: flex;
    align-items: center;
    grid-gap: 25px;
}

.header_top span.header_icons svg {
    width: 25px;
    height: 16px;
    transition: 0.2s;
    stroke: var(--font-color);
}

.header_top span.header_icons svg line,
.header_top span.header_icons svg path,
.header_tray_search path,
.header_tray_search line {
    stroke: var(--font-color);
}

.header_top span.header_icons svg:hover {
    transform: scale(1.1);
}

.header_top span.header_icons label.dark_mode {
    width: 30px;
    display: inline-block;
    border: 1px solid var(--font-color);
    height: 16px;
    border-radius: 20px;
    position: relative;
    cursor: unset;
}

.header_top span.header_icons label.dark_mode:before {
    display: none;
}

.header_top span.header_icons label.dark_mode span {
    width: 10px;
    height: 10px;
    background: var(--font-color);
    display: inline-block;
    border-radius: 50%;
    margin: 3.3px;
    right: 0;
    position: absolute;
    transition: 1s;
}

.header_top span.header_icons input:checked+label.dark_mode span {
    right: unset;
    left: 0;
}

ul#menu-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 0;
    grid-gap: 3rem;
}

.header_tray {
    background: var(--background-color);
    position: fixed;
    left: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    z-index: 9992;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 40px;
    box-sizing: border-box;
    transition: 0.5s;
}

.header_tray_active {
    left: 0px !important;
}

.body_header_tray_active:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    background: var(--background-color);
    opacity: 0.9;
    width: 100vw;
    height: 100vh;
    z-index: 9991;
}

.header_tray_close {
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 2.5rem;
    color: #b6b6b6;
}

.header_tray_close svg line {
    stroke: var(--font-color);
}

.header_tray_close:hover {
    color: var(--font-color);
}

.header_tray_search {
    padding-top: 3rem;
}

.header_tray_search span {
    font-family: var(--font-a);
    font-size: 1.2rem;
}

.header_tray_search span:hover {
    font-weight: bold;
}

.header_tray_search span svg {
    width: 1rem;
    height: 0.9rem;
    margin-right: 0.8rem;
}

.header_tray_menu {}


.header_tray_menu ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    grid-gap: 1rem;
}


.header_tray_menu li {
    list-style: none;
}

.header_tray_menu li a {
    font-family: var(--font-a);
    text-decoration: unset;
    font-size: 1.2rem;
}

.header_tray_menu li a:hover {
    font-weight: bold;
}

.header_tray_icons {
    grid-gap: 0.3rem;
    display: flex;
    justify-content: flex-end;
    position: relative;
    top: 1.5rem;
}

.header_tray_icons svg {
    width: 1rem;
    height: 1rem;
    fill: var(--font-color);
    margin-right: 5px;
}

.header_tray_icons svg:hover {
    fill: var(--s-font-color);
}

.header_tray_letter_form .gform_title {
    font-family: var(--font-a);
    font-size: 1.2rem;
    font-weight: 100;
}

.header_tray_letter_form {}

.header_tray_logo {}

.header_tray_logo svg {
    width: 100%;
    height: auto;
}

.agma_logo svg #Group-18 path,
.agma_logo svg #Group-18 polygon {
    fill: var(--font-color);
}

@media screen and (max-width: 765px) {
    .header_tray {
        left: -300px;
        width: 300px;
        padding: 20px;
    }

    .header_tray_search {
        padding-top: 4rem;
    }

    .header_tray input[type="submit"] {
        position: unset;
        height: 30px;
        padding: 3px 0 8px 0;
        margin: 0;
    }

    ul#menu-main {
        display: none;
    }
}

ul#menu-main li {
    list-style: none;
    transition: 0.5s;
}

ul#menu-main li ul {
    padding: 0;
    display: flex;
    grid-gap: 25px 20px;;
    margin-top: 5px;
}

ul#menu-main li a {
    font-family: var(--font-a);
    text-decoration: unset;
    color: var(--font-color-l);
    font-size: 1.3rem;
}

ul#menu-main>li>a {
    font-weight: bold;
}

ul#menu-main .sub-menu li:before {
    content: '/';
    position: relative;
    right: -13px;
    color: var(--font-color-l);
}

ul#menu-main .sub-menu li:first-child:before {
    content: '';
}

ul#menu-main li ul li a:hover {
    color: var(--font-color);
    font-weight: bold;
}

ul#menu-main li.current-menu-item a {
    color: var(--font-color);
}

.single-projects ul#menu-main li.projects_archives_menu a {
    color: var(--font-color);
}

.single-demonstration ul#menu-main li.projects_d_archives_menu a {
    color: var(--font-color);
}

.single-events ul#menu-main li.events_archives_menu a {
    color: var(--font-color);
}

.post-type-archive-events ul#menu-main li.events_archives_menu a {
    color: var(--font-color);
}

.tax-event_type ul#menu-main li.events_archives_menu a {
    color: var(--font-color);
}

.single-articles ul#menu-main li.article_archives_menu a {
    color: var(--font-color);
}

.single-demonstration.single-articles ul#menu-main li.article_archives_menu a {
    color: var(--font-color-l);
}

.tax-article_type ul#menu-main li.article_archives_menu a {
    color: var(--font-color);
}

.single-newsletter ul#menu-main li.newsletter_archives_menu a {
    color: var(--font-color);
}

.header_title a {
    color: var(--s-font-color);
    text-decoration: unset;
	transition: all ease 0.5s; 
}

.header_title a span {
    color: var(--s-font-color);
    font-weight: bold;
}

.header_title span.t_site {
    font-family: Simpler-e;
    color: var(--s-font-color);
    font-weight: bold;
    font-size: 1rem;
    margin-right: 15px;
}

.header_title span.t_site svg {
    width: 0.8rem;
}
.header_title a,.header_title a span {
	transition: all ease 0.5s; 
}
.header_title a:hover,.header_title a:hover span {
	color:white; 
	transition: all ease 0.5s; 
}

@media screen and (max-width: 765px) {
    .header_title {
        display: flex;
        flex-direction: column;
    }

    .header_title span.t_site {
        margin-right: 0;
    }
}

/* footer */

.main_footer {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    display: grid;
    grid-gap: 3rem;
    margin: 0;
    padding-top: 5rem;
}

.footer_menu {}

.footer_menu ul {
    padding: 0;
    flex-direction: column;
    grid-gap: 1rem;
    margin: 0;
    columns: 2;
}


.footer_menu li {
    list-style: none;
    margin-bottom: 1rem;
}

.footer_menu li a {
    font-family: var(--font-a);
    text-decoration: unset;
    font-size: 1.2rem;
}

.footer_menu li a:hover {
    font-weight: bold;
}


.footer_form .gform_title {
    font-family: var(--font-a);
    font-size: 1.2rem;
    font-weight: 100;
    margin-bottom: 1rem;
}

.footer_form input[type="submit"] {
    padding: 6px 15px !important;
    height: unset;
    width: unset;
    opacity: 0.5;
}

.footer_form input[type="submit"]:hover {
    opacity: 1;
}

.footer_form .gform_footer.top_label {
    text-align: left;
}


#content_map {
    height: 240px;
    width: 100%;
}

#content_map .leaflet-control-attribution.leaflet-control,
#content_map .leaflet-control-attribution.leaflet-control a {
    left: 0;
    font-size: 8px;
    background: transparent;
    color: white !important;
}

.footer_info {
    display: flex;
    grid-gap: 2rem;
    flex-direction: column;
}


.footer_info_text {
    font-family: var(--font-a);
    font-size: 1.2rem;
}

.footer_info_icons {
    display: block;
}

.footer_info_icons a {
    text-decoration: unset;
}

.footer_info_icons svg {
    width: 1rem;
    height: 1rem;
    margin-left: 5px;
}

.footer_info_icons svg path {
    fill: var(--font-color) !important;
}

.footer_info_icons svg:hover path {
    fill: var(--s-font-color) !important;
}

.footer_info_logo path {
    fill: var(--s-font-color);
}

.footer_credits {
    padding: 10px 0;
    display: flex;
    grid-gap: 4rem;
    flex-direction: row;
    align-items: start;
}


.footer_credits span {
    font-size: 1em;
    color: var(--font-color);
    font-family: var(--font-a);
}


.footer_credits span a {
    text-decoration: unset;
    font-family: var(--font-a);
    color: var(--font-color);
}

@media screen and (max-width: 765px) {
    .main_footer {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }

    .footer_credits {
        grid-gap: 0.2rem;
        flex-direction: column;
        align-items: center;
    }

    .footer_form input[type="submit"] {
        float: unset;
        position: unset;
    }

    .footer_form {
        padding-top: 50px;
    }

}

.link_to {
    position: fixed;
    bottom: 20px;
    left: 20px;
    border: 1px solid transparent;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: 9991;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-events .link_to {
    display: none;
}

.link_to:hover {
    border: 1px solid var(--s-font-color);
    padding: 6px;
}

.link_to:hover .link_to_knowledge {
    width: 90%;
    height: 90%;
    font-size: 1em;
}

.link_to_knowledge {
    position: absolute;
    background: linear-gradient(48deg, var(--s-font-color) 60%, #bbbfee);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-align: center;
    font-size: 1.2em;
    text-decoration: unset;
    cursor: pointer;
    transition: all 0.2s;
}

.link_to_knowledge:focus-visible {
    outline: unset;
}

@media (max-width:765px) {
    .link_to {
        width: 110px;
        height: 110px;
    }
}

/*
.link_to_knowledge:hover{
    box-sizing: border-box;
    outline: unset;
    outline: 1px solid var(--s-font-color);
    outline-offset: 7px;
    transform: scale(0.9);
}
*/


/* archive-articles lobby-events*/

main.lobby {
    padding: 0 50px !important;
}

.lobby .page_content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 50px;
    padding: 30px 0;
}

.page_content {
    margin-top: -60px;
}

.page_content_left,
.page_content_right {
    padding-top: 60px;
}

.series_of_events_form {
    display: none;
}

.page_content_head_title {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.page_content_head_title input {
    width: auto;
    border: 1px dotted;
    padding: 10px;
    height: unset;
    max-height: 50px;
    font-size: unset;
}

@media screen and (max-width:765px) {
    .page_content_head_title {
        flex-direction: column;
    }
}


.lobby .page_content ul {
    padding: 0;
    margin: 0;
    display: grid;
    grid-gap: 3rem;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 765px) {

    .lobby .page_content {
        grid-template-columns: 1fr;
    }

    main.lobby .page_content ul {
        grid-template-columns: 1fr;
    }
}

.lobby .page_content ul li {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}


.lobby .page_content ul li a {
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
    text-decoration: unset;
}


.lobby .page_content ul li div {
    position: relative;
}

.lobby .page_content ul li img {
    width: 100%;
    /* height: auto; */
    max-height: 200px;
    object-fit: cover;
    object-position: center center;
    -webkit-mask-image: url(./assets/images/path.svg);
    -webkit-mask-size: cover;
    -webkit-mask-position: left bottom;
    -webkit-mask-repeat: no-repeat;
}

.img_path_01 img {
    -webkit-mask-image: url(./assets/images/path_01.svg) !important;
}

.img_path_02 img {
    -webkit-mask-image: url(./assets/images/path_02.svg) !important;
}

.img_path_03 img {
    -webkit-mask-image: url(./assets/images/path_03.svg) !important;
}

.img_path_04 img {
    -webkit-mask-image: url(./assets/images/path_04.svg) !important;
}

.img_path_05 img {
    -webkit-mask-image: url(./assets/images/path_05.svg) !important;
}


.lobby_filter_title {
    font-size: 2.2rem;
    font-family: var(--font-a);
    line-height: 1;
    display: block;
    font-weight: bold;
}

.lobby_filter_title_2nd {
    font-family: var(--font-a);
}

#lobby_filter_items {
    padding: 10px 0;
}

#lobby_filter_items .lobby_filter_item {
    font-family: var(--font-a);
    border: 1px solid;
    border-radius: 20px;
    padding: 0px 15px;
    font-size: 1rem;
    display: inline-block;
    min-width: 4rem;
    text-align: center;
    margin: 0 0 10px 10px;
}

#lobby_filter_items .lobby_filter_item.active {
    background: var(--font-color);
    color: var(--background-color);
}

.lobby_filter_item:hover {
    background: var(--font-color);
    color: var(--background-color);
}

/* archive-podcasts ul.lobby*/

.lobby .page_content ul.podcasts.lobby {
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 6rem;
}

@media screen and (max-width: 1024px) {
    .lobby .page_content ul.podcasts.lobby {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 765px) {
    .lobby .page_content ul.podcasts.lobby {
        grid-template-columns: 1fr;
    }
}

.lobby .page_content ul.podcasts.lobby li {
    grid-gap: 10px;
}

.lobby .page_content ul.podcasts.lobby h2 {
    font-family: Simpler-e !important;
}

.lobby .page_content ul.podcasts.lobby span {
    font-size: 1.1rem;
}

.lobby .page_content ul.podcasts.lobby h2 a {
    font-family: Simpler-e !important;
    text-decoration: unset;
}

.lobby .page_content ul.podcasts.lobby .lobby_img {
    height: 17rem;
    background-blend-mode: luminosity;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #00286c;
}

.lobby .page_content ul.podcasts.lobby .lobby_img .lobby_img_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}

.podcasts_content {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.podcasts_content:hover {
    display: inline-block;
}


.lobby_after_img {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lobby_after_img span {
    font-family: var(--font-a);
    font-size: 1rem;
    padding: 6px 0;
}

span.share_buttons {
    float: left;
}

.lobby_share_icon:hover>.lobby_share_icon svg {
    transform: scale(1.1);
}

.lobby_share_spotify svg {
    width: 35px;
    height: 25px;
}

.lobby_share_spotify svg:hover path {
    fill: var(--s-font-color)
}


.lobby_share_icon:hover svg g {
    stroke: var(--s-font-color)
}

.lobby_share_icon:hover+.lobby_share {
    display: flex;
}

.lobby_share_icon svg g {
    stroke: var(--font-color);
}

.lobby_share_warp {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding-left: 1px;
    position: relative;
}

span.lobby_share_icon {
    z-index: 9;
}

.lobby_share {
    width: max-content;
    padding-left: 10px !important;
    display: none;
    grid-gap: 8px;
}

span.lobby_share {
    position: absolute;
    left: 22px;
    background: var(--background-color);
    padding: 15px;
}

.lobby_share:hover {
    display: flex;
}

.lobby_share svg {
    width: 15px;
    height: 15px;
    fill: var(--font-color);
}

.lobby_share svg:hover path {
    fill: var(--s-font-color);
    stroke: transparent;
}

.audio-player-container {
    width: 100%;
    padding: 0px 20px;
    direction: ltr;
    box-sizing: border-box;
    height: 20%;
}

.audio_player_btns {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.audio_player_btns span {
    width: 80px;
    height: 80px;
}

.audio_player_btns svg {
    fill: white !important;
    width: 100% !important;
    height: 100% !important;
    transition: 0.2s;
}

.audio_player_btns svg:hover {
    transform: scale(1.1);
}

.audio-player {
    display: none;
}

.pause_icon {
    display: none;
}


.audio_timers {
    display: flex;
    justify-content: space-between;
    margin-bottom: -10px;
}

.audio_timers span {
    font-size: 1rem;
    font-family: var(--font-a);
    color: white;
}

.seek-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    margin: 15px 0;
    padding: 0;
    background: var(--background-color);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 20px;
    border: unset;
    cursor: unset;
}

.seek-slider:hover {
    opacity: 1;
}

.seek-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--font-color);
    cursor: unset;
}

.seek-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--font-color);
    border-radius: 50%;
    cursor: unset;
}

.news_letter_form .gform_title {
    font-size: 1.2rem;
    font-family: var(--font-a);
    font-weight: normal;
    margin-top: 35px;
    margin-bottom: 10px;
}

.news_letter_form div#gform_confirmation_message_1 {
    font-family: var(--font-a);
    margin-top: 20px;
}

/* single - newsletter */

.single-newsletter .page_content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 50px;
    padding: 30px 0;
}

/* single - event */

.single-demonstration .page_content,
.single-events .page_content,
.single-training .page_content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 50px;
    padding: 30px 0;
}

.page_header_right {
    /*min-height: 150px;*/
}

.page_header_right a {
    text-decoration: unset;
    font-family: var(--font-a);
}

.page_header_right a span {
    font-family: var(--font-s);
}


.page_content_right ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    grid-gap: 90px;
    overflow: scroll;
    height: 100vh;
}

.page_content_right ul h2 {
    font-family: Simpler-e;
}


.page_content_right ul::-webkit-scrollbar {
    display: none;
}


.page_content_right ul li {
    list-style: none;
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}

.page_content_right ul li a {
    text-decoration: unset;
    border: 1px dotted;
    width: 160px;
    text-align: center;
    padding: 15px;
    font-family: var(--font-a);
}

.page_content_right ul li a:hover {
    background: white;
    color: var(--background-color);
}

.r_page_image {
    position: relative;
}

.page_content_right ul li img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    object-position: top;
    -webkit-mask-image: url(./assets/images/path.svg);
    -webkit-mask-size: cover;
    -webkit-mask-position: bottom;
    -webkit-mask-repeat: no-repeat;
}

.page_header_left {
    /*min-height: 150px;*/
    /*position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--background-color);
    -webkit-mask-image: url(./assets/images/path.svg);
    -webkit-mask-size: cover;
    -webkit-mask-position: bottom;
    -webkit-mask-repeat: no-repeat;*/
}

.page_header_left a {
    text-decoration: none;
    font-size: 1.5rem;
    margin-top: 10px;
    display: block;
}

.page_header_left a:hover {
    color: var(--s-font-color);
}

.page_header_left_title {
    width: 80%;
    font-size: 3rem !important;
    line-height: 1.05;
    margin: 0;
    font-family: Simpler-e;
}



.page_content_right {
    display: flex;
    flex-direction: column;
    grid-gap: 30px;
    height: 150vh;
    overflow-y: scroll;
    transition: 0.2s;
}

.page_content_right::-webkit-scrollbar {
    display: none;
}

.page_content_right_title {
    display: flex;
    flex-direction: column;
    grid-gap: 15px;
}

.page_content_right_title span {
    font-family: var(--font-a);
}


.page_header_left_2nd {
    font-weight: normal;
    font-size: 3rem;
    line-height: 1.05;
    margin: 0;
}

.page_content_left {
    display: flex;
    flex-direction: column;
    grid-gap: 30px;
    height: 150vh;
    /* overflow-y: scroll; */
    transition: 0.2s;
    scroll-behavior: smooth;
}

.page_content_left::-webkit-scrollbar {
    display: none;
}

.page_image {
    position: relative;
}

.page_image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: top;
    -webkit-mask-image: url(./assets/images/path.svg);
    -webkit-mask-size: cover;
    -webkit-mask-position: bottom;
    -webkit-mask-repeat: no-repeat;
}

.page_image_term {
    position: absolute;
    right: 20px;
    top: 20px;
    font-family: var(--font-a);
    background: var(--background-color);
    border-radius: 20px;
    padding: 0 15px;
    font-size: 1em;
}

.page_the_content {
    width: 75%;
}


/* archive-events */

.post-type-archive-events main {
    padding: 0;
}

.events_filter {
    height: 40px;
    display: flex;
    padding: 0 50px;
    grid-gap: 50px;
}

.events_filter span {
    font-size: 1rem !important;
    font-family: var(--font-a);
}

.events_filter .ca {
    display: none;
}


.events_filter div {
    width: 200px;
    position: relative;
}

.events_filter div.filter_type {
    display: flex;
    grid-gap: 15px;
    width: unset;
}

.filter_links svg line,
.filter_links svg path,
.filter_links_a svg line,
.filter_links_a svg path {
    stroke: var(--font-color) !important;
}

.events_filter div.filter_type .filter_links {
    display: flex;
    grid-gap: 15px;
    align-content: center;
    height: fit-content;
    align-items: center;
}

.events_filter div.filter_type .filter_links a:last-child {
    opacity: 0.6;
}

.events_filter div.filter_type .filter_links a:last-child:hover {
    opacity: 1;
}

.page_content_right .filter_links {
    display: flex;
    grid-gap: 15px;
    align-content: center;
    height: fit-content;
    align-items: center;
    font-size: 1em;
    margin-bottom: 1.5rem;
}

.page_content_right .filter_links a {
    display: flex;
    grid-gap: 5px;
    align-content: center;
    height: fit-content;
    align-items: center;
    font-size: 1em;
}

.page_content_right .filter_links a:last-child {
    opacity: 0.6;
}

.page_content_right .filter_links a:last-child:hover {
    opacity: 1;
}


.post-type-archive-events span.filter_links_a {
    padding: 60px 50px 0;
    display: flex;
    align-items: center;
    grid-gap: 2rem;
    margin-bottom: 1rem;
    font-family: 'NarkissAsaf';
    font-size: 1em;
}

.post-type-archive-events span.filter_links_a a {
    display: flex;
    align-items: center;
    grid-gap: 5px;
    font-family: 'NarkissAsaf';
    text-decoration: unset;
}

.post-type-archive-events span.filter_links_a a:last-child {
    opacity: 0.6;
}

.post-type-archive-events span.filter_links_a a:last-child:hover {
    opacity: 1;
}

.events_filter .filter_c {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted;
}

.filter_list {
    padding: 0;
    margin: 0;
    background: var(--background-color);
    display: none;
}

.filter_list_active .filter_list {
    display: block;
}

.ar {
    font-family: var(--font-s) !important;
}

.filter_list_active .ar {
    transform: rotate(270deg);
}

.filter_list li {
    list-style: none;
    padding: 5px;
    border-bottom: 1px dotted;
    font-family: var(--font-a);
    position: relative;
}


.filter_list li:hover {
    color: var(--s-font-color);
}

.filter_list li:hover:before {
    content: '';
    color: var(--s-font-color);
    border-top: 1px dotted;
    width: 100%;
    position: absolute;
    top: -1px;
    left: 0;
    background: var(--background-color);
    height: 2px;
}

.filter_list li.filter_item_select {
    color: var(--s-font-color);
}

ul.events_list {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 7vh;
}


ul.events_list li.event_item {
    display: grid;
    grid-template-columns: 1fr 5fr 4fr 1fr 3fr;
    grid-gap: 50px;
    padding: 30px 50px;
    min-height: 140px;
}

ul.events_list li.event_item.filter_hide {
    display: none;
}

ul.events_list li.event_item.old_event {
    display: none;
}

ul.events_list li.event_item.filter_show {
    display: grid;
}


li.event_item .event_date {
    line-height: 2.5em;
}

li.event_item .event_title {
    line-height: 2.5em;
}

li.event_item .event_term {
    font-size: 1em;
    font-family: var(--font-a);
    border: 1px solid;
    border-radius: 15px;
    padding: 3px 10px;
    min-width: 50px;
    display: inline-block;
    text-align: center;
    line-height: 1rem;
    margin-top: 16px;
}

li.event_item .event_excerpt {
    line-height: 2em;
}

li.event_item .event_time span {
    font-size: 1rem;
    line-height: 2em;
}

li.event_item .event_time span.event_location {
    display: block;
}

li.event_item .event_btn {
    position: relative;
    padding-right: 30px;
}

li.event_item .event_image {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 240px;
    top: -70px;
    right: 0;
    overflow: hidden;
}

li.event_item .event_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

li.event_item .event_btn span {
    font-size: 1rem;
    position: relative;
}

li.event_item .event_btn a {
    position: relative;
    font-size: 1rem;
    top: 20px;
}


@media screen and (min-width: 765px) {

    .posts_nav {
        display: none;
    }


    li.event_item:hover {
        background: var(--font-color);
    }

    li.event_item:hover span,
    li.event_item:hover h2,
    li.event_item:hover div {
        color: var(--background-color);
    }

    li.event_item:hover .event_image {
        /*opacity: 1;*/
    }

    li.event_item:hover .event_btn a {
        color: var(--font-color);
        background: var(--background-color);
    }

    li.event_item .event_date .event_term_mobile {
        display: none;
    }

    .filter_btn_mobile {
        display: none;
    }

}


/* general */

.a_btn {
    text-decoration: unset;
    border: 1px dotted;
    width: fit-content;
    text-align: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-a);
    height: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    white-space: nowrap;
}

.a_btn:hover {
    background: var(--font-color);
    color: var(--background-color);
}


/* form */

.page_form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    width: 75%;
    position: relative;
    align-items: end;
}

h1.page_form_title {
    margin: 30px 0 50px 0;
}
.post-password-form input{
  border:1px dotted;
  margin-top:5px;
  margin-buttom:5px;
  }
input {
    font-family: var(--font-a);
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: unset;
    border-bottom: 1px dotted;
    line-height: 25px;
    font-size: 1rem;
}

textarea {
    font-family: var(--font-a);
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: unset;
    border-bottom: 1px dotted;
    line-height: 25px;
    font-size: 1rem;
    height: 44px !important;
}

textarea:focus-visible {
    outline: unset;
}

.invalid::placeholder {
    color: #ff5c69;
}

.invalid {
    border-color: #ff5c69;
}

.btn_form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.invalid_msg {
    display: none;
    color: #ff5c69;
    font-size: 1rem;
    font-family: var(--font-a);
}

.success_msg {
    display: none;
}

label {
    font-family: var(--font-a);
    font-size: 1rem;
}

input:focus-visible {
    outline: unset;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]+label {
    color: gray;
}

input[type="checkbox"]+label::before {
    content: "✓";
    width: 10px;
    height: 10px;
    border: 1px solid gray;
    display: inline-flex;
    margin-left: 10px;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    line-height: 1;
    color: transparent;
}

input[type="checkbox"]:checked+label::before {
    color: rgb(158, 158, 158);
    /* background: rgb(158, 158, 158); */
}


input[type="submit"] {
    width: 120px;
    margin-right: auto;
    border: 1px dotted;
    height: 45px;
}

input[type="submit"]:hover {
    background: var(--font-color);
    color: var(--background-color);
}


.sector_block span,
.professional_block span {
    font-family: var(--font-a) !important;
    color: gray;
    font-size: 14px;
}

.sector_block input,
.professional_block input {
    display: inline-block;
    width: 20px;
}

.sector_block .block_label,
.professional_block .block_label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.sector_block label,
.professional_block label {
    white-space: nowrap;
    color: gray;
}

.company,
.position {
    display: none;
    max-height: 55px;
    /* grid-column: span 2; */
}


/* iframe */

iframe#rivchit_iframe {
    border: unset;
    width: 80%;
    height: 950px;
}

/* single - project */

.single-projects .page_content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 50px;
    padding: 30px 0;
}

/* single - article */

.single-articles .page_content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 50px;
    padding: 30px 0;
}

.page_content_entry {}

.page_content_entry div {
    display: flex;
    grid-gap: 0.4em;
    align-items: center;
}

.page_content_entry div svg {
    width: 1rem;
    height: 1rem;
}

.page_content_entry div svg path,
.page_content_entry div svg polyline,
.page_content_entry div svg polygon {
    stroke: var(--font-color);
}


.page_content_entry div span {
    font-family: var(--font-a);
}

.articles p {
    margin-bottom: 1.5rem;
}
.articles .page_the_content{
  font-size: 125%;
}

.articles .page_the_content p, .articles .page_the_content ul, .articles .page_the_content ol{
line-height: 1.6;
}

.single-articles .article_sources {
    color: var(--font-color);
    opacity: 0.8;
    font-size: 1em;
}

.single-articles .article_sources:hover {
    opacity: 1;
}

.article_gallery_box {
    width: 75%;
}

@media screen and (max-width: 765px) {

    .article_gallery_box {
        width: 100%;
    }

    .article_notes_box {
        width: 100% !important;
    }
}

.single-articles .swiper {
    width: 600px;
    margin: inherit;
}

.close_full_swiper svg line {
    stroke: var(--font-color) !important;
}

.single-articles figure {
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.single-articles figure img {
    width: 100%;
    max-height: 20rem;
    object-fit: contain;
    object-position: top right;
    margin-right: 1px;
}

.single-articles figure figcaption {
    min-height: 50px;
    display: flex;
    align-items: center;
    font-family: var(--font-a);
}

.single-articles .swiper-button-next,
.single-articles .swiper-button-prev {
    position: unset;
    display: inline-block;
    width: auto;
    cursor: unset;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 15px !important;
    color: var(--font-color);
    padding: 5px;

}

.article_notes_box {
    font-family: var(--font-a);
    width: 75%;
}

.article_sources_box {
    width: 75%;
    display: flex;
    flex-direction: column;
    font-family: var(--font-a);
}

.article_sources_box span,
.article_sources_box span abbr {
    font-family: var(--font-a);
}


.article_gallery_full {
    position: fixed;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    top: 0;
    background: #222830d4;
    direction: ltr;
    z-index: 9991;
    transition: 0.5s;
}

.single-articles .article_gallery_full .swiper {
    margin: inherit;
    height: 95%;
    box-sizing: border-box;
    width: unset;
}

.single-articles .article_gallery_full figure img {
    width: auto;
    height: 80%;
    max-height: unset;
    object-position: top left;
}

.single-articles .article_gallery_full .swiper-slide {
    width: auto;
}

.article_gallery_full .article_gallery_box {
    padding: 50px;
    background: var(--background-color);
    /*width: fit-content;*/
    height: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 765px) {

    .article_gallery_full {
        display: none;
    }
}

.article_gallery_top {
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
    align-content: center;
}

.swiper-numbers span {
    font-size: 0.7em;
}

.article_gallery_top>div {
    height: 100%;
    display: flex;
    align-items: center;
    grid-gap: 20px;
}

.article_gallery_top .swiper-buttons {
    height: 100%;
    display: flex;
    align-items: center;
}

.article_gallery_full .swiper-button-next,
.article_gallery_full .swiper-button-prev {
    margin-top: unset;
    display: flex;
}

.article_gallery_full .swiper-button-next:after,
.article_gallery_full .swiper-button-prev:after {
    font-size: 50px !important;

}

@media screen and (max-width: 765px) {

    header {
        padding: 0 30px;
    }

    footer {
        padding: 0 30px;
    }

    main {
        padding: 0 30px;
    }

    main.lobby {
        padding: 0 30px !important;
    }

    /* archive-events */

    .events_filter {
        display: block;
        padding: 0;
        height: 50px;
    }

    .events_filter .filter_title:first-of-type {
        display: none;
    }

    .filter_btn_mobile {
        padding: 0 50px;
    }

    .events_filter .filter_title {
        width: 100%;
        display: block;
        margin-top: 20px;
    }

    .events_filter_mobile .filter,
    .events_filter_mobile .filter_title {
        display: none;
    }

    .events_filter div.filter {
        width: 100%;
        background: var(--background-color);
        box-sizing: border-box;
        padding: 0 50px;
    }

    .events_filter div.filter:last-child {
        padding-bottom: 30px;
    }

    .events_filter .filter_c {
        width: 100%;
        padding: 10px 0;
    }

    .filter_list_active .filter_list {
        padding-bottom: 10px;
    }

    .filter_list li:first-child {
        font-size: 0.8rem;
        right: 0px;
        top: 43px;
        color: gray;
    }

    .filter_list li {
        font-size: 1.3em;
        border-color: gray;
    }

    ul.events_list li.event_item {
        grid-gap: 0;
        grid-template-areas:
            "event_date event_title"
            "event_term event_time"
            "event_term event_excerpt";
        grid-template-columns: 1fr 4fr;
        grid-template-rows: auto auto auto;
        grid-column-gap: 30px;
        border-bottom: 1px dotted;
        margin: 0 30px;
        padding: 30px 0;
    }

    li.event_item .event_date {
        grid-area: event_date;
    }

    li.event_item .event_title {
        grid-area: event_title;
    }

    li.event_item .event_title .event_term {
        display: none;
    }

    li.event_item .event_excerpt {
        grid-area: event_excerpt;
        font-size: 1.3em;
        line-height: 1.6em;
    }

    li.event_item .event_time {
        grid-area: event_time;
    }

    li.event_item .event_time span.event_location {
        display: inline;
        margin-right: 10px;
    }

    li.event_item .event_btn {
        display: none;
    }

    /* single - article */

    .single-articles .page_content {
        display: flex;
        flex-direction: column;
    }

    /* single - event */

    .single-events .page_content,
    .single-training .page_content {
        display: flex;
        flex-direction: column;
    }

    /* single - project */

    .single-projects .page_content {
        display: flex;
        flex-direction: column;
    }

    .page_image img {
        width: 100%;
        max-height: 21rem;
        min-height: auto;
    }

    .page_header_left {
        height: unset;
    }

    .page_header_right {
        display: none;
    }

    .page_content_right_title {
        grid-gap: 0;
        flex-direction: row;
        justify-content: space-between;
    }

    .page_content_right_title hr {
        display: none;
    }

    .page_the_content {
        width: 100%;
    }

    .page_content_left {
        grid-gap: 15px;
        height: auto;
    }

    .page_header_left_title,
    .page_header_left_2nd {
        width: 100%;
        font-size: 2.5rem !important;
    }

    .page_form form {
        display: flex;
        flex-direction: column;
        width: 100%;
        grid-gap: 30px;
    }

    .page_form form>div {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }

    .btn_form {
        display: block;
        text-align: left;
        width: 100%;
        margin-top: 30px;
    }

    form span {
        /*width: 50%;*/
    }

    /*
    input[type="submit"] {
        float: left;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    */
    .page_content_right ul {
        flex-direction: row;
        grid-gap: 30px;
        overflow-x: scroll;
        height: unset !important;
        scroll-behavior: smooth;
    }

    .page_content_right ul li {
        grid-gap: 20px;
        min-width: 280px;
    }

    .page_content_right ul li h2+span {
        display: none;
    }

    .page_content_right ul li a {
        display: none;
    }

    .posts_nav span {
        font-size: 2em;
        margin: 3px;
    }

    iframe#rivchit_iframe {
        width: 100%;
        height: 1100px;
    }

}

.sleep {
    width: 110vw;
    height: 100vh;
    background: var(--s-font-color);
    position: fixed;
    top: 100vh;
    left: -10vw;
    z-index: 9999;
    transform: rotate(180deg);
    transition: all.5s, opacity 0.5s, transform 10s;
    -webkit-mask-image: url(./assets/images/path_01.svg);
    -webkit-mask-size: 120%;
    -webkit-mask-position: left bottom;
    -webkit-mask-repeat: no-repeat;
}


/* */

#agma_search {
    position: fixed;
    top: 0;
    z-index: 9997;
    background: var(--background-color);
    width: 100vw;
    height: 100vh;
    padding: 37px 50px;
    box-sizing: border-box;
    overflow-y: scroll;
    display: none;
}

.agma_search_inner {}

.agma_search_top {
    display: flex;
    justify-content: space-between;
}

.close_agma_search {
    font-size: 2rem;
}

.close_agma_search svg line {
    stroke: var(--font-color);
}

.agma_search_input {
    position: relative;
    width: 80%;
    margin: auto;
    padding-top: 3rem;
}

.agma_search_input input {
    font-size: 3rem;
    font-family: 'Simpler';
    border-color: var(--font-color);
}

.agma_search_input input:focus {}

.agma_search_active svg {}

.agma_search_input svg {
    position: absolute;
    left: 0;
    top: 3.5rem;
}

.agma_search_input svg line,
.agma_search_input svg path {
    stroke: var(--font-color);
}

.agma_search_active .agma_search_input input {
    color: var(--s-font-color);
}

.agma_search_active .agma_search_input svg {
    display: none;
}

span.agma_search_res_count {
    font-family: var(--font-a);
    padding-top: 25px;
    display: block;
}

span.agma_search_res_count_bb {
    color: var(--s-font-color);
    font-family: var(--font-a);
}

.agma_res_item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dotted;
    padding: 1.2rem;
}

.agma_res_item span {
    font-family: var(--font-a);
}

.agma_res_item a {
    font-size: 2.12rem;
    font-family: 'Simpler-e';
    font-weight: 800;
    text-decoration: none;
}

.agma_res_item:hover {
    background: var(--font-color);
}

.agma_res_item:hover span,
.agma_res_item:hover a {
    color: var(--background-color);
}

@media screen and (max-width: 765px) {

    #agma_search {
        padding: 50px 10px;
    }

}

.articles_excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

small.rest_msg {
    color: gray;
    font-family: 'NarkissAsaf';
    display: inline-block;
    font-size: 12px;
    line-height: 1.4;
}

/* disable scroll */

.page_content_left,
.page_content_right,
.home_section {
    height: fit-content;
    max-height: unset !important;
}

.page_content_right ul {
    height: fit-content;
}

.gform_description {
    font-family: 'NarkissAsaf';
    font-size: 1.2rem;
    margin-bottom: 1em;
}

/* extra form */

.form_block {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    column-gap: 50px;
    align-items: end;
}

.add_register_btn {
    border: 1px dotted;
    width: 100px;
    text-align: center;
    padding: 10px 15px;
    font-family: var(--font-a);
    font-size: 13px;
    margin: 25px 0;
    display: block;
}

.add_register_btn:hover {
    background: white;
    color: var(--background-color);
}


.add_register_details {
    font-size: 17px;
    font-family: 'NarkissAsaf';
    color: gray;
    cursor: pointer;
    margin-bottom: -23px;
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
}

.remove_register {
    text-align: left;
    font-size: 11px;
    font-family: 'NarkissAsaf';
    color: gray;
    cursor: pointer;
}

span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

span.select2-selection.select2-selection--multiple {
    background: transparent !important;
    border: unset !important;
    border-bottom: 1px dotted var(--font-color) !important;
    border-radius: 0 !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: unset !important;
    outline: 0 !important;
    border-bottom: 1px dotted var(--font-color) !important;
}

li.select2-selection__choice {
    border-radius: 0 !important;
    border: unset !important;
    border-bottom: 1px dotted var(--font-color) !important;
}

textarea.select2-search__field {
    font-family: var(--font-a) !important;
    font-size: 1rem !important;
    height: 45px !important;
    width: 100% !important;
}

span.select2.select2-container.select2-container--default.select2-container--below {
    width: 100% !important;
}

span.select2-dropdown.select2-dropdown--below {
    top: 33px !important;
}

.select2-dropdown {
    background-color: var(--background-color) !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--font-color) !important;
    color: var(--background-color) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--background-color) !important;
    border: unset !important;
    border-radius: unset !important;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
    border-left: unset !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice span {
    font-family: var(--font-a) !important;
    font-size: 1rem !important;
    color: var(--font-color) !important;
}

.sector_block .select2-container--default .select2-selection--multiple .select2-selection__choice span {
    color: var(--font-color) !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: var(--font-color) !important;
    color: var(--background-color) !important;
    font-weight: bold !important;
}

.select2-results__option--selectable {
    cursor: pointer !important;
    font-family: var(--font-a) !important;
    font-size: 1rem !important;
    position: relative;
    padding-right: 30px !important;
}

.select2-results__option--selectable:before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    font-size: 9px;
}

.select2-container--default .select2-results__option--selected::before {
    content: "✓";
}

textarea.select2-search__field {
    height: 32px !important;
    line-height: 1;
}

textarea.select2-search__field.hide {
    height: 0 !important;
}

.wp-caption {
    width: 100% !important;
}

.wp-caption-text {
    font-size: 1rem;
    margin-top: 6px;
}


a.btn {
    text-decoration: unset;
    border: 1px dotted;
    min-width: 160px;
    text-align: center;
    padding: 10px 10px;
    font-family: var(--font-a);
    display: block;
    font-size: 1.1rem;
    white-space: nowrap;
}

a.btn:hover {
    color: var(--background-color);
    background: var(--font-color);
}

.link_double {
    display: block;
}

.link_double.top {
    margin-bottom: 11px;
}

.link_double.bottom {
    margin: 20px 0;
}

.gform_heading {
    margin-bottom: 15px;
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--background-color) inset !important;
}

/*Change text in autofill textbox*/
input:-webkit-autofill {
    -webkit-text-fill-color: var(--font-color) !important;
}


.flex {
    display: flex;
}

.wrap {
    flex-wrap: wrap;
}

.gap-10 {
    gap: 10px
}

.main_page_title{
  font-size: 3rem !important
}


.single-demonstration .page_the_content h3 {
    font-size: 1.3em;
    text-decoration: underline;
}

._add_to_cal > div{
    display: none;
    position: absolute !important;
    top: 0;
    right: 110%;
    width: 100%;
    padding: 4px 10px;
    box-sizing: border-box;
    border: 1px dotted;
}

._add_to_cal>div.active{
    display: flex;
    flex-direction: column;
}

.ag-popup-wraper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
}

.ag-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    background: #000000bd;
    width: 100%;
    height: 100%;
}

.ag-popup-inner {
    padding: 20px 40px;
    background: #fff;
    position: relative;
    max-width: 600px;
    width: 90%;
    box-sizing: border-box;
}

.ag-popup-inner *{
    color: #222830;
}

.ag-popup-inner p{
    margin: revert;
    font-size: 1.2rem;
    line-height: 1.4;
}

.ag-popup-inner h3 {
    font-size: 2rem;
    color: #5e97f9;
}

span.ag-popup-close {
    cursor: pointer;
    position: absolute;
    left: 15px;
    top: 10px;
}