html,body {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.cl,.clear { 
    display: block; 
    height: 0; 
    font-size: 0; 
    line-height: 0; 
    text-indent: -4000px; 
    clear: both; 
}

button {
    cursor: pointer;
}

.compulsory {
    color: #f00;
}

#errorsBox {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 100;
}

#errorsBox .content {
    background-color: #d6cab1;
    position: relative;
    max-width: 90%;
    max-height: 70%;
    border: solid 3px #efa526;
    font-size: 1.3em;
    text-align: center;
    padding: 2em;
    overflow: auto;
    cursor: pointer;
}

.closeParent {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
    background-color: #eee;
    border-style: solid;
    border-width: 0px 0px 3px 3px;
}
.closeParent:hover {
    fill: #ad6700;
    background-color: #e8d7bd;
}

svg {
    width: 0px;
    height: 0px;
}

.flexBox {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 2;
}

#elementTitle {
    display: none;
    position: absolute;
    padding: 0.5em;
    background-color: #fff;
    border: solid 1px black;
}
#title_arrowDown {
    border: solid 0.6em transparent;
    border-top-color: #000;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -1.2em;
    left: calc(50% - 0.6em);
    display: none;
}
#title_arrowUp {
    border: solid 0.6em transparent;
    border-bottom-color: #000;
    width: 0;
    height: 0;
    position: absolute;
    top: -1.2em;
    left: calc(50% - 0.6em);
    display: none;
}

/* clone login */
.loginForm {
    padding: 0.5em;
    border: solid 1px black;
    border-radius: 5px;
}
.loginForm * {
    display: block;
    line-height: 1.5em;
    margin-bottom: 0.3em;
    cursor: pointer;
}
.loginForm input[type="submit"] {
    float: left;
    height: 1.7em;
    margin-right: 0.5em;
    margin-top: -1px;
}
.loginForm svg {
    width: 2em;
    height: 1em;
}
.loginForm a {
    display: block;
    text-decoration: underline;
}
.loginForm a:hover {
    background-color: #bf8835;
    color: #eee;
}

#page_content {
    position: relative;
    width: 1000px;
    max-width: 95%;
    height: calc(100% - 3em);
    bottom: 0;
    background-color: #ccc;
    margin: auto;
    border-style: solid;
    border-width: 2px;
    overflow: auto;
}
/*@media screen and (max-width: 900px) {
    #page_content {
        width: 100%;
    }
}
@media screen and (max-width: 700px) {
    #page_content {
        flex-wrap: wrap;
        border: 0;
        height: auto;
    }
}*/

/*#column_options{

}
#calendar_bloc {
    width: 100%;
    min-width: 460px;
}
#calendar_wrap {
    width: 64%;
}*/
#calendar {
    position: absolute;
    left: 0;
    font-size: 20px;
    display: none;
    width: 100%;
    border-collapse: collapse;
}
#miniCalendar {
    position: absolute;
    margin-top: 2em;
    background-color: #eee;
    left: 0;
    right: 0;
    display: none;
    z-index: 3;
}
#calendar td,#miniCalendar td {
    padding: 4px;
    text-align: center;
    color: #999;
    background-color: #D8D8D8;
    border: solid black 1px;
    width: 20vw;
}  
#calendar .date_button{
    color: #000;
    cursor: pointer;
}  
#calendar .date_button:hover {
    background-color:    #A3CCCC;
} 
#miniCalendar .date_button{
    color: #000;
}    
#miniCalendar .date_button:hover {
    color: #4C4C3D;
    background-color:    #A3CCCC;
    cursor: pointer;
}  
#calendar .date_active,#miniCalendar .date_active{
    background-color: #e4ac86;
    color: #fff;
}    
#calendar .date_active:hover,#miniCalendar .date_active:hover {
    color: #4C4C3D;
    background-color:    #A3CCCC;
    cursor: pointer;
}     
#calendar .calendar_title {
    color: #380000;
    padding: 4px;
    text-align: center;
    background-color: #eee;
    border-style: solid;
    border-width: 0px 1px 1px;
    width: 20vw;
}   
#miniCalendar .calendar_title {
    color: #380000;
    padding: 4px;
    text-align: center;
    background-color: #eee;
    border-style: solid;
    border-width: 1px;
    width: 20vw;
}   
#calendar .prew, #miniCalendar .prew {
    padding: 0px 4px;
    text-align: center;
    background-color: #E8E8E8;
    border-style: solid;
    border-color: #000;
    border-width: 1px 0px 1px 1px;
    border-radius: 5px 0px 0px 5px;
    cursor: pointer;
    margin-right: -1px;
    z-index: 1;
    position: relative;
}
#calendar .prew:hover, #miniCalendar .prew:hover {
    background-color:    #A3CCCC;
} 
#calendar .next,#miniCalendar .next {
    padding: 0px 4px;
    text-align: center;
    background-color: #E8E8E8;
    border-style: solid;
    border-width: 1px 1px 1px 0px;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
}  
#calendar .next:hover,#miniCalendar .next:hover {
    background-color:    #A3CCCC;
} 
#calendar .activdate,#miniCalendar .activdate {
    padding: 0px 4px;
    text-align: center;
    border-style: solid;
    border-width: 1px 0px 1px 1px;
} 

