/* VERSIONE 14/04/2020 */

.strip_adk_close {
    position: absolute;
    width: 33px;
    height: 31px;
    cursor: pointer;
    top: 0;
    right: 5px;
    background: url(../../../adk_concessionaria/img/strip_adk_close.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    z-index: 9999999;
}

.strip_adk {
    position: fixed !important; /*Aggiungo !important perché c'è una classe .footer all'interno del file style.css del sito che va in conflitto con il nostro CSS*/
    overflow: hidden;
    left: 0;
    width: 100% !important; /*Aggiungo !important perché c'è una classe .footer all'interno del file style.css del sito che va in conflitto con il nostro CSS*/
    min-height: 0;
    background: #fff;
    z-index: 99998;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-align: center;
    display: block;

    height: auto !important; /*Aggiungo !important perché c'è una classe .footer all'interno del file style.css del sito che va in conflitto con il nostro CSS*/
    padding: 0 !important; /*Aggiungo !important perché c'è una classe .footer all'interno del file style.css del sito che va in conflitto con il nostro CSS*/
}
body .strip_adk.header {
    top: 0;
    box-shadow: 0px 3px 3px 0px rgba(50, 50, 50, 0.75);
}
body .strip_adk.footer {
    bottom: 0;
    box-shadow: 0px -3px 3px 0px rgba(50, 50, 50, 0.75);

    overflow: visible; /*Per fare in modo che i formati WOW siano visualizzati; con .strip_adk{overflow:hidden;} il WOW non si vede pur restando cliccabile. Bad UX.*/
}

#adk_interstitial {
  position: fixed;
  top: 0;
  left: 0;
}
#adk_interstitial[data-google-query-id] {
  z-index: -1; /* Ultima modifica apportata per sistemare le creatività erogate con AdForm */
  height: 100%;
  width: 100%;
  overflow: hidden;
}
#adk_interstitial.celtra-creative {
  z-index: -1;
}
#adk_interstitial[data-google-query-id].filled {
  z-index: 99999999998;
  background: rgba(0,0,0,0.65);
}
#adk_interstitial > div {
  /*position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.65);*/
  background-position: inherit !important;
  background-repeat: inherit !important;
}
#adk_interstitial.filled > div > iframe {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  -webkit-transform: translateX(-50%) translateY(-50%) !important;
  -moz-transform: translateX(-50%) translateY(-50%) !important;
  -o-transform: translateX(-50%) translateY(-50%) !important;
  transform: translateX(-50%) translateY(-50%) !important;

  /*width: 100% !important;
  height: 100% !important;*/
}
/** Celtra iFrame **/
#adk_interstitial, .celtra-outside-iframe-container, iframe.celtra-outside-iframe {
  max-width: 100%;
  max-height: 100%;
}
/** Sovrascrivo il CSS custom di AdForm e cerco di integrarne la funzionalità per l'interstitial **/
div.adk-slot.adfm-zindex-auto {
  height: 100%;
  width: 100%;
  position: fixed !important;
  z-index: 999999 !important;
}
/** fine **/

/*** Sovrascrivo il CSS dell'editore ***/
#adv_medium_bottom-sticky-wrapper {
    z-index: 999 !important;
}
/* Aggiustare l'allineamento delle ADV forzando la larghezza in 'auto' sovrascrivendo le dimensioni fisse che assegna Google Ad Manager */
#adk_header > div:not(.strip_adk_close), #adk_masthead > div, #adk_article-top > div, #adk_article-middle > div, #adk_article-bottom > div, #adk_spalla-top > div, #adk_spalla-middle > div, #adk_spalla-bottom > div, #adk_commenti-top > div, #adk_commenti-middle > div, #adk_commenti-bottom > div, #adk_footer > div {
  /*display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 !important;*/
}

/* Sistemo i blockquote degli articoli del sito */
@media (max-width: 480px) {
  body.single-post blockquote {
    padding: 10px 10px;
    margin: 0 -10px; }
}
/* Fixo il comportamento "apri/chiudi" del footer quando non viene fillato */
#adk_footer:not([data-google-query-id]) {
  max-height: 0px !important;
}