
/* 
    Created on : 30-gen-2024, 14.22.02
    Author     : acasano
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e1e1e;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
}
hr {
    margin:0px 0px 1rem 0px;
    color:inherit;
    border:0;
    border-top:var(--bs-border-width) solid;
    opacity:.25
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 1em;
  line-height: 28px;
  color: #4a4a4a;
}

img {
  width: 100%;
  overflow: hidden;
}
.img1 {
  float: left !important;
  margin-right: 25px !important;
 opacity: 1 !important;
}
.dida
{
 color:#525960 !important; 
 font-size:1em; 
 margin-bottom: 25px !important;
font-weight: 600 !important;
font-style:italic;
line-height: 10px !important;
}
/* 
---------------------------------------------
Global Styles
--------------------------------------------- 
*/
html,
body {
  font-family: 'Poppins', sans-serif;
}

.section {
 
  padding-top: 5px;
  margin-top: 10px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: 2.57em;
  font-weight: 600;
 
  margin: 10px 0;
  line-height: 44px;
}

.section-heading h2 em {
  color: #237afc;
  font-style: normal;
}

.section-heading h6 {
  color: #237afc;
  font-size: 1em;
  text-transform: uppercase;
  font-weight: 600;
}

.main-button a {
  display: inline-block;
  background-color: #fff;
  color: #005899;
  font-size: 1em;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  border-radius: 20px;
  transition: all .3s;
  border: 1px solid #998e8e;
}

.main-button a:hover {
  background-color: #237afc;
  color: #fff;
}

/* 
---------------------------------------------
Header Style
--------------------------------------------- 
*/

.background-header {
  background-color: #237afc !important;
  border-radius: 0px 0px 25px 25px;
  height: 80px!important;
  position: fixed!important;
  top: 0!important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area {
  position: absolute;
  background-color: transparent;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  background: transparent;
  display: flex;
  text-align: center;
}

nav {    
  display: block;
  border-radius: 0px 0px 25px 25px;
}
nav ul {
  margin: 0px;
  padding:0;
  list-style: none;
  text-align: left;
   font-weight: 700;
}
.nav a {
  
  display:block; 
  background-color: rgba(255, 255, 255, 0.10);
  color: #fff; 
  text-decoration: none;
  padding: 0.8em 1.8em;
  font-size: 80%;
  position: relative;
}
.nav{  
  vertical-align: top; 
  display: inline-block;
  box-shadow: 
    1px -1px -1px 1px #000, 
    -1px 1px -1px 1px #fff, 
    0 0 6px 3px #fff;
 border-radius: 10px;
-moz-border-radius: 10px; /* firefox */
-webkit-border-radius: 10px; /* safari, chrome */
  margin-left: 100px;
}
.nav li {
  position: relative;
  
}
.nav > li { 
  float: left; 
  border-bottom: 1px #aaa solid; 
  margin-right: 1px; 
  border-radius: 10px 10px 10px 10px;
} 
.nav > li > a { 
  margin-bottom: 1px;
  border-radius: 10px 10px 10px 10px; 
 display: block;
}
.nav li a.active {
  background-color: rgba(134, 182, 232, 0.64);
  opacity: 1;
}
.nav > li:hover, 
.nav > li:hover > a { 
  border-bottom-color: #fff;
}
.nav li:hover > a { 
  color:#fff;
}
.nav > li:first-child { 
  border-radius: 10px 10px 10px 10px;
  
} 
.nav > li:first-child > a { 
  border-radius: 10px 10px 10px 10px;
}
.nav > li:last-child { 
   border-radius: 10px 10px 10px 10px;
  margin-right: 0;
  
} 
.nav > li:last-child > a { 
   border-radius: 10px 10px 10px 10px;
}
.nav li li a { 
  margin-top: 0px;
     border-bottom: 1px solid  #ccc;
  background-color: #237afc; 

}
.nav li a:first-child:nth-last-child(2):before { 
  content: ""; 
  position: absolute; 
  height: 0; 
  width: 0; 
  border: 5px solid transparent; 
  top: 50% ;
  right:5px;  
 }
 .nav ul {
  position: absolute;
  white-space: nowrap;
  z-index: 1;
  left: -99999em;
  margin: 0px;
 }
.nav > li:hover > ul {
  left: auto;
  margin-top: 3px;
   min-width: 100%;
   
}
.nav > li li:hover > ul { 
  left: 100%;
  margin-left: 1px;
  top: -1px;

}
/* arrow hover styling */
.nav > li > a:first-child:nth-last-child(2):before { 
  border-top-color: #fff; 
  
}
.nav > li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-bottom-color: #fff; 
  margin-top:-5px
     
}
.nav li li > a:first-child:nth-last-child(2):before {  
  border-left-color: #fff; 
  margin-top: -5px
     
}
.nav li li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-right-color: #fff;
  right: 10px; 
  
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 33px;
  width: 30px;
  height: 30px;
  text-indent: -9999em;
  z-index: 99;
  right: 30px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 20px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #fff;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #fff;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #fff;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #fff;
}

