.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    margin: 20px auto;
    max-width: 660px;
    width: 100%;
}

.mfp-content {
    padding: 0px 20px;
}

#measureFlyover .measureFlyoverRelative h2 {
    margin-bottom: 20px;
}

#swatchFlyover.white-popup, #measureFlyover.white-popup {
    padding: 0px;
}

.swatchFlyoverRelative, .measureFlyoverRelative{
    padding: 20px;
}

.swatchFlyoverRelative, .measureFlyoverRelative h2 {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.25;
    text-align: center;
}

.swatchFlyoverRelative p {
    text-align: center;
    width: 75%;
    margin: 15px auto;
    font-size: 18px;
    font-weight: 300;
}

#swatchSignupButton, #measureSignupButton{
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
    background: none;
    font-size: 13px;
    color: #ffffff;
    background-color: #323232;
    height: 48px;
    width: 100%;
}

#swatchSignupButton:disabled, #measureSignupButton:disabled {
    background-color: #cccccc;
    color: #666666;
}

#stateMeasureValue, #stateValue {
    background: white;
}

#swatchFlyover .swatchFlyoverRelative h2, 
#measureFlyover .measureFlyoverRelative h2 {
    text-transform: uppercase !important;
}

@media (min-width: 768px) { 
    .swatchFlyoverRelative, .measureFlyoverRelative{
        padding: 50px;
    }
    #swatchFlyover .mfp-close, #measureFlyover .mfp-close {
        color: #333;
    }
    #swatchFlyover #swatch_no_thanks_background {
        background: none;
    } 
    #measureFlyover #measure_no_thanks, #measure_background {
        background: none;
    } 
    #swatchFlyover #swatch_no_thanks span {
        display: none;
        padding: 0px;
        width: 0px;
    }
    #measureFlyover #measure_no_thanks span {
        display: none;
        padding: 0px;
        width: 0px;
    }
    #swatchFlyover .swatchFlyoverRelative h2, 
    #measureFlyover .measureFlyoverRelative h2 {
        font-size: 33px;
        font-family: 'Montserrat',sans-serif;
        font-weight: 300;
        text-transform: uppercase !important;
    }
    #measureFlyover .measureFlyoverRelative, .measure_flyover_modal_inner {
        max-width: 660px;
        margin: 0 auto;
    }
    #swatchFlyover .swatchFlyoverRelative p {
        font-family: "Montserrat",sans-serif;
        font-style: normal;
        font-weight: 300;
        font-size: 14px;
        color: black;
        line-height: 20px;
    }
    
    .measureButtonContainer{
        display: flex;
        justify-content: center;
    }
    .measureButtonContainer > a:nth-child(1){
        flex-basis: 50%;
        margin-right: 2.5px;
    }
    .measureButtonContainer > a:nth-child(2){
        flex-basis: 50%;
        margin-left: 2.5px;
    }
    .measureButtonContainer a {
        text-decoration: none;
    }

 }

 @media (min-width: 825px) { 
    #swatchFlyover.white-popup, #measureFlyover.white-popup, #measure_flyover_modal_signup_success.white-popup{
        width: 800px;
        margin: 0 auto;
        max-width: unset;
    }
 }



