﻿
.ps_ra_td0 {
    padding-top: 2px;
    font-weight: normal;
    font-size: 14px;
    color: gray;
    width:130px;
}

.ps_ra_td1 {
    padding-left: 10px;
    padding-top: 2px;
    font-weight: normal;
    font-size: 14px;
}

.ps_ra_tit {
    font-weight: bold;
    font-size: 18px;
    color: #203b66;
}

.ps_ra_p {
    font-weight: normal;
    font-size: 14px;
}

#section-searchagency .ps-button {
    min-height: 52px;
    border: 0 !important;
    border-radius: 999px !important;
    background: #203b66 !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(32, 59, 102, .3);
    outline: none !important;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

#section-searchagency .ps-button:hover,
#section-searchagency .ps-button:focus {
    background: #142744 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(20, 39, 68, .36);
    outline: none !important;
}

#section-searchagency .ps-button:active {
    background: #142744 !important;
    box-shadow: 0 10px 24px rgba(20, 39, 68, .28);
    outline: none !important;
}

.berth-form-section {
    position: relative;
    padding: 54px 16px 110px;
    background: #edf6fa;
    scroll-margin-top: 130px;
    overflow: hidden;
}

.berth-form-section::before {
    content: none;
}

.berth-form-section::after {
    content: none;
}

.berth-form-section__inner {
    position: relative;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    border-radius: 28px;
    background: #12325a;
    padding: 28px 34px 54px;
    box-shadow: 0 18px 50px rgba(0, 65, 96, .18);
    overflow: visible;
    z-index: 1;
}

.berth-form-section__inner > * {
    position: relative;
    z-index: 1;
}

.berth-form-section__inner [id$="UpdatePanelToolTip"] {
    position: relative;
    z-index: 40000 !important;
}

.berth-form-section__inner [id$="UpdatePanelSearhForm"] {
    position: relative;
    z-index: auto;
}

.berth-form-section .modal-2-center {
    position: fixed !important;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40000 !important;
    background: rgba(0, 0, 0, .28);
}

