 /*
  Theme Name: MareMare Theme
  Author: Maria Francesca Pinna
  Description: tema realizzato con BS4, con 3 posizioni menù e 2 sidebar
  Text Domain: maremare
*/ 

* {
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
}

.section {
  margin-top: 100px;
}

p {
  margin: 0px!important;
}

/* NAV */
.navbar-nav li {
  list-style: none;
  color: #000;
}

a {
  color: #ffffff;
}

ul {
  list-style-type: none;
}

.logged-in .navbar {
  top: 30px;
}

.navbar.navbar-expand-sm.fixed-top {
    background-color: #fff;
    padding: 10px 26px;
}

a.nav-link {
    color: #333333;
    font-family: Asap, sans-serif;
    font-size: 18px;
    font-weight: bold;
}

a.nav-link:hover {
    color: #006DAF;
}

.nav-link.active {
  color: #006DAF;
}

/*.size-cardImg {
  height: 140px!important;
}*/

.size-singleImg {
  max-width:100%;
  height:auto;
}

/*nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}

nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
}
nav.stroke ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #006DAF;
  height: 2px;
}
nav.stroke ul li a:hover:after {
  width: 100%;
}*/


/* HEADER */
.headerText {
  color: #ffffff;
  font-size: 100px;
  text-transform: uppercase!important;
  text-shadow: 2px 2px #333333;
}

.doubleText {
  color: #ffffff;
  font-size: 50px;
  text-shadow: 2px 2px #333333;
}

.headerRowDouble {
  padding-top: 317px;
  padding-bottom: 217px;
}

.headerRow {
  padding-top: 342.5px;
  padding-bottom: 242.5px;
}

.overlay{
  min-height: 690px;
}

#logo {
  width: 100%;
  height: 100%;
}

#home {
  background-size: cover !important; 
  background-position: center !important;
  max-height: 690px;
}

.img-fluid-container {
  display: grid;
  place-items: center;
}

.img-fluid {
  height: 100%;
  width: 100%;
}

.container {
  padding: 0px !important;
}
/* FRONT PAGE */
.cardS {
  height: 190px;
}

.cardS-wrap { 
  visibility: hidden; 
}

.cardS-wrap > * { 
  visibility: visible; 
}

.cardS-wrap > * { 
  transition: opacity 150ms linear 100ms, transform 150ms ease-in-out 100ms; 
}

.cardS-wrap:hover > * { 
  opacity: 0.4; 
  transform: scale(0.9); 
}

.cardS-wrap > *:hover { 
  opacity: 1; 
  transform: scale(1); 
  transition-delay: 0ms, 0ms; 
}

.textS {
  font-size: 14px;
  font-weight: bold;
  margin-top: 22px;
}

.textSmaller {
  font-size: 12px;
  font-weight: bold;
  margin-top: 22px;
}

.iconS {
  display: block;
  width: 90px;
  height: 90px;
}

#works-block {
  background-color: #006DAF;
}

#text-works {
  font-size: 15px;
  margin-bottom: 0px!important;
  margin-top: .5rem!important;
}

#photo-works {
  height: 140px;
  width: 100%;
}

.box {
  width: 250px;
  height: 310px;
  /*margin-left: 20px;
  margin-right: 20px;*/
  background-color: #fff;
  box-shadow:0 2px 3px 0px rgba(0,0,0,0.25);
  border-radius:3px;
  transition:.2s all; 
}

.box-wrap { 
  visibility: hidden; 
}

.box-wrap > * { 
  visibility: visible; 
}

.box-wrap > * { 
  transition: opacity 150ms linear 100ms, transform 150ms ease-in-out 100ms; 
}

.box-wrap:hover > * { 
  opacity: 0.4; 
  transform: scale(1); 
}

.box-wrap > *:hover { 
  opacity: 1; 
  transform: scale(1.1); 
  transition-delay: 0ms, 0ms; 
}

.viewButton{
  background-color: #fff;
  color: #006DAF;
  border-color: #006DAF;
  width: 200px;
  height: 50px;
} 

.aText {
  color: #333333;
}

.aText:hover {
  color: #333333;
}

/* SINGLE SERVIZI */
.serviceItems {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #006DAF;
  background-color: #006DAF;
}

