body {
    height: 100%;
    background: #000;
}

.content-container.container {
    width: 100%;
    padding: 0;
}

.custom-page.page-margin {
    margin: 0;
}

/*DISCLAIMER BANNER */

.load-save-overlay {
    width: 100%;
    height: 100%;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

.disclaimer-container {
    position: sticky;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: #222;
}

.disclaimer-container .disclaimer-close-btn {
    position: absolute;
    right: 10px;
    height: 100%;
    display: flex;
    align-items: center;
}

.disclaimer-close-btn .close-icon {
    width: 10px;
    height: auto;
}

.disclaimer-btn {
    color: #d1a642;
    font-size: 14px;
    padding: 10px;
    text-align: center;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.disclaimer-btn img {
    width: 16px;
    height: auto;
}


.disclaimer-modal {
    background: #222;
    width: 80vw;
    min-height: 30vh;
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -48%);
    z-index: 99999;
    overflow: hidden;
}

.disclaimer-modal-header {
    background: #d1a642;
    padding: 10px;
    height: 50px;
    text-align: center;
    width: 100%;
}

.disclaimer-modal-body {
    overflow-y: auto;
    height: 100%;
    color: #fff;
    padding: 20px;
}

.disclaimer-modal-header h5 {
    color: #222;
    text-align: center;
    font-size: 20px;
}

.disclaimer-modal-close-btn {
    position: absolute;
    top: 5px;
    padding: 10px 10px;
    border-radius: 4px;
    right: 6px;
    background: #be912a;
}

.close-icon {
    width: 15px;
    height: auto;
}

/* END DISCLAIMER MODAL*/

.breeding-date-container {
    width: 100%;
    padding: 20px;
    position: relative;
}

.breeding-date-container .breeding-date-controls {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

.dog-type,
.puppy-type,
.meals-per-day-toggle,
.adult-meals-per-day-toggle {
    display: none;
}

.dog-type.active,
.puppy-type.active,
.meals-per-day-toggle.active,
.adult-meals-per-day-toggle.active {
    display: inline-block;
}

.dog-select,
.puppy-select {
    width: 100%;
    height: 53px;
    vertical-align: middle;
}

.breeding-date-controls .row {
    padding: 10px 0;
}


.breeding-date-container .nice-select ul.list {
    width: 100%;
    z-index: 9999;
}

.nice-select.open .list {
    width: 100%;
}

.nice-select span.current {
    line-height: 53px;
    font-size: 1rem;
}

.breeding-date-container .dog-select input {
    width: 100%;
}

.calc-input input {
    height: 52px;
    vertical-align: middle;
    line-height: 52px;
    border-radius: 5px;
    border: solid 1px #e8e8e8;
}

.calc-input label,
.calc-select label,
.calc-dog-toggle label,
.meals-per-day-toggle label,
.adult-meals-per-day-toggle label {
    font-size: 14px;
}

.breeding-date-header {
    width: 100%;
    position: relative;
}

.breeding-date-header .measure-toggle {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    align-items: flex-end;
    width: 100%;
    height: 35px;

}

.breeding-date-header .measure-inner {
    border-radius: 10px;
    min-width: 150px;
}

.breeding-date-header .measure:first-child {
    border-radius: 10px 0px 0px 10px
}

.breeding-date-header .measure:last-child {
    border-radius: 0px 10px 10px 0px
}

.breeding-date-header .measure {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
    height: 35px;
    float: left;
    padding: 5px;
}

.breeding-date-header .measure.toggled {
    background: #222;

}



.measure span {
    color: #222;
}

.measure.toggled span {
    color: #fff;
}

.dog-age-inner {
    height: 53px;
}

.dog-age-inner .dog-age,
.metric-inner .meals-btn {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
    height: 53px;
    float: left;
    padding: 5px;
}

.calculate-btn {
    background: #d1a642 !important;
    color: #222;
    width: 100%;
    font-size: 14px;
    padding: 15px;
    margin: 20px auto;
    text-align: center;
}

.adult-meals-per-day-toggle .metric-inner .meals-btn {
    width: 100%;
    border-right: 0px none !important;
    background: #d1a642 !important;
    color: #222;
}

.dog-age-inner .dog-age:first-child,
.metric-inner .meals-btn:first-child {
    border-right: 2px solid #ccc;
}

.dog-age-inner .dog-age.toggled,
.metric-inner .meals-btn.toggled {
    background: #d1a642
}

.dog-age-inner .dog-age span,
.metric-inner .meals-btn.toggled span {
    color: #222;
}

.breeding-date-controls .controls-footer {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 20px;
}

.calc-btn {
    width: 250px;
    padding: 10px 5px;
    margin: 0 auto;
    background: #d1a642;
    color: #222;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.breeding-date-results {

    border-radius: 5px;
    min-height: 400px;
    position: relative;
}

.breeding-date-results .inner {
    min-height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    transition: opacity .4s;
}

.breeding-date-results .instructions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    background: #f7f7f7;
    z-index: 99;
    align-items: center;
    padding: 20px;
}

.breeding-date-results .inner.custom_show {
    opacity: 1;
    transition: opacity .4s;
}

.breeding-date-results .inner .square {
    background: #f7f7f7;
    display: flex;
    flex-basis: calc(50%);
    justify-content: center;
    flex-direction: column;
    border: 4px solid #ddd;
    padding: 20px 0;
    opacity: 0;
    transition: opacity .4s;
}

.breeding-date-results .inner .square.custom_show {
    opacity: 1;
    transition: opacity .4s;
}

.breeding-date-results .inner .square.water-max-per-day {
    flex-basis: 50%;
}

.breeding-date-results .inner .water-pup-per-day.square {
    flex-grow: 1;
    flex-basis: auto;
}

.inner .square .square-title {
    text-align: center;
    padding: 5px 10px;
}

.inner .square .square-value {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.inner .square .text-val {
    font-size: 18px;
    padding: 10px 0;
}

.inner .square .date-val {
    font-size: 14px;
    font-weight: normal;
}

.inner .square .diff-val {
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
}

.diff-val.result-positive {
    color: #14de6c;
}

.diff-val.result-negative {
    color: #de3c14;
}

.inner .square img {
    width: 100%;
    max-width: 70px;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    object-fit: contain;
}

@media (min-width: 320px) and (max-width: 480px) {

    #disputo-main-inner p {
        color: #fff;
    }

    input {
        width: 100%;
    }

    .calc-input label,
    .calc-select label,
    .calc-dog-toggle label,
    .calc-metric-toggle label,
    .meals-per-day-toggle label,
    .adult-meals-per-day-toggle label {
        color: #fff;
    }
}