/*
Theme Name: Mediterranea
Author: Ivano Noè
Description: Mediterranea
Version: 1.0
License: mediterranea
*/

body {
  font-family: 'Poppins', serif!important;
  font-size: 1rem;
  color: #333;
}

.color-blue {
  color: #234787;
}

.bgc-blue {
  background-color: #234787;
}

.color-orange {
  color: #f14624;
}

.bgc-orange {
  background-color: #f14624;
}

p a,
p a:link,
p a:visited,
p a:focus {
  color: #234787;
}
p a:hover {
  color: #4b8dd2;
}

/*
.main-logo-link,
.main-logo-link:link,
.main-logo-link:visited {
  display: inline-block;
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
*/

#topmenu {
  width: 100%;
  height: 7.8rem;
  /*background-color: #039be5;*/
  /*background-color: rgba(44,90,133,.9);*/
  background-color: #234787;
  color: #fff;
  position: fixed;
  top: 0rem;
  left: 0;
  z-index: 5000;

  -webkit-transition: 0.10s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  -moz-transition: 0.10s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  -o-transition: 0.10s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  transition: 0.10s cubic-bezier(0.28, 0.69, 0.4, 0.99);
}

.main-logo {
  /*background-image: url('https://mediterranearescue.org/wp-content/themes/mdtrn/assets/img/logo-mediterranea.png');*/
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 12rem;
  margin-top: .8rem;
}

#topmenu.small .main-logo {
  margin-top: .3rem;
  height: 6.5rem;
}

#topmenu.small {
  height: 4rem;
  line-height: 4rem;
}

#topmenu.hide {
  top: -200px;
}





#topmenu .chg-lang-block {
  margin-top: 2.5rem;
  line-height: 2.5rem;
}
#topmenu.small .chg-lang-block {
  margin-top: 0.75rem;
}
#topmenu .chg-lang-link,
#topmenu .chg-lang-link:link,
#topmenu .chg-lang-link:focus,
#topmenu .chg-lang-link:visited {
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: .5rem 1rem;
  letter-spacing: 1px;
}

#topmenu .chg-lang-link.selected {
  border: 1px solid #fff;
}





#hambmenu {
  margin: 1.5rem 0 0 1rem;
  width: 3.75rem;
  height: 3.75rem;

  -webkit-transform: rotate(0deg);
     -moz-transform: rotate(0deg);
      -o-transform: rotate(0deg);
         transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
     -moz-transition: .5s ease-in-out;
       -o-transition: .5s ease-in-out;
          transition: .5s ease-in-out;

  cursor: pointer;
}

#hambmenu span {
  display: block;
  position: absolute;
  height: .5rem;
  width: 100%;
  /*background: #f14624;*/
  background-color: #fff;
  left: 0;

  -webkit-transform: rotate(0deg);
     -moz-transform: rotate(0deg);
       -o-transform: rotate(0deg);
          transform: rotate(0deg);

  -webkit-transition: .15s ease-in-out;
     -moz-transition: .15s ease-in-out;
       -o-transition: .15s ease-in-out;
          transition: .15s ease-in-out;
}

#hambmenu span:nth-child(1) {
  top: 1rem;
}

#hambmenu span:nth-child(2) {
  top: 2.0rem;
}

#hambmenu span:nth-child(3) {
  top: 3.0rem;
}

#hambmenu.open span:nth-child(1) {
  top: 2rem;
  -webkit-transform: rotate(135deg);
     -moz-transform: rotate(135deg);
       -o-transform: rotate(135deg);
          transform: rotate(135deg);
}

#hambmenu.open span:nth-child(2) {
  opacity: 0;
  left: -2rem;
}

#hambmenu.open span:nth-child(3) {
  top: 2rem;
  -webkit-transform: rotate(-135deg);
     -moz-transform: rotate(-135deg);
       -o-transform: rotate(-135deg);
          transform: rotate(-135deg);
}

#topmenu.small #hambmenu {
  margin: .5rem 0 0 0rem;
  width: 2.75rem;
  height: 2.75rem;
}

