* {
    margin: 0;
    padding: 0;
    border: 0;
    border-spacing: 0;
    outline: 0;
}

img {
    border: 0px;
}

body {
    background: #333333;
    background-image: url(../images/bg.jpg);
    background-repeat: repeat-x;
    color: #919191;
    margin-top: 20px;
    font-family: Verdana;
    font-size: 12px;
    cursor: default;
}

a {
    color: #919191;
    font-family: Verdana;
    font-size: 12px;
}

select {
    padding: 2px;
}

th.header { 
    background-image: url(../images/small.gif);  
    cursor: pointer;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 20px;
}

th.headerSortUp { 
    background-image: url(../images/small_asc.gif);
    background-color: #919191;
}

th.headerSortDown { 
    background-image: url(../images/small_desc.gif);
    background-color: #919191;
}

/* Forms */
fieldset {
    padding: 7px;
    margin-bottom: 10px;
    margin-top: 10px;
}
legend {
    font-weight: bold;
    font-size: 14px;
    padding: 0px;
    color: #ffffff;
}

input,select {
    padding: 2px;
}

.form-element {
    margin-bottom: 5px;
}

    .form-element label {
        clear: left;
        float: left;
        width: 220px;
        display: block;
    }
    
    .form-element input {
        margin-right: 5px;
    }
    
    .form-element .multicheckbox {
        margin-left: 220px;
    }

.label-box, input, select {
    margin: 2px 0;
}

/* Messages */
.error {
    border: 3px solid #e7513e;
    padding: 5px;
    margin: 10px;
}
.error ul {
    margin-left: 0;
}
.error li {
    margin-left: 20px;
}

.info {
    border: 3px solid #ffe225;
    padding: 5px;
    margin: 10px;
}
.success {
    border: 3px solid #8bbb13;
    padding: 5px;
    margin: 10px;
}

/* Images */
.imageBorder {
    padding: 1px;
    border: 1px solid #71980f;
}


div#wrapper {
    padding: 10px;
    width: 1352px;
    margin: 0 auto;
}

div#mainHeader {
    background-image: url(../images/main-header.png);
    width: 1326px;
    height: 62px;   
}


div#bgMainContent {
	top: 100px;
    background-image: url(../images/bg-wrapper.png);
    background-repeat: repeat-y;
    width: 1326px;
}

div#bgMainContent div#mainContent {
    background-image: url(../images/main-bg.png);
    background-repeat: no-repeat;
    width: 1326px;
}

    div#bgMainContent div#mainContent div#contentWrapper {
        padding-top: 25px;
        padding-left: 105px;
        padding-right: 105px;
    }
    
        div#bgMainContent div#mainContent div#contentWrapper div#content {
            width: 870px;
        }
        
            div#bgMainContent div#mainContent div#contentWrapper div#content div#logo {
                float: left;
                height: 100px;
            }
            
            div#bgMainContent div#mainContent div#contentWrapper div#content div#menu {
                float: right;
                width: 505px;
                text-align: left;
                height: 100px;
            }
            
            div#bgMainContent div#mainContent div#contentWrapper div#content div#login {
                float: right;
                width: 505px;
                text-align: right;
                height: 100px;
            }
                    
                div#bgMainContent div#mainContent div#contentWrapper div#content div#login a {
                    color: #919191;
                    text-decoration: none;
                    font-size: 11px;
                    font-weight: bold;
                }
                
            div#bgMainContent div#mainContent div#contentWrapper div#content div#contentInner {
                border: 1px solid #919191;
                margin-bottom: 20px;
            }
            
                div#bgMainContent div#mainContent div#contentWrapper div#content div#contentInner h1 {
                    background: #919191;
                    padding: 5px;
                    font-size: 12px;
                    color: #ffffff;
                }
                
                    div#bgMainContent div#mainContent div#contentWrapper div#content div#contentInner h1 a {
                        color: #ffffff;
                    }
    
        div#bgMainContent div#mainContent div#contentWrapper div#navigation {
            width: 200px;
            position: relative;
            top: 5px;
        }

div#mainFooter {
    background-image: url(../images/main-footer.png);
    width: 1326px;
    height: 123px;   
}

/* classes */
.floatLeft {
    float: left;    
}

.floatRight {
    float: right;   
}

