body, html {
  font-size: 14pt;
  font-family: 'Open Sans', sans-serif;
  font-weight: 200;
  color: #252525;
}

.innerLink {
  cursor: pointer;
}

.terapie-thumbnail {
  width: 250px;
  padding: 20px;
  max-width: 33%;
}


.site-wrapper-inner {
       position: fixed;
	   top: 50%;
       left: 20px;
	   padding: 10px;
}

.home-title {
      font-weight: bold;
      color: white;
      font-size: 48pt;
      text-shadow: 2px 2px #252525aa;
}

.home-subtitle {
      font-weight: bold;
      color: white;
      text-shadow: 2px 2px #252525aa;
}

.hide {
	display: none;
}

.parallax {
  /* The image used */
  /*background-image: url('../images/cromopuntura_1.jpg');*/

  /* Full height */
  height: 550px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.no-parallax-top, .no-parallax-bottom {
  height: 550px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.blog {
  background-image: url('../images/blog.jpg');

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.selected {
	background-color: #C5BFC3;
}

.vegas-div {
  height: 550px;
}



.content {
	background-color: #f6f6ee;
	
}


img {
	max-width: 100%;
	
}


.blog-title {
    text-align: center;
    margin-top: 110px;
}


.inner_content {
	padding-left: 350px;
	padding-right: 350px;
	padding-top: 50px;
	padding-bottom: 50px;
}

#menu {
	position: absolute;
	width: 100%;
	font-weight: 600;
	background-color: #f6f6eed9;
	z-index: 1;
	top: 0;
}

.submenu {
	/*background-color: #f6f6ee88;*/
	margin: 5px;
	border: 1px solid #C5BFC3;
	text-align: center !important;
	width: 75%;
	border-radius: 20px;
}

.footer {
	background-color: white;
	padding-left: 50px;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 12pt;
}

.seminari-column {
	display: flex;
}

.seminari {
	width: 48%;
	text-align: center;
	display: inline-block;
	vertical-align: top;
}

.materiali {
	width: 31%;
	text-align: center;
	display: inline-block;
	vertical-align: top;
}

.center {
	text-align: center;
}

.fullwidth {
	width: 75%;
}

.biowell {
	width: 100%;
	text-align: center;
	display: inline-block;
}

.inner_seminari {
	display: inline-block;
	padding: 15px;
	border: 1px solid #C5BFC3;
	height: 100%;
	width: 90%;
    border-radius: 20px;
}

.inner_seminari:hover, .submenu:hover, .inner_biowell:hover {
	background-color: #C5BFC3;
}

.biowell {
	width: 100%;
	text-align: center;
	display: inline-block;
	vertical-align: top;
}

.inner_biowell {
	display: inline-block;
	padding: 15px;
	border: 1px solid #C5BFC3;
	height: 100%;
	width: 48%;
    border-radius: 20px;
}

.seminario-column {
	display: flex;
}

.inner_libri {
	display: inline-block;
	padding: 15px;
	text-align: left;
}

.inner_terapie {
	display: inline-block;
	padding: 15px;
	text-align: left;
    width: 100%;
}

.inner_terapie  img {
    width: 95%;
}

.bold {
	font-weight: bold;
}

.blogimage {
    max-width: 75%;
    margin: 20px;
}

.shadow {
    box-shadow: 3px 3px 3px #949393;
}

.materiali-libir-content {
	background-color: #cecebe;
}

.terapie-content {
	background-color: #C8BDC7;
}

.grow { transition: all .2s ease-in-out; }

.grow:hover { transform: scale(1.1); }

.libro-thumbnail {
    height: 330px;
    cursor: pointer;
    margin-top: 70px;
    width: 225px;
    margin-left: 0px;
}

.libro-piccolo {
	display: inline-block;
	padding-right: 30px;
}

.libri-row > * {
	padding-top: 50px;
	vertical-align: top;
}

.libri-row {
	text-align: center;
}

.libro-piccolo img {
	height: 130px;
}

.strikeout {
  position: relative;
}
.strikeout::after {
  border-bottom: 0.18em solid rgba(200, 0, 0, 1);
  content: "";
  left: 0;
  margin-top: calc(0.125em / 2 * -1);
  position: absolute;
  right: 0;
  top: 50%;
  padding-right: .1em;
}

.map {
 	width: 100%;
	height: 500px;
	max-width: 100%;
}

.alignLeft {
	text-align: left;
}


a, a:link, a:active {
    color: rgba(37, 37, 37, 0.6);
    font-weight: bold;
    font-style: underline;
}

a:hover {
	text-decoration: none;
	font-weight: bold;
	font-style: none;
}

.nav-item {
	font-size: 15pt;
}

a.nav-link, a.nav-link:link, a.nav-link:active {
    color: rgba(0, 0, 0, 1.0);
    font-weight: initial;
}

a.nav-link:hover {
    	color: rgba(0, 0, 0, 1.0);
}

a:hover {
    color: rgba(37, 37, 37, 0.9);
	text-decoration: none;
}


a.ordinazione, a.ordinazione:link, a.ordinazione:active {
    color: rgba(200, 0, 0, 1.0);
    font-weight: bold;
	font-size: 150%;
}
a.ordinazione:hover {
    	color: rgba(200, 0, 0, 0.5);
	text-decoration: none;
}

/* inizio blog */


#blogtitle {
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
	background-image: url('../images/blog-title.png');
	height: 550px;
	margin-top: 110px;
}

.blogline {
	width: 100%;
	border-top: 4px solid #ee0000bb;
	height: 45px;
	margin-top: -10px;
}


.smaller {
	font-size: 80%;
	margin-bottom: 0pt;
}

.blogdiv {
	background-color: rgba(255,255,255,0.5);
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3),0 6px 20px 0 rgba(0,0,0,0.29);
	margin: 45px 350px 0px 350px;
	padding: 60px 60px 60px 60px;
}

