:root{
    --campaign-color: darkslategray;
}

html, body{
    margin: 0;
    padding: 0;
    font-size: clamp(0.8em, 1vw, 1em);
    /* font-size: clamp(0.85em, 0.85vw, 1em); */
}

body{
    text-align: right;
    direction: rtl;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-family: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    display: none;
}

input[type="button"]{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#dv_header {
    background-color: var(--campaign-color);
    color: white;
    text-align: right;
    position: sticky;
    top:0;
    z-index: 1;
    /* padding: 10px 10px 10px 50vw; */
    /* font-weight: 500; */
}

.ico_header{
    width: 40px;
    height: 40px;
    position: absolute;
    top: 2vw;
    border-radius: 40px;
}

.ico_header:after {
    content: "";
    position: absolute;
    inset: 0;
}

#ico_menu {
    left: 1vw;
}

#ico_menu:after {
    background-image: url(../img/menu.png);
}

#dv_header_title {
    padding: 10px 80px 10px 50px;
    font-size: 1.5em;
    background-image: url(../img/logo_round.png);
    -webkit-rtl-ordering: logical;
    background-position: right 0.5em top 0.5em;
    background-size: 3.5em;
    font-weight: 500;
    background-repeat: no-repeat;
}

.head_shrink #dv_header_title {
    max-height: 0px;
    padding: 0;
    overflow: hidden;
}

.head_shrink #ico_menu {
    display: none;
}

#dv_header_title>div {
    overflow: hidden;
}
#dv_header_title>div>span {
    white-space: nowrap;
}
#dv_header_tabs{
    text-align: center;
    white-space: nowrap;
}

#dv_header_tabs>div {
    display: inline-block;
    width: 6em;
    padding: 0.5em;
    font-size: 1.5em;
}

#tab_indicator_wrapper{
    padding: 1px;
    height: 0.3em;
}
#tab_indicator {
    background-color: white;
    width: 0;
    height: 0.3em;
    border-radius: 0.3em;
    position: absolute;
    transition: 100ms;
    left: 0;
}

/* Ripple effect */
.ripple {
    background-position: center;
    transition: background 0.8s;
    outline: none;
}
  .ripple:hover {
    background: var(--campaign-color) radial-gradient(circle, transparent 1%, var(--campaign-color) 1%) center/15000%;
  }
  
  .ripple:active {
    background-color: #2f8f8f;
    background-size: 100%;
    transition: background 0s;
  }

.select_disabled{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.page{
    /* min-height: 1400px; */
    display: none;
    padding-bottom: 5em;
}

.page.footer_offset{
    padding-bottom: 9em;
}

.tab_title{
    color:white;
    font-weight: 500;
}

.tab_title_inactive{
    color:silver;
    font-weight: initial;
}

/* #page_user{} */

/* #page_activity{} */

#ico_up {
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 4vw;
    right: 4vw;
    border-radius: 40px;
    background-color: white;
    box-shadow: 2px 2px 6px darkslategray;
    display: none;
    z-index: 2;
    transition: 100ms;
}

#ico_up:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/mobile_up.png);
}

#dv_screen_message{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #efefef;
    z-index: 9999;
}

#dv_screen_message>div{
    padding-bottom: 10vh;
}

#dv_screen_message_txt{
    font-size: 5vw;
    font-weight: 200;
    color: #606060;
}

#dv_screen_message_logo{
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 20vw;
    width: 20vw;
    border-radius: 20vw;
    border: 1px gray solid;
    display: inline-block;
}


#dv_login {
    inset: 0;
    position: absolute;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    text-align: center;
    background-image: url(../img/bg_login.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#dv_login::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: white; */
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 120%);
    background: -moz-linear-gradient(top,  rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0.8) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */

}

#dv_login table {
    padding:1rem;
    /* background-color: #ffffffa6; */
    border-radius: 2rem;
}

#dv_login table td{
    position: relative;
}

#eb_register_family_name{
    text-align: right;
    direction: rtl;
    font-size: 1.5rem;
    padding: 0.3rem;
    border-radius: 8px;
    border: 2px gray solid;
    box-shadow: 2px 2px 2px white;
    margin-top: 1em;
    display: none;
}

.dv_login_error_msg {
    color: red;
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 5px;
    display: none;
    text-shadow: 0 0 5px white;
}

