/*
Theme Name: andrea
Author: Giulia Fabris
Author URI: https://www.giuliafabris.it
Description: Andrea Grotto portfolio Tema custom
Tags: andrea grotto, tema custom, andrea theme
Version: 1.0.0
Text Domain: andrea
*/

/* =WordPress Core
-------------------------------------------------------------- */
/*MODIFICHE DA EDITOR*/


.article-item h1{
	    font-size: 21px!important;
    text-transform: uppercase;
	font-weight:800!important;
}

.wp-block-uagb-container.uagb-block-25a29782{
	align-items:inherit!important
}
.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-8f220ed3 > .uagb-container-inner-blocks-wrap{
	align-items:inherit!important
}
.uagb-container-inner-blocks-wra{
	align-items:inherit!important
}
.wp-block-uagb-container{
	display:block!important;
}
.uagb-block-681e8a3b .uagb-post__text.uagb-post__title a{
	text-transform:uppercase;
}

/*/


.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;
}
.spectra-image-gallery__control-lightbox--main .swiper-slide img{
 display: block!important;
    max-width: 80vw!important;
    max-height: 70vh!important;
    width: auto!important;
    height: auto!important;
    object-fit: contain!important;
}
.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 {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

* {
  margin: 0;
  padding: 0;
}
.clearer {
  clear: both;
}
img {
  border: none;
  height: auto;
}
*:focus{
  outline: none;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #F6F6F6;
}
header,
nav,
article,
aside,
section,
footer,
main,
figure,
figcaption {
  display: block;
}
.clearfix::before,
.clearfix::after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.clearfix::after {
  clear: both;
}
.content {
  width: 1170px;
  margin: 0 auto;
}
.content-add{
  width: 1200px;
  margin: 0 auto;
}
.min {
  min-height: 900px;
}
.row {
  width: 100%;
  clear: both;
  display: block;
}
.col-1 {
  width: 8.33333%;
  float: left;
}
.col-2 {
  width: 16.6666%;
  float: left;
}
.col-3 {
  width: 25%;
  float: left;
}
.col-4 {
  width: 33.33333%;
  float: left;
}
.col-6 {
  width: 50%;
  float: left;
}
.col-8 {
  width: 66.666666%;
  float: left;
}
.col-10 {
  width: 83.3333%;
  float: left;
}
.divider {
  padding: 20px 0;
}
.divider-big {
  padding: 60px 0;
}
.responsive,
.responsive img {
  width: 100%;
  height: auto;
}
.center {
  text-align: center;
}
.justify{
  text-align: justify;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}
section,
article {
  padding: 70px 0;
}
.grey {
  background: #efefef;
}

/** Global style **/
.container{
  display: flex!important;
}
.item-16{
  flex-basis: 16.6%;
}
.item-22{
  flex-basis: 22%;
}
.item-33{
  flex-basis: 33%;
}
.item-40{
  flex-basis: 40%;
}
.item-50{
  flex-basis: 50%;
}
.item-60{
  flex-basis: 60%;
}
.item-70{
  flex-basis: 70%;
}
/** Typography **/
h1 {
  font-size: 21px;
  color: #222;
}
h2 {
  font-size: 18px;
  color: #222;
}
h3 {
  font-size: 15px;
  color: #222;
}
h4 {
  font-size: 15px;
  color: #222;
  font-weight: 400;
}
}
h5{
  font-size: 18px;
  color: #222;
  font-weight: 400;
}
h6
{
  font-size: 15px;
  color: #222;
  font-weight: 300;
}
p{
  font-size: 18px;
  color: #222;
  text-align: justify;
}
p,
span,
time {
  font-size: 14px;
  font-weight: 300;
}
blockquote {
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  border-left: 4px solid #efefef;
  padding-left: 30px;
}
ul,
ol {
  margin-left: 15px;
  font-size: 14px;
  font-weight: 300;
  line-height: 24px;
}
.justify{
  text-align: justify;
}

/** header **/
.header {
  width: 100%;
  background: ;
  padding-top: 30px;
  padding-bottom: 30px;
}