/* TIMELINE */
body {
  margin-top: 20px;
}
.timeline_area {
  position: relative;
  z-index: 1;
}
.single-timeline-area {
  position: relative;
  z-index: 1;
  padding-left: 100px;
}
@media only screen and (max-width: 575px) {
  .single-timeline-area {
      padding-left: 100px;
  }
}
.single-timeline-area .timeline-date {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -ms-grid-row-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding-right: 60px;
}
@media only screen and (max-width: 575px) {
  .single-timeline-area .timeline-date {
      width: 100px;
  }
}
.single-timeline-area .timeline-date::after {
  position: absolute;
  width: 3px;
  height: 100%;
  content: "";
  background-color: #ebebeb;
  top: 0;
  right: 30px;
  z-index: 1;
}
.single-timeline-area .timeline-date::before {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #006DAF;
  content: "";
  top: 50%;
  right: 26px;
  z-index: 5;
  margin-top: -5.5px;
}
.single-timeline-area .timeline-date p {
  margin-bottom: 0;
  color: #020710;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 500;
}

.single-timeline-content {
  height: 162px;
  /*box-shadow: rgba(0, 109, 175, 0.125) 2.95px 2.95px 2.6px!important;*/
}

.single-timeline-area .single-timeline-content {
  position: relative;
  z-index: 1;
  padding: 15px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  margin-top: 15px;
  -webkit-box-shadow: 0 0.25rem 1rem 0 rgba(47, 91, 234, 0.125);
  box-shadow: 0 0.25rem 1rem 0 rgba(47, 91, 234, 0.125);
  border: 1px solid #ebebeb;
}
@media only screen and (max-width: 575px) {
  .single-timeline-area .single-timeline-content {
      padding: 20px;
  }
}
.single-timeline-area .single-timeline-content .timeline-icon {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  width: 30px;
  height: 30px;
  background-color: #006DAF;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 30px;
  flex: 0 0 30px;
  text-align: center;
  max-width: 30px;
  border-radius: 50%;
  margin-right: 15px;
}
.single-timeline-area .single-timeline-content .timeline-icon i {
  color: #ffffff;
  line-height: 30px;
}
.single-timeline-area .single-timeline-content .timeline-text h6 {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}
.single-timeline-area .single-timeline-content .timeline-text p {
  font-size: 12px;
  margin-bottom: 0;
}
/*.single-timeline-area .single-timeline-content:hover .timeline-icon,
.single-timeline-area .single-timeline-content:focus .timeline-icon {
  background-color: #020710;
}*/
.single-timeline-area .single-timeline-content:hover .timeline-text h6,
.single-timeline-area .single-timeline-content:focus .timeline-text h6 {
  color: #006DAF;
}

ta-data h3 {
    color: #ffffff;
    text-align: center;
}


/* BLOG */
.side {
  padding-top: 3rem;
}

.blogThumb {
  width: 300px;
  height: 200px;
  margin-bottom: 10px;
}

.media-body {
    color: #000;
    font-size: 15px;
    text-align: justify;
}

.widget,
.single {
    color: #000;
}

.media-body img {
  float:left;
  margin-right: 0.8rem;
}

