body {
    background: #fbdbbf url(images/header.png) no-repeat center top;
    font-family: 'Open Sans', sans-serif;
    font-size: 9px;
    color: #fff;
    margin: 0px;
}


/*MOBILE MENU*/
#menum {display: none; margin-right: 2%; margin-left: 2%; width: 96%; margin-bottom: 2%;}
/*Strip the ul of padding and list styling*/
#menum img {display: none;}
#menum ul {
    list-style-type:none;
    margin:0;
    padding:0; width: 100%;
    position: absolute;
}

/*Create a horizontal list with spacing*/


/*Style for menu links*/
#menum a {
    display:block;
    min-width:140px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-family: Open Sans; font-weight: 600;
    color: #777;
    background: #fff;
    text-decoration: none; text-transform: uppercase; display:inline-block;
    float: left; width: 100%;
    margin-right: 1px;
}

/*Hover state for top level links*/
#menum a:hover {

}


/*Prevent text wrapping*/
#menum li a {
    width: auto;
    min-width: 100px;
    padding: 0 20px;
}

/*Display the dropdown on hover*/
#menum ul a:hover + .hidden, .hidden:hover {
    display: block;
}

/*Style 'show menu' label button and hide it by default*/
#menum .show-menu {
    font-family: Open Sans;
    text-decoration: none;
    color: #28252a; font-weight; 600; font-size: 11px; text-transform: uppercase;
    background: transparent;
    text-align: center; background: #fff;;
    padding: 10px 0;
    display: none;
}

/*Hide checkbox*/
#menum input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
#menum input[type=checkbox]:checked ~ #menuu{
    display: block;
}

/*CONTEUDO E TAL*/
#topo {width: 1063px;margin: 0px auto;height: 900px;}
#conteudo {width: 1043px;margin: 0px auto;background: transparent;padding: 10px;background: #eed0b6;}
#alinha {width: 1047px; margin: 0px auto;}
#menu {width: 1033px;padding: 15px;margin: 0px auto;clear: both;background: #eed0b6;text-align: center;text-transform: uppercase;height: 15px;text-transform: uppercase;text-align: center;font-weight: 600;font-size: 0px;margin-bottom: 0px;}
#menu img {display: none;}
#menu a {font-size: 12px; color: #fff; margin-right: 20px; padding-bottom: 15px;}
#menu a:last-child {margin-right: 0px;}
#welcome {
    padding: 15px;
    width: 1033px;
    margin: 0px auto;
    margin-bottom: 10px;
    background: #eed0b6;
    font-family:
            Open Sans;
    font-size: 13px;
    line-height: 18px;
    text-align: justify;
    color: #756455;
}
#welcome #ccc {padding: 10px;border: 1px rgba(0,0,0,0.1) solid;border-radius: 10px;}
#c {width: 100%; background: rgba(0,0,0,0.05); margin-bottom: 10px;}
#cc {width: 1063px; margin: 0px auto;}

/*FOOTER*/
#footer {width: 100%;font-family:Open Sans;font-size: 12px;line-height: 18px;background: #eed0b6;padding-top: 30px;padding-bottom: 30px;color: #fff;font-weight: 600;font-size: 11px;text-transform: uppercase;text-align: center;float: left;margin-top: 10px;}
#footer a {color: #756455;}

/*ANUNCIO*/
#anuncio {padding: 20px; width: 1023px; height: 90px; background: url(images/ads.png); margin: 0px auto; margin-top: 10px; margin-bottom: 10px;}

.albunzinho { width: calc(100% / 2 - 1px); float: left; border-right: 1px #c0c9ce solid;}
.albunzinho:nth-child(2n+0) {border-right: 0px;}

h1{
    font-weight: normal;
    font-size: 21px;
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    text-decoration: none;
    line-height : 120%;
    color: #718EA5;
    margin: 2px;
}

h2 {

    font-size: 12px; font-family: 'Open Sans', sans-serif; sans-serif; font-weight: 600;
    margin: 0px;
    background : transparent; font-size: 12px;
    color: #777;
}

h3 {
    font-weight: normal;
    font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
    font-size: 12px;
    margin: 2px;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    margin: 2px 0px;
}

pre.filepath {
    margin: 0px;
    padding: 0px;
}

ul, ol {
    margin-left: 5px;
    margin-top:0px;
    margin-bottom:0px;
    padding: 0px;
}

li {
    margin-left: 10px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding: 0px;
    list-style-position: outside;
}

ul li {
    list-style-type: disc;
}

.textinput {
    font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
    font-size: 100%;
    border: 1px solid #D1D7DC;
    padding-right: 3px;
    padding-left: 3px;
}

.listbox {
    font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
    font-size: 100%;
    border: 1px solid #D1D7DC;
    vertical-align : middle;
}

.button, .buttonlist ul li a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 90%;
    border: 1px solid #CCD7E0;
    background-image : url(images/button_bg.gif);
    background-position : bottom;
    cursor:pointer;
    padding-left:0px;
    padding-right:0px;
    margin-right:2px;
    white-space: nowrap;
}

.radio {
    font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
    font-size: 100%;
    vertical-align : middle;
}

.checkbox {
    font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
    font-size: 100%;
    vertical-align : middle;
}

a {
    color: #777;
    text-decoration: none;
}

a:hover {
    color: #2f292f;

}

.bblink a {
    color: #777;
    text-decoration: none;
}

.bblink a:hover {
    color: #2f292f;

}

.maintable {
    background-color: transparent;
    margin-top: 0px; width: 100%;
    margin-bottom: 0px; margin-bottom: 15px;
}

.tableh1, .tableh13 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    background: rgba(0,0,0,0.05);
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
    padding: 20px;
    padding-bottom: 30px;
    padding-top: 30px;
}

.tableh1 img, .tableh13 img {display: none;}

