@font-face {
    font-family: SwissBlack;
    src: url("fonts/Swiss721BT-Black.otf") format("opentype");
}

@font-face {
    font-family: SwissMedium;
    src: url("fonts/Swiss721BT-Medium.otf") format("opentype");
}

@font-face {
    font-family: SwissLight;
    src: url("fonts/Swiss721BT-Thin.otf") format("opentype");
}

@font-face {
  font-family: "DIN Condensed Bold";   /* you choose this name */
  src: url("fonts/DIN-Condensed-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
/* 
@font-face {
    font-family: Kleemax;
    src: url("fonts/kleemax.otf") format("opentype");
} */



:root {
    --primary-color: #cae76f; /* #71ffc5; */
    --secondary-color: #ffeb67;
    --background-grey: #d9d9d9;
    --off-white: #CCC;
    --background-1: #EEE;
    --text-color: #151515; 
    --dark-grey: #333;
    --dark-grey2:#555;
    --light-grey: #CCCCCC;
    --mid-grey: #AAAAAA;
    --error: #FF0000;
    --green: #33c27f;
  }

p.small, .small{font-size: 11px; line-height: 1.3em;}

a:active, a:focus {
    outline: none;
    border: none;
}

.condensed{
font-family: "Roboto Condensed", 'helvetica neue', Helvetica, Arial, sans-serif;
font-optical-sizing: auto;
}

html{
    background: var(--background-grey);
    color: #151515;
    font-family: "SwissMedium", 'helvetica neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    width: 100%;
}

body{
    padding: 0; margin: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body.dark{background: var(--dark-grey2);}

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

.dark a{color: var(--off-white);}

span.red{color: red;}

body .margin_top_10{margin-top: 10px;}
body .margin_top_20{margin-top: 20px;}
body .margin_top_30{margin-top: 30px;}
body .margin_top_40{margin-top: 40px;}
body .margin_top_50{margin-top: 50px;}
body .margin_top_60{margin-top: 60px;}
body .margin_top_70{margin-top: 70px;}
body .margin_top_80{margin-top: 80px;}

body .topBorderThick{border-top: 4px solid var(--text-color); padding-top: 8px;}
body.dark .topBorderThick{border-top: 4px solid var(--light-grey); }

body .topBorderThin{border-top: 1px solid var(--text-color); padding-top: 8px;}
body.dark .topBorderThin{border-top: 1px solid var(--light-grey); }

#overhead{
    position: fixed;
    width: calc(100% - 40px); height: 20px; 
    padding: 0px 20px;
    top: 0px; left: 0;
    background: black;

}

#masthead{
    width: 100%; 
    height: 40px; 
    background: var(--background-1);
    position: fixed;
    top: 20px; left: 0;
    display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

#masthead .cart_box{
    height: 40px;
    width: 40px; 
    position: relative; 
    margin-left: 10px; 
}

#masthead .cart_box span.icon{
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translateX(-50%) translateY(-50%);
}



#masthead .cart_box #cart_no_items{
    position: absolute; 
    top: calc(50% - 12px); left: calc(50% + 12px); 
    transform: translateX(-50%) translateY(-50%) scale(0);
    opacity: 0;
    font-size: 10px; 
    color: white; 
    padding: 5px; 
    width: 10px; height: 10px; 
    text-align: center; 
    background: var(--text-color); 
    border-radius: 50%; 
    transition-duration: 0.25s;
}

.dark #masthead .cart_box #cart_no_items{
    background: white; 
    color: var(--text-color);
}

#masthead .cart_box.active #cart_no_items{
    transform: translateX(-50%) translateY(-50%) scale(1);
    opacity: 1;
}

body.dark #masthead{
    background: var(--text-color);
    color: var(--off-white);
}

#masthead .main_menu{
    width: calc(100% - 40px);
    padding: 0 auto;
    height: 40px;
    display: flex;
  align-items: center;
  justify-content: space-between;
    
}

#masthead .toggle_light_dark{
    font-size: 12px; padding: 5px 25px 5px 5px; 
    cursor: pointer;
    color: var(--text-color);
    position: relative;
}

.dark #masthead .toggle_light_dark{
    color: var(--light-grey);
}

#masthead .toggle_light_dark::after{
    content: "";
    position: absolute; 
    top: 50%; right: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 20px; height: 20px; border: 1px solid var(--light-grey);
    background: var(--text-color);

}

.dark #masthead .toggle_light_dark::after{background: var(--light-grey);}

#masthead .main_menu #logo{
    width: 100px; height: 60px; 
    background: url(images/brand/adapt-logo-dark.svg) no-repeat; 
    background-size: contain;
    background-position: center left;
    text-decoration: none;
    position: relative;
}


body.dark #masthead .main_menu #logo{
    filter: invert(100%);
}

#masthead .main_menu #logo span{color: var(--text-color); font-size: 11px; position: absolute; top: 50%; left: 100%; transform: translateY(-50%); }

.align_left{text-align: left;}
.align_center{text-align: center;}
.align_right{text-align: right;}

#mainwrapper{
    padding-top: 60px;
    padding-bottom: 3em;
}

body.dark #mainwrapper{
    background: var(--dark-grey2);
}

#masthead #top_menu{
    display: flex; text-indent: 0;
}

#masthead #top_menu li{margin: 0 0 0 2em; list-style: none;}

#masthead .sub1 ul.user_menu{
    
    padding: 0 0 0 10px; margin: 0; text-indent: 0;
    background: #CCC;
    display: grid; 
    grid-template-columns: 1fr 40px;
    grid-gap: 10px;
    align-items: center;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2);
    
    
}

body.dark #masthead .sub1 ul.user_menu{
    background: var(--dark-grey2);
}

#masthead .sub1 ul.user_menu li{
    list-style: none; 
    display: inline-block; 
    padding: 0; margin: 0;
    height: 40px;
    display: flex;
    align-items: center;
}

#masthead .sub1 ul.user_menu .material-symbols-outlined{
    transform: scale(0.8) translateY(-2px);
}

#masthead .sub1 ul.user_menu li a{
    color: var(--text-color);
}
#masthead .sub1 ul.user_menu li a.user_sub_menu_toggle{
    width: 40px; height: 40px; 
    background: url(images/backgrounds/icon-user-profile.svg) no-repeat;
    background-size: cover!important; 
    background-position: center!important;
    display: inline-block; 
    text-align: center;
}

#masthead .sub1 ul.user_menu li a.user_sub_menu_toggle span{
    transform: translateY(1px);
}

#masthead .user_menu_list{
    position: absolute; top: 100%;
    display: none;
    right: 30px;
    width: 240px;
    background: white;
    box-shadow: 0px 0px 5px rgba(25,25,25,0.2);
    z-index: 5;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 10px; 
    

}

.dark #masthead .user_menu_list{
    background: var(--text-color);
    color: var(--off-white);
    
    display: none; 
}

#masthead .user_menu_list .menu_section.highlight{
    background: var(--light-grey);
}

.dark #masthead .user_menu_list .menu_section.highlight{
    background: var(--dark-grey);
}

#masthead .user_menu_list ul{
    margin: 0; padding: 0; text-indent: 0;
}

#masthead .user_menu_list ul li{
    list-style: none;
    padding: 2px 0;
    margin: 0 5px;
    display: block; 
    
}

#masthead .user_menu_list ul li a{color: var(--text-color); padding: 5px 10px; border: 1px solid var(--dark-grey); border-radius: 20px; display: block; font-size: 13px; }
.dark #masthead .user_menu_list ul li a{color: var(--light-grey);}

.dark #masthead .user_menu_list ul li:hover a{background: var(--light-grey); color: var(--dark-grey);}




