/* azul: #006993       */
/* naranja: #FD9D32    */
/* GENERAL */
body {
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: arial, helvetica, sans-serif;
    font-size: 12px;
}

p, h1, h2, h3, h4, h5, div, span {
    margin: 0px;
}

img {
    border: none;
}

/* TOOLS - */ 

/* preview del media en la vista 1 del album */
img.media_preview_album_view_1 {
  width: 120px;	
}
/* preview del media en la vista 2 del album */
img.media_preview_album_view_2 {
  width: 120px; 
}
/* preview del media en los mas vistos del home */
img.media_preview_most_viewed {
  width: 60px; 
}
/* preview del media en los mas comentados del home */
img.media_preview_most_commented {
  width: 60px; 
}
/* preview del media en la pagina de cambio de permisos del media */
img.media_preview_change_access {

}
/* preview del media en la lista de los demas medias del album en la pagina del media */
img.previous_media_list {
    width: 54px;
    border: 4px solid white;
}
/* preview del album en la pagina de resultado de una busqueda de albumes */
img.album_preview_search_result {
   width: 120px; 
}
/* preview del media en la pagina de resultado de una busqueda de medias */
img.media_preview_search_result {
   width: 120px; 
}
/* preview del album en la lista de albumes en el home */
img.album_preview_home {
   width: 120px; 
}

	
.float_left {
    float: left;
}

.float_right {
    float: right;
}

.clear {
    clear: both;
}

.align_right {
    text-align: right;
}

.align_center {
    text-align: center;
}

.align_left {
    text-align: left;
}

.small {
    font-size:0.8em;
}

.small_margin {
    margin: 2px;
}

.hidden {
    display: none;
}

.linkalike {
    cursor: pointer;
    text-decoration: underline;
    color: #0000FF;
}

/* tag cloud */
.tagcloud {
    padding-left:1em;
}

.tagcloud a {
    text-decoration: none;
}

.tagcloud0 a {
    color:#9ec3cf;
    font-size: 10px;
}

.tagcloud1 a {
    color:#9bc1ce;
    font-size: 12px;
}

.tagcloud2 a {
    color:#94b9ca;
    font-size: 14px;
}

.tagcloud3 a {
    color:#8bb2c6;
    font-size: 16px;
}

.tagcloud4 a {
    color:#82a9c1;
    font-size: 18px;
}

.tagcloud5 a {
    color:#7ba3bd;
    font-size: 20px;
}

.tagcloud6 a {
    color:#6a91ac;
    font-size: 22px;
}


.dark_row {
    background-color: #6A91AC;
    color: #FFFFFF;
}

/* COLORED BANDS, BACKGROUNDS AND BORDERS*/
.dark_band {
    background-color: #6A91AC;
    color: #FFFFFF;
    padding-left: 1em;
    line-height: 1.6em;
}

.bright_band {
    background-color: #FF8900;
    color: #FFFFFF;
    padding-left: 1em;
    line-height: 1.6em;
}

/* TODO: tratar de eliminar esta clase */
.dark_background {
    background-color: #D5F2FF;
    padding: 6px;
}

.bright_background {
    background-color: #FFFFFF;
    padding: 6px;
}

.button {
    margin: 0px 4px;
    padding: 2px 4px;
    overflow: visible; /* to make it smaller under ie6 */
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #6892AA;
}

.button_default {
    margin: 0px 4px;
    padding: 2px 4px;
    overflow: visible; /* to make it smaller under ie6 */
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #006993;
    font-weight: bold;
}

/* ERROR MESSAGES */
.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

.error {
    color: #E68518;
    font-weight: bold;
}

.highlighted_message{
	 font-weight: bold;
}

td.error {
    color:white;
    background-color: #E68518;
    font-weight: bold;
}

/* PAGINATION */
div.paginateButtons {
    text-align: center;
    margin: 10px 0px;
    margin-top: 10px;
    font-size: 12px;
}

div.paginateButtons a {
    margin: 5px;
    padding: 5px;
}

div.paginateButtons span.currentStep {
    margin: 5px;
    padding: 5px;
    font-weight: bold;
    border: 2px solid #aaa;
}

//TODO: CENTRAR EL BOTON DE PLAY DENTRO DEL THUMB DEL VIDEO!
#play_button {
	
		-webkit-backface-visibility: hidden;
		-webkit-background-clip: border-box;
		-webkit-background-origin: padding-box;
		-webkit-border-bottom-left-radius: 5px;
		-webkit-border-bottom-right-radius: 5px;
		-webkit-border-top-left-radius: 5px;
		-webkit-border-top-right-radius: 5px;
		background-attachment: scroll;
		background-color: rgba(0, 0, 0, 0.746094);
		background-image: none;
		background-repeat: repeat;
		color: white;
		display: block;
		font-family: Helvetica;
		font-size: 75px;
		font-style: normal;
		font-variant: normal;
		font-weight: normal;
		height: 60px;
		left: 50%;
		line-height: 64px;
		margin-bottom: 0px;
		margin-left: -49px;
		margin-right: 0px;
		margin-top: 15px;
		position: absolute;
		top: 50%;
		vertical-align: middle;
		width: 98px;
		z-index: 4;
	
}