.tableh12 {
    font-family: 'Open Sans', sans-serif; font-weight: 600;  padding: 20px;
    background :  rgba(0,0,0,0.05); margin-bottom: 10px;
    text-transform: uppercase; font-size: 11px; text-transform: uppercase;
    color: #fff;  letter-spacing: 0px;

}

.tableh12 .statlink {color: #fff !important;}



.tableh12 strong {color: #756455;}


.tableh2 {
    background: rgba(0,0,0,0.05);
    color : #fff; border-bottom: 3px #2f292f solid;
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}

.tableh2 a {color: #070f10;}

.tableb {
    background:  rgba(0,0,0,0.05);
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 11px; letter-spacing: 0px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: justify;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}


.tableb_alternate {
    background:  rgba(0,0,0,0.05); padding: 0px;
    padding-right: 10px;

    padding-left: 10px;
}

.tablef {
    background: rgba(0,0,0,0.05);font-family: 'Open Sans', sans-serif; color: #fff; font-size: 11px;
    font-weight: 600; text-transform: uppercase;  letter-spacing: 0px;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}


.catrow, .catrow_noalb {
    background: rgba(0,0,0,0.05);
    padding: 20px;
    color: #756455;
    font-size: 11px;
    font-style:italic;
    font-family: Open Sans;
    font-weight: 400;
}

.catrow:hover .catlink a, .catrow_noalb:hover .catlink a {color: #836c59; -webkit-transition:All 0.5s ease-in-out; -moz-transition:All 0.5s ease-in-out; -o-transition:All 0.5s ease-in-out;}

.catrow a, .catrow_noalb a {font-style: normal; -webkit-transition:All 0.5s ease-in-out; -moz-transition:All 0.5s ease-in-out; -o-transition:All 0.5s ease-in-out;}

.catrow a:hover, .catrow_noalb a:hover {color: #; -webkit-transition:All 0.5s ease-in-out; -moz-transition:All 0.5s ease-in-out; -o-transition:All 0.5s ease-in-out;}

.album_stat {
    font-size : 12px; font-family: Verdana; line-height: 20px;
    margin: 5px 0px; color: #fff;  padding: 10px; text-transform: 	none; font-weight: normal;
}

.thumb_filename {
    font-size: 80%;
    display: block;}



.thumb_title_title {
    padding: 10px;
    width: 130px;
    color: #756455;
    font-family: Open Sans;
    font-size:12px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 10px;
    background: transparent;
    display: inline-block;
    position: relative;
    z-index: 1000000;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}


.thumb_title_views {
    float: left;
    text-transform: uppercase;
    color: #fff;
    width: 20px;
    overflow: hidden;
    text-align: center;
    font-family: Lato;
    font-weight: 600;
    border-radius: 10px;
    font-size: 11px;
    position: absolute;
    height: 15px;
    padding-top: 0px;
    line-height: 25px;
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding: 10px;
    padding-top: 0px;
    top: 120px;
    left: calc(50% - 20px);

}


.thumb_resolution {
    clear: both; margin-top: 10px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 100px;
    display: none;
    font-family: Lato;
    font-weight: 600;
    font-size: 10px;
    text-align: center;
    padding: 5px;
    background: #2f292f; display: none;

}

.thumb_caption_mtime{
    text-transform: uppercase;
    font-family: Open Sans;
    font-size: 11px;
    text-align: center; 
    font-weight: 600;
    margin-top: 10px;
    color: #756455;
    -webkit-transition: All 0.3s ease-in-out;
    -moz-transition: All 0.3s ease-in-out;
    -o-transition: All 0.3s ease-in-out;
    text-align: center;
    margin-top: 10px;
    text-transform: uppercase;
    display: inline-block;
    width: 100%;
    background: transparent;
    }

.thumb_caption_ctime
{

    text-transform: uppercase;
    font-family: Open Sans;
    font-size: 11px;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;

    color: #777;
    -webkit-transition: All 0.3s ease-in-out;
    -moz-transition: All 0.3s ease-in-out;
    -o-transition: All 0.3s ease-in-out;
    text-align: center;
    margin-top: 10px;
    text-transform: uppercase;
    display: inline-block;
    width: calc(100% - 20px); background: #fff; padding: 10px;


}


.thumb_num_comments {
    font-weight: normal;
    font-size: 85%;
    padding: 2px;
    font-style : italic;
    display : block;
}

.user_thumb_infobox {
    margin-top: 1px;
    margin-bottom: 1px;
}

.user_thumb_infobox th {
    font-weight : bold;
    font-size: 100%;
    margin-top: 1px;
    margin-bottom: 1px;
    text-align : center;
}

.user_thumb_infobox td {
    font-size: 85%;
    margin-top: 1px;
    margin-bottom: 1px;
    text-align : center;
}

.user_thumb_infobox a {
    text-decoration: none;
    color: #000000;
}

.user_thumb_infobox a:hover {
    color: #000000;

}

.sortorder_cell {
    background : transparent ;
    color: #FFFFFF;
    padding-top: 0px; font-size: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 20px;
    margin: 0px;
}

.sortorder_cell img {display: none;}

.sortorder_options {
    font-family: 'Open Sans', sans-serif;
    background : transparent;
    color: #FFFFFF;
    padding: 15px;
    margin: 0px; font-size: 11px; text-transform: uppercase;
    font-weight: 600; display: none;
    font-size: 0;
    white-space: nowrap;
}

.navmenu {
    font-family: 'Open Sans', sans-serif;
    background : rgba(0,0,0,0.05);
    color: #fff; font-weight: 600;
    padding: 15px;
    margin: 0px; font-size: 11px; text-transform: uppercase;
    border-style: none;
}

.navmenu img {
    margin-top: 1px;
    margin-right: 5px;
    margin-bottom: 1px;
    margin-left: 5px;
}

.navmenu a {
    display: block;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
    padding-left: 5px;
    text-decoration: none;
    color: #777;
}

.navmenu a:hover {
    background : transparent ;
    text-decoration: none;
    color:         #777;
}



#film img {    height: 110px;
    width: 100px;}

.thumb {
    width: 120px;}

.admin_menu {
    color: #777;
    display: block;
    display: inline-block;
    font-family: Arial;
    font-size: 10px;
    margin: 5px;
    padding: 5px;
    text-align: center;
    text-transform: none;
}

.admin_menu a {
    color: #000000;
    text-decoration: none;
    font-size: 12px; float: left; margin-right: 10px;
    margin-bottom: 10px;
    background: #fff; padding: 10px;

}

.admin_menu a:hover {
    color: #000000;

}

.admin_float {
    float:left;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
    max-height:1.5em;
    display: block;
    position: relative;
    white-space:nowrap;
    /*width:100px;*/
}

#admin_menu_anim {
    background-image : url(images/button_bg_anim.gif);
}

.icon {
    vertical-align:middle;
    margin-right:1px;
}

.comment_date{
    color : #5F5F5F;
    font-size: 90%;
    vertical-align : middle;
}

.image {


    margin: 0px;
}


.imageborder {
    border: 0px solid #000000;
    background-color: #FFFFFF;
    margin-top: 3px;
    margin-bottom: 3px;
}

.display_media {
    background:  rgba(0,0,0,0.05);
    padding-top: 3px;
    padding-right: 10px;
    padding-bottom: 3px;
    padding-left: 10px;
}

.thumbnails { width: 150px; position: relative;
    background:  rgba(0,0,0,0.05); padding: 10px; padding-bottom: 10px;
    -webkit-transition:All 0.5s ease-in-out; -moz-transition:All 0.5s ease-in-out; -o-transition:All 0.5s ease-in-out;
}

.thumbnails .image {padding: 10px;background: #fff;}

.lastalb .thumbnails, .lastup .thumbnails, .lasthits .thumbnails, .metalastup .thumbnails { }
.lastalb .thumb_resolution, .metalastup .thumb_title_views, .metalastup .thumb_resolution, .lastalb .thumb_title_views, .lastup .thumb_title_views, .lasthits .thumb_title_views, .lastup .thumb_resolution, .lasthits .thumb_resolution {}


.thumbnailss { width: 150px; position: relative;background:  rgba(0,0,0,0.05);
    padding: 6px; padding-top: 10px; padding-bottom: 10px;

}

.thumbnails img.image { }
.thumbnails img { -webkit-transition:All 0.5s ease-in-out;   -moz-transition:All 0.5s ease-in-out; -o-transition:All 0.5s ease-in-out;}
th.thumbnails,
td.thumbnails {
    width: calc(100% / 6);
}
.thumbnails .image {}
.footer {
    font-size: 0px; display: none;
}

.statlink {
    font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 11px; color: #fff;
}

.statlink a {
    text-decoration: none;
    color: #8e7975; color: #fff;
}

.statlink a:hover {
    color: #038b75;

}

.alblink {
    font-weight:bold;
}

.alblink a {
    font-weight: 600; font-size: 11px;
    color: #777;
}

.alblink a:hover {
    color: #777;

}

.catlink {
    display: block;
    margin-bottom: 5px;
    font-weight:bold;
}

.catlink a {    font-style: normal;
    -webkit-transition: All 0.5s ease-in-out;
    -moz-transition: All 0.5s ease-in-out;
    -o-transition: All 0.5s ease-in-out;
    color: #fff;
    font-weight: 600; font-size: 16px; letter-spacing: -1px;

    font-family: Open Sans; font-style: italic;
}


.topmenu {
    font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
    line-height : 130%;
    font-size : 110%;
}

.topmenu a {
    color : #fff
    text-decoration : none;
}

.topmenu a:hover  {
    color : #777;

}

.img_caption_table {
    border: none;
    background-color: #FFFFFF;
    width : 100%;
    margin : 0px;
}

.img_caption_table th {
    background: #D1D7DC ;
    font-size : 100%;
    color : #000000;
    padding-top: 4px;
    padding-right: 10px;
    padding-bottom: 4px;
    padding-left: 10px;
    border-top : 1px solid #FFFFFF;
}

.img_caption_table td {
    background: #F2F5F7 ;
    padding-top: 6px;
    padding-right: 10px;
    padding-bottom: 6px;
    padding-left: 10px;
    border-top : 1px solid #FFFFFF;
    white-space: normal;
}

.debug_text {
    border: #BDBEBD;
    background-color: #EFEFEF;
    width : 100%;
    margin : 0px;
}

.clickable_option {
    cursor : default;

}

.listbox_lang {
    color: #fff;
    background-color: #F2F5F7;
    border: 1px solid #D1D7DC;
    font-size: 80%;
    font-family: Arial, Helvetica, sans-serif;
    vertical-align : middle;
}

.pic_title {
    color: #fff;
    font-size: 100%;
    font-weight:bold;
    text-align : center;
    padding-top:0px;
    padding-bottom:0px;
    margin-top:0px; padding-top: 20px; padding-bottom: 20px;
    margin-bottom:0px;
    line-height:1.0em;
}

.pic_caption {
    color: #fff;
    font-size: 100%;
    font-weight:normal;
    text-align : center;
    padding-top:0px;
    padding-bottom:0px;
    margin-top:0px; padding-top: 20px; padding-bottom: 20px;
    margin-bottom:0px;
    line-height:1.0em;
    background-image:none;
}

.important {
    /* background-image : url(images/important.gif); */
    color: red;
    font-weight: bold;
    padding-left:1px;
    padding-right:1px;
    padding-top:3px;
    padding-bottom:3px;
}

#cpgChooseLanguageWrapper {
    float:left;
}

#cpgChooseThemeWrapper {
    float:left;
}

.filmstrip_background {
    background-color: rgba(0,0,0,0.05); overflow:hidden;
}

.prev_strip {
    text-align: left;
}

.next_strip{
    text-align: right;
}

/** Swfupload css **/
div.fieldset {
    border:  0px solid #0E72A4;
    margin: 10px 0;
    padding: 20px 10px;
}

div.fieldset span.legend {
    position: relative;
    padding: 3px;
    top: -30px;
    font-family: 'Open Sans', sans-serif;
    background : rgba(0,0,0,0.05);
    color: #FFFFFF; display: none;
    padding: 15px;
    margin: 0px; font-size: 11px; text-transform: uppercase;
    color: #FFF;
    font-weight: bold;
}

div.flash {
    width: 375px;
    margin: 10px 5px;
    border-color: #CCD7E0;
}

input[disabled]{ border: 1px solid #ccc } /* FF 2 Fix */


.progressWrapper {
    width: 357px;
    overflow: hidden;
}

.progressContainer {
    margin: 5px;
    padding: 4px;
    border: solid 1px #E8E8E8;
    background-color: #F7F7F7;
    overflow: hidden;
}
/* Message */
.message {
    margin: 1em 0;
    padding: 10px 20px;
    border: solid 1px #FFDD99;
    background-color: #FFFFCC;
    overflow: hidden;
}
/* Error */
.red {
    border: solid 1px #B50000;
    background-color: #FFEBEB;
}

/* Current */
.green {
    border: solid 1px #DDF0DD;
    background-color: #EBFFEB;
}

/* Complete */
.blue {
    border: solid 1px #CEE2F2;
    background-color: #F0F5FF;
}

.progressName {
    font-size: 8pt;
    font-weight: 700;
    color: #555;
    width: 323px;
    height: 14px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.progressBarInProgress,
.progressBarComplete,
.progressBarError {
    font-size: 0;
    width: 0%;
    height: 2px;
    background-color: blue;
    margin-top: 2px;
}

.progressBarComplete {
    width: 100%;
    background-color: green;
    visibility: hidden;
}

.progressBarError {
    width: 100%;
    background-color: red;
    visibility: hidden;
}

.progressBarStatus {
    margin-top: 2px;
    width: 337px;
    font-size: 7pt;
    font-family: Arial;
    text-align: left;
    white-space: nowrap;
    color: #555;
}

a.progressCancel {
    font-size: 0;
    display: block;
    height: 14px;
    width: 14px;
    background-image: url(../../images/cancelbutton.gif);
    background-repeat: no-repeat;
    background-position: -14px 0px;
    float: right;
}

a.progressCancel:hover {
    background-position: 0px 0px;
}

.swfupload {
    vertical-align: top;
}

/**styles for photo manager*/
table#pic_sort tr td {
    padding: 4px;
    border-bottom: 1px solid #ccc;
}

/** styles for album manager and photo album*/
table#album_sort tr td {
    padding: 3px;
    border-bottom: 1px solid #ccc;
}

table#album_sort tr td span.editAlbum {
    margin-left: 100px;
    font-size: 10px;
    line-height: 100%;

    cursor: pointer;
    display: none;
    color: #FF0000;
}

.cpg_message_info, .cpg_message_success, .cpg_message_warning, .cpg_message_error, .cpg_message_validation {
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
}
.cpg_message_info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('../../images/message/info.png');
}
.cpg_message_success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image: url('../../images/message/ok.png');
}
.cpg_message_warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('../../images/message/warning.png');
}
.cpg_message_error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('../../images/message/stop.png');
}
.cpg_message_validation {
    color: #D63301;
    background-color: #FFCCBA;
    background-image: url('../../images/message/error.png');
}