#topmenu.small #hambmenu span {
  height: .3rem;
}

#topmenu.small #hambmenu span:nth-child(1) {
  top: .75rem;
}

#topmenu.small #hambmenu span:nth-child(2) {
  top: 1.5rem;
}

#topmenu.small #hambmenu span:nth-child(3) {
  top: 2.25rem;
}

#topmenu.small #hambmenu.open span:nth-child(1),
#topmenu.small #hambmenu.open span:nth-child(3) {
  top: 1.25rem;
}

#topbar-social {
  display: inline-block;
  text-align: right;
  margin-top: 2.5rem;
}
#topbar-social a {
  font-size: 180%;
  color: #fff;
  text-decoration: none;
  margin-right: .5rem;
}

#topmenu.small #topbar-social {
  margin-top: 0;
}

#topmenu.small #topbar-social a {
  font-size: 1.5rem;
}



#topbar-dona {
  display: inline-block;
  text-align: center;
  margin-top: 2.2rem;

}
#topbar-dona a.bottonedona,
#topbar-dona a.bottonedona-en {

  display: inline-block;
  font-size: 150%;
  color: #234787;
  text-decoration: none;
  margin-right: 1rem;
  background-color: #fff;
  font-weight: 800;
  padding: .5rem 1rem;
  letter-spacing: 1px;
}

#topbar-dona a.bottonedona-en {
  font-size: 100%;
  padding: .5rem .75rem;
  margin-top: .25rem;
}

#topmenu.small #topbar-dona {
  margin-top: 0;
}

#topmenu.small #topbar-dona a.bottonedona,
#topmenu.small #topbar-dona a.bottonedona-en {
  display: inline;
  font-size: 1.5rem;
}

#topmenu.small #topbar-dona a.bottonedona-en {
  font-size: 1rem;
}

/*
#mainmenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding-top: 15rem;
  background-color: #fff;
  z-index: 4999;

  -webkit-transition: 0.15s cubic-bezier(0.28, 0.69, 0.4, 0.99);
     -moz-transition: 0.15s cubic-bezier(0.28, 0.69, 0.4, 0.99);
       -o-transition: 0.15s cubic-bezier(0.28, 0.69, 0.4, 0.99);
          transition: 0.15s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  overflow-y: auto;
}
*/

#mainmenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 10rem 0 0 5rem;
  background-color: #fff;
  background-image: url('assets/img/menu_bg.png');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 4999;

  -webkit-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
     -moz-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
       -o-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
          transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  overflow-y: auto;
}

#mainmenu.closed {
  top: -500rem;

  -webkit-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
     -moz-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
       -o-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
          transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);

}
/*
.mainmenuitem,
.mainmenuitem:link,
.mainmenuitem:visited {
  display: block;
  width: 100%;
  min-height: 10rem;
  font-weight: 700;
  color: #fff;
  background-color: #234787;
  background-color: #f14624;
  padding: 1rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  letter-spacing: 1px;
}
*/
.mainmenuitem,
.mainmenuitem:link,
.mainmenuitem:visited {
  display: inline-block;
  font-weight: 700;
  color: #f14624;
  /*
  background-color: #234787;
  background-color: #f14624;
  */
  padding: .5rem 1rem;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: 1px;
}

.mainmenuitem:hover {
  color: #fff;
  background-color: #234787;
}




#slider {
  width: 100%;
  margin-top: 9rem;
  /*background-color: #ccc;*/
}

.swiper-container {
  width: 100%;
  /*height: 50vh;*/
  height: 25rem;
  /*background-color: #234787;*/
}

.swiper-button-prev {
  margin-left: 2rem;
}

.swiper-button-next {
  margin-right: 2rem;
}

.swiper-slide {
  background-repeat: no-repeat;
  background-position: center center;
  background-position: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;

  justify-content: center;

  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  text-align: center;
}

