﻿/* 
    Add custom overrides for EPIServer Forms CSS Classes here
    See guide: https://world.episerver.com/documentation/developer-guides/forms/css-styling-and-javascript/
*/

.custom-form .Form__Element .Form__Element__ValidationError {
    background-color: transparent;
    color: #af3434;
    font-size: 12px;
    font-weight: normal;
    margin: 4px 0 0 0;
    padding: 0 0;
}

.custom-form .FormChoice label.checkLabel {
    display: inline-block;
}

.wool-form .Form__Status .Form__Success__Message {
    background-color: transparent;
}

.wool-form .bootstrapCheckboxElement {
    padding-left: 0;
    padding-right: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExenhqNWY4eWJnajY5NWJqMTYwcTI5aHFuNjAwdnV1ZHhjYmVxdmZrZyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3oEjI6SIIHBdRxXI40/giphy.gif') 50% 50% no-repeat;
    margin: 0;
}

.loading .modal {
    overflow: hidden;
}

.loading .modal {
    display: block;
}

.modal_error {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.loadingError .modal_error {
    overflow: hidden;
}

.loadingError .modal_error {
    display: block;
}