#menu-menu-1{
  padding-top: 15px;
}
.menu-color{
  background-color: #28282B;
}
.menu li {
  display: inline!important;
  font-size: 20px;
  text-transform: uppercase;
  padding: 35px 20px 0 0px;
}
.menu a {
  color: #efefef;
  text-decoration: none;
  transition: 0.3s;
  padding: 10px;
}
.menu a:hover,
.current-menu-item > a {
background-color: #F3C901;
border: 1 solid #131314;
border-radius: 2px;
}
.item-logo{
  flex-basis: 20%;
}
.item-header{
  flex-basis: 80%;
  width: 100%;
  margin: 0 auto;
}
.social a img{
  width: 20px;
  padding-right: 5px;
  padding-top: 15px;
}
.logo a{
  text-transform: uppercase;
  color: #222;
  text-decoration:none;
  font-size: 30px;
  font-weight: 600;
}
/** Burger Button **/
.navbar {
  width: 100%;
  display: none;
}
.icon-bar {
  display: block;
  width: 20px;
  height: 3px;
  margin: 0px auto;
  background-color: #efefef;
  margin-bottom: 5px;
}

/*serach*/

.main {
}
.main h1,
.main h2,
.main p {
  color: #000;
  padding: 0 15px 0;
}
.main a {
  text-decoration: none;
  color: #efefef;
  transition: 0.3s;
  font-size: 18px;
  font-weight: 700;
  z-index: 500;
}
.main a:hover {
  color: #efefef;
}
/***Scroll to top***/
.top {
  width: 40px;
  height: 40px;
  background-color: rgba(243, 202, 0, 0.5);
  line-height: 40px;
  text-align: center;
  color: #FFEDF8;
  font-size: 24px;
  position: fixed;
  bottom: 30px;
  right: 10px;
  z-index: 99999;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 4px;
}

.top:hover {
  background-color:#F3CA00;
}

/**front-page**/
main,
.hero-section {
  background: url(img/sfondo-color.png) no-repeat center center scroll;
  background-size:cover;
  background-attachment: fixed;
  width: 100%;
  height: 100vh; /*tutto lo spazio a disposizione*/
}
main,
.hero-section-2 {
  background: url(img/sfondo-color.png) no-repeat center center scroll;
  background-size:cover;
  background-attachment: fixed;
  width: 100%;
}

.item-front-page1{
flex-basis: 20%;
}
.item-front-page1 h2{
  font-size: 15px;
  font-weight: 500;
  color:#efefef;
  text-align: left!important;
}

.title-front-page h1{
  color:#222;
  line-height: 30px;
}
.item-front-page h2{
  padding-top: 400px;
  color:#222;
}
.title-front-page p{
  color:#222;
  padding-top: 20px;
  text-align: center;
}
.item-front-page1 img{
  width: auto;
  height: 400px;
  float: right;
  padding-bottom: 30px;
}
.img-news img{
  width: 300px;
  }
.wp-block-columns.are-vertically-aligned-top {
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
}
.wp-block-image img{
  width: 800px!important;
}

.line-page{
  width: 200px;
  height: 10px;
  background-color: #F3C800!important;
  float: left;
}
.line-single{
  width: 200px;
  height: 5px;
  background-color: #F3C800!important;
  float: left;
}

.has-white-background-color{
	background-color:rgba(255,255,255,0.1)!important;
}

/**              masorny             **/
.masorny{
  margin: 24px 0;
  column-gap: 24px;
}
.masorny img{
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 9000;
}
.masorny img:hover{
  background:rgba(237, 64, 139, 0.9);
  z-index: 9800;
}
.wrapper {
  width: 1000px;
  margin: 55px auto;
}

/***/
@media only screen and (min-width: 1280px) {

 .wrapper {
   width: 1000px;
 }
}

@media only screen and (min-width: 1170px) {

 .masorny {
   column-count: 4;
 }
}

@media only screen and (min-width: 992px) {

 .masorny {
   column-count: 3;
 }

}

@media only screen and (min-width: 768px) {


}
/***DIPINTI_SCULTURE_DISEGNI***/
.style-img-block{
  width: 100%;
  margin: 0 auto;
}
.item-img a img{
  width: 70%;
  height: auto;
  padding: 30px;
margin: 0 5%;
}
.item-img h2 {
  font-size: 12px;
  text-align: center;
  font-weight: 300;
  color: #000;
  text-decoration: none;
  padding-top: 10px;

}


