/*   
Theme Name: GF2020
Theme URI: <https://www.>
Description: Tema per il sito dello studio legale Fiorentino.
Author: <Enrico Natoli>
Author URI: <https://www.enriconatoli.net>
Version: 1.0
*/

/* FONT */



	/* CLASSI COMUNI */

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 100vh;
}

body {
  background: #fff;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #383737;
  background-color: #fff;
  min-height: 100vh;
}
p {
  font-family: 'Ubuntu';
}

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

a:hover {
  text-decoration: none;
}

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  line-height: 1.45;
  color: #383737;
  font-weight: bold;
  padding-bottom: 0;
  font-family: Cardo;
  border-bottom: 1px solid #fff;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 40px;
  border-bottom: 1px solid #a3bdd2; 
}

h1.titolo-pagina {
  margin-bottom: 0 !important;
  }
@media (max-width: 768px) {
  h3 {
    font-size: 1.2rem;
  }
}
h4 strong {
  border-bottom: 1px solid #4388be;
  color: #4388be;
}
h5 {
  border-left: none;
  padding-left: 0;
}
.alignright {
  text-align: right;
}
.margine-sotto {
  margin-bottom: 40px;
  margin-top: 30px;
}
.margine-sopra {
  margin-top: 40px;
}
.bordo-sopra {
  border-top: 1px solid #999;
  margin-top: 10px;
}
.padding10{
	padding: 10px 0;
}

/* MENU DI NAVIGAZIONE */
.logo-titolo {
}
.headerwrapper {
    background: linear-gradient(45deg, #4388BE, #11327b);
    border-bottom: 2px solid #11327b;
}
.headerwrapper .container {
  margin-top: 0;
}
@media screen and (max-width: 992px) {
  .logo-titolo {
    width: 80%;
    position: absolute;
    left: 5px;
  }
}.navbar {
    height: 90px;
    padding-left: 0;
}
.navbar-brand {
  padding-left: 60px;
}
.navbar-toggler {
  z-index: 10000;
  padding: 0;
  position: absolute;
  top: 24px;
  right: 5px;
  color: white;
  font-size: 1.2rem;
  border: none;
}
@media (max-width: 768px) {
  .navbar-toggler {
    top: 12px;
  }
}
.navbar-toggler-icon {
  padding-top: 4px;
  position: absolute;
  right: 0;
  border: none;
}
.navbar a {
  color: #fff;
}
.navbar a:hover {
  color: #666;
}
@media (max-width: 992px) {
.navbar-collapse {
  background-color: #0f3e50;
  margin-top: 72px;
  padding: 0 25px 10px 25px;
}
.nav-item {
  border-right: none !important;
}
.nav.item a:hover {
  background-color: #c6c6c6;
}
#italiano_menu {
  width: 100%;
  margin: 0 0 0 15px;
  padding: 0;
  display: block;
}
}
@media (max-width: 768px) {
.navbar-collapse {
  margin-top: 43px;
}
}
#menu-principale {
  padding-left: 10px;
  padding-top: 4px;
}
.nome-sito {
  font-family: Cardo;
  color: #fff;
  margin-top: 22px;
  font-size: 1.6rem;
  text-align: center;
  line-height: 0.5rem;
}
.nome-sito-riga2 {
  text-align: center;
  font-size: 2.2rem;
  font-family: Cardo;
  color: #fff;
}
@media screen and (max-width:768px) {
  .nome-sito {
    font-size: 1rem;
    margin-top: 22px;
  }
.nome-sito-riga2 {
  text-align: center;
  font-size: 1.4rem;
  margin-top: -16px;
}

}
.logo_header {
  max-width: 50px;
  margin-top: -8px;
  margin-left: 6px;
}
.menu-item img {
  width: 100px;
  border-radius: 50%;
}

.nav-link {
  font-size: 0.9rem;
}
#menu-principale a:hover {
  color: #030f17;
  text-decoration: underline;
}


/* HOMEPAGE */
#contenuto-homepage .wp-block-media-text__content p {
	font-family: Cardo;
	line-height: 1.8rem;
}
#contenuto-homepage .colonna-sx-hp {
	border-right: 1px solid lightgray;
}
@media all and (max-width: 600px) {
  #contenuto-homepage .colonna-sx-hp {
 border-right: none;}
  }