#masthead.show_user_menu .user_menu_list ul li{
    transform: translateX(0px);
    opacity: 1;
}

#masthead .social_bar{
    display: block; 
}

#masthead #message_box{
    position: absolute; 
    top: 60px; 
    left: 50%; 
    transform: translateX(-50%);
    width: calc(100vw);
    min-height: 100px; 
    background: white;
    z-index: 2;
    color: var(--text-color);
    display: none;
}

#masthead #message_box .padding{
    padding: 20px;
    width: 640px;
    margin: 0 auto;

}

#masthead #message_box .padding h2{padding: 0; margin: 0;}

@media(max-width: 700px){
    #masthead #message_box .padding{width: calc(100% - 40px);}
}

@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

#masthead #message_box .message_border_background{
    position: absolute; top: 0; left: 0;
    
    width: 100%; height: 100%; 
    min-height: 100px; 
    display: block;
    position: relative;
    background-image: conic-gradient(from var(--angle), orange, var(--primary-color), #E15F1B, #1C19E0, var(--primary-color), #E15F1B);
    animation: 1s spin linear infinite;

}

@keyframes spin{
    from{ --angle: 0deg;}
    to{--angle: 360deg;}
}

#masthead #message_box .message_border_background .message_content{
    position: absolute; top: 4px; left: 0;
    width: 100%; height: calc(100% - 4px);
    min-height: 96px;
    display: block;
    position: relative;
    background: white;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.dark #masthead #message_box .message_border_background .message_content{background: var(--text-color);}

.dark #masthead #message_box{background: var(--text-color); color: var(--light-grey);}

@media(max-width: 940px){
    #masthead .social_bar{display: none;}
    #mobile_menu_wrapper .social_bar{display: block;}
}

.social_bar a.social_icon.icon_facebook{background: url(images/icons/icon-facebook-grey.svg) no-repeat;}
.social_bar a.social_icon.icon_linkedin{background: url(images/icons/icon-linkedin-grey.svg) no-repeat;}
.social_bar a.social_icon.icon_youtube{background: url(images/icons/icon-youtube-grey.svg) no-repeat;}
.social_bar a.social_icon.icon_facebook{background: url(images/icons/icon-facebook-grey.svg) no-repeat;}
.social_bar a.social_icon.icon_facebook{background: url(images/icons/icon-facebook-grey.svg) no-repeat;}
.social_bar a.social_icon{display: inline-block; margin-right: 5px; width: 20px; height: 20px; background-size: cover!important; background-position: center!important;}

.user_avatar{
    width: 30px; 
    height: 30px; 
    border-radius: 50%; 
    background: url(images/backgrounds/icon-user-profile.svg) no-repeat;
    background-size: cover!important; 
    background-position: center!important;
    display: inline-block; 
    border: 1px solid rgba(125,125,125,0.3);
}

.user_avatar_name_grid{
    grid-template-columns: 30px 1fr;
    
}

.user_avatar_name_grid.align_items_center{align-items: center;}

.user_avatar_name_grid.avatar_grid_modern{
    grid-template-columns: 50px 1fr 80px;
    padding: 10px; 
    background: white; 
    border-radius: 15px; 
    margin-bottom: 2em;
    grid-gap: 1em;
    align-items: center;
}

.dark .user_avatar_name_grid.avatar_grid_modern{
    background: var(--dark-grey2);
}

.user_avatar_name_grid.avatar_grid_modern .user_avatar{
    width: 50px; height: 50px; 
}

#masthead .user_menu_list ul li:nth-child(1){transition-delay: 0.1s;}
#masthead .user_menu_list ul li:nth-child(2){transition-delay: 0.2s;}
#masthead .user_menu_list ul li:nth-child(3){transition-delay: 0.3s;}
#masthead .user_menu_list ul li:nth-child(4){transition-delay: 0.4s;}
#masthead .user_menu_list ul li:nth-child(5){transition-delay: 0.5s;}
#masthead .user_menu_list ul li:nth-child(6){transition-delay: 0.6s;}
#masthead .user_menu_list ul li:nth-child(7){transition-delay: 0.7s;}
#masthead .user_menu_list ul li:nth-child(8){transition-delay: 0.8s;}
#masthead .user_menu_list ul li:nth-child(9){transition-delay: 0.9s;}


#masthead .user_menu_list ul li{position: relative; }

#masthead .user_menu_list ul li a{
    text-decoration: none;
    display: block; 
    position: relative; 
    padding: 5px 10px 5px 35px; 
    
    
}

#masthead .user_menu_list ul li:hover a{
    background: var(--text-color); 
    color: var(--light-grey);
}   

#masthead .user_menu_list ul li a span{
    position: absolute; 
    top: 50%; left: 10px; 
    transform: translateY(-50%);
    padding-right: 0.5em;
    font-size: 20px; 
    
}

#masthead .main_menu .sub1{
    display: flex;
    align-items: center;
}

#masthead .lang_switcher{
    display: inline-block;
    padding-right: 2em;
    position: relative;
}

#masthead .lang_switcher .lang_menu{
    position: absolute; 
    top: 40px; 
    left: 50%; 
    transform: translateX(-50%);
    background: white; 
    display: none;
    z-index: 3;
}

.dark #masthead .lang_switcher .lang_menu{background: var(--dark-grey);}

#masthead .lang_switcher .lang_menu ul{padding: 0; margin: 0; }

#masthead .lang_switcher .lang_menu ul li{
    list-style: none;
    padding: 0;
    margin: 0 5px;
    background: white;
    
    transition-duration: 0.25s;
}

.dark #masthead .lang_switcher .lang_menu ul li{background: var(--dark-grey);}

#masthead .lang_switcher .lang_menu ul li:hover{
    filter: invert(100%);
}

#masthead .lang_switcher .lang_menu ul li a{
    text-decoration: none;
    font-size: 0.8em;
    display: block; 
    padding: 0.5em 1em;

    
}

#masthead .lang_switcher .material-symbols-outlined{
    position: absolute; 
    top: calc(50% - 4px); right: 0.5em; 
    transform: translateY(-50%) scale(0.8);
}

@media(max-width: 640px){
    #masthead .main_menu{
       display: grid;
       grid-template-columns: 100px 1fr;
       align-items: center;
       height: 30px;
       position: relative;
    }


    #masthead .main_menu .sub{
        text-align: right;
        justify-content: flex-end;
        width: calc(100vw - 140px);
    }

    #masthead .main_menu #logo{
        position: absolute; 
        top: 50%; transform: translateY(-50%);
    }

    #masthead .main_menu .sub1{
        text-align: right;
        justify-content: flex-end;
        width: calc(100vw - 140px);
    }
}

.image_cover{background-size: cover!important; background-position: center!important; position: relative;}

.image_cover .adapt_master{
    width: 180px; height: 40px; 
    background: url(images/brand/adapt-masters-master-light.svg) no-repeat;
    background-size: contain; 
    background-position: top left;
    position: absolute; 
    left: 20px; bottom: 20px;
}

.image_cover .credit{
    display: inline-block; 
    position: absolute;
    width: calc(100% - 40px); 
    top: 20px; left: 20px;
    color: white; 
    font-size: 9px; 
    opacity: 0.8;
}

.image_cover .credit a{color: white;}

.grid{
    display: grid;
    grid-gap: 2em;

}

@media(max-width: 840px){
    .grid{grid-gap: 1em;}
}

