/*
 Theme Name:   Riu
 Author:       Coda
 Template:     twentyfifteen
 Version:      1.0.0
 Text Domain:  riu
*/

body
{
	font-family: 'Open Sans', sans-serif;
	background: #fff;
}

/* Sidebar */

#sidebar .site-header .logo
{
    text-align: center;
}

#sidebar .site-branding
{
    margin-top: 30px;
}

.social-navigation a[title="bandcamp"]::before
{
    content: " ";
    background: url("img/bclogo.png") no-repeat 0 0;
    background-size: cover;
    width: 48px;
    height: 48px;
}

.social-navigation a[title="bandcamp"]:hover::before
{
    opacity: 0.55;
}

/* Menu */

.main-navigation .current-menu-item > a
{
    color: #000; 
}

/* Main */

.site-main 
{
    padding: 7.6923% 0;
}

/* Blog */

.hentry + .hentry
{
    border-top: 0;
}

article.type-post
{
    margin: 1px;
    padding: 0;
    box-shadow: none;
}

.entry-title,
.comment-reply-title,
.comments-title,
.entry-title a
{
    color: #000;
}

.entry-title a:hover
{
    opacity: 0.7;
}
.entry-footer
{
    background: none;
    text-align: right;
    border-top: 1px solid #e1e1e1;
    margin: 0 10%;
    padding-right: 0;
    padding-top: 10px;
    padding-bottom: 40px;
}

/* Agenda */

body.post-type-archive-agenda .site-main
{
    position: relative;
}

body.post-type-archive-agenda .entry-title
{
    position: absolute;
    left: 82px;
    padding: inherit;    
}

body.single-agenda .entry-title
{
    position: static;    
}

body.single-agenda .entry-header,
body.single-agenda .entry-content
{
    padding-left: 0;
}

body.post-type-archive-agenda .no-results .entry-title
{
    position: static;
    padding-left: 0;
}

article.type-agenda
{
    box-shadow: none;
    margin-top: 0;
    margin-bottom: 0;
    background: url("img/line_agenda.png") no-repeat 33px -80px;
    padding-top: 45px !important;
}

.single article.type-agenda,
.single article.type-agenda:nth-of-type(1)
{
    background: none;
    padding-top: 0 !important;
}

article.type-agenda:nth-of-type(1)
{
    background-position: 33px 0;
    padding-top: 120px !important;
}

article.type-agenda.hentry + article.type-agenda.hentry
{
    margin-top: 0;    
} 

article.type-agenda .date
{
    display: inline-block;
    cursor: pointer;
    position: relative;
    width: 68px;
    height: 68px;
    background: #a17132;
    color: #fff;
    vertical-align: top;
    border-radius: 50%;
    margin-right: 24px;
}

.single article.type-agenda .date
{
    margin-bottom: 40px;
}

article.type-agenda .date .day
{
    position: absolute;
    width: inherit;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    left: 0;
    top: 5px;
}

article.type-agenda .date .month
{
    text-transform: uppercase;
    font-weight: bold;
    position: absolute;
    width: inherit;
    text-align: center;
    top: 32px;
    font-size: 16px;
}

article.type-agenda .info
{
    display: inline-block;
    vertical-align: top;
    width: calc(70% - 115px);
    line-height: 22px;
}

article.type-agenda .info h2
{
    font-weight: normal;
}

article.type-agenda .info .place,
article.type-agenda .info .hour
{
    color: #999;
    font-size: 15px;
}

.single article.type-agenda .info
{
    padding-top: 10px;
}

.single article.type-agenda .attachment-full
{
    margin-bottom: 30px;
}

.ssba a
{
    border-bottom: none;
}

/* Pages */

article.type-page
{
    margin: 1px;
    padding: 0;
    box-shadow: none;
}

/* Fotos */

body.page-id-25 p
{
    padding: 0;
    margin: 0;
}

.ngg-galleryoverview
{
    margin-top: 0 !important;
}

.ngg-gallery-thumbnail img
{
    border: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
}

.ngg-gallery-thumbnail img:hover
{
    background-color: #fff !important;
    opacity: 0.7;
}

/* Footer */

.site-footer
{
    box-shadow: none;
    border-top: none;
}

/****************
 * MEDIA QUERIES 
 ****************/

@media screen and (max-width: 620px)
{
    /* Agenda */
   
   body.post-type-archive-agenda .entry-title
   {
       margin-left: 0;
       padding-left: 0;
       left: 118px;
   }
   
   article.type-agenda
   {
       padding-left: 20px;
       background: none;
   }
   
   article.type-agenda .info
   {
       width: calc(92% - 115px);
   }
   
   article.type-agenda .thumb
   {
       display: none;
   }
}

@media screen and (min-width: 38.75em)
{
    /* Sidebar */
   
   .secondary
   {
       box-shadow: none;
   }
}

@media screen and (min-width: 59.6875em)
{
    /* Sidebar */
    
    .social-navigation li
    {
        width: 20%;
    } 
}