/**
 * ------------ Basic Styles ---------
 */
body{
    color: #333;
    font-family: "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,sans-serif;
}
*:focus{
    outline: 0;
}
a,
a:visited{
    color: #00f;
    text-decoration: underline;
}

h1,h2,h3,h4,h5,h6{
    font-weight: bold;
}
h1{ font-size: 160%; }
h2{ font-size: 150%; }
h3{ font-size: 130%; }
h4{ font-size: 120%; }
h5{ font-size: 110%; }
h6{ font-size: 100%; }

ul,ol{
    padding-left: 1em;
}
ul li{
    list-style: inside disc;
}
p {
    padding-top: 5px;
}
strong {
    font-weight: bold;
}
em {
    font-style: italic;
}

pre.code{
    border: 1px solid #ccc;
    margin: 1em 1em;
    padding: 1em 1em 0;
}
input[type="text"],
textarea{
    border: 1px solid #eee;
    border-color: #ccc #eee #eee #ccc;
}
input[type="text"]:focus,
textarea:focus{
    border-color: #aaa;
}

/**
 * ------------ Layout ---------------
 */
#doc{
    width: 950px;
    margin: auto;
}
#header{
    font-size: 200%;
    margin-top: 20px;
}
#logo{
    background: url(../gvrLogo.png) no-repeat left;
    height: 50px;
    line-height: 50px;
    padding-left: 50px;
}
#logo a{
    color: #333;
    text-decoration: none;
}
#footer{
    clear: both;
    color: #999;
    font-size: 80%;
    width: 950px;
    margin: 20px auto 0;
    text-align: right;
}
#footer a{
    color: #999;
    text-decoration: none;
}

#alert{
  width: 300px;
  margin: auto;
  text-align: center;
  float: left;
  border: 1px solid #ccc;
  margin-left: 325px;
  margin-top: -55px;
  padding: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  background: lightYellow;
  font-weight: bold;
}

#display{
    float: left;
    width: 550px;
    clear: both;
}
#editor{
    float: right;
    width: 375px;
}


#logon{
    float: right;
    line-height: 30px;
}

#navigation{
    border-bottom: 1px solid #ccc;
    margin: 0px -30px 20px -30px;
    text-align: right;
    padding: 0px 35px 6px;
}
#navigation a{
    padding: 5px 10px 5px 10px;
    border: 1px solid #ccc;
    margin-right: 10px;
    background: #eee;
    color: black;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    top: 1px; /* to make bottom border overlay */
}
#navigation a.selected{
    border-bottom-color: white;
    background: white;
}

#editor .code-editor{
    padding-left: 3px;
    height: 403px;
    width: 350px;
    font-family: Courier New, Courier, monospace;
}

#editor .file-description-editor,
#editor .file-title-editor{
    border: 1px solid white;
    padding: 5px;
    width: 343px;
}
#editor .file-title-editor{
    font-weight: bold;
}
#editor .file-description-editor{
    margin-bottom: 5px;
    height: 17px;
}
#editor .file-description-editor:hover,
#editor .file-title-editor:hover{
    border: 1px solid #eee;
}
#editor .file-description-editor:focus,
#editor .file-title-editor:focus{
    border: 1px solid #ccc;
}

#canvas{
}

#home-view-example {
    border: 1px dashed #ccc;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}
#home-view-example-header{
    padding: .5ex;
    -moz-border-radius: 10px 10px 0px 0px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    background: #f9f9f9;
}
#home-view-example-body{
    height: 300px;
    border-top: 1px solid #eee;
    padding: 1em;
}
#home-view-example-canvas{
    width: 300px;
    height: 300px;
    border: 1px solid #ccc;
    float: right;
}


/**
 * ------------- File Browser -----------------
 */

.file-browser .files{
    max-height: 465px;
    overflow: auto;
    border: 1px solid #ccc;
}
.file-browser .file{
    border-top: 1px solid #ccc;
    padding: 10px;
    background: #f9f9f9  no-repeat top left;
}
.file-browser .file:hover,
.file-browser .file.even:hover{
    background-color: #f5f5f5;
}

