﻿@charset "utf-8";
/* CSS Document */
*{
    margin: 0;
    padding: 0;
}
html, body {
    width: 100%;
    height: 100%;
    /*margin: 0;*/
    /*flex:1;*/
    /*border: 10px solid gold;*/
}

/*body{*/
    /*background: url("http://mvw-resource.oss-cn-beijing.aliyuncs.com/elf/img/loading4.gif") 50% 50% no-repeat;*/
    /*background-size:15vw,15vw;*/
/*}*/

div {
    /*width: 100%;*/
    /*height: 100%;*/
    /*flex:10;*/

    -webkit-box-sizing:border-box; /* Safari */
    -moz-box-sizing:border-box; /* Firefox */
    -ms-box-sizing:border-box; /* Firefox */
    box-sizing:border-box;
}

img {
    max-width: 100%;
    max-height: 100%;
    /*display: -webkit-flex;*/
    /*display: -moz-flex;*/
    /*display: -ms-flex;*/
    /*display:flex;*/
}

.full {
    width: 100%;
    height: 100%;
}

.positionRelative{
    position: relative;
}

.hFlex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display:flex;
}
.vFlex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display:flex;

    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.flexWrap{
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.parallelStart{
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
}
.parallelCenter{
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.parallelEnd{
    -webkit-justify-content: flex-end;
    -moz-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
}
.parallelSpaceAround{
    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
    -ms-flex-pack: space-around;
    justify-content: space-around;
}
.parallelSpaceBetween{
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}

.perpendicularStart{
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
}
.perpendicularCenter{
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.perpendicularEnd{
    -webkit-align-items: flex-end;
    -moz-align-items: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
}
.perpendicularBaseline{
    -webkit-align-items: baseline;
    -moz-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}

/*.perspective{*/
    /*transform-style:preserve-3d;*/
    /*-webkit-perspective: 1000px;*/
    /*-moz-perspective: 1000px;*/
    /*-ms-perspective: 1000px;*/
    /*perspective: 1000px;*/
/*}*/

.window{
    position:absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}
.windowBackground{
    /*background-color: white;*/
    background-color: gray;
    /*z-index: 1001;*/
    opacity: 0.3;
    position:absolute;
    top:0;
    left:0;
}
.windowContent{
    /*background-color: blueviolet;*/
    position:absolute;
    /*z-index: 1002;*/
    top:0;
    left:0;
    right:0;
    bottom: 0;
}

/*ratio box, button*/
.goldenRatioBox{
    max-height: 100%;
    position: relative;
}
.goldenRatioBox:before{
    /*padding-top: 56.25%;*/
    /* 16:9 ratio */
    padding-top: 61.8%;
    display: block;
    content: '';
}
.goldenRatioBox>div{
    position: absolute;
    margin: auto;
    top:0;bottom: 0;left:0;right: 0;
}
.longRatioBox{
    max-height: 100%;
    position: relative;
}
.longRatioBox:before{
    /*padding-top: 56.25%;*/
    /* 16:9 ratio */
    padding-top: 30%;
    display: block;
    content: '';
}
.longRatioBox>div{
    position: absolute;
    margin: auto;
    top:0;bottom: 0;left:0;right: 0;
}
/*.goldenRatioButton{*/
    /*width: 90%;*/
    /*max-height: 100%;*/
    /*background-color: #ffffff;*/
    /*border: 1px solid #bc2525;*/
    /*border-radius: 5%;*/
/*}*/
/*.goldenRatioButton:before{*/
    /*padding-top: 56.25%;*/
    /* 16:9 ratio */
    /*padding-top: 61.8%;*/
    /*display: block;*/
    /*content: '';*/
/*}*/
/*.goldenRatioButton>span{*/
    /*word-break: break-all;*/
    /*color: #bc2525;*/
    /*font-size:2vw;*/
/*}*/

/*position*/
.left{
    position: absolute;
    left:-100%;
    top:0;
}
.central{
    position: absolute;
    left:0;
    top:0;
}
.right{
    position: absolute;
    left:100%;
    top:0;
}
.upper{
    position: absolute;
    left:0;
    top:-100%;
}
.lower{
    position: absolute;
    left:0;
    top:100%;
}

.hide{
    display:none;
}

/*spacing*/
/*.contentSpacing>div{*/
    /*margin-bottom: 1%;*/
/*}*/

.absoluteCenter {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.loading{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background: url("http://mvw-resource.oss-cn-beijing.aliyuncs.com/elf/img/loading.gif") 50% 50% no-repeat #ffffff;
    background-size:15vw,15vw;
}

.autoOverflow{
    overflow:auto;
}

.autoOverflowY{
    overflow-y: auto;
    overflow-x: hidden;
}

.autoOverflowX{
    overflow-x: auto;
    overflow-y: hidden;
}

.ellipsis{
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
}

/*.forceWrap{*/
    /*white-space: ;*/
/*}*/

/*.defaultClickEffect:active{*/
    /*opacity: 0.5;*/
/*}*/

.inlineBlock{
    display: inline-block;
}

.checkbox_box{
    width:2vw;
    height:2vw;
    border: 1px solid black;
}

.checkbox_checked{
    background-image: url("http://mvw-resource.oss-cn-beijing.aliyuncs.com/elf/img/checked.svg");
    background-size:100% 100%;
}