.header-area.header-sticky .nav li a.active {
  color: #fff;
}

.visible{
  display:inline !important;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 2px;
    padding-right: 2px;
  }
  .header-area .main-nav .nav li a {
    padding-left: 10px;
    padding-right: 10px;
  }

}

@media (min-width: 990px) and (max-width: 1400px) {
  .main-nav .nav li a {
    max-width: 100%;
      }
  .nav {
      margin-left:10px;
      } 
}
@media (max-width: 992px) {
  .background-header .main-nav .nav,
  .header-area .main-nav .nav {
    background-color: #237afd;
  }
  .background-header .main-nav .nav li a,
  .header-area .main-nav .nav li a {
    height: 50px;
    color: #ffffff;
    background-color: #237afd;
    border-radius: 0px 0px 0px 0px;
    border-bottom: 1px solid  #ccc;
    font-size: 0.9em;
    text-transform: uppercase;
    -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
  }
  .nav li li a { 
  margin-top: 0px;
  border-bottom: 1px solid  #ccc;
  background-color: #302d2d !important; 
  
}
  .background-header .main-nav .nav li,
  .header-area .main-nav .nav li {
    background-color: #f1f0fe;
    height: 50px;
    border-radius: 0px 0px 0px 0px;
    font-size: 0.9em;
    
  }
  .background-header .main-nav .nav li:last-child,
  .header-area .main-nav .nav li:last-child {
    border-radius: 0px 0px 0px 0px;
   
  }
  .header-area .main-nav .nav {
    height: auto;
    flex-basis: 100%;
  }
  .header-area .main-nav .logo {
    position: absolute;
    left: 30px;
    top: 0px;
  }
  .background-header .main-nav .logo {
    top: 0px;
  }
  .background-header .main-nav .border-button {
    top: 0px !important;
  }
  .header-area .main-nav .border-button {
    position: absolute;
    top: 15px;
    right: 70px;
  }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #ffffff!important;
    opacity: 1;
    font-size: 0.9em;

  }
  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }
  .header-area {
    background-color: transparent;
    padding: 0px 0px;
    height: 80px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-left: 0px;
    margin-top: 30px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav {
   
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .header-area .main-nav .nav li:first-child {
   
  }
  .header-area.header-sticky .nav {
    margin-top: 100px !important;
  }
  .background-header.header-sticky .nav {
    margin-top: 80px !important;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    padding-left: 0px !important;
    padding-right: 0px !important;
    
  }
  
}
@media (max-width: 767px) {
  .header-area .nav {
    display: none;  /* Nascondi menu per il toggle */
  }
  .menu-trigger.active + .nav {
    display: block; /* Oppure lascia slideToggle gestirlo */
  }
}

/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.main-banner {
  background-image: url(../images/banner-bg.jpg);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 100px 0px 30px 0px;
  background-color: #237afd;

}

.main-banner .item-1 {
  background-image: url("../images/prova.jpg");
}

.main-banner .item {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 25px;
  padding: 150px 150px;

}
.main-banner .item span.category {
  background-color: #237afc;
  color: #fff;
  font-size: 1em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 50px;
}

.main-banner .item h2 {
  font-size: 3.42em;
  font-weight: 700;
  color: #fff;
  line-height: 70px;
  width: 60%;
  margin-bottom: 40px;
}

.main-banner .item p {
  color: #fff;
  width: 65%;
}


.main-newsletter {

  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 100px 0px 80px 0px;
  background-color: #073883;

}
.main-newsletter h2 {
  font-size: 2.85em;
  font-weight: 700;
  color: #fff;
  line-height: 70px;
  width: 100%;
  margin-bottom: 20px;
   padding-right: 150px;
    padding-top: 120px;
   text-align: right;
  
}
.main-newsletter h3 {
  font-size: 1.07em;
  color: #f1f0fe;
  line-height: 30px;
  width: 100%;
  margin-bottom: 15px;
  
}

.main-newsletter p {
  color: #fff;
  width: 100%;
   margin-bottom: 20px;
   text-align: center;
  
}

.main-newsletter a {
  font-size: 1em;
  color: #1e1e1e;
  background-color: #fff;
  display: inline-block;
  height: 70px;
  line-height: 20px;
  padding: 25px 25px 25px 25px;
  border-radius: 25px;
  font-weight: 500;
}
.main-eventi {
  background-repeat: no-repeat;
  background-size: contain;
  padding: 20px 0px 40px 0px;
  background-color: #ffffff;
 
}
.main-eventi h2 {
  font-size: 2.57em;
  font-weight: 600;
  color: #000000;
  line-height: 44px;
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
  
}
.main-eventi h3 {
  font-size: 15px;
  color: #f1f0fe;
  line-height: 30px;
  width: 100%;
  margin-bottom: 15px;
}

.main-eventi p {
  color: #fff;
  width: 100%;
   margin-bottom: 20px;
   text-align: center;
  
}

.main-eventi a {
  font-size: 1.07;
  color: #000;
  display: inline-block;
  font-weight: 500;
}
.main-eventi span {
 color: #606060;
  font-size: 1em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 2px;
  font-weight: 700;
}
.main-eventi ul li {
  display: inline-block;
 }

.main-eventi ul li a {
 color: #000;
  display: inline-block;
  line-height: 20px;
  font-size: 1em;
 transition: all .3s;
  margin-bottom: 15px;
}

.main-eventi ul li a:hover {
 color: #237afc;
}

/* 
---------------------------------------------
Courses Style
--------------------------------------------- 
*/

.courses {
  margin-top: 20px;
  margin-bottom: 10px;
}

.event_filter {
  text-align: center;
}

.event_filter {
  background-color: #f1f0fe;
  border-radius: 50px;
  padding: 15px 40px;
  list-style: none;
  margin: 0 auto 70px;
  max-width: max-content;
}

.event_filter li {
  display: inline-block;
  margin: 0px 20px;
}

.event_filter li a {
  font-size: 1.14;
  font-weight: 500;
  color: #1e1e1e;
  transition: all .3s;
}

.event_filter li

.event_filter li a.is_active,
.event_filter li a:hover {
  color: #237afc;
}

.events_item .thumb {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
}

.events_item .thumb img {
  margin-bottom: -5px;
 width: 100%;
 max-height: 300px;
 object-fit: contain;
 }

.events_item .thumb span.category {
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 14px;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: #005B99;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-block;
}

.events_item {
  background-color: #f1f0fe;
  border-radius: 25px;
  margin-bottom: 30px;
  position: relative;
  justify-content: center;
  align-items: center;
  } 

.events_item .down-content {
  padding: 20px 30px 25px 30px;
}

.events_item .down-content span.author {
  color: #094bad;
  font-size: 1.07em;
  display: inline-block;
  margin-bottom: 6px;
}

.events_item .down-content h4 {
  font-size: 1.28;
  font-weight: 600;
  transition: all .3s;
}

.events_item:hover .down-content h4 {
  color: #1A1A1A;
}

.events_item:hover .thumb span.price {
  transform: scale(1.2);
}

/* 
---------------------------------------------
Team Style
--------------------------------------------- 
*/

.team {
  margin-top: 10px;
    padding-top: 20px;
}

.team-member {
  position: relative;
}

.team-member:hover img {
  top: -120px;
}

.team-member img {
  max-width: 220px;
  border-radius: 50%;
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-110px);
  transition: all .3s;
}

