*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
:root{
    --primary: #666B4D;
    --secondary: #8F7D52;
    --detail: #DCBFA6;

    --white: #FFFFFF;
    --black: #000000;

    --text-white: #F0EADF;
}

a{
    color: var(--black);
}

*[anim-scroll]{
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}


html, body{
    background-color: var(--white);
    font-family: "Roboto", sans-serif;
}

div.card{
    width: 100%;
    padding: 32px;
    border-radius: 10px;
    background-color: var(--white);
}

.bg-detail{
    background-color: var(--detail);
}

.bg-white{
    background-color: var(--white);
}

.text-muted{
    opacity: 0.5;
}

.font-1 {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lr_cont_bb{
    border-bottom: 1px solid var(--primary);
}
.lr_cont{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
}
    .lr_cont > div{
        width: 100%;
    }

.inner-500{
    max-width: 500px;
    width: 100%;
}

.p-16{
    padding: 16px;
}

.mt-8{
    margin-top: 8px;
}
.mt-16{
    margin-top: 16px;
}
.mt-32{
    margin-top: 32px;
}
.gap-8{
    gap: 8px;
}
.gap-16{
    gap: 16px;
}
.gap-32{
    gap: 32px;
}

.border-radius-10{
    border-radius: 10px;
}

.w-100{
    width: 100%;
}
.h-100{
    height: 100%;
}
.flex{
    display: flex;
}
.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.justify-content-between{
    justify-content: space-between;
}
.align-items-center{
    align-items: center;
}
.flex-col{
    flex-direction: column;
}
.flex-1{
    flex: 1;
}
.text-center{
    text-align: center;
}
.table-striped tr td{
    padding: 8px;
}
.table-striped tr:nth-child(even) {
    background-color: #666b4d3b;
}
    th{
        padding-bottom: 8px;
        border-bottom: 1px solid var(--primary);
    }
.cursor-pointer{
    cursor: pointer;
}
.small_btn{
    max-width: 200px;
    width: 100%;
    border: none;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 12px; 
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    border-radius: 4px;
    transition: all 100ms ease-in-out;
}
    .small_btn:hover{
        opacity: 0.8;
    }
.primary_btn{
    width: 100%;
    border: none;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 16px; 
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    border-radius: 4px;
    transition: all 100ms ease-in-out;
}
    .primary_btn:hover{
        opacity: 0.8;
    }
a.action_btn{
    text-decoration: none;
}
.action_btn{
    width: 100%;
    border: none;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 12px; 
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    border-radius: 4px;
    transition: all 100ms ease-in-out;
}
    .action_btn:hover{
        opacity: 0.8;
    }
.default_btn{
    width: 100%;
    border: none;
    background-color: #EEE;
    color: var(--black);
    padding: 8px 12px; 
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    border-radius: 4px;
    transition: all 100ms ease-in-out;
}
    .default_btn:hover{
        opacity: 0.8;
    }
.remove_btn{
    width: 100%;
    border: none;
    background-color: #C70000;
    color: var(--white);
    padding: 8px 12px; 
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    border-radius: 4px;
    transition: all 100ms ease-in-out;
}
    .default_btn:hover{
        opacity: 0.8;
    }
.def-shadow{
    box-shadow: 0px 0px 6px rgba(0,0,0,0.2);
}
#app{
    width: 100%;
    min-height: 100vh;
    height: 100%;
    display: flex;
}
#menu{
    width: 100%;
    max-width: 250px;
    background-color: #FFF;
}
div.menu_left_container{
    height: 100%;
    padding: 16px;
}
    div.menu_left_header img{
        max-width: 180px;
    }

        div.menu_left_body{
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 32px;
            padding: 0 22px;
        }
            div.menu_item{
                display: flex;
                align-items: center;
                width: 100%;
                padding: 12px 12px;
                gap: 8px;
                cursor: pointer;
                font-size: 20px;
            }
                div.menu_item_active{
                    border-radius: 1000px;
                    background-color: var(--primary);
                    color: #FFF;
                }

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}
.rotate-icon{
    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}

div#app_body{
    width: 100%;
}
    div.menu_top{
        padding: 32px;
        background-color: #FFF;
        justify-content: space-between;
        align-items: center;
    }
        div.menu_top_right{
            font-size: 22px;
        }

div.app_cont{
    position: relative;
    width: 100%;
    height: calc(100% - 96px);
    padding: 32px;
    border-top-left-radius: 20px;
    background-color: #F0EADF;
}


.login_form_container{
    padding: 32px 64px;
    border-radius: 10px;
}
    .login_form_container form{
        margin-bottom: 32px;
    }

/*
    MODAL styling
*/

div.modal{
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    width: 100%;
    padding: 32px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.2);
}
    div.modal_actions{
        width: 100%;
        display: flex;
        gap: 16px;
        justify-content: flex-end;
        align-items: center;
    }
        div.modal_actions button{
            max-width: 150px;
        }

/*
    form styling
*/
    div.form_item_double{
        width: 100%;
        display: flex;
        gap: 16px;
    }

    div.form_item, div.form_item_btn{
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: left;
        margin-bottom: 16px;
    }
        div.form_item input{
            /* font-size: 18px; */
            padding: 8px 12px;
            border: none;
            border-bottom: 1px solid var(--black);
            font-family: "Roboto", sans-serif;
            font-weight: 400;
            font-style: normal;
            outline: none;
        }
        div.form_item select{
            /* font-size: 18px; */
            padding: 8px 12px;
            border: none;
            border-bottom: 1px solid var(--black);
            font-family: "Roboto", sans-serif;
            font-weight: 400;
            font-style: normal;
            outline: none;
        }
        div.form_item textarea{
            /* font-size: 18px; */
            padding: 8px;
            border: none;
            border: 1px solid var(--black);
            font-family: "Roboto", sans-serif;
            font-weight: 400;
            font-style: normal;
            outline: none;
        }

