/* ##################### LOGIN FORM ######################### */
.login-form {
    width: 400px;
    margin: 0 auto;
    padding-left: 300px;
}

.login-form form {
    width: 100%;
}

.login-form form .row {
    border-bottom: 0;
}

/* ##################### USER ACCESS MODULE ######################### */
div#user-access {
    display: block;
    width: 100%;
}

div#user-access ul {
    display: block;
    width: 100%;
    padding-bottom: 15px;
}

div#user-access ul li {
    display: block;
    width: 100%;
    padding-bottom: 10px;
    font-size: 15px;
}

div#user-access ul li ul {
    display: block;
    width: 100%;
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

div#user-access ul li.access-state-0 {
    color: red;
}

div#user-access ul li.access-state-1 {
    color: green;
}

/* ##################### MAIL MODULE ######################### */

.mail-preview {
    max-width: 800px;
    min-height: 500px;
    padding-left: 20px;
}

.mail-preview-table {
    width: 100%;
    float: left;
    white-space: normal;
}

.mail-preview-header {
    width: 98%;
    padding: 5px;
    font-size: 14px;
    background-color: #FFFFFF;
    float: left;
}

.mail-preview-header p {
    display: block;
    width: 100%;
    padding-bottom: 10px;
    float: left;
}

.mail-replay-forward-btns {
    text-align: right;
    position: relative;
    padding-right: 10px;
}

.mail-preview-subject {
    width: 98%;
    padding: 5px;
    font-size: 14px;
    background-color: #FFFFFF;
    float: left;
}

.mail-preview-message-holder {
    width: 98%;
    padding-bottom: 10px;
    font-size: 13px;
    white-space: pre-wrap;
    float: left;
}

.mail-preview-message-holder .mail-preview-message {
    display: block;
    width: 100%;
}

.mail-preview-message-holder .mail-preview-message * {
    margin: initial;
    padding: initial;
    white-space: normal;
    font-size: initial;
    line-height: initial;
    box-sizing: initial;
    border-spacing: 1vw;
    border-collapse: separate;
}

.mail-preview-message-holder .mail-preview-message .moz-cite-prefix {
    display: block;
    padding-left: 15px;
    font-style: italic;
    font-size: 80%;
}

.mail-preview-message-holder .mail-preview-message blockquote {
    display: block;
    padding-left: 15px;
    border-left: 1px solid #729fCF;
}

.mail-preview-message-holder .mail-preview-message blockquote blockquote {
    border-left: 1px solid #AD7fA8;
}

.mail-preview-message-holder .mail-preview-message blockquote blockquote blockquote {
    border-left: 1px solid #8AE234;
}

.mail-preview-message-holder .mail-preview-message blockquote blockquote blockquote blockquote {
    border-left: 1px solid #FCAF3E;
}

.mail-preview-message-holder .mail-preview-message blockquote blockquote blockquote blockquote blockquote {
    border-left: 1px solid #E9B96E;
}

.mail-attachments-form div.attachments-inp-list {
    display: block;
    width: 100%;
    padding-bottom: 10px;
    text-align: right;
}

.mail-attachments-form div.attachments-inp-list p {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-bottom: 5px;
    margin: 0 0;
    text-align: right;
}

.mail-attachments-form div.attachments-inp-nav {
    display: block;
    width: 100%;
    padding-bottom: 10px;
    text-align: right;
}

.mail-attachments-form div.attachments-inp-nav a {
    color: #2a3133;
    text-decoration: none;
}

/* Contacts association widget */
.assoc-contacts {
    display: block;
    width: 100%;
    min-height: 30px;
}

.fancy-form form div.assoc-contacts,
.fancy-form form div.assoc-prog-dates {
    border-bottom: 0;
}

.assoc-contacts p {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-bottom: 10px;
}

.assoc-contacts p input.contact-name {
    width: 44% !important;
    max-width: 59% !important;
}

.assoc-contacts p input.contact-note {
    width: 45% !important;
    max-width: 44% !important;
}

.assoc-contacts p a.client-names-modify,
.assoc-contacts p a.item-remove-row {
    display: inline-block;
    text-decoration: none;
}

.dyn-area-nav {
    display: block;
    width: 100%;
    height: 35px;
    padding-top: 10px;
}

.dyn-area-nav .add-more-rows {
    display: block;
    width: 24px;
    line-height: 20px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border: 1px solid green;
    border-radius: 3px;
    color: darkgreen;
    float: left;
}

.dyn-area-nav .add-more-rows:hover {
    color: #FFF;
    background-color: green;
}