#dv_login_logo {
    background-image: url(../img/logo.png);
    height: 10rem;
    width: 10rem;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 10rem;
    background-position: center;
    display: inline-block;
    box-shadow: 0 8px 11px grey;
    position: absolute;
    margin: auto;
    top: -8rem;
    right: 0;
    left: 0;
}

#bt_login,#bt_login_2 {
    font-size: 1.5rem;
    border-radius: 8px;
    background-color: #2f4f4f;
    color: white;
    padding: 1rem 1rem;
    cursor: pointer;
    border: 1px white solid;
    box-shadow: 0px 0px 20px white;
    display: inline-block;
    margin: 2rem 0 1rem 0;
}

#dv_login_title {
    font-size: 2.5rem;
    padding: 3rem 1rem 0rem;
    color: #2f4f4f;
    text-shadow: 2px 2px 2px white;
}

#dv_login_title2 {
    font-size: 2rem;
    padding: 1rem 1rem 2rem 1rem;
    color: #2f4f4f;
    text-shadow: 2px 2px 2px white;
}


#eb_login,#eb_login_2 {
    font-size: 1.5rem;
    direction: ltr;
    text-align: left;
    padding: 0.3rem;
    border-radius: 8px;
    border: 2px gray solid;
    box-shadow: 2px 2px 2px white;
}

::-webkit-input-placeholder { /* Edge */
    color: #2f4f4f;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 100;
    font-size: 1.5rem;
    text-align: center;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #2f4f4f;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 100;
    font-size: 1.5rem;
    text-align: center;
}

::placeholder {
    color: #2f4f4f;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 100;
    font-size: 1.5rem;
    text-align: center;
}

#mask_div{
    position: fixed;
    inset: 0;
    z-index: 1000;
    display:none;
    background-image: url(../img/loading.gif); 
    background-repeat: no-repeat; 
    background-position: center;
    opacity: 0.5;
    background-color: white;
}

.activity_box {
    /* background-color: white; */
    padding: 10px;
    text-align: right;
    font-size: 1.5em;
    border-bottom: 1px darkslategrey solid;
}

.activity_box_title{
    color: #2f4f4f;
    font-weight: bold;
    font-size: 1.5em;
    padding: 0.5em;
    border-bottom: 1px #d0d0d0 dotted;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.activity_box_desc{
    padding: 0.5em;
    overflow-y: auto;
}

.activity_box_status{
    padding: 0 0.5em 0.5em 0.5em;
}

.activity_box_status_value{
    font-weight: bold;
    font-size: 1.5em;
    color: #06b12e;
}
.activity_box_status>table{width: 100%;}
.activity_box_status_value_title, .activity_box_status_joined_title, .activity_box_status_goal_title{width: 0;}
.activity_box_status_joined, .activity_box_status_goal {
    font-weight: bold;
    color:#2f4f4f;
    font-size: 1.5em;
}

.progress_box {
    position: absolute;
    inset: 0;
    direction: ltr;
}

.dv_activity_progress{
    height:2em;
    display: inline-block;
    width: 50%;
    position: relative;
}

#activity_boxes_wrapper .dv_activity_progress .pb_div1>div  { top: 72%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div2>div  { top: 64%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div3>div  { top: 56%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div4>div  { top: 48%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div5>div  { top: 40%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div6>div  { top: 32%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div7>div  { top: 24%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div8>div  { top: 16%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div9>div  { top: 8%; }
#activity_boxes_wrapper .dv_activity_progress .pb_div10>div  { top: 0%; }

.dv_activity_progress .pb_parent>div>div{
    inset: 0.1em;
}

.pb_parent {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    position: absolute;
    inset: 0;
}
    
.pb_div1 { grid-area: 1 / 1 / 2 / 2; }
.pb_div2 { grid-area: 1 / 2 / 2 / 3; }
.pb_div3 { grid-area: 1 / 3 / 2 / 4; }
.pb_div4 { grid-area: 1 / 4 / 2 / 5; }
.pb_div5 { grid-area: 1 / 5 / 2 / 6; }
.pb_div6 { grid-area: 1 / 6 / 2 / 7; }
.pb_div7 { grid-area: 1 / 7 / 2 / 8; }
.pb_div8 { grid-area: 1 / 8 / 2 / 9; }
.pb_div9 { grid-area: 1 / 9 / 2 / 10; }
.pb_div10 { grid-area: 1 / 10 / 2 / 11; }