#contenuto-homepage .wp-block-button {
	letter-spacing: 2px;
}
#contenuto-homepage .wp-block-media-text>figure>img {
	    width: 100%;
    height: auto !important;
}
.contenuto-hp {
	padding: 0;
	margin: 0;
}
.wp-block-getwid-section__background {
	border-bottom: 6px solid #265798;
}
.contenuto-hp .wp-block-getwid-section__content {
  width: 100%;
  /*background-color: rgba(33, 92, 115, 0.8) !important;
  padding: 10px 140px;*/
  margin-top: 40vh;
}

@media all and (max-width: 768px) {
  .contenuto-hp .wp-block-getwid-section__content {
  padding: 10px 10px;
  margin-top: 20vh;  
}
}
.contenuto-hp .section-homepage-links .wp-block-getwid-section__content{
  background-color: #f7f0f0 !important;
  margin-top: 0 !important;
}
.contenuto-hp .section-homepage-links .wp-block-getwid-section__content h3 {
  border-bottom: .5px solid #9A9E9E;
}
.contenuto-hp .section-homepage-links .wp-block-getwid-section__content a{
  color: #4388be;
}
@media all and(max-width:426px) 
.contenuto-hp .section-homepage-links .wp-block-getwid-section__content a:hover{
  color: #030f17;
}
.contenuto-hp .wp-block-group__inner-container {
  margin: 20px 20vw;
}
.contenuto-hp .section-homepage-links .wp-block-getwid-section__inner-content {
  padding: 60px 10% 20px 10%;
}
.wp-block-getwid-section__wrapper {
  padding: 0 !important;
}
.contenuto-hp .wp-block-getwid-section__content a {
  color: lightgray;
}
.contenuto-hp .wp-block-getwid-section__content a:hover {
  color: #030f17;
}
.wp-block-column h6 {
  font-size: 0.8rem;
}
@media (max-width:768px) {
.wp-block-column {
  padding: 20px 20px 0 20px !important; 
  }
}
.wp-block-button__link {
  margin-bottom: 20px;
}

@media (max-width: 792px) {

.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{
    /*-ms-grid-column: 1;*/
    grid-column: 1;
    /*-ms-grid-row: 2;*/
    grid-row: 2;
}
}

/* MODULI DI SELEZIONE E INVIO DATI */
label, input, textarea {
	width: 100% !important;
}
input[type="submit"] {
  background: linear-gradient(135deg,rgb(26,144,212) 0%,rgb(8,56,159) 100%);
  border: none;
  padding: 8px 0;
  color: #fff;
  text-transform: uppercase;
  border-radius: 6px;
}
input[type="submit"]:hover {
  background: linear-gradient(135deg,rgb(8,56,159) 0%,rgb(26,144,212) 100%);
	color: #fff;
}
label {
  font-weight: 700;
  padding: 5px 0;
  font-family: Cardo;
  font-size: 1.2rem;
}
.wpcf7-form-control-wrap {
  margin-top: 3px;
  display: block;
  font-family: Ubuntu;
  font-size: 1rem;
  font-weight: normal;
  border: none;
}
textarea, input[type="text"], input[type="email"] {
  padding: 10px;
  border: none;
  background-color: #fff;
  }
.site-tab-nav {
  padding: 0;
  margin: 0;
  display: inline-block !important;
}

@media screen and (max-width: 576px) {
  .site-tab-nav {
    display: block !important;
    margin-bottom: 10px;
    width: 100% !important;
  }
}

.site-tab-nav li {
  padding: 0;
  margin: 0 5px;
  display: inline-block !important;
}

@media screen and (max-width: 576px) {
  .site-tab-nav li {
    display: block !important;
    margin-bottom: 10px;
    width: 100% !important;
  }
}
.dropdown-menu {
  background-color: #375e7d;
  padding: 0;
}
.dropdown-toggle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding-left: 10px;
    padding-right: 10px;
    list-style-type: none;
}
.dropdown-item {
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 10px 10px;
    border-bottom: 1px solid #c6c6c6;
}
a.dropdown-item.nav-link {
    color: #666 !important;
}
.nav-item {
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-right: 1px solid #4c83b1;
}

/* CONTENUTO PAGINE E ARTICOLI */
.container {
  margin-top: 62px;
}
.wp-block-media-text {
  margin-bottom: 20px;
}
.corpo-articolo {
  margin-top: 20px;
}
.wp-block-quote {
  font-weight: 700;
  font-size: 1.6rem;
  margin: 30px 0;
  border-left: 4px solid #2f65a2;
  padding: 25px;
}
.wp-block-quote p {
  font-family: Cardo;  
  margin-bottom: 0;
}
.wp-block-image {
  margin: 30px 0;
}
.wp-block-column h4 {
  border-bottom: none;
}
.wp-block-columns p {
  margin: 30px 0;
}
.wp-block-getwid-accordion__header-title {
  font-family: Cardo;
  font-size: 1.2rem;
}
.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:first-child, .wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper {
	border: none;
}



