html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, "Noto Sans", Ubuntu, Cantarell, "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 18px;
}

.body-container {
    display: none;
}

.error-panel {
    display: none;
    position: fixed;
    left: -2px;
    bottom: -2px;
    background-color: orangered;
    color: white;
    padding: 20px 40px;
    white-space: nowrap;
    z-index: 9999;
    border-radius: 4px;
}

.nav-bar {
    background-color: #484848;
    color: white;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: 2;
    box-shadow: 0px 0px 5px #000;
}

.nav-bar a {
    color: white;
}

.nav-bar a:hover {
    text-decoration: underline;
}

.menu-bars {
    float: right;
    cursor: pointer;
    font-size: 40px;
    line-height: 100%;
}

#menu {
    display: none;
    position: fixed;
    top: -2px;
    right: -2px;
    background-color: #acacac;
    box-shadow: 0px 0px 5px #000;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 3;
    border-radius: 4px;
    overflow: hidden;
}

#menu li {
    border-bottom: 1px solid #6b6b6b;
}

#menu li:hover {
    background-color: #6b6b6b;
}

#menu li:last-child {
    border-bottom: none;
}

#menu li a {
    padding: 8px 12px;
    display: block;
}

#menu li a:hover {
    text-decoration: none;
}

.loader {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0.5;
}

.loader i {
    margin: 0;
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    font-size: 100px;
}

.body-content {
    padding-top: 80px;
}

h1 {
    font-size: 30px;
    margin: 0;
    padding: 5px 0px 5px 0px;
    line-height: 100%;
}

h2 {
    font-size: 25px;
    margin-top: 0px;
    margin-bottom: 30px;
    line-height: 100%;
}

button {
    cursor: pointer;
    background-color: rgb(160, 108, 11, 0.6);
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 3px !important;
}

button:hover {
    background-color: rgb(160, 108, 11, 1.0);
}

button.secondary {
    background-color: rgb(85, 85, 85, 0.6);
}

button.secondary:hover {
    background-color: rgb(85, 85, 85, 1.0);
}

input[type="text"], input[type="password"], textarea, select {
    background-color: #d5e6d6 !important;
    border: 0 !important;
    border-radius: 4px;
}

input[type="text"]::placeholder, textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white;
    opacity: 1; /* Firefox */
}

input[type="text"]::-ms-input-placeholder, textarea::-ms-input-placeholder { /* Microsoft Edge */
    color: white;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    box-shadow: 0px 0px 5px #000;
}

.callout {
    min-height: 150px;
    background-color: #858585;
    padding: 15px;
    opacity: 0.85;
    position: relative;
    border: 0;
    margin: 0;
    border-radius: 4px;
}

.callout:hover {
    opacity: 1.0;
}

.callout:hover .callout-edit {
    display: block;
}

.callout h2 {
    color: white;
    margin-bottom: 15px;
}

.callout p {
    margin: 0;
    font-size: 14px;
    color: white;
}

.callout button {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 30px);
    background-color: rgb(255, 255, 255, 0.2);
    color: white;
}

.callout button:hover {
    background-color: rgb(255, 255, 255, 0.6);
    color: #444444;
}

.callout-edit {
    float: right;
    margin-left: 10px;
    width: 30px;
    max-width: 30px;
    overflow: hidden;
    height: 30px;
    text-align: center;
    cursor: pointer;
    display: none;
}

.callout-edit:hover {
    background-color: rgb(255, 255, 255, 0.2);
    border-radius: 4px;
}

.callout-edit:hover i {
    color: white;
}

.callout-edit i {
    color: rgb(255, 255, 255, 0.6);
}

.form-question {
    background-color: #858585;
    border: 1px solid #858585;
    border-radius: 4px;
}

.form-question .question-header {
    padding: 10px 15px 10px 15px;
}

.form-question .question-header h2 {
    color: white;
    margin-bottom: 0px;
}

.form-question .question-body {
    padding: 15px;
    background-color: white;
    border-radius: 4px;
}

.form-question .question-body input, .form-question .question-body textarea {
    margin-bottom: 0px;
}

.mandatory {
    font-size: 12px;
    color: #dd0000;
    display: block;
}

.survey {
    background-color: #328637;
    border: 1px solid #328637;
}

.cafeteria {
    background-color: #dd8819;
    border: 1px solid #dd8819;
}

.reveal {
    border-radius: 4px;
    box-shadow: 0px 0px 5px #000;
}

.popup-close {
    font-size: 30px;
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.5;
    cursor: pointer;
}

.editable-field {
    position: relative;
    min-height: 45px;
}

.field-edit {
    position: absolute;
    right: 5px;
    top: 5px;
    display:none;
    white-space: nowrap;
    height: 30px;
    overflow: hidden;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0px 0px 5px #000;
}

.field-edit div {
    display: inline-block;
    width: 30px;
    max-width: 30px;
    overflow: hidden;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background-color: #efefef;
    border-left: 1px solid #cccccc;
}

.field-edit div:first-child {
    border-left: none;
}

.field-edit div:hover {
    background-color: #dedede;
}

.field-display:hover .field-display-edit {
    display: block;
}

.field-display-edit {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 42px;
    border: 1px solid #efefef;
    display: none;
    cursor: text;
    border-radius: 4px;
}

.field-display-edit div {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: #efefef;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
}

.field-display-edit div:hover {
    background-color: #dedede;
}

#questions {
    display: none;
}

#new-question {
    display: none;
}

#users {
    display: none;
}

#new-user {
    display: none;
}

.calendar-button {
    display: inline-block;
    background-color: rgb(85, 85, 85, 0.6);
    cursor: pointer;
    color: white;
    padding-left: 14px;
    width: 45px;
    height: 39px;
    border-radius: 3px !important;
    position: relative;
    left: -4px;
    top: -9px;
    line-height: 100%;
    z-index: 0;
}

.calendar-button i {
    font-size: 20px;
    position: relative;
    top: 8px;
}

.calendar-button:hover {
    background-color: rgb(85, 85, 85, 1.0);
}

@media (min-width: 1200px) {
    .side-bar {
        position: fixed;
        width: 270px;
    }
}