.flex_in_between{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex_in_between.align_top{
    align-items: flex-start; 
}

h1, h2, h3, h4, h5, p, ol, li{
    padding: 0; margin: 0; 
    line-height: 1.3em;
    letter-spacing: -0.02em;
    padding-bottom: 0.5em;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark p, .dark ol, .dark li{
    color: var(--light-grey);
}



h1 strong, h2 strong, h3 strong, h4 strong, p strong, strong{font-family: 'SwissBlack';}

h1.kleemax, h2.kleemax, h3.kleemax, h4.kleemax, h5.kleemax{
    font-family: Kleemax;
}

h1, h2, h3, h4, h5{
    font-weight: 700;
    
}

p{}

p.label.indented{padding-left: 3em;}

p.small{font-size: 0.8em;}

.button{
    display: inline-block;
    padding: 5px 20px; 
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    border-radius: 20px;
    transition-duration: 0.25s;
    cursor: pointer;
    position: relative;
    margin: 0 1px;
}

.dark .button{color: var(--text-color);}

.button.red_button{
    border: 2px solid red;
    background: red; 
    color: white; 
}

.red{color: red;}

.button.red_button:hover{
    background: transparent;
    color: var(--text-color); 
}

.cur_lang{font-size: 12px; transform: translateY(4px);}

.cur_lang p{padding: 0; margin: 0; line-height: 1em;}

.cur_lang .material-symbols-outlined{}

.button span{
    position: absolute; top: 50%; left: 7px; font-size: 1em; 
    transform: translateY(calc(-50% - 2px));

}

.button.icon_right span{
    left: initial; 
    right: 7px;
}

.button:hover{
    background: transparent;
}

.button.disabled{
    opacity: 0.3;
}

.button.disabled:hover{
    background: var(--primary-color);
}

.button.button_2{
    border: 2px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
}

.button.button_2:hover{
    background: var(--text-color);
    color: white;
}

.dark .button.button_2{
    border: 2px solid white;
    color: white;
}

.dark .button.button_2:hover{
    background: white;
    color: var(--text-color);
}

.dark .button:hover{
    color: var(--primary-color);
}

.button.button_3{
    background: white; 
    border: 2px solid white;
    color: var(--text-color);
    transition-duration: 0.25s;
}

.button.button_3:hover{
    background: transparent; 
    color: white;
}

.button.button_4{
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    background: transparent;
}

.dark .button.button_4{color: white;}

.button.button_4:hover{
    background: var(--primary-color);
}

.dark .button.button_4:hover{color: var(--text-color);}

.webwrapper{
    width: calc(100% - 20px);
    margin: 0 auto;
}

.hidden{display: none;}

@media(min-width: 640px){
    .grid_1_1_1_1{grid-template-columns: 1fr 1fr;}

    .webwrapper{
        width: calc(100% - 60px);
     
    }
}


@media(min-width: 840px){

    #masthead{height: 40px;}
    #masthead .main_menu{height: 40px;}

    .grid{
        grid-gap: 0;
    }

    .grid.grid_1_1{
        grid-template-columns: 1fr 1fr;
    }

    .grid_gap{gap: 1em;}

    .grid_2_1{grid-template-columns: 2fr 1fr;}
    .grid_1_2{grid-template-columns: 1fr 2fr;}
    .grid_1_1_1{grid-template-columns: 1fr 1fr 1fr;}
    .grid_1_1_1_1{grid-template-columns: 1fr 1fr 1fr 1fr;}
    .grid_1_1_2{grid-template-columns: 1fr 1fr2fr;}
    .grid_2_1_1{grid-template-columns: 2fr 1fr 1fr;}
    .grid_1_1_2{grid-template-columns: 1fr 1fr 2fr;}


    .grid.grid_1_1.grid_reversed > div:nth-child(1){
        grid-column: 2/3; grid-row: 1/2;
    }

    

    .grid.grid_1_1.grid_reversed > div:nth-child(2){
        grid-column: 1/2; grid-row: 1/2;
    }

    #mainwrapper{
        padding-top: 60px;
    }

    .button{
        padding: 8px 30px; 
        font-size: 12px;
    }

    .button span{
        left: 15px; 
    }

    .button span.material-symbols-outlined{
        font-size: 1.6em; margin-left: -0.25em;
    }
    
    .button.icon_right span{
        left: initial; 
        right: 15px;
    }

    .button.small{
        padding: 3px 8px;
        font-size: 10px;
    }
}

@media(min-width: 1024px){
    h1{font-size: 48px;}
    h2{font-size: 24px; padding-bottom: 12px;}
    h3{font-size: 18px; padding-bottom: 6px;}
    h4{font-size: 13px; font-weight: 700;}

    .big_button{
        font-size: 16px; padding: 15px 40px;
        border-radius: 30px;
    }

    .webwrapper{
        width: calc(100% - 150px);
        margin: 0 auto;
    }

    .grid_1_1_1{grid-column: 1fr 1fr 1fr; grid-gap: 2em;}
    .grid_1_1_1_1{grid-column: 1fr 1fr 1fr 1fr; grid-gap: 2em;}

    .grid.align_items_top{align-items:start;}
    .grid.align_items_center{align-items: center;}
    .grid.align_items_bottom{align-items: end;}
}


.modal_mask{
    position: fixed; 
    top: 0; left: 0; 
    width: 100vw; 
    height: 100vh; 
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 5;
    
}

.modal_window, .message_modal{
    position: fixed;
    top: 70px;
    left: 50vw;
    width: calc(100vw - 60px);
    max-width: 1200px;
    height: calc(100vh - 120px);
    background: white;
    overflow: hidden;
    display: none;
    border-radius: 15px;
    transform: translateX(-50%);
    z-index: 10;
}

.dark .modal_window, .dark .message_modal{
    background: var(--dark-grey);
    color: white;
}

.modal_window .modal_body, .message_modal .modal_body{
    width: 100%; height: 100%; 
    display: block; 
    position: relative;
}

.disable-scroll{
    overflow-y: hidden!important;
  }

  .modal_window .modal_close, .message_modal .modal_close{
    position: absolute; 
    top: 5px; right: 5px;


  }

  .modal_window .modal_close a.close_modal, .message_modal .modal_close a.close_modal{
    position: absolute; 
    top: 0; right: 0; 
    width: 30px; height: 30px;
    transform: rotate(0);
    transition-duration: 0.25s;
  }

  .modal_window .modal_close a.close_modal:hover, .message_modal .modal_close a.close_modal:hover{transform: rotate(90deg);}

  .modal_window .modal_close a.close_modal::before, .modal_window .modal_close a.close_modal::after, .message_modal .modal_close a.close_modal::before, .message_modal .modal_close a.close_modal::after{
    content: ""; 
    position: absolute; top: 50%; left: 0; 
    width: 100%; 
    border-top: 1px solid var(--text-color);
    transform: rotate(-45deg);
  }

  .dark .modal_window .modal_close a.close_modal::before, .dark .modal_window .modal_close a.close_modal::after, .dark .message_modal .modal_close a.close_modal::before, .dark .message_modal .modal_close a.close_modal::after{
    border-top: 1px solid var(--light-grey);
  }

  .modal_window .modal_close a.close_modal::after, .message_modal .modal_close a.close_modal::after{
    transform: rotate(45deg);
  }

  .scroll_wrapper{
    position: relative; 
    display: block; 
    width: 100%; height: 100%; 
    overflow: hidden;
  }

  .scroll_wrapper .scroll_content{
    position: relative; 
    display: block;
    width: calc(100%);
    height: 100%; 
    
    overflow-x: hidden;
    overflow-y: scroll;
    --webkit-overflow-scrolling: touch;
  }

  .modal_content{
    padding: 5vw;

  }

  .modal_window .modal_interior, .message_modal .modal_interior{min-height: 100%;}

  .modal_window #sdk_video_player{
    position: relative; 
    width: 100%; 
    height: 100%; 
    background: black;
  }

  .modal_interior .imgwrapper{
    background-size: cover!important; 
    background-position: center!important; 
    width: 100%;
    min-height: 40vh;
  }