/* FOOTER */

#footer {
  background: linear-gradient(45deg, #4388BE, #11327b);
	color: #fff;
}
#footer-contenitore {
	padding: 140px 25px 10px 25px;
	margin: 0;
}
.footer-intestazione {
	font-family: Cardo;
	font-size: 1.6rem;
	height: 80px;
	border-bottom: 1px solid #cecece;
	padding-top: 28px;
}
.footer-indirizzo {
	font-size: 0.9rem;
	line-height: 1.15rem;
}
.footer-menu {
	text-transform: uppercase;
	font-size: 0.8rem;
}
.footer-crediti {
  line-height: 1.2rem;
  background: rgba(19, 54, 126, 0.85);
  color: #999;
  font-size: 0.8rem;
  text-align: center;
}
.top-link {
  text-align: center;
  display: block;
}
@media (max-width:576px) {
  .footer-indirizzo, .footer-menu {
    text-align: center;
  }
  .footer-menu {
    margin-top: 12px;
  }
  .mr-auto, .ml-auto {
    text-align: center;
    width: 100%;
  }
  .footer-intestazione {
    display: block !important;
    text-align: center;
  }
}
.footer-link a {
	color: #fff;
}

/* MOBILE AND TABLET ADJUSTMENTS */

@media screen and (max-width: 768px) {
  .navbar {
    height: 50px;
  }
  .logo_header {
    max-width: 40px;
  }
}
/* VIDEO */
  .embed-container { 
        position: relative; 
        padding-bottom: 56.25%;
        overflow: hidden;
        max-width: 100%;
        height: auto;
        margin: 20px auto;
        border: 6px solid crimson;
    } 

    .embed-container iframe,
    .embed-container object,
    .embed-container embed { 
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
/* ADDTOANY */
.a2a_menu, .a2a_menu_find_container, .a2a_svg, .a2a_s__default, .a2a_s_facebook {
  border-radius: 24px!important;
}
@media all and (max-width: 1024px) {
  .lista-item {
  width: 100%;
  }
}

/* BREADCRUMB */
.social-crumb {
  margin-top: 16px;
}
.bread_crumb {
  width: 100%;
  list-style-type: none;
  padding-left: 0;
  font-size: 0.9rem;
  text-align: right;
}
.bread_crumb li {
  display: inline-block;
}
.bread_crumb li::before {
  content: " | ";
}
.img-fluid {
  max-height: 400px;
  width: auto;
}
/* CATEGORIA */
.archive-title {
  font-family: Cardo;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px #000;
  background: rgba(0,0,0,0.5);
  padding: 10px;
}
.contenitore-categoria {
  padding:0 25px;
  margin: 0 auto;
}
.paginazione {
  padding-left: 15px;
  background-color: #265798;
  width: 100%;
  display: block;
  margin: 0 auto 100px auto;
}
.nav-previous, .nav-next {
  padding-bottom: 4px;
  width: 50%;
  font-size: 0.8rem;
}
.nav-previous a:hover, .nav-next a:hover {
  background-color: #6f051d;
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 4px;
}
.nav-next {
  text-align: right;
}
.paginazione a {
  color: #fff;
}
.articolo-categoria {
  border-bottom: 4px solid #4892b9;
  margin: 0;
  padding: 0;
  width: 100%;
}
.titolo-categoria {
  padding-top: 140px;
  padding-left: 20px;
  border-bottom: 1px solid #666;
  font-family: Cardo;
  text-shadow: 2px 2px #000;
  border-left: 8px solid lightgray;
  margin: 0;
}
.riassunto-categoria {
  text-shadow: 2px 2px #000;
}
a h2.titolo-categoria, a .riassunto-categoria {
  color: #fff;
  transition: all 0.6 ease;
}
a:hover h2.titolo-categoria, a:hover .riassunto-categoria {
  background-color: #4892b9;
  transition: all 0.6 ease;
}
.riassunto-categoria {
padding-bottom: 20px;
padding-left: 20px;
border-left: 8px solid lightgray;
}
/* MAPPA GOOGLE */
#mappa-google, .wp-block-embed__wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; width: 100%; border: 2px solid #1b4389;
  border-radius: 0;
}
#mappa-google iframe, .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.wp-block-embed__wrapper {
  border-radius: 0;
}
/* CATEGORIA GLOSSARIO GIURIDICO */
.categoria-glossario-giuridico {
	padding: 20px 10%;
}