/* 
Theme Name: Creadora Digital
Theme URI: https://creadoradigital.es/
Description: Creadora Digital is a child theme of Hello Elementor, created by She Createstoday
Author: J. Casanovas
Author URI: https://creadoradigital.es/
Template: hello-elementor
Version: 1.0.0
Text Domain: creadora-digital
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*****
    -----SINGLE POST------
*****/
#cd_single_post .container{
    max-width: 1040px;
    margin: 0 auto;
}
#cd_single_post .content_post .container{
    max-width: 800px;
    margin: 0 auto;
}
#cd_single_post .wrapper_header .container{
    display: flex;
    width: 100%;
    height: 400px;
    margin: auto;
    align-items:center;
    justify-content: flex-start;
}
#cd_single_post .wrapper_header{
    background-color: transparent;
    position: relative;
    padding: 0 80px;
}
#cd_single_post .wrapper_title{
    position: relative;
    width: 50%; 
}
#cd_single_post .entry-title{
    color: #0B0B0D;
    font-family: "Libre Baskerville", Sans-serif;
    font-size: 40px;
    font-weight: 400;
    text-align: left;
    display: block;
}
#cd_single_post .bi-category{
    text-transform: uppercase;
    color: #0B0B0D;
    font-family: "B612 Mono", Sans-serif;
    font-size: 12px;
    font-weight: 100;
}
#cd_single_post .bi-media-image{
    position: absolute;
    width: 45%;
    top: 0;
    left: 55%;
    height: 500px;
    display: block;
}
#cd_single_post .bi-media-image img{
    height: 100%;
    width: 100%;
    max-width: unset;
    max-height: unset;
    vertical-align: middle;
}
#cd_single_post .content_post{
    background-color: #FFF;
    padding-top: 160px;
    padding-left: 80px;
    padding-right: 80px;
}
#cd_single_post .content_post p{
    color: #58575B;
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
    font-weight: 400;
}
#cd_single_post .nav-links{
    display: flex;
    padding: 50px 0;
    border-top: 1px solid rgba(12,12,11,0.15);
}
#cd_single_post .nav-links .nav-previous, #cd_single_post .nav-links .nav-next{
    width: 50%;
}
#cd_single_post .nav-links .nav-label{
    text-transform: uppercase;
    color: #0B0B0D;
    font-family: "B612 Mono", Sans-serif;
    font-size: 15px;
    font-weight: 100;
}
#cd_single_post .nav-links p{
    color: #58575B;
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-left: auto;
}
#cd_single_post .nav-links .nav-next{
    text-align: right;
    margin-left: auto;
}
/***SINGLE POST COMMENTS***/
#cd_single_post label[for=show_comments]{
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 50px;
    color: #0B0B0D;
    font-style: italic;
}
/*hide the inputs/checkmarks and submenu*/
#cd_single_post #show_comments, #cd_single_post div#comments_post {
  display: none;
}
/*position the label*/
#cd_single_post label[for=show_comments] {
  position: relative;
  display: block;
  cursor: pointer;
}
#cd_single_post .title-comments{
    font-size: 16px;
    font-family: "Libre Baskerville", Sans-serif;
    margin-top: 18px;
    font-style: italic;
}
/*show the submenu when input is checked*/
#cd_single_post #show_comments:checked~div#comments_post {
  display: block;
}
#cd_single_post #comments_post {
  display: none;
}
#cd_single_post #comments_post:target {
  display: block;
}
#cd_single_post #comments{
    padding: 80px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 0;
}
#cd_single_post #comments #reply-title{
    font-family: "Libre Baskerville", Sans-serif;
    font-size: 18px;
    margin-top: 18px;
    font-style: italic;
}
#cd_single_post #comments a{
    color: #000;
}
#cd_single_post #comments #submit, #cd_single_post #comments #submit:hover{
    background: #FFF;
    color: #000;
    border-color: #000;
    border-radius: 0
}

/***RECENT POSTS***/
.container_posts{
    padding: 120px 80px;
}
.recent_post{
    display: flex;
    max-width: 1040px;
    margin: 0 auto;
}
.recent_post .posts{
    margin: 10px;
    width: 33.3%;
}
.recent_post .posts .category_post{
    margin-bottom: 0;
    font-family: "Overpass", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}