/****Article***/
.container-article {
  width: 1000px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  padding-left: 0px;
}
.container-article .responsive, .responsive img{
  width: 300px;
  height: 250px;
}
.article-item h1 {
  font-size: 12px;
  text-align: center!important;
  text-transform: uppercase;
  font-weight: 300;
  color: #000;
  text-decoration: none;
  padding-bottom: 30px;
}
.container-article .article-item a img{
  padding: 0 15px;
  padding-bottom: 0;
}
article a{
  text-decoration: none;
  color:#222222;
  font-weight: 500;
}
article a:hover{
  color:#AA8900;
  transition: 0.5s;
}
.article-item h1{
  padding: 0!important;
}
.container-category {
  width: 700px;
  display: flex;
  flex-wrap: wrap;
  padding-left: 0px;
  padding-bottom: 0px;
}
.container-category .item-category {
  padding: 0 15px;
  padding-bottom: 0;
}
.item-category a {
  font-size: 20px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  font-weight: 300;
}
.item-category a:hover{
  font-weight: 600;
}
.item-category > a {
  color: #000;

}
/***Project page**/
.box-1-project{
  width: 100%;
  padding: 0 5px;
}
  .text-project{
    text-align: justify;
  }
  .project h1{
    text-align: left!important;
  }
  .line-green{
    width: 200px;
    height: 10px;
    background-color: #F3C800;
    margin: 20px 0;
  }
  .single-project{
    font-size: 21px!important;
    text-transform: uppercase;
  }

  .box-2-project{
    width: 100%;
    margin: 0 auto;
  }
  .item-img {
  padding: 5px;
  }
  /** Footer **/
.footer {
  width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}
.footer h3{
  font-size: 15px;
}
.footer a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
}
.footer a:hover{
  color:#B78B00;
  transition: 0.5s;
}
.container-footer{
  display: flex;
}
.item-footer{
  padding: 80px;
  flex-basis: 20%;
}
.item-footer h2{
  font-size: 13px;
  font-weight: 500;
  padding-bottom: 30px;
}
.item-footer h3{
  font-size: 13px;
  font-weight: 500;
}

/** Page **/
.main-page {
  padding: 50px 0;
  background-image: url(img/bg-page.jpg);
}
.page-item p,
.page-item ul,
.page-item ol {
  margin-bottom: 40px;
}
.page-item blockquote {
  margin-bottom: 40px;
}
.page-item img {
  margin-bottom: 40px;
  width: 100%;
  height: auto;
}
.page-item a {
  color: #222;
  font-weight: 400;
  transition: 0.3s;
}
.page-item a:hover {
  text-decoration: none;
  color: #777;
}
/**Page Link**/
.page-link-button a{
  background: #f6f6f6!important;
}
/** Single **/
.taxonomy {
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
  padding: 20px 0;
}
.taxonomy a {
  font-size: 14px;
  text-decoration: none;
}
.category {
  margin-bottom: 20px;
}
.post-categories {
  list-style: none;
  display: inline;
  margin-left: 0;
}
.post-categories li {
  display: inline;
}
.tags {
  font-size: 14px;
  font-weight: 300;
}
.tags a:first-child {
  margin-left: 5px;
}
.single a {
width: 100%;
height: auto;
margin: 0 auto;
}
.single p{
  font-size: 18px;
  text-align: justify;
}
.single-img img{
  width: 600px;
  height: auto;
  margin: 0 25%;
}
.single p a{
  color: #2e2e2e;
  text-transform: uppercase;
  text-decoration: none;
}
.single p a:hover{
  color: #000;
  transition: 0.5s;
}
.wp-block-columns{
  width: 1000px;
}
#lightbox.lightbox .lb-image{
  border: none;
}
/***Single news**/
.button{
  width: 100px;
  margin: 0 auto;
}
/***gutenberg***/
.uagb-post__image{
  width: 350px;
  height: 250px;
 overflow-y:hidden;
}
.wp-block-button__link{
  border-radius: 0;
}
.wp-block-button__link:hover{
  border-color: #f3c800;
  transition: 0.5s;
}
.wp-block-button a:hover{
  color:#f3c800!important;
  transition: 0.5s;
}
