.pb_parent>div{
    position: relative;
}

.pb_parent>div>div{
    background-color: white;
    border: 1px #00000050 solid;
    position: absolute;
    inset: 0.3em;
    border-radius: 5px;
}

.pb_parent>div.in_progress>div{
    background-color: var(--campaign-color)
}

.activity_box_toolbox{
    padding: 16px 8px 4px 8px;
    border-top: 1px #d0d0d0 dotted;
    position: relative;
    background-repeat: no-repeat;
    background-position: 10px 10px;
}

.bt_activity_add{
    background-color: #1b74e4;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    position: absolute;
    left: 10px;
    padding: 10px;
    border: 0;
    cursor: pointer;
}

.bt_activity_add:hover{
    background-color: darkblue;
}

.activity_box:not([signup_state="not_signed"]) .bt_activity_add,
.activity_box[already_full="true"] .bt_activity_add,
.activity_box[mandatory="true"] .bt_activity_add, /* should never happen anyway */
.activity_box[locked="true"] .bt_activity_add 
{
    display: none;
}

.activity_box[already_full="true"] .activity_box_toolbox{
    background-image: url(../img/ico_full.png);
    background-size: 70px;
}

.activity_box[signup_state="signed"] .activity_box_toolbox{
    background-image: url(../img/check.png);
    background-size: 40px;
}

.activity_box[signup_state="pending"] .activity_box_toolbox{
    background-image: url(../img/check-pending.png);
    background-size: 40px;
}

.activity_box[mandatory="true"] .activity_box_toolbox{
    background-image: url(../img/pin.png);
    background-size: 40px;
}

.activity_box[locked="true"] .activity_box_toolbox{
    background-image: url(../img/lock.png);
    background-size: 40px;
}

#user_box_head_wrapper {
    bottom: 0;
    position: fixed;
    z-index: 1;
    inset: auto 0 0 0;
    box-shadow: 0 0 15px gray;
    background-color: white;
}

#user_box_head {
    background-color: var(--campaign-color);
    padding: 3px; 
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#user_box_head>div{
    padding: 4px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#user_box_head_name {
    font-size: 1.5em;
    font-weight: 500;
    overflow: hidden;
    text-shadow: 0 0 3px black;
}
#user_box_progress{
    height: 12px;
    position: relative;
    margin: 2px;
    direction: ltr;
}

#user_hours {
    font-weight: 500;
    background-color: #06b12e;
    border-radius: 4em;
    display: inline-block;
    min-width: 1em;
    text-align: center;
    padding: 0 4px;
}

#user_box_progress_desc {
    font-size: 1.5em;
}

.user_box_item {
    display: none;
    border-bottom: 1px darkslategrey solid;
    padding: 10px 60px 10px 10px;
    position: relative;
    background-repeat: no-repeat;
    background-position: right 10px top 10px;
    background-size: 40px;
    display: none;
    font-size: 1.5em;
}

.user_box_item[signup_state="signed"] {
    background-image: url(../img/check.png);
}

.user_box_item[signup_state="pending"] {
    background-image: url(../img/check-pending.png);
}

.user_box_item[mandatory="true"] {
    background-image: url(../img/pin.png);
}


.user_box_item>div{
    padding: 4px;
}

.tb_user_box_item td{
    padding: 2px;
}
.user_box_item_title{
    font-weight: bold;
}

.user_box_item_value{
    font-weight: bold;
    font-size: 1.5em;
    color: #06b12e;
}


.user_box_item:hover .user_box_item_toolbox{
    display: initial;
}

.user_box_item_toolbox{
    position: absolute;
    bottom: 0;
    left: 0;
}

.user_box_item_toolbox>div{
    display: inline-block;
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    border-radius: 36px;
    cursor: pointer;
    position: relative;
}

.user_box_item[mandatory="true"] .bt_item_delete{
    display: none;
}

.user_box_item[locked="true"] .bt_item_delete{
    display: none;
}

.bt_item_delete{
    background-image: url(../img/delete.png);
}

.bt_item_info{
    display: none !important;
}

.tooltiptext{
    display: none !important;
}

.user_box_item_toolbox>div:hover{
    box-shadow: 0 0 8px gray;
}

