/*
Author:  
Author URI: http://www.mjmfr.com.my
Version: 1.0
*/

@font-face {
    font-family: "Balazac";
    src: url("font/balzac.ttf");
}

body, html {
	color: #666;
	font-size: 15px;
	min-height: 800px;
	height: 100%;
}
.round {
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

#loading {
    position: absolute;
    top: 0;
    left: 0;
    background: URL("../img/loading.gif") no-repeat center center;
    background-color: rgba(255,255,255,0.6);
    width: 100%;
    height: 100%;
    z-index: 999;
    text-align:center;
}
    #loading span {
        position:absolute;
        width:100%;
        display:block;
        margin:0 auto;
        top:53%;
        text-transform:uppercase;
        letter-spacing:2px;
        font-size:18px;
        color:#30b39a;
    }


#board   { display:block; width:800px; margin:20px auto;   text-align:center; }
#content{position:relative; width:800px; height:300px; border: 1px solid #999;background:URL("../img/5mm.png");}
#custom  { width:800px; height:300px; top:0; left:0; padding:0; margin:0; position: absolute; background: transparent;}
#frameSet { width:800px; height:300px; top:0; left:0; padding:0; margin:0; position: absolute;}
#frameSet img {position:absolute;top:0; left:0; display:none;}
.txt-contorl{ display:block; text-align:center; margin:10px;}
input#text{
	width:400px;
	height:55px;
	text-align:center;
	margin:10px;
	padding:3px;
	font-size:40px;
	line-height:40px;
	cursor:default;
	font-family: "Balazac",Arial;
	color:#0aa;
    margin:0 auto;
}

button#addName{
	border:2px solid #ddd;
}

#overlay{
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-right: 20px;
    overflow-y: scroll;
    background: rgba(255, 255, 255, 0.8);
    display:none;
}

.preview {
    margin:150px auto;
    position: relative;
    width: 900px;
    height: 400px;
    
}
#p-close {
    float: right;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: url(../img/close-p.png) center center no-repeat;
}

#WebGLCanvas {
    position: absolute;
    top: 40px;
    left: 0;
}

#slider {
    margin: 20px 0;
    width:800px;
    height:400px;
    overflow:hidden;
}

#addIcon, #show3D {
    display:none;
}


#popover {
    cursor:default;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1010;
    max-width: 330px;
    padding: 1px;
    text-align: left;
    white-space: normal;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.2);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    display: none;
}

.popClose {
    float: right;
    margin: -26px 10px 0 0;
    font-family:Arial;
    cursor:pointer;
}
.popClose:hover {
    opacity:0.5;
}
.poploader{
    position:absolute;
    width:100%;
    height:85%;
    /*display:none;*/
}
.poploader img{
    margin:150px 0 0 130px;
}

.popover-title {
    padding: 8px 14px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}



.popover-content {
    width:350px;
    height:330px;
}


.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -moz-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

.thumbnails {
    margin-top:20px;
    margin-left: 0;
    list-style: none;
}

ul ul, ul ol, ol ol, ol ul {
    margin-bottom: 0;
}
ul, ol {
    padding: 0;
    margin: 0 0 10px 25px;
}

.thumbnails>li {
    float: left;
    display: block;
    margin:0 0 10px 10px;
    padding: 4px;
    line-height: 20px;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

    padding:5px;
    cursor:pointer;
    border:2px;
}


.thumbnails>li:hover, .thumbnails>li:focus {
    border-color: #08c;
    -webkit-box-shadow: 0 1px 4px rgba(0,105,214,1);
    -moz-box-shadow: 0 1px 4px rgba(0,105,214,1);
    box-shadow: 0 1px 4px rgba(0,105,214,1);
}

#water-mark {
                position: absolute; 
                right:10px;
                bottom:-30px;
                height: 0;
                width: 50vw;
                height: 50vh;
                border: 0;
                background-image: url("../img/dblogo.png");
                background-position: right bottom;
                background-repeat: no-repeat;
                background-size: initial;
                pointer-events: none;
                z-index: 2;
                opacity: 0.5;
            }
#water-mark2 {
                position: absolute; 
                right:10px;
                top:50px;
                height: 0;
                width: 50vw;
                height: 50vh;
                border: 0;
                background-image: url("../img/dblogo.png");
                background-position: right top;
                background-repeat: no-repeat;
                background-size: initial;
                pointer-events: none;
                z-index: 3;
                opacity: 0.5;
            }
#water-mark3 {
                position: absolute; 
                left:10px;
                top:50px;
                height: 0;
                width: 50vw;
                height: 50vh;
                border: 0;
                background-image: url("../img/dblogo.png");
                background-position: left top;
                background-repeat: no-repeat;
                background-size: initial;
                pointer-events: none;
                z-index: 4;
                opacity: 0.5;
            }
#water-mark4 {
                position: absolute; 
                left:10px;
                bottom:-30px;
                height: 0;
                width: 50vw;
                height: 50vh;
                border: 0;
                background-image: url("../img/dblogo.png");
                background-position: left bottom;
                background-repeat: no-repeat;
                background-size: initial;
                pointer-events: none;
                z-index: 4;
                opacity: 0.5;
            }
#water-mark5 {
                position: absolute; 
                top: 0;
  		bottom: 0;
  		left: 0;
  		right: 50;
                height: 0;
                width: 50vw;
                height: 50vh;
                border: 0;
                background-image: url("../img/dblogo.png");
                background-position: center;
                background-repeat: no-repeat;
                background-size: initial; 
                pointer-events: none;
                z-index: 6;
                opacity: 0.1;		
            }