@media(max-width: 640px){
    .modal_form_wrapper{
        width: calc(100% - 20px);
    }
}

.form_wrapper{
    display: grid; 
    grid-gap: 1em;
}

.form_grid{
    gap: 1em;
}

.form_field{padding: 1em 0; position: relative;}



.form_field .field_description{
    padding: 0.5em 0 0 1.8em;
    font-size: 0.8em;
}

.form_field input[type=text], .form_field input[type=email], .form_field input[type=password], .form_field input[type=number], .form_field input[type=time], .form_field input[type=date], .form_field select{
    width: calc(100% - 32px); position: relative;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 4px;
    border: 1px solid var(--light-grey);
    outline: none;
    font-family: "SwissMedium", 'helvetica neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1em;
    --webkit-appearance: none;
    outline: none;
}



.form_field input[type=date]{color: var(--text-color); }
.dark .form_field input[type=date]{color: var(--light-grey); }
.dark .form_field input[type=date]::-webkit-calendar-picker-indicator{filter: invert(80%);}

.dark .tox{filter: invert(1);}

.form_field select{width: calc(100% - 2px);}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  color: var(--text-color)!important;
}

.dark .form_field input[type=text]:-webkit-autofill, .dark .form_field input[type=email]:-webkit-autofill{
    background: var(--dark-grey)!important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--light-grey);
}

.dark input:-webkit-autofill,
.dark input:-webkit-autofill:hover,
.dark input:-webkit-autofill:focus,
.dark textarea:-webkit-autofill,
.dark textarea:-webkit-autofill:hover,
.dark textarea:-webkit-autofill:focus,
.dark select:-webkit-autofill,
.dark select:-webkit-autofill:hover,
.dark select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px var(--dark-grey) inset !important;
  color: var(--light-grey)!important;
}

select.select_field{
    background: #EEE;
    border: 1px solid var(--light-grey);
    border-radius: 20px; 
    color: var(--text-color);
}

.dark select.select_field{
    background: var(--dark-grey);
    color: var(--light-grey);
}

.dark input[type=password], .dark input[type=password]::placeholder{color: var(--light-grey);}

.dark input::placeholder {color: var(--light-grey);}

.small .form_field input[type=text], .small .form_field input[type=email], .small .form_field input[type=password], .small .form_field input[type=number], .small .form_field input[type=time], .small .form_field input[type=date], .small .form_field select{
    padding: 7px 15px; border-radius: 7px; 
}

.dark .form_field input[type=text],.dark .form_field input[type=email],.dark .form_field input[type=password],.dark .form_field input[type=number],.dark .form_field input[type=time],.dark .form_field input[type=date],.dark .form_field select{
    background: var(--dark-grey);
    color: var(--light-grey);
}

.dark .form_field input[type=text]::placeholder, .dark .form_field input[type=email]::placeholder, .dark .form_field input[type=password]::placeholder,.dark .form_field input[type=number]::placeholder, .dark .form_field input[type=time]::placeholder, .dark .form_field input[type=date]::placeholder{color: rgba(255,255,255,0.3);}

.form_field.red input{border: 1px solid red;}

.form_field input[type=checkbox]{width: 20px; height: 20px; border-radius: 8px; transform: translateY(4px);}

.form_field textarea{
    width: calc(100% - 32px); position: relative;
    min-height: 150px;
    border-radius: 15px;
    padding: 15px;
    border: 1px solid var(--light-grey);
    outline: none;
    font-size: 0.8em;
    resize: none;
    font-family: "SwissMedium", 'helvetica neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.dark .form_field textarea{
    background: var(--dark-grey);
    color: var(--light-grey);
}

.form_field.error textarea, .dark .form_field.error textarea{border: 1px solid red;}

.form_field.error textarea{border: 1px solid red;}

.form_field textarea.short{height: 100px; min-height: 100px;}

.form_field.error input[type=text], .form_field.error input[type=email], .form_field.error input[type=password], .form_field.error input[type=number], .form_grey form_field.error input[type=text], .form_grey .form_field.error input[type=email], .form_grey .form_field.error input[type=password],.form_grey .form_field.error input[type=number]{
    border: 1px solid var(--error);
    color: var(--error);
    transition-duration: 0.25s; 
}


.form_field select{
    
}


.form_field label{
    
    pointer-events: none;
    font-size: 1em;
    
    color: var(--text-color);
    padding-left: 16px;
}

.form_field.checkbox label{
    pointer-events: initial;
}

.dark .form_field label{color: var(--light-grey);}

.form_field label span.required{color: red; font-weight: 700;}

.form_field.modern_field label{
    position: absolute; 
    top: 32px;
    left: 15px;
    padding: 0 10px;
    transition: 0.25s;
    background: white;
}

.dark .form_field.modern_field label{
    background: var(--dark-grey);
}

.form_field.error label{
    color: var(--error);

}

.form_field .checkbox_grid{
    display: grid; 
    grid-template-columns: 1fr 1fr;
    padding-left: 1em;
}


.form_field.modern_field input:valid ~ label, .form_field.modern_field input:focus ~ label, .form_field.modern_field.error input ~ label{
    transform: translateX(10px) translateY(-27px);
    font-size: 0.75em;
    padding: 2px 10px;   
}

.form_field.error p, .form_field.error label, .dark .form_field.error p, .dark .form_field.error label, .dark .form_field.modern_field.error input ~ label{color: red!important;}

/* .form_field.modern_field.error input ~ label{transform: translateX(10px) translateY(0px);} */

@media(max-width: 840px){
    .form_field input[type=text], .form_field input[type=email], .form_field input[type=password], .form_field input[type=number], .form_field input[type=time], .form_field input[type=date], .form_field select{
        font-size: 11px; 
    }
}

.message.error, .form_message.error{color: red;}

.grid.modal_grid .padding{padding: 20px;}

.form_field input.icon_dollar{
    padding-left: 25px!important;
    width: calc(100% - 35px);
    position: relative;
    background: white url(images/backgrounds/icon-currency-dollar.svg) no-repeat;
    background-size: 16px 16px; background-position: center left 5px;
}

.form_field input.transparent{background: transparent;}

.form_field input.icon_dollar.transparent{
    background: transparent url(images/backgrounds/icon-currency-dollar.svg) no-repeat;
    background-size: 16px 16px; background-position: center left 5px;
}

.form_message{
    display: none;
    grid-column: span 4;
}

.grid_1_1 .form_message{
    grid-column: span 2;
}

.dark .grid_1_1 .form_message{color: var(--light-grey);}

.form_message p{color: var(--text-color); transition-duration: 0.25s;}

.dark .form_message p{color: var(--light-grey);}

.form_message.error p{color: red;}

.top_divider{
    width: 100%; 
    margin: 10px 0; 
    height: 4px; 
    background: var(--text-color);
    position: relative;
}

.dark .top_divider{background: var(--light-grey);}

.top_divider::before, .top_divider::after{
    content: "";
    width: 40px; 
    border-top: 1px solid var(--text-color); 
    position: absolute; 
    top: -10px;
    left: 0;
}

.top_divider::after{left: initial; right: 0;}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    
  }
  
  /* Tooltip text */
  .tooltip span.tooltiptext {
    visibility: hidden;
    position: absolute;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
    font-size: 11px!important;
    line-height: 1em;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif!important;
    z-index: 100!important;
    bottom: 25px;
    left: -50%;
    transform: translateX(0) translateY(-1em);
   
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
  }

  
  
  /* Show the tooltip text when you mouse over the tooltip container */
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

.show_form .form_field{opacity: 0; transform: translateY(100px); transition-duration: 0.25s;}
.show_form.show .form_field{opacity: 1; transform: translateY(0);}

