/*
Theme Name: STUDIO VARCHI
Theme URI:
Author: Claudio Nasuelli
Author URI:
Description: Starter Theme with Font Awesome and Bootstrap 4
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: nx

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.admin-bar .fixed-top{top:30px}

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding-top: 76px;
}

.main-content{
  flex:1;
}

h1,h2,h3,h4,h5,h6{padding-top: 20px; color: #000000;}

a{color:#000;}
a:hover{color: #000;}

.animate{
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}


.footer-testi a{color:#b5d532;}
.footer-testi a:hover{color:#188b73;}

.btn-primary {background-color: #31BE80;border-color:#31BE80}

/* -------------------------------------------------------------------------------- */
/* ! Menu - testata */
/* -------------------------------------------------------------------------------- */

.bg-light{background: #fff!important; box-shadow: 0 5px 20px rgba(0,0,0,.05); border-bottom: 9px solid #fee400;}


.navbar-brand img{height: 80px;}

.ombra{text-shadow: 3px 3px 8px #000;}

img {height: auto;}

/* Colori pulsanti del menu
-------------------------------------------------------- */

.navbar-light .navbar-nav .nav-link {color: #000; text-transform: uppercase; margin-right: 3px; font-weight: 600;}

.navbar-light .navbar-nav .nav-link:hover{color: #000; background: #fee400; border-radius: 28px; transition: all 1s cubic-bezier(.215, .61, .355, 1); transition-delay: 0s; will-change: transform, opacity;}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
 color:#000;
}

/*.rettangolo{border: 1px solid #000; margin-right: 12px; border-radius: 28px;}
.rettangolo:hover{border: 1px solid #fff; border-radius: 28px;}*/

.dropdown-item.active,
.dropdown-item:active {
 color:#000;
 text-decoration:none;
 background-color:#fee400;
}



/* -------------------------------------------------------------------------------- */
/* ! Toggle menu */
/* -------------------------------------------------------------------------------- */

.navbar-light .navbar-toggler {
 color:#fff;
 border-color:#fff;
}

.navbar-light .navbar-toggler-icon {
 background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.navbar-toggler-icon {
width: 33px;

}


/* -------------------------------------------------------------------------------- */
/* ! Blocco Media */
/* --------------------------------------------------------------------------------
.blocco-media{padding: 90px 20px;}
.blocco-media img{height: auto;width: 100%;max-width: 750px; display: block; margin: 20px auto; box-shadow: 0 5px 20px rgba(0,0,0,.55); border-radius: 20px;}
.block-ps-panel__text{max-width: 750px; display: flex; width: 100%; height: 100%; align-items: center;padding: 20px;}
.block-ps-panel__text h3{margin-bottom: 10px;}

.blocco-media {background: #004d99;padding: 10px;border-radius: 20px;margin-bottom: 60px; margin-right: 30px;}
.blocco-media img{margin-right: -23px; margin-bottom: -30px;border-radius: 20px;}   */

.blocco-media{margin-top: 100px;}
.blocco-media .wp-block-media-text__media{background: #fee400;padding: 30px;border-radius: 10px;margin-bottom: 60px; box-shadow: 0 5px 20px rgba(0,0,0,.55);}
.blocco-media .wp-block-media-text__media img{margin-bottom: -60px;border-radius: 10px;}



.post-img{background: #fee400;padding: 30px;border-radius: 10px;margin-bottom: 60px;}
.post-img img{margin-bottom: -60px;border-radius: 10px;}



/* Colori titoli pagine
-------------------------------------------------------- */
.display-4 {color: #000; text-transform: uppercase; font-weight: 400; margin-top: 33px;}

/* Colori pulsante
-------------------------------------------------------- */

.btn-primary:hover {
 color:#fff;
 background-color:#188b73;
 border-color:#b5d532;
}


/* Gutenberg
-------------------------------------------------------- */
.wp-block-cover{margin-bottom: 20px;}

@media (min-width: 768px) {
  .min-height{height: 600px; margin: 100px 0!important}
  .min-height .wp-block-media-text__media img{height: 600px; object-fit: cover;}
}



.max-width{max-width: 800px;margin: 0 auto}


.wp-block-columns h3{font-size: 32px;margin-bottom: 20px;}
.wp-block-columns h2{margin-bottom: 20px;}
.wp-block-columns li{font-size: 18px;margin-bottom: 8px;}

.wp-block-image{margin-bottom: 20px!important;}

.mt-big{margin-top: 100px}
.mb-big{margin-bottom: 100px}

.wpcf7-submit{padding: 15px 40px; display: inline-block;background: #fee400; color: #000; font-weight: 600;}

/* Comments
-------------------------------------------------------- */
#comments{margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{ min-width: 80px;}
.comments ul,
.comments ol{list-style-type: none;}
.comment-author img{border-radius: 999px; width:50px;}
.comment .reply{border-bottom:  1px solid #ccc; margin-bottom: 30px;padding-bottom: 10px;}


/* Input & textarea
-------------------------------------------------------- */
input,
textarea{padding: 5px 10px; border: 3px solid #ccc; width: 100%; border-radius: 4px}
label{width: 100%}

/* Pulsante accettazione
-------------------------------------------------------- */
input[type="checkbox" i] {
    background-color: initial;
    cursor: default;
    -webkit-appearance: checkbox;
    box-sizing: border-box;
    margin: 1px 23px 1px 1px;
    padding: initial;
    border: initial;
}


/* Widgets
-------------------------------------------------------- */
.widget_search .screen-reader-text{display: block;}
.widget_search #s{width:70%;float:left;}
.widget_search #searchsubmit{width:30%;float:left;background: #fff;}


/* pagination
-------------------------------------------------------- */
.pagination{margin-bottom:40px}
.page-numbers{display: inline-block;padding: 10px 15px;border: 1px solid #ddd;margin-right:4px;}

/* general wordpress style
-------------------------------------------------------- */
.post img{max-width: 100%; height:auto;}



/* WordPress Core Styles
-------------------------------------------------------------- */
 .gallery-caption{padding:5px; font-size: 10px;}
 .bypostauthor{border-left: 3px solid #ddd;padding-left: 20px;}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}



/* -------------------------------------------------------------------------------- */
/* ! Gutemberg */
/* -------------------------------------------------------------------------------- */
.main-content{overflow: hidden;}

.wp-block-image,
.wp-block-columns,
.wp-block-cover,
.wp-block-gallery,
.wp-block-text-columns,
.wp-block-button,
.wp-block-quote,
.wp-block-quote.is-large,
.wp-block-code,
.wp-block-audio,
.wp-block-video,
.wp-block-preformatted,
.wp-block-verse,
.wp-block-separator,
.wp-block-categories,
.wp-block-categories-list,
.wp-block-latest-posts,
.wp-block-embed-twitter,
.wp-block-embed-youtube,
.wp-block-embed-facebook,
.wp-block-embed-wordpress,
.wp-block-embed-vimeo,
.wp-block-media-text {
  margin-bottom: 40px;}

/* -------------------------------------------------------------------------------- */
/* ! General */
/* -------------------------------------------------------------------------------- */
/* .container-block-editor h1,
.container-block-editor h2,
.container-block-editor h3,
.container-block-editor h4,
.container-block-editor p {
  margin-bottom: 35px; } */

.has-small-font-size {
  font-size: 13px;
  line-height: 23px; }

.has-large-font-size {
  font-size: 36px;
  line-height: 54px; }

.has-larger-font-size {
  font-size: 42px;
  line-height: 63px; }


.wp-block-cover{height: auto;}

/* -------------------------------------------------------------------------------- */
/* ! Code */
/* -------------------------------------------------------------------------------- */
.wp-block-code {
  border: 1px solid #ddd;
  padding: 20px; }

.wp-block-code {
  overflow: auto; }

/* -------------------------------------------------------------------------------- */
/* ! Video */
/* -------------------------------------------------------------------------------- */
.wp-block-video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

.wp-block-embed-vimeo .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }

.wp-block-embed-vimeo .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

  /* ------------------------------------------------------------------------- *
        /* 2.6 Footer */
        /* ------------------------------------------------------------------------- */
        .footer { margin: 0; width: 100%;

          background:#3d3d3d;

        color: #fee400; }
        .footer p{margin: 0; font-size: 14px;}

        .footer a{color:#fee400!important;}

        .footer hr{border-color:#fff;margin-bottom: 5px;}
        .footer .container{ padding: 20px; }

        .footer__logo img{width:200px;height: auto;}
        .footer__menu{list-style-type: none;padding: 0;margin: 5px 0 0 0; margin-top: 23px; text-align: right;}
        .footer__menu li{display: inline-block;vertical-align: top; text-transform: uppercase;}
        .footer__menu li a{padding: 10px;}
        .footer__menu li ul{font-size: 12px; margin-top: 10px;padding: 0;}
        .footer__menu li ul li{display: block;}

        .footer__bottom{
          background: transparent;

          padding-top: 5px;}

        .alignright { float: right; margin-bottom: 10px; margin-left: 20px; max-width: 97%; height: auto; }
        .alignleft { float: left; margin-right: 20px; margin-bottom: 10px; max-width: 97%; height: auto; }

        .pre-footer ul{list-style-type: none; padding: 0;}
        .pre-footer ul li a{padding: 4px;display: block;color:#999;font-size: 18px;margin-bottom: 15px;}
        .pre-footer ul li a:hover{color:#FD204D}

  /* ! Chat Whatsapp */
  .chat{background: #12af00;width: 55px;height: 55px;border-radius: 55px; position: fixed; bottom:20px; left:50px;text-align: center;z-index: 99999; animation: chat-pulse 1s infinite;}
  .chat .fa{line-height: 55px; font-size: 30px;color:#fff}

  @keyframes chat-pulse{
    0% {box-shadow: 0 0 0 0px rgba(229, 208, 171, 0.3);}
    100% {box-shadow: 0 0 0 35px rgba(26, 255, 0, 0);}
  }

  @media (max-width: 767px) {
     .chat{left:3px; /*bottom: 3px;*/ bottom: 65px;}
  }


    /* ! Chiamata*/
    .chiamata{background: #fee400;width: 55px;height: 55px;border-radius: 55px; position: fixed; bottom:20px; right:50px;text-align: center;z-index: 99999; animation: chat-pulse 1s infinite;}
    .chiamata .fa{line-height: 55px; font-size: 30px;color:#000}

    @keyframes chat-pulse{
      0% {box-shadow: 0 0 0 0px rgba(229, 208, 171, 0.3);}
      100% {box-shadow: 0 0 0 35px rgba(26, 255, 0, 0);}
    }

    @media (max-width: 767px) {
       .chiamata{right:3px; /*bottom: 3px;*/ bottom: 65px;}
    }

    /* ! Social icons */
.social-icons{width: 100px;position: fixed;bottom:50%; transform: translateY(50%);right:30px; z-index: 9999;}
.social-icons a{width: 100%;display: block;padding: 20px;text-align: center;}
.social-icons a img{width: 40px; background-color: #fff; margin: 0; padding: 10px; border-radius: 10px; border: 1.5px solid #000;}
.social-icons a:hover img{width: 40px; background-color: #fee400; margin: 0; padding: 10px; border-radius: 10px; transition: all 1s cubic-bezier(.215, .61, .355, 1); transition-delay: 0s; will-change: transform, opacity;}

@media (max-width: 768px) {
  .social-icons{display: none;}
}

.grey img{filter: grayscale(0%); transition: all 1s cubic-bezier(.4, .0, .0, 1);}
.grey img:hover{filter: grayscale(100%);transition: all 1s cubic-bezier(.215, .61, .355, 1); transition: all 1s cubic-bezier(.4, .0, .0, 1);}

/* -------------------------------------------------------------------------------- */
/* ! Performatted */
/* -------------------------------------------------------------------------------- */
.wp-block-preformatted {
  overflow: hidden; }

/* -------------------------------------------------------------------------------- */
/* ! Pullquote */
/* -------------------------------------------------------------------------------- */
.wp-block-pullquote blockquote {
  border: none; }

.wp-block-pullquote p {
  font-weight: bold; }

  /* ----------------------------------------------
Risoluzione ipad orizzontale
-------------------------------------------------*/
@media (max-width:1400px){
  .navbar-nav{text-align: center;}
  .titoloarticolo strong{font-size:28px;}
  .titolosottoarticolo strong{font-size:23px;}
  .vuoto{height: 60px!important;}
  }

  @media (max-width:998px){
.titoloarticolo strong{font-size:20px;}
.titolosottoarticolo strong{font-size:16px;}
}

/* ----------------------------------------------
Risoluzione ipad verticale
-------------------------------------------------*/
@media (min-width:800px){
    .navbar-nav{text-align: center;}
    .rettangolo{border: 1px solid #fff!important;}
}

@media (max-width:767px){
.logo-hero{display: none!important;}
.vuoto{height: 100px!important;}
.wp-block-cover{min-height: 400px!important;}
.alt-mobile{min-height: 400px; }
.navbar-nav{text-align: center;}
.chat, .chiamata {bottom: 0px!important;}
.media-text{font-size: 18px!important;}
.titoloarticolo strong{font-size:33px!important;}
.titolosottoarticolo strong{font-size:14px;}
.nav-link{text-align: center;}
/*.rettangolo{border: 1px solid #000; margin: auto; border-radius: 28px; width: 50%; width: 50%; margin-bottom: 12px; text-align: center;}*/
.blocco-media .wp-block-media-text__media{background: #fee400;padding: 10px;border-radius: 10px;margin-bottom: 60px; box-shadow: 0 5px 20px rgba(0,0,0,.55);}
}



  @media only screen and (min-width: 960px) {
    body .alignfull {
      width: auto;
      max-width: 1000%;
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
    }
    body .alignwide {
      width: auto;
      max-width: 1000%;
      margin-right: calc(25% - 25vw);
      margin-left: calc(25% - 25vw);
    }
    .alignwide img,
    .alignfull img {
      display: block;
      margin: 0 auto;
    }
  }