#user_toolbox {
    display: flex;
    justify-content: space-evenly;
    background-color: darkslategray;
    padding: 0.8em;
    z-index: 9999;
    text-align: center;
    inset: 0 0 auto 0;
}

#user_toolbox>input {
    display: inline-block;
    width: 7em;
    padding: 0.2em;
    font-size: 1.5em;
    text-align: center;
    border-radius: 5px;
    color: white;
    border: 1px #7fc9c9 solid;
}

#bt_user_save{
    background-color: #06b12e;
}

#bt_user_abort{
    background-color: red;
}


@keyframes pulse {
	0% {box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);}
	70% {box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);}
	100% {box-shadow: 0 0 0 50px rgba(0, 255, 0, 0);}
}

.ani_pulse {
	animation: pulse 2s;
}

.dv_menu_mask{
    position: fixed;
    z-index: 2;
    background-color: #00000040;
    inset: 0;
    display: none;
}

.dv_menu {
    display: flex;
    box-shadow: 5px 5px 10px #505050;
    position: fixed;
    top: 1em;
    left: 1em;
    z-index: 2;
    flex-direction: column;
    border: 1px gray solid;
    border-radius: 5px;
    overflow: hidden;
}

.dv_menu>input, .dv_menu>.bt_campaign {
    font-size: 1.5em;
    padding: 1.5em 4em 1.5em 1.5em;
    border: none;
    border-bottom: 1px gray solid;
    background-color: white;
    text-align: right;
    background-repeat: no-repeat;
    background-position: right 0.5em center;
    background-size: 25%;
}

#bt_user_contact {
    background-image: url(../img/contact.svg);
}

#bt_user_feedback {
    background-image: url(../img/feedback.svg);
    background-size: 21% !important;
}

#bt_change_campaign {
    background-image: url(../img/level.svg);
}

#bt_refresh {
    background-image: url(../img/refresh.svg);
    background-size: 21%;
}

.bt_campaign>div {
    position: absolute;
    width: 2em;
    width: 1.5em;
    height: 1.5em;
    right: 1em;
    border-radius: 50%;
}

#bt_user_exit {
    background-image: url(../img/exit.svg);
}

.help_paragraph, .help_nagging {
    text-align: center;
    padding-top: 1em;
}

.help_nagging input[type="checkbox"]{
    transform: scale(1.5);
    margin-left: 1em;
}

.help_nagging *{
    cursor: pointer;
}

.help_tab{
    text-decoration: underline;
    font-weight: 500;
}

#frm_login_2{
    display: none;
}

.page_toolbox{
    position: fixed;
    z-index: 1;
    inset: auto 0 0 0;
    box-shadow: 0 0 15px gray;
    background-color: #f0f0f0;
    display: flex;
    justify-content: space-evenly;
}

.page_toolbox>input[type=button] {
    margin: 1em;
    width: 4em;
    height: 4em;
    border-radius: 4em;
    border: 1px gray solid;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    background-color: white;
}

.bt_pic_toolbox {
    margin: 1em;
    width: 4em;
    height: 4em;
    border-radius: 4em;
    border: 1px gray solid;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    background-color: white;
}

.bt_reject{
    background-color: red;
    background-image: url(../img/reject.svg);
}

.bt_accept{
    background-color: green;
    background-image: url(../img/accept.svg);
}

#bt_reject{
    background-color: red;
    background-image: url(../img/reject.svg);
}

#bt_accept{
    background-color: green;
    background-image: url(../img/accept.svg);
}

#bt_prev{
    background-image: url(../img/prev.svg);
    background-size: 40%;
}

#bt_next{
    background-image: url(../img/next.svg);
    background-size: 40%;
}

#bt_plus{
    background-color: green;
    background-image: url(../img/plus.svg);
    background-size: 40%;
}

#bt_minus{
    background-color: red;
    background-image: url(../img/minus.svg);
    background-size: 40%;
}

.pic{
    width: 100%;
    height: auto;
}

/* .pic_wrapper {
    background-color: #f0f0f0;
    margin: 1em;
    position: relative;
    box-shadow: 0px 5px 10px -3px #101010;
    text-align: center;
} */

