#bodyContainer {padding-left:1px !important; padding-right:1px !important;}
#btnSearchOnSite {color: white; border-color:lightgray;}
#btnSearchOnSite:enabled {color: white;}
#btnSearchOnSite:hover {color: blue; background-color:white;}
.jumbotron>div {background-color: rgba(0,0,0,0.6);padding:5px;}
.oneBlogPostDiv {border-top:1px solid lightgrey;padding-top:5px;margin-top:5px;}
.forumMessageInfo
    {
    min-width: 20%;
    word-wrap: break-word;
    border-right:1px solid lightgray;
    }
h1, h2, h3, h4, h5, h6
  {margin:0 !important; line-height:auto !important;}
h1>a, h2>a, h3>a, h4>a, h5>a, h6>a
  {text-decoration:none;}
h1>a:hover, h2>a:hover, h3>a:hover, h4>a:hover, h5>a:hover, h6>a:hover
  {text-decoration:underline;}  
h1, .h1 {
  font-size: 2.2rem;
}

h2, .h2 {
  font-size: 1.8rem;
}

h3, .h3 {
  font-size: 1.6rem;
}

h4, .h4 {
  font-size: 1.4rem;
}

h5, .h5 {
  font-size: 1.2rem;
}

h6, .h6 {
  font-size: 1rem;
}
  
h2:after {clear:both !important;}

/* #site-footer {background-color: lightslategray;margin-top:30px;}
#site-footer, #site-footer h4, #site-footer a, #site-footer ul li a {color:white !important;} */
blockquote, .blockquote {
  display: block;
/*  margin-top: 1em;*/
  margin-bottom: 1em;
  margin-left: 10px;
  margin-right: 40px;
  border-left:10px solid #EFEFEF;
  padding-left:10px;
  font-size: medium;
  font-style: italic;
}
.quickquote
  {margin: 0px;}

a.navbar-brand
  {
  font-size:1.8em;  
  }
.navbar ul li a
  {
  padding-bottom:0;
  }
a.navbar-brand:hover, .nav-link:hover
  {
  text-decoration: underline;
  }  
.cursor-hand {cursor:pointer;}
#cookie-law {margin: auto;max-width: 1320px;background-color:whitesmoke;padding:5px;}
.close-cookie-banner span {text-align:right;display:block;padding:10px 2px 2px 2px;}
.forum-icon {font-size:2em;}
#loginOrRegister a {color:black !important;}
#loginOrRegister a.btn {color:white !important;}
/* .forumTh {border-left:1px solid #17A2B8;border-right:1px solid #17A2B8;}
.forumTd {border-left:1px solid #17A2B8;border-right:1px solid #17A2B8;padding:10px 5px !important;} */

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
}
#backToTopBtn:hover
  {color:#17A2B8 !important;}
#bottomNavBar {display:none;}  
#btnEditProfile img, #btnShowProfile img {height:50px;margin-right:5px;} 
.featherlight-gallery2 .featherlight-next:hover,
.featherlight-gallery2 .featherlight-previous:hover {
  font-family:Arial;
  }
.featherlight .featherlight-content 
  {
  padding: 3px 3px 0 !important;
  border-bottom: 3px solid transparent !important;
  }  
.featherlight-next {
    top: 3px !important;
    right: 3px !important;
    left: 85% !important;
}  
.featherlight-previous {
    top: 3px !important;
    left: 3px !important;
    right: 85% !important;    
}  
#divRichText button {padding:0;}
textarea, input[type=text] {border:1px solid gray !important;}

iframe, img, video {max-width:100%;}

#hamburgerMenu {color:#FFF;font-size:28px;/*mix-blend-mode:difference;*/}
#dropdownMenuButton::after {display: none;}
.brClear {clear:both;}
.card-title>a {text-decoration:none !important;}
.carousel-caption-small {width:100% !important;}
/* CP20190227 - Re-adding carousel */    
.carousel_image {
  width:100%;
  height:100%;
  max-height:300px;
  object-fit: cover;
}
.carousel-caption {
    background: rgba(255, 255, 255, 0.8);
    padding:0;
    color:black;
}
.carousel-caption-small
    {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width:248px;
    padding:1px;
    }
.carousel-caption-small:hover {background-color:white;}

.carousel-control-prev {margin-left:-4%;width: 4%;}
.carousel-control-next {margin-right:-4%;width: 4%;}

.destinazioni-card .card-img-top {
    width: 100%;
    object-fit: cover;
}
a.destinazione-card
    {text-decoration:none;}
.destinazione-card img {width:400px;height:300px;}    
.excursus
  {
  font-style:italic;
  border-left:7px solid #E6E6E6;
  margin-left:50px;
  margin-right:50px;
  padding-left:10px;
  }
.excursus:first-letter
  {font-size:200%;}
#site-footer a {text-decoration:none;}
#site-footer a:hover {text-decoration:underline;}
#site-footer h4 {font-weight:bold;font-size:x-large;}

.aboutCards .card {max-width:25%;}

/*small device */
@media (max-width: 767px) {
  main {padding: 0 !important;margin:0 !important;}
  h1, .h1 {font-size: 1.7rem;}
  h2, .h2 {font-size: 1.5rem;}
  h3, .h3 {font-size: 1.3rem;}
  h4, .h4 {font-size: 1.1rem;}
  h5, .h5 {font-size: 1rem;}
  h6, .h6 {font-size: .9rem;}   
  #btnProfile, #btnLogin {margin-top:10px;}
  #cookie-law {width: 100%;}
  a.gallery2>img {width:98%;}
  #header_search_form {margin-bottom:10px;}
  #btnEditProfile img, #btnShowProfile img {height:20px;margin-right:2px;} 
  .tags-img-placeholder {display:none;}
  #divRichText button {padding:0 0.5rem 0 0.5rem;margin-bottom:3px;}  
  .aboutCards .card {max-width:100%;}
  }
/* App */
@media all and (display-mode: standalone) {
  #btnInstall {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
  #bottomNavBar {display:block;}
  #bottomNavBar .btn {font-size:25px;margin:0 10px !important; }
  #bottomNavBar .container {padding:0 20px 12px 20px;}  
}