#timeForm {
    position: absolute;    
    margin-top: 2em;
    display: none;
    z-index: 2;
}
#timeForm table {
    background-color: #ccc;
    border: double;
}
#timeForm span {
    background-color: #eee;
}
#timeForm svg {
    background-color: #eee;
    width: 1em;
    height: 1.5em;
    margin-bottom: -0.4em;
    margin-left: 0.5em;
    cursor: pointer;
}
#timeForm td {
    padding: 0.3em;
    font-size: 1.1em;
    border: solid 1px;
    cursor: pointer;
}
@media screen and (max-width: 700px) {
    #timeForm td {
        padding: 1.5vw;
        font-size: 5.2vw;
    }
    #timeForm {
        left: 0;
        right: 0;
    }
}

#searchBox {
    position: relative;
    width: 1000px;
    max-width: 95%;
    top: 0.2em;
    margin: auto;
}

#searchLine {
    height: 4px;
    overflow: hidden;
    background-color: #bbb;
}

#submitForm,#more_searchLine {
    /*height: 1.9em;*/
    /*width: 25%;*/
    /*max-width: 12em;*/
    /*margin: 0em 0.3em;*/
    padding: 3px 6px;
    border: solid 1px black;
    /*font-size: 14px;*/
    /*vertical-align: middle;*/
    box-sizing:content-box;
    cursor: pointer;
}
#submitForm:hover,#more_searchLine:hover {
    background-color: #fff;
}

.searchLine {
    display: flex;
    background-color: #bbb;
    margin-bottom: 2px;
    padding: 4px;
}
.searchLine input,.searchLine select {
    height: 1.5em;
    width: 25%;
    /*max-width: 12em; */
    margin-right: 2px;
    padding: 1px;
    border: solid 1px black;
    font-size: 14px;
    /*vertical-align: top;*/
    box-sizing:content-box;
}

#search_valueHelp {
    position: absolute;
    background-color: #bbbbbb;
    padding: 0.5em 0em;
    width: 100px;
    height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    z-index: 3;
}
#search_valueHelp .selected {
    background-color: #999999;
    color: #ffffff;
}

.lineRemove {
    height: 23px;
    width: 23px;
    vertical-align: middle;
    background-color: #fff;
    border: solid 1px black;
    cursor: pointer;
}
.lineRemove:hover {
    background-color: #ccc;
}

#search_hidden {
    display: none;
}

#toggle_searchForm {
    position: relative;
    width: 2em;
    height: 1em;
    border: solid #999;
    border-style: 0px 2px 2px;
    border-radius: 0em 0em 0.5em 0.5em;
    cursor: pointer;
    background-color: #999;
    margin-bottom: 8px;
}
#toggle_searchForm:hover {
    background-color: #fff;
}

option:disabled {
    background-color: grey;
}
#searchInterface {
    display: flex;
    background-color: #999;
    padding: 4px;
    /*margin-bottom: 1em;*/
    justify-content: space-around;
}

#view_toggle_buttons {
    display: inline-flex;
    position: absolute;
    right: 0;
    bottom: 0;
}
#view_toggle_list,#view_toggle_calendar,#view_toggle_map {
    padding: 2px 5px;
    text-align: center;
    min-width: 4em;
    background-color: #ccc;
    border-style: solid;
    border-width: 2px 0px 1px 2px;
    cursor: pointer;
}
#view_toggle_list:hover,#view_toggle_calendar:hover,#view_toggle_map:hover {
    background-color: #a3cccc;
    border-bottom-color: transparent;
}

