/*
 Theme Name: Enforma
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme per Enforma
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 0.0.1
*/

/* =Theme customization starts here
------------------------------------------------------- */
.et_secondary_nav_enabled #page-container #top-header {
  background-color: #4449E0 !important;
}

.et_color_scheme_pink #top-menu li.current-menu-item>a {
  color: #4449E0 !important;
}

.custom-corsi-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;

}

.custom-corsi-list .corso-item {
  display: flex;
  align-items: stretch;
  width: 50%;
  padding: 15px;
}

.custom-corsi-list .corso-item .inner-block {
  border: 1px solid #ccc;
  box-sizing: border-box;
  display: flex;


  flex-direction: column;
}

.custom-corsi-list .corso-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}


.corso-item .corso-content {
  padding: 10px;

}

.corso-meta {
  list-style: none !important;
  margin-left: 0;
  padding-left: 0 !important;
}

.corso-item h3 {
  font-size: 18px;
  font-weight: 500;
}

.corso-item .corso-meta strong {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
}

.corso-item .corso-meta li {
  line-height: 1.2em;
}

.corso-item a.read-more {
  font-size: 14px;
  font-weight: 600;
  color: #535353 !important;
  text-transform: uppercase;
  display: block;
  margin-top: 20px;
}


/** LISTA TASSONMIE **/
.taxonomies-archive-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  display: flex;
  flex-wrap: wrap;
}

.taxonomies-archive-list-title {
  font-size: 16px !important;
  text-transform: uppercase;
  padding-bottom: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.taxonomies-archive-list li {
  border: 1px solid #ccc;
  display: inline-block;
  margin-bottom: 5px;
  padding: 5px;
  border-radius: 5px;
  background-color: #4449E0;
  position: relative;
  transition: 0.2s;
}

.taxonomies-archive-list li a {
  color: #f4f4f4 !important;
  font-weight: 600;
  width: 100%;
  height: 100%;
  display: block;
  text-transform: uppercase;
  line-height: 1;
  font-size: 12px;
}

.taxonomies-archive-list li:hover {
  background-color: #535353;
}


@media only screen and (max-width:768px) {
  .custom-corsi-list .corso-item {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 15px;
  }
}

.enforma-pagination {
  display: flex;
  width: 100%;
  margin: 10px auto;
  justify-content: center;
}

.enforma-pagination span,
.enforma-pagination a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border: 1px solid #4449E0;
  color: #4449E0;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin: 3px;
}

.enforma-pagination span {
  background-color: #4449E0;
  color: #FFF;
}

.taxonomies-enforma-list .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.taxonomies-enforma-list .row .inner-block {
  width: calc(50% - 40px);
  padding: 20px;
  border-radius: 10px;
  margin: 20px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 18px 0px;
}



.taxonomies-enforma-list .row .inner-block:first-child {
  margin-top: 0;
  margin-bottom: 60px;
}

.taxonomies-enforma-list .row .inner-block:last-child {
  margin-top: 60px;
  margin-bottom: 0;
}

.taxonomies-enforma-list img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 30px;
}

.taxonomies-enforma-list h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4em;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  text-transform: lowercase;
  padding-bottom: 0;
  margin-bottom: 20px;
}

.taxonomies-enforma-list h3::first-letter {
  text-transform: uppercase;
}

.taxonomies-enforma-list p {
  margin-bottom: 20px;
}

.taxonomies-enforma-list a,
.taxonomies-enforma-list a:hover {
  color: #535353;
  text-transform: uppercase;
  font-weight: 700;
}

@media only screen and (max-width:992px) {
  .taxonomies-enforma-list .row .inner-block {
    width: 100%;
    margin: 20px 0 !important;
  }

  .taxonomies-enforma-list .row .inner-block:first-child {
    margin-top: 0;
    margin-bottom: 20;
  }

  .taxonomies-enforma-list .row .inner-block:last-child {
    margin-top: 0;
    margin-bottom: 20px;
  }
}

.inner-block {
  opacity: 0;
}
.inner-block.animate__animated {
  opacity: 1;
}

.row-locs {
  text-align: center;
}
.row-locs a {
  display: inline-block;
  background-color: #4449E0;
  font-size:14px;
  text-transform: uppercase;
  margin:0 0 5px 5px;
  padding:8px 15px;
  color:#FFF;
  font-weight: 600;
  border-radius: 5px;
}