/*
Theme Name: Professionisti Riuniti Theme
Theme URI: https://developer.wordpress.org/
Description: Theme custom - sito professionisti riuniti
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: Professionisti Riuniti
*/

body {
  font-family: 'Agency FB', sans-serif;
}

/* ----- -----SCROLLBAR COLOR ----- ----- */

body::-webkit-scrollbar {
	background-color: #f5f5f5;
	width: 0.500em; 
}

body::-webkit-scrollbar-track {
	background-color: white; 
}

body::-webkit-scrollbar-thumb {
	background-color: #004c8c;
}

body::-webkit-scrollbar-track-piece {
	background-color: black;  /* FALLBACK COLOR */
	background-color: rgba(0, 0, 0, 0.1); 
}

b, strong {
  color: #005B9F;
}
hr {
	color: #3d4047;
	width: 100%;
}

/* FONTS */
@font-face {
  font-family: 'Px Grotesk';
  src: url("fonts/PxGrotesk-Bold.woff2") format('woff2'),
      url("fonts/PxGrotesk-Bold.woff") format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agency FB', sans-serif;
  src: url("fonts/AgencyFB-Reg.woff2") format('woff2'),
      url("fonts/AgencyFB-Reg.woff") format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.privacy-contact:hover b{
  color: #0288D1;
}

.privacy-contact  b{
  color: #fff;
}

/* END FONTS */


/* HEADER  */

/* NAVBAR TOP*/

.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active {
  color: #005B9F;
}

.top-nav {
  width: 100%;
  /* height: 50px; */
  /* min-height: 47px; */
  position: fixed;
  z-index: 99999;
  top: 0;
  background-color: #005B9F;
  /* background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C33.64 15.347 39.647 14 50 14c10.271 0 15.362 1.222 24.629 4.928.955.383 1.869.74 2.75 1.072h6.225c-2.51-.73-5.139-1.691-8.233-2.928C65.888 13.278 60.562 12 50 12c-10.626 0-16.855 1.397-26.66 5.063l-1.767.662c-2.475.923-4.66 1.674-6.724 2.275h6.335zm0-20C13.258 2.892 8.077 4 0 4V2c5.744 0 9.951-.574 14.85-2h6.334zM77.38 0C85.239 2.966 90.502 4 100 4V2c-6.842 0-11.386-.542-16.396-2h-6.225zM0 14c8.44 0 13.718-1.21 22.272-4.402l1.768-.661C33.64 5.347 39.647 4 50 4c10.271 0 15.362 1.222 24.629 4.928C84.112 12.722 89.438 14 100 14v-2c-10.271 0-15.362-1.222-24.629-4.928C65.888 3.278 60.562 2 50 2 39.374 2 33.145 3.397 23.34 7.063l-1.767.662C13.223 10.84 8.163 12 0 12v2z' fill='%23dbccc8' fill-opacity='0.17' fill-rule='evenodd'/%3E%3C/svg%3E"); */
}

/* START CONTATTI TOP NAV */

.preHeader-nav {
  left: 155px;
  position: relative;
  max-height: 40px;
  min-height: 40px;
}

.preHeader-nav ul {
  margin-bottom: 0;
}

.preHeader-nav ul li {
  float: left;
  list-style: none;
  padding: 14px 25px;
  max-height: 75px;
}

.preHeader-nav ul li a {
  color: #fff;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  display: inline-block;
}

.preHeader-nav ul li a:hover {
  text-decoration: none;
}

.preHeader-fontSize {
  font-size: 30px;
  padding-right: 15px;
  position: relative;
  top: -10px;
  color: white;
  transition: all .2s ease-in-out;
}

.preheader_svg {
    height: 22px;
    fill:  #ffff;
  }

.preHeader-text {
  color: white;
}
/* END CONTATTI TOP NAV */


.container.navbar-container {
  max-width: 1540px;
}


/* NAVBAR */

.mobile-logo {
  height: 90px;
}

.navbar-brand {
  padding-bottom: 0;
}

.bg-light  {
  background-color:  rgba(255, 255, 255, 0.95)!important;
}

.navbar-nav {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.3em;
  font-family: 'Agency FB', sans-serif;
}

.custom-toggler.navbar-toggler { 
  border-color: #005B9F; 
} 

.custom-toggler .navbar-toggler-icon { 
  background-image: url( 
  "data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(0, 91, 159)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"); 

} 

.fixed-top {
  z-index: 0;
}

.navbar {
  padding: 0.4rem 0!important;
  box-shadow: 0 2px 9px rgba(0,0,0,.15);
  top: 40px;
  z-index: 999;
  border-bottom: 1px solid white;
}


 .navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1.3rem;
  padding-left: 1.3rem;
  overflow:visible!important;
}

.navbar-light .navbar-nav .nav-link {
  color: #2C3035;
}

.navbar-expand-lg .navbar-collapse {
  position: relative;
  left: 10px;
  top: 4px;
}

.logo {
  margin-top: 2px;
}

.dropdown-item {
  padding: 0.28rem 1.5rem;
}

/* HERO SLIDER */
.hero-title {
  font-size: 3.1em;
  font-weight: 700;
  font-family: 'Agency FB', sans-serif;
  text-align: left;
}
.hero-text {
  font-size: 1.200em;
  text-align: left;
  font-family: 'Px Grotesk';
  color: #fff;
  margin-top: 35px;
  opacity: 90%;
  margin-left: 5px;
}
.paddding-b {
  padding-bottom: 10px;
}
.slider .col {
	padding: 0;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 200;
    /* background-color: rgba(0,0,0,.1); */
  }

