﻿.adv-modal .adv-modal-inner.advancedPopup-dialog {
    display: inline-block;
    /*width: 50%;*/
    /*font: 12px/1.2 Arial, Helvetica, sans-serif;*/
    font: Arial, Helvetica, sans-serif;
    /*color: #000;*/
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    max-width: 480px;
    overflow: hidden;
    position: relative;
}

.advancedPopup-dialog .adv-modal-close {
    left: auto;
    background: url('../Images/cancel.png') center no-repeat;
    -webkit-background-size: 60% 60%;
    -moz-background-size: 60%;
    -o-background-size: 60%;
    background-size: 60%;
}

    .advancedPopup-dialog .adv-modal-close::after {
        content: "" !important;
        display: none;
    }

.advancedPopup-dialog .modal-content {
    padding: 0;
}

.advancedPopup-stripes.top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.advancedPopup-space {
    background: none repeat scroll 0 0 transparent;
    box-sizing: border-box;
    padding: 20px 55px 20px 55px;
}

.stripes.bottom {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.advancedPopup .advancedPopup-information {
    /*font-size: 22px;*/
    letter-spacing: -1px;
    line-height: 10px;
    margin: 0 0 15px;
    padding: 0;
    /*text-align: center;
    font-weight: bold;*/
}

.advancedPopup .advancedPopup-top {
    /*color: #aaa;*/
    line-height: 16px;
    margin: 0 0 10px;
    padding: 0;
}

.advancedPopup hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #ccc -moz-use-text-color -moz-use-text-color;
    border-image: none;
    border-right: 0 none;
    border-style: dotted none none;
    border-width: 1px 0 0;
    margin: 0 0 10px;
}

.advancedPopup label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.advancedPopup input[type="email"] {
    /*background: -moz-linear-gradient(center top, #fff, #f9f9f9) repeat scroll 0 0 rgba(0, 0, 0, 0);*/
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: 0 0 2px 1px rgba(150, 150, 150, 0.1) inset;
    box-sizing: border-box;
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
    outline: 0 none;
    padding: 10px;
    width: 100%;
    font-size: 16px;
}

    /*.advancedPopup input[type="email"]:invalid {
        border-color: #FF0000;
    }*/

.advancedPopup .submit:before {
    /*background-color: #ccd0d5;*/
    border-radius: 5px;
    /*box-shadow: 0 1px 1px #909193 inset, 0 1px 0 #fff;*/
    content: "";
    display: block;
    height: 100%;
    left: -8px;
    padding: 8px;
    position: absolute;
    top: -8px;
    width: 25%;
    z-index: -1;
}

.advancedPopup .submit, .subscribe .submit:hover {
    /*background-color: #3bb3e0;*/
    /*background-image: -moz-linear-gradient(center bottom, rgb(44, 160, 202) 0%, rgb(62, 184, 229) 100%);*/
    border: 1px solid;
    border-radius: 0;
    /*box-shadow: 0 1px 0 #7fd2f1 inset, 0 1px 0 #fff;*/
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    /*height: 38px;*/
    position: relative;
    text-decoration: none;
    /*width: 25%;*/
    display: inline-block;
    /*line-height: 38px;*/
    text-align: center;
    padding: 10px 70px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.advancedPopup-final {
    text-align: center;
    padding: 5px 0;
}

.advancedPopup-cancel {
    cursor: pointer;
    text-decoration: underline;
    font-size: 16px;
    color: #696060;
    font-weight: bolder;
}

.adv-modal-background[data-modal-class="advancedPopup-dialog"] {
    background: rgba(252, 252, 252, 0.6);
}

@media screen and (max-width: 480px) {
    .advancedPopup-dialog .adv-modal-close {
        color: transparent;
        border: none;
        position: absolute;
        top: 10px;
    }

    .adv-modal .adv-modal-inner.advancedPopup-dialog {
        height: auto;
        max-height: 100vh;
        padding: 0;
    }

    #advancedPopupFirstInformation {
        text-align: center;
    }
}
