/*-/\\\/\\\/\\\/\\\/\\\/\\\-RESET-/\\\/\\\/\\\/\\\/\\\/\\\-*/

html, body {
    width: 100% !important;
}

body {
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    background: #F5F5F5;
    max-width: 100vw;
}

.my-container {
    max-width: 800px;
    width: 100%;
}

.tiny {
    font-size: 75%;
}

.small {
    font-size: 80%;
}

.medium {
    font-size: 85%;
}

.bg-white {
    background: #fff;
}

.bg-light-blu {
    background: #E9F1F5;
}

.bg-blu {
    background: #D0E3EA;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

/*-/\\\/\\\/\\\/\\\/\\\/\\\-CALCULATOR-/\\\/\\\/\\\/\\\/\\\/\\\-*/

#BaZi .form-control:disabled, #BaZi .form-control[readonly] {
    background-color: #fff;
}

#BaZi input, #BaZi select, #BaZi textarea, #BaZi .form-control {
    border-radius: 0;
    font: 400 13.3333px Arial;
    padding: 3px;
}

#BaZi input.form-control.hasDatepicker {
    padding-left: 4.4px;
}

#BaZi .btn-block {
    font-size: 20px;
    font-weight: bold;
    margin-top: 27px;
    padding: 9px;
}

#BaZi h4 {
    margin-top: 30px;
}

/*-/\\\/\\\/\\\/\\\/\\\/\\\-BOOTSTRAP-DATEPICKER-/\\\/\\\/\\\/\\\/\\\/\\\-*/

.hasDatepicker.form-control:disabled, .hasDatepicker.form-control[readonly] {
    background-color: #fff;
}

.datepicker {
    border: none;
    border-radius: 0;
    box-shadow: 1px 2px 7px #c7c6c6;
}

.datepicker .datepicker-days .table-condensed {
    width: 220px;
}

.datepicker .table-condensed .datepicker-switch {
    font-size: 1.1rem;
    border-radius: 0;
}

.datepicker .table-condensed .prev,
.datepicker .table-condensed .next {
    font-size: 2rem;
    border-radius: 0;
}

.datepicker .datepicker-days .table-condensed thead {
    margin-bottom: 10px;
}

.datepicker .datepicker-days .table-condensed thead tr:nth-child(2) {
    height: 33px;
}

.datepicker .datepicker-days .table-condensed thead tr:last-child {
    height: 33px;
}

.datepicker .datepicker-days .table-condensed tbody tr {
    height: 30px !important;
}

.datepicker table tr td.active.active,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled.disabled,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.active.disabled:hover[disabled],
.datepicker table tr td.active.disabled[disabled],
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active:hover.disabled,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active:hover:hover,
.datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active[disabled] {
    background: #426DAB !important;
    border-radius: 0;
}

.datepicker td,
.datepicker th {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    padding-left: 5px;
}
::-moz-placeholder { /* Firefox 19+ */
    padding-left: 5px;
}
:-ms-input-placeholder { /* IE 10+ */
    padding-left: 5px;
}
:-moz-placeholder { /* Firefox 18- */
    padding-left: 5px;
}

.datepicker-days .table-condensed {
    border-collapse: initial;
}

.datepicker table tr td.today,
.datepicker table tr td.today.disabled {
    background-color: #d0d0d0 !important;
    background-image: none !important;
}

.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today:hover {
    background-color: #eee !important;
}

.datepicker table tr td.day.focused,
.datepicker table tr td.day:hover {
    border-radius: 0;
}

.datepicker .table-condensed .prev, .datepicker .table-condensed .next {
    font-size: 1.5rem;
    line-height: 0px;
}

.datepicker .qman-box-select {
    display: flex;
    height: 30px;
    justify-content: space-between;
}

.datepicker .qman-box-select select.qmanYearSelected,
.datepicker .qman-box-select select.qmanMonthSelected {
    -webkit-transition: none !important;
    background: #efefef;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    margin: 0 2%;
    transition: none !important;
    padding-left: 5px;
    width: 45%;
}

/*-/\\\/\\\/\\\/\\\/\\\/\\\-FIRST TABLE-/\\\/\\\/\\\/\\\/\\\/\\\-*/

.my-container .first-table.table td, .first-table.table th {
    vertical-align: middle;
}

.my-container .first-table {
    margin-top: 12px;
}

.my-container .first-table td {
    font-size: 0.82rem;
    padding: 3px;
    border: 2px solid grey;
}

.my-container .first-table td div {
    line-height: 16px;
}

.my-container .first-table tr:first-child td {
    background: #E0E0E0;
}

@media print {

    /*-/\\\/\\\/\\\/\\\/\\\/\\\-FIRST TABLE-/\\\/\\\/\\\/\\\/\\\/\\\-*/

    .my-container .first-table td {
        border: 2px solid grey !important;
        -webkit-print-color-adjust: exact;
    }

    /*-/\\\/\\\/\\\/\\\/\\\/\\\-SECOND TABLE-/\\\/\\\/\\\/\\\/\\\/\\\-*/

    .second-table td {
        vertical-align: middle;
    }

    .my-container .second-table td, .second-table th {
        border: 1px solid #7EC2D5 !important;
        text-align: center !important;
        padding: 2px !important;
        max-width: 50px !important;
        line-height: 17px !important;
    }

    .my-container .second-table td table tr:first-child {
        background: none !important;
    }

    .my-container .second-table td table th, .my-container .second-table td table td {
        border: none !important;
        vertical-align: top !important;
    }
}

/*-/\\\/\\\/\\\/\\\/\\\/\\\-SECOND TABLE-/\\\/\\\/\\\/\\\/\\\/\\\-*/