.show_form.show .form_field:nth-child(1){transition-delay: 0.1s;}
.show_form.show .form_field:nth-child(2){transition-delay: 0.15s;}
.show_form.show .form_field:nth-child(3){transition-delay: 0.2s;}
.show_form.show .form_field:nth-child(4){transition-delay: 0.25s;}
.show_form.show .form_field:nth-child(5){transition-delay: 0.3s;}
.show_form.show .form_field:nth-child(6){transition-delay: 0.35s;}
.show_form.show .form_field:nth-child(7){transition-delay: 0.4s;}
.show_form.show .form_field:nth-child(8){transition-delay: 0.45s;}
.show_form.show .form_field:nth-child(9){transition-delay: 0.5s;}
.show_form.show .form_field:nth-child(10){transition-delay: 0.55s;}
.show_form.show .form_field:nth-child(11){transition-delay: 0.6s;}
.show_form.show .form_field:nth-child(12){transition-delay: 0.65s;}
.show_form.show .form_field:nth-child(13){transition-delay: 0.7s;}
.show_form.show .form_field:nth-child(14){transition-delay: 0.75s;}
.show_form.show .form_field:nth-child(15){transition-delay: 0.8s;}

@media(min-width: 840px){

    .modal_window .modal_interior{
        height: 100%;
    }
    .grid.modal_grid{
        display: grid; 
        align-items: center;
        height: 100%;
    }

    .grid.modal_grid > div{height: 100%;}

    .grid.modal_grid > div:nth-child(2){
        display: flex;
        align-items: center;
    }

    .modal_interior .imgwrapper{
        height: 100%;
        background: #151515;
    }

    .grid.modal_grid .padding{
        padding: 40px;
        width: calc(100% - 80px);
    }

    .form_wrapper{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        
    }

    .form_wrapper .form_field{grid-column: span 4;}
    .form_wrapper .form_field.half{grid-column: span 2;}
    .form_wrapper .form_field.fourth{grid-column: span 1;}
    .form_wrapper .form_field.threefourth{grid-column: span 3;}
} 

.field_group{
    padding: 10px; 
    border: 1px solid var(--mid-grey);
    border-radius: 10px;
}

#footer{
    position: fixed; 
    bottom: 0; left: 0; 
    width: calc(100vw - 40px);
    padding: 5px 20px;
    height: 20px; 
    background: #CCC;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    z-index: 20;
}

.dark #footer{background: var(--text-color);
    color: var(--off-white);
}

@media(max-width:940px){
    #footer a, #footer span.dash{display: none;}
}

#footer p.copyright{font-size: 11px; color: #999; padding: 0; line-height: 1em;}

#footer #notification_bar{
    padding: 0; margin: 0; 
    text-indent: 0;
    transform: translateY(5px);
}

#footer #notification_bar li{
    list-style: none;
    display: inline-block; 
    margin-right: 1em;
    position: relative;
}

#footer #notification_bar li a{
    display: inline-block; 
    width: 24px; height: 24px; 
    opacity: 1;
    transition-duration: 0.25s;
    cursor: pointer;
    transform: translateY(1px);
}


#footer #notification_bar li.net a{
    background: url(images/buttons/icon-notification-dark.svg) no-repeat; 
    background-size: 80%; 
    opacity: 0.5;
    background-position: center;
    
}

.dark #footer #notification_bar li.net a{
    background: url(images/buttons/icon-notification-white.svg) no-repeat; 
    background-size: 80%; 
}

#footer #notification_bar li.chat a{
    background: url(images/buttons/icon-chat-dark.svg) no-repeat; 
    background-size: 80%; 
    opacity: 0.5;
    background-position: center;
    
}

.dark #footer #notification_bar li.chat a{
    background: url(images/buttons/icon-chat-white.svg) no-repeat; 
    background-size: 80%; 
}

#footer #notification_bar li .bubble{
    width: 10px; height: 10px; 
    text-align: center;
    padding: 5px; 
    line-height: 1em;
    background: red; 
    border-radius: 50%;
    position: absolute; 
    top: -5px;
    right: -10px; 
    color: white; 
    font-size: 11px;
    transition-duration: 0.25s;
    opacity: 0;
    transform: translateX(-10px) translateY(10px) scale(0);
    z-index: 22;
}

.footer_float{
    position: fixed;
    bottom: 20px; 
    left: 0;
    width: 100%; 
    padding: 15px 2em;
    background: var(--light-grey);
}

.dark .footer_float{
    background: var(--dark-grey);
}

.page_popup_mask{
    position: fixed; 
    top: 0; left: 0;
    width: 100%; 
    height: 100vh; 
    background: rgba(0,0,0,0.5);
    z-index: 11;
    display: none;
}

.page_popup{
    position: fixed; 
    top: 50%; 
    left: 50%;
    width: 450px; 
    min-height: 100px; 
    background: white; 
    border-radius: 20px; 
    padding: 30px; 
    transform: translateX(-50%) translateY(-50%);
    z-index: 12;
    box-shadow: 0px 0px 5px rgba(25,25,25,0.2);
    display: none;
}

.dark .page_popup{
    background: var(--text-color);
    color: white;
}

.page_popup .close_wrapper{
    position: absolute; 
    top: 10px; right: 10px; 
    width: 30px; height: 30px; 
}

.page_popup .close_wrapper a{
    position: absolute; top: 0; left: 0; 
    width: 100%; height: 100%; 
    transform: rotate(0deg);
    transition-duration: 0.25s;
}

.page_popup .close_wrapper:hover a{
    transform: rotate(90deg);
}

.page_popup .close_wrapper a::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--text-color);
    transform: rotate(45deg);
}

.page_popup .close_wrapper a::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--text-color);
    transform: rotate(-45deg);
}

.red_bubble{
    width: 10px;
    height: 10px;
    text-align: center;
    padding: 5px;
    line-height: 1em;
    background: red;
    border-radius: 50%;
    color: white;
    font-size: 11px;
    display: inline-block;
}

#footer #notification_bar li:nth-child(2) .bubble{
    transition-delay: 0.1s;
}

#footer #notification_bar li.active .bubble{
    opacity: 1;
    transform: translateX(0px) translateY(0px) scale(1);
}

.footer_popup{
    position: fixed;
    bottom: 30px; right: 50px; 
    width: 240px; 
    height: 340px; 
    background: white; 
    box-shadow: 0px 0px 5px rgba(25,25,25,0.2);
    z-index: 5;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: none;
    z-index: 15;

}

.dark .footer_popup{
    background: var(--dark-grey2);
}

.footer_popup.chat{
    right: 20px;
}