.team-member .main-content {
  border-radius: 25px;
  padding: 40px 30px 40px 30px;
  background-color: #f1f0fe;
  text-align: center;
  margin-bottom: 10px;
}

.team-member .main-content span.category {
  color: #237afc;
  font-size: 18px;
}

.team-member .main-content h4 {
  font-size: 1.28em;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 15px;
}

.team-member .main-content ul li {
  display: inline-block;
  margin: 0px 2px;
}

.team-member .main-content ul li a {
  background-color: #fff;
  color: #237afc;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  font-size: 1.28em;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all .3s;
}

.team-member .main-content ul li a:hover {
  background-color: #237afc;
  color: #fff;
}


/* 
---------------------------------------------
Testimonials Style
--------------------------------------------- 
*/

.testimonials {
  position: relative;
  padding: 10px 0px;
  margin-top: 40px;
}

.testimonials:before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 65%;
  height: 80%;
  content: '';
  border-top-left-radius: 500px;
  border-bottom-left-radius: 500px;
}

.testimonials .section-heading {
  margin-bottom: -35px;
  margin-left: 20px;
  vertical-align: middle;
  
}

.testimonials .section-heading p {
  margin-top: 50px;
}
.testimonials .section-heading img {
  border-radius: 20%;
  max-width: 100px;
  float: right;
  position: relative;
  z-index: 1;
 
}
.testimonials .section-heading h4 {
  color: #000;
  font-size: 1.57em;
  font-weight: 600;
  margin-top: 8px;
}

