﻿/*Used for public forms*/
input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="url"], 
        input[type="tel"], input[type="date"], input[type="datetime"], input[type="datetime-local"], 
        input[type="month"], input[type="week"], input[type="time"], input[type="number"], input[type="file"], 
        textarea, select {
    background: white;
    padding: 12px 4px;
    outline: none;
    border-radius: 3px;
    font-size: 18px;
    margin: 0 0 20px;
    max-width: 100%;
    font-family: sans-serif;
}

INPUT[type=button]:disabled {
    background-color: #888;
}

INPUT[type=text]:disabled, INPUT[type=password]:disabled, INPUT[type=submit].btn:hover:disabled, .btn-emphasis:disabled, SELECT:disabled {
    background-color: #666 !important;
    background-color: #ddd !important;
    cursor: default;
}
        
.inputs { margin: 0; padding: 0; }
.inputs .entry { padding: 10px; border-radius: 10px; }
.inputs .entry:hover, .entryActive {  box-shadow: 0 0 10px #aaa; background: rgba(200,200,200,0.15); } /*This highlights inactive fields, too*/
.inputs LABEL { 
    color: #555;
    display: inline-block; 
    width: 220px; 
    text-align: right; 
    padding-right: 6px; 
}
.inputs LABEL:after { content: ":"; }
.entry INPUT:not([type=submit]), .entry SELECT, .entry TEXTAREA { 
    display: inline;
    width: calc(100% - 580px); 
    background-color: #f8f8f8; 
    border: solid 1px #aaa; 
    margin-bottom: 0;
    color: inherit;
}
.entry INPUT:focus, .entry SELECT:focus, .entry TEXTAREA:focus {
    box-shadow: 0 0 10px #FEC232;
}
/*.entry INPUT:invalid, .entry SELECT:invalid, .entry TEXTAREA:invalid {
    background-color: #fee;
    box-shadow: 0 0 10px 0 0 10px rgba(255,0,0,0.2);
}*/
.validator, .entry > P > SPAN[id*=val] { color: red; }
.entry INPUT[type=radio] { 
    width: auto; 
    transform: scale(1.5); 
    margin-right: 5px;
    /*-moz-appearance: none; /* Less ugly but still ugly */
    /*-o-appearance: none; /* Less ugly for Opera */
}
.entry INPUT[type=radio]:active { transform: scale(2); }
.entry INPUT[type=radio] + LABEL { text-align: left; width: auto; font-weight: normal; margin-right: 20px; }
INPUT[type=radio] + LABEL:after { content: ""; }
.entry INPUT[type=radio]:checked + LABEL { color: #000; }
.entry INPUT:focus, .entry SELECT:focus { background-color: #fff; }
.entry INPUT[readonly] { color: #888; background-color: #ddd; }
.entry INPUT[type=checkbox] { 
    width: auto; 
    /*transform: scale(2); */
    width: 26px;
    height: 26px;
    position: relative; 
    top: 8px;
    margin: 0; 
}
INPUT[type=checkbox] + LABEL, INPUT[type=radio] + LABEL { text-align: left; padding-left: 0.5em; width: 340px; }
INPUT[type=checkbox] + LABEL:after { content: ''; }
INPUT[type=checkbox]:checked + LABEL { font-weight: bold; background-image: linear-gradient(to right, #FEC232 0%, rgba(255,255,255,0) 100%); border-radius: 15px 0 0 15px; }
INPUT[type=checkbox]:checked { border: solid 8px #FEC232; } /*doesn't work*/
/*.entry INPUT[required] { box-shadow: inset 0 0 10px #faa; }*/
DIV.divDemo INPUT[type=checkbox] + LABEL { width: calc(100% - 100px); }
.entry > P { 
    color: #888;
    display: inline-block;
    float: right;
    width: 340px;
    margin: 0;
    font-size: 0.9em;
    line-height: 1;
    overflow: hidden;
    height: 50px;
    text-overflow: ellipsis;
}
/*.entry > P:hover, P.focusedHelp { 
    color: #000;
    height: auto;
    background-color: #e8e8e8;
}*/
.entry LABEL.required:before {
    content: "*";
    color: Red;
}
.entry SPAN {
    /* Validator messages */
    margin-left: 5px;
}

.ui-icon-info:hover {
    background-image: url(../App_Themes/Default/images/ui-icons_2e83ff_256x240.png);
    cursor: pointer;
}

.entry .help P, TABLE .help P {
    color: black;
    margin-bottom: 0.8em;
}

.help P:first-child { margin-top: 0; }

.entry .help P:last-child, TABLE .help P:last-child {
    margin-bottom: 0;
}

.entry .help, TABLE .help {
    position: absolute;
    right: 1em;
}

.entry .help > DIV, TABLE .help > DIV {
    display: none;
    border: solid 1px #888;
    border-radius: 5px;
    background-color: #FEC232; /*yellow in flag*/
    position: relative;
    font-size: 80%;
    padding: 0.5em;
    line-height: 1.2em;
    width: 310px;
    top: -48px;
    box-shadow: 4px 4px 20px rgba(0,0,0,0.3);
    border-top: solid 6px #C4143E; /*red in flag*/
}

TABLE .help {
    right: auto;
}

TABLE .help > DIV {
    font-size: 10pt;
    top: -30px;
    left: 130px;
}

#lblImageLegal:after {
    content: '';
}

#lblImageLegal {
    font-size: 10pt;
    font-weight: normal;
    text-align: left;
    line-height: 12pt;
}

#lblImageLegal INPUT {
    float: left;
    margin: 4px 5px 40px 0;
}

LABEL.urlLabel { vertical-align: top; padding-top: 10px; }
DIV.urlContainer { display: inline-block; width: calc(100% - 575px); }
DIV.urlContainer INPUT[type=radio] { margin-right: 1em; }
DIV.urlContainer INPUT[type=text] { width: calc(100% - 45px); }
DIV.urlContainer > DIV + DIV > LABEL { font-style: italic; font-size: 90%; font-weight: normal; text-align: left; }
DIV.urlContainer INPUT[type=text]:disabled { background-color: #ddd; }
DIV.urlContainer > DIV > LABEL:after { content: ''; }

TABLE { border: none; width: 100%; }
TABLE TD, TABLE TH { padding: 5px; border-color: #bbb; }
TABLE > TBODY > TR:first-child > TH { border: none; }
TABLE > TBODY > TR > TD { border-left: none; border-right: none; }
TABLE > TBODY > TR > TD:first-child, TABLE.noEdit > TBODY > TR > TD:first-child { border: none; }
TABLE > TBODY > TR:hover { background-color: White; }
TABLE.noEdit TH.required:after { content: " *"; color: red; }
TABLE.noEdit > TBODY > TR > TD { border-top: solid 1px #bbb; border-bottom: solid 1px #bbb; }
TABLE.noEdit > TBODY > TR > TD:last-child { border: none; }
TABLE.noEdit > TBODY > TR:last-child > TD { border: none; }
TABLE.occur > TBODY > TR > TD:last-child, 
TABLE.occur > TBODY > TR > TD:nth-last-child(2),
TABLE.occur > TBODY > TR:first-child > TD, 
TABLE.occur > TBODY > TR:last-child > TD,
TABLE.occur > TBODY > TR > TD:first-child { border: none; }
TABLE.occur > TBODY > TR > TD:nth-child(2) { text-align: right; padding-right: 1em; }
TABLE.occur > TBODY > TR:first-child > TD:first-child:before { content: 'Start Date:'; font-weight: bold; }
TABLE.occur > TBODY > TR:last-child > TD:first-child:before { content: 'End Date:'; font-weight: bold; }
TABLE.occur > TBODY > TR:only-child > TD:first-child:before { content: 'Date:'; }
TABLE.occur DIV.editor { display: inline-block; }
TABLE.occur FIELDSET { margin-bottom: 0; }
TABLE.occur FIELDSET > INPUT { font-size: inherit; }
TABLE.occur INPUT[id*=txtHours] { display: inline; width: calc(100% - 160px); }

.inputs .entry.ten INPUT { width: 70px; text-align: right; }
.inputs .entry.twenty INPUT { width: 140px; }
.inputs TABLE IMG { max-width: 500px; max-height: 200px; }
SPAN.lead { background-color: #a0e0a0; border-radius: 5px; }
DIV.edit LABEL { width: auto; }
        
.stickyfooter { 
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px 50px 20px;
    background: #ccc;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    width: 100%;
    border-top: solid 6px #444;
}
.stickyfooter input[type=submit] {
    margin-left: 50px;
    width: 150px;
}
.stickyfooter INPUT:first-child { margin-left: 202px; }
        
#popSched .scheduler H3 { display: none; }
#popSched H4 { margin: 0 20px 0 0; }
.ui-widget, .ui-widget * { font-family: inherit !important; font-size: inherit !important; }
.ui-widget { box-shadow: 2px 2px 10px #888; }
        
.no { text-decoration: line-through; color: Red; }
.wordCounter { color: #888; font-style: italic; }
.wordCounter.warning { color: red; font-weight: bold; }
        
/* Scheduler styles */
.scheduler DIV.table { width: 100%; }
.scheduler DIV.table H4 { display: inline-block; width: 100px; padding-top: 4px; padding-right: 10px; color: #7E2217; white-space: nowrap; }
.scheduler DIV.table > DIV > DIV { display: inline-block; }
.scheduler INPUT[type=text] { width: 100px; }
.scheduler SELECT { width: 120px; }
.scheduler INPUT[type=radio] { position: relative; top: 2px; }
.scheduler INPUT[type=submit] { margin-top: 10px; }
        
/*Stuff to fix what the vm.org styles mess up*/
#ui-datepicker-div A { border-bottom: none; }
.scheduler INPUT, .scheduler SELECT { margin-bottom: 0; }
#ui-datepicker-div SELECT, .scheduler SELECT, .scheduler INPUT[type=text], .scheduler INPUT[type=radio], 
        .scheduler INPUT[type=number], .scheduler LABEL { 
    display: inline; padding: 0;
}
#popSched H4 { vertical-align: top; padding-top: 0; line-height: normal; margin-bottom: 0.8em; }
.scheduler LABEL { font-weight: normal; }
.scheduler .summary { line-height: normal; }
#popSched .scheduler .summary H4 { margin-bottom: 0; }
#ui-datepicker-div TABLE TR:hover { background-color: inherit; }
INPUT[type=file] { border-radius: 3px; box-shadow: inset 0 0 10px #aaa; padding: 10px; }
SPAN.imgHelper { font-size: 70%; display: none; }

/*Light styling for hours suggest box*/
.ui-autocomplete {
    height: 120px;
    overflow-y: auto;
    overflow-x: hidden;
}
.scheduler DIV[data-purpose=hours] FIELDSET { margin-bottom: 0; border: none; padding: 0; }
.btn-danger, .btn-danger:hover, .btn-danger:active, .btn-danger:focus {
    color: #fff;
    background-color: #c9302c;
    border-color: #c12e2a;
}

.scheduler DIV[data-purpose=days] > DIV > SPAN, .scheduler DIV[data-purpose=weeks] > DIV > SPAN {
    display: inline-block;
    width: 36px;
    font-size: 80% !important;
    text-align: center;
    line-height: 14px;
}

.scheduler DIV[data-purpose=days] > DIV > SPAN > INPUT, .scheduler DIV[data-purpose=weeks] > DIV > SPAN > INPUT {
    display: block;
    margin: 0 auto;
}

DIV.editor BUTTON { font-family: Arial, Helvetica, sans-serif; }

UL.richSuggestTitle.ui-autocomplete { height: 400px; max-width: 50vw; }
UL.richSuggestTitle > LI { border-top: 1px solid #888; }
UL.richSuggestTitle > LI:first-child { border-top: none; }
UL.richSuggestTitle > LI DIV.item > DIV { font-size: 70% !important; }
UL.richSuggestTitle > LI DIV.item > DIV:first-child { font-weight: bold; font-size: 100% !important; }
UL.richSuggestTitle > LI DIV.item > DIV:first-child > SPAN { font-size: 70% !important; color: rgba(0,0,0,0.5); padding-left: 1em; text-transform: uppercase; white-space: nowrap; }
UL.richSuggestTitle > LI DIV.item BUTTON { float: right; }

UL.richSuggestVenue.ui-autocomplete { height: 400px; }
UL.richSuggestVenue > LI { border-top: 1px solid #888; }
UL.richSuggestVenue > LI:first-child { border-top: none; }
UL.richSuggestVenue > LI DIV.item > DIV { font-size: 70% !important; }
UL.richSuggestVenue > LI DIV.item > DIV:first-child { font-weight: bold; font-size: 100% !important; }
UL.richSuggestVenue > LI DIV.item > DIV:first-child > SPAN { color: rgba(0,0,80,0.05); float: right; }
UL.richSuggestVenue > LI DIV.item > DIV:first-child > SPAN:hover { color: rgba(0,0,80,1); float: right; }

DIV.entry.venue DIV.venueNameSugs {
    display: inline-block;
    position: absolute;
    right: 10px;
    border: solid 1px #888;
    /*background-image: url(App_Themes/Default/images/bg-net2.png), 
        url(App_Themes/Default/images/bg-sit.jpg);*/
    background-color: #eee;
    padding: 0.7em 0.7em 0 0;
    margin-left: 1em;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    z-index: 2;
    max-width: 340px;
}
DIV.entry.venue DIV.venueNameSugs H4 { font-size: 1.2em; line-height: 1em; margin-bottom: 1em; padding-left: 0.7em; margin-top: 0; color: #C4143E; /*red in flag*/ }
DIV.entry.venue DIV.venueNameSugs UL { padding-left: 1em; }
DIV.entry.venue DIV.venueNameSugs LI { cursor: pointer; border-radius: 5px; padding: 0.7em; margin: 0; list-style-type: none; line-height: 1; }
DIV.entry.venue DIV.venueNameSugs LI:hover { color: black; background-color: #FEC232; /*yellow in flag*/ }

DIV.twoCol {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 210px;
}

TABLE[id*=gvImage] TR:last-child > TD:first-child > INPUT { width: calc(100% - 6px); }
TABLE[id*=gvImage] TR:last-child > TD:first-child > INPUT[type=file] { width: calc(100% - 14px); }
TABLE[id*=gvImage] TR:last-child TEXTAREA { width: calc(100% - 6px); }

/* Styling for status column on main menu */
.btn-emphasis { color: white !important; background-color: #C4143E !important; }
.btn-emphasis:disabled, .btn-emphasis:disabled:hover { color: #666 !important; }
#lblHideDeletedDest, #lblHideDeletedDeal, #lblHideDeletedEvent { float: right; margin-top: 0.5em; }

TD .statusCol.rejected, TD .statusCol.changed, TD .statusCol.approved, TD .statusCol.unsubmitted { 
    border-radius: 30px 0 0 30px; 
    border-left: solid 2px #888;
    line-height: 1em;
    padding: 10px 10px 10px 20px;
}
TD .statusCol.rejected {
    background: linear-gradient(to right, rgba(196,20,61,1) 0%, rgba(196,20,61,.5) 10%, rgba(255,255,255,0) 100%); /*red in flag*/
    color: black;
}
TD .statusCol.changed { 
    background: linear-gradient(to right,  rgba(255,187,136,1) 0%,rgba(255,255,255,0) 100%); /*orange*/
}
TD .statusCol.unsubmitted {
    background: linear-gradient(to right,  rgba(254,193,50,1) 0%,rgba(255,255,255,0) 100%); /*yellow in flag*/
}
TD .statusCol.approved {
    background: linear-gradient(to right,  rgba(149,225,137,1) 0%,rgba(255,255,255,0) 100%); /*green*/
}
TD .statusCol .rejectReason {
    font-style: italic;
    font-size: 80%;
}
TD .statusCol .rejectReason:not(:empty):before {
    content: ": ";
    font-style: normal;
}

.feedback { color: red; }
#lblImageLegal:after { content: ''; }
#lblImageLegal {
    font-size: 10pt;
    font-weight: normal;
    text-align: left;
    line-height: 12pt;
}
#lblImageLegal INPUT {
    float: left;
    margin: 4px 5px 40px 0;
}

SPAN#uat {
    position: fixed;
    top: calc(50vh - 90px);
    z-index: 1000;
    width: 100%;
    font-size: 130px;
    font-weight: bold;
    opacity: 0.1;
    text-align: center;
    pointer-events: none;
    user-select: none;
    overflow-x: clip;
}

SPAN#uat > SPAN {
    transform: rotate(-20deg);
    display: block;
    color: red;
    text-shadow: 5px 5px 0 black, -5px 5px 0 black, -5px -5px 0 black, 5px -5px 0 black;
}

SPAN#uat.fadeout {
	animation: fadeout 20s linear;	
	animation-fill-mode: forwards;
}

@keyframes fadeout {
	  0% { opacity: 0.10; }
	100% { opacity: 0.02; }
}

/* Popup criteria confirmation styles */
.popModal { 
    position: absolute; top: 20%; left: 20%; right: 20%; background-color: white; z-index: 4; 
    padding: 2em;
    border: solid 10px #C4143E;
    box-shadow: 0 10px 30px;
}
.popModal > *, #popRequest { margin-top: 0; }
.popModal > BUTTON { margin-right: 2em; }
#popBackground { 
    position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0,0,0,0.5); z-index: 3; 

}
.criteria { 
    max-height: 30vh;
    overflow-y: scroll;
}
#divNoOption { color: red; }
BODY.noscroll { overflow: hidden; }
#popAgree > .criteria > SPAN.scrollsuggest { 
    opacity: 0;
    display: block;
    height: 0px;
    overflow: hidden;
    text-transform: uppercase;
    position: relative;
    font-weight: bold;
    color: #C4143E;
    font-size: 190%;
    text-shadow: 3px 3px 0 #fff , 3px -3px 0 #fff, -3px -3px 0 #fff, -3px 3px 0 #fff;
    animation-duration: 6s;
    animation-name: scrolldown;
    animation-timing-function: cubic-bezier(1,0,1,0);
}
@keyframes scrolldown {
    from { top: -1550px; opacity: 1; height: 40px; }
    to { top: 300px; opacity: 0; height: 0px; }
}
#popAgree H5 {
    font-size: 1em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #FEC232, white);
    padding-left: 0.5em;
    margin-bottom: -1em;
    border-left: solid 3px #C4143E;
}