.dyn-area-nav .create-item {
    display: block;
    padding-top: 8px;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    color: darkgreen;
    float: right;
}

.dyn-area-nav .create-item:hover {
    text-decoration: underline;
}

.item-remove-row:hover {
    font-weight: bold;
}

.item-remove-row {
    display: inline-block;
    width: 7%;
    line-height: 25px;
    font-size: 17px;
    text-decoration: none;
    text-align: center;
    color: darkred;
    position: relative;
    top: 2px;
}

.ui-autocomplete {
    max-width: 400px !important;
}

.modal-win {
    padding: 1%;
    background-color: #FFFFFF;
}

.modal-win .fancy-form {
    max-width: 98%;
}

.btn-green {
    display: inline-block;
    background-color: green;
    border: 1px solid green;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 1em;
    padding: 4px 10px 5px;
    text-decoration: none;
}

.win-close {
    display: inline-block;
    background-color: red;
    border: 1px solid red;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 1em;
    padding: 4px 10px 5px;
    text-decoration: none;
}

/* ********************** REPORTS ************************ */

.reports table.items-table {
    margin-top: 20px;
}

.reports table.items-table tfoot {
    border-top: 1px solid #000;
}

.reports table.items-table tfoot td {
    padding-top: 20px;
    color: #FFF;
    background-color: #c4c4c4;
    font-size: 14px;
    font-family: Arial, 'Sans', serif;
}

/* ********************** MINI STATS ************************ */

table.prices-table {
    min-width: 100%;
}