.cpg_summary {
    font-size:0.9em;
    border: 1px solid;
    margin: 10px 0px;
    padding:5px 10px 5px 10px;
    color: #FF2B9C;
    background-color: #FFDEEF;
    text-align:right;
    float:right;
    width:400px;
}

#GB_window {
    background-color: #fff;
    border: 5px solid #fff;
}

.external {
    background: transparent url('../../images/link.gif') 100% 50% no-repeat;
    padding-right: 10px;
}

.detail_head_collapsed, .detail_head_expanded {
    color: #fff;
}

#voting_title {font-size: 12px; color: #777 !important;}




/* Portrait and Landscape */
@media (max-width: 479px)
{
    html, * html {margin: 0 !important; -webkit-text-size-adjust: 100%; width: 100%; height: 100%;}
    p, a, body, td, tr, div, section, article, aside, footer, iframe, img, input, h1, h2, h3, h4, h5, h6 {text-rendering: optimizeLegibility; box-sizing: border-box;}
    input {-webkit-appearance: none; -webkit-border-radius: 0;}
    *, *:after, *:before {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    body { margin: 0; -webkit-font-smoothing: subpixel-antialiased; overflow-x: hidden; background: #d5d5d5 top center no-repeat; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; height: 100%;}
    #topo {width: 100%; height: 400px; background: url(images/header.png) top center; background-size: cover; margin-bottom: 7px;}
    #menu {display: none;}
    #menub {display: none;}
    #adm {display: none;}
    #welcome {width: 96%; margin-top: -30px;}
    #alinha {width: 96%; margin: 0px auto;}
    #m {width: 680px; height: 70px; float: right; margin-bottom: 60px; display: none;}
    #coisa {width: 100%;}
    #socialm {    padding-top: 330px;
        padding-right: calc(50% - 70px);
        margin: 0px auto; width: auto !important;}



    .filmstrip_background {display: none;}
    .tableh12 {
        font-family: 'Open Sans', sans-serif; font-weight: 600;  padding: 20px;
        background :  rgba(0,0,0,0.05); margin-bottom: 10px;
        text-transform: uppercase;
        color: #fff; padding: 20px; font-size: 11px;

    }

    .albunzinho {clear: both; width: calc(100% / 1); float: left;}
    .tableh2 {border-top: 1px #e6e6e6 solid;}
    .tableh12 .statlink {font-size: 11px;}
    .navmenu {padding-left: 2% !important; padding-right: 2% !important;}
    .navmenu a {padding-left: 0px !important; padding-right: 0px !important;}
    th.thumbnails, td.thumbnails {width: calc(100% / 2); float:left; padding: 2%; padding-bottom: 0px;}
    .thumbnails {width: 100%; }
    .tableb_alternate {background: rgba(0,0,0,0.05);
        padding: 0px;
        padding-right: 0px;
        padding-left: 10px;}
    #mobile {display: none;}
    .thumb_caption_ctime, .thumb_caption_mtime, .thumb_resolution {display: none;}
    .navmenu_pic, #pic_info_button, #slideshow_button, #ecard, #ee {display: none;}


    #menum {display: block;}
    .maintable {margin-bottom: 0px;}
    #footer {padding: 5%; padding-top: 40px; padding-bottom: 40px; margin-top: 10px;}
    /*Make dropdown links appear inline*/
    #menum ul {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
    #menum li {
        margin-bottom: 1px;
    }
    /*Make all menu links full width*/
    #menum ul li, li a {
        width: 100%;
    }
    /*Display 'show menu' link*/
    #menum .show-menu {
        display:block;
    }


}