#fullMap {
    position: relative;
    width: 100%;
    height: calc(100% - 3em);
    display: none;
}

#eventsList {
    position: relative;
    display: flex;
    height: calc(100% - 2em - 4px);
    overflow: hidden;
}
#eventList_rowList {
    position: absolute;
    width: 100%;
    top: calc(1em + 9px);
}
#eventsList .item {
    white-space: nowrap;
    padding: 2px 5px;
    /*border-left: solid 1px black;*/
    overflow: hidden;
    cursor: pointer;
}
.eventList_head {
    position: relative;
    background-color: #eee;
    /*padding: 2px calc(1em + 9px);*/
/*    border-bottom: double;
    border-top: solid 2px transparent;*/
    white-space: nowrap;
    cursor: pointer;
/*    border-left: solid 1px black;
    border-right: solid 1px black;*/
    display: flex;
    align-items: center;
    height: 1.5em;
}
.eventList_head_title {
    flex-grow: 2;
    flex-shrink: 0;
    padding: 0px 4px;
    border-bottom: solid 2px black;
    border-top: solid 2px transparent;
    height: calc(100% - 4px);
    display: flex;
    align-items: center;
    user-select: none;
    -moz-user-select: none; /* Firefox */
}
.rightIcon,.leftIcon {
    width: 1.5em;
    height: calc(100% - 2px);
    border-bottom: solid 2px;
}
.rightIcon:hover,.leftIcon:hover {
    background-color: #fbf41e;
}
/*.eventList_head .lockIconFirst {
    background-color: #bf8835;
    position: absolute;
    width: 1.5em;
    height: 100%;
    left: 0;
    top: 0;
}*/
/*.eventList_head .lockIconFirst:hover {
    background-color: #e4ac86;
}*/

.eventList_head:hover {
    background-color: #a3cccc;
}
.eventList_lineList {
    max-width: 12em;
}

#lockIcon {
    position: absolute;
    width: 1.5em;
    height: calc(1.5em - 2px);
    left: 1px;
    top: 0;
    /*border-bottom: solid 2px;*/
    z-index: 2;
    cursor: pointer;
}
.unlockIcon {
    background-color: #eee;
}
.unlockIcon:hover {
    background-color: #98ea82; 
}
/*.lockIcon {
    background-color: #ff7657;
}*/
.lockIcon:hover {
    background-color: #ffb885; 
}
@media screen and (max-width: 700px) {
    .eventList_head {
        height: 2em;
    }
    .rightIcon,.leftIcon,.lockIconLast {
        width: 2em;
    }
    #lockIcon {
        width: 2em;
        height: 2em;
    }
}

#eventList_hookBox {
    position: relative;
    display: flex;
    /*flex-grow: 1;*/
    flex-shrink: 0;
    border-bottom: solid 1px black;
    height: 100%;
    overflow: hidden; 
    z-index: 1;
    min-width: calc(1.5em + 2px);
}
#eventList_hookBox.unlock {
    background-color: rgba(163, 204, 204, 0.3);
}
.eventList_hookBox-margin {
    margin-left: calc(1.5em + 2px);
}
@media screen and (max-width: 700px) {
    #eventList_hookBox {
        min-width: calc(2em + 2px);
    }
    .eventList_hookBox-margin {
        margin-left: calc(2em + 2px);
    }
}

#eventList_scrollBox {
    position: relative;
    display: flex;
    flex-grow: 2;
    border-bottom: solid 1px black;
    overflow: auto;
    height: 100%;
    z-index: 1;
}
#eventList_scrollBox.unlock {
    background-color: rgba(251, 244, 30, 0.1);
}

#eventList_item-name {
    /*max-width: 12em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}
#eventList_item-type {
    /*max-width: 12em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}

#eventList_item-organizer { 
    /*max-width: 8em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}

#eventList_item-taportal {
    /*max-width: 8em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}
#eventList_item-begin {
    /*max-width: 12em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}
#eventList_item-town {
    /*max-width: 8em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}
#eventList_item-country {
    /*max-width: 8em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}
#eventList_item-entryfee {
    /*max-width: 8em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}
#eventList_item-registered {
    /*max-width: 8em;*/
    border-left: solid 1px black;
    flex-grow: 2;
}

#eventsList .canceled {
    color: #f70752;
}