.blogdiv p {
	line-height: 150%;
}

.blogdivTop {
	background-color: rgba(255,255,255,0.5);
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3),0 6px 20px 0 rgba(0,0,0,0.29);
	margin: 45px 90px 0px 90px;
	padding: 1px 15px 1px 15px;
        text-align: justify;
	line-height: 1px;
}

.blogdivTop:after{
    content: "";
    display: inline-block;
    width: 100%;
}

#blogsearch {
	background-image: url('../images/searchicon.png');
	background-position: 3px 3px;
	background-repeat: no-repeat;
	margin: 10px 0px 10px 0px;
	background-size: 18px;
	width: 200px;
	padding-left: 25px;
}

.search-form {
	display: inline-block;
}


figure {
	text-align: center;	
}

.tag {
	text-align: right;
}
/* fine blog */


h1 {
	padding-bottom: 20px;
}

.nav-link:hover {
	background-color: #f6f6eeff;
}


 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  centered {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 45%; /* Could be more or less, depending on screen size */
  background-image: url(../images/primavera-1.jpg);
  background-size: cover;
}

/* The Close Button */
.close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #aaa;
  text-decoration: none;
  cursor: pointer;
} 

@media only screen and (min-device-width: 1320px) {
  .first-el {
    margin-left: 0px  !important;
  }
  .libro-thumbnail {
    margin-left: 70px;
  }
}

@media only screen and (max-device-width: 1024px) {
  .parallax {
    background-attachment: scroll;
  }
}


@media only screen and (min-device-width: 1024px) and (max-device-width: 1320px) {
  .materiali {
    width: 80%;
  }
}

@media (max-width: 1024px) {
	body, html {
  	    font-size: initial;
	}
    .inner_content {
	    padding-left: 10px;
	    padding-right: 10px;
	    padding-top: 25px;
	    padding-bottom: 25px;
	}

	.blogdiv, .blogdivTop {
		margin: 45px 15px 0px 15px;
		padding: 1px 15px 15px 15px;
	}

	.blogdivTop {
		margin-top: 45px;
	}

	.footer {
		padding-left: 10px;
	}
	.seminari, .materiali {
		width: 100%;
		margin-top: 25px;
	}
	.seminario-column {
		display: inline-block;
		text-align: center;
		width: 100%;
	}
	.inner_seminari {
		width: 90%;
		display: inline-block;
	}
	.inner_biowell {
		width: 90%;
	}
	.search-form {
		display: inline-block;
		width: 100%;
	}
	.blogdivTop {
		line-height: initial;
	}
	.libro-thumbnail {
   	    margin-left: 0px;
	}

    .modal-content {
       width: 85%; /* Could be more or less, depending on screen size */
    }
}

@media (min-width: 768px and max-width: 1200px) {
    .navbar-nav {
		float:none;
		margin:0 auto;
		display: block;
	}

	.navbar-nav > li {
		display: inline-block;
		float:none;
	}
}

@media (min-width: 1200px) {
    .navbar-nav {
		text-align: center;
	}

	.navbar-nav > li {
		display: inline-block;
		float:none;
	}
}

@media (max-width: 768px) {
    .no-parallax-top, .no-parallax-bottom, .parallax {
        height: 200px;
    }
    .vegas-div, #blogtitle {
        height: 300px;
    }
    #menu {
         background-color: #f6f6eeff;
    }
    h1, h2, h3 {
	font-size: 18pt;
    }
    body {
        padding-top: 50px;
    }
    #blogtitle {
        margin-top: 50px;
		background-image: url('../images/blog-title-mobile.png');
    }
    .home-title {
      font-size: 18pt;
    }
    .fullwidth {
	    width: 100%;
    }
   .terapie-thumbnail {
        max-width: 100%;
        width: 60%;
   }
}