/* ----------- MOBILE ----------- */

/* Portrait and Landscape */
@media (max-width: 950px)
{
    html, * html {margin: 0 !important; -webkit-text-size-adjust: 100%; width: 100%; height: 100%;}
    p, a, body, td, tr, div, section, article, aside, footer, iframe, img, input, h1, h2, h3, h4, h5, h6 {text-rendering: optimizeLegibility; box-sizing: border-box;}
    input {-webkit-appearance: none; -webkit-border-radius: 0;}

    body {background: #fcdabf;margin: 0;-webkit-font-smoothing: subpixel-antialiased;overflow-x: hidden;text-rendering: optimizelegibility;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;height: 100%;}
    .admin_float {

        margin-bottom: 20px;}

    #anuncio {display: none;}
    /*HEADER*/
    #topo {width: 100%; height: 350px; background: url(images/header.png) top center; background-size: cover; margin-bottom: 7px;}
    #menu {display: none;}
    #menub {display: none;}
    #adm {display: none;}
    #welcome {width: 96%; margin-top: -30px;}
    #alinha {width: 96%; margin: 0px auto;}
    #m {width: 680px; height: 70px; float: right; margin-bottom: 60px; display: none;}
    #coisa {width: 100%;}
    #socialm {    padding-top: 330px;
        padding-right: calc(50% - 70px);
        margin: 0px auto; width: auto !important;}
    .display_media img {max-width: 100%; height: auto;}
    .maintable .thumbnails { width: calc(100% / 6) !important; position: relative;
        padding: 0px; padding-top: 15px !important;  padding-bottom: 15px; float: none;
        -webkit-transition:All 0.5s ease-in-out; -moz-transition:All 0.5s ease-in-out; -o-transition:All 0.5s ease-in-out;
    }

    .maintable .thumbnails:nth-child(3) {clear: both;}

    .thumbnails img.image {width: 70%; height: auto;}
    .thumbnailss img.image {width: 100%; height: auto;}

    .tableh1 {    width: calc(100% - 40px) !important;
        padding: 2%;
        padding-top: 20px;
        padding-bottom: 20px;}

    .albunzinho {
        clear: both;
        width: calc(100% / 1);
        float: left;
    }



    .navmenu {    border: 0px #eee solid !important;}
    .thumbnails .image {padding: 0px;}

    .thumbnailss img.image {width: 100%; height: auto;}

    #conteudo {width: 96%; margin: 0px auto; clear: both;}
    .maintable {width: 100%;}
    #disclaimer {width: 100%;}
    #ads {display: none;}

    .thumb_title_title {    overflow: hidden;
        max-width: calc(100% - 30px);
        font-size: 100%;
        font-weight: bold;
        line-height: 1.5;word-wrap: break-word;
        display: block; width: auto;
        margin: 3px 0 0 0; border: 0px rgba(0,0,0,0.05) solid;
        padding: 2px; margin-top: 10px;
        box-sizing: inherit; }

    .lastalb .thumbnails, .lastup .thumbnails, .lasthits .thumbnails, .metalastup .thumbnails {
        padding-top: 0px;}




    .lasthits .thumbnails {padding-top: 5px;}

    #mobile {display: none;}

    /*SIDEBAR*/
    #sidebar {float: right; width: 30%; padding-top: 3%; display: none;}
    #social {display: none;}
    #footer #cc {font-family: Verdana; font-size: 12px; line-height: 20px; color: #888; width: 100%; float: left; padding-top: 10px; padding-bottom: 10px; text-align: justify; padding: 2%;}
    .navigation {width: calc(100% - 20px); margin-left: 10px; float: left; margin-top: 10px; margin-bottom: 20px;clear: both;}
    .show { display:block; }
    .display_media img {width: 100%; height: auto;}
    .navmenu_pic, #pic_info_button, #slideshow_button, #ecard, #ee {
        display: none;
    }

    .thumb_title_views {display: none;}

    #menum {display: block;}

    .filmstrip_background {display: none;}
    #m {width: 100%;}
    .navi { text-align: left!important; padding: 8px; width: 100%; background: #fff; }
    .navi ul { position: static; display: none; }
    .navi ul li, .navi li a {width: 100%;}
    .show-menu { font-size: 12px; display: block; color: #515151; text-align: center; padding: 8px 5px!important; font-family: Open Sans; font-weight: 400; text-transform: uppercase; }
    .navi { padding: 0; text-align: left; }
    .navi .container { padding: 0; width: 100%; text-align: center; }
    .menu { display: block; padding-top: 10px; padding-bottom: 20px; }
    .menu li { margin: 0; border-bottom: 1px solid #eee !important; border-right: none!important; }
    .navi .container .menu li a { display: block; text-align: left; padding: 10px!important; font-size: 13px; color: #4e4e4e!important; }
    .navi .container .menu a:hover {background: transparent;}
    .navi .container .menu li:last-child {border-bottom: 0px !important;}

    *, *:before, *:after {
        box-sizing: inherit;
    }

    /*Make dropdown links appear inline*/
    #menum ul {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
    #menum li {
        margin-bottom: 1px;
    }
    /*Make all menu links full width*/
    #menum ul li, li a {
        width: 100%;
    }
    /*Display 'show menu' link*/
    #menum .show-menu {
        display:block;
    }


}

/* ================================================================
   GALLERY / Taylor Dearden & Patrick Ball — 2026 adaptation
   Original Coppermine gallery markup, tables and PHP retained.
   Colors follow the supplied 2000 × 1080 header art.
   ================================================================ */
:root {
    --gallery-bg: #640014;
    --gallery-deep: #781735;
    --gallery-deeper: #5f0a23;
    --gallery-rose: #a92750;
    --gallery-panel: #ead5d9;
    --gallery-panel-light: #f4e8e9;
    --gallery-panel-shade: #dab8c0;
    --gallery-ink: #57172e;
    --gallery-muted: #805167;
    --gallery-cream: #ffe6d5;
}
body {
    background: var(--gallery-bg) url(images/header.png) no-repeat center top;
    color: var(--gallery-ink);
}
/* The new artwork places the wordmark lower than the old header. */
#topo { height: 1020px; }
#menu { background: var(--gallery-deep); }
#menu a { color: #fff4ed; }
#menu a:hover { color: var(--gallery-cream); }
#conteudo, #welcome {background: rgba(0,0,0,0.05);}
#welcome { color: var(--gallery-ink); }
#welcome #ccc { border-color: rgba(95,10,35,.16); }
#welcome b { color: var(--gallery-deeper); }
#footer { background: var(--gallery-bg); color: #f6dce2; }
#footer a { color: var(--gallery-cream); }
#footer a:hover { color: #fff; }
a, .alblink a, .navmenu a, .thumb_title_title,
.thumb_caption_mtime, .thumb_caption_ctime, #voting_title {
    color: var(--gallery-deep);
}
a:hover, .alblink a:hover, .navmenu a:hover,
.catrow:hover .catlink a, .catrow_noalb:hover .catlink a {
    color: var(--gallery-rose);
}
.tableh1, .tableh13, .tableh12 {
    background: var(--gallery-deep);
    color: #fff8f4;
}
#conteudo .tableh1 a, #conteudo .tableh13 a,
#conteudo .tableh12 a, .tableh12 .statlink,
.tableh12 .statlink a, .statlink {
    color: #fff8f4 !important;
}
.tableh12 strong { color: var(--gallery-cream); }
.tableh2, .tableb, .tableb_alternate, .tablef,
.catrow, .catrow_noalb, .thumbnails, .thumbnailss,
.navmenu, .display_media, .filmstrip_background {
    background: rgba(109, 20, 48, .075);
    color: var(--gallery-ink);
}
.tableh2 { border-bottom-color: var(--gallery-rose); }
.tableh2 a, .catlink a, .catrow, .catrow_noalb,
.album_stat, .pic_title, .pic_caption, .navmenu,
.sortorder_cell, .detail_head_collapsed, .detail_head_expanded {
    color: var(--gallery-ink);
}
.thumbnails .image { background: var(--gallery-panel-light); }
.thumb_caption_ctime { background: var(--gallery-panel-light); }
.thumb_title_views, .thumb_resolution { background: var(--gallery-deep); color: #fff; }
.admin_menu a { background: var(--gallery-panel-light); color: var(--gallery-deep); }
.admin_menu a:hover { color: var(--gallery-rose); }
#menum .show-menu {
    color: #fff8f4;
    background: var(--gallery-deep);
    cursor: pointer;
}
#menum a { color: var(--gallery-ink); background: var(--gallery-panel-light); }
#menum a:hover { background: var(--gallery-panel-shade); color: var(--gallery-deeper); }
/* The legacy stylesheet contains a malformed color value. */
.catrow a:hover, .catrow_noalb a:hover { color: var(--gallery-rose); }

