:root {
    --metadataeditor-green-dark: #00876c;
    --metadataeditor-green-light: #00876cbd;
    --metadataeditor-red-dark: #ca4552;
    --metadataeditor-red-light: #e85e6c;
    --metadataeditor-white: #fff;
}

.close{
    position: fixed;
    top: 10px !important;
    right: 10px !important;
}
/*Fix for broken scrolling after closing second modal*/
.modal { 
    overflow-y: auto;
}

.tabulator {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Modal Style */
#failed-modal .modal-content, #success-modal  .modal-content, #alert-modal  .modal-content{
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
}

#failed-modal .modal-header, #success-modal .modal-header, #alert-modal .modal-header {
    border-bottom: none;
    position: relative;
    margin: -20px -20px 0px;
    border-radius: 5px 5px 0px 0px;
    padding: 35px;
}

#failed-modal .modal-header, #alert-modal .modal-header {
    background: var(--metadataeditor-red-dark) !important;
}

#failed-modal .icon-box, #success-modal .icon-box, #alert-modal .icon-box  {
    color: var(--metadataeditor-white);
    width: 95px;
    height: 95px;
    display: inline-block;
    border-radius: 50%;
    z-index: 9;
    border: 5px solid var(--metadataeditor-white);
    padding: 15px;
    text-align: center;
}

#failed-modal .icon-box>i, #success-modal .icon-box>i, #alert-modal .icon-box>i  {
    font-size: 58px;
    margin: -2px 0px 0px -2px;
}

.text_center {
    text-align: center !important;
}

*:focus {
    outline:none !important;
    box-shadow: none!important;
}

/* Hide the browser's default checkbox */
.container input[type=checkbox] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover ~ .checkmark {
    background-color: #ccc;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btn-failed, .btn-alert, .btn-failed:active, .btn-alert:active{
    background: var(--metadataeditor-red-dark) !important;
}

.btn-failed:hover,.btn-failed:focus,.btn-alert:hover,.btn-alert:focus {
    background: var(--metadataeditor-red-light) !important;
    outline: none;
    color: var(--metadataeditor-white);
}

#editor-buttons{
    margin-bottom: 25px;
}

.error .jsonform-errortext{
    color: var(--metadataeditor-red-dark) !important;
}

.form-group > label{
    font-weight: bold;
    color: #245580 !important;
    text-decoration: underline;
    margin-left: -10px;
    margin-bottom: 10px;
}

.form-group > legend{
    font-weight: bold;
    font-size:1.2rem;
}