.swiper-slide-title {
  font-weight: 800;
  /*color: #234787;*/
  color: #f14624;
  font-size: 1.8rem;
  line-height: 3.1rem;
  /*text-shadow: #333 0 0 .25rem;*/
  background-color: rgba(255,255,255,.90);
  display: inline;
  padding: .3rem 1.5rem;
  margin: auto 5rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.swiper-slide-title a,
.swiper-slide-title a:link,
.swiper-slide-title a:visited,
.swiper-slide-title a:hover {
  /*color: #234787;*/
  color: #f14624;
  text-decoration: none;
}

.swiper-slide-text {
  font-size: 2rem;
  color: #fff;
  text-shadow: #333 0 0 1rem;
}

#banner-h-box {
  padding: 0 5rem 5rem 0;
  /*
  background-color: #f2f2f2;
  -webkit-box-shadow: inset 0 -20px 20px -20px #000000;
     -moz-box-shadow: inset 0 -20px 20px -20px #000000;
          box-shadow: inset 0 -20px 20px -20px rgba(0,0,0,.5);
  */
}

#wrapper {
  margin: 3rem auto;
}

.btn-all-news,
.btn-all-news:link,
.btn-all-news:visited,
.btn-all-news:focus {
  display: block;
  background-color: #f14624;
  margin-bottom: 3rem;
  text-decoration: none;
  text-align: center;
  padding: .75rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.btn-all-news:hover {
  background-color: #ff6644;
}

.post,
.page {
  color: #443;
  margin: 0 2.5rem 2rem 0;
}



.home-post .post {
  border-top: 3px solid #234787;
  margin: 0 1.5rem 1rem 0;
  padding: 3px 0 0 0;
}

.home-post .post-home-title {
  font-size: 1.2rem;
  font-weight: 800;
  padding-bottom: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0.5px;
  color: #234787;
}

.post strong, .page strong,
.post b, .page b {
  font-weight: 800;
}



.post .post-title,
.page .page-title {
  font-size: 2rem;
  font-weight: 800;
  padding-bottom: .5rem;
  line-height: 1.25;
  letter-spacing: 1px;
  color: #234787;
}

.page .page-title {
  margin-bottom: 1.5rem;
}

.post .post-title-link,
.post .post-title-link:link
.post .post-title-link:visited {
  text-decoration: none;
  color: #234787;
}

.post .post-title-link:hover {
  color: #234787;
}

.post .post-text,
.post .post-text p,
.page .page-text,
.page .page-text p {
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 2px;
}

.post .post-image-thumb,
.page .page-image-thumb {
  float: left;
  width: 100%;
  height: 9rem;
  margin: 0 0 1rem 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-position: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}

.post .post-image-thumb .category-label {
  float: left;
  margin-top: 0;
  padding: .1rem 1rem;
  background-color: #f14624;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 1rem;
}


.post-single-featured-image-opacity,
.page-single-featured-image-opacity {
  width: 100%;
  height: 100%;
  background-color: #f14624;
  opacity: .0;
}


.home-section {
  margin-right: 0.5rem!important;
  padding: 0;
}


.md-pagination {
  margin-bottom: 5rem;
  padding-top: 1rem;
  font-size: 1.2rem;
  border-top: 1px solid #ddd;
}

.md-pagination.news {
  margin-right: 5rem;
}

.md-pagination a,
.md-pagination a:link,
.md-pagination a:visited,
.md-pagination a:focus {
  color: #f14624;
}

.md-pagination a:hover {
  text-decoration: none;
  color: #4b8dd2;
}

.post-single-featured-image,
.page-single-featured-image {
  margin-top: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-position: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 40vh;
}

.page-single-featured-image {
  height: 50vh;
  background-position: center top;
}

.single-post h1 {
  margin-bottom: 2rem;
}

.single-post .post-date {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: #f14624;
}


.sidebar {
  will-change: min-height;
}

.sidebar__inner {
  transform: translate(0, 0); /* For browsers don't support translate3d. */
  transform: translate3d(0, 0, 0);
  will-change: position, transform;
}


.sb-block {
  width: 100%;
  margin: 0 0 2rem 0;
}


#poweredby {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  margin-top: 3rem;
}

