/*
Theme Name: Juan Angel Ciolli
Theme URI:
Version: 2.0
Description: Adviso child
Author: Jonathan Rikles
Author URI: https://estudiofrenesi.com.ar
Template: adviso
*/

img {
    height: auto;
    max-width: 100%;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.entry-header h1 {
    line-height: 1;
}

body.home, body.single, body.page, body.category, body.search {
    overflow: inherit;
}

body.home #masthead.site-header #top-bar, body.single #masthead.site-header #top-bar, body.page #masthead.site-header #top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255,255,255,.8);
    z-index: 10;
}

header .flex {
    /*width: 62%;*/
    height: 100vh;
    z-index: 2;
}
.head-form {
    width: 80%;
    background: #ff5722;
    color: white;
    display: table;
    padding: 20px;
    margin-top: 40px;
}

@media (min-width: 480px) {
    header .flex {
        height: 60vh;
    }
    .head-form {
        width: 20%;
        margin-top: 0;
    }
}

.head-form div.wpforms-container-full .wpforms-form .wpforms-required-label, #secondary aside div.wpforms-container-full .wpforms-form .wpforms-required-label {
    color: white;
}
.head-form div.wpforms-container-full, #secondary aside div.wpforms-container-full {
    margin-bottom: 0;
}
.head-form div.wpforms-container-full .wpforms-form .wpforms-field, #secondary aside div.wpforms-container-full .wpforms-form .wpforms-field {
    padding: 5px 0;
}
.head-form div.wpforms-container-full .wpforms-form input[type=date], .head-form div.wpforms-container-full .wpforms-form input[type=datetime], .head-form div.wpforms-container-full .wpforms-form input[type=datetime-local], .head-form div.wpforms-container-full .wpforms-form input[type=email], .head-form div.wpforms-container-full .wpforms-form input[type=month], .head-form div.wpforms-container-full .wpforms-form input[type=number], .head-form div.wpforms-container-full .wpforms-form input[type=password], .head-form div.wpforms-container-full .wpforms-form input[type=range], .head-form div.wpforms-container-full .wpforms-form input[type=search], .head-form div.wpforms-container-full .wpforms-form input[type=tel], .head-form div.wpforms-container-full .wpforms-form input[type=text], .head-form div.wpforms-container-full .wpforms-form input[type=time], .head-form div.wpforms-container-full .wpforms-form input[type=url], .head-form div.wpforms-container-full .wpforms-form input[type=week], .head-form div.wpforms-container-full .wpforms-form select, .head-form div.wpforms-container-full .wpforms-form textarea, #secondary aside div.wpforms-container-full .wpforms-form textarea, #secondary aside div.wpforms-container-full .wpforms-form input[type=text], #secondary aside div.wpforms-container-full .wpforms-form input[type=number], #secondary aside div.wpforms-container-full .wpforms-form input[type=email] {
    font-size: 14px;
    border: none;
}
.head-form div.wpforms-container-full .wpforms-form input.wpforms-field-medium, .head-form div.wpforms-container-full .wpforms-form select.wpforms-field-medium, .head-form div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium, #secondary aside div.wpforms-container-full .wpforms-form input.wpforms-field-medium, #secondary aside div.wpforms-container-full .wpforms-form select.wpforms-field-medium, #secondary aside div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
    max-width: unset;
}
.head-form div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium, #secondary aside div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium {
    height: 70px;
}
.head-form div.wpforms-container-full .wpforms-form input[type=submit], .head-form div.wpforms-container-full .wpforms-form button[type=submit], .head-form div.wpforms-container-full .wpforms-form .wpforms-page-button, #secondary aside div.wpforms-container-full .wpforms-form input[type=submit], #secondary aside div.wpforms-container-full .wpforms-form button[type=submit], #secondary aside div.wpforms-container-full .wpforms-form .wpforms-page-button {
    border: none;
    color: white;
    background: black;
    font-family: 'Arvo';
}

.home header#masthead {
    height: 165vh;
}

@media (min-width: 480px) {
    .home header#masthead {
        height: 100vh;
    }
}

body #masthead .site-branding {
    width: 85%;
    margin-bottom: 0px;
    padding-bottom: 0;
}
@media (min-width: 480px) {
    .home #masthead .site-branding {
        margin-bottom: 20px;
    }
}

