.modal-popup {
    bottom: 0;
    left: 0;
    min-width: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    border-radius: 25px;
    overflow-y: auto;
}
.modal-popup._show {
    visibility: visible;
}
.modal-popup .modal-inner-wrap {
    box-sizing: border-box;
    /* display: flex;
     flex-direction: column;*/
    border-radius: 5px;
    height: auto;
    left: 0;
    margin: 5rem auto;
    position: absolute;
    right: 0;
    transform: translateY(-200%);
    transition-duration: 0.5s;
    transition-property: transform, visibility;
    transition-timing-function: ease;
    width: 600px;
    max-width: 98%;
    //    margin: 1%;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.35);
    opacity: 1;
    pointer-events: auto;
}
.modal-popup._show .modal-inner-wrap {
    transform: translateY(0px);
}
.modal-popup .modal-content {
    display: flex;
    flex-flow: row wrap;
    max-width: 100%;
}
.modals-overlay {
    background-color: rgba(51, 51, 51, 0.55);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}



#sizechartbutton{
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 10;
}
@media screen and (max-width: 850px) { #sizechartbutton{top:5px;}}
/*
#cboxClose{
    padding: 0 30px 0 10px; 
}
*/
#sizechart{
    color: #2d3331;
    max-width: 400px;
}
@media only screen and (max-width: 767px) { #sizechart { max-width: 300px;
}
}
#sizechart .left-column{
    float: left;
    //  max-width: 375px;
}
#sizechart .right-column{
    float: right;
    width: 150px;
	margin-left: 5px;
}
#sizechart_form label{
    clear: both;
    width: 100%;
    font-family: 'Roboto' !important;
}
#sizechart table tr:nth-child(even) {
    background-color: #eeeeee;
}
#sizechart #chart_values tr.recomended-size {
    background-color: #a1a1a1;
}

#sizechart table td {
    border: 1px solid #eeeeee;
    line-height: 20px;
}
#sizechart #chart_values td.current {
    font-size: 16px;
    font-weight: bold;
}
#sizechart table th{
    border: 1px solid #ffffff;
    padding: 4px;
    color: #ffffff;
    text-align: center;
    line-height: 15px;
	font-family: 'Roboto' !important;
}
#sizechart .size{
    clear: both;
    overflow: auto;
    margin-bottom: 10px;
}
#sizechart .measurements table{
    width: 100%;
    //   float: left;
    //   width: 48%;
}
#sizechart .measurements table td{
    border: 0;
    padding: 4px 15px;
    text-align: center;
}
#sizechart .measurements input{
    width: 56px;
}
#sizechart .measurements p{
    margin: 0;
	font-family: 'Roboto' !important;
}
#sizechart .measurements .col{
    // width: 55px;
    //  float: left;
}
#sizechart .results{
    // width: 48%;
    // float: right;
    background-color: #ececec;
    padding: 0px;
}
#sizechart .results p{
    margin: 0;
    padding: 5px;
    font-family: 'Roboto' !important;
    line-height: 17px;
}
#sizechart .chart table{
    width: 100%;
    text-align: center;
}
#sizechart .chart td{
    text-align: center;
    font-family: 'Roboto' !important;
}
#sizechart .country table{
    width: 100%;
    margin-top: 20px;
}
#sizechart .country td{
    text-align: center;
    font-family: 'Roboto' !important;
}
#sizechart .notes{
    font-size: 12px;
    margin-top: 10px;
    font-weight: bold;
    font-family: 'Roboto' !important;
}
#sizechart .notes2{
    font-size: 15px;
    margin-top: 10px;
    font-weight: bold;
	text-decoration: underline;
	font-family: 'Roboto' !important;
}
.sizechart-credits {
    clear: both;
    float: left;
    font-size: 8px;
}