#eventPreview {
    /* bottom: 0; */
    background-color: #fff;
    border: solid 2px black;
    display: none;
    left: 0;
    margin: auto;
    max-height: calc(100% - 4em);
    max-width: calc(95% - 2em);
    overflow-y: auto;
    padding: 0em 1em 1em;
    position: fixed;
    right: 0;
    top: 2.7em;
    width: calc(1000px - 2em);
    z-index: 1000;
}
#eventPreview button {
    border-radius: 1px;
    border: solid 1px #999;
    cursor: pointer;
    padding: 0.2em 0.5em;
}
#eventPreview button:hover {
    background-color: #A3CCCC;
}
#enroll_friends_spoiler {
    display: none;
    position: absolute;
    z-index: 1;
}
.enroll_friends {
    margin-left: 2px;
}
#eventPreview .closeElement{
    position: absolute;
    right: 0;
    top: 0;
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
    background-color: #fff;
    border: solid 1px black;
    cursor: pointer;
    z-index: 3;
}
#eventPreview .canceled {
    position: absolute;
    z-index: 2;
    fill-opacity: 0.7;
}
.enroll_friends_line {
    margin-top: 3px;
}
#eventPreview table {
    width: 100%;
    border-collapse: collapse;
}
#eventPreview td {
    border-bottom: dotted 1px;
}
#eventPreview pre {
    background-color: #eee;
    font-style: italic;
    max-height: 40vw;
    overflow: auto;
    padding: 0.5em;
    white-space: pre-line;
}
#eventPreview .contactItem {
    display: block;
}
#previewMap {
    height: 40vh;
    margin: auto;
    position: relative;
    width: 80%;
}
#eventPreview_box {
    overflow: auto;
    position: relative;
}
#eventPreview .registeredTable {
    background-color: #ccc;
    border: double;
    cursor: auto;
    display: none;
    max-height: 50%;
    overflow: auto;
    padding: 1.6em 1.6em 0.2em 0.2em;
    position: absolute;
    z-index: 1001;
}
#eventPreview a:hover {
    background-color: #A3CCCC;
}
#eventPreview .registeredLine:hover {
    background-color: #A3CCCC;
    cursor: pointer;
}
#eventsService {
    height: 2em;
    position: relative;
}
#createEvent {
    /*float: left;*/    
    border: solid 1px;
    padding: 0.2em 0.5em;
    margin: 0.5em;
    background-color: #fff;
    cursor: pointer;
}
#createEvent:hover {
    background-color: #a3cccc;
}

#newEventForm {
    position: fixed;
    width: 1000px;
    max-width: 95%;
    bottom: 0;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    margin-top: 2.7em;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    border: solid 2px black;
}
#newEventForm .closeElement{
    position: absolute;
    right: 0;
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
    background-color: #fff;
    border: solid 1px black;
    cursor: pointer;
    z-index: 1;
}
#newEventForm form {
    margin: 2em 0em 1em 1em;
    line-height: 2em;
    height: calc(100% - 2em);
    overflow: auto;
}
#newEventForm table {
    width: 100%;
}
#newEventForm td {
    border-bottom: solid 1px #000;
}
#newEventForm td.organizer {
    position: relative;
}
#newEventForm textarea {
    width: calc(100% - 6px);
    height: 4em;
}
#newEventForm .reset {
    margin-left: 1px;
    cursor: pointer;
    background-color: #ddd;
    border: solid 1px #999;
    display: inline;
    padding: 0em 0.4em 2px;
    cursor: pointer;
}
#newEventForm .set_datetime {
    text-shadow: 0 0 0 #000;
    color: transparent;
}

#event_placeList {
    position: absolute;
    top: 0;
    display: none;
    background-color: #cfb;
    padding: 1em;
    border: double;
    z-index: 21;
}
#event_placeList label {
    display: block;
    cursor: pointer;
    line-height: 2em;
}
#event_placeList label:hover {
    background-color: #aea;
}
#other_country {
    display: block;
}
#other_country.unvisible {
    visibility: hidden;
}
.newEventForm-label {
    display: block;
}

#userWhisper {
    position: absolute;
    /*padding: 0.3em;*/
    background-color: #ffebcd;
    max-height: 10em;
    border-style: solid;
    border-width: 1px;
    overflow: auto;
    top: calc(100% - 0.5em);
    z-index: 1;
}
#userWhisper div {
    padding: 0em 0.4em;
    cursor: pointer;
}
#userWhisper div:hover {
    background-color: #e4ac86;
}