body #masthead h2.site-description {
    color: black;
    font-size: 14px;
    line-height: 1.2;
    padding-top: 10px;
    text-overflow: unset;
    overflow: unset;
    white-space: unset;
}
.home #masthead .header-text {
    color: white;
    width: 95%;
    height: auto;
    margin: 0;
    line-height: 1;
    text-align: center;
    display: table;
}
@media (min-width: 480px) {
    .home #masthead .header-text {
        width: 70%;
        height: 300px;
        text-align: left;
    }
}

.home #masthead .header-text p {
    font-size: inherit;
    margin: 0;
    line-height: 1.2;
    background: rgba(0, 0, 0, .5);
    /*display: inline;*/
    display: none;
}

body #masthead .menu-wrapper {
    width: 85%;
}
body #masthead #site-navigation {
    float: unset;
}

.home #featured-categories #categories-container .category-wrapper .category-title span {
    line-height: 1;
}

.home #categories-container {
    margin-top: 75px;
}

body.page-template.home .section-title {
    margin: 75px 0;
    font-family: 'Arvo';
    font-size: 24px;
    font-weight: 400;
}

.page-header h1.page-title, .entry-header h1.entry-title {
    font-size: 45px;
}

.home .featposts .item .item-container .out-thumb .postedby, .category .adviso .item-container .out-thumb .postedby, .single .entry-footer .postedby {
    color: #ff5722;
    font-size: 25px;
    font-weight: 600;
    float: none;
}

.home .featposts .item .item-container .out-thumb.sin-oferta .postedon, .category .adviso .item-container .out-thumb.sin-oferta .postedon {
    font-size: 25px;
    font-weight: 600;
    color: black;
}

.home .featposts .item .item-container .out-thumb h3 a {
    line-height: 24px;
    display: block;
    padding: 10px 5px;
}

.home .featposts .item .item-container .out-thumb h5 {
    font-size: 12px;
    color: #999;
    margin: 20px 7px 0;
}

.home .featposts .item .item-container .out-thumb .iva {
    display: inline-block;
}

#masthead #social-wrapper #contact-info {
    display: flex;
    flex-wrap: wrap;
}
#masthead #social-wrapper #contact-info .message, #masthead #social-wrapper #contact-info .mail, #masthead #social-wrapper #contact-info .phone {
    display: flex;
    align-items: center;
}

@media (min-width: 480px) {
    #masthead #social-wrapper #contact-info {
        display: inherit;
    }
}

/* Mega menú */

#site-navigation #mega-menu-wrap-primary #mega-menu-primary .mega-menu-item > ul.mega-sub-menu {
    width: 60vw;
    display: flex;
    flex-wrap: wrap;
}

#site-navigation #mega-menu-wrap-primary #mega-menu-primary .mega-menu-item > ul.mega-sub-menu .fpw-page-title {
    font-size: 16px;
    line-height: 1.2;
    font-family: inherit;
    letter-spacing: -0.1px;
}

#site-navigation ul.mega-sub-menu ul {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
}
#site-navigation #mega-menu-wrap-primary #mega-menu-primary ul {
    display: flex;
    justify-content: space-between;
}
#site-navigation #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu a .fpw-featured-image {
    position: relative;
}
#site-navigation #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu a .fpw-featured-image:before {
    content: '';
    position: absolute;
    border: inset 0px black;
    transition: border ease .25s;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}
#site-navigation #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu a .fpw-featured-image:hover:before {
    border: inset 5px #ff5722;
}
#site-navigation #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu .fpw-page-title {
    font-weight: 600;
    padding-top: 5px;
    text-transform: uppercase;
}

.featposts .section-title {
    text-align: left;
}

.home .featposts .item .item-container .featured-thumb a {
    position: relative;
    display: block;
}
.home .featposts .item .item-container .featured-thumb ~ .out-thumb a {
    display: block;
}
.home .featposts .item .item-container:hover .featured-thumb ~ .out-thumb a {
    color: #ff5722;
}
.home .featposts .item .item-container .featured-thumb a:before {
    content: '';
    position: absolute;
    border: inset 0px black;
    transition: border ease .25s;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}
.home .featposts .item .item-container:hover .featured-thumb a:before {
    border: inset 5px #ff5722;
}

/* Slider */
.slider {
    position: absolute;
    top: 160px;
}