.footer_popup .footer_pop_up_head{
    padding: 20px 50px 20px 20px; 
    display: block; 
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.footer_popup .footer_pop_up_body{
    height: 280px;
}

.footer_popup .footer_pop_up_head h3{padding: 0; line-height: 1em;}

.footer_popup .close_pop_up{
    position: absolute; 
    top: 15px; right: 20px; 
    width: 30px; height: 30px; 
    transform: rotate(0deg);
    transition-duration: 0.25s;

}

.footer_popup .close_pop_up:hover{transform: rotate(90deg);}

.footer_popup .close_pop_up::before{
    content: "";
    position: absolute; 
    width: 100%;
    left: 0;
    top: 50%;
    border-top: 1px solid var(--text-color);
    transform: rotate(-45deg);
}

.footer_popup .close_pop_up::after{
    content: "";
    position: absolute; 
    width: 100%;
    left: 0;
    top: 50%;
    border-top: 1px solid var(--text-color);
    transform: rotate(45deg);
}

.upload_nav{
    display: block; 
    margin: 1em 0 0 0;
    padding-left: 20px;
}

.upload_nav .tab_button{
    padding: 10px 20px; 
    border: 1px solid var(--text-color);
    border-top-right-radius: 10px; 
    border-top-left-radius: 10px; 
    display: inline-block; 
    margin: 0 0.25em 0 0;
    
    border-bottom: none 0px;
    cursor: pointer;
}

.dark .upload_nav .tab_button{
    border: 1px solid var(--light-grey);
    border-bottom: none 0px;
}

.upload_wrapper .upload_panels > div{
    width: calc(100% - 22px);
    padding: 10px; 
    min-height: 50vh;
    height: calc(100% - 150px);
    
    border: 1px solid var(--text-color);
    border-radius: 10px;
    display: none;
}

.dark .upload_wrapper .upload_panels > div{
    border: 1px solid var(--light-grey);
}

.upload_wrapper .upload_panels > div.active{display: block;}

.upload_wrapper .upload_panels .panel_header{
    display: flex; 
    justify-content: space-between;
    align-items: center;
}

.upload_wrapper .upload_panels .panel_body{
    height: calc(100% - 50px);
    width: 100%; 
    position: relative; 
    display: block; 
    
}

.upload_wrapper .upload_panels .library_body{
    height: 100%;
    margin-top: 10px;
    height: 45vh;
    display: block; 
    position: relative;
    border: 1px solid var(--text-color);
    padding: 10px; 
    border-radius: 7px; 
    overflow: hidden;
}

.upload_wrapper .upload_panels .library_body .library_grid .library_item{
    position: relative; 
    width: 140px; height: 170px; 
    border-radius: 7px; 
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    float: left;
}

.dark .upload_wrapper .upload_panels .library_body .library_grid .library_item{
    background: var(--dark-grey);
    border: 1px solid var(--light-grey);;
}

.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon{
    width: 130px; height: 130px; 
    margin: 5px; 
    background: #CCC;
    border-radius: 5px; overflow: hidden; 
    border: 1px solid rgba(0,0,0,0.2);
}

.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_pdf, .item_icon.icon_pdf{background: url(images/backgrounds/format-icon-acrobat.png) no-repeat;}
.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_doc, .item_icon.icon_doc, .upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_docx, .item_icon.icon_docx{background: url(images/backgrounds/format-icon-word.png) no-repeat;}
.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_zip, .item_icon.icon_zip{background: url(images/backgrounds/format-icon-zip.png) no-repeat;}
.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_tar, .item_icon.icon_tar{background: url(images/backgrounds/format-icon-tar.png) no-repeat;}
.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_psd,  .item_icon.icon_psd{background: url(images/backgrounds/format-icon-photoshop.png) no-repeat;}
.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_ai,  .item_icon.icon_ai, .upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_eps, .item_icon.icon_eps{background: url(images/backgrounds/format-icon-illustrator.png) no-repeat;}
.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon.icon_xls, .upload_wrapper .upload_panels .library_body .library_grid .library_item .item_iconicon_.xlsx, .item_iconicon_.xlsx{background: url(images/backgrounds/format-icon-excel.png) no-repeat;}

.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_icon{background-size: contain!important; background-position: center!important;}


.upload_wrapper .upload_panels .library_body .library_grid .library_item .icon_image{
    
    background-size: cover!important; 
    background-position: center!important; 
}

.upload_wrapper .upload_panels .library_body .library_grid .library_item .checkbox{
    position: absolute; 
    top: 10px; right: 10px; 
    width: 15px; height: 15px; 
    border-radius: 50%; 
    background: white; 
    border: 1px solid rgba(0,0,0,0.5);
}

.upload_wrapper .upload_panels .library_body .library_grid .library_item .checkbox::after{
    content: "";
    width: 120%; height: 120%; 
    position: absolute; 
    bottom: 0; left: 0;
    background: url(images/buttons/checkmark-black.svg) no-repeat;
    background-size: cover; background-position: center;
    opacity: 0;
    transition-duration: 0.25s;
}

.upload_wrapper .upload_panels .library_body .library_grid .library_item.selected .checkbox::after{
    opacity: 1;
}

.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_text{
    padding: 0 5px 5px 5px;
    display: block;
}

.upload_wrapper .upload_panels .library_body .library_grid .library_item .item_text p{
    color: var(--text-color); opacity: 0.8;
    font-size: 11px; 
    font-weight: 300; 
    font-family: 'Courier New', Courier, monospace;
    word-break: break-word
}

.dark .upload_wrapper .upload_panels .library_body .library_grid .library_item .item_text p{
    color: var(--light-grey);
    font-family: "SwissMedium", 'helvetica neue', Helvetica, Arial, sans-serif;
}

.upload_nav .tab_button.active{background: var(--text-color);}

.upload_nav .tab_button span{font-size: 0.8em;}

.upload_nav .tab_button.active span{color: white;}

.upload_wrapper .uploadWrapper{
    display: block; 
    position: relative;
}

.upload_wrapper .uploadWrapper .upload_text{
    position: absolute; 
    width: 100px; 
    height: 100px; 
    top: 50%; left: 50%; 
    text-align: center; 
    opacity: 0.3;
    transition-duration: 0.5s;
    transform: translateX(-50%) translateY(-50%);
    font-size: 0.7em;
}

.upload_wrapper .uploadWrapper .upload_text h1{padding: 0; margin: 0; font-size: 1.5em;}
.upload_wrapper .uploadWrapper .upload_text h1 span{font-size: 36px;}
.upload_wrapper .uploadWrapper .upload_text p{font-size: 12px;}

.upload_wrapper .uploadWrapper:hover .upload_text{
    opacity: 0.6;
}

.upload_wrapper .upload_form .drop_zone{
    display: block; 
    width: calc(100% - 28px);
    height: 100%;
    min-height: 200px;
    border: 4px dashed #AAA;
    margin: 10px 0;
    padding: 10px;
    overflow-y: auto;
    border-radius: 10px;
}


.uploadifive-queue-item{
	width: calc(100% - 60px);
	margin: 3px 5px;
	border: 1px solid var(--primary-color);
	height: 30px;
	padding: 15px 20px 20px 20px;
	position: relative;
	background: white;
    border-radius: 28px; 
    position: relative;
}

.uploadifive-queue-item.error{
	border: 1px solid red;
}

.uploadifive-queue-item .close{
	top: 50%;
    right: 25px;
    position: absolute; 
    color: rgba(0,0,0,0.5);
    text-decoration: none;
    transform: translateY(-50%) rotate(0deg);
    color: rgba(255,255,255,0);
    border: 1px solid var(--text-color);
    border-radius: 50%;
    font-size: 0px;
    width: 20px; height: 20px; 
    display: inline-block; 
    opacity: 0.5;
    transition-duration: 0.25s;
}

.uploadifive-queue-item .close:hover{
    transform: translateY(-50%) rotate(90deg);
    opacity: 0.9;
}

.uploadifive-queue-item .close::before{
    content: ""; 
    width: 100%; 
    position: absolute; 
    top: 50%; left: 0; 
    transform: rotate(-45deg);
    border-top: 1px solid var(--text-color);
}

.uploadifive-queue-item .close::after{
    content: ""; 
    width: 100%; 
    position: absolute; 
    top: 50%; left: 0; 
    transform: rotate(45deg);
    border-top: 1px solid var(--text-color);
}

.uploadifive-queue-item > div:nth-child(2){position: relative;

}

.uploadifive-queue-item span.filename, .uploadifive-queue-item span.fileinfo{
	font-size: 12px;
	color: #999;
}

.uploadifive-queue-item .progress {
    border-bottom: 2px solid var(--primary-color);
    height: 10px;
    margin-top: 5px;
    width: calc(100% - 40px);
}

.uploadifive-queue-item .progress-bar {
    background-color: var(--primary-color);
    height: 10px;
    width: 0;
}

.finish-upload{
	position: absolute!important;
	top: 0; left: 0;
	width: 100%; height: calc(100% - 38px); background: rgba(0,0,0,0.4);
	background-size: 400px 800px; background-position: center center;
	z-index: 10;
	cursor: pointer;
}

.finish-upload .complete-upload{
	display: block;
	position: absolute;
	color: white;
	padding: 14px;
	font-size: 13px;
	line-height: 1em;
	top: calc(50% - 30px); left: calc(50% - 75px);
	border: 1px solid white;
	text-transform: uppercase;
	
}

.finish-upload:hover .complete-upload{
	background: white;
	color: #151515;
}

.uploadifive-button{
	display: inline-block;
    padding: 5px 20px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color)!important;
    color: var(--text-color);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    border-radius: 20px;
    transition-duration: 0.25s;
    cursor: pointer;
    position: relative;
    
}