.carousel-control-prev > img{        
  position: absolute;
  top: 53%;
  transform: translate(-50%, -50%);
  left: 42px;
  z-index: 5;
  display: inline-block;
}

.carousel-control-next > img{        
  position: absolute;
  top: 53%;
  transform: translate(-50%, -50%);
  right: 5px;
  z-index: 5;
  display: inline-block;
}

.carousel-item .img-fluid {
  width:100%;
} 

.carousel-caption  {
  position: absolute;
  left: 32%;
  top: 40%;
  transform: translate(-50%, -20%);
  width: 40%;
  z-index: 300;
  /* text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4); */
}

/* END  SLIDER */


/* START PAGES HERO */

/* Hero backgrounds */
.hero {
	height: auto;
	background-size: cover;
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
}

/* .hero-default-bg--height {
  height: 420px;
} */

.hero-container {
	position: relative;
  padding-top: 257px;
  padding-bottom: 128px;
	overflow: hidden;
	z-index: 2;
}

.hero-default-bg {
	background-image: url("images/homeBanner/hero-chi-siamo.jpg");
}

.hero-circolari-bg {
	background-image: url("images/homeBanner/hero-circolari.jpg");
}

.hero-servizi-bg {
	background-image: url("images/homeBanner/hero-servizi-2.jpg");
}

.hero-professionisti-bg {
  background-image: url("images/homeBanner/hero-professionisti.jpg");
}

.hero_caption h1 {
	font-family: 'Agency FB', sans-serif;
  color: #fff;
  font-size: 3.1rem;
	font-weight: 700;
}

.overlay-black {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(0,0,0,0.5);
}


@media only screen and (max-width: 1400px) {
	.hero_caption h1 {
		font-size: 2rem;
	}
}

@media only screen and (max-width: 1200px) {
	.hero-container {
		overflow: visible;
	}
}

@media only screen and (max-width: 575px) {
	.hero_caption {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		text-align: center;
	}
	.hero-container {
    padding-top: 142px;
    padding-bottom: 48px;
	}
	.hero_caption h1 {
		font-size: 1.5rem;
		line-height: 22px;
	}
}

@media only screen and (max-width: 390px) {
	.hero_caption h1{
		font-size: 1.3rem;
	}
}


/* END PAGES HERO */


/* BOX STUDIO */
.pic-widget-bg {
  /* overflow: hidden; */
  height: 620px;
  max-height: 620px;
  width: 100%;
  min-width: 240px;
  position: relative;
}
.wrap-textContainer {
  max-width: 1280px;
  top: -50px;
  padding: 50px 0 50px 0;
  position: relative;
}
.text-box{
  font-size: 1.200em;
  width: 100%;
  text-align: justify;
  line-height: 32px;
  font-family: 'Px Grotesk';
  color: #0F0F0F;
  opacity: 75%;
}
/* END BOX STUDIO */


/* START BLOG */

