.dry-food-container {
    width: 100%;
    padding: 20px;
    position: relative;
    margin-top: 20px;
}

.dry-food-container .dry-food-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;
}

.dry-food-controls .row {
    padding: 10px 0;
}


.dry-food-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: 14px;
}
.dry-food-container .dog-select input {
    width: 100%;
}

.calc-input, .calc-select {
    margin-top: 5px;
}

.calc-input input {
        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: 12px;
    color: #fff;
}

.dry-food-header {
       width: 100%;
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.more-info-overlay {
    z-index: 99997;
    background: rgba(0,0,0,.4);
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: none;
}

.more-info-modal {
        position: fixed;
    width: 90vw;
    height: 90vh;
    top: 8vh;
    overflow-y: scroll;
    left: 5vw;
    z-index: 99998;
    background: #eee;
    display: none;
    outline: 999px solid rgba(0,0,0,.7);
}

.more-info-modal .close-modal-btn {
font-size: 16px;
position: absolute;
background: #d19e27;
color: #222;
top: 10px;
right: 10px;
padding: 5px 10px;
border-radius: 10px;
}

.more-info-modal > p {
    text-align: left;
    padding: 20px;
    font-size: 16px;
}

.text-center {
    text-align: center;
}
.more-info-modal > h5 {
    font-size: 20px;
    color: #222;
}

.more-info-modal .try-btn {
    background: #222;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    padding: 15px 20px;
    font-size: 20px;
    border-radius: 8px;
    width: 80%;
    display: inline-block;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.more-info-btn {
        height: 35px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.more-info-btn i {
    color: #d19e27;
    font-size: 20px;
    position: relative;
    vertical-align: middle;
    top: 1px;
}

.more-info-btn span {
    color: #d19e27;
        padding-left: 10px;
    font-size: 16px;
    vertical-align: middle;
}
.dry-food-header .measure-toggle{
    display: flex;
        flex-direction: column;
    align-content: flex-end;
    align-items: flex-end;
    height: 35px;

}

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

.dry-food-header .measure:first-child {
    border-radius: 10px 0px 0px 10px
}

.dry-food-header .measure:last-child {
    border-radius: 0px 10px 10px 0px
}

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

.dry-food-header .measure.toggled {
    background: #222;
   
}



.measure span {
    color: #222;
}

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

.dog-age-inner {
height: 40px;
padding: 5px 0;
}

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

.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;
}

.dry-food-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;
}

.dry-food-results {
   
    border-radius: 5px;
    min-height: 300px;
    position: relative;
}

.dry-food-results .inner {
  min-height: 200px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
transition: opacity .4s;
}

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

.dry-food-results .inner.custom_show {
    opacity: 1;
    transition: opacity .4s;
}

.dry-food-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;
}

.dry-food-results .inner .square.custom_show {
    opacity: 1;
    transition: opacity .4s;
}

.dry-food-results .inner .square:last-child {
    flex-basis: auto;
    flex-grow: 1;
}
.dry-food-results .inner .square.water-max-per-day {
    flex-basis: 50%;
}
.dry-food-results .inner .water-pup-per-day.square {
    flex-grow: 1;
    flex-basis: auto;
}

.inner .square .square-title {
    text-align: center;
}

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

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

