/* Popups */
main.main-popup {
    margin-left: 0;
}

/* Modals */
#info-modal {
    min-height: 330px;
    max-height: 330px;
    overflow-y: hidden;
}

#info-modal .info-options {
    border-left: 1px solid #9e9e9e;
    overflow-y: auto;
    height: 306px;
}

/* Text Area */
textarea.materialize-textarea {
    overflow-y: auto;
    padding: 0;
    max-height: 6rem;
}

.info-text textarea.materialize-textarea {
    max-height: 16rem;
    min-height: 16rem;
}

/* M2M Selected Box */
.change-form .multiselect .selector-chosen select {
    height: 120px;
}

/* Readonly & Disabled input */
input:not([type]):disabled, input:not([type])[readonly=readonly], input[type=date]:disabled, input[type=date][readonly=readonly], input[type=datetime-local]:disabled, input[type=datetime-local][readonly=readonly], input[type=datetime]:disabled, input[type=datetime][readonly=readonly], input[type=email]:disabled, input[type=email][readonly=readonly], input[type=number]:disabled, input[type=number][readonly=readonly], input[type=password]:disabled, input[type=password][readonly=readonly], input[type=search]:disabled, input[type=search][readonly=readonly], input[type=tel]:disabled, input[type=tel][readonly=readonly], input[type=text]:disabled, input[type=text][readonly=readonly], input[type=time]:disabled, input[type=time][readonly=readonly], input[type=url]:disabled, input[type=url][readonly=readonly], textarea.materialize-textarea:disabled, textarea.materialize-textarea[readonly=readonly] {
    color: rgba(0,0,0,.75);
}

td input:not([type]):disabled, td input:not([type])[readonly=readonly], td input[type=date]:disabled, td input[type=date][readonly=readonly], td input[type=datetime-local]:disabled, td input[type=datetime-local][readonly=readonly], td input[type=datetime]:disabled, td input[type=datetime][readonly=readonly], td input[type=email]:disabled, td input[type=email][readonly=readonly], td input[type=number]:disabled, td input[type=number][readonly=readonly], td input[type=password]:disabled, td input[type=password][readonly=readonly], td input[type=search]:disabled, td input[type=search][readonly=readonly], td input[type=tel]:disabled, td input[type=tel][readonly=readonly], td input[type=text]:disabled, td input[type=text][readonly=readonly], td input[type=time]:disabled, td input[type=time][readonly=readonly], td input[type=url]:disabled, td input[type=url][readonly=readonly], td textarea.materialize-textarea:disabled, td textarea.materialize-textarea[readonly=readonly] {
    height: 4.45rem;
}

/* Autocomplete */
.autocomplete-content {
    position: absolute;
    left: -.333rem;
}

/* Dropdown */
ul.dropdown-content {
    overflow-x: hidden;
}

.ac-dropdown {
    opacity: 1;
    width: 90%;
}

#id_agency_container .ac-dropdown {
    max-height: 20rem;
    overflow-y: auto;
}

li .highlight {
    color: #444;
}

/* Booking Reference Inputs */
.field-eurorate,
.field-rate {
    position: relative;
}

.field-eurorate .row,
.field-rate .row {
    position: relative;
    width: 90%;
    z-index: 1;
}

.field-eurorate .row div,
.field-rate .row div {
    padding: 0 0 0 .75rem;
}

.rate-select {
    position: absolute;
    top: 1.333rem;
    width: 80%;
}

.rate-select input {
    color: transparent;
}

/* Booking Reference Buttons */
.waves-effect.waves-blue .waves-ripple {
    /* The alpha value allows the text and background color
    of the button to still show through. */
    background-color: #00b8d4;
}

.pdf-btn a {
    margin-left: 3rem;
    font-size: 1.15rem;
}

.pdf-btn a i {
    margin-right: 0.5rem;
}

.input-field-label label {
    color: #9e9e9e;
    position: relative;
    top: -3.333rem;
    left: 0;
    font-size: 1rem;
    cursor: text;
    transition: .2s ease-out;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: calc(100% - 21px);
    overflow: hidden;
}

.input-field-label label.active {
    font-size: .8rem;
    top: -5rem
}

.info-options label {
    width: auto;
}

div.auto_temp .row .col {
    padding: 0;
}

div.auto_temp .row .s8 {
    padding-right: .75rem;
}

div.auto_temp .row .s4 {
    padding-left: .75rem;
}

div.auto_temp .row .col label {
    left: 0;
}

.info-options i {
    line-height: 3.333rem;
}

#info-template {
    margin-left: 3rem;
}

.read-iteminfo {
    border: none;
    border-bottom: 1px dotted rgba(0,0,0,.26);
    resize: none;
    height: 4.5rem;
}


/* Copy Button */
a.copy-btn {
    
}

/* ckeditor */
.django-ckeditor-widget + label.active {
    transform: translateY(-170%);
    font-size: 1rem;
}

.django-ckeditor-widget ~ small.help-block {
    top: 0;
    display: block;
}