html, body {
    margin: 0;
    padding: 0;
}
body {
    font-family: Helvetica, Arial, sans-serif;
    height: 100%;
}

body.userPage {
    background-color: #747474;
    color: white;
}

body.userPage a {
    color: #54BBFF;
}

body.adminPage a {
    color: blue;
}

body.adminPage a:hover {
    text-decoration: underline;
}

fieldset {
    margin-top: 16px; 
    border: 1px solid gray;
    border-radius: 5px;
}

body.userPage h2 {
    margin-top: 0pt;
    margin-bottom: 8pt;
}

hr {
    border-top: 1px solid #3F3F3F;
    border-bottom: none;
    border-left: none;
    border-right: none;
}
/* ==================== */
/*        OTHER         */
/* ==================== */
#timeline {
    overflow-x: scroll;
    overflow-y: hidden;
}

#timelineBox div.border{
    border-bottom: 1px solid #3F3F3F;
}

.userContent {
    margin: 20pt;
}

#fileList {
    overflow-y: scroll;
    border-top: 1px solid #3F3F3F;
    /*margin-top: 12pt;*/
    /*overflow-y: hidden;*/
}

#fileList h2{
    clear: both;
    margin: 0;
    padding: 0;
    font-size: 1.1em;
}

#fileList .image, #timeline .image, #textEditor .image {
    /*.timelineImage{*/
    display: block;
    width: 120px;
    height: 90px;
    float: left;
    margin: 8px;
    /*background: #FFF;*/
    background-color: #464646;
    border: 3px #AAA solid;
    border-radius: 12px;
    box-shadow: 1px 1px 2px black;
    background-size: auto 90px;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
}

#textEditor div.textarea { /* div for 2 textareas */
    float: right;
    width: 450px;
}

#textEditor div.textarea  textarea.mceEditor {
    min-height: 180px;
}

#textEditor .mce-statusbar {
    display: none !important;
}

#fileList .timeline, #timeline .timeline {
    /*.timelineImage{*/
    display: block;
    width: 120px;
    height: 120px;
    float: left;
    margin: 8px;
    padding: 6px 0 0;
    background-color: #464646;
    border: 3px #AAA solid;
    border-radius: 12px;
    box-shadow: 1px 1px 2px black;
    background-repeat: no-repeat;
    background-position: bottom;
    text-align: center;
}
#functionIcons .icon {
    display: block;
    width: 64px;
    height: 64px;
    float: left;
    margin: 8px;
    background: #AAA;
    border: 3px #AAA solid;
    border-radius: 12px;
    box-shadow: 1px 1px 2px black;
    background-repeat: no-repeat;
    background-position: 0 0;
    text-align: center;
}

.uploadButton {
    position: absolute;
    right: 20px;
    top: 20px;
    /*width: 130px;*/
    height: 64px;
    color: black;
    line-height: 64px;
    padding-left: 110px;
    padding-right: 20px;
    background: white;
    border: 3px #AAA solid;
    border-radius: 12px;
    box-shadow: 1px 1px 2px black;
    background-repeat: no-repeat;
    background-position: 20px 0;
}

#textEditor {
    /*overflow-y: scroll;*/
    height: 100%;
}

#textEditor div.box {
    margin-top: 24px;
}

#textEditor input {
    width: 440px;
}

#textEditor textarea {
    width: 440px;
    height: 100px;
    font-family: Helvetica, Arial, sans-serif;
}

#timeline .space {
    height: 90px;
    float: left;
    /*border: 3px #AAA solid;
    margin: 8px;*/

}
#timeline .spaceHover {
    height: 90px;
    width: 120px;
    float: left;

    /*border: 3px red solid;
        margin: 8px;*/


}

/* ==================== */
/*        EVENT         */
/* ==================== */

.eventEditor {
    margin: 20pt;
}
.eventEditor table {
    width: 1200px;
    margin-left: auto;  
    margin-right: auto;
}

.eventEditor table th {
    font-size: 1.1em;
}


.eventEditor textarea {
    font-family: Helvetica, Arial, sans-serif;
    width: 300px;
    height: 100px;
}

.eventEditor fieldset {
    border: 1px solid white;
}

.eventEditor fieldset legend {
    font-size: 1.3em;
}

.eventEditor .company input {
    font-size: 1.3em;
}

.eventEditor .company td, .eventEditor .company th {
    text-align: left;
    padding-bottom: 3px;
}

.eventEditor .company td {
    padding-bottom: 24px;
}

.eventEditor .company td.logo {
    text-align: right;
}

.eventEditor .company td.logo img {
    max-width: 350px;
    max-height: 110px;
}

/* ==================== */
/*        PANEL         */
/* ==================== */
.login {
    text-align: center;
    padding: 12px;
    /*border: 1px solid #AAA;*/
    border-radius: 12px;
    box-shadow: 2px 2px 5px #AAA;
}
.login input{
    display: block;
    margin: 10px auto;
    text-align: center;
    width: 250px;
    height: 25px;
    border: 1px solid #CCC;
    border-radius: 3px;
}

/* == MENU == */
.menu {
    height: 20px;
    clear: both;
    padding: 0;
    margin: 20px;
}
.menu li{
    list-style: none;
    display: block;
    float: left;
    margin: 0 1px;


}
.menu li a{
    padding: 6px;
    width: 120px;
    text-align: center;
    display: block;
    color: white;
    text-decoration: none;
    background: #AAA;
    border: 1px solid #888;
    border-radius: 12px 12px 0 0;
}
.menu li a:hover{
    /*text-decoration: underline;*/
    background: #BBB;
}

.panel {
    margin: 12px;
}

.panel .frame {
    float: left;
    margin-bottom: 24px;
    margin-right: 24px;
    /*margin: 12px;*/ /* 12px */
    width: 400px;
    background: #EEE;
    /*border: 1px gray solid;*/
    border-radius: 5px;
    box-shadow: 5px 5px 10px #BBB;
}

/*.panel .header {
    height: 45px;
}
*/
.panel .header, .popupSetting .header {
    margin: 5px;
}

.panel .header, .panel .footer, .popupSetting .header {
    position: relative;
}
.panel .header h3, .popupSetting .header h3 {
    margin: 0px;
    padding: 0px;
}
.panel .header span, .popupSetting .header span {
    position: absolute;
    right: 0px;
    top: 0px;
    margin: 0px;
    padding: 0px;
}

.popupSetting .header span {
    width: 100%;
    text-align: right;
}

.panel .header span {
    /*top: 25px;*/
    background-color: #EEE;
    z-index: 10;
    padding-left: 10px;
}

.popupSetting .header div {
    margin-top: 6px;
}

.panel .screenShot {
    width: 400px;
    height: 225px;
}

.panel .footer{
    height: 30px;
}

.panel .footer div {
    margin: 0px;
    padding: 5px;
}
.panel .footer span {
    position: absolute;
    right: 0px;
    top: 0px;
    margin: 0px;
    padding: 5px;
}

.newHotel .create {
    float: right;
    width: 40%;
}

.newHotel .uploadImage{
    width: 55%;
    float: left;
    margin-left: 30px;
}

.newHotel .uploadImage form span {
    display: inline-block;
    width: 240px;
}

.newHotel hr {
    margin: 30px;    
}

.newHotel .images {
    text-align: center;
}

.newHotel .images img {
    display: inline-block;
    width: 330px;
    margin-left: 10px;
}