/* Display 12", IPAD pro POTRAIT, iPad landscape*/
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .content {
    width: 100%;
    margin: 0 auto;
  }
  .content-add{
    width: auto;
  }
  /***HEADER***/
  .navbar {
    display: block;
  }
  nav{
  }
  .menu {
  list-style: none;
  position: fixed;
  left: -270px;
  width: 150px;
  height: 100%;
  top: 0;
  z-index: 99999;
  overflow-y: hidden;
  transition: transform .5s ease-in-out;
  margin-right: 0;
  float: none;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.5);
  background-color:rgba(0,0,0,0.6);

  }
  .wide {
  transform: translate(270px, 0);
  }
  .menu li {
    font-size: 18px;
    display: block!important;
    text-transform: uppercase;
    padding: 20px;
  }
  .menu a {
    color: #fff;
    display: block!important;
    text-decoration: none;
    transition: 0.3s;
  }
  .menu a:hover,
  .current-menu-item > a {
  color: #fff;
  font-weight: 600;
  }
  .widget.menu {
  float: left;
  width: 100%;
  }
  .widget.menu li {
  display: block!important;
  }
  .logo a{
  color: #efefef;
  text-align: center;
  }

  /**HOME**/
  .box a{
    font-size: 50px;
    padding-left: 90px!important;
    padding-bottom: 20px;
    letter-spacing: 25px;
  }
  .item-front-page img{
    width: auto;
    height: 400px;
    margin: 0 auto;
    display: block;
    float: none;
  }
  .item-front-page p{
    display: block;
    font-size: 21px!important;
    width: 500px!important;
    margin: 0 auto;
    padding-top: 20px;
  }
  .item-front-page{
    padding-right: 0;
  }
  .item-front-page h2{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }
.wp-block-columns.are-vertically-aligned-top{
  height: 800px;
}
.logo a{
  font-size: 15px;
  text-align: center;
}
  /**single**/
  .single p{
    font-size: 18px;
  }
  /*MASORNY*/
  .wrapper {
    width: 98%;
  }
  .wrapper-project {
    width: 98%;
  }
  .masorny{
    column-count: 2;
  }
  /**PROJECT PAGE**/

    /**FOOTER**/
  .container-footer{
    display: block!important;
    width: 500px;
    margin: 0 25%!important;
  }

}



