html {
    background-color: purple; //#1A0055;
    color: white;
}

body {
    overscroll-behavior-y: none;
    text-align: center;
}

html, body {
    height: 100%;
    min-height: 100%;
}

*:focus {
    outline: none;
}

.readerModeOnly {
    height: 0px;
    margin: 0px;
    font-size: 0px;
    opacity: 0;
}

i {
    font-style: italic;
}

#wrapper {
    min-height: 100%;
    position: relative;
    width: 100%;
    text-align: center;
    top: 0px;
    background-image: linear-gradient(transparent, transparent 1000px, black 1000px, black 100%);
//    webkit-overflow-scrolling: touch;
}

.hasname {
    display: none;
}

//#background {
//    position: fixed;
//    width: 100%;
//    height: 100%;
//    background-color: purple;
//    //background-image: linear-gradient(purple, #d13531 30%,black 60%, black 100%);
//}

#moon {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url('../images/moon7.png');
    background-repeat: no-repeat;
    background-position: 50% -250px;
}

#lightningleft, #lightningright {
    background-image: url('../images/lightning_left.png');
    width: 700px;
    height: 800px;
    left: 50%;
    top: -200px;
    margin-left: -550px;
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
//    display: none;
}

#lightningright {
    background-image: url('../images/lightning_right.png');
    top: -250px;
    margin-left: -250px;
        display: none;
}

#hauntedhouse {
    position: absolute;
    width: 100%;
    height: 943px;
    top: 0px;
    background-image: url('../images/foreground9.png');
    background-repeat: no-repeat;
    overflow: hidden;
    background-position: center top;
}

#belowfold {
    padding-top: 100px;
    position: relative;
    background-image: linear-gradient(transparent, transparent 100px, black 500px, black 100%);
    top: 300px;
    min-height: calc(100% - 400px);
}

.clear {
    clear: both;
}

a {
    color: inherit;
}

.js {
    display: none;
}

h1 {
    font-size: 30px;
    text-shadow: 2px 2px rgba(0,0,0,0.6);
}

div {
    font-size: 20px;
}

.nowrap {
    white-space: nowrap;
}

.quote {
    font: 18px 'Merienda One', Times, serif;
}

.italic {
    font-style: oblique;
}

.leftalign {
    text-align: left;
}

#response {
    margin-top: 10px;
}

#welcome, #info, #location {
    position: relative;
    z-index: 100;
    color: white;
    text-align: center;
}

#spacer {
    height: 420px;
    background: none !important;
}

#imagewrapper {
    position: absolute;
    top: -300px;
    left: 50%;
    margin-left: -2000px;
    width: 4000px;
}

#shadowleft, #shadowright {
    position: fixed;
    top: 0px;
    left: 0px;
    width: calc(50% - 200px);
    height: 100%;
    opacity: 0.8;
    background-image: url('../images/shadow_l.png');
    background-repeat: repeat-y;
    background-size: contain;
    z-index: 11;
}

#shadowright {
    left: auto;
    right: 0px;
    background-image: url('../images/shadow_r.png');
}

#wrapper.generator {
    background-position: center -350px;
} 

#info, #location {
    font-size: 24px;
}

#content, #centercontent {
    /* pointer-events: none; */
    position: relative;
    width: calc(100% - 40px);
    max-width: 800px;
    position: relative;
    margin: 0 auto;
}

.notitle .ui-dialog-titlebar {
    display: none;
}

#sendinvite div {
    display: inline-block;
}

#sendinvite input, #rsvp button {
    width: 120px;
}

#sendinvite #inviteemail {
    width: 260px;
}

#loading {
    display: none;
}

#message, .sometext {
    width: 100%;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 22px;
    color: white;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    text-shadow: 2px 2px #000000;
}

.buttons {
    font-size: 14px;
    margin-bottom: 30px;
}

.button.ui-state-default {
    background-color: rgba(0,0,0,0.6);
    background-image: none;
    color: orange;
}

.button.ui-state-hover {
    background-color: black;
    background-image: none;
    color: orange;
    border-color: black !important;
}