/* Layout becomes fluid before the old fixed 1063px canvas overflows. */
@media (max-width: 1120px) {
    html, body { max-width: 100%; min-height: 100%; height: auto; }
    body { margin: 0; background: var(--gallery-bg); overflow-x: hidden; }
    #topo {
        width: 100%; max-width: none; height: clamp(340px, 55vw, 606px);
        margin: 0 auto;
        background: url(images/header.png) no-repeat center top;
        background-size: cover;
    }
    #menu, #welcome, #conteudo, #alinha, #cc { box-sizing: border-box; max-width: 100%; }
    #menu { width: calc(100% - 28px); height: auto; padding: 15px; }
    #welcome { width: calc(100% - 28px); padding: 15px; margin: 0 auto 12px; }
    #conteudo { width: calc(100% - 28px); padding: 14px; }
    #alinha, #cc { width: 100%; }
    .display_media img { max-width: 100%; height: auto; }
}

/* Tablets and phones: mobile nav first, then welcome and gallery. */
@media (max-width: 950px) {
    html, body { width: 100%; height: auto; }
    body { background: var(--gallery-bg); font-size: 12px; }
    #topo {
        width: 100%; height: clamp(350px, 55vw, 525px);
        margin: 0 auto 10px; background: url(images/header.png) no-repeat center top;
        background-size: cover;
    }
    #menu { display: none; }
    #menum {
        display: block; width: calc(100% - 28px);
        margin: 0 auto 12px; position: relative; z-index: 2;
    }
    #menum .show-menu {
        display: flex; justify-content: space-between; align-items: center;
        width: 100%; padding: 13px 18px; font-size: 12px;
        font-weight: 700; line-height: 20px; border-radius: 4px;
        letter-spacing: .05em; box-sizing: border-box;
    }
    #menum .show-menu span { font-size: 18px; line-height: 1; }
    #menum input[type=checkbox] {
        display: block; position: absolute; width: 1px; height: 1px;
        opacity: 0; margin: 0; padding: 0; overflow: hidden;
    }
    #menum input[type=checkbox]:focus-visible + #menuu,
    #menum .show-menu:focus-visible { outline: 2px solid var(--gallery-cream); outline-offset: 3px; }
    #menum #menuu {
        display: none; position: static; margin: 0; padding: 6px 0;
        width: 100%; background: var(--gallery-panel-light);
        box-shadow: 0 6px 16px rgba(30,0,10,.15);
    }
    #menum #show-menu:checked ~ #menuu { display: block; }
    #menum #menuu li { margin: 0; list-style: none; width: 100%; }
    #menum #menuu a {
        display: block; float: none; width: 100%; height: auto;
        min-width: 0; box-sizing: border-box; padding: 13px 16px;
        margin: 0; line-height: 1.45; text-align: left;
        font-size: 12px; font-weight: 600;
        white-space: normal; border-bottom: 1px solid rgba(95,10,35,.09);
    }
    #menum #menuu a:last-child { border-bottom: none; }
    #welcome {
        width: calc(100% - 28px); margin: 0 auto 12px;
        padding: 14px; line-height: 1.65; font-size: 12px;
    }
    #welcome #ccc { padding: 12px; border-radius: 6px; text-align: left; }
    #conteudo { width: calc(100% - 28px); margin: 0 auto; padding: 12px; }
    #conteudo .maintable { width: 100% !important; max-width: 100%; table-layout: auto; }
    #conteudo .tableh1, #conteudo .tableh13 {
        width: auto !important; padding: 15px 12px;
        font-size: 12px; line-height: 1.5;
    }
    #conteudo .tableh12 { padding: 14px 12px; line-height: 1.55; }
    #conteudo .navmenu { padding: 10px !important; white-space: normal; }
    #conteudo .navmenu a { display: inline-block; padding: 5px !important; }
    #conteudo .catrow, #conteudo .catrow_noalb { padding: 10px; }
    #conteudo .catrow img, #conteudo .catrow_noalb img { max-width: 100%; height: auto; }
    #conteudo .display_media, #conteudo .filmstrip_background { max-width: 100%; }
    #conteudo .display_media img, #conteudo .display_media video,
    #conteudo iframe { max-width: 100% !important; height: auto; }
    #conteudo .thumb_title_title {
        display: block; max-width: 100%; width: auto;
        margin: 6px auto 0; padding: 5px; line-height: 1.5;
        font-size: 11px; overflow-wrap: anywhere; box-sizing: border-box;
    }
    #conteudo .thumb_caption_mtime, #conteudo .thumb_caption_ctime {
        display: block; max-width: 100%; width: 100%;
        margin-top: 4px; padding: 5px; font-size: 10px;
        line-height: 1.4; box-sizing: border-box;
    }
    #footer { float: none; box-sizing: border-box; margin-top: 12px; padding: 24px 18px; }
    #footer #cc { width: 100%; }
    #anuncio { display: none; }
    .admin_menu { max-width: 100%; }
    .admin_float { max-width: 100%; }
}

