/*
Theme Name: Guiame1966
Theme URI: 
Version: 1.0
Description: 
Author: JF19
Author URI:
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: base
Text Domain: guiame1966
*/

/*** RESET ***/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset, figure {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set img max-width */
img {
	max-width: 100%;
	height: auto;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/* ie 8 img max-width */
@media \0screen {
	img { width: auto;}
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
	display: block;
}

/* FONTS */
@font-face {
    font-family: 'Myriadpe';
    src: url('fonts/MyriadPro-Regular.eot');
    src: url('fonts/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/MyriadPro-Regular.woff') format('woff'),
         url('fonts/MyriadPro-Regular.ttf') format('truetype'),
         url('fonts/MyriadPro-Regular.scztvg#Myriadpe') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* GENERAL */
body{
    background: #e8e8e8;
    margin: none;
    padding: none;
    width: 100%;
    font-family: Myriadpe;
}
h1, h2,h3,h4{
    color: #222;
}
.title-site{
    font-size: 2em;
}
.subtitle-site{
    font-size: 1em;
}

/* LOAD PAGE */
.load_wrapper{
    background: #FFF;
    height: 100%;
    overflow: hidden;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.box{
    height: 500px;
    left: 50%;
    margin-left: -250px;
    margin-top: -250px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 500px;  
}

.logo{
    left: 50%;
    margin-left: -170px;
    margin-top: -145px;
    position: fixed;
    top: 50%;
    z-index: -10;
}
.logo img{
    opacity: .2;
    width: 345px;
    height: 490px;
}

/* HEADER */
header { 
    background: #09612E; 
    color:white;
    padding-top: 10px;
}
header h1, header h2{
    font-size: 1.4em;
    font-weight: bold;
    margin: 6px;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.23);
}
.container{
    margin-top: 15px;
}

/* MENU NAVBAR */
.navbar{
    background: #1C9943; 
    border-top: none;
    border-radius: 0;
    text-align: center;
}

.navbar .navbar-nav, .navbar .nav{
    width: auto;
    margin: auto;
    display: inline-block;
    float: none;
    vertical-align: top;
}
.navbar li a{
    color: #ffffff;
    font-family: 'Share', cursive;
    font-size: 15px;
}

.navbar .dropdown-menu li a{
    color: #ffffff;
    padding-bottom: 8px;
    padding-top: 8px;
}
.navbar li a:hover{
    background: #1F7D47;
}
.navbar li a:focus{
    background: none;
}
.icon-bar{
    background: white;
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus{
    color: white;
    background: rgba(255, 255, 255, 0.1);
}
.dropdown-menu a:hover{
    background: rgba(0,0,0, 0.2) !important;
    background: #1F7D47;
}
.dropdown-menu{
    background: #09612E; 
    border: none;
    box-shadow: 0 0 2px #aaa;
    margin-top: 1px !important;
    padding: 0;
}

/* CONTENT */
.article{
    background: #EBF1DD;
    border: 1px #bbb solid;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #999;
    color: #555;
    font-size: 1.1em;
    margin: 15px 0 60px 0;
    min-height: 580px;
    padding: 26px 36px;
    text-align: justify;
    z-index: 10;
}
.article .title{
    color: #B32200;
    font-size: 1.6em;
    text-align: center;
    border-bottom: 1px #bbb solid;
    margin-top: 0;
    margin-bottom: 8px;
    padding: 8px 2px;
    text-transform: uppercase;
}
.article ul{
    margin-left: 20px;
}

/* list numeric */
 .counter {
    column-count: 3;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.counter li {
    padding: 0;
    counter-increment: step-counter;
    margin: 5px 0;
}
.counter li::before {
    color: white;
    content: counter(step-counter);
    display: inline-block;
    margin-right: 5px;
    background-color: #888;
    padding: 2px;
    text-align: center;
    width: 30px;
}

/* PORTADA */
#img-portada{
    border-radius: 3px;
}
.at{
    font-size: 1.2em;
}

/* album */
.album{
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
}
.album .foto{
    border: 5px white solid;
    box-shadow: 0 0 2px #aaaaaa, 0 10px 6px -6px #666666;
    margin: 10px; 
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    position: relative;
}
.album .foto img{
    display: block;
    max-width: none !important;
    background-position: center;
    background-repeat: no-repeat;
}
a img, .album img{
    border: 5px white solid;
    box-shadow: 0 0 2px #aaaaaa, 0 10px 6px -6px #666666;
} 

/* ARTICULOS */
.article-min{
    min-height: 200px;
    margin-top: 25px;
    padding: 5px 10px 10px 10px;
    text-align: center;
}
.article-min .title{
    border: none;
    margin: 1px;
    font-size: 1.6em;
    color: #222;
    text-align: center;
    text-transform: none;
}
.article-min img{
    width: 190px;
    height: 150px;
}
.article-min .content{
    color: #444;
    text-align: center;
}

/* OBITUARIO */
.obituario-caja{
    border-radius: 4px;
    margin: auto;
    width: 600px;
}

#obituario{
    border-radius: 4px;
}

#obituario .item {
    .transition(2s ease-in-out left);
}

#obituario .nombre {
    color: #fff;
}
#obituario .fecha{
    color: #ddd;
}

