@import url("/4elements/css/ext-4elements.css");

#adminHeader {
    background: #7F99BE url(/images/layout-browser-hd-bg.gif) repeat-x center;
}
#adminHeader h1 {
    font-size: 16px;
    color: #fff;
    font-weight: normal;
    padding: 5px 10px;
}

.publicHeader {
    background: #7F99BE url(/images/layout-browser-hd-bg.gif) repeat-x center;
}
.publicHeader h1 {
    font-size: 16px;
    color: #fff;
    font-weight: normal;
    padding: 5px 10px;
}

.publicBanner {
   background-color: #FFFFFF;
}


#sf_admin_container h1,
#sf_admin_container p
{
	font-family:arial,tahoma,verdana,helvetica !important;
}
#sf_admin_container h1
{
	font-size: 1.3em;
}
#sf_admin_container p
{
	font-size: 0.9em;
}

ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
{ margin: 0; padding: 0; }
a img,:link img,:visited img { border: none; }

a
{
  color: #366DBA;
  text-decoration: none;
}

a:hover
{
  text-decoration: underline;
}

body, td
{
  margin: 0;
  padding: 0;
 
}

body
{
/*  padding: 20px;*/
  color: #366DBA;
  font-family: arial,tahoma,verdana,helvetica;
  font-size: 16px;
}


#sfWebDebug .sfWebDebugTop {
  overflow: auto;
  width: 99%;
}
 
.logout {
  background-image: url(/images/user_red.png) !important;
}

.menu {
  background-image: url(/images/menu.png) !important;
}

.pages {
  background-image: url(/images/pages.png) !important;
}

.application_edit {
  background-image: url(/images/application_edit.png) !important;
}

.upload-icon {
    background: url('/images/image_add.png') no-repeat 0 0 !important;
}
.accept-icon {
    background: url('/images/accept.png') no-repeat 0 0 !important;
}
.accept32-icon {
    background: url('/images/accept32.png') no-repeat 0 0 !important;
}
.add {
    background: url('/images/add.png') no-repeat 0 0 !important;  
}
.save {
    background: url('/images/disk.png') no-repeat 0 0 !important;  
}
.delete {
    background: url('/images/delete.png') no-repeat 0 0 !important;  
}
.close {
    background: url('/images/cancel_small.png') no-repeat 0 0 !important;  
}

#sf_admin_container h1 {
  margin: 0 !important; /* this stops the annoying gap at the top of lists */
}

.x-fieldset {
  margin-bottom:0px;
}

#adminHeader  {
  padding-left: 5px;
  padding-top: 7px;
  font-size: 1.1em;
}

              
/** Lightbox **/

ul.gallery {
margin:0 auto;
padding:0;
list-style-type:none;
clear: left;
}
ul.gallery li {
  padding: 4px;
  background-color: #e6e6e0;
  border: 1px solid #d6d6d0;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}
ul.gallery li p {
  text-align: center;
  margin:5px 0;
  color: #000;
}

#ux-lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 15000;
    text-align: center;
    line-height: 0;
}

#ux-lightbox img {
    width: auto;
    height: auto;
}

#ux-lightbox a img {
    border: none;
}

#ux-lightbox-outerImageContainer {
    position: relative;
    background-color: #f3efec;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}

#ux-lightbox-imageContainer {
    padding: 10px;
}

#ux-lightbox-loading{
    position: absolute;
    top: 40%;
    left: 0%;
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
    background: url(/images/lb-load.gif) no-repeat center 15%;
}

#ux-lightbox-hoverNav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

#ux-lightbox-imageContainer > #ux-lightbox-hoverNav {
    left: 0;
}

#ux-lightbox-hoverNav a{
    outline: none;
}

#ux-lightbox-navPrev,
#ux-lightbox-navNext {
    width: 49%;
    height: 100%;
    background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */
    display: block;
}

#ux-lightbox-navPrev { left: 0; float: left;}
#ux-lightbox-navNext { right: 0; float: right;}
#ux-lightbox-navPrev:hover, #ux-lightbox-navPrev:visited:hover { background: url(/images/lb-prev.png) left 33% no-repeat; }
#ux-lightbox-navNext:hover, #ux-lightbox-navNext:visited:hover { background: url(/images/lb-next.png) right 33% no-repeat; }

#ux-lightbox-outerDataContainer {
    margin: 0 auto;
    width: 100%;
}

#ux-lightbox-dataContainer{
    font: 10px Verdana, Helvetica, sans-serif;
    background-color: #f3efec;
    overflow: auto;
    line-height: 1.4em;
}

#ux-lightbox-data{	padding:0 10px; color: #666; }
#ux-lightbox-data #ux-lightbox-details{ width: 80%; float: left; text-align: left; }
#ux-lightbox-data #ux-lightbox-caption{ font-weight: bold;	}
#ux-lightbox-data #ux-lightbox-imageNumber{ display: block; clear: left; padding-bottom: 1.0em;	}
#ux-lightbox-data #ux-lightbox-navClose{ background: url(/images/lb-close.gif) no-repeat; width: 66px; height: 22px; float: right;  padding-bottom: 0.7em; outline: none;}
#ux-lightbox-data #ux-lightbox-navClose:hover{ background-image: url(/images/lb-close-over.gif);}

#ux-lightbox-overlay,
#ux-lightbox-shim{
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 14999;
    width: 100%;
    height: 500px;
    background-color: #000;
    padding: 0;
    margin: 0;
}

#ux-lightbox-shim {
    z-index: 89;
    background-color: transparent;
    filter: alpha(opacity=0);
}

/** File upload field **/
/*!
 * Ext JS Library 3.1.1
 * Copyright(c) 2006-2010 Ext JS, LLC
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
/*
 * FileUploadField component styles
 */
.x-form-file-wrap {
    position: relative;
    height: 22px;
}
.x-form-file-wrap .x-form-file {
	position: absolute;
	right: 0;
	-moz-opacity: 0;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
    height: 22px;
}
.x-form-file-wrap .x-form-file-btn {
	position: absolute;
	right: 0;
	z-index: 1;
}
.x-form-file-wrap .x-form-file-text {
    position: absolute;
    left: 0;
    z-index: 3;
    color: #777;
}

/*** XCheckbox ***/
.xcheckbox-wrap {
   line-height: 18px;
   padding-top:2px;
}
.xcheckbox-wrap a {
   display:block;
   width:16px;
   height:16px;
   float:left;
}
.x-toolbar .xcheckbox-wrap {
   padding: 0 0 2px 0;
}
.xcheckbox-on {
   background:transparent url(/js/ext/resources/images/default/menu/checked.gif) no-repeat 0 0;
}
.xcheckbox-off {
   background:transparent url(/js/ext/resources/images/default/menu/unchecked.gif) no-repeat 0 0;
}
.xcheckbox-disabled {
   opacity: 0.5;
   -moz-opacity: 0.5;
   filter: alpha(opacity=50);
   cursor:default;
}
