html, body {
  background:#ffffff;
  color:#333333;
  text-align:left;
  margin: 0;
  padding: 0;
  font:12px arial,helvetica,verdana,sans-serif;
}
  
.entry-content a { text-decoration: none !important; border:0; }

h1{font-size:22px; color: #555555;}
h1 a{color: #555555;}
h2{font-size:14px;}
h3{font-size:16px;}
h4{font-size:14px;}
h5{font-size:10px;color: #666666;}
a{color:#333333;text-decoration:none !important;}
a:hover{color:#666;}
a img {
  border-width:0;
}
h6{font-size:7px;color: #777777;}


.entry-title{line-height:1.2em;margin:0 0 7px 0 !important;font-size:38px !important;color:#666666 !important;text-align:left;text-transform:lowercase;}
.entry-title a{width:100%;display:block;outline:none;color: #666666;font-size:38px !important;color:#666666 !important;}

.entry-content {
  font-size:13px;
  color: #777777;
  text-align: left;
  margin:0 0 .75em;
  line-height:1.6em;
}
.afasia_credit,.credit {
  text-transform: lowercase;
  font-size: 85%;
}

.afasia_bodytitle { text-transform: lowercase; }

.bodytitle {
  text-transform: lowercase; display: block; margin: -5px 0 15px 0;
}
.aforismo {
  background:#D6A81C;
  padding:40px;
}

.entry-content img {
  padding: 4px;
  border: 1px solid #eeeeee;
}

.entry-content p {
  margin: 8px 0;
}
.entry-content p:empty { display: none !important; }

.afasia_void_p { margin: 0; height: 10px; overflow: hidden; }

.old_gallery { line-height: auto; margin: 0 !important; }
.old_gallery:after { content: ' '; display: block; height: 15px; overflow: hidden; }

.home .old_gallery:first-child img, .archive .old_gallery:first-child img { width: 100%; } 

.wrapper { width: 1000px; margin: auto; }

.afasia_header {
    width: 100%; margin: 32px auto 40px auto; 
}

.afasia_header .logo img {
    float: right; height: 91px; margin: 0 200px 32px 0; 
}

.afasia_header ul, #footer_menu {
    list-style: none; margin: 0; padding: 0; 
}

.afasia_header nav, #footer_menu nav {
    display: block; width: 100%; height: 62px; clear: both; border: 1px #ddd solid;
}

.afasia_header nav ul li, #footer_menu nav ul li {
    display: inline-block; float: left; height: 62px; margin: 0; padding: 0;  border-right: 1px #ddd solid;
}

.afasia_header nav a, #footer_menu nav a {
    display: inline-block; height: 52px; line-height: 52px; padding: 0 20px; font-size: 11px; color: #444; text-transform: uppercase; font-weight: bold;
}

.afasia_header nav a:hover, #footer_menu nav a:hover {
    color: #fff; background-color: #666;
}

.afasia_header nav .to_content, #footer_menu nav .to_content {
    float: right; border-left: 1px #ddd solid; height: 62px;
}

.box {
       position:relative;
}
.privacy {
       position:fixed;
       bottom:0;
       right:1px;
}

.site-main { clear: both; border: 0px #eee solid !important; padding: 0 !important; margin: 0px 0 0 0 !important; }
article { clear: both; display: block; margin-bottom: 20px !important; border-top: 1px #ddd solid !important; padding: 5px 0 !important; }
.gallery { float: left; width: 100%; margin: 0 !important; }
.gallery:after { content: ' '; width: 100%; clear: both; height: 1px; overflow: hidden; }
.gallery-item { padding: 0 !important; }
.gallery-item img { width: 100%; }
.gallery-item { width: 30%; margin: 0 5% 5% 0; float: left; }
.gallery-item:nth-child(3n) { margin-right: 0; }
figcaption { font-size: 12px !important; text-align: left !important; }

footer { display: block; clear: both; padding: 40px 0; }
footer ul {  margin: 0; }

footer small { clear: both; margin-top: 17px; display: block; float: left; width: 100%; font: normal normal 100% Arial, sans-serif; font-size: 7px; padding: 0 !important; color: #777 !important; }
footer small a { font-weight: bold; color: #333; }

/*HACK LAYOUT ESCRITORIO*/
@media screen and (min-width: 1002px) {
  .site-content { width: 61.5882%; margin-right: 2%; }
  .sidebar { width: 34.8%; }
}


/*Sidebar*/
aside { padding-bottom: 0 !important; }
.search-field { margin: -10px 0 0 0; padding: 4px !important; background-color: #fff; font-size: 1.1em !important; border-color: #bbb !important; }
.widget-title { display: none; color: #666 !important; margin-bottom: 10px !important; font-size: 16px; }
.taxonomy_dropdown_widget_dropdown { font-size: 14px !important; }
.tptn_posts_widget { margin-top: -20px; }
#sidebar a { border: 0 !important; text-decoration: none !important; }
.sidebar .widget_text { text-align: center; }

/*Article*/
.afasia_date_and_comments { display: inline-block; float: right; margin-top: -12px; background-color: #fff; font-size: 11px; padding: 0 0 0 8px; color: #7f7f7f; }
.afasia_date_and_comments a { display: inline-block; margin-left: 3px; background: url('../img/chat_grey.gif') no-repeat; background-position: center left; padding-left: 20px; color: #7f7f7f;}
.entry-footer { display: none; }
.more-link { display: block; margin-top: 12px; width: 32px; height: 32px; background: url('../img/read-more.png') no-repeat; background-position: center center; border: 1px solid #eee !important; overflow; hidden; text-indent: -9999em; color: red; text-decoration: none !important; }
.more-link span { display: none; }

.aforismo { color: #fff; margin-top: 18px; }
.aforismo .more-link { background-color: #D6A81C; }

.entry-content .credit { display: block; padding: 15px 0; }

.addthis_toolbox { margin: 20px 0 0 0 !important; height: 20px !important; overflow: hidden: !important; }

.afasia_post_footer { display: block; width: 100%; clear: both; margin: 10px 0 0 0; font-size: 7px; color: #999; line-height: 1.5em; } 

.aforismo { color: #fff; margin-top: 18px; }

/*Pagination*/
.pagination, .post-navigation{ width: 100% !important; margin: 10px 0 0 0; }
.pagination a { color: #7f7f7f; font-size: 11px; text-indent: -999em: }
.pagination a:before { content: '' !important; }
.pagination .next,.pagination .prev { width: 38px !important; height: 38px !important;background: url('../img/pagination-r.png') no-repeat !important; background-position: center center !important;  }
.pagination .prev { background-image: url('../img/pagination-l.png') !important; }

/**Comments**/
.comments-area { width: 100% !important; margin: 0 !important; font-size: 12px !important; padding: 30px 40px; }
.comments-area h3,.comments-area h2 { font-size: 18px; }
.comments-area label,.comments-area input,.comments-area textarea { font-size: 12px !important; }
.comments-area label { text-transform: none !important; margin-bottom: 4px; }
.comments-area .comment-notes, .form-allowed-tags, .comments-area p { font-size: 12px !important; }
.comments-area .submit { width: auto !important; text-transform: none !important; }
.comment-metadata a { font-size: 12px; }
.comment-metadata  { margin: 0 !important; }
.comments-area .fn { display: inline-block; transform: translateY(7px); }
.comments-area .fn:after { top: 0 !important; }
.comments-area .reply a { text-transform: none !important; font-size: 12px !important; }


/**Post navigation**/
.post-navigation { border: 0 !important; }
.post-navigation .nav-next ,.post-navigation .nav-previous { display: inline-block; width: 38px; float: left; border: 0 !important; }
.post-navigation .nav-next { float: right; }
.post-navigation .nav-next a,.post-navigation .nav-previous a { width: 38px !important; height: 38px !important;background: url('../img/pagination-r.png') no-repeat !important; background-position: center center !important; padding: 0 !important; border: 0 !important; }
.post-navigation .nav-previous a { background-image: url('../img/pagination-l.png') !important; }
.post-navigation a span { display: none; }


/*ARchive*/
.archive .page-header, .search .page-header, .attachment .page-header {
  border: 0; padding: 0 0 0 7px; margin-bottom: 30px;
}

.archive .page-title, .search .page-title, .attachment .page-title { display: block; font-size: 13px; font-weight: normal; border: 1px #666 solid; padding: 5px 0; background-color: #eee; text-align: center; color: #333; }
.archive .page-title a, .search .page-title a, .attachment .page-title a { display: inline-block; color: #333; margin-left: 10px; text-decoration: underline !important; }


/*Pages*/
.afasia_feeds_page {  color: #666666; font-size: 150%; font-weight: bold;}
.afasia_feeds_page br { display: none !important; }
.afasia_feeds_page a,.afasia_feeds_page img { display: inline !important; border: 1px #eee solid !important; }
.afasia_feeds_page .separator { padding: 0 0 30px 0 !important; }
.afasia_feeds_page .separator a { margin: 0 !important; }

.afasia_staff_list a { margin: 0 !important; border: 0 !important; }
.afasia_staff_list img { display: inline !important; margin-top: 10px !important; padding: 3px !important;  }
.afasia_staff_title { display: block; clear: both; width: 100%; margin: 40px 0 4px 0 !important; color: #666666;  font-size: 200%; font-weight: bold; }
.afasia_staff_title span { font-size: 11px !important; font-weight: normal !important; }
.afasia_staff_more { margin-top: -10px !important; }


/**GALLERY VIEWER**/
.attachment #sidebar { display: none; }
.attachment #content { width: 100%; }
.attachment article { border: 0 !important; margin: 0; padding: 0; }

.attachment .post-navigation .nav-previous { display: block; width: 100%; color: #333; margin-top: -18px; border-bottom: 1px #333 solid !important; padding-bottom: 0px !important; }
.attachment .post-navigation .nav-previous a { display: inline !important; marign: 0 !important; padding: 0 !important; width: auto !important; background: none !important; color: #333; margin-bottom: 10px; font-size: 14px; font-weight: normal; height: auto !important;}
.attachment .post-navigation .nav-previous a:before { display: none !important; }
.attachment #content { padding: 0 !important; float: none !important; }
.attachment .afasia_download_image_link { float: right; }

.attachment .image-navigation { padding: 0 !important; }
.attachment .image-navigation a { display: inline-block !important; font-weight: normal !important; font-size: 14px !important; text-decoration: none !important; margin-top: 15px !important; }
.attachment .image-navigation .nav-next:before ,.image-navigation .nav-previous:before { display: none !important; }
.attachment .image-navigation .nav-next ,.image-navigation .nav-previous { display: inline-block; width: 50% !important; float: left; border: 0 !important; margin-bottom: 0 !important; }
.attachment .image-navigation .nav-next { float: right; text-align: right; }
.attachment .image-navigation .nav-next a,.image-navigation .nav-previous a { width: 100% !important; height: 40px !important; padding: 0 !important; border: 0 !important; }
.attachment .image-navigation .nav-next a { background-position: right center !important; }
.nav-previous { background-image: none !important; }

.attachment .image-navigation a { text-transform: none !important;background:none !importnat; //HACK }

.attachment .image-navigation a span { display: none; }

.attachment .entry-title { display: none; font-size: 20px !important; margin: 10px 0 !important; }

.attachment .entry-caption { display: none !important; }
.attachment .entry-caption p { margin: 0 !important; font-size: 14px !important; }
.attachment .entry-caption a { margin: 0 !important; font-size: 14px !important; text-decoration: none !important; border: 0 !important; }

.attachment .logo { display: none; }
.attachment #main_menu { display: none; margin-top: -15px; }

.attachment .afasia_gallery_nav { position: absolute; top: 62px; display: block; width: 50%; height: 100px; background-repeat: no-repeat; }
.attachment .addthis_toolbox { display: none; }
.attachment .image_wrapper { clear: both; width: 100%; text-align: center; }
.attachment #afasia_bottom_ad { display: none; }


/**BANNERS NUEVOS**/
.afasia_h_ad { width: 100%; padding: 9px; border: 1px #eee solid; text-align: center; overflow: hidden; }
.afasia_h_ad#afasia_top_ad { margin-top: 20px; }
.afasia_h_ad#afasia_bottom_ad { margin: 15px 0; }
.afasia_h_ad#afasia_gallery_ad { margin: 20px 0 0 0; }

.afasia_h_ad ins { max-width: 100%; }

.afasia_sidebar_ad_group { padding: 20px 5px; border: 1px #eee solid; 
}

.header_banner {
  margin: 15px 0 15px 0 !important;
}
.gallery_header_banner {
  margin: -15px 0 15px 0 !important;
}
.after_content_banner {
  margin: 15px 0 0 0 !important;
}
.fixed-floating-ad {
  position: fixed;
  top: 53px;
  margin-left: 370px;
  padding: 9px;
  border: 1px #eee solid;

}
.floating-ad {
  position: absolute;
  top: 53px;
  margin-left: 370px;
  padding: 9px;
  border: 1px #eee solid;

}
.gallery-floating-ad {
  position: fixed;
  top: 53px;
  margin-left: 370px;
  padding: 9px;
  border: 1px #eee solid;

}
.floating-ad-left {
  position: absolute;
}

.floating-ad-left {
  margin-left: -342px;
}
.floating-ad-left li,.gallery-floating-ad-left li { 
  margin: 0;
  padding: 0;
  list-style: none; 
} 
.gallery-floating-ad {
  top: 53px;
  margin-left: 1025px;
}
.gallery-floating-ad-left {
  top: 53px;
  margin-left: -342px;
}

@media screen and (max-width: 1001px) {
  .fixed-floating-ad, .floating-ad, .gallery-floating-ad {
    display: none !important;
  }
}

@media screen and (min-width: 1002px) {
  #afasia_prev:hover { background-image: url('../img/gallery_arrow_left.svg'); background-size: auto 40px; background-position: left center; opacity: 0.7; }
  #afasia_next:hover { background-image: url('../img/gallery_arrow_right.svg'); background-size: auto 40px; background-position: right center; opacity: 0.7; }
}

@media screen and (max-width: 1001px) {
    .wrapper { width: 92%; }
    #sidebar { display: none; }
    
    .afasia_header  { text-align: center; }

    .afasia_header nav, #footer_menu nav{ float: left; height: auto; border: none; border-left: 1px #ddd solid; }
    .afasia_header nav li , #footer_menu nav li{  border: 1px #ddd solid; border-left: 0; }
    .afasia_header nav a { padding: 0 19px; }
    .to_content { display: none; }
    
    .site-content { width: 100%; }

    .afasia_header .logo img {
        float: none; max-width: 70%; height: auto; margin-right: 0;
    }
    
    #content:before { float: left; width: 100%; content:''; height: 30px; display: block; }
    
    footer small { font-size: 6px; margin-bottom: 20px; }

}

@media screen and (max-width: 501px) {
    .afasia_header nav, #footer_menu { display: none; }
    .afasia_header { margin-bottom: 0; }
}