/* ASIDE */
.aside{
    background: #fff;
    box-shadow: 2px 2px 5px #999999;
    border-top: 1px #bbbbbb solid;
    border-radius: 0px 12px 12px 12px;
    margin-top: 40px; 
    margin-bottom: 60px;
    padding: 10px;  
    z-index: 0;
}
.aside-box .title{
    border-bottom: 1px #bbbbbb solid;
    font-size: 1.2em;
    padding: 4px 2px;
}

/* FOOTER */
.footer{
    background: #1C9943;
    bottom: 0;
    color: white;
    padding: 10px;
    position: fixed;
    width: 100%;
    z-index: 10;
}
.red {color: red; text-shadow: 1px 1px 1px black;}
.green{color:green; text-shadow: 1px 1px 1px black;}

/* slide up */
.slide-up{
    display: none;
}
.slide-up a {
    background: rgba(0, 0, 0, .4);
    border-radius: 50%;
    cursor: pointer;
    bottom: 10px;
    right: 10px;
    padding: 10px;
    position: fixed;
    text-align: center;
    width: auto;
    z-index: 10; 
}
.slide-up a:hover{
    background: rgba(0, 0, 0, .4);
}
.slide-up span{
    width: 20px;
    color: white;
}

/* events */
#event{
    display: block;
    width: 100%;
    font-size: 1.4em;
    font-weight: bold;
    text-decoration: blink;
}

.light-on{
    color: #FFDDDD;
    text-shadow: 0 0 1px #222, 0 0 8px red;
}
.light-off{
    color: #E43535;    
}

/* RESPONSIVE */
@media (max-width: 768px){
    /* ESTRUCTURE */
    .article{
        margin: 5px 5px 15px 5px;
    }
    .aside{
        border-radius: 8px;
        margin: 5px 5px 85px 5px;
    }
    .page-title{
        font-size: 1.5em;
    }
    .navbar .dropdown-menu li a{
        text-align: center;
    }   
    #links{
        justify-content: center;
    }
    #links img{
        height: 120px;
    }
}

/* quitar author */
.post .byline{
    display:none;
}
.post .posted-on{
    display: none;
}

/* POST NAV */
.post-navigation{
    margin-top: 30px;
}
.post-navigation .screen-reader-text{
    font-size: 1.3em;
    text-align: center;
}
.post-navigation .nav-previous{
    display: inline-block;
    padding: 10px 0 10px 0;
    text-align: center;
    width: 48%;
}
.post-navigation .nav-next{
    display: inline-block;
    padding: 10px 0 10px 0;
    text-align: center;
    width: 48%;
}

/* COMMENT FORM */
.comment-reply-title{
    margin-top: 20px;
    font-size: 1.3em;
}

.comment-form input, .comment-form textarea{
    border-radius: 4px;
    border: 1px #AAA solid;
    padding: 2px 4px;
    margin-top: 5px;
    width: 320px;
}
.comment-form-author label, .comment-form-email label, .comment-form-url label, .comment-form-comment label{
    vertical-align: top;
    width: 160px;
}

.comment-form input[type='submit']{
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    border-radius: 4px;
    box-shadow: none;
    padding:4px 6px;
    width: auto;
}

/* COMMENTS */
.comment{
    margin-top: 6px;
}
.commentlist, .comment ul, .comment ol{
    list-style: none;
}