*:focus {
    outline: none;
}
iframe, body {
    margin:0px;
}
body{
    bottom: 0px;
    /*height: 1000px;*/
}
/*
  tp: template preview
*/
.cTpDivMain{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.cTpDivImg{
    overflow:hidden;
    height:auto;
    text-align: center;
    width: auto;
    clear: both;
}
.cTpImg{
    width: 100%;
    height: auto;
}
.cTpDivImg img{
    width:100%;
}

.cTpDivImageBtn{
    overflow:hidden;
    height:auto;
    text-align: center;
    width: auto;
    clear: both;
}
.cTpDivImageBtn input{
    width: 100%;
    height: auto;
    text-align: center;
}
.cTpImgBtn{
    width: 100%;
    /*height: 43px;*/
    border: none;
    cursor: pointer;
}

.cTpImgBtnChg{
    width: 100%;
    /*height: 43px;*/
    border: none;
    cursor: pointer;
}

/*.cTpDivImageBtn_MJ_B{
    overflow:hidden;
    height:auto;
    text-align: center;
    width: 100%;
    clear: both;
}*/
/*.cTpDivImageBtn_MJ_B input{
    width:50%
}*/

.cTpDivOLImgBtn{
    overflow:hidden;
    height:auto;
    text-align: center;
    width: auto;
}
.cTpDivOLImgBtn input{
    width:100%;
}
.cTpOLImgBtn{
    width: 100%;
    cursor: pointer;
}
.cTpOLImgBtnChg{
    width: 100%;
    cursor: pointer;
}

.cDivTwoBtnMenu1 {
    width: 50%;
    float: left;
    text-align: center;
}
.cDivTwoBtnMenu2 {
    width: 50%;
    float: left;
    text-align: center;
}

/*.cDivThreeBtnMenu1 {
    width: 33%;
    float: left;
    margin-left: 0px;
}*/
/*.cDivThreeBtnMenu2 {
    width: 33%;
    float: left;
}*/
/*.cDivThreeBtnMenu3 {
    width: 33%;
    float: left;
}*/

/*.cDivOneMenu {
    width: 98%;
    text-align: center;
}*/

.cDivTwoMenu1 {
    width: 50%;
    float: left;
}
.cDivTwoMenu2 {
    width: 50%;
    float: left;
}

.cDivThreeMenu1 {
    width: 33%;
    float: left;
}
.cDivThreeMenu2 {
    width: 33%;
    float: left;
}
.cDivThreeMenu3 {
    width: 33%;
    float: left;
}

.cDivFourMenu1 {
    width: 25%;
    float: left;
}
.cDivFourMenu2 {
    width: 25%;
    float: left;
}
.cDivFourMenu3 {
    width: 25%;
    float: left;
}
.cDivFourMenu4 {
    width: 25%;
    float: left;
}

.cDivLayoutContainer {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}

.cDivFixBottom {
    bottom: 0;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.tempFixBottom {
    position:fixed;
    bottom: 0;
    width: 98%;
    padding-left: 5px;
    padding-right: 5px;
}

.tempImgBtn{
    width: 100%;
    height: auto;
    border: none;
    cursor: pointer;
}

.tempImgBtnChg{
    width: 100%;
    height: auto;
    border: none;
    cursor: pointer;
}

.tempOLImgBtn{
    width: 100%;
    height: auto;
    cursor: pointer;
}


.layer{ margin: auto;
    position: absolute;
    top: 130px; bottom: 90px; left: 0; right: 0; overflow-y: auto;}
.layer .layer_inner{display:table-cell;text-align:center;vertical-align:middle; padding-left:5%; padding-right:5%; padding-bottom: 10%;}
.layer .content{display:inline-block;}




.back{
    text-align : center;
    background-color : #eee;
    padding : 20px;
}
.back2{
    background-color : white;
    margin : 20px 0px 100px;
}
.subject{
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.cMJ_topOutter{
    width: 100%;
    min-height: 90px;
    padding-top: 5px;
    background-color: #FFFFFF;
}
.cMJ_topLeft{
    width: 25%;
    text-align: left;
    float: left
}
.cMJ_topCenter{
    width: 50%;
    text-align: center;
    float: left;
    margin-top: 0px;
}
.cMJ_topRight{
    width: 25%;
    text-align: right;
    float: left;
}

.cMJ_ContentsOutter{
    width: 100%;
    text-align: center;
    margin-top: 20px;
    background-color: #DEDEDE;
    padding: 30px 0px 10px 0px;
}
.cMJ_ContentsInner{
    width: 100%;
    text-align: center;
    padding: 30px 0px 30px 0px;
    background-color: #FFFFFF;
}
.errorBtn{
    width:80%; height:50px; border:0px; font-weight: 600;font-size: larger;
}
.errorLayout{
    text-align:center; padding-left:25%; padding-right:25%
}
.alignRight{
    text-align: right;
}
.alignLeft{
    text-align: left;
}
.marginTop7{
    margin-top:7%;
}
.marginTop10{
    margin-top:10%;
}
#mobilePreview {
    width: 100%;
    margin: 0 auto;
    background: white;
    height: 120%;
    margin-top: 7%;
    overflow-y: auto;
}

@media (min-width: 768px) {
    #mobilePreview {
        width:40%;
        height:70%;
        margin:0 auto;
        background:white;
        margin-top:7%;
    }
}