.scroll-box {
    position: relative;
    display: none;
}

.my-container .second-table {
    margin-top: 5px;
    min-width: 640px;
}

.second-table td {
    vertical-align: middle;
}

.my-container .second-table td, .second-table th {
    border: 1px solid #7EC2D5;
    text-align: center;
    padding: 2px;
    max-width: 50px;
    line-height: 17px;
}

.my-container .second-table td table {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.my-container .second-table td table tr:first-child {
    background: none;
}

.my-container .second-table td table th, .my-container .second-table td table td {
    border: none;
    vertical-align: top;
}

.my-container .second-table .row-1 td table tr:first-child td:nth-child(1) {
    width: 20%;
}

.my-container .second-table .row-1 td table tr:first-child td:nth-child(2) {
    width: 60%;
}

.my-container .second-table .row-1 td table tr:first-child td:nth-child(3) {
    width: 20%;
}

.my-container .second-table .row-1 td table img {
    max-height: 40px;
}

.my-container .second-table .row-2 td table tr td {
    width: 1%;
}

.my-container .second-table .row-2 td table tr:first-child td:nth-child(1) img {
    max-height: 17px;
}

.my-container .second-table .row-2 td table tr:first-child td:nth-child(2) img {
    max-height: 25px;
}

.my-container .second-table .row-2 td table tr:first-child td:nth-child(3) img {
    max-height: 17px;
}

/*-/\\\/\\\/\\\/\\\/\\\/\\\-MEDIA QUERIES-/\\\/\\\/\\\/\\\/\\\/\\\-*/

@media (max-width: 991px) {

    /*-/\\\/\\\/\\\/\\\/\\\/\\\-BOOTSTRAP-DATEPICKER-/\\\/\\\/\\\/\\\/\\\/\\\-*/

    .datepicker .table-condensed tbody tr {
        height: 30px;
    }

    .datepicker .table-condensed thead tr:nth-child(3) {
        height: 30px;
    }
}

@media (max-width: 575.98px) {
    
    .my-container {
        max-width: 100% !important;
    }

    /*-/\\\/\\\/\\\/\\\/\\\/\\\-BOOTSTRAP-DATEPICKER-/\\\/\\\/\\\/\\\/\\\/\\\-*/

    .datepicker {
        width: 100%;
        left: 0 !important;
    }

    .datepicker .datepicker-days .table-condensed {
        width: 100%;
    }

    .table-condensed, .datepicker .datepicker-months .table-condensed, .datepicker .datepicker-years .table-condensed, .datepicker .datepicker-decades .table-condensed, .datepicker .datepicker-centuries .table-condensed {
        width: 93.5%;
        margin: 0 auto;
    }

    .datepicker-months .datepicker-switch:hover, datepicker-years .datepicker-switch:hover, .datepicker-decades .datepicker-switch:hover {
        background: none;
        border-radius: 0;
    }

    /*-/\\\/\\\/\\\/\\\/\\\/\\\-CALCULATOR-/\\\/\\\/\\\/\\\/\\\/\\\-*/

    #BaZi input, #BaZi select, #BaZi textarea, #BaZi .form-control {
        font-size: 16px !important;
    }

    #BaZi .title-box label {
        font-size: 0.96rem;
    }

    #BaZi .title-box {
        font-size: 1.4rem;
        padding-right: 0;
    }

    /*-/\\\/\\\/\\\/\\\/\\\/\\\-SECOND TABLE-/\\\/\\\/\\\/\\\/\\\/\\\-*/

    .scroll-box {
        display: block;
    }

    .scroll-this {
        margin-bottom: 15px;
        top: -15px;
        width: 100%;
        background: #212529;
        padding: 3px;
    }

    .rwd-table {
        overflow-x: scroll;
        width: 100%;
        white-space: nowrap;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: #000;
        box-shadow: 0 0 1px rgba(255,255,255,.5);
        margin: 10px;
    }
}

@media (max-width: 320px) {

    /*-/\\\/\\\/\\\/\\\/\\\/\\\-CALCULATOR-/\\\/\\\/\\\/\\\/\\\/\\\-*/

    #BaZi h4 {
        font-size: 1.4rem;
    }

    #BaZi input, #BaZi select, #BaZi textarea, #BaZi .form-control {
        padding: 1px;
    }
}

/*-/\\\/\\\/\\\/\\\/\\\/\\\-LIFE SUCCESS-/\\\/\\\/\\\/\\\/\\\/\\\-*/

.life-success-container .table.second-table {
    min-width: auto;
    width: 100%;
}

.life-success-container .table.second-table > tbody > tr > td:nth-child(1) {
    width: 16%;
}

.life-success-container .table.second-table > tbody > tr > td {
    width: 21%;
}

@media (max-width: 575.98px) {

    .life-success-container .table.second-table {
        font-size: 85%;
    }

    .life-success-container .table.second-table > tbody > tr > td img {
        max-height: 25px;
    }

    .life-success-container .btn {
        font-size: 90%;
    }

    .life-success-container .footer-text {
        font-size: 78%;
    }
}

@media (max-width: 360px) {

    .life-success-container .table.second-table {
        font-size: 80%;
    }

    .life-success-container .btn {
        font-size: 90%;
    }

    .life-success-container .footer-text {
        font-size: 75%;
    }
}

@media (max-width: 320px) {

    .life-success-date-of-birth .text {
        font-size: 95%;
    }

    .life-success-container .table.second-table {
        font-size: 70%;
    }

    .life-success-container .btn {
        font-size: 80%;
    }

    .life-success-container .footer-text {
        font-size: 66%;
    }
}
