/*
Theme Name: 	Hotcorn
Theme URI: 		http://hotcorn.com
Description: 	Il tema di The HotCorn.
License: 		Located in the 'Licensing' folder
License URI: 	Located in the 'Licensing' folder
Author: 		the hotcorn
Author URI: 	http://www.hotcorn.com/
Text Domain:    hotcorn
Domain Path:    /languages/
Version:        2.024119
Tags:           fluid-layout, custom-colors, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
*/
/*
    All CSS files are located under the "css" subfolder.

    PLEASE DON'T MODIFY THIS FILE.
    Use the provided child theme for all your modifications.
*/
.g1-drop-the-search.dropped-search > .g1-drop-content{
    visibility: visible;
    filter: alpha(opacity=1);
    opacity: 1;
}
.g1-off-global .g1-body-inner .g1-canvas{
    left: -320px;
    height: 100vh;
    padding-bottom: 60px;
}

.g1-off-global .g1-body-inner .g1-canvas .g1-primary-nav-menu > .menu-item > a {
    padding: 4px 0;
}
.g1-canvas .g1-primary-nav-menu>.menu-item{
    display: block;
}
.g1-off-global .g1-canvas .g1-primary-nav{
    display: block;
}
.g1-body-inner .g1-header .g1-dropable .menu-item-g1-standard:hover > .sub-menu,
.g1-body-inner .g1-header .g1-primary-nav-menu .menu-item:hover > .sub-menu{
    visibility: visible;
    opacity: 1;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=1);
}

.overbox-iframe{background-size: contain;position: absolute;width: 100%;height: 100%;top: 0px;left: 0px;right: auto;background-repeat:no-repeat;background-color:white;z-index:11;display:none; cursor: pointer;}
.overbox-iframe .btn_icon_youtube{position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    z-index: 42;
    background-image: url(./images/youtube-logo-icon.svg);
    background-size: 180px auto;
    background-position: left;
    background-repeat: no-repeat;
    width: 60px;
    height: 60px;
    background-color: red;
    border-radius: 30px;}
.overbox-iframe .btn_youtube{position:absolute; left:0px; bottom:0px;display:flex;flex-direction:row;align-items:center;padding: 10px 20px;box-sizing: border-box;
color:white;background-color:rgba(33, 33, 33, 0.68);font-weight: 500;}
.overbox-iframe .btn_youtube span{width:100px;height:20px;background-image:url(./images/youtube-logo-white.svg);background-size:contain;background-position:center;background-repeat:no-repeat;padding-left:10px;z-index:13;}
.overbox-iframe .btn_youtube:hover{background-color:rgba(33, 33, 33, 100);}

@media only screen and (max-width:769px){
.overbox-iframe{background:white!important;}
.overbox-iframe .btn_icon_youtube{display:none;}
.overbox-iframe .btn_youtube{bottom:auto;width:100%;top:50%;justify-content: center;top: 50%;transform: translateY(-50%);}
}


/* BANNER ADV */
/*.banner-adv-custom{display: none;}*/
.banner-adv-custom:empty{display: none!important;}
.banner-adv-custom img.mobile{display: none;}
.banner-adv-custom img.desktop{display: block;}

.g1-preheader > .g1-row-background{background-color:#252525;}
.banner-adv-custom.banner-head{width: 100%;max-width: 970px;max-height: 250px;margin: auto;}
.banner-adv-custom.banner-head img{width: 100%;height: 100%;object-fit: contain;object-position: center;}

.banner-adv-custom.banner-aside{width:100%;max-width:300px;max-height:250px;margin:auto;}
.banner-adv-custom.banner-aside img{width: 100%;height: 100%;object-fit: contain;object-position: top center;}

.banner-adv-custom.banner-head p,
.banner-adv-custom.banner-aside p{margin:0px;padding:0px; display: block;}

@media only screen and (max-width:769px){
    .banner-adv-custom img.mobile{display: block;}
    .banner-adv-custom img.desktop{display: none;}
}
/* BANNER ADV[END] */
