
/**
Image upload fields
 */
#fields-image-field #fields-image .btn.add,
#fields-isometry-field #fields-isometry .btn.add,
#fields-plan-field #fields-plan .btn.add,
#fields-additionalImages-field #fields-additionalImages .btn.add {
    display: none;
}

#global-footer {
    display: none;
}

/**
Buttons
 */
#handin-building-open-modal,
.btn-red {
    background-color: #E12D39 !important;
    color: #fff !important;
}

#building-hand-in-btn:hover,
.btn-red:hover {
    background-color: #d61f2b !important;
}

/**
Remove CP elements
 */

#export-btn {
    display: none;
}

#announcements-btn {
    display: none;
}

.edit-user #username-field {
    /* display: none;*/
}

.edit-entry #details #notes {
    display: none;
}

/**
Entries
 */
#ajax-handin-building-wrapper {
    margin-bottom: 1rem;
}

/*
.edit-entry #details #settings {
    display: none;
}
*/
/**
Modal
 */
.mame-modal {
    display: none;
}

.mame-toast, .mame-toast-sticky {
    /*visibility: hidden;*/
    /*margin-left: -125px;*/
    background-color: #333;
    color: #fff !important;
    text-align: center;
    /* border-radius: 2px;*/
    padding: 1em;
    position: fixed;
    z-index: 9999;
    /*left: 50%;*/
    bottom: 30px;
    margin-left: 1rem;
}

.mame-toast-sticky {
    padding: 2px 29px 2px 12px !important;
}

.mame-toast-sticky.show {
    visibility: visible;
    -webkit-animation: mame-toast-fadein 0.5s;
    animation: mame-toast-fadein 0.5s;
}

.mame-toast.show {
    visibility: visible;

    -webkit-animation: mame-toast-fadein 0.5s, mame-toast-fadeout 0.5s 2.5s;
    animation: mame-toast-fadein 0.5s, mame-toast-fadeout 0.5s 2.5s;
}

.mame-toast.success, .mame-toast-sticky.success {
    background-color: #0e8812;
}

.mame-toast.error, .mame-toast-sticky.error {
    background-color: #d03800;
}

#mame-toast-close {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    font-size: 1.1rem;
    background: white;
    color: #0e8812;
    cursor: pointer;
}

#mame-toast-close.error {
    color: #d03800;
}

@-webkit-keyframes mame-toast-fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes mame-toast-fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes mame-toast-fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes mame-toast-fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

/**
Status label
 */

.building-status {
    cursor: default !important;
}

.building-status.submitted, .building-status.submitted:hover {
    background-color: #E12D39;
    color: white;
}

.building-status.checked, .building-status.checked:hover {
    background-color: #f39e00;
    color: white;
}

.building-status.published, .building-status.published:hover {
    background-color: #179a00;
    color: white;
}

#fields-confirmation-modal-copy-entry {
    display: none;
}

input[disabled] {
    opacity: 0.5;
}

.messages .message-container {
    position: relative;
}

#job-icon {
    display: none !important;
}

/**
Element selector modal
 */

.edit-entry .modal.elementselectormodal td:not(:first-of-type), .edit-entry .modal.elementselectormodal th:not(:first-of-type) {

    display: none;
}

/**
edit-entry: person
 */
#fields-roleCategory .element.small.hasstatus {
    margin: 0;
    padding-bottom: 1px;
}

/**
Directory
 */
img.directory-portrait {
    max-width: 30px;
    transition: transform .2s;
}

img.directory-portrait:hover {
    transform: scale(3);
    margin-left: 0.4em;
}

#cp-people-directory .pagination li {
    display: inline-block;
}

#cp-people-directory .tableview .summary {
    margin-bottom: 2em;
}

#fields-projectLeadpi-field {
    display: none;
}

#fields-projectContributingPi-field {
    display: none;
}

#fields-projectPrincipalInvestigator-field {
    display: none;
}

#fields-projectMainCollaborator-field {
    display: none;
}

/**
Documentation
 */
#content.documentation ul li {
    list-style: square inside;
    line-height: 2.3;
}

#content.documentation h2 {
    margin-top: 2em;
}

#content.documentation .content-section {
    margin-bottom: 3em;
}

#content.documentation .content-section img, #content.documentation .content-section figcaption {
    /*width: 100%;*/
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

#content.documentation .content-section figcaption  {
    margin-bottom: 1rem;
}

/**
Incomplete profiles
 */
.cp-incomplete-buttons {
    margin-bottom: 2em;
}

/**
Unused assets
 */

#cp-unused-assets input[type="submit"] {
    margin-bottom: 2rem;
}

/**
Pages
 */
.mame-cp-page .content-section {
    margin-bottom: 3em;
}

/**
Edit entry
 */

.entry-warning {
    background: #E5422B !important;
    color: white;
    padding: 1rem;
}

#global-container #alerts {
    display: none;
}

#fields-export-buttons {
    margin-bottom: 0.5rem;
}

#main-form #fields-date-label{
    font-weight: bold;
}