/*
 Theme Name:   Berto's GeneratePress Child Theme
 Theme URI:    https://wenovaonline.com
 Description:  Default GeneratePress child theme
 Author:       Berto López
 Author URI:   https://bertolopez.com
 Template:     generatepress
 Version:      1.0 beta
*/

@import "css/authorbox.css";
@import "css/mega-menu.css";
@import "css/plugins.css";
@import "css/footer.css";

/** Global styles **/

h1, h2, h3, h4, h5, h6 {
    color: #444;
    font-weight: 600;
    letter-spacing: -0.05em;
}

h1 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 36px;
    border-bottom: 2px solid lightgray;
    margin: 0.8em 0 0.6em 0;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 28px;
    font-style: italic;
}

hr {
    color: #ccc;
    border-width: 1px 0px;
    border-style: solid none;
}

input[type="submit"] {
    cursor: pointer;
    text-transform: uppercase;
    width: auto;
}

/** Menu styles **/

.main-navigation ul {
    padding: 0px 10px;
}

.main-navigation a {
    margin: 0;
}

.main-navigation .main-nav ul ul li a {
    padding: 10px 10px;
    margin: 0px;
}

/** Styles for specific elements within specific locations **/
.entry-title {
    margin: 20px 0px 40px 0px;
}

.site p, .site a {
    color: #333;
    letter-spacing: -0.01em;
}

.site p {
    margin: 1em 0;
}

.site p a, .site li a {
    border-bottom: 2px dashed #999;
    transition: border-color 0.3s ease;
}

.site p a:hover, .site li a:hover {
    color: #666;
    border-color: #666;
}

#main .entry-content {
    margin: 0;
    clear: both;
}

.reply a {
    font-weight: bold;
    background-color: green;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
}

.reply a:hover {
    background-color: darkgreen;
}

.site .wp-caption {
    margin: 2em auto;
}

.site .wp-caption img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
}

.site p.wp-caption-text, .site figcaption.wp-caption-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4em;
    text-align: center;
    margin-top: 10px;
}

/** Styles for generic any element within specific locations **/

.grid-container {
    max-width: 100%;
}

.site-header {
    border-bottom: 2px solid #f1f1f1;
}

.site-header .inside-header {
    padding: 20px 40px;
    max-width: 1280px;
}

.entry-header {
    display: block;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 10px;
}

.entry-header > div.left {
    float: left;
}

.entry-header > div.right {
    float: right;
}

.entry-header .social-bar {
    margin-top: 5px;
}

.entry-meta {
    display: flex;
    align-items: center;
}

.entry-meta .avatar {
    margin-right: 5px;
}

.entry-meta .post-info {
    margin-right: 20px;
}

.entry-meta img.avatar {
    border: 2px solid #CCC;
    border-radius: 50%;
}

.entry-meta .comment-bubble {
    float: right;
    padding-bottom: 20px;
}

.entry-meta a.num-comments-link {
    display: block;
    text-align: center;
    width: 51px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5em;
    color: white;
    border-bottom: none;
    margin-top: 3px;
    transform: rotate(2deg);
    background: transparent url("/wp-content/themes/bgp-theme/images/speech-bubble.png") no-repeat scroll 0% 0%;
}

.site-content {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.author-name {
    font-weight: bold;
}

.comment-list {
    background-color: #f0f0f0;
    padding: 10px;
}

#commentToggleButton {
    margin-right: 5px;
}

.comment-directives, .disclaimer-box {
    background-color: #ddd;
    padding: 20px;
    margin: 20px 0;
}

.disclaimer-box {
    font-size: 0.8em;
}

.site-footer p, .site-footer a {
    color: white;
}

.site-footer a {
    border-bottom: 1px dashed white;
}

.site-footer a:hover {
    border-bottom: 1px dashed lightgray;
}

.generate-back-to-top {
    border-radius: 50%;
    font-size: 28px;
}

a.generate-back-to-top {
    width: 45px;
    height: 45px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #404040;
}

.generate-back-to-top .gp-icon svg {
    display: block;
}

@media (max-width: 480px) {

    body, button, input, select, textarea {
        font-size: 16px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 20px;
    }

    .site-header .inside-header {
        padding: 20px 20px;
    }
    .entry-header {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .entry-header .social-bar {
        margin-top: 0;
    }

    .one-container .site-content {
        padding: 20px;
    }

    .entry-title {
        margin: 10px 0px 0px 0px;
    }

    .entry-meta.left {
        font-size: 12px;
    }

    /*
    .inside-article h1 {
        font-size: 36px;
    }

    .inside-article h2 {
        font-size: 28px;
    }

    .inside-article h3, .comments-area h3 {
        font-size: 24px;
    }

    .inside-article h4 {
        font-size: 20px;
    }
     */
}