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

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

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

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


.raw-food-container .nice-select ul.list {
    width: 100%;
}

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

.nice-select span.current {
    line-height: 53px;
    font-size: 14px;
}
.raw-food-container .dog-select input {
    width: 100%;
}

.calc-input input {
        border-radius: 5px;
    border: solid 1px #e8e8e8;
}

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

.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;
}
.raw-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 {
    font-size: 20px;
    position: relative;
    vertical-align: middle;
    top: 1px;
    color: #d19e27;
}

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

}

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

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

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

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

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

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

.measure span {
    color: #222;
}

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

.dog-age-inner, .metric-inner {
height: 35px;
}

.dog-age-inner .dog-age, .metric-inner .metric, .metric-inner .meals-btn {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
    height: 35px;
    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 .metric:first-child, .metric-inner .meals-btn:first-child {
     border-right: 2px solid #ccc;
}

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

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

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

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

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

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

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

.raw-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;
    position: relative;
}

.raw-food-results .inner .square .info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    text-align: center;
    background: #ccc;
    transition: all .2s;
}

.raw-food-results .square > .info-icon:hover {
    transform: scale(.90);
    transition: all .2s;
    background: #d1a642;
}


.square > .info-icon > i {
    color: #222;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
}
.raw-food-results .inner .square.custom_show {
    opacity: 1;
    transition: opacity .4s;
}
.square.meal-meat, .square.meal-bone, .square.meal-vegs {
    flex-basis: 33.33% !important;
}
.square-progress {
margin: 15px 30px;
height: 10px;
}
.raw-food-results .inner .square:last-child {
    flex-basis: auto;
    flex-grow: 1;
}

.raw-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 .square-value p {
    line-height: 1;
    margin: 0;
}

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


.modal-overlay {
  z-index: 9998;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.hidden {
  display: none;
}
.vishidden {
  opacity: 0;
}
.custom_show {
  display: block;
  opacity: 1;
}
.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: 60%;
  max-height: 100%;
  max-width: 100%;
  display: none;
  z-index: 9998;
}

.modal-body .phone {
  position: absolute;
  text-align: center;
  width: 400px;
  left: calc((100% - 400px) / 2);
}

.modal-body .number-text {
  color: #222 !important;
  font-size: 32px;
  font-weight: 800;
}

.modal-body .phone i {
  color: #222;
}

.modal-body .call {
  color: #222;
}

.modal-body {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  border: 4px solid #ddd;
  border-radius: 0px 0px 10px 10px;
  background: #eee;
  border-top: 0px none;
  height: 100%;
  position: relative;
  height: calc(100% - 68px);
  top: 68px;
  font-family: "Lato";
  overflow: auto;
}

.modal-title {
  position: absolute;
  border-radius: 10px 10px 0 0;
  vertical-align: middle;
  width: 100%;
  background: #d1a642;
  color: #222;
  text-align: center;
  left: 0;
  top: 0;
  height: 68px;
  font-family: "Lato", arial;
}

.modal-title h2 {
margin: 0;
  line-height: 68px;
  color: #000;
}

.modal-title i {
  font-weight: 900;
  color: #222;
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 34px;
  z-index: 9999;
}

.modal-results {
    padding: 20px;
    width: 100%;
    text-align: center;
}

.modal-results span:first-child {
    font-weight: bold;
    font-size: 22px;
    font-family: Lato;
}
.modal-results .results-text {
    margin-top: 10px;
    font-size: 22px;
    font-family: Lato;
}

.modal-text {
  vertical-align: middle;
  left: 0;
  top: 0px;
  width: 100%;
  padding: 20px;
  font-family: "Lato";
  font-weight: 400;
  font-size: 20px;
  color: #222;
  text-align: center;
}

.modal-btn {
  position: absolute;
  text-align: center;
  background: #222;
  color: #fff;
  font-family: "Lato";
  bottom: 20px;
  width: 80%;
  height: 40px;
  /* vertical-align: middle; */
  line-height: 40px;
  left: 10%;
  transform: scale(1);
}

.modal-btn a {
  color: #fff;
}

.modal-btn:hover a {
  color: #eee;
}

.modal-btn:hover {
  transform: scale(0.9);
  transition: all 0.3s;
  background: #111;
}


@media (min-width: 320px) and (max-width: 480px) {
    .modal-container {
        width: 95%;
        height: 65%;
    }

    .modal-text {
        padding: 10px;
    }
    
    .raw-food-results {
        min-height: 300px;
    }
    .inner .square img {
        max-width: 54px;
    }
    .square.meal-meat, .square.meal-bone, .square.meal-vegs {
        flex-basis: 50% !important;
    }
}