p {
    margin-bottom: 20px;
}

#nohash {
    display: none;
}

#rsvp button.mod {
    width: 50px;
}

#rsvp button.ui-button, #rsvp input.ui-button {
    margin-left: .1em;
}

button.respbutton {
    margin-right: 10px;
    display: none;
    font-size: 0.9em;
}

#summary, #noresponse {
    display: none;
}

#rsvpinfo .rsvpstep {
    display: none;
}

#rsvpcomment textarea {
    width: 500px;
    resize: none;
}

.ui-button-text {
    webkit-user-select: none;
    khtml-user-select: none;
    moz-user-select: none;
    ms-user-select: none;
    user-select: none;
}

#rsvp, #invite, #dialog, #confirm {
    text-align: center;
    margin: 0 auto 0 auto;
}

.ui-spinner, button {
    margin: 10px;
}

.dialog input, .dialog .ui-button.ui-state-default {
    background-image: none !important;
    background-color: rgba(85,85,85,0.5) !important;
}

.dialog input.ui-state-focus, .dialog .ui-button.ui-state-active, .dialog .ui-button.ui-state-focus {
    background-color: rgba(255,187,0,0.5) !important;
}

.dialog input.ui-state-hover, .dialog button.ui-state-hover {
    background-color: rgba(255,200,0,0.5) !important;
}

#numguests {
    width: 30px;
    text-align: center;
}

input[type=text], input[type=password] {
    text-align: left;
    font-weight: bold !important;
    font-size: 18px !important;
}

.ui-dialog {
    //border: 0px solid gray !important;
    //border: 5px solid rgba(255,255,255,0.2) !important;
    //background-image: none !important;
}

#dialogbg {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 200px;
    height: 200px;
    background-color: #4B004F;
    opacity: 0.9;
    border-radius: 8px;
    padding: 12px 12px;
}

div.ui-widget-content {
    background-image: none;
    background: transparent;
    /*
       background-color: rgb(0, 0, 0);
       background-color: rgba(0, 0, 0, 0.3);
       */
    /*  background-color: rgba(48, 24, 83, 0.75);*/
}

button {
    border-radius: 5px;
}

button.rsvpbutton.ui-state-default, a.rsvpbutton.ui-state-default {
    background-image: none;
    background-color: #00bb00;
    color: black;
}

button.rsvpbutton.ui-state-hover, a.rsvpbutton.ui-state-hover {
    background-image: none;
    background-color: #00ff00;
}


/*textarea, select {
    background-color: black;
    color: white;
    border: 0px;
}*/

#rsvparea, #rsvptable {
    font-family: Segoe UI,Arial,sans-serif;
    /*  border: 2px solid #904020;*/
    border-radius: 8px;
    padding: 10px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: black;
    background-color: rgba(100,100,100,0.3);
    color: white;
}

#rsvptable {
    display: none !important;
    font-size: 16px;
}

#rsvptable.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

#rsvptable.ui-tabs .ui-tabs-nav li a {
    padding: 0.2em 0.4em 0.2em 0.4em;
}

#rsvptable.ui-tabs ul.ui-tabs-nav {
    background-color: transparent;
    background-image: none;
    padding: 0;
}

.small {
    font-size: 14px;
}

#sendinvite {
    margin-top: 10px;
}

.rsvpreply {
    text-align: left;
    padding: 5px;
    border-bottom: 1px solid rgba(0,0,0,0.3);
}

.rsvpreply.listend {
    border: none;
}

.rsvpreply div {
    font-size: 16px;
}

.rsvpcomment {
    padding-left: 30px;
}

.rsvpname, .rsvpresponse {
    font-weight: bold;
}

.rsvpyes .rsvpresponse, .response .rsvpyes {
    font-weight: bold;
    color: rgb(0,255,0);
}

.rsvpmaybe .rsvpresponse, .response .rsvpmaybe {
    font-weight: bold;
    color: yellow;
}