/* Display 12", IPAD POTRAIT, iPad landscape*/
@media only screen and (max-width: 1024px) {
  .content {
    width: 96%;
    margin: 0 2%;
  }
  .content-add{
    width: auto;
  }
  .container{
    display: block;
  }
/**Header**/
.navbar {
  display: block;
}
nav{
}
.menu {
list-style: none;
position: fixed;
left: -270px;
width: 150px;
height: 100%;
top: 0;
z-index: 99999;
overflow-y: hidden;
transition: transform .5s ease-in-out;
margin-right: 0;
float: none;
box-shadow: 4px 4px 12px rgba(0,0,0,0.5);
background-color:rgba(0,0,0,0.6);

}
.wide {
transform: translate(270px, 0);
}
.menu li {
  font-size: 18px;
  display: block!important;
  text-transform: uppercase;
  padding: 20px;
}
.menu a {
  color: #fff;
  display: block!important;
  text-decoration: none;
  transition: 0.3s;
}
.menu a:hover,
.current-menu-item > a {
color: #fff;
font-weight: 600;
}
.widget.menu {
float: left;
width: 100%;
}
.widget.menu li {
display: block!important;
}

.logo a{
color: #efefef;
text-align: center;
}
/**Front-Page**/

.logo a{
text-align: center!important;
  font-size: 20px;
  display: block;
  padding-top: 10px;
}
.title-front-page h1{
  text-align: center;
}
.item-front-page1 h2{
  text-align: center!important;
}
.title-front-page p{
  text-align: center;
}
.item-front-page1 img{
float: none;
padding-top: 40px;
}
  .box a{
    font-size: 50px;
    padding-left: 90px!important;
    padding-bottom: 20px;
    letter-spacing: 25px;
  }
  .item-front-page img{
    width: 300px;
    margin: 0 auto;
  }
  .container{
    display: block;
    left: 0px;
  }
  .item-front-page p{
    display: block;
    font-size: 10px;
    padding: 0 25px;
  }
  .item-front-page{
    padding-right: 0;
  }
  .item-front-page h2{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .wp-block-columns.are-vertically-aligned-top{
    height: auto;
  }
  /**single**/
  .single p{
    font-size: 18px;
  }
  /*MASORNY*/
  .wrapper {
    width: 98%;
  }
  .wrapper-project {
    width: 98%;
  }
  /**article**/
  .container-article .article-item{
    padding: 0 6px;
    padding-bottom: 0;
  }
/***PROJECT PAGE***/

/**FOOTER**/

.container-footer{
display: block!important;
width: 500px;
}

}

/** Display 5.5", iPad Portrait, iPhone 6, 6s, 7, 8 portrait and landscape, iPhone 5s landscape **/
@media only screen and (max-width: 667px) {

  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-10 {
    width: 100%;
    float: none;
  }
  /**FRONT-PAGE**/
  main, .hero-section-2 {
    background: url(img/sfondo-color.png) no-repeat center center scroll;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
}
.hero-section{
  width: 100%;
  height: 40vh;
}
.divider-big{
  display: none;
  width: 100%;
  margin: 0 2%;
}
.title-front-page h1{
  text-align: center;
}
.item-front-page p{
  text-align: center!important;
}
.item-front-page1 h2{
  text-align: center!important;
}
.item-front-page1 img{
  padding-top: 20px;
  float: none;
}
.img-disegni{
  padding-top: 10px;
  width: 300px;
  margin: 0 auto;
}
.wp-block-columns h2{
  font-size: 18px;
}
.wp-block-columns.are-vertically-aligned-top{
  padding-top: 0;
}
#social{
  display: none;
}
.box a{
  font-size: 18px!important;
  letter-spacing: 10px!important;
  padding-left: 35px!important;
}
.box{
  height: 100px;
}

.hero-section{
  width: 100%;
  height: 90vh;
  background-color: #000000;
}
.item-front-page img{
  width: 300px!important;
  margin: 0 auto!important;
  float: inherit!important;
  height: auto;
}
.item-front-page h2{
  font-size: 18px;
  text-align: center;
  padding-top: 10px;
}
.item-front-page p{
  font-size: 12px!important;
  width: 300px!important;
  margin: 0 auto;
  padding-top: 10px!important;
}
.item-front-page img{
  width: 200px;
  height: auto;
  padding-bottom: 0;
}
.container{
display: block!important;
}
.advgb-accordion-header h4.advgb-accordion-header-title, .advgb-accordion-header h4{
  font-size: 15px!important;
  letter-spacing: 13px!important;
  padding: 20px 0!important;
  text-align: center;
}
.advgb-accordion-header, .advgb-accordion-header.ui-accordion-header.ui-state-default{
  padding: 0!important;
}
.logo {
text-align: center;
}
	.space-mobile{
		padding-top:200px;
	}
/**single**/

.single p{
  font-size: 15px;
}
.single-img img{
}
/**masorny**/
.masorny {
  column-count: 1;
}
.wrapper {
  width: 98%;
}
.wrapper-project{
  width: 98%;
}
/**pagine dipinti-disegni sculture**/
.item-img a img {
    width: 90%;
    height: auto;
    margin: 0 -4%;
}
.item-img h2{
  width: 90%;
  margin: 0 5%;
}
/***DIPINTI***/
.lb-nav{
  display: none;
}
#lightbox{
  display: none!important;
}
.lightbox{
  display: none!important;
}
.lightboxOverlay{
  display: none!important;

}

/***CONTATTI***/
.contact-page-wp{
  font-size: 18px;
  }

/**footer***/
.container-footer{
  display: block;
}
.footer {
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
}
.item-footer{
  padding: 5px;
}
.item-footer a{
  font-size: 13px;
  font-weight: 500;
}
.item-footer h3{
  font-size: 13px;
  font-weight: 500;
}
.item-footer h2{
  padding-bottom: 5px;
}
/**pagina in costruzione***/
.nifty-coming-soon-message{
  text-shadow:#333 0px 0px 0px!important;
}
/**gutenberg**/
.wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
    width: calc(90% - .375em);
}

}
/**Gutemberg block***/
  @media only screen and (max-width:992px) {
  .wp-block-column {
    margin-left: 0 !important;
  }
}

/** Display 4", iPhone 5s portrait **/
@media only screen and (max-width: 320px) {

}
