/***********/
/* Overall */
/***********/

body {
    background: #E6DFD7 url('../_img/header-back.png') top center repeat-x;
    color: #666;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    padding-top: 125px;
}


a {color: #47A0F9; text-decoration: underline;}
a:hover {text-decoration: none;}


/********/
/* Logo */
/********/

.logo p,
.logo p a {
    display: block;
    height: 125px;
}

.logo p {
    background: url('../_img/logo.png') top left no-repeat;
    margin: -125px auto 0 auto;
    width: 414px;
}

.logo p a {
    margin: 0 auto;
    text-indent: -9999px;
    width: 133px;
}

/***********/
/* Section */
/***********/

.section {
    background: #FFF url('../_img/robot-surprised.png') 30px center no-repeat;
    -webkit-box-shadow: 0px 0px 5px 5px #CCC;
    -moz-box-shadow: 0px 0px 5px 5px #CCC;
    box-shadow: 0px 0px 5px 5px #CCC;
    margin: 20px auto;
    padding: 10px 10px 10px 150px;
    width: 700px;
}


.section h1,
.section h2,
.section h3 {
    color: #23517C;
    font-family: CartoGothic, Arial, sans-serif;
    font-size: 22px;
    font-weight: normal;
    line-height: 1.2em;
    padding-bottom: 10px;
    text-align: center;
}

.section h4 {
    color: #666;
    font-family: CartoGothic, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2em;
    padding-bottom: 10px;
}

.section h5 {
    color: #666;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.2em;
    padding-bottom: 10px;
}

.section h6 {
    color: #23517C;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2em;
    padding-bottom: 10px;
    text-transform: uppercase;
}

/* Lists */

.section ol,
.section ul,
.section table,
.section p {
    line-height: 1.5em;
    margin-bottom: 1em;
}

.section ul {
    float: left;
    padding-left: 15px;
    margin-bottom: 0;
}

.section td.folderName ul li a {
    display: inline-block;
    padding: 0 0 0 23px;
    background: url('../_img/folder.gif') 0 4px no-repeat;
}

.section td.folderName ul ul li a {
    background: url('../_img/folder_files.gif') 0 4px no-repeat;
}

.section td.folderName ul li.openFolder a {
    background: url('../_img/folder_open.gif') 0 4px no-repeat;
}

.section td.folderName ul li.WordPress a {
    background: url('../_img/wp.png') 0 4px no-repeat;
}

.section td.folderName ul li.backup a {
    background: url('../_img/zip_icon.png') 0 4px no-repeat;
}

a.installWP, a.incrementWP {
    background: url('../_img/action_add.gif') 0 0 no-repeat;
    display: inline-block;
    height: 16px;
    padding: 0;
    text-indent: -9999px;
    vertical-align: middle;
    width: 16px;
}

a.importBuddy {
    background: url('../_img/download.gif') 0 0 no-repeat;
    display: inline-block;
    height: 16px;
    padding: 0;
    text-indent: -9999px;
    vertical-align: middle;
    width: 16px;
}

a.runImportBuddy {
    background: url('../_img/application.gif') 0 0 no-repeat;
    display: inline-block;
    height: 16px;
    padding: 0;
    text-indent: -9999px;
    vertical-align: middle;
    width: 16px;
}

a.uploadFile {
    background: url('../_img/upload.gif') 0 0 no-repeat;
    display: inline-block;
    height: 16px;
    padding: 0;
    text-indent: -9999px;
    vertical-align: middle;
    width: 16px;
}

.section ol {
    list-style: decimal;
    padding-left: 38px;
}

.section td.project ul li a {
    color: #666;
    text-decoration: none;
}

/* Tables */

.section table {
    border-collapse: collapse;
    line-height: 1.2em;
}

.section table tr th,
.section table tr td {
    padding: 8px 13px;
}

.section table tr th {
    background-color: #FF9342;
    color: #FFF;
    font-family: CartoGothic, Arial, sans-serif;
    font-weight: normal;
}

.section table tr td {
    border-bottom: 1px dotted #999;
    border-top: 1px dotted #999;
    vertical-align: top;
}

.section table tr:nth-child(even) td {
    background-color: #EAE4DB;
}

.section table caption a[title=Edit] {
    background: url('../_img/edit.png') top left no-repeat;
    padding-left: 22px;
}

/* Gallery */

.section div.gallery {
    margin: 0 auto;
}

.section div.gallery div.gallery-item,
.section div.gallery div.gallery-item div.gallery-icon {
    width: 190px;
}

.section div.gallery div.gallery-item {
    color: #999;
    float: left;
    font-size: 14px;
    height: 200px;
    position: relative;
    margin: 0 7px;
}

.section div.gallery div.gallery-item div.overlay,
.section div.gallery div.gallery-item div.overlay a {
    display: block;
    height: 180px;
    width: 190px;
}

.section div.gallery div.gallery-item div.overlay {
    background: url('../_img/image-overlay.png') top left no-repeat;
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1;
}

.section div.gallery div.gallery-item div.overlay a {
    text-indent: -9999px;
}

.section div.gallery div.gallery-item div.overlay:hover {
    background-position: top right;
}

.section div.gallery div.gallery-item p {
    line-height: 1.2em;
    padding: 5px;
    text-align: center;
}

.section div.gallery div.gallery-item div.gallery-icon  {
    height: 180px;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 0;
}

.section div.gallery div.gallery-item div.gallery-icon a img {
    
}

/* Forms */

body.loginPage .section form {
    background-color: #FFF9F6;
    border: 1px solid #B0B0B0;
    margin: 0 auto 1em auto;
    padding: 20px;
    width: 290px;
}

.section form p {
    margin-bottom: 0;
}

.section label {
    color: #E69F38;
    font-family: CartoGothic, Arial, sans-serif;
    font-weight: normal !important;
}

.section textarea,
.section input[type=text],
.section input[type=password] {
    background-color: #FFF;
    border: 1px solid #D8D2CA; 
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    padding: 5px;
    width: 400px;
}

.section textarea {
    height: 140px;
}

.section input[type=submit],
.section input[type=button] {
    background-color: #FF9342;
    border: 0;
    color: #FFF;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    text-transform: uppercase;
}

body.loginPage .section input[type=submit] {
    float: right;
}

.section input[type=submit]:hover,
.section input[type=button]:hover {
    background-color: #47A0F9;
    cursor: pointer;
}

.section p label {
    color: #F99E1B;
    font-size: 14px;
}

.section form .column:first-child {
    float: left;
}

.section form .column {
    float: right;
    width: 280px;
}

.section form .column textarea,
.section form .column input[type=text] {
    width: 268px;
}

.clearer { clear: both;}

p.folderCount {
    text-align: center;
}

img.ajaxIndicator {
    margin-left: 10px;
}

/* Add Folder and File Upload */

#uploadFileFormHolder, #addFolderSection {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1002;
    overflow: auto;
    width: 400px;
    height: 200px;
    margin-left: -200px;
    margin-top: -100px;
}

#uploadFileFormHolder, #addFolderSection {
    background-color: #EAE4DB;
    border-bottom: 1px dotted #999;
    border-top: 1px dotted #999;
    padding: 10px;
    margin-bottom: 10px;
}

.section #uploadFileFormHolder input[type=text], .section #addFolderSection input[type=text] {
    width: 200px;
}

/* Styles for errors and messages */

#overlay {
    background-color: black;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: 100%;
    display: none;
}

#mainError, #mainMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1002;
    overflow: auto;
    width: 400px;
    height: 50px;
    margin-left: -200px;
    margin-top: -25px;
}

#mainError {
    background: pink url('../_img/action_delete.gif') 10px center no-repeat;
    border-bottom: 1px dotted red;
    border-top: 1px dotted red;
    color: red;
    padding: 10px 10px 10px 30px;
}

#mainMessage {
    background: lightgreen url('../_img/action_check.gif') 10px center no-repeat;
    border-bottom: 1px dotted green;
    border-top: 1px dotted green;
    color: green;
    padding: 10px 10px 10px 30px;
}

/**************/
/* Login Form */
/**************/

.section #loginForm label {
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

.section #loginForm input[type=text],
.section #loginForm input[type=password] {
    margin-bottom: 15px;
    width: 280px;
}