/*all variables for css*/
:root {
    --primary-color-components: 51,64,209;
    --primary-color: rgb(var(--primary-color-components));
    --secondary-color: #E5B52D;
    --tertiary-color: rgb(114,119,170);
    --black-color: rgb(97, 97, 97);
    --white-color: white;
    --dark-color: #3340d1;
    --gray-color: rgb(137,137,137);
    --medium-gray-color: rgb(200,200,200);
    --light-dark-color: #F1F2Fc;
    --light-gray-color: #F8F8F8;
    --error-color: rgb(248, 42, 15);
    --notification-color: rgb(49, 89, 231); /*notifications*/
    --warning-color: rgb(230,181,46); /*also used in one button*/
    --success-color: rgb(14, 127, 68);
    --shadow: 0px 6px 5px -1px rgba(0,0,0,0.35);
    --mass-email-blue-color: #3340d1;
    --mass-email-yellow-color: #E6B42E;
    --mass-email-text-color-primary: #7277AA;
    --mass-email-text-color-secondary: #C3c5da;
}

* {
    font-family: 'Avenir', Helvetica, sans-serif;
    color: var(--black-color);
    transition: all 0.2s;
    transition-property: transform, color, background-color, opacity;
}
/*all variables for css*/

/*SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP*/
body {
    margin: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    min-width: 360px;
}
*::-webkit-scrollbar {
    position: absolute;
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track {
    background: #f1f1f1;
}
*::-webkit-scrollbar-thumb {
    background: rgb(131, 131, 131);
    border-radius: 100px;
}
*::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
/*SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP SETUP*/

/*COMPONENT CLASSES*/
.button_dark, .button_light, .input_file::-webkit-file-upload-button, .button_yellow, .button_grey {
    border: none;
    border-radius: 15px;
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 15px 35px;
    cursor: pointer;
    font-weight: bold;
}

.button_light, .input_file::-webkit-file-upload-button, .button_grey {
    box-shadow: 0px 0px 0px 1px var(--mass-email-text-color-primary) inset;  
    background-color: var(--white-color);
    color: var(--mass-email-text-color-primary);
}

.button_yellow {
    background-color: var(--mass-email-yellow-color);
    padding-left: 50px;
    padding-right: 50px;
}

.button_grey {
    color: rgb(137,137,137) !important;
    box-shadow: 0px 0px 0px 1px rgb(137,137,137) inset;
}

.button_1 {
    color: var(--white-color);
    background-color: var(--warning-color);
    padding: 25px 80px;
    border-radius: 1000px;
    border-style: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: block;
    margin: 10px auto;
}

.button_1:hover, .button_dark:hover, .button_light:hover, .button_yellow:hover, .button_grey:hover {
    transform: scale(1.05);
}

.button_borderless {
    border-style: none;
    background-color: transparent;
    cursor: pointer;
    display: block;
    color: var(--warning-color);
    font-weight: bold;
    margin: 10px auto;
    padding: 10px;
}

input:disabled,
input[disabled],
button:disabled,
button[disabled]{
  opacity: 40%;
}

input:disabled:hover,
input[disabled]:hover,
button:disabled:hover,
button[disabled]:hover{
  outline: 2px solid var(--error-color);
  cursor: default;
}

.input_checkbox_round {
    min-width: 1em;
    height: 1em;
    background-color: var(--white-color);
    border-radius: 50%;
    vertical-align: -4px;
    border: 2px solid var(--mass-email-text-color-primary);
    appearance: none;
    -webkit-appearance: none;
    outline: #ddd;
    cursor: pointer;
}

.input_checkbox_round:checked {
    background-color: var(--mass-email-yellow-color);
}

.div_white_round_shadow {
    display: inline-block;
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
}

.notification_container p {
    color: var(--white-color);
}

.input_text {
    padding: 12px 15px;
    background-color: var(--light-dark-color);
    border: none;
    color: var(--black-color);
    border-radius: 15px;
    height: 20px;
    min-width: 175px;
    text-overflow: ellipsis;
    border: 1px solid transparent;
}

.input_text::placeholder {
    color: var(--mass-email-text-color-primary);
}

.input_text:focus {
    outline: none;
    border: 1px solid var(--mass-email-text-color-primary);
}

.input_text:focus::placeholder {
    opacity: 0.4;
}

.input_text_area {
    box-sizing: border-box;
    width: 100%;
    min-height: 300px;
    resize: vertical;
    padding: 20px 10px;
    border: 1px solid var(--black-color);
    color: var(--black-color);
    border-radius: 10px;
}

.input_text_area:focus {
    outline: none;
}

.select_1 {
    color: var(--white-color) !important;
    background-color: var(--dark-color);
    border-style: none none solid none;
    border-color: var(--white-color);
    padding: 5px 0px;
    max-width: 220px;
    text-overflow: ellipsis;
    cursor: pointer;
}

.select_1 > * {
    color: var(--white-color) !important;
    text-align: center;
    font-weight: bold;
}

.h1_title {
    display: block;
    margin: 0px auto;
    padding: 20px;
    text-align: center;
}
/*COMPONENT CLASSES*/

/*GENERAL CLASSES*/
.general_center {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.general_thin {
    font-weight: 100;
}

.shadow {
    box-shadow: var(--shadow);
}

.general_notification_color {
    color: var(--notification-color) !important;
}

.general_error_color {
    color: var(--error-color) !important;
}

.general_success_color {
    color: var(--success-color) !important;
}

.general_white_color {
    color: var(--white-color);
}

.general_small_text {
    font-size: 0.75em;
}

.general_no_margin {
    margin: 0;
}

.general_no_underline {
    text-decoration: none;
}

.general_underline {
    position: relative;
}
  
.general_underline::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.general_underline:hover::before {
    left: 0;
    right: auto;
    width: 100%;
}

.general_animate:hover {
    transform: scale(1.05);
}

.general_cursor {
    cursor: pointer;
}

/*GENERAL CLASSES*/

/*CUSTOM CLASSES*/
.custom_website_footer {
    margin-top: 20px;
}

.custom_website_footer p, .custom_website_footer a {
    color: var(--primary-color);
    font-size: 0.8em;
    margin: 0;
}

.custom_cookie_prompt {
    position: fixed;
    bottom: 0;
    left: 0;
    background: var(--primary-color);
    padding: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.custom_cookie_prompt * {
    color: white;
}

.custom_cookie_prompt button {
    color: var(--primary-color);
    background-color: white;
}

.custom_cookie_prompt a {
    font-weight: bold;
}

.custom_home_links_wrapper * {
    display: block;
    text-align: center;
}

.custom_home_links_wrapper * * {
    background-color: var(--primary-color);
    display: inline-block;
    padding: 15px 25px;
    width: 500px;
    border-radius: 15px;
    color: white;
    font-weight: bold;
}

.custom_javascript_popup_full{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    padding: 20px 30px 20px 30px;
    border-radius: 20px;
}
    /*CUSTOM JS*/  

#hidden_fast_register {
    display: block;
    position: fixed;
    left: 25%;
    top: 25%;
    z-index: 9999;
    width: 100%;
    height: 100%;
}

@keyframes custom_popup_wrapper_animation {
    0% {backdrop-filter: blur(0px) brightness(100%);}
    100% {backdrop-filter: blur(5px) brightness(80%);}
}

.custom_popup_wrapper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px) brightness(80%);
    z-index: 99999;
    animation-name: custom_popup_wrapper_animation;
    animation-duration: 0.2s;
}