/* Make existing native six-column thumbnail rows wrap, without changing PHP.
   :has() is supported in current Safari, Firefox, Chrome and Edge. */
@media (min-width: 621px) and (max-width: 950px) {
    #conteudo tr:has(> td.thumbnails),
    #conteudo tr:has(> th.thumbnails) { display: flex; flex-wrap: wrap; width: 100%; }
    #conteudo td.thumbnails, #conteudo th.thumbnails,
    #conteudo .maintable .thumbnails {
        display: block; flex: 0 0 25%; width: 25% !important;
        max-width: 25%; float: none; box-sizing: border-box;
        padding: 9px 5px !important;
    }
    #conteudo .thumbnails img.image, #conteudo .thumbnailss img.image {
        display: block; max-width: 100%; width: auto; height: auto; margin: 0 auto;
    }
}
@media (max-width: 620px) {
    #topo { height: clamp(290px, 80vw, 425px); margin-bottom: 8px; }
    #menum, #welcome, #conteudo { width: calc(100% - 20px); }
    #welcome { padding: 10px; }
    #welcome #ccc { padding: 12px; font-size: 12px; }
    #conteudo { padding: 8px; }
    #conteudo .tableh1, #conteudo .tableh13 { padding: 13px 9px; font-size: 11px; }
    #conteudo .tableh12 { padding: 12px 9px; }
    #conteudo .tableb, #conteudo .tablef,
    #conteudo .catrow, #conteudo .catrow_noalb { padding: 8px; }
    #conteudo .navmenu { font-size: 10px; }
    #conteudo tr:has(> td.thumbnails),
    #conteudo tr:has(> th.thumbnails) { display: flex; flex-wrap: wrap; width: 100%; }
    #conteudo td.thumbnails, #conteudo th.thumbnails,
    #conteudo .maintable .thumbnails {
        display: block; flex: 0 0 50%; width: 50% !important;
        max-width: 50%; min-width: 0; float: none;
        padding: 8px 4px !important; box-sizing: border-box;
    }
    #conteudo .thumbnails img.image, #conteudo .thumbnailss img.image {
        display: block; max-width: 100%; width: auto; height: auto; margin: 0 auto;
    }
    #conteudo .thumb_title_views { display: none; }
    #conteudo .albunzinho { float: none; width: 100%; border-right: 0; }
    #conteudo .sortorder_options { white-space: normal; }
    #conteudo .thumbnailss { max-width: 100%; }
    #conteudo .display_media { padding: 5px; }
    #conteudo .pic_title, #conteudo .pic_caption { line-height: 1.5; }
    #footer { font-size: 10px; line-height: 1.8; }
}


