body {
    margin: 0;
    padding: 0;
}

a img {
    border: none;
}

#portal {
    width: 1020px;
    margin: auto;
}


/** HEADER */
#portal-header {
    clear: both;
    position: relative;
    height: 100px;
}


#logo {
    position: absolute;
    left: 0;
    bottom: 0;
}



/** PORTAL NAVIGATION **/
#portal-navigation {
    position: absolute;
    right: 190px;
    bottom: 0px;
    margin: 0;
    padding: 0;
}

#portal-navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline;
}

#portal-navigation h3 {
    display: inline;
    font-size: 18px;
    padding: 2px 20px 5px 0;
}

#portal-navigation li {
    display: inline;
}

#portal-navigation li a {
    text-decoration: none;
    font-size: 12px;
    padding: 1px 10px 1px 25px;
    background-repeat: no-repeat;
}

#portal-navigation li.selected a,
#portal-navigation li a:hover {
    background-position: 0px -20px;
}

#portal-navigation li  a { 
    background-image: url('button_navigation.png'); 
    color: #7d7d7d;    
}

#portal-navigation li  a:hover, 
#portal-navigation li.selected  a { 
    color: #fff;
}


#portal-search  {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 11px;
    height: 25px;
    background-image: url('searchbox.png');
    background-repeat: no-repeat;
}

#portal-search form {
    margin: 0; padding: 0;
}

#portal-search .field {
    float: left;
    margin: 0;
}

#portal-search-q {
    width: 140px !important;
    height: 13px;
    padding: 4px;
    background-color: transparent;
    border: none;
}

#portal-search-submit {
    border: none;
    font-size: 0px;
    background-color: transparent;
    display: block;
    width: 30px;
    height: 20px;
}




/** CONTENT **/
#portal-content {
    clear: both;
    margin-top: 35px;
    position: relative;
}

#content-column-one {
    width: 700px;
    float: left;
    margin-right: 20px;
}

#content-column-two {
    width: 300px;
    float: left;
}



/** VIDEO PLAYER + INFO **/
#video-player {
    width: 700px;
    height: 393px;
    float: left;
    background-color: grey;
}

a.tab {
    display: block;
    float: left;
    height: 30px;
    padding: 0 20px;
    line-height: 30px;
    font-size: 18px;
    background-color: #6b6b6b;
    color: black;
}

a.tab-active {
    background-color: #151515;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content-active {
    display: block;
}

#video-info {
    width: 320px;
    height: 363px;
    float: right;
    overflow: hidden;
    background-color: #151515;
}

.tab-content {
    margin: 0 15px;
}


#video-info h1 {
    font-size: 14px;
}



/** USER ACTIONS **/
span.button, 
a.button {
    color: #7b7b7b;
    background-position: left 0;
    background-repeat: no-repeat;
    cursor: pointer;
    text-decoration: none;
    line-height: 20px;
    height: 20px;
}


a.button:hover {
    background-position: left -20px;
}

#video-user-data {
    position: relative;
    clear: both;
    width: 700px;
    padding: 5px 0;
    height: 30px;
}
#video-user-data span.button,
#video-user-data a.button {
    position: absolute;
    display: block;
    height: 20px;
    line-height: 20px;
    width: 20px;
}

#video-user-data .button-facebook {
    right: 180px;
}

#video-user-data .button-mail {
    right: 0px;
}

#video-user-data .button-playlist-add {
    right: 40px;
}

#video-user-data .button-embed  {
    right: 80px;
}

#video-user-data .button-comments  {
    right: 110px;
    padding-left: 30px;
}

#video-user-data a.button-playlist {
    left: 250px;
    padding-left: 30px;
    width: 120px;
}

#video-user-data .stars,
.rate {
    position: absolute;
    display: block;
    left: 65px;
    background-repeat: no-repeat;
    height: 20px;
    width: 20px; 
}

#video-user-data .stars:hover {
    background-position: 0 20px;
}

.rate {
    background: transparent url('stars.png') no-repeat scroll 0 20px; 
}

#rate-1 { width: 20px; }
#rate-2 { width: 40px; }
#rate-3 { width: 60px; }
#rate-4 { width: 80px; }
#rate-5 { width: 100px; }

#rate-1:hover { background-position: 0 -20px; }
#rate-2:hover { background-position: 0 -40px; }
#rate-3:hover { background-position: 0 -60px; }
#rate-4:hover { background-position: 0 -80px; }
#rate-5:hover { background-position: 0 -100px; }


.comment {
    padding: 10px 0px;
}

.comment .info {
    font-weight: bold;
    padding: 5px 0;
}


/** FORMS **/
.button-close {
    display: block;
    width: 20px;
    height: 20px;
    float: right;
}

.video-user-form {
    width: 700px;
    padding: 20px 0;
    display: none;
}

.field {
    margin: 10px 0;
}

.field label {
    display: block;
}

.formControls input,
.field textarea,
.field input {
    background-color: #7b7b7b;
    border: 1px solid #9d9d9d;
    color: black;
}
.formControls {
    text-align: right;
}

input[type="text"] {
    width: 300px;
}

