
/*************  home ************/

.mt-15 {
  margin-top: 15px !important; }
.mt-30 {
  margin-top: 30px !important; }
.mb-30 {
  margin-bottom: 30px !important; }

.mb-50 {
  margin-bottom: 50px !important; }
.bg-img {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat; }
.single-post-area {
  position: relative;
  z-index: 1; 
}
  .single-post-area .post-thumbnail {
    position: relative;
	z-index: 1; }
	.single-post-area .post-thumbnail img {
    max-width: 200px;
		width:200px;
	}
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      .single-post-area .post-thumbnail {
        margin-bottom: 30px; } }
    @media only screen and (max-width: 767px) {
      .single-post-area .post-thumbnail {
        margin-bottom: 30px; } }
    .single-post-area .post-thumbnail .video-duration {
      display: inline-block;
      position: absolute;
      right: 15px;
      bottom: 15px;
      background-color: #0f1112;
      padding: 6px 10px;
      border-radius: 2px;
      font-size: 14px;
      color: #ffffff;
      line-height: 1;
      z-index: 79; }
  .single-post-area .post-content {
    position: relative;
    z-index: 1;
    margin-top: 20px; }
    .single-post-area .post-content .post-title {
      display: block;
      color: #428BCA;
      margin-bottom: 15px;
	  font-size: 25px; 
	  text-transform: uppercase;
	  text-align: center;
	}
      @media only screen and (min-width: 992px) and (max-width: 1199px) {
        .single-post-area .post-content .post-title {
          font-size: 18px; } }
      @media only screen and (min-width: 768px) and (max-width: 991px) {
        .single-post-area .post-content .post-title {
          font-size: 16px; } }
      @media only screen and (max-width: 767px) {
        .single-post-area .post-content .post-title {
          font-size: 18px; } }
      .single-post-area .post-content .post-title:hover, .single-post-area .post-content .post-title:focus {
        color: #db4437; }
    .single-post-area .post-content .post-meta a {
      display: inline-block;
      margin-right: 20px; }
      .single-post-area .post-content .post-meta a:hover, .single-post-area .post-content .post-meta a:focus {
        color: #db4437; }
      .single-post-area .post-content .post-meta a:last-child {
        margin-right: 0; }
    .single-post-area .post-content .post-meta .post-author {
      color: #595959; }
    .single-post-area .post-content .post-meta .post-date {
      color: #595959; }
    .single-post-area .post-content .post-meta i.fa-circle {
      color: #a6a6a6;
      font-size: 6px;
      margin-right: 20px; }


	  .single-feature-post.video-post {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
margin-top: 15px; }
  @media only screen and (min-width: 992px) and (max-width: 1199px) {
    .single-feature-post.video-post {
      height: 400px; } }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .single-feature-post.video-post {
      height: 350px; } }
  @media only screen and (max-width: 767px) {
    .single-feature-post.video-post {
      height: 320px; } }
  .single-feature-post.video-post::before {
    content: "";
    position: absolute;
    height: 50%;
    width: 100%;
    z-index: 5;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.01) 90%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.01) 90%, rgba(0, 0, 0, 0) 100%); }
  .single-feature-post.video-post .play-btn {
    position: absolute;
    margin-top: -30px;
    margin-left: -30px;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    background-color: #db4437;
    border-radius: 50%;
    color: #ffffff;
    line-height: 60px;
    text-align: center;
    padding: 0 0 0 3px;
    z-index: 99; }
    @media only screen and (max-width: 767px) {
      .single-feature-post.video-post .play-btn {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px; } }
    .single-feature-post.video-post .play-btn:hover, .single-feature-post.video-post .play-btn:focus {
      background-color: #0f1112; }
  .single-feature-post.video-post .post-content {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 59;
    width: 80%; }
    @media only screen and (max-width: 767px) {
      .single-feature-post.video-post .post-content {
        left: 15px;
        bottom: 15px; } }
    .single-feature-post.video-post .post-content .post-title {
      font-size: 24px;
      display: block;
      color: #ffffff;
      margin-bottom: 10px; }
	  .single-feature-post.video-post .post-content p {
      font-size: 18px;
      display: block;
      color: #ffffff;
      margin-bottom: 10px; }
      @media only screen and (min-width: 768px) and (max-width: 991px) {
        .single-feature-post.video-post .post-content .post-title {
          font-size: 18px; } }
      @media only screen and (max-width: 767px) {
        .single-feature-post.video-post .post-content .post-title {
          font-size: 16px; } }
      .single-feature-post.video-post .post-content .post-title:hover, .single-feature-post.video-post .post-content .post-title:focus {
        color: #0f1112; }
    .single-feature-post.video-post .post-content .post-meta {
      position: relative;
      z-index: 1; }
      .single-feature-post.video-post .post-content .post-meta a {
        display: inline-block;
        margin-right: 30px;
        color: #ffffff; }
        .single-feature-post.video-post .post-content .post-meta a:hover, .single-feature-post.video-post .post-content .post-meta a:focus {
          color: #db4437; }
  .single-feature-post.video-post .video-duration {
    display: inline-block;
    position: absolute;
    right: 30px;
    bottom: 30px;
    background-color: #0f1112;
    padding: 6px 12px;
    border-radius: 2px;
    font-size: 14px;
    color: #ffffff;
    line-height: 1;
    z-index: 79; }

	.single-widget {
  position: relative;
  z-index: 1;
  border: 1px solid #393c3d;
  border-radius: 3px;
  padding: 10px 10px; 
  height: 1100px;
  
 
}
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .single-widget {
      padding: 30px 20px; } }
  @media only screen and (max-width: 767px) {
    .single-widget {
      padding: 30px 20px; } }

	  .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  text-align: center; }
  .section-heading h4 {
    font-weight: 700;
    margin-bottom: 10px; }
    @media only screen and (max-width: 767px) {
      .section-heading h4 {
        font-size: 20px; } }
  .section-heading .line {
    width: 150px;
    height: 1px;
    background-color: #4e5152;
    margin: 0 auto;
    position: relative;
    z-index: 1; }
    /*
    .section-heading .line::after {
      width: 60px;
      height: 2px;
      background-color: #db4437;
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      margin-left: -30px; }
      */
  .section-heading.style-2 {
    text-align: left; }
    .section-heading.style-2 .line {
      width: 100%; }
      .section-heading.style-2 .line::after {
        left: 0;
        margin-left: 0; }

 .main-blog-post {
  position: relative;
  z-index: 1;
  margin-bottom: 20px; }
  .main-blog-post .post-thumbnail {
    position: relative;
    z-index: 1;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 300px;
    flex: 0 0 300x;
    max-width: 300px;
    width: 300px; }
    @media only screen and (min-width: 992px) and (max-width: 1199px) {
      .main-blog-post .post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 px;
        flex: 0 0 250px;
        max-width: 250px;
        width: 250px; } }
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      .main-blog-post .post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 200px;
        flex: 0 0 200px;
        max-width: 200px;
        width: 200px; } }
    @media only screen and (max-width: 767px) {
      .main-blog-post .post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 200px;
        flex: 0 0 200px;
        max-width: 200px;
        width: 200px; } }
      .main-blog-post .post-thumbnail img {
        max-height: 150px;
      }

		.single-blog-post {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  margin-right: 8px;
 }
  .single-blog-post:last-child {
    margin-bottom: 0; }
  .single-blog-post .post-thumbnail {
    position: relative;
    z-index: 1;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100px;
    flex: 0 0 100px;
    max-width: 80px;
    width: 80px; }
    @media only screen and (min-width: 992px) and (max-width: 1199px) {
      .single-blog-post .post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 80px;
        flex: 0 0 80px;
        max-width: 80px;
        width: 80px; } }
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      .single-blog-post .post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 80px;
        flex: 0 0 80px;
        max-width: 80px;
        width: 80px; } }
    @media only screen and (max-width: 767px) {
      .single-blog-post .post-thumbnail {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 80px;
        flex: 0 0 80px;
        max-width: 80px;
        width: 80px; } }
    .single-blog-post .post-thumbnail img {
      width: 100%; }
  .single-blog-post .post-content {
    position: relative;
    z-index: 1;
    padding-left: 20px; }
    .single-blog-post .post-content .post-title {
      color: #000000;
      margin-bottom: 5px;
      display: block;
      font-size: 14px;
      font-weight: 700; }
      @media only screen and (min-width: 992px) and (max-width: 1199px) {
        .single-blog-post .post-content .post-title {
          font-size: 12px; } }
      @media only screen and (min-width: 768px) and (max-width: 991px) {
        .single-blog-post .post-content .post-title {
          font-size: 11px; } }
      @media only screen and (max-width: 767px) {
        .single-blog-post .post-content .post-title {
          font-size: 11px; } }
      .single-blog-post .post-content .post-title:hover, .single-blog-post .post-content .post-title:hover {
        color: #db4437; }
    .single-blog-post .post-content .post-meta a {
      display: inline-block;
      color: #595959;
      font-size: 12px; }
      .single-blog-post .post-content .post-meta a:hover, .single-blog-post .post-content .post-meta a:hover {
        color: #ffffff; }
  .single-blog-post.style-2 {
    margin-bottom: 0; }
    .single-blog-post.style-2 .post-thumbnail {
      position: relative;
      z-index: 1;
      -webkit-box-flex: 0;
      -ms-flex: 0 0 110px;
      flex: 0 0 110px;
      max-width: 110px;
      width: 110px; }
      @media only screen and (min-width: 768px) and (max-width: 991px) {
        .single-blog-post.style-2 .post-thumbnail {
          -webkit-box-flex: 0;
          -ms-flex: 0 0 80px;
          flex: 0 0 80px;
          max-width: 80px;
          width: 80px; } }
      @media only screen and (max-width: 767px) {
        .single-blog-post.style-2 .post-thumbnail {
          -webkit-box-flex: 0;
          -ms-flex: 0 0 80px;
          flex: 0 0 80px;
          max-width: 80px;
          width: 80px; } }
      .single-blog-post.style-2 .post-thumbnail img {
        width: 100%; }
    .single-blog-post.style-2 .post-content {
      position: relative;
      z-index: 1;
      padding-left: 20px; }
      .single-blog-post.style-2 .post-content .post-title {
        color: #ffffff;
        margin-bottom: 10px;
        display: block;
        font-weight: 700;
        font-size: 16px;
        line-height: 1.5; }
        @media only screen and (min-width: 992px) and (max-width: 1199px) {
          .single-blog-post.style-2 .post-content .post-title {
            font-size: 14px; } }
        @media only screen and (min-width: 768px) and (max-width: 991px) {
          .single-blog-post.style-2 .post-content .post-title {
            font-size: 13px; } }
        @media only screen and (max-width: 767px) {
          .single-blog-post.style-2 .post-content .post-title {
            font-size: 13px; } }
      .single-blog-post.style-2 .post-content .post-meta span {
        display: inline-block;
        color: #a6a6a6;
        font-size: 12px; }
  .single-blog-post.style-3 {
    margin-bottom: 0; }
    .single-blog-post.style-3 .post-thumbnail {
      position: relative;
      z-index: 1;
      -webkit-box-flex: 0;
      -ms-flex: 0 0 140px;
      flex: 0 0 140px;
      max-width: 140px;
      width: 140px; }
      @media only screen and (max-width: 767px) {
        .single-blog-post.style-3 .post-thumbnail {
          -webkit-box-flex: 0;
          -ms-flex: 0 0 100px;
          flex: 0 0 100px;
          max-width: 100px;
          width: 100px; } }
    .single-blog-post.style-3 .post-content .post-title {
      color: #ffffff;
      margin-bottom: 15px;
      display: block;
      font-weight: 700;
      font-size: 16px;
      line-height: 1.5; }
      @media only screen and (max-width: 767px) {
        .single-blog-post.style-3 .post-content .post-title {
          font-size: 14px; } }
      .single-blog-post.style-3 .post-content .post-title:hover, .single-blog-post.style-3 .post-content .post-title:hover {
        color: #db4437; }
    .single-blog-post.style-3 .post-content .post-meta span {
      display: inline-block;
      color: #a6a6a6;
      font-size: 12px; }

	 .d-flex {
    display: -ms-flexbox!important;
    display: flex!important;
	 }
   .row.display-flex {
  display: flex;
  flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
  flex-grow: 1;
}

/* only for demo not required */
.box {
    
    height: 100%;
}

/**************************************/

/***    FLEXBOX    *******************/


.cards {
    display: flex;
    display: -webkit-flex;
     flex-flow: row nowrap;
    -webkit-flex-flow: row nowrap;
    align-items: stretch;
    -webkit-align-items: stretch;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    margin-top: 10px;
   }
   
   .card-container {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    width: 50%;
    padding: 10px;
   }
   .card-image{
     height: 150px;
     
   }
   .card-image img {
    display: block;
    height: auto;
    margin: 0 auto;
    width:auto;
    max-width: 100%;
    max-height: 150px;
   
   }
   
   .card-content {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    flex: 1;
    -webkit-flex: 1;
    padding: 10px 0;
   }
   
   .mgtop-auto {margin-top: auto;}

/************************************/
.get-nicer {
  overflow: auto;
  height: 950px;

}


.nice-wrapper {}
     
.nicescroll-rails {
  background-color: rgb(255, 255, 255);
}

.nicescroll-cursors {
  border: none !important;
  background-color: rgb(240, 83, 35) !important;
  border-radius: 0 !important;
}
/***** questa da modificare eventualmente su modernservas.css  ********/
.thumbnail .img{
  height:250px;
}