.uploadifive-button:hover{
    background: transparent;
}


input[type="file"]{
	height: 30px!important;
}

div.UploadifyButtonWrapper a{
    background: red;
}


@keyframes blink {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 0;
    }

    51% {
        opacity: 1;
      }
    100% {
      opacity: 1;
    }
  }


.v_transit{
    transform: translateY(100px);
    opacity: 0;
    transition-duration: 0.25s;
}

.show .v_transit{
    transform: translateY(0px);
    opacity: 1;
}

.message_item{
    display: block; 
    width: calc(100% - 10px); 
    margin: 4px 0;
}

.message_item .message_grid{
    display: grid; 
    grid-template-columns: 28px 1fr;
    grid-gap: 10px;
}

.message_item.this_user_message .message_grid{transform: translateX(35px);}

.message_item .message_grid .message_avatar{
    width: 28px; height: 28px; 
    border-radius: 50%;
    background: url(images/backgrounds/icon-user-profile.svg) no-repeat; 
    background-size: contain!important; background-position: center!important;
}

.message_item .message_grid .message_single{
    background: var(--primary-color);
    border-radius: 10px; 
    padding: 10px; 
    font-size: 12px; 
    width: calc(100% - 60px);
}

.message_item.this_user_message .message_grid .message_single{
    background:  #CCC;
}

.message_item .message_grid .message_single h4 strong{font-size: 12px; }

.message_item .message_attachments .file_item{width: calc(100% - 50px); align-items: center;}

#footer .notifications_list{padding: 5px; }

#footer .notifications_list .list_item{
    padding: 5px 0;
    width: calc(100% - 10px);
    overflow-wrap: break-word;
}

#footer .notifications_list .list_item .notification_grid{
    display: grid; 
    grid-template-columns: 20px 1fr;
    grid-gap: 5px;
}

#footer .notifications_list .list_item .notification_grid .user_avatar{width: 20px; height: 20px;}

#footer .notifications_list .list_item .notification_grid > div:nth-child(2){
    padding: 10px;
    border-radius: 10px;
    background: #E1E1E1;
    width: calc(100% - 30px);

}

.dark #footer .notifications_list .list_item .notification_grid > div:nth-child(2){
    background: var(--text-color);
}

.date{
    font-style: italic;
}

.project_status{
    font-size: 12px; 
    display: inline-block; 
    padding: 5px 10px; 
    margin: 0.25em 0;
    text-align: center;
    border-radius: 5px;
}



.project_status.status_in_production{background: #2675e1; color: white;}
.project_status.status_pending_approval{background: #f3f95e;}
.project_status.status_option_blocked{background: red; color: white;}
.project_status.status_option_approved{background: var(--primary-color);}
.project_status.status_option_cancelled{background: var(--text-color); color: white;}

.swap_nav{
    display: block;
    margin: 1em 0 0 0;
    padding-left: 20px;
}

.swap_nav .tab_button{
    padding: 10px 20px;
    border: 1px solid var(--text-color);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: inline-block;
    margin: 0 0.25em 0 0;
    border-bottom: none 0px;
    cursor: pointer;
    font-size: 0.8em;
    transition-duration: 0.25s;
}

.dark .swap_nav .tab_button{
    border: 1px solid var(--light-grey);
    border-bottom: none 0px;
    color: var(--light-grey);
}

.swap_nav .tab_button.active{
    background: var(--text-color);
    color: white;
}

.swap_panel{
    width: calc(100% - 22px);
    padding: 10px;
    min-height: 200px;
    border: 1px solid var(--text-color);
    border-radius: 10px;
    display: none;
}

.dark .swap_panel{
    border: 1px solid var(--light-grey);
}

.swap_panel.active{display: block;}

#dashboard .grid .push_up{
    opacity: 0; 
    transition-property: opacity, transform;
    transform: translateY(100px);
    transition-duration: 0.25s;
    
}

#dashboard.show .grid .push_up{ 
     opacity: 1;
    transform: translateY(0px);
}

sup{
    font-size: 0.5em;
}

.text_body{font-size: 12px; min-height: 50px;}

.text_body h1{font-size: 28px; }
.text_body h2{font-size: 24px; }
.text_body h3{font-size: 20px; }
.text_body h4{font-size: 18px; }
.text_body h5{font-size: 14px; }
.text_body p, .text_body ul, .text_body ol{font-size: 12px; line-height: 1em;}

.text_body ul li, .text_body ol li{padding-bottom: 0.25em;}

@media(min-width: 1024px){
    .text_body{font-size: 14px;}

    .text_body h1{font-size: 32px; }
    .text_body h2{font-size: 28px; }
    .text_body h3{font-size: 24px; }
    .text_body h4{font-size: 20px; }
    .text_body h5{font-size: 18px; }
    .text_body p, .text_body ul, .text_body ol{font-size: 14px; }
    .text_body ul li, .text_body ol li{padding-bottom: 0.25em;}
}

.tox .tox-promotion{display: none;}

#masthead .burger_menu{
    position: absolute; 
    top: 50%; right: 25px; 
    width: 40px; height: 30px; 
    transform: translateY(-50%);
    display: none;
    cursor: pointer;
    z-index: 900;
}

#masthead .burger_menu::before{
    content: "";
    position: absolute; 
    top: 50%; left: 0;
    width: 100%;
    border-top: 1px solid var(--text-color);
    transform: translateX(-5px) translateY(-5px);
    transition-duration: 0.25s;
}

#masthead .burger_menu::after{
    content: "";
    position: absolute; 
    top: 50%; left: 0;
    width: 100%;
    border-top: 1px solid var(--text-color);
    transform: translateX(5px) translateY(5px);
    transition-duration: 0.25s;
}

#masthead .burger_menu:hover::before{transform: translateX(-5px) translateY(0) rotate(290deg); }
#masthead .burger_menu:hover::after{transform: translateX(5px) translateY(0) rotate(-70deg);}

body.show_menu #masthead .burger_menu::before, body.show_menu #masthead .burger_menu:hover::before{transform: translateX(0) translateY(0) rotate(-45deg); }
body.show_menu #masthead .burger_menu::after, body.show_menu #masthead .burger_menu:hover::after{transform: translateX(0) translateY(0) rotate(45deg);}

body #mobile_menu_wrapper{
    position: fixed; 
    top: 0; right: -320px; 
    width: 240px; 
    height: calc(100vh - 40px);
    background: white; 
    z-index: 800;
    padding: 60px 20px 0 20px;
    display: none;
    transition-duration: 0.5s;
    box-shadow: 0 0 20px rgba(50,50,50,0.5);
}

body.dark #mobile_menu_wrapper{background: var(--text-color); color: var(--light-grey); }