textarea {
    width: 700px;
    height: 70px;
}



/** CHANNEL **/
.page { 
    display: none;
}

.page-selected {
    display: block;
}

.video {
    overflow: hidden;
}
.channel .video {
    width: 345px;
    margin: 0 0 10px;
    height: 72px;
    float: left;
}

.channel .video.even {
    margin-right: 10px;
}


.video img {
    width: 127px;
    height: 72px;
    border: 0;
    float: left;
    margin-right: 10px;
}


.video p,
.video h3 {
    margin: 0.5ex 0;
}

/** PAGINATION **/

.pagination {
    clear: both;
    text-align: right;
    padding: 20px 0;
}


.pagination .next,
.pagination .prev {
    padding: 3px 3px 3px  25px;
    background-repeat: no-repeat;
}

.pagination .next:hover,
.pagination .prev:hover {
    background-position: 0px -20px;
}

/** PLAYLIST **/
.playlist .video {
    width: auto;
    float: none;
    position: relative;
    height: 72px;
    margin-bottom: 10px;
}

.playlist .video img {
    position: absolute;

}

.playlist .video .info {
    position: absolute;
    left: 150px;
    width: 300px;
}
.playlist .video h3, .playlist .video p {
    margin: .5ex 0;
}

.sort_down,
.sort_up {
    position: absolute;
    display: block;
    height: 20px;
    width: 20px;
    left: 500px;
    top: 15px;
    text-decoration: none;
}

.sort_down {
    top: 40px;
}

.sort_up:hover,
.playlist .video .delete:hover,
.sort_down:hover {
    background-position: 0px -20px;
}

.playlist .selected {
    right: 140px;
    top: 30px;
    position: absolute;
}

.playlist .video .delete {
    text-decoration: none;
    display: block;
    height: 20px;
    width: 20px;
    position: absolute;
    right: 100px;
    top: 30px;
}
    
.playlist .video .position {
    position: absolute;
    right:20px;
    top: 0px;
    font-size: 36px;
    height: 72px;
    line-height: 72px;
}







/** FOOTER **/
#portal-footer {
    padding: 10px 0px;
    clear: both;
    margin-top: 20px;
    background-color: #1a1a1a;
    padding: 0 0px 20px;
    margin: 0 0 30px;
}


#portal-footer ul {
    float: left;
    margin: 0 0  0 30px;
    padding: 0;
    list-style-type: none;
    width: 220px;
}


#portal-footer  h3 {
    font-size: 14px;
    color: #7d7d7d;
    margin: 5px 2px;
    padding: 0;
}

#portal-footer li a {
    display: block;
    line-height: 14px;
    background-image: url('button_navigation.png'); 
    background-repeat: no-repeat;
    height: 14px;
    vertical-align: top;
    padding: 3px 0 3px 25px;
}

#portal-footer li a:hover  {
    background-position: 0 -20px;
    }



.banner {
    padding: 20px 0;
}


#copyright {
    display: inline;
}


#footer-navigation {
    float: right;
}

#footer-navigation ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#footer-navigation li {
    display: inline;
    padding: 0 0 0 10px;
    margin: 0;
}


.tooltip {
    overflow: visible;
}

.tooltip-text {
    display: none;
    position: absolute;
    border: 0 none;
    padding: 1em;
    background-color: #000;
    color: #fff;
    opacity: .5;
    filter: alpha(opacity = 50);
    /*-moz-border-radius: 5px;*/
}


.channel {
    clear: both;
}

a.play {
    display: block;
    text-align:right;
    margin: 10px 0;
}


.slider-range {
    top: 0 !important;
    width: 20px !important;
    background: #7b7b7b none !important;
    -moz-border-radius: 0 !important;
    border-width: 0px !important;
}
    
.ui-slider-handle {
    left: 0 !important;
    width: 20px !important;
    height: 80px !important;
    background: #5b5b5b none !important;
    -moz-border-radius: 0 !important;
    margin-bottom: -80px !important;
    border-width: 0px !important;
    cursor: pointer !important;
}   

.job,
.press-release {
    margin: 0 0 30px;
}

.press-release h2,
.job h2 {
    margin-top: 0;
    padding-top: 0;
}

.job p,
.press-release p {
    margin-bottom: 0;
}

.more {
    display: block;
    text-align: right;
    margin-right: 20px;
}

.video {
    position: relative;
}
.video .featured-video {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 25px;
    height: 72px;
    background-image: url('featured.png');
}
body {
    background: #000000 url('bg.gif') repeat-x scroll;
    font-family: Lucida Sans Unicode,Lucida Grande,sans-serif;
    color: white;
    font-size: 11px;
}

h1, h2, h3 {
    font-weight: normal;
}

a {
    color: #7d7d7d;
    text-decoration: none;
}

a:hover {
    color: white;
}

input, textarea  {
    font-size: 11px;
}


a.button:hover {
    color: white;
}

.button-mail,
#video-user-data .button-mail {
    background-image: url("button_mail.png");
}

#video-user-data .button-playlist-add {
    background-image: url("button_playlist_add.png");
}


