/*
 * Hack to correct a bug in Firefox which adds too much padding for select elements.
 * https://bugzilla.mozilla.org/show_bug.cgi?id=1582545
 */
@-moz-document url-prefix() {
    select {
        text-indent: -.13rem;
    }
}

/* Override the global (infopedia.css) settings */
.error {
    color: #FF3C50;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: left;
}

#suggest-new-entry .form-control.error {
    /* border: none; */
    box-shadow: 0 0 5px #FF3C50;
    border: 2px solid #FF3C50;
}

label.success-message, label.error-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: normal
}

.input:focus {
    outline: none !important;
    border:1px solid #FF3C50;
    box-shadow: 0 0 10px #719ECE;
}

/*input:focus,
textarea:focus {
    box-shadow: 0 0 0 rgb(255, 255, 255) !important;
}*/

.commentsContainer .comments-button {
    border: 1px solid #FDA100;
    border-radius: 10px;
    /* font: normal normal 600 11px/28px 'Montserrat', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 28px;
    color: #FDA100;
    padding: 0;
    width: 260px;
    height: 30px;
    text-transform: uppercase;
}

.dol-col-40 .commentsContainer {
    display: block;
}

.dol-col-100 .commentsContainer,
.dol-col-60 .commentsContainer {
    display: none;
}

.commentsContainer {
    /* display: none; */
}

.commentsContainer {
/*    background: #F2F2F2 0% 0% no-repeat padding-box;*/
    padding-top: 15px;
    margin: 0 -15px 15px -15px;
    /* Ensure buttons (class btn, inline-block) are centred horizontally */
    text-align: center;
    width: calc(100% + 30px);
    height: 60px;
}

.dictionary .commentsContainer {
    margin: 35px -15px 15px -15px;
}

.comments-button {
    border: 1px solid #FDA100;
    border-radius: 10px;
    color: #FDA100;
    font: normal normal 600 11px/28px 'Montserrat', sans-serif;
    padding: 0;
    width: 260px;
    height: 30px;
    text-transform: uppercase;
}

.comments-and-suggestions-box h2, .confirmation-box h2 {
    text-align: center;
    font: normal normal bold 30px/34px 'Montserrat', sans-serif;
    color: #FDA100;
    margin-bottom: 10px;
}

.confirmation-msg {
/*    border-top: 1px dotted #000000;*/
    padding-top: 20px;
}

.confirmation-subtitle {
    text-align: center;
    font: normal normal 500 18px/22px 'Montserrat', sans-serif;
    margin-bottom: 5px;
}

.confirmation-text {
    text-align: center;
    font: normal normal 400 16px/22px 'Montserrat', sans-serif;
    margin: 0 20px 25px 20px;
}

.confirmation-close-button {
    width: 100%;
    height: 40px;
    text-align: center;
    text-transform: uppercase;
    font: normal normal 500 14px/40px 'Montserrat', sans-serif;
    background: #FDA100 0% 0% no-repeat padding-box;
    border-radius: 10px;
    padding: 0;
}

/**************************************
 *
 * MODAL WINDOW DEFINITIONS
 *
 **************************************/

#comments-and-suggestions-modal.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99900; /* Sit on top, even above the navbar */
    padding-top: 60px; /* Location of the box, just below the navbar */
    left: 0;
    top: 0px; /* Cover the entire screen */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #FFFFFF;
}

/* Modal Content */
#comments-and-suggestions-modal .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 15px;
    border: none;
    width: 60%;
    min-width: 320px;
    /* height: 460px; */
    height: auto;
    border-radius: 10px;
}

/* The Close Button */
#comments-and-suggestions-modal .close {
    position: absolute;
    top: 25px;
    right: 35px;
    opacity: 1;
    cursor: pointer;
}

#comments-and-suggestions-modal .close img {
    width: 20px;
    height: 20px;
}

/* ### START FLOATING LABELS ### */
label.floating-label, label.select-floating-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    color: #777777;
    width: auto;
}

.floating-label-field, .floating-label-wrap {
    height: auto;
    position: relative;
}

.floating-label-field textarea, .floating-label-wrap textarea {
    height: 150px;
}

.floating-label-field+.floating-label, .floating-label-field+label.error+.floating-label {
    position: absolute;
}

textarea.floating-label-field+.floating-label, textarea.floating-label-field+label.error+.floating-label {
    top: -170px;
}

.floating-label-field+.floating-label, .floating-label-field+label.error+.floating-label {
    display: none
}

.floating-label-field:not(:placeholder-shown)+.floating-label, .floating-label-field:not(:placeholder-shown)+label.error+.floating-label {
    top: 6px;
    left: 20px;
    display: initial;
}

textarea.floating-label-field:not(:placeholder-shown)+.floating-label {
    top: 6px;
}

/* Padding for the input box text */
#suggest-new-entry .form-control.name-box:not(:placeholder-shown),
#suggest-new-entry .form-control.email-box:not(:placeholder-shown),
#suggest-new-entry .form-control.entry-box:not(:placeholder-shown){
    padding: 25px 20px 11px 20px;

}

/* Padding for the placeholder text */
#suggest-new-entry input {
    padding-left: 20px;
}

