/* 
 Theme Name:   Divi Child
 Theme URI:    https://advanced-themes.com/themes/lezioniditedesco
 Description:  Divi Child Theme for lezioniditedesco
 Author:       Tiziano Spagnolatti
 Author URI:   https://advancedweb.ch
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  lezioniditedesco
*/

p {
  margin-bottom: 1em;
}
/* -----------------------------------------------
fonts 
-----------------------------------------------*/

/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/open-sans-v40-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  src: url("./fonts/open-sans-v40-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/open-sans-v40-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/open-sans-v40-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  src: url("./fonts/open-sans-v40-latin-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* -----------------------------------------------
navigation 
-----------------------------------------------*/
header .et_pb_section_0_tb_header.et_pb_section {
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: #3c1334 !important;
}
header .et_pb_image_0_tb_header {
  margin-bottom: 0px !important;
  width: auto !important;
  text-align: left;
  margin-left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}
header .et_pb_image_1_tb_header {
  position: absolute;
  right: 0;
  top: 15px;
  text-align: right;
  margin-right: 0;
  z-index: 2;
}
header .et_pb_image_0_tb_header img {
  height: 100px;
}
.mobile_menu_bar_toggle {
  margin-top: 6px;
  cursor: pointer;
}
.mobile_menu_bar_toggle:before {
  color: #ffffff;
  transition: color 0.3s ease;
}
.mobile_menu_bar_toggle:hover:before {
  color: rgba(200, 219, 230, 0.5);
}
@media (min-width: 981px) {
  .et_pb_row,
  .et_pb_row.et_pb_row_1_tb_header,
  .et_pb_row.et_pb_row_0_tb_header {
    padding: 0;
  }
}
@media only screen and (max-width: 980px) {
  header .et_pb_image_0_tb_header img {
    width: auto !important;
  }
  .et_header_style_left header #logo {
    max-width: 100%;
  }
  .et_pb_row.et_pb_row_1_tb_header,
  .et_pb_row.et_pb_row_0_tb_header {
    padding: 0;
  }
}
@media only screen and (min-width: 981px) {
  header .et_pb_image_1_tb_header {
    width: 175px;
  }
}
@media only screen and (max-width: 767px) {
  header .et_pb_image_1_tb_header {
    margin-top: 90px !important;
    width: 125px;
  }
}
#top-menu {
  margin-right: 0;
  margin-left: 0;
}

#top-menu li.menu-item {
  margin-top: 0;
  line-height: 50px;
  padding-left: 11px;
  padding-right: 11px;
}

#top-menu li.menu-item a {
  padding-bottom: 0;
  color: #fff;
}

#top-menu li.menu-item:hover {
  background-color: rgba(102, 102, 102, 0.5);
}

#top-menu li.current_page_item {
  background: #c64bae;
}

#top-menu li.current_page_item:after {
  content: "";
  font-size: 0px;
  line-height: 0%;
  width: 0px;
  border-top: 6px solid #c64bae;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  position: absolute;
  bottom: -6px;
  left: 50%;
  margin-left: -6px;
}

#top-menu li.menu-item:hover:after {
  border-top: 6px solid rgb(57, 57, 57);
}

.et_pb_menu--style-left_aligned .et_pb_menu__wrap {
  height: 50px;
  justify-content: flex-start;
}

.et_pb_menu .et_pb_menu__search-input,
.et-search-form input {
  color: #fff;
}

#et_top_search {
  margin: 0 20px;
}
#et_top_search #et_search_icon {
  transition: color 0.3s ease;
}
#et_top_search #et_search_icon:hover {
  color: rgba(200, 219, 230, 0.5);
}
#et_top_search #et_search_icon:before {
  font-size: 22px;
  top: 14px;
}
.et_pb_section_1_tb_header.et_pb_section {
  z-index: 1;
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: #000a12 !important;
}
.et_search_outer {
  top: 130px;
}
header .et_search_form_container {
  height: 50px !important;
  background-color: #000a12;
}
header form.et-search-form {
  max-width: 100% !important;
}
@media (max-width: 980px) {
  #row-width .et_pb_column_2_tb_header {
    position: absolute;
    width: 100%;
  }
}

/* -----------------------------------------------
h1, h2, h3, h4, h5, h6 
-----------------------------------------------*/

h1 {
  font-size: 51px;
  line-height: 1.333em;
}

h2 {
  font-size: 38px;
  line-height: 1.35em;
}

h3 {
  font-size: 28px;
  line-height: 1.2em;
}

h4 {
  font-size: 21px;
  line-height: 1.2em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
  color: #c64bae;
}

/* -----------------------------------------------
btServices home 
-----------------------------------------------*/

.btServices .et-pb-icon-circle {
  padding: 0 2px 2px 0px;
  transition: 0.4s ease;
  width: 59px;
  height: 59px;
  position: relative;
}