@keyframes custom_popup_animation {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

.custom_popup {
    min-height: 100px;
    min-width: 200px;
    background-color: var(--white-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    overflow: hidden;
    animation-name: custom_popup_animation;
    animation-duration: 0.2s;
    padding: 25px 15px;
    /* display:flex;
    flex-direction: column;
    justify-content: space-between; */
}

.custom_popup_x {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 0, 0, 0.74);
    color: var(--white-color);
    border-bottom-left-radius: 5px;
    cursor: pointer;
    padding: 3px 20px;
}

.custom_popup_x:hover {
    background-color: red;
}

    /*MASS EMAIL*/
.custom_mass_email_wrapper {
    margin: 50px 150px 50px 150px;
    padding-bottom: 50px;
}

.custom_mass_email_wrapper *{
    color: var(--mass-email-text-color-primary);
}

.custom_mass_email_subject_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    gap: 10px;
}

.custom_mass_email_subject_row > :nth-child(1){
    flex: 1 0 25%;
}

.custom_mass_email_file_inputs_row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
    flex-wrap: wrap;
}

.custom_mass_email_file_inputs_row > p {
    margin: 5px 10px;
    cursor: pointer;
    position: relative;
}

.custom_mass_email_file_inputs_row > p:hover {
    color: var(--error-color);
}

