@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

/* Mail me form */
#form-widgets-mail_me {
    display: none;
}

/* WYSIWYG editor */
#formfield-form-widgets-wysiwyg_editor {
    display: none;
}

/* Registration fullname field */
#formfield-form-widgets-fullname {
    display: none;
}

/* Add element to default page action */
#plone-contentmenu-add-to-default-page.pat-plone-modal {
    display: none;
}

/* Color the content icons depending on state (only when links) */
a[class*="contenttype-"].state-incomplete::before,
a[class*="contenttype-"].state-unpublished::before {
    color: #bf0000 !important;
}

a[class*="contenttype-"].state-partially-published::before {
    color: #f18f33 !important;
}

a[class*="contenttype-"].state-published::before {
    color: #32a852 !important;
}

/* Change content icons depending on content (only when links) */

a.contenttype-gallery::before {
    font-family: inherit;
    content: '\47';
    font-weight: bold;
    font-style: italic;
}

a.contenttype-catalogue::before {
    font-family: inherit;
    content: '\43';
    font-weight: bold;
    font-style: italic;
}

a.contenttype-section::before {
    font-family: inherit;
    content: '\53';
    font-weight: bold;
    font-style: italic;
}

a.contenttype-artwork::before {
    font-family: inherit;
    content: '\41\72\74';
    font-weight: bold;
    font-style: italic;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.font-weight-lighter {
    font-weight: lighter;
}

.font-style-italic {
    font-style: italic;
}

/* Style all font awesome icons */
.fa {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    color: white !important;
}

/* Add a hover effect if you want */
.fa:hover {
    opacity: 0.7;
}

.box-sizing-content-box {
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#portal-footer .doormat {
    text-align: center;
}

.font-weight-normal {
    font-weight: normal;
}

.font-weight-bold {
    font-weight: bold;
}

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

table.overridden, td.overridden {
    border: none;
    background-color: inherit;
    color: inherit;
}

td.fitwidth {
    width: 1px;
    white-space: nowrap;
}

.font-style-italic {
    font-style: italic;
}

.number-enumeration-reset {
    counter-reset: number-section;
}

.letter-enumeration-reset {
    counter-reset: letter-section;
}

h3.number-enumeration::before {
    counter-increment: number-section;
    content: counter(number-section) ". ";
}

h4.letter-enumeration::before {
    counter-increment: letter-section;
    content: counter(letter-section, lower-alpha) ". ";
}

.plone-modal-body #content-core {
    margin: 60px !important;
}

.plone-modal-body #content-core > h3:first-child {
    margin-top: 0;
}

/* Info and warning fields */
.field.info {
    background: #00bbff;
    -webkit-box-shadow: 0 0 0 5px #00bbff;
    box-shadow: 0 0 0 5px #00bbff;
}
.field.warning, .field.warn {
    background: #ffbe3399;
    -webkit-box-shadow: 0 0 0 5px #ffbe3399;
    box-shadow: 0 0 0 5px #ffbe3399;
}

.fieldErrorBox dt, .fieldErrorBox dd {
    display: inline;
    padding-right: 5px;
}

.fieldErrorBox dt {
    font-weight: bold;
}

.fieldErrorBox dd {
    font-weight: normal;
}

.fieldErrorBox dt:first-of-type {
    padding-left: 30px;
}

.fieldErrorBox dt:first-of-type::before {
    font-size: 14px;
    font-weight: bold;
    margin-left: -30px;
    margin-right: 10px;
    display: inline-block;
    border-radius: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-shadow: 0 -1px rgb(0 0 0 / 50%);
    top: -1px;
    position: relative;
}

.field.error .fieldErrorBox dt:first-of-type::before {
    background-color: #ac493f;
    content: "×";
}

.field.info .fieldErrorBox dt:first-of-type::before {
    background-color: #3e7b91;
    content: "i";
}

.field.warning .fieldErrorBox dt:first-of-type::before, .field.warning .fieldErrorBox dt:first-of-type::before {
    background-color: #a77f0e80;
    content: "!";
}

/* Custom states and transitions colors */