/*
    SETTINGS WEBSITE STYLING
*/

div.setting_column{
    max-width: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
    label span{
        width: 200px;
    }

/* CHECKBOX */
input[type="checkbox"] {
    --s:30px; /* adjust this to control the size*/
    
    height:var(--s);
    aspect-ratio:2/1;
    padding:calc(var(--s)/5);
    border-radius:var(--s);
    background:
      radial-gradient(farthest-side,#fafafa 85%,#0005,#0000) left/var(--s) 100% no-repeat,
      linear-gradient(90deg,#20b68f 50%,#939393 0) right/200% 100% content-box;
    transition:0.5s;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
    border-bottom: none !important;
  }
  input:checked {
    background-position:right,left;
  }
  
.menu_left_body a{
    text-decoration: none;
}

/*
    PROGRAMMA PAGE STYLING
*/
div.program_row{
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    background-color: #F0EADF;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 16px;
}
div.program_add_icon{
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background-color: var(--primary);
    color: var(--white);
}
a.support_icon{
    padding: 8px 12px;
    border-radius: 10px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
}

/* 
    RSVP PAGE STYLING
*/
div.rsvp_dashboard{
    max-width: 150px;
    width: 100%;
}
div.rsvp_setting_item{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
    div.rsvp_setting_item:hover{
        background-color: #EEE;
    }
div.card_navigator{
    width: 100%;
    display: flex;
    border-bottom: 1px solid var(--primary);
}
    div.tab{
        width: 120px;
        padding: 12px;
        text-align: center;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        cursor: pointer;
    }
    div.tab_active{
        background-color: var(--primary);
        color: var(--white);
    }
    div.tab_container{
        display: none;
        padding: 10px;
    }

.object-fit-cover{
    object-fit: cover;
}
.object-fit-contain{
    object-fit: contain;
}
.border-radius-circle{
    border-radius: 9999px;
}
.custom-file-upload{
    padding: 16px;
    border: 2px dashed #00000040;
    width: 170px;
    height: 170px;
    border-radius: 10000px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.3),rgba(255,255,255,0.3));
}
#image_container, #image_container_1, #image_container_2, .uploadImageContainer{
    position: absolute;
}
#image_container img, #image_container_1 img, #image_container_2 img, .uploadImageContainer img{
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 1000px;

}

.dropdown_container{
    position: relative;
    width: 100%;
}
.dropdown_container a{
    text-decoration: none;
}
.dropdown_list{
    display: none;
    position: absolute;
    z-index: 999;
    background-color: var(--white);
    width: 100%;
    box-shadow: 6px 6px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    margin-top: 8px;
}  
    .dropdown_item{
        font-size: 18px;
        padding: 12px 8px;
        cursor: pointer;
    }
        .dropdown_item:hover{
            opacity: 0.7;
        }
    .dropdown_divider{
        margin: 0 auto;
        width: 70%;
        height: 1px;
        background-color: rgba(0,0,0,0.2);
    }

div.share_template_item{
    padding: 16px;
}





div.menu_top_right_inner{
    display: flex;
}
div.menu_top_right_responsive{
    display: none;
    position: relative;
    font-size: 24px;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
}
    div.menu_top_right_responsive:hover{
        cursor: pointer;
        background-color: #EEE;
    }
    div.menu_top_right_res_container{
        display: none;
        width: 200px;
        position: absolute;
        top: 100%;
        z-index: 9;
        right: 0;
        background: #FFF;
        padding: 16px;
        box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    }
        div.menu_top_right_res_container *{
            font-size: 18px;
            text-decoration: none;
        }
    div.menu_left_header i{
        display: none;
    }
@media only screen and (max-width: 1280px) {
    .dashboard_card_container{
        flex-wrap: wrap;
    }
    div.menu_top_right_inner{
        display: none;
    }
    div.menu_top_right_responsive{
        display: flex;
    }
}

@media only screen and (max-width: 1230px) {
    div.invite_container, div.story_container, div.program_container, div.info_container, div.ceremoniemeesters_container{
        flex-wrap: wrap;
    }
    div.card_website{
        display: none;
    }
    #master_container{
        flex-wrap: wrap;
    }
    #websiteSettingsForm{
        flex-direction: column;
    }
}

@media only screen and (max-width: 1100px) {
    div.rsvp_container{
        flex-wrap: wrap-reverse;
    }
}

@media only screen and (max-width: 800px) {
    div.menu_item p{
        display: none;
    }
    div.menu_left_header{
        height: 100px;
    }
    div.menu_left_header i{
        display: block;
    }
    div.menu_left_header img{
        display: none;
    }
    #menu{
        max-width: 70px;
    }
    div.menu_left_container, div.menu_left_body{
        padding: 0;
    }

    div.menu_left_body{
        align-items: center;
    }
    div.dashboard_card_container h2{
        font-size: 18px;
    }
}

@media only screen and (max-width: 600px) {
    div.menu_top_left h2{
        font-size: 18px;
    }
    #dashboard .card{
        padding: 16px;
    }
    div.app_cont{
        padding: 16px;
    }
}

@media only screen and (max-width: 580px) {
    div.program_row{
        flex-wrap: wrap;
    }
        div.program_row div.form_item:has(.fa-trash-can){
            text-align: center;
        }
    div.extra_image_item{
        flex-direction: column;
    }
}
@media only screen and (max-width: 560px) {
    #storyForm .form_item_double{
        flex-wrap: wrap;
    }
}