/* NAV BAR */
#navbar {
    height: 30px;
    left: 0px;
    right: 0px;
    background-color: #FFF;
    margin: 0px auto;
    width: 800px;
    text-align: left;
    font-size: 0.9em;
}

#linksbox {
    width: 360px;
    line-height:2.2em;
}
#linksbox form {
    display: inline;
}

#userbox {
    line-height:2.2em;
}

#searchbox {
    line-height:2.2em;
    margin-left: 10px;
}

#searchbox input {
    font-size: 0.8em;
    padding: 0px 4px;
}

/* ROOT BAR */
#rootbar {
    width:800px;
    left:0px;
    right:0px;

    padding-top: 5px;
    line-height: normal;
    font-size: 0.8em;
    margin: 0px auto;
    clear:both;
    /*background: #e0e0e0; */
    text-align: left;

    background:#FF8900;
}

#rootbar  a {
    padding: 0px;
    text-decoration: none;
    color:#666;
}

#rootbar ul {
    margin: 0;
    padding: 5px 0 2px 20px;
    list-style: none;
    border-bottom: solid 1px #eee;
}

#rootbar li {
    margin: 0;
    padding: 2px 1em 2px 1em;
    display: inline;
    color:#777;
}

#rootbar li.active {
    margin: 0;
    padding: 2px 1em 2px 1em;
    display: inline;
    border-left: solid 1px #eee; 
    border-right: solid 1px #aaa;
    border-top: solid 1px #eee; 
    border-bottom: solid 1px #FFE4C5;
    font-weight: bold;
    color:#666;
    background: #FFE4C5;
}

#rootbar  li.active a {
    color:#666;
}

/* ROOT SUBBAR */
#rootsubbar {
    /* width: 100%; */
    width:800px;
    left:0px;
    right:0px;
    margin: 0px auto;
    padding-top: 1em;
    line-height: normal;
    font-size: 0.8em;
    /*background: #F2F2F2;            */
    background: #FFE4C5;
}

#rootsubbar  a {
    padding: 5px;
    text-decoration: none;
    color: #888;
}

#rootsubbar ul {
    margin: 0;
    padding: 1px 1em 2px 1em;
    list-style: none;
    border-bottom: solid 1px #eee;
}

#rootsubbar li {
    margin: 0;
    padding: 2px 1em 2px 1em;
    display: inline;
    /* border-left: solid 1px #BA9C7E; */
    color:#888;
}

#rootsubbar li.active {
    margin: 0;
    padding: 2px 5px 2px 5px;
    display: inline;
    border-left: solid 1px #fff; 
    border-right: solid 1px #ddd;
    border-top: solid 1px #fff; 
    border-bottom: solid 2px #fff;
    font-weight: bold;
    color: #666;
    background: #FFF;
}

#rootsubbar  li.active a {
    color: #666;
}



/* FOOTER */
#footer {
    clear: both;
    left: 0px;
    right: 0px;
    height: 50px;
    margin-top: 50px;
    background-color: #006993;
}

#revision_info {
    width:800px;
    left:0px;
    right:0px;
    margin: 20px auto;    
    font-size: 0.8em;	
    color: #BBB;
    text-align:center;
}

/* AUTH LAYOUT */
#auth_layout {
    width: 800px;
    margin: 0px auto;
    margin-top: 40px;
    text-align: left;
}

#auth_layout h1 {
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    margin: .8em 0 .3em 0;
}

#auth_layout h2 {
    color: #000000;
    font-weight: bold;
    font-size: 13px;
    margin: .8em 0 .3em 0;
}

#auth_layout h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 1em;
}

#auth_layout hr {
    border: none;
    border-top: dotted #006993 1px !important;
    border-top: dotted #006993 2px;
    margin: 10px 0;
}

#auth_layout .caption {
    font-style: italic;
    font-size: 0.8em;
}

#auth_layout .twocolumns {
    float: left;
    width: 320px;
    padding: 10px;
    margin-right: 20px;
}

/* CONTENT LAYOUT */
#content_layout {
    width: 800px;
    margin: 0px auto;
    margin-top: 10px;
    text-align: left;
}

#content_layout h1 {
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    margin: .8em 0 .3em 0;
}

#content_layout h2 {
    color: #000000;
    font-weight: bold;
    font-size: 13px;
    margin: .8em 0 .3em 0;
}

#content_layout h2 a {
    /* text-decoration: none; */
    /* color: #000000; */
}

#content_layout h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 1em;
}

#content_layout h4 {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 0.5em;
}

#content_layout hr {
    border: none;
    border-top: dotted #006993 1px !important;
    border-top: dotted #006993 2px;
    margin: 10px 0;
}

#content_layout .caption {
    font-style: italic;
    font-size: 0.8em;
}

