/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 CSS:          Henning
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/





/* ============================ color defs ============================ */
:root{
--cobBodyCont:#efefef;
--cobHeroHead:#da874e; /* brown:da874e orange:ffa100 */
--cobMagCal:#ffac75; /* Magellano light brown */
--cotLink:#e5823d; /* brown:da874e orange:ffa100 */
}

@media(prefers-color-scheme:dark){
:root{
--cobBodyCont:#333;
}}



body{margin:0;padding:0;overflow-y:auto;overflow-x:hidden}
body{-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{text-rendering:optimizeSpeed}
html{scroll-behavior:smooth;-webkit-touch-callout:none}
article,footer,header,figure,nav,section,body{margin:0;padding:0}
img{border-style:none}
.clear{clear:both;float:none}

#idPalazzo{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;display:flex;justify-content:center;align-items:center}
#idMission{display:flex;justify-content:center;align-items:center}

.footer-widget-1{text-align:center}
.footer-widget-1 a{text-decoration:underline;cursor:pointer}
.footer-widget-1 a:hover{color:#ff6900}






/* ============================ 404 + Search ============================ */

.error404 .inside-article{width:50%;margin:0 auto;padding:200px 0 700px 0;text-align:center}
.error404 h1{font-size:24px;margin:20px 0}
.error404 input,.error404 button{border-color:#999;border-radius:5px}

.search-results .site-main{width:50%;margin:0 auto;padding:200px 0 700px 0;text-align:center}
.search-results h1{font-size:28px;margin:20px 0}
.search-results h2{font-size:20px;margin:10px 0}
.search-results h2 a{color:#3498db}
.search-results h2 a:hover{text-decoration:underline}

@media (max-width:768px){
    .error404 .inside-article{width:100%;margin:0 auto;padding:30px 0 800px 0;text-align:center}
    .error404 input {width:70%}

    .search-results .site-main{width:100%;margin:0 auto;padding:50px 0 700px 0;text-align:center}
    .search-results h1{font-size:22px;margin:20px 0}
    .search-results h2{font-size:18px;margin:10px 0}
}





/* ============================ GeneratePress: modify breakpoint behaviour ============================ */
/* Generatepress main.css: "## Breakpoint" */

@media (max-width:299px){
    .inside-header{padding:30px 0 0 8px!important}
    .site-logo{width:180px!important}
}

@media (min-width:300px) and (max-width:549px){
    .inside-header{align-items:flex-start!important}
    .inside-header{padding:30px 0 0 30px!important}
    .site-logo{width:180px!important}
}

@media (min-width:550px) and (max-width:768px){
    .inside-header{align-items:flex-start!important}
    .site-logo{width:250px!important}
}

/*
.site-header {border: 1px solid red!important}
.inside-header{background:green}
.site-logo{background:blue}
*/





/* ============================ Cookie popup ============================ */

.cokWrap{visibility:hidden;opacity:0;z-index:100;position:fixed;width:280px;padding:10px;background:#fff;color:#666;border-radius:5px}
.cokWrap{bottom:10px;right:10px;box-shadow:0 0 10px 0 #666;transition:opacity 0.3s}
.popHead{text-align:center;margin:-10px -10px 10px -10px;border-radius:5px 5px 0 0;background:#666}
.popHead h3{padding:10px 0;margin:0;font-weight:600;font-size:18px;color:#fff}
.popST{overflow-y:auto!important;overflow-x:hidden!important;text-align:center}
.popST p{margin:0 5px 3px 5px;font-size:15px}
.butCof{display:inline-block;margin:5px;box-shadow:0 0 3px 0 #c8c8c8;cursor:pointer}
.butCof{padding:5px;color:#fff;border-radius:5px}
.butCof{width:100px;text-align:center;cursor:pointer;transition:color 0.3s,font-weight 0.3s}
.butCof:hover{color:#ff6900;font-weight:bold}
.bgSpaYes{background:#666!important}
.bgSpaNo {background:#ccc!important}
.bgSpaInf{background:#aaa!important}
.bgSpaDon{background:#666!important}



/* info popup */
.popIF{overflow-y:auto!important;overflow-x:hidden!important;text-align:left}
.popIF p{margin:0 5px 3px 5px;font-size:14px}
.cokWrap table{border-collapse:collapse;width:100%;margin:0;padding:0;border:none}
.cokWrap td{border:none;font-size:14px}
.cokWrap td:first-child{opacity:60%}
#ibCokDone{display:block;margin:10px auto}

/* click handler "cookie start" */
.popCokST{text-decoration:underline;cursor:pointer}
.popCokST:hover{color:#ff6900}

/* click handler "cookie settings" */
.popCokIF{color:#ff6900;cursor:pointer}
.popCokIF:hover{text-decoration:underline}




/* ============================ YouTube Lyte ============================ */
.yt-sub-cok{display:flex!important;justify-content:center;margin-top:-10px;font-size:12px}

/*
.lyte-wrapper{border:1px solid red!important;pointer-events:none!important}
.lyte-wrapper .play{display:none}
*/

/*
in js:
disable: document.getElementById('id').style.pointerEvents = 'none';
enable:  document.getElementById('id').style.pointerEvents = 'auto'; 
*/

/*
<style type="text/css">
	.lyte-wrapper-audio div, .lyte-wrapper div {margin:0px; overflow:hidden;}
	.lyte,.lyMe{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;background-color:#777;}
	.fourthree .lyMe, .fourthree .lyte {padding-bottom:75%;}
	.lidget{margin-bottom:5px;}
	.lidget .lyte, .widget .lyMe {padding-bottom:0!important;height:100%!important;}
	.lyte-wrapper-audio .lyte{height:38px!important;overflow:hidden;padding:0!important}
	.lyMe iframe, .lyte iframe,.lyte .pL{position:absolute !important;top:0;left:0;width:100%;height:100%!important;background:no-repeat scroll center #000;background-size:cover;cursor:pointer}
	.tC{left:0;position:absolute;top:0;width:100%} .tC{background-image:linear-gradient(to bottom,rgba(0,0,0,0.6),rgba(0,0,0,0))}
	.tT{color:#FFF;font-family:Roboto,sans-serif;font-size:16px;height:auto;text-align:left;padding:5px 10px 50px 10px}
	.play{background:no-repeat scroll 0 0 transparent;width:88px;height:63px;position:absolute;left:43%;left:calc(50% - 44px);left:-webkit-calc(50% - 44px);top:38%;top:calc(50% - 31px);top:-webkit-calc(50% - 31px);}
	.widget .play {top:30%;top:calc(45% - 31px);top:-webkit-calc(45% - 31px);transform:scale(0.6);-webkit-transform:scale(0.6);-ms-transform:scale(0.6);}
	.lyte:hover .play{background-position:0 -65px;}
	.lyte-audio .pL{max-height:38px!important}
	.lyte-audio iframe{height:438px!important}
	.ctrl{background:repeat scroll 0 -220px rgba(0,0,0,0.3);width:100%;height:40px;bottom:0px;left:0;position:absolute;}
	.lyte-wrapper .ctrl{display:none}
	.Lctrl{background:no-repeat scroll 0 -137px transparent;width:158px;height:40px;bottom:0;left:0;position:absolute}
	.Rctrl{background:no-repeat scroll -42px -179px transparent;width:117px;height:40px;bottom:0;right:0;position:absolute;padding-right:10px;}
	.lyte-audio .play{display:none}
	.lyte-audio .ctrl{background-color:rgba(0,0,0,1)}
	.lyte .hidden{display:none}
</style>

<style type="text/css">.lyte .ctrl, .lyte .Rctrl, .lyte .Lctrl, .lyte .play { background-image: url(http://localhost/it/wp-content/plugins/wp-youtube-lyte/lyte/lytesprite.png); }</style>

<style type="text/css">#lyte_P6PBX6oMsEw { background-image: url(//i.ytimg.com/vi/P6PBX6oMsEw/hqdefault.jpg); }</style>
*/
























