﻿#popup {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    /*淡入淡出*/
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    opacity: 0;
    visibility: hidden;
}

.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    z-index: 5001;
    display: none;
    overflow: auto;
    bottom: 0;
    left: 0;
}


.popupWhite {
    background-color: transparent;
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    overflow: auto;
    position: fixed;
    width: 100%;
    z-index: 1001;
}

.window {
    width: 80%;
    background: #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    text-align: center;
    /*overflow: auto;*/
    -webkit-overflow-scrolling: touch;
}

/*.window input[type="text"] {
        width: 180px;
        font-size: 24px;
    }*/

.close-button {
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: #000;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: 3px solid #fff;
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    position: absolute;
    top: -10px;
    right: -10px;
}

#popup:target {
    visibility: visible;
    /*淡入淡出*/
    opacity: 1;
}


.RightTop {
    color: #0f77ab;
    font-size: 1em;
    border: 1px solid;
    border-radius: 30px;
    padding: 5px;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    z-index: 100;
}


    .RightTop:hover {
        color: #0092d9;
        cursor: pointer;
    }


.smallRightTop {
    color: #0f77ab;
    font-size: 0.3em;
    border: 1px solid;
    border-radius: 30px;
    padding: 5px;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    z-index: 100;
    background: white;
}


    .smallRightTop:hover {
        color: #0092d9;
        cursor: pointer;
    }