.custom_mass_email_file_inputs_row > p::after {
    --size: 15px;
    content: '';
    position: absolute;
    top: 0;
    right: -17px;
    background-image: url("/static/icons/mass_email_remove_attachment.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: var(--size);
    height: var(--size);
    cursor: pointer;
    display: none;
}

.custom_mass_email_file_inputs_row > p:hover::after {
    display: block;
}

.custom_mass_email_component_section {
    margin-top: 25px;
    margin-bottom: 100px;
    background-color: var(--dark-color);
    border-radius: 10px;
    padding: 5px;
}

.custom_mass_email_component_section > :first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    min-height: 50px;
    margin-left: 10px;
    overflow: hidden;
    gap: 5px;
}

.custom_mass_email_component_section_dropdown {
    background-color: white;
    border-radius: 10px;
    padding: 10px 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.custom_mass_email_component_section_dropdown > * {
    text-align: center;
    cursor: pointer;
    padding: 10px 0;
}

.custom_mass_email_component_section_dropdown > *:hover {
    transform: scale(1.05);
}


.custom_mass_email_component_section_on {
    background-color: var(--white-color);
    color: var(--black-color);
    height: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.custom_mass_email_query_checkboxes {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    margin: 30px 0;
    gap: 40px;
}

.custom_mass_email_query_checkboxes > label {
    display: flex;
    justify-content: left;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
}

.custom_mass_email_query_checkboxes p {
    margin: 0;
}

.custom_mass_email_extra_email_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.custom_mass_email_extra_email_row > :first-child {
    flex: 1 0 50%;
}

.custom_mass_email_recipients_area {
    margin-bottom: 50px;
}

.custom_mass_email_clickable_user {
    cursor: pointer;
    padding: 0 5px;
    margin-left: 25px;
}

.custom_mass_email_all_recipients_clickable {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.custom_mass_email_all_recipients_clickable > div {
    margin: 0 15px;
    flex-grow: 1;
}

.custom_mass_email_all_recipients_clickable > div > div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    overflow: auto;
    max-height: 50vh; 
}

.custom_mass_email_all_recipients_clickable > div > h3{
    color: var(--white-color);
    padding: 25px 40px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.custom_mass_email_all_recipients_clickable > div p{
    margin: 0;
    font-size: 0.75em;
    text-align: left;
}

.custom_mass_email_all_recipients_clickable > :nth-child(1) > h3 {
    background-color: var(--notification-color);
}

.custom_mass_email_all_recipients_clickable > :nth-child(2) > h3 {
    background-color: var(--error-color);
}

.custom_mass_email_all_recipients_clickable > :nth-child(2) p { /* Exception style for red names */
    color: var(--error-color);
    font-size: 0.9em;
}

.custom_mass_email_all_recipients_clickable > :nth-child(3) > h3 {
    background-color: var(--success-color);
}

.custom_mass_email_all_recipients_clickable > * > h3 {
    opacity: 0.6;
    font-weight: 100;
}

.custom_mass_email_all_recipients_clickable > :nth-child(3) span:not(p) {
    color: var(--success-color);
}

.custom_mass_email_all_recipients_clickable > :nth-child(1) span:not(p) {
    color: var(--notification-color);
}

.custom_mass_email_user_popup > input{
    opacity: 60%;
}

.custom_mass_email_user_popup > :nth-child(2){
    display: flex;
    gap: 10px;
}

@media only screen and (max-width: 880px) {
    .custom_mass_email_user_popup > :nth-child(2){
        flex-direction: column;
    }
}

.custom_mass_email_user_popup > :nth-child(3){
    display: flex;
    margin-top: 20px;
    gap: 10px;
    justify-content: center;
}

.custom_mass_email_hyperlink_popup {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 40px 20px 10px 20px;
}

.custom_mass_email_hyperlink_popup > input{
    min-width: 250px;
}

.custom_mass_email_hyperlink_popup > button{
    width: fit-content;
    margin: 10px auto 0 auto;
}

.custom_mass_email_template_row {
    display: flex;
    margin: 25px 0 50px 0;
    gap: 10px;
}

.custom_mass_email_subject_row_2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom_mass_email_subject_row_2 span{
    margin: 0 5px;
}

.custom_mass_email_attachment {
    cursor: pointer;
}

.custom_mass_email_attachment:hover {
    color: var(--warning-color);
}

#add_filter_tag {
    cursor: pointer;
    font-size: 1.75em;
    padding-left: 9px;
    outline: 2px var(--mass-email-text-color-primary) solid;
    border-radius: 500px;
    width: 25px;
}

#add_filter_tag:hover {
    transform: scale(1.2);
    background-color: var(--mass-email-yellow-color);
}

.crossed_out {
    text-decoration: line-through;
    text-decoration-color: var(--error-color);
    opacity: 30%;
}

.custom_mass_email_local_filter {
    margin-top: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.custom_mass_email_local_filter > div {
    margin: 10px;
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom_mass_email_local_filter > div * {
    position: relative;
    padding: 10px;
    border-radius: 15px;
    background-color: var(--light-dark-color);
    color: var(--mass-email-text-color-primary);
    cursor: pointer;
}

.custom_mass_email_local_filter > div *:hover {
    color: var(--error-color);
}

.custom_mass_email_local_filter > div *:hover::after{
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    height: 10px;
    background-image: url(/static/icons/mass_email_remove_attachment.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.custom_mass_email_webmaker_area {
    border: none;
    border-radius: 5px;
    outline: 1px solid var(--black-color);
    width: 100%;
    min-height: 700px;
}
    /*MASS EMAIL*/

    /*DASHBOARD*/
.custom_dashboard_wrapper {
    padding: 30px;
    width: 100vw;
    background: linear-gradient(135deg, rgba(13,30,75,1) 0%, rgba(4,50,147,1) 100%);
    min-height: 100vh;
    box-sizing: border-box;
}

.custom_dashboard_middle {
    position: absolute;
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 100px;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 50px 0;
    box-sizing: border-box;
}

.custom_dashboard_middle > :nth-child(1) {
    height: auto;
}

.custom_dashboard_middle > :nth-child(2) {
    flex: 1 1;
    object-fit: contain;
    min-width: 400px;
}

.custom_dashboard_middle > :nth-child(3) {
    height: auto;
}

.custom_dashboard_middle_grid {
    --cell-size: 150px;
    width: calc(var(--cell-size) * 3);
}

.custom_dashboard_middle_grid > div {
    width: var(--cell-size);
    height: var(--cell-size);
    text-align: center;
    margin: 20px;
    vertical-align: top;
    cursor: pointer;
}

.custom_dashboard_middle_grid > div:hover {
    transform: scale(1.05);
}

.custom_dashboard_middle_grid p {
    font-size: small;
    color: var(--primary-color);
}

.custom_dashboard_profile {
    text-align: center;
}

.custom_dashboard_profile > p:first-of-type {
    color: var(--primary-color);
    font-weight: bold;
}

.custom_dashboard_profile_wrapper > :first-child {
    margin-top: 80px;
    margin-bottom: 200px;
}
    /*DASHBOARD*/
    /*EVENTS*/
.custom_event_card {
    --width: 900px;
    --height: 450px;
    max-width: var(--width);
    min-height: var(--height);
    display: flex;
    gap: 20px;
    border-radius: 20px;
    background-color: var(--dark-color);
    margin: 20px;
    overflow: hidden;
    flex-wrap: wrap;
}

.custom_event_card *:not(button) {
    color: white;
}

.custom_event_card button {
    margin: auto;
    display: block;
    margin-top: 50px;
}

.custom_event_card > :first-child {
    flex: 1 1;
    height: var(--height);
    min-width: calc(var(--width) * 0.25);
    background-size: cover;
    background-position: center;
}

.custom_event_card > :last-child {
    width: calc(var(--width) * 0.5);
    padding: 10px;
}

    /*EVENTS*/
/*CUSTOM CLASSES*/

    /*EVENT*/
.custom_event_wrapper {
    margin: 50px 200px 50px 200px;
    padding-bottom: 50px;
}

.custom_event_wrapper > div{
    padding: 20px;
}

.custom_event_block_upper {
    display: flex;
    background-color: var(--dark-color);
    flex-wrap: wrap;
    gap: 20px;
}

.custom_event_block_upper img {
    width: 250px;
    height: 300px;
    object-fit: cover;
}

.custom_event_block_upper > div{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex: 1 0 300px;
}

.custom_event_block_upper button{
    padding: 10px 40px;
    box-shadow: none;
}

.custom_event_block_lower {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.custom_event_block_lower > :nth-child(1){
    flex: 0 0 60%;
}

.custom_event_block_lower > :nth-child(2){
    flex: 1 0 250px;
}



    /*EVENT*/
/*CUSTOM CLASSES*/


.custom_company_event_final_price {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 150px;
    height: 70px;
    border-radius: 15px;
    margin: 20px 50px;
}

.custom_company_event_final_price > p {
    color: var(--white-color);
    margin: 15px 0 10px 0;
}

.custom_company_event_final_price > div {
    background-color: var(--white-color);
    width: 100px;
    height: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.custom_company_event_final_price > div > p {
    color: var(--primary-color);
    text-align: center;
}




/*CUSTOM ACCOUNT*/
.custom_accounts_form_wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    padding: 50px;
    box-sizing: border-box;
    background-image: url(/static/images/accounts_background.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

.custom_accounts_form_wrapper_title, .custom_accounts_form_wrapper_title * {
    color: var(--secondary-color);
    font-weight: lighter;
}

.custom_accounts_form_wrapper_title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.custom_accounts_form {
    position: absolute;
    display: flex;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    border-radius: 40px;
    width: 350px;
    min-height: 400px;
    justify-content: space-between;
    font-size: 0.9em;
}

.custom_accounts_form_errors {
    font-size: 0.8em;
}

.custom_accounts_form_company {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.custom_accounts_form_company * {
    color: var(--white-color) !important;
}

.custom_accounts_form_company .custom_accounts_form_input {
    border-color: var(--white-color);
    color: var(--white-color)
}

.custom_accounts_form_company input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.custom_accounts_form_company input[type=number] {
  -moz-appearance: textfield;
}

.custom_accounts_form_company .custom_accounts_form_input::placeholder {
    color: var(--white-color);
    font-size: 1rem;
}

.custom_accounts_form_company .custom_accounts_form_button {
    background-color: var(--white-color);
    color: var(--primary-color) !important;
}

.custom_accounts_logo {
    position: absolute;
    bottom: 20px;
    left: 50%;
    padding: 10px;
    transform: translateX(-50%);
}

.custom_accounts_form_button {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
    border-style: none;
    padding: 20px 40px;
    font-size: 1.3em;
    border-radius: 200px;
    cursor: pointer;
    width: 100%;
    margin: 20px 0;
}

.custom_accounts_form_button:hover {
    transform: scale(1.05);
}

.custom_accounts_form_input {
    background-color: transparent;
    border-style: none;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: var(--primary-color);
    font-size: 1.2em;
    margin: 7px 0;
    color: var(--primary-color);
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
    line-height: 150%;
}

.custom_accounts_form_name {
    color: var(--primary-color);
    text-align: center;
    font-weight: lighter;
}

.custom_accounts_form_link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.custom_accounts_form_link:hover {
    transform: scale(1.05);
}

.custom_accounts_form_link_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

/*CUSTOM ACCOUNT*/

/*CUSTOM COMPANY*/
.custom_company_event_wrapper {
    background-color: #19249f;
    background-image: url(/static/images/company_payment_details_background_image.jpg);
    background-repeat: no-repeat;
    padding-bottom: 100px;
}

.custom_company_event_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;
}

.custom_company_event_header_middle {
    text-align: center;
}

.custom_company_event_header_middle * {
    color: var(--secondary-color);
    font-weight: lighter;
}

.custom_company_event_header_logout {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.custom_company_event_payment_details_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    border-radius: 40px;
    overflow: hidden;
    margin: 50px 100px;
}

.custom_company_event_payment_details_left {
    flex: 0 1 50%;
    background-image: url(/static/images/company_payment_details_image.jpg);
    background-position: top left;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom_company_event_payment_details_left * {
    text-align: center;
    color: white;
}

.custom_company_event_payment_details_left h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.custom_company_event_payment_details_right {
    flex: 1 0 50%;
    background-color: white;
    padding: 20px 20px 50px 20px;
}

.custom_company_event_payment_details_right > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
}

.custom_company_event_payment_details_right * {
    color: var(--tertiary-color);
    font-size: large;
}

.custom_company_event_payment_details_right label {
    text-align: left;
}

.custom_company_event_payment_details_button {
    color: white;
    border-radius: 500px;
    display: block;
    margin: auto;
    margin-top: 80px;
    padding: 30px 50px;
    width: 50%;
    min-width: 170px;
}

.custom_company_event_payment_details_right input:not(input[type="radio"]) {
    border-style: none;
    border-radius: 10px;
    background-color: rgb(243,243,248);
    width: 50%;
    padding: 20px;
    font-size: 0.9em;
}

.custom_company_event_payment_details_license_holder {
    flex-wrap: wrap;
}

.custom_company_event_payment_details_license_holder div {
    display: flex;
    justify-content: space-evenly;
    width: 50%;
}

.custom_company_event_payment_details_license_holder small {
    font-size: 0.6em;
    opacity: 0.8;
    margin-top: 15px;
}

.custom_company_event_payment_details_right {
    text-align: center;
    font-weight: lighter;
}

.custom_company_event_intro_text {
    color: var(--secondary-color);
    text-align: center;
    font-weight: lighter;
}

.custom_company_event_intro_hr {
    width: 80%;
    border-style: solid;
    border-bottom-style: none;
    border-right-style: none;
    border-color: white;
    opacity: 0.7;
}

.custom_company_event_step {
    color: inherit;
}

.custom_accomodation_wrapper_wrapper {
    background-color: white;
    margin: 90px 100px;
    border-radius: 50px;
    min-height: 500px;
    max-height: 800px;
    padding: 30px 50px 50px 50px;
    position: relative;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom_table_wrapper_wrapper_wrapper {
    background-color: white;
    margin: 50px 100px;
    border-radius: 50px;
    min-height: 500px;
    padding: 30px 50px 50px 50px;
    position: relative;
}

.custom_table_wrapper_wrapper_wrapper::after {
    content: "";
    z-index: 1;
    background-image: linear-gradient(to right, rgba(255,255,255, 0), rgba(255,255,255, 1) 90%);
    height: 100%;
    width: 40px;
}

.custom_table_wrapper_wrapper h1 {
    margin-top: 0px;
    margin-bottom: 30px;
    margin-left: 10px;
    color: #7177AF;
    text-align: center;
    font-weight: lighter;
}

.custom_table_buttons {
    margin: 30px 10px 20px 10px;
    display: flex;
    justify-content: space-between;
}

.custom_table_buttons > :first-child {
    display: flex;
    align-items: center;
}

.custom_table_buttons > :first-child > * {
    --size: 60px;
    width: var(--size);
    height: var(--size);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.custom_table_buttons > :first-child > *:hover {
    transform: scale(1.1);
}

.custom_table_buttons > * > * {
    margin-right: 15px;
}

.custom_user_select_popup_button_wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
}

.custom_user_select_popup_button_wrapper button {
    margin: 15px;
}

.custom_user_select_popup_input {
    border-style: none;
    border-radius: 10px;
    background-color: rgb(247, 247, 247);
    width: 50%;
    padding: 20px;
    font-size: 0.9em;
    width: 75%;
    display: block;
    margin: auto;
}

.custom_dac_register_symbol {
    font-size: 0.5em;
}

.custom_table_save {
    padding: 20px 50px;
    font-size: 1.2em;
}

.custom_table_save_wrapper {
    display: flex;
    align-items: center;
}

.custom_table_save_wrapper > p {
    margin-right: 40px;
}

.custom_company_navigation_buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 30px 0;
}

.custom_company_navigation_buttons button {
    margin: 15px 50px;
    padding: 30px 80px;
    border-radius: 500px;
    font-size: 1.2em;
    width: 450px;
    max-width: 450px;
    min-width: 200px;
}

.custom_table_wrapper {
    --fade-width: 100px;
    position: relative;
}

.custom_table_wrapper_fade {
    position: absolute;
    top: 0;
    right: 10px;
    width: var(--fade-width);
    height: calc(100% - 10px);
    background: linear-gradient(to right, rgba(255,255,255, 0), rgba(255,255,255, 1) 90%);
    z-index: 3;
}

.custom_table_wrapper_inner {
    overflow-x: auto;
    overflow-y: scroll;
    max-height: 80vh;
}

.custom_table_wrapper table {
    border-collapse: collapse;
    margin-right: var(--fade-width);
    display: inline-block;
    position: relative;
}

.custom_table_wrapper thead tr {
    --border-radius: 10px;
}

.custom_table_wrapper thead tr th:first-of-type {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.custom_table_wrapper thead tr th {
    color: white;
    padding: 25px 0;
    font-weight: lighter;
    font-size: 0.9em;
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    z-index: 2;
}

.custom_table_wrapper table input, .custom_table_wrapper select {
    border-style: none;
    border-radius: 10px;
    font-size: 0.9em;
    padding: 5px 10px;
    margin: 0 10px;
    background-color: inherit;
    text-align: center;
}

.custom_table_wrapper select {
    color: var(--primary-color);
}

.custom_table_wrapper table tr {
    position: relative;
}

.custom_table_wrapper table td {
    padding: 15px 0;
    border-right: solid;
    border-right-color: rgb(222, 222, 222);
    border-right-width: 1px;
    text-align: center;
}

.custom_table_wrapper table tr > td:nth-child(2) {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 1;
}

.custom_table_wrapper table tr > td:nth-child(3) {
    position: sticky;
    left: 210px;
    background-color: white;
    z-index: 1;
}

.custom_table_row_remove_button {
    --size: 20px;
    position: absolute;
    z-index: 100;
    top: 50%;
    right: auto;
    transform: translateY(-50%);
    margin-left: 5px;
    background-image: url("/static/icons/form_remove_connection.png");
    width: var(--size);
    height: var(--size);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.custom_table_row_remove_button:hover {
    transform: translateY(-50%) scale(1.1);
}

.custom_table_wrapper table > tr:nth-of-type(odd):not(:first-of-type) {
    background-color: #F2F3F7;
}

.custom_table_row_crossed_out {
    position: relative;
}

.custom_table_row_crossed_out * {
    pointer-events: none;
}

.custom_table_row_crossed_out::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 50px);
    height: 1px;
    background-color: var(--primary-color);
    z-index: 1;
    transform: translateX(-50%);
}

/*CUSTOM COMPANY*/

.custom_accomodation_choice_area {
    display: flex;
    justify-content: space-between;
    margin: 10px;
    height: 580px;
    --card-color: var(--primary-color);
}

.custom_accomodation_choice_area_left {
    display: flex;
    flex: 1 1 auto;
    overflow: auto;
    align-items: center;
}

.custom_accomodation_choice_area_left > div {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 15px 0;
}

.custom_accomodation_choice_area_right {
    flex: 0 0 auto;
    width: 420px;
    border-left-style: solid;
    border-left-color: rgb(221, 221, 221);
    border-left-width: 1px;
    overflow-y: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.custom_accomodation_choice_area_right p {
    margin-top: 0;
}

.custom_accomodation_choice_area_right > div {
    justify-content: flex-start;
    padding: 15px 0 5px 0;
}

.custom_accomodation_choice_area_right > div > hr {
    border-top-style: none;
    border-left-style: none;
    border-right-style: none;
    border-bottom-color: rgb(221, 221, 221);
    width: 90%;
    margin-left: 0;
    margin-top: 40px;
}

.custom_accomodation_wrapper_wrapper_title_wrapper {
    display: flex;
    justify-content: space-between;
    padding-right: 90px;
}

.custom_activity_group_popup_info_text {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0 !important;
}

.custom_activity_group_popup_info_text h2 {
    margin-bottom: 10px;
}

.custom_activity_group_popup_info_text * {
    color: white;
    font-weight: lighter;
}

.custom_activity_group_popup_info_text ol {
    padding-left: 20px;
}

.custom_activity_group_popup_info_text ol * {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.custom_booking_dom_inside {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.custom_booking_dom_inside > :last-child {
    margin-left: 10px;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.custom_company_splitter_base {
    margin: 50px;
    min-height: 75vh;
}

.custom_company_splitter_base > div {
    display: flex;
    justify-content: center;
    gap: 75px;
    align-items: center;
    flex-wrap: wrap;
}

.custom_company_splitter_base * {
    text-align: center;
}

.custom_company_splitter_base h2 {
    color: var(--primary-color);
    text-align: center;
}

.custom_company_splitter_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 300px;
    width: 400px;
}

.custom_company_splitter_card img {
    width: 400px;
    object-fit: cover;
    border-radius: 15px;
}

/* CSS for the event grid */
.custom_event_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.custom_event_item {
    width: 512px;
    margin: 20px;
    text-align: center;
    display: inline-block;
}

.custom_event_image {
    width: 100%;
    max-width: 512px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

a[href] .custom_event_image:hover {
    transform: scale(1.05);
}

.custom_event_title {
    margin-top: 20px;
    color: var(--primary-color);
}

.custom_event_description {
    margin-top: 10px;
}

/*These are used both in big_form and in create_okay_popups*/
.custom_form_card_buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.custom_form_card_buttons > * {
    border-radius: 50px;
}
/*end of section*/

/* CSS FOR e poster upload */

.custom_eposter_upload_wrapper p, .custom_eposter_upload_wrapper input {
    color: var(--primary-color);
    text-align: center;
    font-weight: bold;
}

.custom_eposter_upload_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.custom_eposter_upload_button {
    border-radius: 500px;
    background-color: var(--primary-color);
    width: 400px;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
}

.custom_eposter_viewer_wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.custom_eposter_viewer_wrapper > h1 {
    text-align: center;
    font-size: 2em;
    color: var(--white-color);
}

.custom_content_tuples_wrapper {  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    margin-top: 100px;
    height: 1200px;
}

.custom_eposter_viewer_wrapper button {
    margin: 25px 10px;
    padding: 50px 50px;
    border-radius: 10px;
    border: none;
    background-color: var(--white-color);
    color: var(--primary-color);
    font-size: 2em;
    cursor: pointer;
    width: 900px;
}

.eposter_viewer_alt {
    font-size: 1.5em !important;
    width: 750px !important;
}

.custom_e_poster_iframe {
    width: 100vw;
    height: 100vh;
    border-radius: 5px;
    box-shadow: 1px 5px 8px 1px rgba(0,0,0,0.5);
    margin: auto;
    margin-left: calc(-1 * var(--body-padding));
    display: block;
}

.custom_back_button {
    --size: 100px;

    position: fixed;
    bottom: 0;
    left: 0;
    width: var(--size);
    height: var(--size);
    border-radius: 500px;
    border: none;
    box-shadow: 1px 5px 8px 1px rgba(0,0,0,0.5);
    margin: 60px;
    font-size: 2.5em;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 999;
}

.custom_back_button:hover {
    transform: scale(1.1);
}

.custom_back_button span {
    color: inherit;
}

/*MEDIA*/
    /*DESKTOP VIEW FROM 1400PX*/
@media (max-width: 1400px) {
    .custom_mass_email_wrapper{
        margin-left: 75px;
        margin-right: 75px;
    }

    .custom_table_buttons button {
        font-size: 1em;
        padding: 20px 10px;
    }
}
    /*DESKTOP VIEW FROM 1400PX*/

    /*TABLET VIEW FROM 1100PX*/
@media (max-width: 1100px) {
    .custom_mass_email_wrapper {
        margin-left: 50px;
        margin-right: 50px;
    }
}
    /*TABLET VIEW FROM 1100PX*/

    /*PHONE VIEW FROM 660PX*/
@media (max-width: 660px) {
    .custom_mass_email_wrapper{
        margin-left: 20px;
        margin-right: 20px;
    }

    .custom_document_upload_wrapper form textarea {
        width: 90%;
        border-radius: 0;
    }
}
    /*PHONE VIEW FROM 660PX*/

    /*PHONE VIEW FROM 480PX (BLOCK IMAGES)*/
@media (max-width: 480px) {
    .custom_mass_email_wrapper{
        margin-left: 5px;
        margin-right: 15px;
    }
}
    /*PHONE VIEW FROM 480PX (BLOCK IMAGES)*/
/*MEDIA*/