.card-body > p {
  font-size: 1em;
  text-align: justify;
  line-height: 27px;
  font-family: 'Px Grotesk';
  color: #2C3035;
  opacity: 80%;
}
.card-body > h2 {
  color: #2C3035;
  text-align: left;
  font-family: 'Agency FB', sans-serif;
  font-weight: 700;
  font-size: 1.7em;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.card-date {
  font-family: 'Px Grotesk';
  text-align: left;
  font-size: 0.98em;
  font-weight: 500;
  margin-bottom: 7px;
}
.card-image > img {
  width: 100%;
}
.post-content > p {
  font-size: 1.200em;
  width: 100%;
  text-align: justify;
  line-height: 32px;
  font-family: 'Px Grotesk';
  color: #0F0F0F;
  opacity: 75%;
}

.page-numbers {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: 1.3em;
  margin-left: -1px;
  line-height: 1.25;
  color: #097EF6;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}
.blog-pagination {
  text-align: center; 
}


/* END BLOG */


/* BOX STATS*/

.box-stats {
  background-color: #FDDE0B;
  padding: 20px;
  max-width: 75%;
  margin: 0 auto;
  z-index: 990;
  position: relative;
  min-height: 216px;
  top: -20px;
}

.box-statsCount {
  font-family: 'Px Grotesk';
  font-size: 2.4em;
}

.box-statsText {
  font-family: 'Px Grotesk';
  font-size: 1.3em;
}

.box-teams {
  background-color: #005B9F;
  padding: 10px 0;
  padding-bottom: 30px;
  min-height: 500px;
  margin-top: -120px;
}
.box-teams>header {
  margin-top: 140px;
}

/* END BOX STATS */


/*  START TEAM SLIDER */

.owl-carousel .item {
  position: relative;
  z-index: 100; 
  -webkit-backface-visibilitygfgf: hidden; 
}

.owl-nav > div {
  position: absolute;
  top: 40%;
  color: #cdcbcd;
}

.owl-carousel .item  {  
  padding-right: 10px;
  padding-left: 10px;
}

.carousel-wrap {
  margin: 20px 0 0;
  padding: 0 5%;
  width: 100%;
  position: relative;
  padding-bottom: 45px;
}

.owl-nav i {
  font-size: 52px;
}

.owl-nav .owl-prev {
  left: -30px;
  color: #5EB8FF;
}

.owl-nav .owl-next {
  right: -30px;
  color: #5EB8FF;
}


.border-primary {
  color: #af7662;
}

.texto-box {
  padding: 25px 12px 0px;
  max-height: 100px!important;
  /* margin-bottom: 30px; */
  max-width: 350px;
  min-width: 270px;
  background-color: #0288D1;
  top: -65px;
  position: relative;
}

.teams-title  {
  font-family: 'Px Grotesk';
  font-size: 1.200em;
  margin-bottom: 8px;
  color: #0F0F0F!important;
  text-align:center;
}

.teams-subtitle {
  font-family: 'Agency FB';
  color: white; 
  font-size: 1em;
  font-weight: 300;
  text-align: center;
  padding-top: 2px;
}

.texto-color h2 {
  line-height: 25px;
  color: black;
  text-transform: uppercase;
}

.btn-primary {
  background-color:
  #005B9F;
  border: none;  
  padding: 5px 15px;
  font-size: 1.400em;
}

.btn-primary:hover {
  background-color: #5EB8FF!important;
  cursor: pointer;
  -webkit-transition: background-color 1s ease;
  -moz-transition: background-color 1s ease;
  -ms-transition: background-color 1s ease;
  -o-transition: background-color 1s ease;
  transition:   background-color 1s ease;
}

.btn-secondary {
  border: none;   
  font-size: 1.400em;
  transition: all .3s ease;
}

.btn-secondary:hover {    
  cursor: pointer;
  -webkit-transition: background-color 1s ease;
  -moz-transition: background-color 1s ease;
  -ms-transition: background-color 1s ease;
  -o-transition: background-color 1s ease;
  transition:   background-color 1s ease;
}

.fa-arrow-right {
  padding-left: 10px;
}


/* END SLIDER */


/*  MAIN START */

.main {    
  background-color: #fff;
  padding: 0;
}

.padding-default {
  padding-top: 175px;
}

.ohana_title--default   {
  font-family: 'Agency FB', sans-serif;
  font-size: 3.3em; 
  color: #2C3035;
  text-align: center;
  margin: 50px 0;
}
.heading_white {
  color: #fff;
}

.text-default {
  font-size: 1.200em; 
  width: 100%;
  text-align: center;
  line-height: 37px;
  max-width: 70%;
  color: #442D2D;
}

.btn-primary {
  background-color: #af7662;
  border: none;
  padding: 14px 20px;
  font-size: 1.200em;
  margin-top: 25px;
  text-transform: uppercase;
  border-radius: .4em; 
  box-shadow: inset 0 -0.2em rgba(0,0,0,.3);
}
.btn-primary:hover {
  background-color: #9c634f;
  cursor: pointer;
  -webkit-transition: background-color 1s ease;
  -moz-transition: background-color 1s ease;
  -ms-transition: background-color 1s ease;
  -o-transition: background-color 1s ease;
  transition:   background-color 1s ease;
}

/*************************************
    START  BOX SERVIZI PROFESSIONALI
*************************************/
.box_services  {
	position: relative;
	top: -100px;
}

.box_services_wrapper  {
	background-color: #005B9F;
	padding: 30px 20px;
	position: relative;
	overflow: hidden;
  min-width: 338px;
}

.box_services--mb {
	margin-bottom: 30px;
}

.box_services_icon .box_svg {
	height: 42px;
	fill: #5EB8FF;
}

.box_cta_svg {
	height: 20px;
	fill: #fff;
}

.box_services_title {
  font-family: 'Px Grotesk';
  font-size: 1.2em;
  color: white;
	line-height: 1.4;
  margin-bottom: 0;
}
/* .box_services_title a:hover {
  color: #5EB8FF;
  text-decoration: none;
} */
.box_hover:hover svg , .box_hover:hover h4 {
  color: #5EB8FF;
  fill: #5EB8FF;
  cursor: pointer;
  text-decoration: none;
}

/*************************************
    END BOX SERVIZI
*************************************/

/* ******************************************* */
/* START PAGE SERVIZI PROFESSIONALI             */
/* ******************************************* */
.single_box {
  padding: 15px 12px 5px;
  text-align: center;
  min-height: 257px;
  /* max-height: 80px!important;
  margin-bottom: 30px;
  max-width: 350px; */
}
.single_box h2 {
  color: #2C3035;
  padding-bottom: 22px;
  font-family: 'Agency FB', sans-serif; 
  font-weight: 700;
  font-size: 1.7em;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.single_box p {
  line-height: 27px;
  font-family: 'Px Grotesk';
  font-size: 1em;
  color: #2C3035;
  opacity: 80%;
}

.single_box_svg .box_svg {
  height: 58px;
  fill: #5EB8FF;
}
.single_box_svg .box_svg-2 {
  height: 55px;
  fill: #5EB8FF;
}
/* ******************************************* */
/* END PAGE SERVIZI PROFESSIONALI              */
/* ******************************************* */


/*************************************
    START PAGINE INTERNE SERVIZI
*************************************/
.ohana_title--default.small-title {
  font-size: 2.5em;
}



/*************************************
    END PAGINE INTERNE SERVIZI 
*************************************/

/* ******************************************* */
/* 14 - COMPONENT SIDE FORM + SIDE BOX         */
/* ******************************************* */
.sideForm {
	height: 50vh;
	/* box-shadow: 0 8px 16px 0 rgb(20 20 27 / 10%); */
}
.sideForm-large {
	height: 55vh;
}
.sideForm-courses {
	height: 43vh;
}
.box_form label.sideForm_label {
	font-size: 0.75rem;
}
.sticky-top {
  position: sticky;
  top: 149px;
  z-index: 990;
}
.sideForm-pic img {
	height: 150px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.list-group-item.active {
  border-color:  #5eb8ff;
	color: #005B9F;
  background-color:#5eb8ff;
	font-weight: 700;
}
.list-group-item {
  font-family: 'Agency FB', sans-serif; 
	text-transform: upperCase;
  font-weight: 700;
  color: white;
  font-size: 1.1em;
  background-color: rgba(0, 91, 159, 0.7);
}
.list-group-item-action:focus, .list-group-item-action:hover {
  border-color:  #5eb8ff;
	color: #005B9F;
  background-color:#5eb8ff;
}

.bg-light-blue {
  background-color: #5eb8ff;
}
.box_form {
  padding: 15px;
	background-image: -moz-linear-gradient(0deg, #0288D1 0%, #005B9F 100%);
  background-image: -webkit-linear-gradient(0deg, #0288D1 0%, #005B9F 100%);
  background-image: -ms-linear-gradient(0deg, #0288D1 0%, #005B9F 100%);
}

@media only screen and (max-width: 1200px) {
	.sideForm {
		display: none;
	}
}

@media only screen and (max-width: 500px) {
	.box_form {
		padding: 0!important;
	}
}

.lineHeight-custom {
  line-height: 32px!important;
}
.box_listDescription p {
  font-size: 1.8em;
  color: #2C3035;
  text-transform: uppercase;
}
.box_listDescription ul > li {
  font-size: 1.1em;
  font-family: 'Px Grotesk';
  color: #0F0F0F;
  opacity: 75%;
}

/* ******************************************* */
/* 14 - END COMPONENT SIDEFORM                 */
/* ******************************************* */


/* ***************************************************************/
/* 13 - CTA BUTTON FIXED AT BOTTOM PAGE (displayed on page sroll)*/
/* ***************************************************************/
.cta-action {
	z-index: 9999;
	opacity: 0;
	background: #2C3035;
	visibility: hidden;
	position: fixed;
	bottom: 15px;
	width: 100%;
	transition: opacity 1s;
}

.cta-action.active {
	visibility: visible;
	opacity: 1;
	transition: opacity 1s;
}

a.cta-action-button {
	display: block;
	padding: 10px;
	text-align: center;
	background: #5EB8FF;
	border-radius: 4px;
	color: #3d4047;
  font-family: 'Px Grotesk';
  font-size: 0.99rem;
  text-transform: uppercase;
}

a.cta-action-button:hover {
	background: #3DCD6A;
}

.cta-action-svg {
	height: 23.2px;
	fill: #fff;
	padding: 0 4px 3px 0;
}

@media only screen and (min-width: 576px) {
	.cta-action {
		padding: 10px 10%;
	}
}
@media only screen and (max-width: 575px) {
	.cta-action {
		padding: 10px 20px;
	}
	a.cta-action-button {
		font-size: 0.9rem;
	}
}

/* ******************************************* */
/* 13 -  END CTA BUTTON FIXED AT BOTTOM PAGE   */
/* ******************************************* */

/* ******************************************* */
/* 11 - COMPONENT HELP BOX                     */
/* ******************************************* */
.help_box{
	position: fixed;
	top: 20%;
	right: -7px;
	z-index: 1022;
}
.help_box-btn {
    background-color: #3DCD6A;
    border: none;
    padding: 12px 17px;
    border-radius: 0.4em;
    box-shadow: inset 0.2em 0 rgb(0 0 0 / 30%);
    -moz-box-shadow: inset 0 -0.2em rgba(0,0,0,.3);
}
.help_box-btn:hover {
    background-color: #2d9b4f;
}
.help_box-btn:focus {
    background-color: #3DCD6A;
	box-shadow: inset 0.2em 0 rgb(0 0 0 / 30%);
    -moz-box-shadow: inset 0 -0.2em rgba(0,0,0,.3);
}
.help_box-svg {
	height: 40px;
}

@media only screen and (max-width: 810px) {
	.help_box {
		top: 15%;
	}
	.help_box-btn {
		padding: 7px 9px;
		box-shadow: inset 0.1em 0 rgb(0 0 0 / 30%);
		-moz-box-shadow: inset 0 -0.1em rgba(0,0,0,.3);
	}
	.help_box-svg {
		height: 35px;
	}
}

/* ******************************************* */
/* 11 - END COMPONENT HELP BOX                 */
/* ******************************************* */


  /* GOOGLE MAPPA */
  #map {
    position: relative;
    width: 100%;
    height: 750px;
    margin-bottom: 28px;
    background-color: #e7eaf0;
    }

  .ohana-map-container.container {
    max-width: 2100px!important;
  }

  @media only screen and (max-width: 530px) {
    #map {
      height: 380px;
    }
  }


  @media screen and (max-width: 800px) {
    .slider_title {
      font-size: 3.7em;
    }
    .slider_slogan {
      font-size: 1.24em;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
  }


  @media only screen and (max-width: 570px) {
    .container.container-responsive {
      padding: 0;
      background-color:#dbccc8;
    }
    .slider_title {
      font-size: 2.900em;
    }
  }

  @media screen and (max-width: 437px) {
    .slider_title {
      font-size: 2.300em;
    }
  }


/* Parallax  */
.container-fluid {
  padding-right: 0!important;
  padding-left: 0!important;
}

.parallax-img {
  padding: 0;
  height: 550px;
  background-attachment: fixed;
  background-position: 50% 70px!important;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-img .overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: black;
  position: absolute;
  z-index: 99;
}

.parallax-img  .parallax-h2 {  
  font-family: 'Agency FB';
  font-size: 3em;
  font-weight: 700;
  text-align: center;
  color: white;
  text-shadow: 1px 2px 7px rgb(0 0 0 / 50%);
}

.parallax-img  .parallax-text {  
  font-family: 'Agency FB';
  font-size: 2.7em;
  max-width: 700px;
  text-transform: lowercase;
  font-weight: 400;
  text-align: center;
  color: #5EB8FF;
  text-shadow: 1px 2px 7px rgb(0 0 0 / 70%);
}

.box-parallax--container {
  position: relative;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
}

/* 

END PARALLAX */
.container-ohana {
  margin-right: auto;
  margin-left: auto;
  max-width: 1340px;
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
}


.ohana-box {
  padding: 60px 50px 40px 20px;
  background: #dbccc8;
  max-height: 190px;
  max-width: 388px;
  overflow: hidden;
  margin-bottom: 22px;
  margin-right: 22px;
  transition: all .2s ease-in-out;
}

.btn-services.btn-primary  {
  background-color:  #005B9F;
  color: #fff;
  font-size: 0.950em;
  font-family: 'Px Grotesk';
}

.btn-services.btn-primary.btnWhite  {
  background-color:  #fff;
  color: #2C3035;
  padding: 10px 25px;
  font-size: 1.04em;
  font-weight: 700;
  font-family: 'Agency FB';
}

.row {
  margin-right: 0!important;
  margin-left: 0!important;
}

.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
  width: 100%;
}


.ohana-services-list {
  background-color: #005B9F;
  margin-top: -34px!important;
  margin-top: 40px;
}


/* BUTTONS  */
.btn-outline-primary.btn-black--white {
  color: #ffffff;
  background-color: transparent;
  background-image: none;
  border-color: #ffffff; 
  letter-spacing: 1px;
  padding: 14px 30px;
  margin-bottom: -86px;
}

.btn-outline-primary.btn-black--white:hover {
  color: #000000;
  background-color: #ffffff;
  border-color: #ffffff;
  font-weight: 700;
}


.btn-outline-primary.btn-black {
  color: #000000;
  background-color: transparent;
  background-image: none;
  border-color: #000000; 
  letter-spacing: 1px;
  padding: 14px 30px;
  margin-bottom: -86px;
}

.btn-outline-primary.btn-black:hover {
  color: #ffffff;
  background-color: #000000;
  border-color: #000000;
  font-weight: 700;
}

.btn-outline-primary {
  color: #ffffff;
  background-color: #37bbd6;
  background-image: none;
  border-color: #ffffff; 
  letter-spacing: 1px;
  padding: 14px 30px;
}

.btn-outline-primary:hover {
  color: #000;
  background-color: #ffffff;
  border-color: #ffffff;
  font-weight: 700;
}


.dropdown:hover>.dropdown-menu {
  display: block;
}


.dropdown-toggle:hover::after {
  transition: transform .3s linear;  
  border-top-color: #00bcd4;
}


.pr-8 {
  padding-right: 9rem !important;
}    

.pl-7 {
  padding-left: 9rem!important;
}


/* START FOOTER */

.contact-info  {
  text-align: justify;
  line-height: 32px;
  padding-left: 20px;
  font-size: 1.2em;
}

.contact-info a {
  color: #fff;
}

.address-info {
  color:#fff;
  font-family: 'Agency FB';
  opacity: 1;
  margin-bottom: 0;
  margin-top: 10px;
}

.logo-footer2 {
  margin-left: 170px;
}

.logo-footer {
  margin-left: -400px;
}

.padding-footer  {
    padding-right: 0;
}


.footer {
  background-color:  #005B9F;
  width: 100%;
  height: auto;
  margin-top: 0;
  overflow: hidden;
  padding: 40px;
}

.footer-bg--color {
  background-color: #2C3035;
	width: 100%;
	height: auto;
  overflow: hidden;
  padding: 25px;
  padding-left: 55px;
  padding-bottom: 80px;
}
.footer-bg--color > p {
  font-size: 1.3rem;
  font-family: 'Agency FB';
  opacity: 1;
  color: #fff;
}

.footer_menu {
  width: 100%;
  padding: 35px;
  position: relative;
}


.footer_menu a {
 color: black; 	/* fallback color */
  color: rgba(0, 0, 0, 0.733);
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  display: inline-block;
  padding: 13px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer_menu a:hover {
  color: #ffffff;
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  -ms-transition: color 1s ease;
  -o-transition: color 1s ease;
  transition: color 1s ease;
}

.footer-active {
  color: #ffffff!important;	
}

@media screen and (max-width:1199px) {
  .logo-footer {
    margin-left: -190px;
    }
  }

  @media screen and (max-width:1150px) {
    .logo-footer {
      margin-left: -209px;
      }

    .fb-width {
      min-width: 330px;
      max-width: 330px;
      margin-left: -80px;
    }
      
  }

  
 @media screen and (max-width: 1050px) {

  .flex-mobile {
    flex-direction: column;
  }

  .logo-footer {
    margin-left: -12px;
    }

  .logo-mobile-width {
    margin-left: -50px;
    max-width: 360px;
    margin-bottom: 15px;
  }

  }


  @media screen and (max-width: 640px) {

    .logo-mobile-width {
      margin-left: -2px;
    }

    .fb-width {
      margin-left: -40px;
    }
  }

  @media screen and (max-width: 390px) {
    .mobile-size {
      width: 99%;
    }

    .fb-width {
    margin-left: -5px;
    }

  }


  @media screen and (max-width: 420px) {
    .logo-mobile-width {
      margin-left: -2px;
    }

    .fb-width {
      margin-left: 10px;
    }
  }



/* FORM-CONTACT */
.ohana-form--container {
  padding: 0 0 5px 0;
  background-color: #f5f5f5;
}

.form_container {
  background: #005B9F;
  top: -150px;
  position: relative;
  margin: 0 auto;
  max-width: 1180px;
  width: 90%;
  z-index: 980;
}
.form_container.form_containerDefault {
  top: -33px;
}

.checkbox label {
  color: #fff;
}

.table td {
  text-align: center;   
}

.table thead th{
  text-align: center;   
  color: #0056b3;
  font-size: 1.300em;
}

.table th, .table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #afbdc4;

}
.luxor_fieldset {
  background-color: transparent;    
  position: relative;
  min-height: 450px;       
  box-sizing: border-box;
}

.luxor_fildset--fix {
  min-width:0;
  margin: 0;
  border: 0;
}

.luxor_flexbox {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
}

.luxor_form--title { 
  height: 55px;
  background-color:#37bbd6  !important;
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  padding: 16px 26px;
  font-size: 1.210em;
  line-height: 20px;
  color: #ffffff;
  padding: 20px;
  border-bottom: none;
  text-transform: uppercase;
}

.luxor-form {
  padding-bottom: 25px;
}


.luxor_form--title {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  padding-bottom: 8px;
}

.luxor_form--text p:nth-child(1) {    
  margin: 0 0 20px;
  text-align: center;
      
} 

.luxor_form--title span {
  font-size: 2em;
  line-height: 1.5px;
  padding-right: 7px;
  padding-top: 7px;
  color: #dbccc8; 
}

.luxor_form--messagio  {
  margin-top: 2.400em;
}

.luxor-privacy span  {
  color: #888;
  font-size: 0.795em;
  line-height: 12px;
  padding-left: 17px;
  display: block;  
  margin-top: 9px;
  margin-left: -12px;
}


.luxor-privacy--color  {
  color: #888;
}


.btn.luxor_tablet--text {
  font-size: 1em;
}

.noshow {
  display:none;
}


.luxor-textarea {
  min-height: 80px;
  max-height:   80px;
  width: 100%;
  overflow: auto;
  resize: vertical;
}


/* inputs custom  */

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 1.100em;
  letter-spacing: 1px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
}


.luxor-form input, .luxor-form select , .luxor-form textarea {
  background: #F4F4F4;
  background-repeat: no-repeat;
  height: 40px;
  background-position:97% 51% ;
  border: 0;
  box-shadow: none;
  position: relative;
}


.luxor-form input[type='email']
{
  background-image: url("icons-form/luxor-email-icon.png");
}



.luxor-form input[type='text']
{
  background-image: url("icons-form/luxor-user-icon.png");
}



input.tel-icon[type="text"]
{
  background-image: url("icons-form/luxor-phone-icon.png");
}



input.picker-icon[type="text"]
{
  background-image: url("icons-form/luxor-datepicker-icon.png");
}


select.treatment-icon
{
  background-image: url("icons-form/luxor-trattamenti-icon.png");
}



select.adult-icon
{
  background-image: url("icons-form/luxor-user-icon.png");
}



select.child-icon
{
  background-image: url("icons-form/luxor-child-icon.png");
}

select.form-control {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: #03a9f4;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 4px #03a9f4;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 4px #03a9f4;
}


/* END inputs custom  */


/* BUTTON SEND FORM */


.ohana_form--button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
} 

.btn-floating.btn-large {
  width: 56px;
  height: 56px;
}

.btn-floating.btn-large.halfway-fab {
  bottom: -28px;
}

.btn-floating.btn-large i {
  line-height: 56px;
}


.luxor-btn-new {
  border: none;
  border-radius: 2px;
  display: inline-block;
  height: 36px;
  line-height: 36px;
  padding: 0 2em;
  text-transform: uppercase;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}


.btn.disabled, .disabled.btn-large,
.btn-floating.disabled,
.btn-large.disabled,
.btn-flat.disabled,
.btn:disabled,
.btn-large:disabled,
.btn-floating:disabled,
.btn-large:disabled,
.btn-flat:disabled,
.btn[disabled],
[disabled].btn-large,
.btn-floating[disabled],
.btn-large[disabled],
.btn-flat[disabled] {
  pointer-events: none;
  background-color: #DFDFDF !important;
  -webkit-box-shadow: none;
          box-shadow: none;
  color: #9F9F9F !important;
  cursor: default;
}



.btn.disabled:hover, .disabled.btn-large:hover,
.btn-floating.disabled:hover,
.btn-large.disabled:hover,
.btn-flat.disabled:hover,
.btn:disabled:hover,
.btn-large:disabled:hover,
.btn-floating:disabled:hover,
.btn-large:disabled:hover,
.btn-flat:disabled:hover,
.btn[disabled]:hover,
[disabled].btn-large:hover,
.btn-floating[disabled]:hover,
.btn-large[disabled]:hover,
.btn-flat[disabled]:hover {
  background-color: #DFDFDF !important;
  color: #9F9F9F !important;
}


.btn, .btn-large,
.btn-floating,
.btn-large,
.btn-flat {
  font-size: 1rem;
  outline: 0;
}

.btn i, .btn-large i,
.btn-floating i,
.btn-large i,
.btn-flat i {
  font-size: 1.3em;
  line-height: inherit;
}


.btn:focus, .btn-large:focus,
.btn-floating:focus {
  background-color: #1d7d74;
}

.luxor-btn-new {
  text-decoration: none;
  color:#005B9F;
  background-color: #fff;
  font-family: 'Px Grotesk';
  text-align: center;
  letter-spacing: .5px;
  -webkit-transition: background-color .2s ease-out;
  transition: background-color .2s ease-out;
  cursor: pointer;
}

.ohanar-btn-new-2 {
  background-color: #607d8b;
}

.btn:hover, .btn-large:hover {
  background-color: #98ca3f;
  color: #fff;
}

.btn-large {
  height: 54px;
  line-height: 54px;
}


.btn-large i {
  font-size: 1.6em;
}

i.right {
  float: right;
  margin-left: 15px;
}


/* end button */



/* Media query form */
@media screen and (max-width:1370px) {
  .luxor_container {
      margin: 0 auto;
      max-width: 1580px;
      width: 90%;
    }
}

@media screen and (max-width: 1369px) and (min-width: 992px) {
  .luxor_form--title {  
      font-size: 1em;
      line-height: 20px;
  }
  .luxor_tablet--text {
      font-size: 0.820em;
  }
}


@media screen and (max-width:991px) {
  .luxor_flexbox--mobile {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-content: center;
  }

  .luxor_fildset--fix  {
    min-width: 360px;
    max-width: 360px;
    margin-bottom: 30px;
  }

  .luxor_flexbox--elements  {
    display: flex;
    justify-content: center;
    align-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .box-statsText {
    margin-bottom: 45px;
  }

  .box-statsCount {
    font-size: 1.9em;
  }
  .box-statsText {
    font-size: 1.1em;
  }
}


@media screen and (max-width:440px) {
.luxor_fildset--fix  {
      min-width: 295px;
  }
  .checkbox {
    padding-left: 25px!important;
    padding-top: 0!important;
  }
  .parallax-img .parallax-h2 {
    font-size: 2em!important;
    line-height: 40px;
  }
}

/* END FORM CONTACT */


 /*  RESPONSIVE */

  @media (min-width: 1200px) {
    .box_services.container {
      max-width: 1508px;
    }
  }

  @media only screen and (max-width: 1400px) { 
    .carousel-caption {
      top: 30%;
    }
    .btn-services.btn-primary {
      margin-top: 10px;
    }
    .hero-text {
      margin-top: 18px;
    }
    .wrap-textContainer {
      max-width: 1091px;
      /* padding:0; */
    }
  }
  

  @media only screen and (max-width: 1237px) {
    .box_services {
      top: 0;
      margin-top: 30px;
    }
    .hero-title {
      font-size: 2em;
    }
    .hero-text {
      font-size: 1.1em;
    }
    .carousel-caption {
      top: 35%;
  }
}


  @media only screen and (max-width: 900px) {
    .hero-title {
      font-size: 1.5em;
    }
    .hero-text {
      font-size: 0.9em;
      margin-left: 0;
    }
}

  

  @media only screen and (max-width: 813px) {
    .btn-services.btn-primary {
      font-size: 0.7em;
      margin-top: 0;
    }
    .hero-btn-mobile {
      margin-left: 0!important;
    }
    .btn-services.btn-sizeMobile {
      font-size: 0.950em;
    }
  }

  
  @media only screen and (max-width: 760px) {
    .hero-title {
      font-size: 1.2em;
    }
    .hero-text {
      font-size: 0.8em;
    }
    .carousel-caption {
      top: 35%;
    }
  }


  
  @media only screen and (max-width: 450px) {
    .carousel-caption {
      top: 25%;
      left: 29%!important;
      width: 50%;
    }
    .box_padding {
      padding: 0!important;
    }
    .box_services_wrapper {
      min-width: 234px;
    }
}


@media only screen and (max-width: 378px) {
    .carousel-caption {
      top: 18%;
      left: 32%!important;
      width: 55%;
    }
}


@media screen and (max-width: 1450px) {
  .navbar-nav {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.2em;
    /* margin-left: 10px!important; */
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .5rem; 
    padding-left: .8rem;
    overflow: visible!important;
  }

}

@media screen and (max-width: 1414px) {
  .mobile-logo {
    height: 70px; 
  }
}

@media screen and (max-width: 770px) {
  .margin-services-top {
    margin-top: 40px; 
  }
  .svg-anchor {
    height: 30px;
  }

  .text-default {
    font-size: 1em;
  }

}




@media screen and (max-width: 1225px) {

  .container.navbar-container {
    max-width: 900px; 
  }

  .mobile-hidden {
    display: none;
  }
}



@media screen and (max-width: 742px) {
  .container.navbar-container {
    max-width: 500px; 
  }
  .pl-7 {
    padding-left:0!important;
  }
}


@media screen and (max-width: 570px) {

  .container.navbar-container {
    max-width: 470px; 
  }
  .pic-widget-bg {
      height: 388px;
  }
  .mt-mobile {
    margin-top: 20px;
  }
  .text-box {
    font-size: 1em;
    padding: 0!important;
  }
  .mobile-height {
    min-height: 30vh;
  }
  .wrap-textContainer {
    padding-bottom: 0;
  }
  .box-stats {
    padding-bottom: 0;
    max-width: 85%;
  }
  .teams-subtitle {
    font-size: 1.1em;
  }
  .box-teams {
    padding-bottom: 0;
  }
}


@media screen and (max-width: 450px) {
  .mobile-container-ohana {
    max-width: 40px; 
  }
}



@media screen and (max-width: 450px) {
  .mobile-container-ohana-2 {
    max-width: 210px; 
  }
}


@media screen and (max-width: 1429px) {
  .slider {
    margin-top: 55px;
  }  
  .bg-light {
    background-color: rgba(255, 255, 255, 1)!important;
  }
  .navbar-toggler:focus, .navbar-toggler:active {
    outline: none;
    box-shadow: none;
  }
}


@media screen and (max-width:770px) {
  .mobile-height {
    min-height: 33vh;
  }

  .mobile-height-offerte {
    min-height: 23vh;
  }
  .airbit_title--default {
    line-height: 1.5;
    margin-bottom: 55px;
    margin-top: 40px;
  }
  .ohana-text--mobile {
    max-width: 300px;
    margin-bottom: 25px;
  }

  .ohana-mobile--padding {
    padding: 0;
  }

  div.fixMarginLeft-box {
    margin-left: 0!important;

  }

}


@media  screen and  (max-width: 740px) {
  .preHeader-wrapper {
    top: 0;
  }

  .preHeader-nav ul li {
    padding-right: 14px;
    padding: 14px;

  }

  .preHeader-nav ul {
    padding:0;

  }

  .preHeader-nav ul li a {
    font-size: 0.770em;

  }

  .preHeader-fontSize {
    font-size: 30px;
    top: 7px;
    padding-right: 20px;
    padding-left: 20px;
    transition: all .2s ease-in-out;
  }


  .preHeader-fontSize:hover {
    cursor: pointer;
    transform: scale(1.1);

  }

  .preHeader-menuMobile {
    display: none!important;

  }

  .preHeader-nav {
    max-height: 75px;
    min-height: 0;

  }

  .main_menu_area {
    top: 60px;
  }

  .navbar {
    top: 28px;
  }

  }

  
@media screen and (max-width: 600px) {
  .carousel-control-prev,.carousel-control-next {
    display: none;
  } 
}


@media screen and (max-width: 480px) {
  .container.navbar-container {
    max-width: 320px; 
  }

  .mobile-logo {
    height: 55px;
    margin-left: -35px;
    margin-top: -5px;

  }

  .ohana_title--default {
    text-align: center;
    margin: 30px 0;
    position: relative;
    font-family: 'Agency FB', sans-serif;
    font-size: 2.8em;

  }

  .svg-anchor {
    height: 30px;
  }

  .text-default {
    font-size: 1em;
    line-height: 37px;
    width: 100%;
    max-width: 100%;
    color: #442D2D;
  }
  .padding-default {
    padding-top: 135px;
}

  .bg-light {
    background-color: #ffff!important;
  }

  .ohana-box {
    padding: 27px 10px 20px 10px;
    background:  #dbccc8;
    max-height: 190px;
    max-width: 388px;
    overflow: hidden;
    margin-bottom: 22px;
    margin-right: 22px;
    transition: all .2s ease-in-out;
  }

  .ohana-form--container {
    padding: 0;
    background-color: #f5f5f5;

  }

  .slider {
    margin-top: 90px;
  }  

  .navbar-nav {
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-left: 0px!important;
    font-size: 1em;
  }

  .navbar-toggler:focus, .navbar-toggler:active {
    outline: none;
    box-shadow: none;
  }
  .ohana_title--default.fontSize-mobile {
    font-size: 2em;
  }
}


@media screen and (max-width:  1550px) {
    .parallax-img .parallax-h2 {
      font-size: 3em;
    }
    .carousel-caption {
        left: 26%;
    }
  }

@media screen and (max-width:  1190px) {
    .parallax-img .parallax-text {
      font-size: 2em;
      font-weight: 700;
      text-align: center;
    }
    .parallax-img .parallax-h2 {
      font-size: 2.5em;
    }
}


@media screen and (max-width:  800px) {
  .parallax-img .parallax-h2 {
    margin-bottom: 30px;
  }

  .parallax-img .parallax-text {
    font-size: 1.800em;
  }
  .child-container {
    padding-right: 10px;
    padding-left: 10px;

  }
}

    

@media screen and (max-width:  599px) {
  .ohana-box {
    margin-right: 0;
  }
}


@media screen and (max-width:1192px) {

.container-ohana {
  margin-right: auto;
  margin-left: auto;
  max-width: 780px;
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
}

}


/* servizi mobile  */
@media screen and (max-width:770px) {
.mobile-services {
  flex-direction: column!important;
  align-items: center;
}


.margin-services--mobile {
  margin-top: 19px;
}

.padding-mobile--services {
  padding-right: 0;
  padding-left: 0;
}

.mobile-padding {
  margin-left: 20px;
  padding-left: 120px;
}

}


@media screen and (max-width:420px) {
  .mobile-padding {
    margin-left: 20px;
    padding-left: 90px;
  }

}

@media screen and (max-width:415px) {
  .pic-widget-bg {
    height: 302px;
  }
}

  
  