.berth-form-section .modal-2-dialog {
    position: relative;
    z-index: 40001 !important;
    width: min(600px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    overflow: auto;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.berth-form-section__inner > div:first-child {
    min-height: 0 !important;
    height: auto !important;
    border-radius: 28px !important;
    overflow: hidden;
}

.berth-form-section__inner .berth-main-form-card,
.berth-form-section__inner div[style*="background-color:white"] {
    position: relative;
    box-sizing: border-box;
    max-width: 620px !important;
    border-radius: 28px !important;
    background: #fff !important;
    padding: 42px 46px !important;
    overflow: hidden;
}

.berth-form-section__inner div[style*="background-color:white"]::before {
    content: none;
}

.berth-form-section__inner label {
    letter-spacing: 0 !important;
}

.berth-form-section__inner .panel {
    border-radius: 22px !important;
    border: 0 !important;
    background: rgba(255, 255, 255, .94);
    box-shadow: none;
    overflow: hidden;
    padding: 20px 24px !important;
}

.berth-form-section__inner .panel table[style*="margin-left:20px"] {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
}

.berth-form-section__inner .panel table[style*="max-width:380px"] {
    width: 100% !important;
    max-width: 100% !important;
}

.berth-form-section__inner .berth-date-table {
    max-width: calc(100% - 64px) !important;
}

.berth-form-section__inner .berth-date-table td:last-child {
    padding-right: 12px !important;
}

.berth-form-section__inner .berth-ident-toggle {
    width: auto !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: 20px !important;
}

.berth-form-section__inner .berth-ident-toggle td:first-child {
    text-align: right !important;
    padding-right: 8px !important;
}

.berth-form-section__inner .berth-ident-toggle td:last-child {
    width: 58px;
    text-align: right !important;
}

.berth-form-section__inner .berth-form-actions {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
}

.berth-form-section__inner .berth-form-actions > tbody > tr > td {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.berth-form-section__inner .berth-form-actions table {
    width: 100%;
}

.berth-form-section__inner .berth-form-actions table:has(input[id*="CheckBoxPoliticaPrivacidad"]) {
    width: auto !important;
}

.berth-form-section__inner .berth-form-actions table:has(input[id*="CheckBoxPoliticaPrivacidad"]) td:first-child {
    width: 18px !important;
    padding-right: 6px !important;
}

.berth-form-section__inner .berth-form-actions table:has(input[id*="CheckBoxPoliticaPrivacidad"]) td:last-child {
    width: auto !important;
    padding-left: 0 !important;
}

.berth-form-section__inner .berth-form-actions .ps-button {
    width: 100%;
}

.berth-form-section__inner .form-control {
    max-width: 100% !important;
    min-height: 32px;
    height: 32px;
    padding: 2px 0 4px;
    border-radius: 0 !important;
    border-color: #cbd8df;
    box-shadow: none;
}

.berth-form-section__inner input[type="date"].form-control {
    box-sizing: border-box;
    padding-right: 22px;
}

.berth-form-section__inner input[type="date"].form-control::-webkit-calendar-picker-indicator {
    margin-left: 4px;
    margin-right: 0;
}

.berth-form-section__inner .form-control:focus {
    border-color: #0092cb;
    box-shadow: none;
}

.berth-form-section__inner .modal {
    z-index: 30000 !important;
}

.berth-form-section__inner .modal-dialog,
.berth-form-section__inner .modal-content {
    z-index: 30001 !important;
}

.berth-confirm-modal.in,
.berth-confirm-modal[style*="display: block"] {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 24, 39, .42);
    z-index: 50000 !important;
}

.berth-form-section__inner .berth-confirm-modal {
    z-index: 50000 !important;
}

.berth-confirm-modal .modal-dialog {
    position: relative;
    z-index: 50001 !important;
    width: min(760px, calc(100vw - 32px));
    margin: 0 !important;
}

.berth-confirm-modal .modal-content {
    position: relative;
    z-index: 50002 !important;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(7, 24, 39, .34);
    overflow: hidden;
}

.modal-backdrop {
    z-index: 49990 !important;
}

.berth-confirm-modal .modal-header {
    min-height: 0;
    padding: 0;
    border: 0;
}

.berth-confirm-modal .modal-header .close,
.berth-confirm-modal .modal-header table {
    display: none;
}

.berth-confirm-modal .modal-body {
    padding: 42px 44px 34px;
    color: #12324b;
    text-align: center;
}

.berth-confirm-modal .modal-body p {
    max-width: 390px;
    margin: 0 auto;
    color: #5e6976;
    font-size: 14px;
    line-height: 1.55;
}

.berth-confirm-modal .ps-button-msg,
.berth-confirm-modal .ps-button-msg-yes {
    min-width: 118px;
    min-height: 42px;
    border-radius: 999px !important;
    font-weight: 600;
}

.berth-confirm-modal .ps-button-msg-yes {
    background: #12325a !important;
    border-color: #12325a !important;
}

@media (max-width: 700px) {
    .berth-form-section__inner {
        padding: 8px 10px 36px;
        max-width: 100%;
    }

    .berth-form-section {
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 92px;
    }

    .berth-form-section__inner .berth-main-form-card,
    .berth-form-section__inner div[style*="background-color:white"] {
        max-width: 100% !important;
        padding: 32px 28px !important;
    }

    .berth-form-section__inner .panel {
        padding: 18px 12px !important;
    }

    .berth-form-section__inner .panel table[style*="margin-left:20px"],
    .berth-form-section__inner .berth-form-actions {
        width: calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        margin-left: 4px !important;
        margin-right: 4px !important;
    }

    .berth-form-section__inner .berth-date-table {
        max-width: calc(100% - 8px) !important;
    }

    .berth-form-section__inner .berth-date-table td:last-child {
        padding-right: 0 !important;
    }

    .berth-form-section__inner .berth-ident-toggle {
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: 4px !important;
    }

}

.ps-reserva-button-waiting {
    cursor: wait !important;
}

.ps-reserva-button-waiting .ps-reserva-button-spinner,
.ps-reserva-button-waiting .fa-spinner {
    margin-right: 8px;
}

.berth-confirm-modal a.ps-button-msg-yes,
.berth-confirm-modal .ps-button-msg-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}
