html, body {
    padding: 0;
    margin: 0;
    font-family: "Rubik", Arial;
    touch-action: pinch-zoom;
    height: 100%;
    max-height: 100%;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    --default-blue: rgba(15, 117, 188, 1);
}
body {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    display: flex;
    flex-flow: column;
    overflow-x: hidden;
}
#main_content.disabled {
    pointer-events: none !important;
}
div#g_a11y_announcement {
    display: none;
}
.content {
    min-width: 300px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5px 100px 5px;
    box-sizing: border-box;
}
.bottom_shadow {
    box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.2);
}
#header_content {
    flex: 0 1 auto;
    display: flex;
    flex-flow: row;
    direction: rtl;
    height: 100%;
}
header #logo{
    flex: 0 1 auto;
    width: 51px;
    margin-right: 0px;
    cursor: pointer;
    cursor: hand;
    display: block;
}

header #logo img{
    display: inline-block;
    height: 34px;
    width: 59px;
    transform: translate(0, 20%);
}

header #lang {
    flex: 0 1 auto;
    padding-right: 20px;
    font-size: 10pt;
    line-height: 35px;
    padding-top: 7px;
}
header #lang a {
    color: black;
}
header #lang a:visited {
    color: black;
}
.no_drag {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.no_select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
}
.pointer {
    cursor: hand;
    cursor: pointer;
}
.animated_button:not(.disabled) {
    cursor: pointer;
    cursor: hand;
}
.animated_button.disabled {
    opacity: 0.5;
}
#header_menu {
    flex: 1 1 auto;
    display: flex;
    flex-flow: row;
}
.header_spacer {
    flex: 1 1 auto;
}
#menu_end {
    flex: 1 1 auto;
    text-align: left;
    display: none;
}
.header_link {
    flex: 0 1 auto;
    padding: 0 10px 0 20px;
    font-size: 13pt;
    line-height: 35pt;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    text-decoration: none;
    color: black;
    display: block;
}
.header_link:hover {
    text-decoration: underline;
}

.header_button {
    height: 30px;
    margin-top: 10px;
    margin-left: 10px;
    cursor: pointer;
    cursor: hand;
    transition: filter 0.3s, transform 0.3s;
}

#close_header_menu {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 100;
}

#main{
    box-sizing: border-box;
    flex: 1 1 auto;
    overflow: auto;
    width: 100%;
    margin: auto;
    text-align: right;
    direction: ltr;
    overflow-x: hidden;
}

.content_top {
    flex: 0 1 auto;
    margin-top: 50px;
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    flex-flow: column;
    position: relative;
}
.content_body {
    flex: 1 1 auto;
}
footer {
    flex: 0 1 auto;
    margin-bottom: 20px;
    margin-top: 40px;
    color: gray;
    line-height: 30px;
}
footer a {
    text-decoration: none;
    color: gray;
    margin-left: 20px;
}
footer a:hover {
    text-decoration: underline;
}
#breadcrumbs {
    flex: 0 1 auto;
    font-size: 18px;
    line-height: 35px;
    color: gray;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */

}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

#breadcrumbs a {
    color: black;
}
button, .button_link {
    transition: transform 0.1s;
}
button:focus {
    outline: none;
}
button:hover:not(:disabled), .button_link:hover {
    text-decoration: none;
    transform: scale(1.05);
}

#modal, .modal {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 500;
    display: none;
}
#modal_bg, .modal_bg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.75;
}
#modal_content, .modal_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 5px;
}
#modal_content h3{
    margin-top: 0px;
    font-weight: normal;
    text-align: right;
}
#modal_content input {
    width: 100%;
}
.tippy-tooltip.card-preview-theme {
    background-color: rgba(48, 48, 48, 0.4);
}
.card_preview {
    background-color: rgba(48, 48, 48, 0.4);
    position: absolute;
    z-index: 99999;
    top: 100px;
    left: 100px;
    padding: 0px;
    height: 264px;
    touch-action: none;
    pointer-events: none;
    display: none;
}
.card_preview img {
    height: 250px;
    border-radius: 5px;
    margin: 7px;
}
.absolute_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 970px){
    .content {
        padding-right: 15px;
        padding-left: 15px;
        box-sizing: border-box;
    }
}
@media (max-width: 850px){
    #header_menu {
        min-width: 150px;
        flex-flow: column;
        position: absolute;
        z-index: 300;
        background-color: white;
        top: 0px;
        left: 0px;
        -webkit-box-shadow: 0 0 32px rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0 0 32px rgba(0, 0, 0, 0.4);
        box-shadow: 0 0 32px rgba(0, 0, 0, 0.4);
        display: none;

    }
    .header_link {
        text-align: right;
        padding-right: 20px;
        cursor: hand;
        cursor: pointer;
    }
    #menu_end {
        display: block;
    }

    div#header_menu.visible{
        display: block;
    }


}