/* 
    Created on : Jun 30, 2016, 10:28:39 AM
    Author     : samudra
*/
@font-face {
    font-family: 'open_sansbold';
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
*{ margin: 0; padding: 0; }
body{ background: #a8a9ad; font-family: open_sansregular; font-size: 18px; line-height: 20px; }
#container{ display: block; width: 980px; height: 680px; margin: 0 auto; background: #fff; border-radius: 5px; position: relative; }

/* content body css */
/*#contentbody { padding: 2%; position: absolute; width: 96%; }*/

/* popup css */

#mask{ position: absolute; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); border-radius: 5px; }
#popup {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: relative;
    border-radius: 5px;
}
#popup-content{
    color: white;
    width: 50%;
    padding: 10px;
    background: #8f6daa none repeat scroll 0 0;
    border: 3px solid #ffe00f;
    border-radius: 5px;
    height: 150px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    bottom: 0;
}
#popup-hedader {
    height: 35px;
    position: relative;
}
#popup-close {
    border: 2px solid #fff;
    border-radius: 100%;
    display: table-cell;
    font-family: open_sansbold;
    font-size: 14px;
    height: 20px;
    position: absolute;
    right: 0;
    text-align: center;
    text-shadow: 0 2px #000;
    top: 0;
    vertical-align: middle;
    width: 20px;
    cursor: pointer;
    line-height: 18px;
}
#popup-info{
    width: 34px; 
    height: 34px;
    background: rgba(0, 0, 0, 0) url("../images/btInfoOn@2x.png") no-repeat scroll 0 0 / cover ;
}
#popup-body{ padding: 15px; line-height: 22px; }

/* footer css */
#footer { border-top: 2px solid #a8a9ad; bottom: 0; display: table-cell; height: 55px; position: absolute; vertical-align: middle; width: 100%; }
#instruction{
    display: block;
    height: 45px;
    left: 15px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    top: 5px;
    width: 830px;
    opacity: 0;
    font-size: 16px;
	font-family: open_sansbold;
}
.single{ top: 16px; }
.double{ top: 8px; }
.fBtn{ position: absolute; top: 10px; width: 34px; height: 34px; }
#info{ background: rgba(0, 0, 0, 0) url("../images/btInfoOn@2x.png") no-repeat scroll 0 0 / cover ; right: 80px; cursor: pointer; }
#info.disable{ background: rgba(0, 0, 0, 0) url("../images/btInfoOff@2x.png") no-repeat scroll 0 0 / cover ; cursor: auto; }
#reset{ background: rgba(0, 0, 0, 0) url("../images/btResetOn@2x.png") repeat scroll 0 0 / cover ; right: 25px; cursor: pointer; }
#reset.disable{ background: rgba(0, 0, 0, 0) url("../images/btResetOff@2x.png") repeat scroll 0 0 / cover ; cursor: auto; }

/* ========================================================================================================================================= */

.canvas {
    left: 15px;
    top: 100px;
    position: absolute
}

.nav {
    width: 100%;
    height: 90px;
    position: absolute
}

.topnav { top: 0 }
.bottomnav { bottom: 55px }

.buttons {
    cursor: pointer;
    position: absolute
}

.navBtns {    
    width: 110px;
    height: 72px;
    background: url(../images/lockOpened.png);
}

.topnav .buttons { bottom: 0 }
.settings {
    width: 114px;
    height: 75px;
    background: url(../images/setting.png);
    right: 30px
}
#btn1 {
    background: url(../images/lockOpened.png);
    left: 30px
}

#btn2 {
    background: url(../images/link.png);
    left: 160px
}

#btn3 {    
    background: url(../images/stick.png);
    left: 290px
}

.linkActive { background: url(../images/linkActive.png) !important; }
.closed { background: url(../images/lockClosed.png) !important }

.set-pop, .legend-pop {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    border-radius: 5px;
}

.set-content {
    font-family: 'open_sansregular';
    width: 530px;
    height: 340px;
    background-color: #8f6daa;
    border: 3px solid #ffe00f;
    border-radius: 5px;
    color: #FFF;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute
}

.set-close, .legend-close {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 100%;
    font-family: open_sansbold;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    text-shadow: 0 2px #000;
    vertical-align: middle;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer
}

.set-cont-innter {
    margin-left: 20px;
    margin-top: 40px
}
.row { margin-top: 20px }

.set-pop input {
    margin-right: 5px;
    vertical-align: top
}

.generate {
    width: 100px;
    font-family: 'open_sansregular';
    font-size: 20px;
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(255, 175, 75, 1) 41%, rgba(251, 159, 64, 1) 50%, rgba(247, 138, 48, 1) 62%, rgba(242, 117, 33, 1) 74%) repeat scroll 0 0;
    border: 2px solid #bdd63b;
    border-radius: 5px;
    left: 180px;
    top: 270px;
    padding: 10px 20px;
    text-align: center;
    text-shadow: 0 1px 5px #000;
    cursor: pointer;
    position: absolute
}

#legend {
    font-size: 20px;
    width: 230px;
    height: 30px
}

.legend-info {
    width: 25px;
    height: 24px;
    background: url(../images/qicon.png) no-repeat;
    display: inline-block;
    cursor: pointer
}

.legend-content {
    font-family: 'open_sansregular';
    width: 640px;
    height: 100px;
    background-color: #8f6daa;
    border: 3px solid #ffe00f;
    border-radius: 5px;
    color: #FFF;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    padding-right: 40px;
    position: absolute
}

.legend-content > p {
    margin-left: 20px;
    margin-top: 20px;
    line-height: 1.5em
}

span.frac {
    display: inline-block;
    text-align: center;
    vertical-align: middle
}

span.frac > sup {
    border-bottom: 1px solid;
    display: block;
    font: inherit
}
span.frac > span { display: none }

span.frac > sub {
    display: block;
    font: inherit
}

#type2 > input { vertical-align: middle }
#type1 > label, #type2 > label { margin-right: 5px }