.testimonials .item {
  background-color: #ffffff;
  border-radius: 25px;
  padding: 50px;
  border: 1px solid #d2d2d2;
  margin-bottom: 40px;
  margin-top: 60px;
  }

.testimonials .item p {
  font-size: 1em;
  line-height: 40px;
  color: #000;
  font-weight: 400;
  margin-bottom: 10px;
}

.testimonials .item img {
max-width: 400px;
margin-right:20px;

}

.testimonials .item span.category {
  font-size: 0.85em;
  color: #fff;
  background-color:#dee1e7;
  padding: 4px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 10px;
  
}

span.category a {
  font-size: 0.85em;
  color: #0b5a85 !important;
   
}

.testimonials .item h4 {
  color: #000;
  font-size: 1.71em;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 15px;
}

.testimonials .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-5px);
  right: -25px;
  text-align: right;
}

.testimonials .owl-nav .owl-prev i,
.testimonials .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.71em;
  display: inline-block;
  color: #237afc;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.10);
  opacity: 1;
  transition: all .3s;
}

.testimonials .owl-nav .owl-prev i {
  position: absolute;
  bottom: 65px;
}

.testimonials .owl-nav .owl-prev i:hover,
.testimonials .owl-nav .owl-next i:hover {
  opacity: 1;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

.testimonials .item h6
{
 color:#4a5154;
 font-size:0.85em; 
 margin-bottom: 15px;
font-weight: 600;
font-style:italic;
}

.testimonials .item2 {
  background-color: #ffffff;
  padding: 50px;
  margin-bottom: 40px;
 
}
.testimonials .item2 h4 {
  color: #000;
  font-size: 1.42em;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 15px;
}
/* 
---------------------------------------------
Events Style
--------------------------------------------- 
*/

.events .section-heading {
  margin-bottom: 40px;
}

.events .item {
  background-color: #f1f0fe;
  border-radius: 25px;
  position: relative;
  padding: 40px;
  margin-bottom: 30px;
}

.events .item .image {
  position: relative;
}

.events .item .image img {
  position: absolute;
  border-radius: 25px;
  max-width: 260px;
  left: 0;
  top: -70px;
}

.events .item ul li {
  display: inline-block;
  width: 17.5%;
  vertical-align: middle;
}

.events .item ul li:first-child {
  width: 20%;
}

.events .item ul li:nth-of-type(2) {
  width: 60%;
}

.events .item ul li span.category {
  font-size: 1em;
  text-transform: uppercase;
  color: #237afc;
  background-color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 20px;
}

.events .item ul li h4 {
  font-size: 1.57em;
  font-weight: 600;
}

.events .item ul li span {
  display: inline-block;
  font-size: 1em;
  color: #4a4a4a;
  margin-bottom: 10px;
}

.events .item ul li h6 {
  font-size: 1.14em;
  color: #000000;
  font-weight: 600;
}

.events .item a {
  position: absolute;
  right: 0;
  top: 22px;
  background-color: #237afc;
  width: 60px;
  height: 120px;
  display: inline-block;
  text-align: center;
  line-height: 120px;
  font-size: 1.28em;
  z-index: 1;
  color: #fff;
  border-radius: 60px 0px 0px 60px;
}

.latest_newsarea{float:left; display:inline; width:100%; height: 30px; background-color:#000; position:relative}
.latest_newsarea span{background-color:#0347AA; color:#fff; font-family:Oswald,sans-serif; font-size:15px; left:0; line-height:1.8em; margin-right:20px; overflow:hidden; padding:2px 18px 1px 19px; position:absolute; z-index:15}
.social_area{ position:absolute; right:0; top:0; background:#fff; border-top:1px solid #ccc; border-bottom:1px solid #ccc; border-right:1px solid #ccc; height:31px}
.social_nav{ text-align:right}
.social_nav li{ display:block; float:left}
.social_nav li a{ display:block; float:left; height:30px; text-indent:-9999px; width:30px; border-left:1px solid #ccc; -webkit-transition:all 0.5s; -moz-transition:all 0.5s; -ms-transition:all 0.5s;  -o-transition:all 0.5s; transition:all 0.5s}
.social_nav li.mail a{ background-image:url("../images/socials.png"); background-position:-240px -30px; background-size:270px 60px; width:32px}
.social_nav li.mail a:hover{background-position:-240px 0px; background-size:270px 60px; background-color:#bc75d6}
/* 

/* 
---------------------------------------------
Footer Style
--------------------------------------------- 
*/

.pre-footer {
 background-color: #37393c;
 padding: 0px 40px; 
 text-align: right;
 box-shadow: -10px -10px 10px rgba(0,0,0,0.15)!important;
border-bottom: 1px solid #706868;
}

.top_nav{text-align:left; margin-bottom: 0px;}
.top_nav li{display:inline-block}
.top_nav li a{display:inline-block; position:relative; border-right:1px solid #333; color:#fff; font-size:11px; font-weight:bold; padding:5px 15px; text-transform:uppercase; -webkit-transition:all 0.5s; -o-transition:all 0.5s; transition:all 0.5s}
.top_nav li a:hover{background-color:#36a9e1}

.top_nav li a::after {
       content: "";
    position: absolute;
    height: 0;
    width: 0;
    top: 25%;
    left: 2px;
color: #FFF!important;      
border-bottom-width: 5px; 
border-bottom-style: solid; 
border-bottom-color: transparent; 
border-top-width: 5px; 
border-top-style: solid; 
border-top-color: transparent; 
border-left-width: 5px; 
border-left-style: solid; 
border-left-color: #fff;
 }   
    
footer {
  margin-top: 0px;
  position: relative;
  background-color: #37393c;
  vertical-align: middle;
  min-height: 150px;
 
}

footer p {
  text-align: left;
  line-height: 30px;
  color: #fff;
  font-weight: 400;
  margin-top: 1rem;
}

footer img {
  
  width: 200px;
  height: 60px;
  object-fit: contain;
 overflow: hidden;
 border: 1px solid #f2f3f4;
  padding: 5px;
  margin: 1px;
  background-color: white;
 
 }

/* 
---------------------------------------------
Responsive Style
--------------------------------------------- 
*/

body {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .header-area {
    padding: 10px 0;
  }
  .header-area .main-nav .logo h1 {
    border-right: none;
  }
  /* =========================================================
   MENU RESPONSIVE PER SMARTPHONE
   ========================================================= */
@media (max-width: 767px) {
  .header-area {
    top: 0px;
  }
  .header-area .main-nav .logo h1 {
    border-right: none;
  }
  .main-banner .item {
    padding: 80px 30px 120px 30px !important;
  }
  .main-banner .owl-nav {
    left: 30px !important;
  }
  .event_filter  {
    padding: 15px 20px;
  }
  .event_filter li {
    display: inline-block;
    margin: 0px 10px;
  }
  .latest_newsarea{
      display: none;
}
}
@media (max-width: 992px) {
  .header-area .main-nav #search input,
  .header-area .main-nav #search i {
    display: none;
    width: 100%;
  }
  .header-area .main-nav .logo h1 {
    font-size: 2.42em;
  }
  .header-area .main-nav .logo {
    border-right: none;
  }
  .main-banner {
    padding-top: 100px;
    background-image: url(../images/banner-bg_rid.jpg);
  }
  .main-banner .item {
    padding: 100px 60px 140px 60px;
    margin-left: 0px;
    text-align: center;
    background-image: url("../images/prova_rid.jpg");
  }

  .main-banner .item h2,
  .main-banner .item p {
    width: 100%;
  }
  .main-banner .item h2 {
    font-size: 2.42em;
    line-height: 50px;
  }
  .main-banner .item .buttons {
    display: inline-block;
    text-align: center;
  }
  .main-banner .item .buttons .main-button {
    margin-right: 0px;
    margin-bottom: 30px;
  }
  .main-banner .owl-nav {
    left: 50% !important;
    transform: translateX(-60px) !important;
    bottom: 60px;
  }
  .main-banner .owl-nav .owl-prev i {
    bottom: 0px;
  }
  .main-banner .owl-nav .owl-next i {
    bottom: 0px;
    position: absolute;
    left: 65px;
  }
  .services {
    margin-top: 80px;
  }
  .about-us {
    margin-top: 50px;
  }
  .about-us a {
    font-size: 0.9rem !important;
  }
  .accordion {
    padding: 40px 25px 10px 25px;
  }
  .services .service-item .icon {
    width: 170px;
    height: 170px;
    line-height: 170px;
  }
  .about-us .section-heading {
    margin-left: 0px;
    margin-top: 120px;
  }
  .about-us::before,
  .testimonials::before,
  .contact-us::before {
    display: none;
  }
  .about-us .section-heading p,
  .testimonials .section-heading p,
  .contact-us .section-heading p {
    margin-top: 30px;
  }
  .about-us .section-heading .main-button {
    margin-top: 30px;
  }
  .about-us .main-button a {
    background-color: #7a6ad8;
    color: #fff;
  }
  
  .event_filter ul li {
    display: block;
    margin: 12px 5px;
  }
  .fun-facts {
    margin-top: 70px;
  }
  .fun-facts::before {
    width: 95%;
  }
  
  .testimonials {
    margin-top: -50px;
    padding: 0px;
  }
  .testimonials .section-heading {
    margin-left: 0px;
    margin-top: 40px;
  }
  .testimonials .item {
    padding: 40px 40px 60px 40px;
  }
  .testimonials .item h4 {
    font-size: 1.21em;
  }
 .testimonials .item a {
    font-size: 1rem;
    word-wrap: break-word;
  }
  .testimonials .item img {
    margin-right: 15px;
  }
  .testimonials .owl-nav {
    display: none;
  }
  .events {
    margin-top: 80px;
  }
  .events .item {
    margin-bottom: 66px;
  }
  .events .item .image img {
    position: relative;
    max-width: 100%;
  }
  .events .item ul {
    margin-top: -40px;
  }
  .events .item ul li:first-child {
    width: 100% !important;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
  }
  .events .item ul li:nth-child(2) {
    width: 40% !important;
  }
  .events .item ul li {
    display: inline-block;
    width: 28% !important;
  }
  .events .item ul li:last-child {
    text-align: right;
  }
  .events .item a {
    bottom: 150px;
    top: auto;
  }
  .events .item ul li h6 {
    font-size: 1em;
  }
  .contact-us {
    padding-top: 20px;
  }
  .contact-us .section-heading {
    margin-right: 0px;
  }
  .contact-us .special-offer {
    background-color: #f1f0fe;
    margin-bottom: 60px;
    padding: 34px 30px 34px 100px;
    width: 100%;
  }
  .contact-us .special-offer h4 {
    font-size: 1.21em;
  }
  .contact-us .special-offer a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 15px;
    right: 15px;
  }
  .contact-us .contact-us-content {
    padding: 30px;
  }
  footer {
    margin-top: 30px;
  }
  #card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
 }
}

@media (max-width: 1200px) {
  .header-area .main-nav #search input {
    width: 200px;
  }
  .header-area .main-nav .nav li.has-sub:after {
    right: 15px;
  }
  .fun-facts:before {
    width: 95%;
  }
}