.btServices .et-pb-icon-circle:after {
  content: "5";
  width: 53px;
  height: 53px;
  background-color: #083d77;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 35px;
  transform: rotate(90deg);
  opacity: 0;
  transition: 0.4s ease;
}

.btServices .et-pb-icon-circle:hover {
  transform: rotateZ(270deg);
}

.btServices .et-pb-icon-circle:hover:after {
  opacity: 1;
}

#ctaHome h2:after {
  content: "";
  background-image: url(images/h2-underline-green.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: 10px;
  height: 60px;
  display: block;
  width: 100%;
}
/* -----------------------------------------------
pages 
-----------------------------------------------*/
.page #main-content,
.blog #main-content,
.single #main-content {
  background-color: transparent;
}
.page #pageCover {
  background-position-y: 0 !important;
}

.portfolio-template-default #pageCover {
  background-position-y: center;
}

#pageCover:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  background-color: rgba(8, 61, 119, 0.85);
}

.page-template-default #et-main-area .et_pb_section_2_tb_body {
  padding-bottom: 0 !important;
}

.et_pb_text h2 {
  margin-top: 45px;
}

.et_pb_text h3 {
  margin-top: 30px;
}

/*landing page*/
.salesArrow,
.salesOk {
  margin-bottom: 15px;
  padding-left: 40px;
  background-image: url(images/redArrow.jpg);
  background-repeat: no-repeat;
  padding-bottom: 10px;
}
.salesOk {
  background-image: url(images/v.jpg);
  list-style: none;
}

/* -----------------------------------------------
tables 
-----------------------------------------------*/

.tabellaCorsi tr {
  vertical-align: top;
}

.tabellaCorsi td {
  padding: 7px;
}

.tabellaCorsi.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: rgba(240, 240, 240, 0.5);
}

.tableCambridge tr {
  vertical-align: top;
}

.tableCambridge td:first-child {
  width: 90px;
}

.tableCambridge td:nth-child(2) {
  width: 220px;
  padding-right: 15px;
}

.skypeContact {
  background-image: url(images/iconSkype2.png);
  background-repeat: no-repeat;
  height: 45px;
  padding-left: 60px;
  line-height: 45px;
}
.zoomContact {
  background-image: url(images/iconZoom.png);
  background-repeat: no-repeat;
  height: 45px;
  padding-left: 60px;
  line-height: 45px;
}
.facetimeContact {
  background-image: url(images/iconFacetime.png);
  background-repeat: no-repeat;
  height: 45px;
  padding-left: 60px;
  line-height: 45px;
}
/* -----------------------------------------------
posts 
-----------------------------------------------*/

.single-post #pageCover {
  background-position-y: 50% !important;
}

.autore {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 60px;
  margin-bottom: 120px;
  height: 130px;
}

.autore img {
  border: 1px solid #ccc;
  border-radius: 50%;
  margin: -10px 20px -10px 10px;
  background-color: #fff;
  float: left;
  -webkit-box-shadow: 0px 1px 4px #999;
  box-shadow: 0px 1px 4px #999;
}

.autore .nomeAutore {
  background-color: #083d77;
  border-radius: 3px;
  display: block;
  width: 150px;
  height: 30px;
  margin-top: -10px;
  color: #fff;
  line-height: 30px;
  float: left;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transform-origin: top right;
  -ms-transform-origin: top right;
  transform-origin: top right;
  margin-left: -160px;
  text-align: center;
  -webkit-box-shadow: 0px 1px 4px #999;
  box-shadow: 0px 1px 4px #999;
}

.autore .testoAutore {
  padding: 10px;
  float: left;
  margin-left: 30px;
  width: 63%;
}

.autore .descrizioneAutore {
  margin-top: 10px;
  color: #999;
  font-size: 14px;
}
.et_monarch .et_pb_section .et_social_inline_bottom {
  margin-top: 90px;
}

/* .blog-square-image .entry-featured-image-url {
    padding-top: 100%;
    display: block;
}
.blog-square-image .entry-featured-image-url img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
} */

@media (max-width: 767px) {
  .autore {
    height: auto;
  }
  .autore .testoAutore {
    height: auto;
    margin-left: 20px;
    margin-top: 150px;
    width: 90%;
    float: none;
  }
}

/* -----------------------------------------------
sidebars + corsi + student's area
-----------------------------------------------*/

#menu-corsi .menu-item-has-children > a,
.corsiLi a,
#studentsArea .page_item a,
#elencoCorsi li a {
  border: 1px solid #c7dae5;
  background-color: rgba(240, 240, 240, 0.5);
  display: block;
  padding: 5px 15px 5px 30px;
  position: relative;
  margin-bottom: 10px;
}

#elencoCorsi,
#studentsArea {
  list-style: none;
  padding-left: 0;
}