.file-browser .file:first-child{
    border-top-width: 0px;
}
.file-browser .file.even{
    background-color: white;
}
.file-browser .file h1 {
    font-weight: bold;
}
.file-browser .file .actions{
    float: right;
    display: none;
}
.file-browser .file:hover .actions{
    display: block;
}
.file-browser .file .icon{
    height: 32px;
    width: 32px;
    float: left;
    margin-right: 5px;
}
.file-browser .file.Program .icon{
    background: url(../images/icon-sprite-32.png) no-repeat 0 -0px;
}
.file-browser .file.World .icon{
    background: url(../images/icon-sprite-32.png) no-repeat 0 -32px;
}
.file-browser .file.opened{
    background-color: lightYellow;
}

#browse-pane .header #search-files{
    float: right;
}

/**
 * -------- Panel Styling --------
 */
.panel .header{
    background: #eee;
    border: 1px solid #ccc;
    height: 30px;
    line-height: 30px;
    padding: 3px;
}
.panel .body{
    padding: 10px;
    border: 1px solid #ccc;
    border-width: 0px 1px;
    min-height: 468px;
}
.panel .body .content{
    padding: 2em;
    font-size: 110%;
}
.panel .body .content h2 {
    margin-bottom: 1em;
    border-bottom: 1px solid #777;
}

.panel .footer{
    height: 10px;
    background: #eee;
    border: 1px solid #ccc;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
}

.panel .header .tab{
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-bottom: 0px;
    cursor: pointer;
    float: left;
    display: block;
    position: relative;
    top: 3px;
    margin: 0px 3px;
    height: 20px;
    line-height: 20px;
}
.panel .header .tab.selected{
    background: white;
}

.panel .header .auxillary{
    float: right;
    padding-right: 10px;
}

.panel .tab-content{
    clear: both;
}

.panel .toolbar-top,
.panel .toolbar-bottom{
    border: 1px solid #ccc;
    padding: 5px;
    border-bottom: 0;
}
.panel .toolbar-bottom{
    background: #f9f9f9;
    text-align: right;
}
.panel .toolbar-top{
    border-top: 0;
    padding: 5px 10px 0px;
}

/* ----------------- Dialog Styling --------------------- */

.dialog .window{
    position: fixed;
    top: 100px;
    left: 500px;
    border: 1px solid #777;
    background: white;
    padding: 10px;
    width: 480px;
    height: 480px;
    z-index: 10;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
}
.dialog .window-shadow{
    position: fixed;
    top: 105px;
    left: 505px;
    border: 1px solid black;
    background: #777;
    width: 500px;
    height: 500px;
    opacity: .2;
    z-index: 7;
    -moz-border-radius: 0px 0px 10px 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
}
.dialog .modal-shade{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: black;
    opacity: .1;
    z-index: 5;
}

/* ----------------- Sharing ------------------ */
.share-form .row{
    margin-top: 10px;
}
.share-form label{
    width: 100px;
    display: block;
    float: left;
}
.share-form [name="share-to"],
.share-form [name="share-message"]{
    width: 335px;
}
.share-form .share-message-label{
    display: block;
}
.share-form fieldset{
    margin: 10px 10px 0px;
    padding: 10px 10px 0px;
}
.share-form fieldset.buttons{
    border-top: 1px solid #ccc;
    text-align: right;
}

.dialog.share-form-dialog .window{
    height: 280px;
}
.dialog.share-form-dialog .window-shadow{
    height: 300px;
}
.dialog.share-form-dialog .step-2 p{
    padding: 25px 0;
    text-align: center;
}

#share-panel canvas{
    border: 1px solid #eee;
}
#share-panel .example{
    float: right;
    width: 350px;
}
#share-panel .example-message{
    font-weight: bold;
}
#share-panel .example-code{
    border: 1px solid #EEEEEE;
    height: 350px;
    padding: 10px;
    overflow: auto;
}

/* ----------------- AJAX Event Styling ----------------- */
.loading-message{
    text-align: center;
}
.loading-message .message{
    background: url(../images/loader-icon.gif) no-repeat;
    padding: 7px 32px;
    color: #7cb5fe;
    font-weight: bold;
}
