/*---------------------------------------------------------------------------------------
    Backdrop
---------------------------------------------------------------------------------------*/

.tp-backdrop {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: #121214;
    z-index: 300000;
    opacity: 0;
    -webkit-transition: opacity .25s linear;
    -moz-transition: opacity .25s linear;
    -ms-transition: opacity .25s linear;
    -o-transition: opacity .25s linear;
    transition: opacity .25s linear;
}

.tp-backdrop.tp-active {
    opacity: .9;
}

/*---------------------------------------------------------------------------------------
    Modal container close button
---------------------------------------------------------------------------------------*/

.tp-modal .tp-close.tp-square {
    /*background: #578fe0;*/
    background: #ccc;
    border-radius: 0;
    border: 0;
    top: 0;
    right: -40px;
}

.tp-modal .tp-close {
    line-height: 37px;
    display: none;
    position: absolute;
    top: -20px;
    right: -20px;
    width: 40px;
    height: 40px;
    /*background: transparent url(ca2ea8c244e0999942089aa6270dd537362a07a3.png)  no-repeat;*/
    background: #ccc;
    border: 2px solid #fff;
    z-index: 300100;
    border-radius: 40px;
    opacity: 0;
    cursor: pointer;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 22px;
    text-align: center;
    transform: scale(.25, .25);
    -moz-transform: scale(.25, .25);
    -ms-transform: scale(.25, .25);
    -webkit-transform: scale(.25, .25);
    -o-transform: scale(.25, .25);
    /*-webkit-transition: all .4s ease-in-out;*/
    /*-moz-transition: all .4s ease-in-out;*/
    /*-ms-transition: all .4s ease-in-out;*/
    /*-o-transition: all .4s ease-in-out;*/
    /*transition: all .4s ease-in-out;*/
}

.tp-modal .tp-close.tp-active {
    display: block;
    opacity: 1;
    transform: scale(1.0, 1.0);
    -moz-transform: scale(1.0, 1.0);
    -ms-transform: scale(1.0, 1.0);
    -webkit-transform: scale(1.0, 1.0);
    -o-transform: scale(1.0, 1.0);
}

.tp-modal {
    z-index: 300050;
}

/*---------------------------------------------------------------------------------------
    Modal
---------------------------------------------------------------------------------------*/
.tp-modal .tp-iframe-wrapper.tp-curtain {
    width: 600px;
    height: 480px;
}

.tp-modal-open {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}
.tp-iframe-wrapper {
    position: relative;
    margin: 40px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.21);
}
.tp-modal {
    overflow-x: hidden;
    overflow-y: scroll;
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.fixfixed .tp-fixfixed {
    position: absolute;
}
.tp-modal .tp-iframe-wrapper.tp-active {
    transform: scale(1.0, 1.0);
    -moz-transform: scale(1.0, 1.0);
    -ms-transform: scale(1.0, 1.0);
    -webkit-transform: scale(1.0, 1.0);
    -o-transform: scale(1.0, 1.0);
}

.tp-modal .tp-message {
    font-family: "BentonSans Regular", Helvetica, Arial, sans-serif;
    padding: 10px;
}

.tp-modal .tp-btn-container {
    padding-left: 10px;
    padding-bottom: 10px;
}

.tp-btn {
    text-decoration: none;
    cursor: pointer;
    padding: 0px 18px;
    line-height: 40px;
    border-collapse: separate;
    border-radius: 4px;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    border: none;
    box-shadow: inset 0px -1px 0px rgba(216, 218, 221, 0.0);
    background: #3878D8;
    background-position: bottom;
    text-shadow: none;
    font-family: "BentonSans Regular", Helvetica, Arial, sans-serif;
    white-space: nowrap;
    outline: 0;
}

.tp-please-wait.tp-active {
    display: block;
    opacity: .9;
    -webkit-transition: opacity .25s linear;
    -moz-transition: opacity .25s linear;
    -ms-transition: opacity .25s linear;
    -o-transition: opacity .25s linear;
    transition: opacity .25s linear;
}

.tp-please-wait {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #999;
    opacity: 0;
    width: 100%;
    height: 100%;
    display: none;
    text-align: center;
    color: #fff;
    font-weight: lighter;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
}

.tp-please-wait > .tp-icon {
    width: 46px;
    height: 46px;
    background-image: url(e394c166b64c698529f4fbdbf9d8d949ae2df396.) ;
    margin: 100px auto 20px auto;
}