/* ================================================================
   CHERRY DESIGN — translucent wine background revision (Nov 2026)
   Preserve Coppermine native tables, thumb layouts, plugins and PHP.
   The content and welcome blocks intentionally have NO opaque panel.
   ================================================================ */
:root {
    --gallery-text-on-dark: #fbe8e5;
    --gallery-text-muted: #edc4cb;
    --gallery-link-on-dark: #ffe9df;
    --gallery-link-hover: #ffb3c8;
    --gallery-edge-on-dark: rgba(255, 230, 232, .16);
    --gallery-cell-on-dark: rgba(255, 255, 255, .045);
}
/* Requested background: retain exact low-opacity black overlay. */
#conteudo, #welcome {background: rgba(0,0,0,0.05);}

/* Text must be light because the wine-red page now shows through. */
body, #conteudo, #welcome, #welcome #ccc,
#conteudo .tableb, #conteudo .tablef, #conteudo .tableh2,
#conteudo .catrow, #conteudo .catrow_noalb,
#conteudo .album_stat, #conteudo .navmenu,
#conteudo .pic_title, #conteudo .pic_caption,
#conteudo .detail_head_collapsed, #conteudo .detail_head_expanded,
#conteudo .sortorder_cell {
    color: var(--gallery-text-on-dark);
}
#welcome b, #welcome strong { color: #fff0e4; }
#welcome #ccc { border-color: var(--gallery-edge-on-dark); }