.pic_wrapper {
    background-color: #f0f0f0;
    margin: 2em 1em;
    position: relative;
    box-shadow: 0px 0px 2px 0px #101030;
    text-align: center;
    padding: 1em;
    border-radius: 10px;
    border: 4px white solid;
}

.pic_wrapper[state=accepted],.pic_wrapper[state=rejected],.pic_wrapper[state=scored]{
    box-shadow: initial;
}


.pic_toolbox{
    display: flex;
    align-items: center;
    justify-content: center;
}

.pic_mask{
    display: none;
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    background-color: #ffffffc0;
}

/*
.pic_wrapper[state=saving] .pic_mask {
    display: block;
    background-image: url(../img/loading.gif);
}

.pic_wrapper[state=accepted] .pic_mask {
    display: block;
    background-image: initial;
}

.pic_wrapper[state=accepted] .bt_reject {
    display: none;
}

.pic_wrapper[state=rejected] .pic_mask {
    display: block;
    background-image: initial;
}

.pic_wrapper[state=rejected] .bt_accept {
    display: none;
}

.pic_wrapper[state=scored] .bt_save_score {
    display: none;
}

.pic_wrapper[state=scored] .pic_mask {
    display: block;
    background-image: initial;
}
*/

.bt_star {
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/star0.png);
    border: 0;
    width: 2.5rem;
    height: 5rem;
    margin: 0.5rem;
    padding: 2px 2px 0 0;
    font-size: 0.8rem;
}

.pic_wrapper[score="1"] .bt_star[score="1"],
.pic_wrapper[score="2"] .bt_star[score="1"],
.pic_wrapper[score="3"] .bt_star[score="1"],
.pic_wrapper[score="4"] .bt_star[score="1"],
.pic_wrapper[score="5"] .bt_star[score="1"],
.pic_wrapper[score="2"] .bt_star[score="2"],
.pic_wrapper[score="3"] .bt_star[score="2"],
.pic_wrapper[score="4"] .bt_star[score="2"],
.pic_wrapper[score="5"] .bt_star[score="2"],
.pic_wrapper[score="3"] .bt_star[score="3"],
.pic_wrapper[score="4"] .bt_star[score="3"],
.pic_wrapper[score="5"] .bt_star[score="3"],
.pic_wrapper[score="4"] .bt_star[score="4"],
.pic_wrapper[score="5"] .bt_star[score="4"],
.pic_wrapper[score="5"] .bt_star[score="5"]
{ 
    background-image: url(../img/star1.png); 
}

.bt_save_score {
    background-image: url(../img/enter.svg);
    margin-left: 2em;
    background-size: 50%;
}

.bt_save_score:disabled{
    background-image: url(../img/enter-disabled.svg);
}

.exif_box {
    color: red;
    text-align: left;
    font-size: 1.5em;
    direction: ltr;
}

.json-viewer ul {
    list-style-type: none;
    margin: 0;
    margin: 0 0 0 1px;
    border-left: 1px dotted #ccc;
    padding: 2em 1em;
    overflow: auto;
}


/* form */
.frm_section {
    margin-top: 1em;
    border-top: 1px silver dotted;
    font-size: 1.5em;
}

.frm_section:first-child {
    border-top: none;
}

.frm_section_title {
    margin: auto;
    padding: 1em;
    font-weight: 700;
}

.frm_section_box {
    margin: auto;
    background-color: white;
    overflow: hidden;
}

.frm_section_row {
    align-items: center;
    display: flex;
    flex-direction: row;
    max-width: 100%;
    min-width: 0;
    padding: 1em 1.5em;
    justify-content: space-between;
}

.frm_section_row:last-child {
    border-bottom: none;
}

.frm_section_row_title {
    text-align: right;
}

.frm_section_row_content {
    text-align: left;
    flex-grow: 1;
}

.pic_band .frm_section_row_content {
    text-align: right;
    font-weight: 500;
    padding: 0 1em;
}

.frm_section_row_content input,
.frm_section_row_content select,
.dlg_support_level select{
    padding: 0.5em 1em;
    border-radius: 6px;
    outline: 0;
    width: 14em;
    box-sizing: border-box;
    background-color: #f0f0f0;
    border: 2px solid white;
}

.frm_section_row_content input[type=button] {
    padding: 0.5em 1em;
    border-radius: 6px;
    outline: 0;
    width: initial;
    box-sizing: border-box;
    background-color: #ff0000b8;
    border: 2px solid white;
    color: white;
    cursor: pointer;
}

