#draw-main{
    position:absolute;
    width:1024px;
    margin-left:auto;
    margin-right:auto;
    top:5px;

    background-color:#ffffff;
}

#drawcontainer{

    position:relative;
    left:5px;top:5px;
    float:right;
    border:thin white solid;
    width:705px;
} 
#imageview{
    background-color: #ffffff;
    border: 1px solid #000; 
    /*            position: absolute; left: 0px; top: 0px;*/
}     

.refno {
    position:relative;

    margin-left:auto;
    margin-right:auto;
    -moz-box-shadow:inset 0px -3px 8px 0px #bbdaf7;
    -webkit-box-shadow:inset 0px -3px 8px 0px #bbdaf7;
    box-shadow:inset 0px -3px 8px 0px #bbdaf7;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #79bbff), color-stop(1, #378de5) );
    background:-moz-linear-gradient( center top, #79bbff 5%, #378de5 100% );
    /*	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#378de5');*/
    background-color:#79bbff;
    -moz-border-radius:16px;
    -webkit-border-radius:16px;
    border-radius:16px;
    border:1px solid #84bbf3;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:15px;
    font-weight:bold;
    padding:5px 10px;
    text-decoration:none;
    text-shadow:1px 1px 0px #528ecc;
    margin-top:5px;
    position:relative;

}.refno:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #378de5), color-stop(1, #79bbff) );
    background:-moz-linear-gradient( center top, #378de5 5%, #79bbff 100% );
    /*	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5', endColorstr='#79bbff');*/
    background-color:#378de5;
    cursor:pointer;
}.refno:active {
    position:relative;
    top:1px;
}

#controls{

    float:left;
    margin-left:5px;

    width:280px;
    height:auto;

}
/*#toolselector{
width:100%;
float:left;
margin-bottom:20px;	
}*/

#worldcontrols {
    float:left;
    width:225px;
    margin-left:25px;
}
#lineref{
    width:250px;
    height:500px;
    overflow:scroll;
    float:left;
    padding:10px;
    margin-left:-10px;
    margin-top:5px;
    margin-bottom:5px;
    -webkit-overflow-scrolling: touch;
}
#lineref a{
    float:left;
    padding:10px;
    border:thin #79bbff solid;
    border-radius:15px;

    cursor:pointer;
}
.picked{
    background-color:#79bbff;
    color:#ffffff;

}



#textentry{
    position:absolute;

    width:auto;
    height:auto;
    /*	-moz-box-shadow:inset 3px -23px 15px -15px #bbdaf7;
            -webkit-box-shadow:inset 3px -23px 12px -15px #bbdaf7;
            box-shadow:inset 3px -23px 15px -15px #bbdaf7;
            background-color:#79bbff;
            -moz-border-radius:15px;
            -webkit-border-radius:15px;
            border-radius:15px;
            border:1px solid #84bbf3;
            display:inline-block;
            color:#ffffff;
            font-family:arial;
            font-size:15px;
            font-weight:bold;
            padding:3px 11px ;
            text-decoration:none;
            text-shadow:3px 2px 0px #528ecc;
            margin-top:5px;*/

}

#tooldrop{
    font-size:20px;
}

#drawapp{
    float:left;
    width:100%;


}





/*Tabs*/