table.prices-table thead tr th {

    color: #000;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

table.prices-table thead tr th:nth-child(1),
table.prices-table thead tr th:nth-child(2) {
    width: auto;
    min-width: 30px;
    text-align: left;
    font-size: 13px;
}

table.prices-table thead tr th:nth-child(3) {
    width: auto;
    min-width: initial;
    text-align: left;
    font-size: 13px;
}

table.prices-table thead tr th.pr-dates {
    min-width: 70px;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
}

table.prices-table thead tr th.pr-dates small {
    display: inline-block;
    font-size: 9px;
    white-space: nowrap;
}

table.prices-table tbody tr td {
    color: #000;
    min-width: 10px;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

table.prices-table tbody tr td:nth-child(1){
    text-align: left;
    padding-right: 10px;
}

table.prices-table tbody tr td:nth-child(2) {
    padding-right: 10px;
    text-align: center;
}

table.prices-table tbody tr td:nth-child(1) input[type=checkbox],
table.prices-table tbody tr td:nth-child(2) input[type=checkbox] {
    margin-left: 2px;
    margin-right: 2px;
    cursor: pointer;
}

table.prices-table tbody tr td strong {
    color: #474747;
}

table.prices-table tbody tr td p {
    display: block;
}

table.prices-table tbody tr td.prg-cell small {
    display: block;
    line-height: 1.1;
    font-size: 9px;
    font-family: Arial, Verdana, Sans, serif;
}

table.prices-table tbody tr td.has-stop-sale-1,
table.prices-table tbody tr td.has-stop-sale-1 strong {
    color: red;
}

.mouz-prices-tables {
    display: block;
    padding-top: 10px;
}

.mouz-prices-tables h2 {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #333;
    font-size: 20px;
}

.mouz-prices-tables h3.room-titles {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.mouz-prices-tables h3.room-titles input[type=checkbox] {
    display: inline-block;
    flex-basis: 20px;
    margin-right: 10px;
}

.mouz-prices-tables h3.room-titles > span {
    display: inline-block;
    margin-right: 10px;
    white-space: nowrap;
    color: #555;
}

.mouz-prices-tables h3.room-titles > form {
    display: inline-block;
    width: auto;
    flex-basis: auto;
}

.mouz-prices-tables p.stopsales span {
    display: block;
    line-height: 1.1;
    font-size: 9px;
    font-family: Arial, Verdana, Sans, serif;
    color: red;
}

.mouz-prices-tables p.stopsales span.mouz-code-orange {
    color: #90006c;
}

.mouz-prices-tables p.stopsales span.mouz-code-yellow {
    color: #907000;
}

.mouz-prices-tables table.prices-table thead tr th.pr-dates {
    min-width: 60px;
}

.table-mini {
    width: auto;
    border-collapse: collapse;
}

.table-mini thead tr th {
    line-height: 1.1;
    padding: 2px 4px;
    border: 1px solid #444;
    color: #333;
}

.table-mini tbody tr td {
    line-height: 1.1;
    padding: 2px 4px;
    text-align: center;
    border: 1px solid #444;
}

/* ********************** EXTRAS TABLE ************************ */

table.extras-table thead tr th {
    padding-left: 3px;
    padding-right: 3px;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

table.extras-table tbody tr td strong {
    color: #474747;
}

table.extras-table tbody tr td p {
    display: block;
}

table.extras-table tbody tr td.prg-cell small {
    display: block;
    line-height: 1.1;
    font-size: 9px;
    font-family: Arial, Verdana, Sans, serif;
}

/* ********************** MINI STATS ************************ */
.mini-stats {
    width: 100%;
    border-collapse: collapse;
}

.mini-stats tr th,
.mini-stats tr td {
    padding-right: 12px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
}

.mini-stats tr th:first-child,
.mini-stats tr td:first-child {
    padding-right: 5px;
}

.mini-stats tr th:last-child,
.mini-stats tr td:last-child {
    padding-right: 0;
}

/* ********************* PARTNER PROGRAMS ************************ */

.clone-partn-program {
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.clone-partn-program a {
    display: inline-block;
    font-size: 12px;
    white-space: nowrap;
}

.clone-partn-program {
    padding-top: 5px;
}

.clone-partn-program label {
    display: inline-block;
    width: auto;
    padding-left: 10px;
    padding-right: 5px;
    line-height: 23px;
    font-size: 11px;
    white-space: nowrap;
    text-align: right;
}

.clone-partn-program input {
    display: inline-block;
    width: 130px;
    padding: 2px 4px;
    font-size: 11px;
}

/* ********************* PARTNER PROGRAMS ************************ */

.dashboard {
    display: block;
    width: 100%;
}

.dashboard .filters {
    display: block;
    width: 100%;
    height: 58px;
}

.dashboard .filters table {
    display: block;
    width: 100%;
}

.dashboard .row {
    justify-content: space-between;
    align-items: baseline;
}

.dashboard .col {
    display: inline-block;
    flex: 0 0 23%;
    max-width: 23%;
    margin-left: 1%;
    margin-right: 1%;
}

.dashboard .col-2 {
    display: inline-block;
    flex: 0 0 48%;
    max-width: 48%;
    margin-left: 1%;
    margin-right: 1%;
}

.dashboard .col-3 {
    display: inline-block;
    flex: 0 0 74.3%;
    max-width: 74.3%;
    margin-left: 1%;
    margin-right: 1%;
}

.dashboard .col:first-child,
.dashboard .col-2:first-child,
.dashboard .col-3:first-child {
    margin-left: 0;
}

.dashboard .col:last-child,
.dashboard .col-2:last-child,
.dashboard .col-3:last-child {
    margin-right: 0;
}

.dashboard .text-primary {
    color: #4c7cf3 !important;
}

.dashboard .card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: .25rem;
    border: none;
    box-shadow: 0 0 30px 0 rgba(200, 200, 200, 0.2);
}

.dashboard .h4,
.dashboard h4 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.dashboard .p,
.dashboard p {
    font-family: Roboto, Arial, Verdana, Sans, serif;
    font-size: 14px;
}

.xp-widget-icon-bg {
    line-height: 60px;
    text-align: center;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 6%;
}

.dashboard .bg-primary {
    background-color: #4c7cf3 !important;
}

.dashboard .bg-success {
    background-color: #02AD88 !important;
}

.dashboard .bg-warning {
    background-color: #FEC70F !important;
}

.dashboard .bg-danger {
    background-color: #ff4b5b !important;
}

.dashboard .xp-widget-box h4 {
    font-size: 1.4vw;
}

.dashboard .xp-widget-box p {
    font-size: 1.2vw;
}

.dashboard .xp-widget-icon {
    height: 60px;
    width: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background-color: #FFF;
    margin: 0 auto;
}

.dashboard .xp-widget-icon i {
    font-size: 32px;
    margin-top: 14px;
}

.dashboard .col.plan .xp-widget-box p {
    font-size: 12px;
}

.dashboard .card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(85, 85, 85, 0.05);
}

.dashboard .card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.dashboard .card-title {
    font-size: 16px;
}

.dashboard .top-destinations .card-body {
    padding: 5px;
    min-height: 440px;
    text-align: center;
}

.dashboard .top-destinations .card-body #top-destinations {
    width: 100%;
    text-align: center;
}

.dashboard #income-per-month {
    min-height: 440px;
}

.discount-form-holder{
    max-width: 100%;
    padding: 2px;
    box-sizing: border-box;
}