.wrap-2 {
    max-width: 640px;
}

.smart-forms .form-header {
    padding: 15px 15px;
}

.smart-forms .form-header h4 {
    text-align: center;
    font-size: 22px;
    font-weight:bold;
    /*text-transform:uppercase;*/

}

.smart-forms .input-hint {
    padding: 3px;
    padding-left:8px;
}

.switch span {
    vertical-align: middle;
    width: 200px;
    display: inline-block;
}

.ui-datepicker:before {
    top: 0px;
}





div#result {
    margin: 20px;
    max-width: 640px;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #34495e;
    line-height: 25px;
    display:none;
}

table {
 margin: auto;
  border-collapse: collapse;
  overflow-x: auto;
  display:block;
  width: fit-content;
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1);
}

td, th {
  border: solid rgb(200, 200, 200) 1px;
  padding: .5rem;
}

th {
  text-align: left;
  background-color: rgb(190, 220, 250);
  text-transform: uppercase;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: rgb(50, 50, 100) solid 2px;
  border-top: none;
}

td {
  white-space: nowrap;
  border-bottom: none;
  color: rgb(20, 20, 20);
  white-space: -o-pre-wrap; 
  word-wrap: break-word;
  white-space: pre-wrap; 
  white-space: -moz-pre-wrap; 
  white-space: -pre-wrap; 

}

td:first-of-type, th:first-of-type {
  border-left: none;
}

td:last-of-type, th:last-of-type {
  border-right: none;
}


span#newMacpPay1,span#newMacpPay2 {
    text-align: right;
    display: block;
    color: #16a085;
}

#result1,#result2,#result1stJuly {
display:none;
}
div#result1stJuly {
    line-height: 20px;
}
div#result1stJuly td {
    padding-bottom: 10px;
}


.chart {
  width: 100%; 
  min-height: 450px;
}
.row {
  margin:0 !important;
}

#piechart_wrap {
    position: relative;
    /*padding-bottom: 100%;*/
    height: 0;
    overflow: hidden;
    margin: 10px;
    border: 1px solid #ddd;
}
#barchart_wrap {
    position: relative;
    /*padding-bottom: 100%;*/
    height: 0;
    overflow:hidden;
    border: 1px solid #ddd;
    margin: 10px;
}
#piechart_div {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
}
#barchart_div {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
}