#tabs {
    border:1px solid #ccc; 
    height:auto; 
    /*	background:#d8e5f3; */
    padding-left: 5px;
    padding-top:5px;
    -moz-box-shadow: inset 0 -2px 2px #dadada;
    -webkit-box-shadow:inset  0 -2px 2px #dadada;
    box-shadow: inset 0 -2px 2px #dadada;
    border-top-left-radius:4px;  
    border-top-right-radius:4px;
    width:99%;
    float:left;

}
#tabs li {

    width:99%;
    float:left; 
    list-style:none; 
    /*	border-top:1px solid #ccc; 
            border-left:1px solid #ccc; 
            border-right:1px solid #ccc; */
    /*	margin-right:5px; */
    border-top-left-radius:3px;  
    border-top-right-radius:3px;
    -moz-box-shadow: 0 -2px 2px #dadada;
    -webkit-box-shadow:  0 -2px 2px #dadada;
    box-shadow: 0 -2px 2px #dadada;
}
.tabli {
    font-family:Arial, Helvetica, sans-serif; 
    font-size:20px;
    font-weight:bold; 
    color:#000000; 
    padding:7px 14px 6px 12px; 
    display:block; 
    background:#FFFFFF;  
    border-top-left-radius:3px; 
    border-top-right-radius:3px; 
    text-decoration:none;
    border-top: 1px solid white; 
    text-shadow:-1px -1px 0 #fff;
    outline:none;
    text-align: center;
    padding-top:5px;
    padding-bottom:5px;
    background: -moz-linear-gradient(top, #5994bf, white 85%);  
    background: -webkit-gradient(linear, 0 0, 0 85%, from(#5994bf), to(white));  
    border-top: 1px solid white; 
}






.container{ 
    width:99%;
    float:left;
    margin-left:0px;
    margin-top:5px;
    padding:0px 0px; 
    width:99%; 
    height:95%;

    /*	background-color:#fff; */
    text-align:left; 
    /*        border:thin black solid;*/
}
/*end Tabs*/
.slidelabel{
    float:left;
    width:100%;
    margin-bottom:5px;
    font-size:18px;
}

.rangewrapper{
    width:95%; 
    height:80px;
    float:left;
    -moz-box-shadow:inset 3px -23px 15px -15px #bbdaf7;
    -webkit-box-shadow:inset 3px -23px 12px -15px #bbdaf7;
    box-shadow:inset 3px -23px 15px -15px #bbdaf7;
    background-color:#5994bf;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #84bbf3;
    display:inline-block;
    color:#ffffff;
    font-weight:bold;
    padding:3px 5px ;
    margin-top:5px;
    cursor:pointer;
    margin-left:0px;
    text-align:center;
}

.slidewrapper {
    width: 90%;
    height: 46px;
    float:left;
    /* set the wrapper as the anchor element for positioning*/
    position: relative;
}
.slidewrapper input {   
    -webkit-appearance: none;
    width: 100%;
    background: #ddd;
    padding: 3px;
    border: 1px solid #525252;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #ffffff),
        color-stop(1, #5994bf)
        );
}
.slidewrapper input::-webkit-slider-thumb, input::-webkit-slider-thumb { /* slightly modified for now because of a Chrome bug (http://code.google.com/p/chromium/issues/detail?id=87745) */
    -webkit-appearance: none;

    /* position the button on top of everything */
    z-index: 100;
    position: relative;

    width: 68px;
    height: 44px;
    -webkit-border-radius: 10px;
    border-radius: 10px;

    /* arrow and button gradient */
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAYCAYAAAB0kZQKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAASJJREFUeNpi7OnpYaAC0AXiF0D8mhzNTAzUASBHnAdim4F0BAhIA/EBIC4aSEeAADMQ9wLxRiDmHyhHwIAfNHqMiXZEcXExGJMCiNCjCMTHgDiTkFmM////p4rXe3t78Rm0DIjTgfgLNkkWoGZQij7MQFsQBY2aICC+Rq80gQ2oA/EZIE4YSEeAACcQzwfimVD2gDgCBtKgiVZlIB0BAgbQbBwykI5A5I4BtPsaNLfcHKiQWADEJiAHDERIfAfiLKgjBiQ67kCD/zK2NAFqjMyi0AJQVnPCI78GiBNxFttQF6ZToVjG5ohfoLoOiKcMVO54BA3+swPVntgKxIbEOIAWjvgLxJVA7APE7waisHoKxBFAfGSgSszL0MLnBTmaAQIMAKg/OsrT7JG8AAAAAElFTkSuQmCC'),
        -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #fefefe),
        color-stop(0.49, #dddddd),
        color-stop(0.51, #d1d1d1),
        color-stop(1, #a1a1a1)
        );

    background-repeat: no-repeat;
    background-position: 50%;
}

.slidewrapper span {
    /* position the text just below the button */
    position: absolute;
    z-index: 99;
    top: 30%;
    left:13%;

    font-family: "Helvetica Neue", Helvetica, sans;
    font-size: 24px;
    color: white;
    cursor: default;
    -webkit-user-select: none;

    -webkit-mask-image: -webkit-gradient(
        linear,
        left top,
        right top,
        color-stop(0, rgba(0,0,0,0.3)),
        color-stop(0.45, rgba(0,0,0,0.3)),
        color-stop(0.5, rgba(0,0,0,1)),
        color-stop(0.55, rgba(0,0,0,0.3)),
        color-stop(1, rgba(0,0,0,0.3))
        );
    -webkit-mask-size: 1000px;
    -webkit-mask-repeat: no-repeat;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation: text-spotlight 4s infinite;
}

@-webkit-keyframes text-spotlight {
    0% {
        -webkit-mask-position: -800px;
    }

    100% {
        -webkit-mask-position: 0px;
    }
}
.tabtoolwrapper{
    width:95%; 
    height:45px;
    float:left;
    background-color:#5994bf;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #84bbf3;
    display:inline-block;
    color:#ffffff;
    font-weight:bold;

    margin-top:5px;
    cursor:pointer;
    margin-left:7px;
    text-align:center;
}
#draw-main .drawbutton {
    float:left;
    width:118px;

    margin-left:7px;
    /*	-moz-box-shadow:inset 3px -23px 15px -15px #bbdaf7;
            -webkit-box-shadow:inset 3px -23px 12px -15px #bbdaf7;
            box-shadow:inset 3px -23px 15px -15px #bbdaf7;*/
    background-size:80px 80px;
    background-color:#5994bf;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #5994bf;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:20px;
    font-weight:bold;

    text-decoration:none;
    text-shadow:3px 2px 0px #528ecc;
    margin-top:10px;
    cursor:pointer;
    padding-left:3px;
    padding-right:3px;
    text-align:center;
}

#draw-main .drawbutton:hover {
    background-color:#378de5;
}
#draw-main .drawbutton:active {
    background-color:#378de5;	

    top:1px;
}
.pad{
    padding-top:10px;
    height:30px;
}
.nopad{
    padding-top:1px;
    height:39px;
}
#draw-main .snap {
    width:80px;
    height:80px;
    margin-left:33px;
}
#snapholder{
    float:left;
    padding-top:10px;
}
#snapholder span{
    float:left;
    text-align:center;
    width:100%;
    margin-bottom:10px;
}
#snapcheck{
    float:left;
    width:25px;
    height:25px;
    margin-left:25px;
}
#photodrawinput{
    float:right;
    width:85px;
    margin-right:60px;
    margin-top:40px;
    display:none;
}
.savechecks{
    float:right;
    width:100px;
    height:auto;
    background-size:80px 80px;
    background-color:#5994bf;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #5994bf;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:20px;
    font-weight:bold;
    margin-top:-40px;
    text-decoration:none;
    text-shadow:3px 2px 0px #528ecc;

    cursor:pointer;
    padding-left:3px;
    padding-right:3px;
    text-align:center;  
}
.shiftdown{
    margin-top:-15px;
}