/* Padding for the placeholder text */
#suggest-new-entry select {
    padding-left: 20px;
    padding-top: 20px;
}

input.name-box::placeholder,
input.email-box::placeholder,
input.entry-box::placeholder {
    padding-left: 0px;
}

input.name-box.error::placeholder,
input.email-box.error::placeholder,
input.entry-box.error::placeholder,
textarea.error::placeholder {
    color: #FF3C50;
}

/* ### END FLOATING LABELS ### */

.centro-de-contacto > h4 {
    font: normal normal 500 16px/22px 'Montserrat', sans-serif;
    margin-bottom: 7px;
}

.centro-de-contacto > p {
    margin-bottom: 15px;
}

#suggest-new-entry .form-control {
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    font: normal normal normal 16px/18px 'Montserrat', sans-serif;
    color: #000000;
}

#suggest-new-entry .form-control:not(textarea) {
    background-color: #EDEDED;
    height: 44px;
    border: 0px solid;
}

.form-group .row {
    margin-left: 0;
    margin-right: 0;
}

/* Remove the default margins from divs within a form-group class */
.form-group .form-group-item {
    padding-left: 0;
    padding-right: 0;
}

.contact-name {
}

.contact-email {
}

.contact-entry {
}

.centro-de-contacto #suggest-new-entry .realperson-challenge {
    clear: both;
    float: left;
    background: #FFF;
    width: 130px;
    text-align: center;
    padding: 10px 0 5px 0;
}

.centro-de-contacto #suggest-new-entry .realperson-challenge .realperson-text {
    font-family: "Courier New", Monaco, monospace;
    font-size: 6px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 3px;
}

#suggest-new-entry {
    margin: 0;
}

#suggest-new-entry fieldset {
    width: 100%;
}

#suggest-new-entry fieldset .left {
    font-weight: 500;
    font-size: 15px;
    color: #5e5e5e;
    float: left;
    line-height: 15px;
    height: 30px;
    padding-top: 20px;
    padding-left: 0;
}

#suggest-new-entry textarea {
    height: 150px;
    min-height: 150px;
    margin-bottom: 12px;
    border: 1px solid #707070;
    padding: 20px 19px;
}


#suggest-new-entry select.select-subject {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance:none;
    height: 44px;
    position: relative;
    background: url(/images/seta_down_acordeaos.svg);
    background-size: 12px 6px;
    background-color: #EDEDED;
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
}

#suggest-new-entry fieldset .form-group {
    margin-bottom: 10px;
}

#suggest-new-entry fieldset .field {    
    clear:both;
    margin:0;
    padding:0;
}

#suggest-new-entry .actions{
    margin: 0;
    padding: 0;
}

#suggest-new-entry .btn.btn-default {
    text-align: center;
    font: normal normal normal 14px/18px 'Montserrat', sans-serif;
    color: #000000;
    text-transform: uppercase;
    background-color: #FDA100;
    border-radius: 10px;
    width: 100%;
    height: 40px;
    margin-left: 0;
    padding-left: 0;
    padding: 0;
    margin: 0;
}

#suggest-new-entry .btn.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgb(253 161 0 / 25%)
}

label.error {
    color: #FF3C50;
    font-size: smaller;
    margin: 0;
}


@media (min-width: 768px) {
}

@media (min-width: 992px) {
    .dol-col-40 .commentsContainer {
        display: none;
    }

    .dol-col-100 .commentsContainer,
    .dol-col-60 .commentsContainer {
        display: block;
    }

    .commentsContainer {
        margin: 0 0 20px 0;
        /* Ensure buttons (class btn, inline-block) are centred horizontally */
        width: 100%;
        border-radius: 10px;
    }

    .dictionary .commentsContainer {
        margin: 45px 0 20px 0;
    }
    
    .commentsAndSuggestionsContainer {
        background: #F2F2F2 0% 0% no-repeat padding-box;
        margin: 0;
        padding-top: 15px;
        margin: 0 -15px;
        /* Ensure buttons (class btn, inline-block) are centred horizontally */
        text-align: center;
        width: calc(100% + 30px);
        height: 60px;
        border: 2px solid green;
    }

    .confirmation-subtitle {
        text-align: center;
        font-weight: bold;
        line-height: 40px;
        margin-bottom: 0;
    }

    .confirmation-text {
        margin: 0 50px 25px 50px;
    }

    .confirmation-close-button {
        width: 100%;
/*        margin-left: calc(25% + 8px);*/
        margin-bottom: 15px;
    }

    /**************************************
     *
     * MODAL WINDOW DEFINITIONS
     *
     **************************************/

    /* Modal Content */
    #comments-and-suggestions-modal.modal {
        padding-top: 100px;
    }
    
    #comments-and-suggestions-modal .modal-content {
        width: 360px;
    }

    #comments-and-suggestions-modal .close {
        position: absolute;
        top: 50px;
        right: 100px;
        opacity: 1;
    }

    .contact-name,
    .contact-email,
    .contact-entry {
        /* Override the form-group-item padding */
        padding-right: 0;
    }
    
    #suggest-new-entry fieldset {
        width: 625px;
    }
}

@media (min-width: 1200px) {
}

@media (min-width: 1800px) {
}
