/*
 Theme Name:   Pasticceria Emy
 Description:  Pasticceria Emy
 Author:       Danyyl Pochtar
 Author URI:   https://www.danyylpochtar.it
 Template:     Divi
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child-theme
*/


/* Add CSS below this line */
/*FONT*/
h1 {
  font-size: 4.6em !important;
}

h2 {
  font-size: 2.6em !important;
}

h3 {
  font-size: 2.4em !important;
}

h5 {
  font-family: "League Spartan", Helvetica, Arial, Lucida, sans-serif !important;
  font-weight: 400 !important;
}

.quotes p {
  font-size: 2.4em;
  font-weight: 300;
}

.quotes span {
  font-family: "Tiro Devanagari Hindi", Georgia, "Times New Roman", serif;
  font-size: 1.5em;
  font-weight: 400;
}

.et_pb_slide_content .rece {
  font-size: 2em;
  line-height: 1.4em;
}
/*COLORI*/
.white-text {
  color: #fff !important;
}

.align-center {
  text-align: center !important;
}
.justify-text{
	text-align:justify!important;
}

.et_pb_bg_layout_dark .et_pb_slide_content {
  color: #482d36;
}
/*LAYOUGT GENERALE*/
#header-wrapper,
#half-wrapper {
  display: flex;
}

#header-wrapper {
  min-height: 97vh !important;
}

#half-wrapper {
  min-height: 65vh !important;
}

.right-bg-footer {
  min-height: 600px !important;
}

.categoria-half {
  display: flex;
  align-items: flex-start;
  padding: 0px !important;
  margin: 4em 0 !important;
}

.categoria-half-immagine {
  min-height: 450px !important;
}

.categoria-half-testo {
  padding: 2em 5em;
  align-self: center;
}
/*INPUT*/
input.text:focus::placeholder,
input.title:focus::placeholder,
input[type=text]:focus::placeholder,
select:focus::placeholder,
textarea:focus::placeholder {
  color: #fff !important;
}

.et_pb_contact_field textarea.et_pb_contact_message,
.et_pb_contact p input {
  background: #fff !important;
  border-radius: 0px !important;
  border-bottom: 1px solid #eee;
  outline: none;
  transition: border-color .2s;
}
/*BLOCCHI*/
.et_pb_blurb_container {
  background-color: #fff !important;
  padding: 40px 40px;
  margin-top: -1.8em;
}

#page-container .et-l .et_pb_section .et_pb_button.white-button {
  background: #fff !important;
}

#page-container .et-l .et_pb_section .et_pb_button.white-button:hover {
  background: #482d36 !important;
  color: #fff !important;
}

.et_pb_testimonial:before {
  display: none !important;
}

.quotes {
  text-align: center !important;
  background: transparent !important;
}
/*FASCE IMG + TEXT*/
.fascia {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.sinistra-img,
.destra-text,
.destra-img,
.sinistra-text {
  flex: 1 1 50%;
  box-sizing: border-box;
}

.sinistra-img,
.destra-img {
  display: flex;
}

.sinistra-img img,
.destra-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.destra-text,
.sinistra-text {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 2rem;
}

.contenuto-fascia {
  text-align: left;
  max-width: 90%;
}

.contenuto-fascia h2 {
  font-size: 28px;
}
.contenuto-fascia h6 {
	font-size:1.5em; 
	text-transform:none;
	font-style:italic; 
	margin-bottom:2%
}
.contenuto-fascia .text-fascia{
	text-align:justify;
	margin-bottom:15px;
}

.contenuto-fascia p {
  line-height: 1.5;
}
/*RESPONSIVE*/
@media (max-width: 768px) {
  .fascia {
    flex-direction: column;
  }

  .sinistra-img,
  .destra-text,
  .destra-img,
  .sinistra-text {
    flex: 1 1 100%;
  }

  .destra-img {
    order: 1;
  }

  .sinistra-text {
    order: 2;
  }

  .sinistra-img img,
  .destra-img img {
    height: auto;
    max-height: 300px;
  }

  .contenuto-fascia h2 {
    font-size: 22px;
  }

  .contenuto-fascia p {
    font-size: 16px;
  }

  h1 {
    font-size: 3.2em !important;
  }

  h2 {
    font-size: 2.3em !important;
  }

  .et_pb_slider .et_pb_slide_0.et_pb_slide > .et_pb_container,
  .et_pb_slider .et_pb_slide_1.et_pb_slide > .et_pb_container,
  .et_pb_slider .et_pb_slide_2.et_pb_slide > .et_pb_container,
  .et_pb_slider .et_pb_slide_3.et_pb_slide > .et_pb_container {
    width: 100% !important;
  }

  body.admin-bar.et_fixed_nav #main-header {
    background: #482d36b3 !important;
  }

  #main-header,
  #main-header .nav li ul,
  .et-search-form,
  #main-header .et_mobile_menu {
    background: red !important;
  }

  .mobile_menu_bar:before {
    color: #f6aea9 !important;
  }

  .et_mobile_menu {
    border-top: #f6aea9 !important;
  }
}

/*changing the Divi hamburger menu to X*/
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}
/*rotating the Divi Menu icon*/
.mobile_menu_bar:before {
    transition: all .4s ease;
    transform: rotate(0deg);
    display: block;
}

/*rotate the Divi Menu icon on click*/
.mobile_nav.opened .mobile_menu_bar::before {
    transition: all .4s ease;
    transform: rotate(90deg);
    display: block;
}
/* Remove the top line in the mobile menu*/
.et_mobile_menu {
border-top:0;
}
/*making the Divi Menu full width*/
.et_pb_menu .et_mobile_menu{
    min-width: 100vw;
     padding-top: 20%!important;
   /*margin-left: -10vw;*/
    padding-bottom: 100vh!important;
}
/*removing the line from the menu items and adding line height*/
.et_mobile_menu li a {
padding:10px 10px!important;
border-bottom: none!important;
}
/*removing padding of the social media icons*/
.et_mobile_menu li li {
    padding-left:0%!important;
}

@media (max-width: 480px) {
	h1{
		font-size:2.4em!important;
	}
	h2{
		font-size:1.8em!important;
	}
	h3{
		font-size:1.4em!important;
	}
	.destra-text, .sinistra-text{
		padding: 2rem 1rem!important;
	}
	.contenuto-fascia h6 {
		font-size:1.2em!important;
	}
}