#studentsArea .page_item a {
  padding-left: 45px;
}

#studentsArea .page_item {
  position: relative;
}

#studentsArea .page_item:after {
  content: "";
  font-family: ETmodules !important;
  position: absolute;
  left: 15px;
  bottom: 5px;
  color: #c64bae;
}

#studentsArea .et_pb_row {
  width: 100%;
}

#menu-corsi .menu-item-has-children > a:after,
#elencoCorsi li a:after,
.corsiLi a:after {
  content: "";
  font-family: ETmodules !important;
  position: absolute;
  left: 7px;
  top: 5px;
  color: #4bc663;
}

#menu-corsi .sub-menu {
  margin-bottom: 30px;
}

#menu-corsi .sub-menu li {
  /*    border: 1px solid #C7DAE5;*/
  padding: 5px 5px 5px 5px;
}

/*select*/

.et_pb_widget select {
  width: 100%;
  height: 45px;
  padding: 0 15px;
  border-color: #c7dae5;
  box-shadow: none;
  -webkit-box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' height='10px' width='15px'%3E%3Ctext x='0' y='10' fill='002a4a'%3E%E2%96%BE%3C/text%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.5em 1em;
  background-position: right 10px center;
}

/*contatto*/

.btContattoPhone {
  background-color: rgba(240, 240, 240, 0.5);
  background-image: url("images/iconPhone2.png");
  background-position: 10px 50%;
  background-repeat: no-repeat;
  border: 1px solid #c7dae5;
  float: right;
  margin-bottom: 5px;
  padding: 10px 20px 10px 50px;
  width: 100%;
  border-radius: 2px 2px 2px 2px;
  -moz-border-radius: 2px 2px 2px 2px;
  -webkit-border-radius: 2px 2px 2px 2px;
}

.btContattoMobile {
  background-color: rgba(240, 240, 240, 0.5);
  background-image: url("images/iconMobile2.png");
  background-position: 10px 50%;
  background-repeat: no-repeat;
  border: 1px solid #c7dae5;
  float: right;
  margin-bottom: 5px;
  padding: 10px 20px 10px 50px;
  width: 100%;
  border-radius: 2px 2px 2px 2px;
  -moz-border-radius: 2px 2px 2px 2px;
  -webkit-border-radius: 2px 2px 2px 2px;
}

@media (max-width: 980px) {
}

.et_pb_column .et_pb_widget {
  width: 100%;
}

/*testimonials*/

#listaTutorial blockquote {
  border-color: #2ea3f2;
  margin: 20px 0 0;
  border-left: none;
  padding-left: 0;
}

/* -----------------------------------------------
breadcrumbs
-----------------------------------------------*/

#breadcrumbs {
  margin: 0 0 21px !important;
  background: rgba(255, 255, 255, 0.75) none;
  padding-left: 25px;
  display: block;
  border-radius: 5px;
  padding: 7px 17px;
  border: 1px solid #ddd;
  outline: 0;
  color: #666;
  height: 24px;
  font-size: 14px;
  line-height: 24px;
  height: 40px;
}

#breadcrumbs span a:after {
  content: "\35";
  color: #38aecc;
  padding: 0 10px;
  display: inline-block;
  font-family: ETmodules !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.single-post #breadcrumbs {
  margin: 0 0 48px !important;
}

/* -----------------------------------------------
widget ultime notizie
-----------------------------------------------*/

@media (max-width: 980px) {
  #ultimeNotizie .et_pb_widget {
    width: 100%;
  }
}

/* -----------------------------------------------
widget testimonial
-----------------------------------------------*/

#testimonials img {
  filter: invert(100%);
}

#testimonials img:first-child {
  margin-right: 15px;
}

/* -----------------------------------------------
list 
-----------------------------------------------*/

ul {
  list-style-position: inside;
}

/* -----------------------------------------------
footer 
-----------------------------------------------*/

.et_pb_row_0_tb_footer h4,
.et_pb_section_2_tb_footer h4 {
  min-height: 75px;
}

#footerFollow {
  border-left: 1px solid #5da9e9;
  padding-left: 15px;
}
#footer2 a {
  color: rgba(199, 218, 229, 0.5);
}
#footer2 a:hover {
  color: rgba(199, 218, 229, 0.9);
}

.et_pb_widget.widget_nav_menu,
.et_pb_widget.widget_recent_entries {
  margin-bottom: 0 !important;
}

.zoom-social-icons-widget {
  width: 100% !important;
  padding: 0 15px;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  text-align: center;
}

.zoom-social-icons-list {
  margin: 0 auto;
  display: inline-block;
}

.zoom-social_icons-list__item {
  float: left;
  margin: 0 15px 15px !important;
}
@media (max-width: 980px) {
  footer .et_pb_column.et_pb_column_3_tb_footer {
    margin-bottom: 5px;
  }
}