#content_layout .strong {
    font-weight: bold;
}

#content_layout .twocols_left {
    float: left;
    width: 320px;
    padding: 3px 0px;
    margin: 0;
}

#content_layout .twocols_right {
    float: right;
    width: 420px;
    padding: 3px 0px;
    margin: 0px;
}

#content_layout .twocols_rev_left {
    float: left;
    width: 460px;
    padding: 3px 0px;
    margin: 0;
}

#content_layout .twocols_rev_right {
    float: right;
    width: 320px;
    padding: 3px 0px;
    margin: 0px;
}

#content_layout tr.prop
{
    vertical-align:top;
}

/* action bar for root commands */
/*
#content_layout div.nav {

    background: #EEE;
    border: 1px solid #ccc;
    border-style: solid none solid none;
    margin: 0px;
    margin-top: 5px;
    padding: 7px 12px;

}

#content_layout div.nav .menuButton {
    font-size: 10px;
    padding: 0 5px;
}

#content_layout div.nav .menuButton a {
    color: #333;
    padding: 4px 6px;
}

#content_layout div.nav .menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

#content_layout div.nav .menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

#content_layout div.nav .menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
*/

#content_layout div.nav {
    margin: 0px;
    margin-top: 5px;
    padding: 5px 5px;
}

#content_layout .menuButton {
    margin: 0px 4px;
    padding: 2px 4px;
    overflow: visible; /* to make it smaller under ie6 */
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    text-decoration: none;
    color: #fff;
    background-color: #FF8900;
}

#content_layout .menuButton a {
    color:#fff;
    text-decoration: none;
    font-size: 0.8em;
}

/* just for root tables */
#content_layout .list table {
    border-collapse: collapse;
}

#content_layout .list th, #content_layout .list td {
    text-align: left;
    border: 1px solid #ddd;
}

#content_layout .list th {
    color: #666;
    font-weight: bold;
    padding: 2px 6px;
    background-color: #ccc;
}

#content_layout .list th a:link, #content_layout .list th a:visited, #content_layout .list th a:hover {
    color: #333;
    display: block;
    text-decoration: none;
    width: 100%;
    padding-right: 5px;
}

#content_layout .list th:hover, #content_layout .list tr:hover {
    background: #b2d1ff;
}

#content_layout .list th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}

#content_layout .list th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}

#content_layout .list th.asc a, #content_layout .list th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}

#content_layout .list .odd {
    background: #f7f7f7;
}

#content_layout .list .even {
    background: #fff;
}

/* standard tables */
#content_layout table {
    border-collapse: collapse;
    border: none;
}

#content_layout table th {
    background-color: #eee;
}

#content_layout table td {
    border-top: 1px solid #ddd;
    padding: 5px 5px;
}

/* show media window styles*/
#media_window /* debe tener el mismo valor que botontv.videos.flashPlayer.width y height */ {
    width: 460px;
    height: 345px;
}

#media_window.private {
    border-bottom: solid red 7px;
}

#media_window.shared {
    border-bottom: solid yellow 7px;
}

#media_window.public {
    border-bottom: solid #00DE00 7px;
}

/* TODO: mejorar como se maneja este estilo cambiando _editMediaAccess */
.media_access_box {
    border: none;
    padding: 0px;
    margin: 0px;
}

.media_access_box img, .media_access_box form, .media_access {
    display: inline;
    border: 0px;
    margin: 0px;
    padding: 0px;
    width: 12px;
    font-size: 0px;
}

#media_desc {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #444;
}

#email_content form textarea,
#add_comment_box form textarea {
    width: 95%;
}

#content_layout ul.dotted {
    list-style-image: none;
    list-style-type: none;
    list-style-position: outsde;
    width: 100%;
    padding: 0px;
    margin: 0px;
    margin-bottom: 5px;
}

#content_layout ul.dotted li {
    border-bottom: dotted 1px #6295A4;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 2px;
}

/* album/show misc styles */
#album_views_icons {
    text-align: right;
    border-bottom: 2px solid #6A91AC;
    margin-bottom: 2px;
    margin-top: 14px;
    padding: 0px;
    font-size: 0px;
}

#album_views_icons a, #album_views_icons img {
    margin: 0px;
    padding: 0px;
    vertical-align: text-bottom;
}

#album_view_1 .description {
    float: left;
    width: 310px;
    margin: 5px;
}

#album_view_2 .tile {
    float: left;
    width: 120px;
    margin: 10px 15px;
}

#album_view_2 div.tile div {
    font-size: 0.9em;
}

/*#album_view_2 div.tile div img
 {
 vertical-align: text-top;
 }
 */
#media_thumb_navigator {
    width: 320px;
}

#media_thumb_navigator div.tile {
    float: left;
    width: 54px;
    margin: 4px;
    font-size: 0.9em;
    text-align: center;
}

#media_thumb_navigator div.currentTile img {
    border: 4px solid #FF8900;
}

#media_thumb_navigator h3 {
    margin: 0px;
}