#video-user-data .button-embed  {
    background-image: url("button_embed.png");
}

#video-user-data .button-comments  {
    background-image: url("button_comments.png");
}

#video-user-data .button-playlist {
    background-image: url("button_playlist.png");
}

.rating-stars,
.rate:hover,
.rating {
    background-image: url("stars.png");
}


.button-close {
    background-image: url("button_close.png");
}

.formControls input,
.field textarea,
.field input {
    background-color: #7b7b7b;
    border: 1px solid #9d9d9d;
    color: black;
}

.video {
    background-color: black;
}

.video-selected,
.video:hover {
    background-color: #3f3f3f;
}

.pagination a {
    color: #7d7d7d;
    text-decoration: none;
}
.pagination a:hover,
.pagination a.selected {
    color: white;
}

.pagination .next {
    background-image: url('button_next.png');
}

.pagination .prev {
    background-image: url('button_prev.png');
}


.sort_up {
    background-image: url('button_up.png');
}

.sort_down {
    background-image: url('button_down.png');
}

.playlist .video .delete {
    background-image: url('button_trash.png');
}

.playlist .video .position {
    color: #6b6b6b;
}

.slider-range,
.slider { 
    background: #5b5b5b none !important;                                        
}                                                                               
    
.ui-slider-handle {
    background: #7b7b7b none !important;                                        
}   

.emphasized {
    color: #cf0;    
}
.channel .video .back {
    float: left;
    width: 200px;
    display: none;
}

.play-button {
    float: right;
    width: 55px;
    height: 72px;
    background: transparent url("play.png") no-repeat scroll 0 8px;
    cursor: pointer;
    opacity: .5;
}

.play-button:hover {
   opacity: 1; 
}

.num-views {
    padding: 5px 0 5px 30px;
    background: transparent url("num_views.png") no-repeat scroll 0 3px;
    border-bottom: 1px solid white;
    width: 110px;
    opacity: .5;
}

.num-comments {
    padding: 5px 0 5px 30px;
    background: transparent url("num_comments.png") no-repeat scroll 0 3px;
    border-bottom: 1px solid white;
    width: 110px;
    opacity: .5;
    
}
.stars {
    float: left;
    overflow: hidden;
    height: 20px;
    width: 20px;
    background: transparent url("stars.png") no-repeat scroll 0 0; 
    padding-left: 110px;
    line-height: 20px;
}


.stars-1 { background-position: 0 -20px; }
.stars-2 {  background-position: 0 -40px; }
.stars-3 {  background-position: 0 -60px; }
.stars-4 {  background-position: 0 -80px; }
.stars-5 {  background-position: 0 -100px; }


.archive .video {
    background-color: #666666;
    margin-bottom: 2px;
}

.archive .video .front {
    float: left;
    height: 72px;
    width: 300px;
}

.archive .video .back {
    float: left;
    height: 72px;
    width: 250px;
}

/*** SCROLLING ***/

.scroll .scrollbar {
    background-color: #ccc;
}

.scroll .handle {
    background-color: #666;
}
.scroll a.handle:hover {
    background-color: #888;
}

/** END SCROLLING **/ 

/** FORMS **/
.field ul {
    list-style-type: none;
}

.raffle .field {
    width: 345px;
    float: left;
}

.raffle .even {
    margin-right: 10px;
}

/** END FORMS **/

/** EVENTS **/

#content-column-one .event {
    width: 345px;
    margin: 0 0 10px;
    height: 72px;
    float: left;
}

#content-column-one .event.even {
    margin-right: 10px;
}

.event {
    background-color: black;
}
.event:hover {
    background-color: #151515;
}
.event a {
    color: white;
}

.event .image {
    width: 127px;
    height: 72px;
    float: left;
    background-color: black; 
    margin-right: 10px;
}

.event .info {  
    width: 208px
    height: 72px;
    overflow: hidden;
}

#event .date,
.event .date {
    font-size: 14px;
}

#event .event-type,
.event .event-type {
    font-size: 12px;
    text-transform: uppercase;
}

#event .title,
.event .title {
    font-size: 11px;
}

#event {
    width: 1020px;
    height: 393px;
}

#event .image {
    width: 700px;
    height: 393px;
    float: left;
}

#event .info {
    float: left;
    width: 320px;
    height: 393px;
}


#event .info .content { background-color: #151515; padding: 10px; color: white; clear: both; height: 343px;}
#event .info .headline { background-color: #151515; padding: 0 10px; color: white; margin: 0;  float: left; display: block; height: 30px; line-height: 30px;}
#event .info h1,
#event .info h2,
#event .info p {
    margin:  5px 0;
    padding: 0;
}

#event .info a {
    color: white;
}

.button-mail {
    display: block;
    width: 20px;
    height: 20px;
}

.button-mail:hover {
    background-position: 0 -20px;
}

.FBConnectButton_Simple {
    background-image: url('button_facebook.png') !important;
    width: 20px;
    height: 20px;
}
.FBConnectButton_Simple:hover {
    background-position: 0px -20px;
}

.dossier-text {
    margin: 20px 0;
}

.dossier-text-content {
    display: none;
}