.titleBlog {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.titleBlog a {
  color:#333333;
}

.spanBlog {
  font-size: 12px;
}

.blogButton{
  font-size: 12px;
  width: 150px;
  height: 25px;
} 

.excerptBlog {
  font-size: 15px;
  margin-bottom: 1.5rem;
}

.blogItems {
  display: block;
  float: left;
  padding: 4px;
  border: 1px solid #006DAF;
  border-radius: 3px;
  font-size: 12px;
}

.blogItemText {
  font-size: 22.5px;
  font-weight: bold;
  color: #333333;
}

.itemsHeader {
  width: 35px;
  height: 35px;
}

.sidebarIcon {
  font-size: 35px;
  color: #333333;
}

.archiveWidget ul {
  padding: 0%;
}

.archiveWidget li {
  margin-left: 30px;
  padding: 20px;
  border-bottom: 1px solid rgba(51,51,51,.2);
  position: relative;
  font-size: 14px;
}

.archiveWidget li::before{
  content: '';
   position: absolute;
   border-right: 1px solid #333;
   border-bottom: 1px solid #333;
   margin-left: 20px;
   margin-top: 4px;
   width: 8px;
   height: 8px;
   top: calc(50% - 4px);
   left: -20px;
   transform: translateY(-50%) rotate(-45deg);
}

.current {
  color: #006DAF!important;
  font-weight: bold;
  margin-right: .5rem!important;
  margin-left: .5rem!important;
}

.page-numbers {
  color: #333;
  font-weight: bold;
  margin-right: .5rem!important;
  margin-left: .5rem!important;
}

.pagination {
  font-size: 20px;
}

/* SINGLE ARTICLE */
.articleImg {
  width: 645px;
  height: 300px;
}

.iconBlog {
  color: #333333;
  font-size: 14px;
  text-align: center!important;
}

.av-social-share {
  visibility: hidden;
}

.comments-title {
  text-transform: uppercase;
}

.comment-list {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 0px!important;
}

.comment-author, .comment-meta {
  margin-bottom: 5px;
}

.comment {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(51,51,51,.2);
}

/* Stile per campi personalizzati */
.campo-personalizzato {
  width: 80%;
  margin: 20px auto;
  box-shadow: 8px 5px 50px rgba(0,0,255,0.5);
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.post-meta {
  color: #fff;
  text-align: center;
}

.post-meta-key {
  font-weight: 700;
  color: #eee;
  text-transform: capitalize;
}

.foto{
  position: relative;
}

.testo-img {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 25%;
  right: 25%;
  text-transform: uppercase;
  background-color: rgba(0,0,0,0.5);
  padding: 5px;
}

.par-webinar{
  padding-left: 2rem;
}

.round {
  background-color: #0f15ac;
  border-radius: 5px;
  width: 30%;
  color: #fff;
  margin:0 auto;
  box-shadow: 8px 5px 30px rgba(0,0,0,0.5);
}

.wp-block-webfactory-map{
  margin-bottom: 100px;
}

.wp-block-contact-form-7-contact-form-selector{
  margin-top: 50px;
}

.wpcf7-form {
 width: 100% !important;
 height:200px;
}

.wpcf7-submit {
  display: block;
}

.textarea {
  width: 100% !important;
  height: 150px;
  font-size: 18px;
  margin-top: 10px;
}

.textContact {
  color: #333333;
  margin-left: 20px;
  font-size: 1.43rem;
  font-weight: bold;
}

.icon {
  width: 50px;
  height: 50px;
}

.cont {
  margin-bottom: 50px;
}

.contact {
  min-height: 355px;
}


/* FOOTER */
footer {
  background-color: #333333;
}

/* ARCHIVE */
.headerTextArchive {
  color: #ffffff;
  font-size: 60px;
  text-transform: uppercase;
}

.sectionTitle {
  font-weight: bold; 
  font-size: larger; 
  margin-bottom: 10px;
  font-size: clamp(0.3rem, 3vw, 1.2rem);
}

.text {
  text-align: justify;
  font-size: clamp(0.3rem, 3vw, 1rem);
}

.contactInfo {
  margin-top: 20px;
}

.contactPhone p, .contactEmail p {
  display: inline;
  margin-right: 10px;
}

.map-responsive {
  position: relative;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Map dimensions for every device */
.map-responsive {
  padding-bottom: 75%;
}

/* MOBILE */
@media only screen and (min-width: 320px) and (max-width: 600px) {
  .section{
    margin-top: 35px;
  }

  .sectionText {
    margin-top: 15px;
  }

  .navbar.navbar-expand-sm.fixed-top {
    background-color: #fff;
    padding-top: 25px;
    padding-left: 26px;
    padding-right: 26px;
  }

  /* HEADER */
  .headerText {
    color: #ffffff;
    font-size: 40px;
  }

  #home {
    max-height: 350px;
  }

  .headerSubtext {
    font-size: 15px;
  }

  .doubleText {
    color: #ffffff;
    font-size: 35px;
    text-shadow: 2px 2px #333333;
  }

  .headerRowDouble {
    padding-top: 190px;
  }



  /* FRONT-PAGE */
  .cardS {
    height: 160px;
  }

  .textS {
    font-size: 13px;
    font-weight: bold;
    margin-top: 22px;
  }
  
  .iconS {
    display: block;
    width: 70px;
    height: 70px;
  }

  /* LAVORI */
  .iconTime {
    margin: 0px;
    /*margin-top: 60px;*/
  }

  /* CORSI */
  .cardCorsi {
    margin-right: auto!important;
    margin-left: auto!important;
  }

  .headerCorsi {
    margin-right: auto!important;
    margin-left: auto!important;
  }

  .wp-block-webfactory-map{
    margin-bottom: 50px;
  }

  .icon {
    width: 30px;
    height: 30px;
  }

  .textContact {
    font-size: 13px;
    text-align: center;
    margin-top: 6px;
  }

  /* BLOG */
  .side{
    padding-top: 0px!important;
  }

  /* SINGLE ARTICLE */
  .articleImg {
    width: 386px;
    height: 200px;
  }

  .serviceItems {
    height: 43px;
  }

  /* TIMELINE */
  .timeline-date {
    visibility: hidden!important;
  } 

  .single-timeline-area {
    padding: 0px;
  }

  .timeline-date-small {
    visibility: visible;
    text-align: center;
    color: #020710;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
  }

  .timeline-content-small {
    margin-left: auto;
    margin-right: auto;
  }

  /* ARCHIVE */
.headerTextArchive {
  color: #ffffff;
  font-size: 50px;
  text-transform: uppercase;
}

  /* FOOTER */
  .logoF {
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
  }
}


/* TABLET */
@media only screen and (min-width: 601px) and (max-width: 1024px){

  .section {
    margin-top: 35px;
  }

  .sectionText {
    margin-top: 15px;
  }

  a.nav-link {
    font-size: 16px;
  }

  .navbar.navbar-expand-sm.fixed-top {
    background-color: #fff;
    padding-top: 25px;
    padding-left: 26px;
    padding-right: 26px;
  }

  .nav-link.active {
    color: #006DAF;
    border-bottom: 2px solid #006DAF;
  }

  .doubleText {
    color: #ffffff;
    font-size: 35px;
    text-shadow: 2px 2px #333333;
  }

  /* FRONT-PAGE */
  .cardS {
    height: 160px;
  }

  .textS {
    font-size: 10px;
    font-weight: bold;
    margin-top: 22px;
  }
  
  .iconS {
    display: block;
    width: 80px;
    height: 80px;
  }

  /* LAVORI */
  .main-timeline .iconTime {
    margin-top: 88px;
  }

  /* BLOG */

  .excerptBlog {
    font-size: 13px;
    padding: 0%;
  }

  .itemsHeader {
    width: 20px;
    height: 20px;
  }

  .sidebarIcon {
    font-size: 26px;
  }

  .blogItemText{
    font-size: 16px;
  }

  .archiveWidget {
    font-size: 12px;
  }

  .archiveWidget li {
    padding: 5px;
    padding-left: 15px;
    margin-left: 20px;
  }

  .archiveWidget li::before {
    width: 5px;
    height: 5px;
  }

  .itemsHeader {
    width: 30px;
    height: 30px;
  }

  /* SINGLE ARTICLE */
  .articleImg {
    width: 414px;
    height: 200px;
  }

  .serviceItems {
    height: 43px;
  }

  .service {
    padding-left: 0px!important;
    padding-right: 0px!important;
  }

  /* TIMELINE */
  .timeline-date {
    visibility: hidden!important;
  } 

  .single-timeline-area {
    padding: 0px;
  }

  .timeline-date-small {
    visibility: visible;
    text-align: center;
    color: #020710;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
  }

  .timeline-content-small {
    margin-left: auto;
    margin-right: auto;
  }

  /* CORSI */
  .cardCorsi {
    margin-right: 2.5rem;
  }

  .icon {
    width: 40px;
    height: 40px;
  }

  .textContact {
    font-size: 16px;
    margin-top: 6px;
  }

  /* FOOTER */
  .logoF {
    display: block;
    margin-top: auto;
    margin-bottom: auto;
  }

  .footer {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* SINGLE */
  .sidebar-large {
    display: none;
  }

  .map-responsive {
    padding-bottom: 48%;
  }
}


/* PC */
@media only screen and (min-width: 1025px) and (max-width: 1920px){
  .logoF {
    display: block;
    margin-top: auto;
    margin-bottom: auto;
  }

  .footer {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-link.active {
    color: #006DAF;
    border-bottom: 2px solid #006DAF;
  }

  /* BLOG */
  .blogThumb {
    width: 150px!important;
    height: 150px;
    margin-bottom: 0px;
  } 

  /* SINGLE ARTICLE */
  .iconBlog {
    font-size: 20px;
  }

  .service {
    padding-left: 0px;
    padding-right: 3rem!important;
  }

  /* TIMELINE */
  .timeline-date-small {
    visibility: hidden!important;
    padding: 0px;
  }

  /* CORSI */
  .cardCorsi {
    margin-right: 2.5rem;
  }

  .map-responsive {
    padding-bottom: 20%; 
  }
}