.frm_section_row_content input[type=button]:hover {
    background-color: #ff000090;
}

.frm_section_row_content input[type=button]:focus {
    border-bottom: initial;
}

.frm_section_row_content select{
    cursor: pointer;
}

.frm_section_row_content input:focus
{
    border-bottom: 2px solid #8080ff;
}

.frm_section_row_content select:focus
{
    border: 2px solid #8080ff;
    background-color: white;
}

.frm_section_row input[type=checkbox]{
    transform: scale(1.8);
    margin-left: 1.2em;
}

.checkbox_wrapper{
    display: block;
}

.checkbox_wrapper:hover{
    background-color: #f0f0f0;
    cursor: pointer;
}

#eb_profile_email, #eb_profile_phone{
    direction: ltr;
}

.frm_toolbox {
    display: flex;
    justify-content: center;
}

.frm_toolbox input[type=button] {
    color: white;
    background-color: #1b74e4;
    outline: 0;
    border: 0;
    padding: 0.5em 0.8em;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    margin: 1em;
}

.frm_toolbox input[type=button]:hover{
    background-color: #2b84f4;
}

.frm_mandatory{
    color: red;
    font-weight: bold;
    margin-right: 1em;
}

.frm_mandatory::after{
    content: "*";
}

.frm_error_msg {
    color: red;
    font-weight: 500;
    padding: 1em 0 0;
    display: none;
}

.frm_error_msg::after{
    content: "⚠️";
    padding-right: 0.5em;
}

.frm_error_msg[error_level="2"]::after{
    content: "🤔";
    padding-right: 0.5em;
}

#validation_note {
    display: none;
    background-color: #f13636;
    color: white;
    font-weight: 500;
    border-radius: 10px;
    text-align: center;
    padding: 1em 0;
}

.no_border_top {
    border-top: none;
}

.checkbox_wrapper.frm_section_row{
    padding: 1em;
}

#validation_note {
    margin: 0 2em;
}

#kkl_terms_error{
    text-align: left;
    cursor: initial;
}

.frm_info_box {
    background-image: url(../img/info.svg);
    background-repeat: no-repeat;
    background-size: 3em;
    background-position: right 1em top 1em;
    text-align: right;
    padding: 1em 5em 1em 1em;
    box-sizing: border-box;
}
.dlg_support_level>div{
    padding: 1em;

}

#pic_boxes_wrapper{
    text-align: left;
    padding-top: 1em;
}

.pic_box {
    width: 20em;
    background-color: white;
    box-shadow: 0 0 10px grey;
    padding: 10px;
    border-radius: 10px;
    height: 15em;
    position: relative;
}