/* Links and album/category labels; avoid dark-on-dark burgundy text. */
#conteudo a, #conteudo .alblink a, #conteudo .catlink a,
#conteudo .navmenu a, #conteudo .tableh2 a,
#conteudo .thumb_title_title, #conteudo .thumb_caption_mtime,
#conteudo .thumb_caption_ctime, #conteudo #voting_title {
    color: var(--gallery-link-on-dark);
}
#conteudo a:hover, #conteudo .alblink a:hover,
#conteudo .catlink a:hover, #conteudo .navmenu a:hover,
#conteudo .catrow:hover .catlink a,
#conteudo .catrow_noalb:hover .catlink a {
    color: var(--gallery-link-hover);
}
#conteudo .catrow, #conteudo .catrow_noalb,
#conteudo .thumb_caption_mtime, #conteudo .thumb_caption_ctime,
#conteudo .comment_date, #conteudo .thumb_filename {
    color: var(--gallery-text-muted);
}

/* Native gallery structures: translucent cells instead of pale opaque fills. */
#conteudo .tableh1, #conteudo .tableh13, #conteudo .tableh12 {
    background: rgba(0, 0, 0, .16);
    color: #fff4eb;
}
#conteudo .tableh12 strong { color: #ffd4c5; }
#conteudo .tableh2, #conteudo .tableb, #conteudo .tableb_alternate,
#conteudo .tablef, #conteudo .catrow, #conteudo .catrow_noalb,
#conteudo .thumbnails, #conteudo .thumbnailss,
#conteudo .navmenu, #conteudo .display_media,
#conteudo .filmstrip_background {
    background: var(--gallery-cell-on-dark);
}
#conteudo .tableh2 { border-bottom-color: #cf708b; }
#conteudo .thumbnails .image { background: rgba(255,255,255,.09); }
#conteudo .thumb_caption_ctime { background: rgba(255,255,255,.055); }
#conteudo .album_stat { background: transparent; }

/* Form controls: legible in gallery search, settings and uploads. */
#conteudo .textinput, #conteudo .listbox,
#conteudo input[type=search], #conteudo input[type=text],
#conteudo input[type=password], #conteudo textarea, #conteudo select {
    max-width: 100%;
    background: #fceef0;
    color: #52172b;
    border-color: rgba(255,230,230,.25);
}
#conteudo .button, #conteudo input[type=submit],
#conteudo input[type=button] {
    background: #f3dfe1;
    color: #5f102e;
    border: 1px solid #cf9caa;
}
/* The original style gives captions/tables a light background. Keep text
   dark only inside light, editor-specific surfaces. */
#conteudo .img_caption_table,
#conteudo .img_caption_table td,
#conteudo .img_caption_table th {
    color: #462236;
}
#conteudo .admin_menu a {
    background: #f5e3e6;
    color: #65132e;
}

/* Preserve mobile 2-column thumbnails, responsive header and menu.
   Refine padding and protect long text from running off-screen. */
@media (max-width: 950px) {
    #conteudo, #welcome { background: rgba(0,0,0,0.05); }
    #welcome #ccc { line-height: 1.7; overflow-wrap: break-word; }
    #conteudo .navmenu { overflow-wrap: anywhere; }
    #conteudo .maintable { max-width: 100%; }
    #conteudo .tableh1, #conteudo .tableh12,
    #conteudo .tableh13 { overflow-wrap: anywhere; }
}
@media (max-width: 620px) {
    #welcome, #conteudo { width: calc(100% - 20px); }
    #conteudo .thumbnails .image,
    #conteudo .thumbnailss .image { box-sizing: border-box; }
    #conteudo .thumb_title_title,
    #conteudo .thumb_caption_mtime,
    #conteudo .thumb_caption_ctime { overflow-wrap: anywhere; }
}
