/*
Theme Name: 	Farmacie in vendita Emilia Romagna
Description: 	Responsive WordPress Theme based on Boostrap and Font Awesome 4.7 Woocommerce ready.
Version:     	1.0
Author:     	Andrea Webmaster
Author URI:
Site:
Text Domain: 	nakedpress
Domain Path: 	/languages
Tags:        	grid-layout, blog, custom-menu, featured-images, right-sidebar
License:    	GNU General Public License v3.0
License URI:	http://www.gnu.org/licenses/gpl-3.0.html

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.
*/



html {scroll-behavior: smooth;}

body, html { margin: 0; padding: 0; height: 100%;}
body.admin-bar .navbar-fixed-top { position: fixed; top: 32px; z-index: 1000;}


/* ------------------------------------------------------------------------- *
/* ! Base */
/* ------------------------------------------------------------------------- */

/* Typography */
body{font-size: 20px; line-height: 22px; font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; background: #f5f5f5;}

/* Title color */
/*h1, h2, h3, h4, h5, h6 {color: #222; }*/


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

@media (max-width: 768px) {
  .container {
    padding-right: 25px;
    padding-left: 25px;

  }
}


h2, h3, h4{font-weight: bold;}

/* Link color */
a{ color: #1a9948;  text-decoration: underline;;}
a:focus, a:hover { color: #1a9948; }


aside{ margin-bottom: 20px;padding: 20px}
article{padding-bottom: 0;}

/* Colors to show structure */
aside{border: 1px solid red;}


.title-big{font-size: 60px; line-height: 55px; font-weight: bold;}
.title-page{font-size: 40px; line-height: 35px; font-weight: bold;}
.title{font-size: 30px; line-height: 35px; font-weight: bold;}

@media (max-width: 768px) {
  .title-big{font-size: 40px; line-height: 42px;}
}

.btn-success{background-color: #1a9948; color: #fff;}

.home-intro h2,
.home-evidenza h2{font-weight: bold; margin-bottom: 30px;}


/* --------------------------------------------------------------------------------------------------------------------------- */
/* ! Header */
/* --------------------------------------------------------------------------------------------------------------------------- */

.logo-az{
  min-width: 270px;
  height: 86px;
  position: relative;

}
.logo-az img{position: absolute; top: 15px; left: 0;}


.logo-az .blog-title {
	position: absolute;
	top: 39px;
	left: 24px;
	color: #000;
	font-size: 16px;
	font-weight: bold;
}
.logo-az .blog-slogan{
  position: absolute;
  top: 59px;
  left: 25px;
  color: #000;
  font-size: 14px;

}

@media (max-width: 768px) {
  .logo-az { min-width: 225px; }
  .logo-az .blog-title { line-height:17px; }
  .logo-az .blog-slogan { font-size: 12px; top:69px; }
}

.header.bg-light{background-color: #f5f5f5!important;}
.header .navbar-collapse{margin-top: 15px;}
a.cta-chiama{color: #fff!important; text-decoration: none;}
/*
.cta-chiama{position: relative; padding-left: 50px;}
.cta-chiama::before{
  content: " ";
  position: absolute;
  top: 7px;
  left: 19px;
  background-image: url(img/ico-tel.webp);
  width: 25px;
  height: 25px;

}
*/

.navbar-nav li a{text-transform: uppercase; text-decoration: none; font-size: 12px; color: rgba(0,0,0,.9)!important;}
.navbar-nav li.active a{color: #000!important; text-decoration: underline;}
.navbar-nav li a:hover{color: rgba(0,0,0,.5)!important;}

@media (max-width: 1400px) {
  .navbar-nav li a{ font-size: 12px;}
}


@media (max-width: 768px) {
  
}




/* ------------------------------------------------------------------------- *
/* ! Modules */
/* ------------------------------------------------------------------------- */
/*
.cover{padding: 50px 20px; text-align: center;position: relative;}
.cover:before { content : ''; position : absolute; top : 0; left : 0; bottom : 0; right : 0; background-color : #000000; opacity : 0.5; z-index : 0; }
.cover h1,
.cover h2{color:#fff;z-index: 1;position: relative;}
*/




/* Home Title */
.home-title { position: absolute; top:-9999px; color: #fff; font-size: 12px;}


/* ------------------------------------------------------------------------- *
/* ! Banner */
/* ------------------------------------------------------------------------- */

.carousel,
.carousel-inner,
.carousel-item { height: 710px; padding: 0;}

@media (max-width: 768px) {
 .carousel,
 .carousel-inner,
 .carousel-item { height: 480px;} 
}

.carousel-inner{ position: relative;}

.carousel-caption{ text-align: left; left: 10%; right: 10%; display: block!important;}

.slider-big .cta{margin-top: 40px;}
.slider-big .cta a {
  padding: 15px 20px; 
  background-color: #1a9948; 
  color: #fff; 
  text-decoration: none; 
  text-align: center; 
  border-radius: 5px;
  font-size: 20px;
}




@media (max-width: 768px) {
  /*
  .carousel-control-next{display:none;}
  .carousel-control-prev {display:none;}
  */

  .carousel-caption{ text-align: center;}
  .slider-big .cta{margin-top: 25px;}
  .slider-big .cta a {font-size: 16px; padding: 12px 15px; }


  .slider-big .title {
    font-size: 20px;
    line-height: 22px;
  }


}

/* ! Home Intro */
.home-intro{padding: 100px 0;}

@media (max-width: 768px) {
  .home-intro{padding: 30px 0;}
  .home-intro p{line-height: 27px;}
}

/* ! Home Evidenza */
.home-evidenza{padding: 80px 0; background: #1a9948; color: #fff;}
.home-evidenza h2,
.home-evidenza h3,
.home-evidenza h4{color: #fff;}
.home-evidenza a{color: #fff; font-weight: bold; text-decoration: underline;}



/* ! Home Cards */
.home-cards{background-color: #fff; padding: 100px 0 50px 0;}
.home-cards .card{border: none; border-radius: 0; margin-bottom: 50px;}
.home-cards .card img{ width: 100%; min-height: 250px; max-height: 250px; object-fit: cover;}
.home-cards .card .card-body{background-color: #1a9948; color: #fff;}
.home-cards .card .card-body .card-text{text-align: center;}
.home-cards .card .card-body .card-text a{font-weight: bold; color: #fff; text-decoration: none;}



/* ! Category Intro */
.jumbotron.category {min-height: 710px; text-align: center; color: #fff; position: relative;}
.jumbotron.category .container{position: absolute; bottom: 30px; left: 0; right: 0; margin: auto;}

.category-intro{padding: 50px 0 20px 0; background:#fff328;}

@media (max-width: 768px) {
  .category-intro .parent-category-desc p{
    line-height: 27px;
  }
}

/* ! Category Cards */
.category-cards{background-color: #f5f5f5; padding: 50px 0 50px 0;}
.category-cards .card{border: none; border-radius: 0; margin-bottom: 50px;}
.category-cards .card .card-image{min-height: 300px; position: relative;}
.category-cards .card .card-image .prezzo{position: absolute; bottom: 0; left: 20px; color: #fff;}
.category-cards .card .card-body h4{font-weight: bold;}
.category-cards .card .card-body h4 a{text-decoration: none;}
.category-cards .card .card-body h4 a:hover{text-decoration: underline;}															 


.category-cards .card .card-body{background-color: #e9e9e9; padding-bottom: 30px; min-height: 260px; position: relative;}
.category-cards .card .card-body .card-text.mag-info p{margin-bottom: 50px;}

.category-cards .card .card-body .indirizzo p { margin: 15px 0; padding-left: 35px; padding-top: 0; position: relative;}
.category-cards .card .card-body .indirizzo p::before{
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(img/ico-indirizzo.webp);
  width: 22px;
  height: 32px;
}

.category-cards .card .card-body .btn{
	display: inline-block;
	width: 100%;
	margin-top: 30px;
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
	margin: auto;
	width: 88%
}


/* ! Page Title */
.page-title{background-color: #707070; color: #fff; padding: 30px 0;}
.contact-email{
  padding: 15px 0 15px 50px;
  position: relative;
}
.contact-email::before{
  content: " ";
  position: absolute;
  top: 8px;
  left: 0;
  background-image: url(img/ico-email.webp);
  background-size: 35px 35px;
  width: 35px;
  height: 35px;
}

.contact-email{
  padding: 15px 0 15px 50px;
  position: relative;
}

@media (max-width: 768px) {
  .contact-email{padding: 55px 0 15px 5px;}
  .clemente-page p{line-height: 27px;}
  .page-title{text-align: center;}
}

.contact-email::before{
  content: " ";
  position: absolute;
  top: 8px;
  left: 0;
  background-image: url(img/ico-email.webp);
  background-size: 35px 35px;
  width: 35px;
  height: 35px;
}

.contact-whatsap{
  padding: 15px 0 15px 50px;
  position: relative;
}
.contact-whatsap::before{
  content: " ";
  position: absolute;
  top: 8px;
  left: 0;
  background-image: url(img/ico-wp.webp);
  background-size: 35px 35px;
  width: 35px;
  height: 35px;
}

.contact-tel{
  padding: 15px 0 15px 50px;
  position: relative;
}
.contact-tel::before{
  content: " ";
  position: absolute;
  top: 8px;
  left: 0;
  background-image: url(img/ico-tel2.webp);
  background-size: 35px 35px;
  width: 35px;
  height: 35px;
}


/* ! Category Intro */
.jumbotron.page {min-height: 400px; color: #fff; margin-bottom: 0;}
.jumbotron.page .container{margin-top: 200px;}






.clemente-article .col-lg-6{padding-top: 50px;}
.clemente-article .details{background: #fff;}


/* ! Article Blocks */
/* ! Dati mono */
.dati-mono{margin: 50px 0;}
.dati-mono p{margin: 0;}
.dati-mono .description{background-color: #e32225; color: #fff; font-weight: bold; padding: 10px;}
.dati-mono .text{background-color: #fcfcfc; padding: 15px;}

/* ! Dati mono */
.dati-multipli{margin: 50px 0;}
.dati-multipli p{margin: 0;}
.dati-multipli .description{background-color: #e32225; color: #fff; font-weight: bold; padding: 10px;}
.dati-multipli .text{background-color: #fcfcfc; padding: 15px;}


/* ! Dettagli estesi a sinistra */
.dettagli-estesi{padding-bottom: 25px; border-bottom: 1px solid #e1e1e1; margin-bottom: 30px;}

.dettagli-estesi .prezzo p { margin: 15px 0; padding-top: 8px; }

.dettagli-estesi .indirizzo p { margin: 15px 0; padding-left: 35px; padding-top: 8px; position: relative;}
.dettagli-estesi .indirizzo p::before{
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(img/ico-indirizzo.webp);
  width: 22px;
  height: 32px;
}

.dettagli-estesi .descrizione2{margin: 15px 0;}

.allegati h3{margin-bottom: 30px;}
.allegati a {padding: 23px 23px 23px 60px; position: relative; display: block; color: #a31917; text-decoration: none;}
.allegati a::before{
	content: " ";
  position: absolute;
  top: 9px;
  left: 0;
  background-image: url(img/ico-pdf.webp);
  width: 44px;
  height: 50px;
}
.allegati a:hover{text-decoration: underline;}











/* ------------------------------------------------------------------------- *
/* ! Footer */
/* ------------------------------------------------------------------------- */

.footer{background-color: #a4a4a4; color: #fff; padding: 25px 0;}
.footer p{margin-bottom: 14px;}
.footer a{color: #fff; text-decoration: none; font-weight: bold;}

.footer .whatsapp{position: fixed; bottom: 3%; right: 2%;}
.footer .whatsapp img{width: 60px; height: auto;}

@media (max-width: 768px) {
  .footer p{margin-bottom: 10px; font-size: 18px;}
  .social{margin-top:20px;}
}

/* Privacy Banner (footer) */

#cookieChoiceInfo{bottom:0px!important;top:auto!important; padding: 15px!important; text-align: left!important;background-color: #222!important; color:#fff; font-size: 16px;}
#cookieChoiceInfo a{background: #333; text-decoration: none; font-weight: bold;color:#fff; padding: 4px 8px; border-radius: 3px; margin: 5px!important }


/* --------------------------------------------------------------------------------------------------------------------------- */
/* ! Responsive */
/* --------------------------------------------------------------------------------------------------------------------------- */


/* ----------------------------- */
/* ! -- Desktop */
/* ----------------------------- */
@media (min-width: 1023px) {

}


/* ----------------------------- */
/* ! -- Tablet */
/* ----------------------------- */

@media (max-width: 998px) {

}

/* ----------------------------- */
/* ! -- Smarthphone */
/* ----------------------------- */

@media (max-width: 767px) {
  body.admin-bar .navbar-fixed-top { top: 42px;}

}



/* --------------------------------------------------------------------------------------------------------------------------- */
/* WordPress Default Styles */
/* --------------------------------------------------------------------------------------------------------------------------- */


/* Pagination */
.pagination { margin: 40px 0 40px 0; padding: 0; width: 100%; }
.pagination span,
.pagination a { float: left; margin: 0 10px 10px 0; padding: 14px 19px; border: 1px solid #ddd; }

/* Gallery */
.gallery { float: left; margin: 20px 0 20px 0; width: 103.55%; }
.gallery-item { float: left; width: 33.333333%; text-align: center; }
.gallery img { margin: 0 10% 0 0; width: 90%; height: auto; border: none!important; }
.gallery-caption { width: 90%;margin:10px 0 0 0;}




/* Image */
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; max-width: 97%; height: auto; }
.alignright { float: right; margin-bottom: 10px; margin-left: 20px; max-width: 97%; height: auto; }
.aligncenter { display: block; margin: 0 auto; max-width: 97%; height: auto; }
.alignnone { max-width: 97%; height: auto; }

/* img responsive */
.img-res{width: 100%;height: auto;}

/* video responsive */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Table */
table {border-collapse: collapse;margin: 40px 0; width:100%;}
table, th, td {border: 1px solid #ddd;padding:10px; font-size: 18px;text-transform: capitalize;}
table  tr:first-child td {font-weight: 900; text-transform: uppercase; background: #eee; padding:12px 8px;}

/* Image Caption */
.wp-caption { margin-top: 1.5rem;margin-bottom: 0px; padding: 10px; max-width: 97%; border: 1px solid #ddd; text-align: center; }
.wp-caption img { margin: 0; padding: 0; width: 100%!important; height: auto; border: 0 none; }
.wp-caption p.wp-caption-text { margin: 0; padding: 8px; font-size: 1em; line-height: 17px; }

/* Stiky */
.sticky { border-right: 3px solid #eee; border-bottom: 3px solid #ddd; }

/* Search */
.search-form {background: #eee;}
.search-form input[type=text]{ width: 80%; color: #333; }
.search-form button{float:right;padding:10px 15px 0 0;border: none; background: none;padding: 11px;}

/* Contact Form 7 */
.wpcf7 label{width:100%}

/* Comments */
.comment-form-author,
.comment-form-email,
.comment-form-url { float: left; margin-top: 20px; margin-right: 3%; width: 30.3333333%; }
.comment-form-author input,
.comment-form-email input,
.comment-form-url input { width: 100%; }

ol.commentlist { margin: 0 0 1em; padding: 0; list-style: none; text-indent: 0; }
ol.commentlist li.comment { padding: 1em; border-top: 1px solid #eee; }
ol.commentlist li.comment div.vcard cite.fn { text-transform: uppercase; font-size: 14px; }
ol.commentlist li.comment div.vcard img.avatar { float: left; margin: 6px 1em 1em 0; border-radius: 50px; }
ol.commentlist li.comment div.comment-meta { font-size: 12px; }
ol.commentlist li.comment ul { margin: 0 0 1em 2em; }
ol.commentlist li.comment div.reply { margin-left: 80px; font-size: 11px; }
ol.commentlist li.comment div.reply a { font-weight: bold; }
ol.commentlist li.comment ul.children { margin: 1em 0 0; list-style: none; text-indent: 0; }
ol.commentlist li.comment ul.children li.depth-2 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.comment ul.children li.depth-3 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.comment ul.children li.depth-4 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.even { background: #fff; }

ol.commentlist li.parent { border-left: 1px solid #eee; }
ol.commentlist li.bypostauthor .fn { font-weight: bold; }
ol.commentlist li img{max-width: 97%;}

input[type=text],
input[type=email] { width: 98%;margin-right: 10px; padding: 10px; border: none; background: #eee; -webkit-appearance: none;border-radius: 0;font-size: 14px;}
textarea { padding: 10px; width: 98%; border: none; background: #eee; -webkit-appearance: none;border-radius: 0;font-size: 14px;}
input[type=submit] { margin-top: 10px; padding: 15px 20px; color: #fff; text-transform: uppercase; background: #333; border:none; font-size: 14px;}
#comments { width: 100%; }

/* Calendar Widget */
#wp-calendar { width: 100%; }
#wp-calendar a { padding: 0; border: none; }
#wp-calendar caption,
.screen-reader-text { padding-bottom: 10px; color: #000; text-align: left; text-transform: uppercase; font-weight: 700; font-size: 14px; }
#wp-calendar thead { font-size: 10px; }
#wp-calendar thead th { padding-bottom: 10px; }
#wp-calendar tbody { color: #aaa; }
#wp-calendar tbody td { padding: 8px; border: 1px solid #fff; background: #f5f5f5; text-align: center; }
#wp-calendar tbody td:hover { background: #fff; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { text-align: right; text-transform: uppercase; font-size: 10px; }
#wp-calendar tfoot #prev { padding-top: 10px; text-transform: uppercase; font-size: 10px; }