/*!
Theme Name: Studio Medico Bertaggia
Theme URI: http://underscores.me/
Author: Simone Nolgo
Author URI: http://simonenolgo.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: studio-medico-bertaggia
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Studio Medico Bertaggia is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
*/


html,
body {
	margin: 0;
	padding: 0;
}

* {
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* COLOR PALETTE ============================================================ */




html, body {
    padding:0;
    margin: 0;
    width: 100%;
    color: #222;
    line-height: 1.6;
    letter-spacing: 0.02em;
    font-size: 14px;
    /*font-family: 'Merriweather', serif;*/
    font-family: 'Poppins', sans-serif;
    font-weight: 400
}

* {
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#colophon,
#masthead {
  width: 100%;
}

#content {
  width: 100%;
  flex-grow: 1;
}

.container {
  margin:0px auto;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  z-index: 2;
}

.page-no-cover #content {
  padding-top: 52px;
}

.block {
	display: block;
}

.hidden {
  display: none
}

.popup-cookie {
	position: fixed;
	background-color: rgba(15,15,15,.9);
	padding: 10px;
	color: #ccc;
	 z-index: 80;
    width: 100%;
    left: 0;
    bottom: 0;
    right: 0;
    font-size: 11px;
    justify-content: center;
    align-items: center;
	transform: translateY(200%);
	transition: transform .3s ease-in;
}

.popup-cookie.visible {
	transform: translateY(0%);
	
}

.popup-cookie .cta-cookie {
	margin-top: 5px
}

.popup-cookie .link {
	color: #fff;
  display: block;
	padding-left: 10px;
	cursor: pointer;
	font-weight: bold;
}



/*HOME ==*/

.cover {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.ombra-top {
	opacity: .5;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	height: 40%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 0;
}
.ombra-bottom {
	opacity: .5;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
	height: 40%;
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 0;
}

.page-contatti .ombra-bottom {
	opacity: .7;
}

.slider-bottom {
	display: none;
}

.owl-wrapper {
	display: flex !important;
	align-items: stretch;
}

.owl-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.slider-container .slide {
	min-height: 50vh;
	padding: 140px 0 110px 0;
	background-color: #333; 

}

.terapia {
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  flex-grow: 1;
}

.terapia .hover {
  display: block;
  padding: 30px 15px;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.terapia .hover p {
  margin: 0;
}


.lista-terapie-aside .terapia .hover {
  padding: 20px 15px;
}

.lista-terapie-aside,
.lista-terapie  {
  border-radius: 6px;
  overflow: hidden;
}


.foto-studio {
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 100%;
  margin-left: -15px;
  margin-right: -15px;
}

.content-article {
  color: #444;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
}

.content-article img {
  max-width: 100%;
  height: auto;
}


/*PAGE ====*/

.page-cover {
	min-height: 50vh;
	padding: 70px 0 70px 0;
	background-color: #ddd; 
}

.foto-profilo {
	width: 220px;
	height: 220px;
	background-color: #ddd;
	border: 5px solid #fff;
	border-radius: 50%;
	margin-top: -110px;
	margin-left: auto;	
	margin-right: auto;
  background-image: url(images/1.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cover-archive {
	background-color: #f9f9f9;
	border-bottom: 1px solid rgba(10,10,10,.04);
}

/*FOOTER ======*/

.site-footer {
  background-color: #232228;
  padding: 20px 0;
}

.site-footer a {
  color: #fff;
}

.post-list {
	margin-left: -10px;
	margin-right: -10px;
}

.post-list .post {
	margin-left: 10px;
	margin-right: 10px;
}

.post-bg {
	background-color: #F9F9F9;
	position: relative;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
	height: 180px;
	display: block;
	margin-bottom: 20px;
}



table {
  border-collapse: collapse;
}


table th,
table td {
  border: 1px solid #ddd;
  padding: 7px;
  margin: 40px auto; 
}



/*fine globali*/


body:not(.logged-in) {
	width: 100%;height: 100%;overflow: hidden;
	
}


.mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 90;
	background-color: #fff
}

.logged-in  .mask {
	display: none
	
}




.map {
	margin-top: 60px;
	padding-top: 20%;
	background-image: url(images/map.jpg);
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: 1920px auto;
	background-size: 1920px auto;
}































/*
 ==========================================================================
   SMARTPHONE - SCHERMI PICCOLI BP000 > BP480
   ========================================================================== */

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

    /* disabilita ridimensionamento testo quando cambio orientamento portrait/landscape */
    html, body, div, section, article, aside, header, hgroup, footer, nav, h1, h2, h3, h4, h5, h6, p, blockquote, address, time, span, em, strong, img, ol, ul, li, figure, canvas, video, th, td, tr {
        -webkit-text-size-adjust:none;
    }



} /* FINE SMARTPHONE 000 > 480 */
































/* ==========================================================================
   DESKTOP - SCHERMI GRANDI BP640 > BP...   
   ========================================================================== */

@media only screen and (min-width:40em) {

	.sm-block {
		display: block;
	}

	.sm-hidden {
	 	display: none
	}


} /* FINE SMARTPHONE 640 > ... */

































































































/* ==========================================================================
   DESKTOP - SCHERMI GRANDI BP768 > BP...   
   ========================================================================== */

@media only screen and (min-width:52em) {

	.md-block {
		display: block;
	}

	.md-hidden {
	 	display: none
	}


  .foto-studio {
    padding-top: 70%;
    margin-left: 0px;
    margin-right: 0px;
    border-radius: 8px;
  }

  .container-quote {
    padding-left: 50px;
  }



} /* FINE DESKTOP 768 > ... */

















































/* ==========================================================================
   DESKTOP - SCHERMI GRANDI BP1024 > BP...   
   ========================================================================== */

@media only screen and (min-width:64em) {

  .page-no-cover #content {
    padding-top: 55px;
  }

	.lg-block {
		display: block;
	}

	.lg-hidden {
		display: none
	}

	.container {
	    max-width:990px;
	    padding: 0;
	}

  /*HOME ===*/

  .slider-bottom {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	background-image: url(images/bottom-slide.svg);
	-webkit-background-size: 100% auto;
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 60px;
	display: block;
}

.slider-container .owl-theme .owl-controls {
	position: absolute;
	z-index: 30;
	bottom: -30px;
	width: 100%;
	left: 0;
}


  .slider-container .slide {
	padding: 180px 0 200px 0;
}

  .slider-bottom {
	background-size:  auto 100%;
	background-repeat: no-repeat;
	background-position: center bottom;
	height: auto;
	padding-top: 5.6%;
	bottom: -2px;
}

.lista-terapie-aside,
  .lista-terapie {
    border-radius: 8px 
  }


  .terapia .hover {
    padding: 70px 25px;
  }

  .terapia .hover:hover {
    background-color: rgba(0,0,0,.1)
  }

  .aside-single {
    margin-left: 50px;
  }

  .sticky-aside {
    position: sticky;
    top: 70px;
  }

  /*PAGE ====*/

  .page-cover {
	min-height: 45vh;
}
    	

} /* FINE DESKTOP 1024 > ... */




















@media only screen and (min-width:1100px) {

	
}





@media only screen and (min-width:1280px) {


}
/*1280*/




@media only screen and (min-width:1600px) {


}
/*1600*/











































/* ==========================================================================
   IE8 e precedenti   html.lt-ie9 > ...
   ========================================================================== */

html.lt-ie9 body {
}




/* ==========================================================================
   Classi Utili - Clearfix etc.
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}



.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}







/*tooltip*/

.ui-tooltip, .arrow:after {
  background: #000;
}

.ui-tooltip {
  padding: 5px 10px !important;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: #000!important;
  border:0!important;
}

.ui-tooltip-content {
  color: #fff;
  font-size: 12px!important;
  border:0!important;
  margin: 0!important;
  padding: 0!important;
  line-height: 18px;
}

.arrow {
  width: 70px;
  height: 16px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: -16px;
}
.arrow.top {
  top: -16px;
  bottom: auto;
}
.arrow.left {
  left: 20%;
}
.arrow:after {
  content: "";
  position: absolute;
  left: 20px;
  top: -20px;
  width: 20px;
  height: 20px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  tranform: rotate(45deg);

}
.arrow.top:after {
  bottom: -20px;
  top: auto;
}






/*CUSTOM SELECT============================================;*/



.box-select {
  max-width: 300px;
  position: relative;
  margin-top: 50px;
  margin-bottom: 50px;
  height: 30px;
  
}

.box-select .c-scroll {
    margin: 10px 0;
    max-height: 250px;
    overflow: hidden;
}



.select {
  -moz-border-radius:0px;
  -webkit-border-radius:0px;
  border-radius:0px;
  border: 0;
  height: 30px;
  padding-bottom: 0;
  /*padding-top: 2px;*/
  background-color: #fff;
  list-style: none;
  position: relative;
  text-align: left;

}

.select .btn {
  display: block;
  height: 30px;
  line-height: 30px;
  min-width: 150px;
  text-align: left;
  cursor: pointer;
  position: relative;
  padding:0 10px;
  background: #555;
  color: #fff
}

.select .btn:after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 6px 0 6px;
  border-color: #fff transparent transparent;
  position: absolute;
  right: 10px;
  content: '';
  top: 50%;
  -ms-transform:translateY(-50%);
  -moz-transform:translateY(-50%);
  -webkit-transform:translateY(-50%);
  transform:translateY(-50%);
}

