/* 
    Created on : 2014/07/15, 9:44:24
    Author     : kato
*/

/* ==========================================================================
   全体
   ========================================================================== */
#balloon_bg,
.modal_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ui-front {
    z-index: 9600;
}

/* ==========================================================================
   吹きだし
   ========================================================================== */
#balloon_bg {
    z-index: 9500;
}

.balloon_area {
    position: absolute;
    z-index: 9510;
    display: none;
}

.balloon_area .balloon,
.balloon_area .balloon_bottom {
    width: 0;
    height: 0;
    position: relative;
}

.balloon_area .balloon {
    border-top: 0 solid transparent;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid rgba(0,0,0,.2);
    position: relative;
}

.balloon_area .balloon:before {
    content: "";
    border-top: 0 solid transparent;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 19px solid #fefefe;
    position: absolute;
    top: 2px;
    left: -15px;
    z-index: 9520;
}

.balloon_area .balloon_bottom {
    display: none;
    border-top: 20px solid rgba(0,0,0,.2);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 0 solid transparent;
    position: relative;
}

.balloon_area .balloon_bottom:before {
    content: "";
    border-top: 19px solid #fefefe;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 0 solid transparent;
    position: absolute;
    top: -21px;
    left: -15px;
    z-index: 9520;
}

.balloon_contents {
    border-radius: 4px;
    min-width: 400px;
    padding: 8px 16px;

    background-color: #fefefe;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.2);
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.balloon_contents input,
.balloon_contents select {
    color: #000;
}

/* ==========================================================================
   モーダル
   ========================================================================== */
.modal_bg {
    z-index: 4000;
}

.modal_area {
    display: none;
    position: fixed;
    z-index: 4010;
    top: 0;
    right: 0;
    height: 100%;
}

.modal_top_margin {
    height: 67px;
}

#search_area .glyphicon-remove,
.modal_area .glyphicon-remove {
    font-size: 20px;
    color: #000;
    opacity: 0.6;
    cursor: pointer;
    position: absolute;
    top: 76px;
    right: 8px;
}

#search_area .glyphicon-remove:hover,
.modal_area .glyphicon-remove:hover {
    opacity: 1.0;
}

.modal_contents {
    padding: 8px;
    height: 100%;
}