#edit-zone nav > ul ul .state-unpublished:after,
#edit-zone nav > ul ul #workflow-transition-unpublish:after {
    font-size: 20px;
    position: absolute;
    right: 15px;
    content: '•';
    color: #bf0000 !important;
}

#edit-zone nav > ul a.label-state-unpublished > span:before {
    color: #bf0000 !important;
}

#edit-zone nav > ul > li.active > a.label-state-unpublished,
.plone-toolbar-expanded #edit-zone li a.label-state-unpublished:hover,
.plone-toolbar-expanded #edit-zone li a.label-state-unpublished:hover span {

    background: #bf0000 !important;
}

#edit-zone nav > ul ul .state-partially-published:after {
    font-size: 20px;
    position: absolute;
    right: 15px;
    content: '•';
    color: #f18f33 !important;
}

#edit-zone nav > ul a.label-state-partially-published > span:before {
    color: #f18f33 !important;
}

#edit-zone nav > ul > li.active > a.label-state-partially-published,
.plone-toolbar-expanded #edit-zone li a.label-state-partially-published:hover,
.plone-toolbar-expanded #edit-zone li a.label-state-partially-published:hover span {
    background: #f18f33 !important;
}

#edit-zone nav > ul ul .state-published:after,
#edit-zone nav > ul ul #workflow-transition-publish:after {
    font-size: 20px;
    position: absolute;
    right: 15px;
    content: '•';
    color: #32a852 !important;
}

#edit-zone nav > ul a.label-state-published > span:before {
    color: #32a852 !important;
}

#edit-zone nav > ul > li.active > a.label-state-published,
.plone-toolbar-expanded #edit-zone li a.label-state-published:hover,
.plone-toolbar-expanded #edit-zone li a.label-state-published:hover span{
    background: #32a852 !important;
}

.plone-toolbar-expanded #edit-zone li a.label-state-unpublished:hover > span:first-child:before,
.plone-toolbar-expanded #edit-zone li a.label-state-partially-published:hover > span:first-child:before,
.plone-toolbar-expanded #edit-zone li a.label-state-published:hover > span:first-child:before {
    color: white !important;
}

/* Bigger left Toolbar */

@media (min-width: 767px) {
    .plone-toolbar-left.plone-toolbar-left-expanded {
        padding-left: 150px;
    }
    .plone-toolbar-left.plone-toolbar-left-expanded #edit-zone {
        width: 150px;
    }
    .plone-toolbar-left.plone-toolbar-left-expanded #edit-zone .plone-toolbar-logo {
        width: 150px;
    }
    .plone-toolbar-left.plone-toolbar-left-expanded #edit-zone ul.plone-toolbar-main>li {
        width: 150px;
    }
    .plone-toolbar-left.plone-toolbar-left-expanded #edit-zone .plone-toolbar-main {
        width: 150px;
        padding-right: 0;
    }
    .plone-toolbar-left.plone-toolbar-left-expanded #edit-zone nav>ul ul {
        left: 150px;
    }
    .plone-toolbar-left.plone-toolbar-left-expanded #edit-zone nav>ul#personal-bar-container{
        width: 150px;
    }

    .plone-toolbar-expanded #edit-zone .plone-toolbar-caret {
        padding-right: 10px;
    }
}

/*!* Hide "Advanced..." button in left menu *!*/

a#workflow-transition-advanced {
    display: none;
}

/*!* Manage subscription *!*/

.subscription {
    max-width: 100%;
    padding: 20px;
    width: 400px;
    background: #eee;
    text-align: center;
    font-size: 17px;
}

.subscription .subscription__btn {
    background: #BD295F;
    padding: 12px;
    border: none !important;
    font-size: 18px;
    box-shadow: none;
    border-radius: 0;
    outline: none;
    text-shadow: none;
    margin: 0;
}

.subscription .subscription__btn:hover,
.subscription .subscription__btn:focus{
    background: #263783;
}

.subscription .subscription__name {
    font-size: 24px;
    text-transform: uppercase;
}

.subscription .subscription__price span {
    font-weight: bold;
}

.subscription .portalMessage.info {
    margin-top: 10px;
    border:none;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    text-shadow: none;
}


input[type="color"].color-field {
    width: 34px;
    padding: 2px 2px;
}