.pic_box_title{
    color: #2f4f4f;
    font-weight: bold;
    font-size: 1.5em;
    padding: 0.5em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.pic_band {
    /* border: 1px silver dotted;
    padding: 1em;
    background-color: white;
    margin: 1em;
    text-align: right;
    display: flex;
    align-items: center; */
}

.drop_zone {
    width: 100%;
    height: 100%;
    border: 1px dotted gray;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drop_zone:hover,.drop_zone_hover {
    border: 1px dashed blue;
}

.drop_zone>img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: none;
}

.pic_info{
    flex-grow: 1;
}

.pic_info>table tr:nth-child(even) {background: #f8f8f8}
.pic_info>table tr:nth-child(odd) {background: #f0f0f0}
.pic_info>table td {
    padding: 6px;
    font-weight: bold;
}
.pic_info>table td:first-child {
    font-weight: normal;
    width: 0;
    white-space: nowrap;
}

.upload_progress {
    border: 1px #808080 solid;
    min-width: 14em;
    min-height: 1em; 
    border-radius: 4px;
    background: linear-gradient(to left, #ffffff 100%, #1b801b 0%);
    text-align: center;
}

.upload_progress::after {
    content: attr(progress);
    mix-blend-mode: difference;
    color:white;
    font-weight: initial;
}

.img_thumb_loader{
    position: absolute;
    inset:5px;
    background-image: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: none;
    background-color: white;
}

.pic_box_wrapper{
    flex-flow: column;
    position: relative;
}

.upload_progress_wrapper{
    display: flex;
    justify-content: space-evenly;
}

.upload_progress_wrapper>div {
    margin: 0 1em 0 0;
}

.frm_pics{
}

.frm_pics .frm_section:not(:first-child){
    border-top: 1px gray dotted;
}
.upload_status{
    flex-grow: 1;
}
.frm_section_row[pic_status]>.frm_section_row_content{
    display: none;
}

.frm_section_row[pic_status=idle]>.pic_status_idle{ 
    display: block; 
    padding-left: 2.5em;
}

.frm_section_row[pic_status=uploading]>.pic_status_uploading{ 
    display: flex; 
    flex-flow: column;
}
.frm_section_row[pic_status=error]>.pic_status_error{ display: block; }
.frm_section_row[pic_status=ok]>.pic_status_ok{ 
    display: block; 
    padding-left: 2.5em;
}
.frm_section_row[pic_status=ok]{
    background-image: url(../img/check.png);
    background-repeat: no-repeat;
    background-position: 1em center;
}

.frm_section_row[pic_status=idle]{
    background-image: url(../img/upload.svg);
    background-repeat: no-repeat;
    background-position: 1em center;
    cursor: pointer;
}

.frm_section_row[pic_status=idle]:hover{
    background-color: #f0f0f0;
}

.frm_section_row[pic_contest_status]>.frm_section_row_content{
    display: none;
    padding-left: 2.5em;
}

.frm_section_row[pic_contest_status]{
    background-repeat: no-repeat;
    background-position: 1em center;
    background-size: 2.6em;
    display: none;
}

.frm_section_row[pic_contest_status=filter_idle]{ 
    background-image: url(../img/filter_idle.svg);
}

.frm_section_row[pic_contest_status=filter_rejected]{ 
    background-image: url(../img/filter_out.svg);
}

.frm_section_row[pic_contest_status=filter_idle]>.pic_contest_status_filter_idle{ 
    display: block; 
}

.frm_section_row[pic_contest_status=filter_rejected]>.pic_contest_status_filter_rejected{ 
    direction: rtl;
    text-align: right;
    display: block; 
    color: red;
}

.frm_section_row[pic_contest_status=filter_quality_idle]>.pic_contest_status_quality_idle{ 
    display: block; 
}

.frm_section_row[pic_contest_status=filter_quality_rejected]>.pic_contest_status_quality_rejected{ 
    display: block; 
    color: red;
}

.frm_section_row[pic_contest_status=filter_score_idle]>.pic_contest_status_score_idle{ 
    display: block; 
}

.frm_section_row[pic_contest_status=filter_quality_idle]{ 
    background-image: url(../img/filter_quality_idle.svg);
}

.frm_section_row[pic_contest_status=filter_quality_rejected]{ 
    background-image: url(../img/filter_out.svg);
}

.frm_section_row[pic_contest_status=filter_score_idle]{ 
    background-image: url(../img/star.png);
}

.pic_box_mask{
    position: absolute;
    inset: 0;
    display: none;
}

.pic_box_mask_link{
    cursor: pointer;
}

.frm_section_row.pic_actions{
    display: none;
}
.pic_error{
    display: none;
    background-image: url(../img/error.svg);
    background-repeat: no-repeat;
    background-position: 1em center;
    cursor: pointer;
    background-size: 2.5em;
    text-align: right;
    padding-left: 4em;
}

.pic_error:hover{
    background-color: #f0f0f0;
}

.mask_disabled{
    background-color: #00000080;
}

.tab_disabled{
    color: #757575;
}

#log_wrapper .frm_info_box {
    background-image: url(../img/logo.png);
    background-size: 6em;
    display: flex;
    padding: 1em;
    background-position: right 0.5em top 0.5em;
    flex-direction: column;
}

.frm_info_box_date {
    font-weight: 500;
    font-size: 1.5em;
    color: darkslategrey;
    padding: 1.8em 4em 0.2em 1em;
    border-bottom: 1px #e0e0e0 solid;
    text-align: left;
}

.frm_info_box_content {
    flex-grow: 1;
    padding: 1em;
}

#log_wrapper .frm_section {
    border-top: 1px black dotted;
}

#log_wrapper .frm_section:first-child {
    border-top: none;
}

.mobile_spam_notice {
    background-color: #ffffffc0;
    padding: 7px;
    border-radius: 10px;
    font-size: 1.5em;
}