.rsvpno .rsvpresponse, .response .rsvpno {
    font-weight: bold;
    color: darkRed;
}

.ui-tabs .ui-tabs-panel.rsvptab {
    padding: 5px;
    background-color: rgba(0,0,0,0.2);
}

.badge.ui-icon {
    position: relative;
    top: 2px;
    margin-right: 5px;
    display: inline-block;
    border-radius: 8px;
    background-image: url(icons/ui-icons_222222_256x240.png);
}

/*
   #rsvparea {
    font-family: Segoe UI,Arial,sans-serif;
}
*/

.ui-icon-yes { 
    background-position: -64px -145px; 
    background-color: rgba(0,255,0);
}
.ui-icon-no { 
    background-position: -80px -129px; 
    background-color: red;
}
.ui-icon-maybe { 
    background-position: -48px -145px; 
    background-color: yellow;
}
.ui-icon-noresp { 
    background-position: 0px -129px; 
    background-color: gray;
}

#admin {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 23px;
    z-index: 100;
    background-color: orange;
    text-align: center;
}

#rsvpcomment {
    margin-top: 10px;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

.examples {
    width: 800px;
    position: relative;
    left: 50%;
    margin-left: -400px;
}

.examples td {
    width: 400px;
    padding: 0 20px;
    font-size: 22px;
    font-weight: bold;
}

.labelrow td {
    padding-top: 30px;
}

#centercontent {
    width: 800px;
    top: 20px;
    margin-left: -400px;
    left: 50%;
}

.bigger {
    font-size: 24px;
}

#disclaimer {
    padding: 10px;
    border: 2px solid red;
    background: #ff5555;
    color: black;
    margin-bottom: 20px;
}

#idealink {
    margin-top: 8px;
    font-size: 20px;
}

#result {
    position: relative;
    width: 100%;
    height: 300px;
    webkit-user-select: none;
    khtml-user-select: none;
    moz-user-select: none;
    ms-user-select: none;
    user-select: none;
    overflow: hidden;
    padding: 5px 0px;
    margin-top: -50px;
}

#idea {
    position: relative;
    width: calc(100% - 20px);
    left: 10px;
    font-weight: bold;
    font-size: 30px;
    color: black;
    webkit-user-select: none;
    khtml-user-select: none;
    moz-user-select: none;
    ms-user-select: none;
    user-select: none;
    top: -50%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.emoji {
    position: relative;
    margin-top: 10px;
}

#result {
    display: table;
    table-layout: fixed;
}

#middle {
    position: absolute;
    top: 50%;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    position: static;
}

#notch {
    position: relative;
    
    width: 0; 
    height: 0; 

    left: calc(50% + 25px);
    top: -50px;

    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
  
    border-bottom: 50px solid rgba(255,255,255,0.9);
}

#resultwrapper {
    position: relative;
    max-width: 440px;
    width: 100%;
    margin: 0px auto 0px auto;
    background-color: rgba(255,255,255,0.9);
    border-radius: 10px;
}

.thumb, #clickagain {
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    margin: 0px;
    bottom: -40px;
    left: 0px;
    cursor: pointer;
    display: none;
}

button.ui-button {
    background-image: none;
}

button.thumb.ui-state-default {
    background-color: rgba(0,204,0,0.3); /* #00cc00 */;
    color: black;
}

button.thumb.ui-state-hover {
    background-color: rgba(0,255,0,0.5);
}

#thumbsdown.ui-state-default {
    background-color: rgba(221,0,0,0.3); /* #dd0000; */
}

#thumbsdown.ui-state-hover {
    background-color: rgba(255,0,0,0.5);
}

.thumb {
    height: 40px;
    bottom: -50px;
}

.thumb .ui-button-text {
    padding: .2em .6em;
}

#clickagain {
    width: 200px;
    text-align: center;
    left: 50%;
    margin-left: -100px;
    text-decoration: none;
    cursor: default;
}

#thumbsup {
    left: auto;
    right: 0px;
}

#clickinfo {
    font-size: 22px;
}

li:before {
    content: "- ";
}