.recent_post .posts .title_post{
    font-family: "Libre Baskerville", Sans-serif;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
    color: #0B0B0D;
    margin-top: 10px;
}
.recent_post .posts .wrapper_image{
    height: 500px;
    overflow: hidden;
    margin-bottom: 10px;
}
.recent_post .posts .wrapper_image img{
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    vertical-align: middle;
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}
.recent_post .posts .wrapper_image:hover img{
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}
.recent_post .posts .post-categories{
    font-family: "Overpass", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
}
/*TABLET BREAKPOINT*/
@media (max-width: 1024px){
    #cd_single_post .wrapper_header{
        padding: 0 20px;
    }
    #cd_single_post .content_post {
        padding-left: 20px;
        padding-right: 20px;
    }
    .container_posts {
        padding: 120px 10px;
    }
    .recent_post .posts .wrapper_image {
        height: 400px;
    }   
}
/*MOBILE BREAKPOINT*/
@media (max-width: 782px){
    #cd_single_post #comments{
        padding: 20px;
    }
    .recent_post {
        flex-direction: column;
    }
    .recent_post .posts:not(:first-child)  {
        margin-top: 80px;
    }
    #cd_single_post .bi-media-image{
        width: 100%;
        left: 0;
    }
    #cd_single_post .wrapper_header{
        padding-top: 500px;
    }
    #cd_single_post .wrapper_title {
        width: 100%;
    }
    #cd_single_post .wrapper_header .container {
        height: 300px;
    }
    #cd_single_post .content_post {
        padding-top: 80px;
    }
    .recent_post .posts{
       width: calc(100% - 20px);
    }
}



/*****
    -----PREMIUM BLOG------
*****/
.premium-blog-content-wrapper i{
        display: none;
}
.premium-blog-post-categories{
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
}
.premium-blog-post-categories a{
    text-decoration: none!important;
    pointer-events: none!important;
}
.premium-blog-post-time span, .premium-blog-post-author a{
    color: #94939D!important;
    font-size: 12px;
    text-decoration: none;
}
.premium-blog-content-wrapper{
    position: relative;
}
.premium-blog-entry-meta{
    margin-top: 0!important;
}
.premium-blog-entry-meta span.premium-blog-meta-separator:last-of-type{
    display: none;
}
.premium-blog-post-container .premium-blog-entry-title{
    height: 50px;
}
.premium-blog-content-wrapper{
   margin-top:  0!important;
   height: 130px!important;
}
.elementor-widget-premium-addon-blog{
    margin-bottom: 0!important;
}





/*****
    -----CONTACT FORM CONTACT PAGE------
*****/
#contact_form .wpcf7 form p{
    margin-left: 10px!important;
    margin-right: 10px!important;
}
#contact_form .wpcf7 form label{
   width: 100%!important;
}
#contact_form .wpcf7 form label input, #contact_form .wpcf7-form label textarea{
   width: 100%!important;
}
#contact_form .wpcf7 form p:nth-child(2), #contact_form .wpcf7-form p:nth-child(3){
    float: left;
    width: calc(50% - 20px);
    display: inline-block!important;
}
#contact_form .wpcf7 form p:nth-child(2) label, #contact_form .wpcf7-form p:nth-child(3) label{
    width: 100%;
}
#contact_form .wpcf7 form p:nth-child(2) input.wpcf7-text, #contact_form .wpcf7-form p:nth-child(3) input.wpcf7-text {
    width: 100%!important;
}
#contact_form .wpcf7 form p:nth-last-child(2){
    text-align: center!important;
}
#contact_form .wpcf7 form .wpcf7-spinner{
    display: block;
    margin: 0 auto;
}
#contact_form .wpcf7 form .wpcf7-submit{
    outline: none;
}
#contact_form .wpcf7 form.invalid .wpcf7-not-valid-tip{
    position: absolute;
    top: 40px;
    right: 0;
    left: unset;
}
#contact_form .wpcf7 form.invalid .wpcf7-response-output{
    line-height: 1.5;
}
@media (max-width: 769px){
    #contact_form .wpcf7 form p{
        margin-left: 0!important;
        margin-right: 0!important;
    }
    #contact_form .wpcf7-form p:nth-child(2), #contact_form .wpcf7-form p:nth-child(3){
        width: 100%!important;
    }
}



/*****
    -----HEADER: DROPDOWN & ICON MENU ------
*****/
/**LOGGED IN WORDPRESS & ELEMENTOR FIXING MARGIN-TOP ISSUE ICON MENU**/
body:not(.elementor-editor-active).logged-in .elementor-widget-navigation-menu .hfe-nav-menu-icon svg{
    margin-top: 32px;
}
@media (max-width: 782px) {
    body:not(.elementor-editor-active).logged-in .elementor-widget-navigation-menu .hfe-nav-menu-icon svg{
    margin-top: 46px;
    }

}
/**ICON MENU**/
.hfe-nav-menu-icon{
    padding-top: 7px;
    padding-right: 0;
}
.elementor-widget-navigation-menu:not(.hfe-nav-menu__layout-horizontal) svg{
    right: 30px;
    top: 30px;
}
/**DROPDOWN MENU**/
.elementor-widget-navigation-menu .hfe-side{
    width: 100vw!important;
}
.hfe-flyout-wrapper nav li:nth-child(even){
    font-style: italic;
}




/*****
    -----SECTION GUIA GRATIS ------
*****/
.overflow_col{
    position: absolute;
}