#poweredby .logo {
  width: 100%;
  height: 5rem;
  background-color: #ddd;
}

#poweredby .partecipanti {
  color: #999;
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 1px;
}

#footer {
  padding: 3rem 0;
  background-color: #234787;
}

#footer .contants {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 .5rem 1rem;
  letter-spacing: 1px;
}

#footer .contants a {
  color: #fff;
  text-decoration: none;
}

.social-icons-footer a,
.social-icons-footer a:link,
.social-icons-footer a:visited {
  font-size: 3rem;
  color: #f14624;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
}

.social-icons-footer a:hover {
  color: #fff;
}


/* MATERIALI */

.mater-box {
  margin: 1.5rem 0;
}

.mater-title {
  font-weight: 800;
  font-size: 1.2rem;
  color: #234787;
}

.mater-descr {
  color: #555;
}

a.mater-btn {
  display: inline-block;
  text-decoration: none;
  padding: .5rem 1rem;
  margin: .5rem .5rem .5rem 0;
  background-color: #f14624;
  color: #333;
  font-weight: 800;
  color: #fff;

  -webkit-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
     -moz-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
       -o-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
          transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);

}

a.mater-btn:hover {
  text-decoration: none;
  color: #fff;
  background-color: #ff6644;
}

.mater-thumb {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
}

.mater-v-sep {
  border-left: 1px solid #ccc;
  padding-left: 2rem;
  margin-left: 2rem;
  height: 100%;
}



.partcond_card li {
  margin: .75rem 0;
}

.partcond_card .card-text {
  font-size: 1.2rem;
}

.partcond_card .card-text textarea {
  margin: .5rem 0;
  padding: .5rem;
  font-size: 1rem;
}


.home-section-title {
  margin-bottom: 2rem;
  padding-bottom: .5rem;
  color: #f14624;
  border-bottom: 1px solid #f14624;
  font-size: 1.5rem;
}
/* PRESS */

.comsta-page-title {
  margin-bottom: 2rem;
  padding-bottom: .5rem;
  color: #f14624;
  border-bottom: 1px solid #f14624;
  font-size: 1.5rem;
}

.comsta-page-item,
.comsta-page-item:link,
.comsta-page-item:visited,
.comsta-page-item:focus {
  display: block;
  text-decoration: none;
  margin: .75rem 0;
}

.comsta-page-item:hover h1 {
  color: #f14624;
}

.comsta-page-item h1 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #666;
  margin: 0;
}

.comsta-page-item h1 .comsta-data {
  color: #234787;
  font-weight: 400;
}

.comsta-page-item h1 .comsta-sep {
  display: inline-block;
  margin: 0 .5rem;
  font-weight: 300;
  color: #999;
}


.premed-foto-page-title,
.premed-video-page-title {
  margin: 4rem 0 2rem 0;
  padding-bottom: .5rem;
  color: #f14624;
  border-bottom: 1px solid #f14624;
  font-size: 1.5rem;
}

.premed-box-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #234787;
}

.premed-box-data {

}

.premed-box-autore-sep {
  display: inline-block;
  margin: 0 .5rem;
  color: #999;
}

.premed-box-autore {

}

.premed-box-text {
  margin: .2rem 0;
}

.premed-box-info {
  display: inline-block;
}


.aiuta-button {
  display: inline-block;
  background-color: #f14624;
  color: #fff;
  width: 100%;
  padding: 2rem 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  -webkit-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
     -moz-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
       -o-transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
          transition: 0.25s cubic-bezier(0.28, 0.69, 0.4, 0.99);
}

.aiuta-button:hover {
  text-decoration: none;
  color: #fff;
  background-color: #f7816a;
}


.btn-home-action {
  display: block;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  padding: 2rem 1rem;
  background-color: #234787;
  color: #fff;
  font-size: 125%;
  letter-spacing: 1px;

  -webkit-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  -moz-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  -o-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);

}