/* Page */
.page #content ul {
    /*list-style: none;*/
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap;
}
.page #content ul > li {
    width: 100%;
    /*margin-bottom: 20px;*/
    padding: 10px;
    line-height: 1.5;
}
.page #content ul > li a {
    display: table;
}

@media (min-width: 480px) {
    .page #content ul > li {
        width: 50%;
    }
}

.page #content .elementor-col-100 .elementor-element-populated .elementor-image {
    padding: 13px 0 0;
    border-top: solid thin rgba(0, 0, 0, 0.14);
    /*border-bottom: solid thin rgba(0, 0, 0, 0.14);*/
    border-left: solid thin rgba(0, 0, 0, 0.14);
    border-right: solid thin rgba(0, 0, 0, 0.14);
}

.page #content .elementor-col-100 .elementor-element-populated .elementor-widget-image {
    border-left: none;
    border-right: none;
}

.page #content .elementor-widget-image .elementor-image:hover figure > a {
    position: relative;
}
.page #content .elementor-widget-image .elementor-image:hover figure > a:before {
    content: '';
    position: absolute;
    transition: border ease .25s;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    border: inset 5px #ff5722;
}
.page #content .elementor-widget-image .elementor-image:hover .widget-image-caption {
    color: #ff5722;
}

.page #content .elementor-widget-image + .elementor-widget-text-editor {
    border-left: solid thin rgba(0, 0, 0, 0.14);
    border-right: solid thin rgba(0, 0, 0, 0.14);
    border-bottom: solid thin rgba(0, 0, 0, 0.14);
}
.page #content .elementor-widget-image + .elementor-widget-text-editor ul > li {
    font-family: Arvo;
    width: 100%;
    line-height: 1.2;
    padding: 6px;
    margin-left: 15px;
    font-size: 14px;
}

.page .elementor-widget-image, .page .elementor-widget-image:not(:last-child) {
    border-left: solid thin rgba(0, 0, 0, 0.14);
    border-right: solid thin rgba(0, 0, 0, 0.14);
    margin-bottom: 0;
}

.page .elementor-widget-image .widget-image-caption {
    font-family: Arvo;
    font-weight: 600;
    color: #666;
    font-size: 17px;
    padding: 10px 5px;
}

.elementor-image a {
    position: relative;
}
.elementor-image a:hover:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(250, 87, 35,.3);
}

/* Single */

.single .entry-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.single #primary .entry-footer h5 {
    width: auto;
    margin: 0;
    flex: 100%;
}
.single #primary .entry-footer .postedby {
    width: auto;
    margin: 0;
}
.single #primary .entry-footer .postedon {
    display: inline-block;
    font-size: 15px;
    color: #aaa;
    margin: 15px 5px;
    width: auto;
}
.single #primary .entry-footer.sin-oferta .postedon {
    font-size: 25px;
    color: black;
    font-weight: 600;
}

.single #primary .entry-footer .iva {
    width: 10%;
    margin: 0;
    padding-left: 4px;
}

.site-content #secondary {
    display: flex;
    justify-content: flex-end;
}

#secondary aside {
    width: 100%;
    background: #ff5722;
    color: white;
    display: table;
    padding: 20px;
}

@media (min-width: 480px) {
    #secondary aside {
        width: auto;
    }
}

footer#colophon {
    color: white;
}

/* Owl Carrousel */
.home .owl-carousel .owl-dots.disabled, .home .owl-carousel .owl-nav.disabled {
    display: block;
}

/* Mobile Menu */
.mobile-menu #menu {
    border-left: none !important;
    background: rgba(255,255,255,.8) !important;
    border-radius: unset;
}

.mega-sub-menu .fpw-page-title {
    white-space: normal;
    line-height: 1.2;
}

@media only screen and (max-width: 600px) {

    #mega-menu-wrap-mobile #mega-menu-mobile > li.mega-menu-item > a.mega-menu-link {
        height: auto;
        white-space: unset;
        text-overflow: unset;
        line-height: 20px;
        padding: 10px;
        background: #333;
    }
}

/* Search */

body #adviso-search #search-icon, body.home #masthead #adviso-search #search-icon {
    color: black;
}
body #search-icon:hover, body.home #masthead #adviso-search #search-icon:hover {
    color: #FA5723;
}