/* media items */
.mediaItem {
    float: left;
    width: 270px;
    font-size: 11px;
    height: 90px;
}

    .mediaItem .previewImage {
        float: left;
        margin-right: 5px;
    }
    
    .mediaItem h2 {
        font-weight: bold;
        font-size: 11px;
    }
    
    .mediaItem a {
        text-decoration: none;
        color: #919191;
    }
    
        .mediaItem a:hover {
            color: #9f0000;
        }

#imageView {
    position: relative;
    
    margin-bottom: 15px;
    padding:       5px;
    
    text-align: center;
    color:      #FFF;
    
    background: #919191;
}

#imageView p {
    position: absolute;
    padding:  7px;
    
    width: 75px;
    
    background-color: #CFCFCF;
    
    cursor: pointer;
}

#imageView p:hover {
    color: #9F0000;
    
    background-color: #FCFCFC;
}

#imageView p.close {
    top:   0px;
    right: 0px;
}

#imageView p.download {
    top:  0px;
    left: 0px;
}

#imageView p.next {
    bottom: 0px;
    right:  0px;
}

#imageView p.previous {
    bottom: 0px;
    left:   0px;
}

#image {
    margin: 0 auto;
    height: 325px;
}

.paginator {
    height: auto;
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
}

#paginationControl {
    margin-top: 10px;
    margin-bottom: 10px;
}

    #paginationControl .disabled {
        display: none;
    }

/* forms */
.inputText {
    font-size: 10px;
    border: 1px solid #919191;  
    background: #000000;
    color: #919191;
}

.menuBox {
    border: 1px solid #ffffff;
}
    
     .menuBox .current {
         color: #9f0000;
     }
    
    .menuBox h1 {
        background: #ffffff;
        color: #000000;
        font-size: 12px;
        padding: 5px;
    }
    
    .menuBox ul {
        list-style-type: none;
        padding-left: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
        .menuBox ul li a {
            color: #FFF;
            text-decoration: none;
            font-size: 11px;
            font-weight: bold;
        }

            .menuBox ul li a:hover {
                color: #9f0000;
            }
    
    .menuBox ul li ul {
        padding-top: 0px;
        padding-bottom: 0px;
    }

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */






/* The first main menu */
.nav, .nav * {
    margin:0;
    padding:0;
    list-style:none;
}
.nav {

}
.nav ul {
    position:absolute;
    top:-999em;
    width:9.45em;
}
.nav ul li, .nav a {
    width: 100%;
}
.nav li {
    float:left;
    position:relative;
    z-index:99;
    margin-right: 5px;

}
.nav a {
    display: inline;
}
.nav li:hover ul, ul.nav li.sfHover ul {
    left:-1px;
    top: 20px;
}
.nav li:hover li ul, .nav li.sfHover li ul {
    top:-999em;
}
.nav li li:hover ul, ul.nav li li.sfHover ul {
    left: 175px;
    top:-1px;
}

.nav li {
    color: #ffffff;
    text-decoration: none;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 10px;
    padding-right: 10px;
    padding: 5px;
}

.nav li:hover {
    background: #191919;
}

.nav a {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 5px;
    padding-right: 5px;
    color: #fff;
    text-decoration:none;
}

.nav li.sfHover, .nav a:focus, .nav a:hover, .nav a:active {
    text-decoration: none;
}
.nav li li {
    font-size: 12px;
    background: #919191;
    border-left: 1px solid #919191;
    border-right: 1px solid #919191;
    height: 20px;
    width: 165px;
}
.nav li li:hover {
    background: #191919;
}
.nav li li li li {
    background: #90bd1d;
    height: 25px;
}
.nav .active {
    font-weight: bold;
    background: #8bbb13;
    color: #ffffff;
}


/* form */
.formElement {
    margin-bottom: 5px;
}

.formElement .floatLabel {
    float: left;
    width: 150px;
}

.list td, .list th {
    padding: 5px;
    border-bottom: 1px solid #CDCDCD;
}

.list th {
    color: #FFF;
    text-align: left;
    padding-left: 20px;
}


/* Messages */
.error {
    border: 3px solid #e7513e;
    padding: 5px;
    background: #ffe1d6;
}
.error ul {
    margin-left: 0;
}
.error li {
    margin-left: 20px;
}

.error-field {
    border: 2px solid #e7513e;
    background: #ffe1d6;
}
.info {
    border: 3px solid #ffe225;
    padding: 5px;
    background: #fffbd8;
}
.success {
    border: 3px solid #8bbb13;
    padding: 5px;
    background: #f0f5e1;
}

.menuBox ul li a.selectedFolder {
    color: #9f0000;
}