input.select-input {
  display: none!important;
}


.select .btn .icon {
  top: 2px;
  position: absolute;
  right: 5px;
}

.select ul {
  list-style: none;
  padding: 0;
}

.select .content {
  position: absolute;
  list-style: none;
  top: 30px;
  left: 0px;
  width: 100%;
  z-index: 999;
  display: block;
  background: #fff!important;
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  -moz-transition:max-height 0.5s ease;
  -webkit-transition:max-height 0.5s ease;
  -o-transition:max-height 0.5s ease;
  transition:max-height 0.5s ease;

}

.box-select .mCustomScrollBox > .mCSB_scrollTools {
  width: 30px;
}

.box-select .mCSB_container {
  margin: 0;
}

.select.open .content {
  max-height: 1000px!important;
}

.select ul li {
  padding: 2px 30px 2px 10px;
  font-size: 15px;
  cursor: pointer;
}


.select ul li:hover,
.select ul li:focus {
  background: #efefef;
}




/*TOOLTIP CUSTOM ===================0*/





a {

    position:relative;
}



a[title]:hover:after {
    content: attr(title);
    position:absolute;
    padding:5px;
    background:rgba(100,100,100,0.9);
    color:#fff;
    font: normal 11px/1.1 arial, sans-serif;
    text-align:center;
    border-radius:3px;

    /*left: 0; */
    bottom: 110%;
    
    min-width:8em;
    left:50%;
    transform:translateX(-50%) translateY(-7px);
    
}

a[title]:hover:before {
    content:"";
    display:block;
    border-style:solid;
    border-width:7px;
    border-color: rgba(100,100,100,0.9) transparent transparent transparent;
    position:absolute;
    bottom: 110%;
    left:50%;
    transform:translateX(-50%) translateY(7px);
}