body.show_menu #mobile_menu_wrapper{right: 0px;}

.dark #masthead .burger_menu::before, .dark #masthead .burger_menu::after{border-top: 1px solid var(--light-grey);}

body #mobile_menu_wrapper p.small{font-size: 11px;}

body #mobile_menu_wrapper .menu_section, #masthead .menu_section{
    padding: 7px; 
    margin-bottom: 7px; 
    border-radius: 10px; 
    border: 1px solid var(--dark-grey); 
    width: calc(100% - 24px);
}


body.dark #mobile_menu_wrapper .menu_section, .dark #masthead .menu_section{
    border: 1px solid rgba(255,255,255,0.2); 
}


body #mobile_menu_wrapper  .menu_section.highlight{background: var(--light-grey); }
body.dark #mobile_menu_wrapper  .menu_section.highlight{background: var(--dark-grey); }

body #mobile_menu_wrapper a.button.small.button_2{border: 1px solid var(--dark-grey); padding: 3px 8px; }
body #mobile_menu_wrapper a.button.button_2.active{background: var(--dark-grey); color: var(--light-grey);}

body.dark #mobile_menu_wrapper a.button.small.button_2{border: 1px solid var(--light-grey);}
body #mobile_menu_wrapper a.button.button_2.active{background: var(--light-grey); color: var(--dark-grey);}

#mobile_menu_wrapper a.button.button_section{padding: 7px 0; width: calc(100% - 10px); text-align: center; margin-bottom: 5px; font-size: 11px;}
.dark #mobile_menu_wrapper a.button.button_2.button_section{border: 2px solid var(--light-grey); color: var(--light-grey);}
.dark #mobile_menu_wrapper a.button.button_2.button_section:hover{background: var(--light-grey); color: var(--text-color);}

body #mobile_menu_wrapper .menu_section .user_mobile_menu{padding: 0; margin: 0; text-indent: 0;}
body #mobile_menu_wrapper .menu_section .user_mobile_menu li{padding:2px 10px; list-style: none; display: block; text-align: left; background: white; border-radius: 20px; margin-bottom: 7px; position: relative; }
body #mobile_menu_wrapper .menu_section .user_mobile_menu li a{color: var(--dark-grey); text-decoration: none; font-size: 13px; padding: 0 0 0 30px; }
body #mobile_menu_wrapper .menu_section .user_mobile_menu li a span{display: block; position: absolute; top: 50%; left: 5px; top: 50%; transform: translateY(-50%); font-size: 18px; }

body.dark #mobile_menu_wrapper .menu_section .user_mobile_menu li{background: var(--text-color);}
body.dark #mobile_menu_wrapper .menu_section .user_mobile_menu li a{color: var(--light-grey);}
body.dark #mobile_menu_wrapper .menu_section .user_mobile_menu li:last-child{margin-bottom: 0; }

.body.dark #mobile_menu_wrapper .menu_section .user_mobile_menu li .material-symbols-outlined{font-size: 18px;}

/* header menu collapses */
@media(max-width: 940px){
    #masthead .head_nav, #masthead .main_menu .sub1{display: none; }

    #masthead .burger_menu{display: block;}

    body #mobile_menu_wrapper{display: block;}
}

@media(max-width: 840px){
    #login_form .form_wrapper{
        display: block; 
        
    }
}

#masthead .head_nav{
    font-size: 12px; 
    padding: 0; margin: 0; text-indent: 0;
    display: flex;
}

#masthead .head_nav li{
    list-style: none; 
    display: flex; 
    padding: 0; margin: 0;
    height: 40px; 
    flex-direction: column;
    justify-content: center;
    


}

@media(max-width: 940px){
    #masthead .head_nav{display: none;}
}

#masthead .head_nav a, #masthead .head_nav li a{
    font-family: "DIN Condensed Bold", 'helvetica neue', Helvetica, Arial, sans-serif;
    letter-spacing: 0.1vw;
    text-transform: uppercase; 
    text-decoration: none; 
    margin: 0 10px; font-size: 13px; 
    text-transform: uppercase; 
    color: var(--text-color); 
    position: relative;
    
}

#masthead .head_nav li a::after{
    content: "";
    position: absolute; 
    bottom: 1px; 
    left: 0;
    width: 0%; 
    border-top: 1px solid var(--text-color);
    transition-duration: 0.25s;
}

.dark #masthead .head_nav a, .dark #masthead .head_nav a{color: white;}

.dark #masthead .head_nav li a::after{border-top: 1px solid var(--light-grey);}

#masthead .head_nav li:hover a::after, #masthead .head_nav li.active a::after{width: 100%; }

.limited_text_height{
    max-height: initial;
    overflow: hidden;
    position: relative;
    padding-bottom: 100px;
    transition: max-height 0.5s;
}

.limited_text_height.minimum{
    max-height: 200px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s;
}

.limited_text_height.minimum::after{
    content: "";
    position: absolute; 
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #d9d9d9);
    z-index: 1;
}

.dark .limited_text_height.minimum::after{
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--dark-grey2));
}

.limited_text_height .bio_toggle_nav{
    text-align: center;
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    z-index: 2;
}



.limited_text_height .bio_toggle_nav a.button:nth-child(1){display: none;}
.limited_text_height.minimum .bio_toggle_nav a.button:nth-child(1){display: inline-block;}

.limited_text_height.minimum .bio_toggle_nav a.button:nth-child(2){display: none;}
.limited_text_height .bio_toggle_nav a.button:nth-child(2){display: inline-block;}

.page_popup .close{
    position: relative;
    width: 1.5em; height: 1.5em;
    display: inline-block; 
    transform: translateY(-0.5em);
    cursor: pointer;
}

.page_popup .close::before{
    content: "";
    position: absolute; 
    top: 50%; left: 0; 
    width: 100%; border-top: 1px solid var(--text-color);
    transform: rotate(-45deg);
}

.page_popup .close::after{
    content: "";
    position: absolute; 
    top: 50%; left: 0; 
    width: 100%; border-top: 1px solid var(--text-color);
    transform: rotate(45deg);
}

.dark .page_popup .close::before, .dark .page_popup .close::after{
    width: 100%; border-top: 1px solid var(--light-grey);
}

.calendar{width: 100%;}

.calendar .day{text-align: center;}

.calendar .header{font-weight: 700;}

.calendar .day span{
    display: inline-block;
    font-size: 13px;
    width: 13px; height: 13px;
    border-radius: 50%; 
    padding: 5px; 
    background: transparent;
}

.calendar .day.available span{
    background: var(--primary-color);
    position: relative;
    transition-duration: 0.25s;
    color: var(--text-color);
}

.calendar .day.available:hover span{background: transparent;}
.dark .calendar .day.available:hover span{color: var(--light-grey);}

.calendar .day.available span::after{
    content: "";
    position: absolute; 
    top: 50%; left: 50%; 
    transform: translateX(-50%) translateY(-50%) scale(0);
    opacity: 0;
    transition-duration: 0.25s;
    width: 26px; height: 26px; 
    border-radius: 50%;
    border: 2px solid var(--primary-color); 
}

.calendar .day.available:hover span::after{
    transform: translateX(-50%) translateY(-50%) scale(1);
    opacity: 1;
}

.border_top{
    border-top: 1px solid var(--text-color);
    margin-top: 5px;
    padding-top: 5px;
}

.border_top.thick{border-top: 5px solid var(--text-color);}

.dark .border_top{border-top: 1px solid var(--light-grey);}

.dark .border_top.thick{border-top: 5px solid var(--light-grey);}

.dark .pagination, .dark .pagination p{color: var(--light-grey);}

.list_summary_pagination{
    padding: 5px 0;
}
  