.btn-home-action:hover {
  text-decoration: none;
  background-color: #388ECD;
  color: #fff;
}

#resta-in-contatto-btn-1 {
  display: block;
  margin-bottom: 1rem;
  padding: .5rem 1rem ;
  text-align: center;
  background-color: #F14624;
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  text-decoration: none;

  -webkit-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  -moz-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  -o-transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);
  transition: 0.5s cubic-bezier(0.28, 0.69, 0.4, 0.99);

}

#resta-in-contatto-btn-1:hover {
  background-color: #f17b24;
}


@media (max-width: 768px) {

  .home-post .post {
    border-top: 3px solid #234787;
    margin: 0 0 1.5rem 0;
    padding: 3px 0 0 0;
  }

  .home-section {
    margin-right: -1rem!important;
  }

  .btn-home-action {
    margin-bottom: .75rem;
  }
  .swiper-main-container {
    padding: 0!important;
  }

  .swiper-container {
    width: 100%;
    height: 18rem;
  }
  .swiper-slide-title {
    font-size: 120%;
    text-align: center;
    margin: 0 1rem ;
    line-height: 2.2rem;
    padding: .15rem .3rem;
  }

  #slider {
    width: 100%;
    margin-top: 3rem;
    /*background-color: #ccc;*/
  }

  .post,
  .page {
    margin: 2rem 0 8rem 0;
  }






  .main-logo {
    /*
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    */
    height: 5rem;
    margin-top: 0rem;
  }

  #topmenu.small .main-logo {
    margin-top: 0rem;
    height: 5rem;
  }

  #topmenu.small {
    height: 3rem;
    line-height: 3rem;
  }

  #hambmenu {
    margin: .5rem 0 0 0rem;
    width: 2rem;
    height: 2rem;
  }


  #topmenu.small #hambmenu {
    margin: .5rem 0 0 0rem;
    width: 2rem;
    height: 2rem;
  }

  #hambmenu,
  #topmenu.small #hambmenu {
    z-index: 5000;
  }

  #hambmenu span,
  #topmenu.small #hambmenu span {
    height: .15rem;
  }

  #hambmenu span:nth-child(1),
  #topmenu.small #hambmenu span:nth-child(1) {
    top: .5rem;
  }

  #hambmenu span:nth-child(2),
  #topmenu.small #hambmenu span:nth-child(2) {
    top: 1rem;
  }

  #hambmenu span:nth-child(3),
  #topmenu.small #hambmenu span:nth-child(3) {
    top: 1.5rem;
  }



  #hambmenu.open span:nth-child(1),
  #hambmenu.open span:nth-child(3),
  #topmenu.small #hambmenu.open span:nth-child(1),
  #topmenu.small #hambmenu.open span:nth-child(3) {
    top: 1rem;
  }


  #topmenu .chg-lang-block,
  #topmenu.small .chg-lang-block {
    margin-top: 1.25rem;
    line-height: 1;
  }

  .chg-lang-link {
    display: inline;
    font-size: .75rem!important;
  }

  #topmenu {
    height: 3rem;
  }

  #topmenu #topbar-dona {
    display: inline-block;
    margin-top: .8rem;
  }


  #topmenu.small #topbar-dona {
    display: inline-block;
  }

  #topmenu #topbar-dona a.bottonedona,
  #topmenu #topbar-dona a.bottonedona-en,
  #topmenu.small #topbar-dona a.bottonedona,
  #topmenu.small #topbar-dona a.bottonedona-en {
    display: inline;
    font-size: .75rem;
    padding: .20rem .20rem;
    letter-spacing: .15px;
    margin: 0;
  }

  #topmenu #topbar-dona a.bottonedona-en,
  #topmenu.small #topbar-dona a.bottonedona-en {
    font-size: .5rem;
    letter-spacing: .05px;
  }

  #footer .contants {
    font-size: .8rem;
    text-align: center;
    margin: 0 0 1rem 0;
  }

  #footer .social-icons-footer .col {
    text-align: center!important;
  }

}