.savechecks div{
    float:left;
    width:180px;
}
.savechecks input{
    float:left;
    width:20px;
    height:20px;
}
.savechecks span{
    float:left;
    width:65px;
}
#draw-main .clicked{
    background-color:#378de5;
    color:#d8e5f3;
    /*    border-width:4px;*/
}
#draw-main .icon {
    width:80px;
    height:70px;
    margin-left:33px;
}
#draw-main #objectlist{
    max-height: 700px;
    overflow-y:scroll;
    overflow-x:hidden;
    float:left;
    -webkit-overflow-scrolling: touch;
}
#draw-main .objecttoolbutton {
    float:left;
    width:40px;
    height:40px;

    margin-left:7px;
    background-size:40px 40px;

    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #5994bf;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:20px;
    font-weight:bold;
    text-decoration:none;
    text-shadow:3px 2px 0px #528ecc;

    cursor:pointer;
    padding:0;
    /*       padding-left:3px;
             padding-right:3px;*/
    text-align:center;
}
#draw-main .objecttoolbutton:active {
    background-color:#378de5;	

    top:1px;
}
#draw-main .objectbutton {
    float:left;
    width:225px;

    margin-left:7px;
    /*	-moz-box-shadow:inset 3px -23px 15px -15px #bbdaf7;
            -webkit-box-shadow:inset 3px -23px 12px -15px #bbdaf7;
            box-shadow:inset 3px -23px 15px -15px #bbdaf7;*/
    background-size:80px 80px;
    background-color:#5994bf;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #5994bf;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:20px;
    font-weight:bold;

    text-decoration:none;
    text-shadow:3px 2px 0px #528ecc;
    margin-top:10px;
    cursor:pointer;
    padding-left:3px;
    padding-right:3px;
    text-align:center;
}
.wcolor{
    background: -moz-linear-gradient(top, #eaeaea, white 40%);  
    background: -webkit-gradient(linear, 0 0, 0 40%, from(#eaeaea), to(white)); 
}


.xscolor {
    padding-top:5px;
    padding-bottom:5px;
    color:#666666;
    background: -moz-linear-gradient(top, #ccff99, white 90%);  
    background: -webkit-gradient(linear, 0 0, 0 90%, from(#ccff99), to(white));  
    border-top: 1px solid white; 
}

.dtcolor {
    padding-top:5px;
    padding-bottom:5px;
    color:#666666;
    background: -moz-linear-gradient(top, #ccecff, white 90%);  
    background: -webkit-gradient(linear, 0 0, 0 90%, from(#ccecff), to(white));  
    border-top: 1px solid white; 
}

.spcolor{
    padding-top:5px;
    padding-bottom:5px;
    color:#666666;
    background: -moz-linear-gradient(top, #e77575, white 90%);  
    background: -webkit-gradient(linear, 0 0, 0 90%, from(#e77575), to(white));  
    border-top: 1px solid white; 
}

.ascolor {
    padding-top:5px;
    padding-bottom:5px;
    color:#666666;
    background: -moz-linear-gradient(top, #ffcc66, white 90%);  
    background: -webkit-gradient(linear, 0 0, 0 90%, from(#ffcc66), to(white));  
    border-top: 1px solid white; 
}

.frcolor{
    padding-top:5px;
    padding-bottom:5px;
    color:#666666;
    background: -moz-linear-gradient(top, #ff832f, white 90%);  
    background: -webkit-gradient(linear, 0 0, 0 90%, from(#ff832f), to(white));  
    border-top: 1px solid white; 
}
.toolcolor{
    padding-top:5px;
    padding-bottom:5px;
    color:#666666;
    background: -moz-linear-gradient(top, #5994bf, white 90%);  
    background: -webkit-gradient(linear, 0 0, 0 90%, from(#5994bf), to(white));  
    border-top: 1px solid white; 
}
.worldtoolbutton {
    float:left;
    width:75px;
    -moz-box-shadow:inset 3px -23px 15px -15px #bbdaf7;
    -webkit-box-shadow:inset 3px -23px 12px -15px #bbdaf7;
    box-shadow:inset 3px -23px 15px -15px #bbdaf7;
    background-color:#5994bf;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #84bbf3;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:20px;
    font-weight:bold;
    padding:3px 11px ;
    text-decoration:none;
    /*	text-shadow:3px 2px 0px #528ecc;*/
    margin-top:5px;
    cursor:pointer;
    margin-left:0px;
    margin-right:5px;
    text-align:center;
}
.worldtoolbutton:hover {
    /*	background-color:#378de5;*/
}
.worldtoolbutton:active {
    background-color:#378de5;	
    /*    position:relative;
            top:1px;*/
}

#refno div{
    margin-top:27px;
    color:#5994bf;
    font-size:20px;

}

#contracttools{

    position:fixed;
    top:93%;
    right:5px; 
    width:100%
}
#signbutton{
    float:right;
}
#savecontractbutton{
    float:right;
}
#ccbutton{
    float:left;
}

#scribblebutton{
    float:left;
}
#clearsigsbutton{
    float:left;
}
#foundationspecs{
    float:left;
    width:98%;
    color:#5994bf;
}

.founddiv{
    float:left;

    width:95%;
    border: 1px #5994bf solid;
    padding:7px;
    margin-bottom:5px;
}
.foundationtitle{
    float:left;
    width:100%;
    font-size:22px;
    margin-bottom:10px;
    text-align:center;
}

.founddiv input[type='checkbox']{
    float:left;
    height:20px;
    width:20px;

}
.founddiv input[type='text']{
    float:left;
    width:75px;
}
.founddiv input[type='number']{
    float:left;
    margin-right:10px;
    width:70px;
}
#foundationtype span{
    float:left;
    margin-right:10px;
    margin-bottom:5px;
    width:80px;
    text-align:right;
}
#depths span{
    float:left;
    margin-right:10px;
    margin-bottom:5px;
    width:110px;
    text-align:right;
}
#interior span{
    float:left;
    margin-right:10px;
    margin-bottom:5px;
    width:80px;
    text-align:right;
}
#exterior span{
    float:left;
    margin-right:10px;
    margin-bottom:5px;
    width:80px;
    text-align:right;
}
.clearrefbutton {
    float:left;
    width:225px;

    margin-left:7px;
    /*	-moz-box-shadow:inset 3px -23px 15px -15px #bbdaf7;
            -webkit-box-shadow:inset 3px -23px 12px -15px #bbdaf7;
            box-shadow:inset 3px -23px 15px -15px #bbdaf7;*/
    background-size:80px 80px;
    background-color:#5994bf;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #5994bf;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:20px;
    font-weight:bold;

    text-decoration:none;
    text-shadow:3px 2px 0px #528ecc;
    margin-top:10px;
    cursor:pointer;
    padding-left:3px;
    padding-right:3px;
    text-align:center;
}
#donebutton {
    float:left;
    width:225px;

    margin-left:1px;
    /*	-moz-box-shadow:inset 3px -23px 15px -15px #bbdaf7;
            -webkit-box-shadow:inset 3px -23px 12px -15px #bbdaf7;
            box-shadow:inset 3px -23px 15px -15px #bbdaf7;*/
    background-size:80px 80px;
    background-color:#5994bf;
    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;
    border:1px solid #5994bf;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:20px;
    font-weight:bold;

    text-decoration:none;
    text-shadow:3px 2px 0px #528ecc;
    margin-top:10px;
    cursor:pointer;
    padding-left:3px;
    padding-right:3px;
    text-align:center;
}
#signatures-main{
    float:left;
    width:1024px;
    top:5px;
    background-color: darkseagreen;
}

#sigcontainer{
    left:5px;top:5px;
    float:left;
    width:1000px;
    list-style:none;
    margin-left:15px;
} 
#sigcontainer li{
    width: 100%;
    float:left;
    margin-top:20px;
    margin-bottom:20px;

} 
#sigcontainer div{
    width: 100%;
    float:left;
} 
#sigcontainer div span{
    width: 700px;
    float:left;
    font-size:20px;
    color:#ffffff;
} 
#signatures-main .imagecanvas{
    float:left;
    background-color: #fffff0;
    border: 1px solid #000; 
    /*            position: absolute; left: 0px; top: 0px;*/
}     
#sigtools{
    float:right;
    margin-right:20px;
    margin-bottom:20px;

}