/*
Theme Name: Oftalmoluz
Theme URI: https://oftalmoluz.pe/
Author: Jorge Vilca
Author URI: https://jorgevilca.com/
Description: Tema para Oftalmoluz desarrollado por Jorge Vilca.
Tags: agencia de marketing, quantify, perú
Version: 2022.1
Requires at least: 5.2
Tested up to: 5.9
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: oftalmoluz

Oftalmoluz WordPress Theme © 2022
Oftalmoluz is distributed under the terms of the GNU GPL
*/

section.blog {
    padding-top: 160px;
}
.thumbnail {
    position: relative;
}
.thumbnail img {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-position: center;
}
.thumbnail .categoria {
    position: absolute;
    left: 25px;
    top: 35px;
}
.thumbnail .categoria a {
    background: #3e51c2;
    color: #fff;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 14px;
}
.thumbnail img.tag {
    width: 17px;
    aspect-ratio: auto;
    filter: invert();
    margin-right: 5px;
    transform: scaleX(-1);
}



article.box {
    margin-bottom: 30px;
    box-shadow: 7px 11px 16px -10px rgba(0,0,0,0.24);
}
article.box .entry-title {
    font-size: 21px;
    font-weight: 700;
}
article.box .excerpt {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 21px !important;
}

.readmore {
    margin-top: 5px;
    display: inline-block;
}

article.box .readmore a {
    color: #606060;
    font-size: 17px;
    font-weight: 600;
}
article.box .readmore a:hover {
    color:#3e51c2;
}
article.box .readmore img {
    margin-left: 15px;
}


h3.widget-title {
    font-size: 23px;
    color: #111;
}
.rpwwt-widget ul li img {
    margin: .3em 1.5em .75em 0;
}
.rpwwt-post-title {
    color: #111;
    font-weight: 700;
    margin-bottom: 7px;
    display: block;
    font-size: 15px;
}
.rpwwt-post-categories a {
    font-size: 13px;
}

#rpwwt-recent-posts-widget-with-thumbnails-2 img {
    width: 125px !important;
    height: auto !important;
}
.rpwwt-widget ul li {
    margin: 0 0 .8em;
}


.search-form {
    margin: 20px 0 45px;
}
.search-form input, .search-form input:focus {
    background: #FAFAFA;
    border: none;
    font-size: 15px;
    border-radius: 40px;
    padding: 14px 30px;
}
.search-form button, .search-form button:focus,.search-form button:hover {
    border-radius: 40px;
    background: #FAFAFA;
    padding-right: 25px;
}

.sidebar {
    padding-left: 75px;
}



.cat-item {
    display: inline-block;
}
.cat-item a {
    color: #8F8F8F;
    background: #F4F4F4;
    padding: 10px 20px;
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    margin-right: 3px;
    transition: .3s;
}
.cat-item a:hover {
    color: #fff;
    background: #3e51c2
}


.widget-area ul.xoxo > li {
    margin-bottom: 50px;
}

.meta-nav img {
    height: 25px;
}

.nav-previous img {
    margin-left: 15px;
}
.nav-next img {
    margin-right: 15px;
}
.search-form input::placeholder, .search-form input:focus {
    color: #838383;
    transition: .3s;
}
.search-form input:focus::placeholder {
    color: #b9b7b7;
}




.wp-post-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


.cat-links {
    margin: 40px 0 15px;
}
.cat-links img {
    filter: invert(25%) sepia(100%) saturate(1555%) hue-rotate(220deg) brightness(85%) contrast(85%);
    width: 15px;
    margin-right: 5px;
}



.entry-content p {
    color: rgb(85, 85, 85);
    font-size: 17px;
    font-weight: 500;
    line-height: 30.6px;
    margin-bottom: 15px
}


div.portada {
    background: #3d52c3;
    color: #fff;
    margin-bottom: 55px;
}

div.portada .contenido {
    display: flex;
    align-items: flex-start;
}
div.contenido h2,div.contenido h4 {
    color: #fff;
}
div.contenido h2 {
    font-size: 43px;
}
div.contenido h4 {
    font-size: 20px;
}
div.portada .contenido .texto {
    padding-left: 15px;
}

/* SOCIAL SHARE */
ul.socialshare {
    margin: 40px 0 20px;
}

ul.socialshare li {
    cursor: pointer;
}
ul.socialshare li {
    display: inline-block;
    background: #3a579a;
    width: 212px;
    transition: .2s;
    position: relative;
    overflow: hidden;
    margin-right: 15px;
}
ul.socialshare li:hover {
    background: #314a83;
}
ul.socialshare li .label {
    padding: 8px 14px 10px 10px;
    color: #fff;
    font-weight: bold;
    float: left;
    font-size: 14px;
    margin-left: 50px;
    position: absolute;
    z-index: 3;
    top: 4px;
}

ul.socialshare li .icon {
    overflow: hidden;
    width: 40px;
    z-index: 2;
}

ul.socialshare li .overlay {
    height: 100%;
    width: 100%;
    background-color: rgba( 0, 0, 0, 0.1 );
    bottom: 0;
    left: 0;
    z-index: 1;
    position: absolute;
    margin: 0 0 0 40px;
    transition: .3s;
}

ul.socialshare li .icon::before {
    content: url('img/fb.svg');
    width: 40px;
    float: left;
    padding: 11px 16px;
    height: 40px;
    margin-left: 0px;
    opacity: 1;
    transition: .2s;
}
ul.socialshare li a:hover > .icon::before {
    margin-left: 40px;
    margin-top: 0;
    opacity: 0;
}

ul.socialshare li .icon::after {
    content: url('img/fb.svg');
    width: 40px;
    position: absolute;
    padding: 11px 16px;
    height: 40px;
    left: -40px;
    transition: .3s;
}
ul.socialshare li a:hover > .icon::after {
    left: 0;
}

ul.socialshare li a:hover > .overlay {
    background-color: rgba( 0, 0, 0, 0 );
    margin: 0 0 0 100px;
}

    /* TWITTER */
    ul.socialshare li.twitter {
        background: #00abf0;
    }
    ul.socialshare li.twitter:hover {
        background: #0092cc;
    }
    ul.socialshare li.twitter .icon::before {
        content: url('img/tw.svg');
        padding: 10px 12px;
    }
    ul.socialshare li.twitter .icon::after {
        content: url('img/tw.svg');
        padding: 10px 12px;
    }
    /* END TWITTER */

    /* LINKEDIN */
    ul.socialshare li.linkedin {
        background: #1966ca;
    }
    ul.socialshare li.linkedin:hover {
        background: #0a4999;
    }
    ul.socialshare li.linkedin .icon::before {
        content: url('img/in.svg');
        padding: 10px 12px;
    }
    ul.socialshare li.linkedin .icon::after {
        content: url('img/in.svg');
        padding: 10px 12px;
    }
    /* END LINKEDIN */

/* END SOCIAL SHARE */


/* RESPONSIVE */
@media (max-width: 768px) {
    .sidebar {
        padding-left: 10px;
    }
    div.portada {
        background: none;
    }
    div.contenido {
        text-align: center;
    }

    div.portada .contenido .texto {
        width: 100%;
        padding-left: 0;
        margin: 55px 0 20px;
    }
    div.contenido h2,div.contenido h4 {
        color: #3d52c3;
    }
    div.contenido img {
        display: none;
    }
    div.contenido h2 {
        font-size: 28px;
        margin-bottom: 5px;
    }
    div.contenido h4 {
        font-size: 18px;
    }
}