@media (max-width: 1199px) {
  .g-box {
    width: 42.85%;
  }
}
@media (min-width: 1400px) {
	.carousel-inner>.item{
		height: 700px;
		overflow: hidden;
	}
}
@media (max-width: 991px) {
  .g-box {
    width: 50%;
  }
  .page-title h1.title, .container.hide_cont_width .content-part h1 {
	  font-size: 28px;
	  line-height: 30px;
  }
	  .banner-heading h1 {
	    font-size: 120px;
	}
	.why-items {
		background: none;
	}
	.why-left {
	    width: 100%;
	    padding: 5%;
	    background-image: url(images/home/LakeandPen_Master_HomePage_v6.png);
	}
	.why-items:before,
	.why-items:after {
		display: none;
	}
	.places {
		margin-top: 20px;
	}
}

@media (min-width: 992px) {
	.addvertisement {
		float:right;
	}
}
@media (max-width: 768px) {
  .main-logo {
    width: 150px;
    bottom: -50px;
  }
  .g-list ul li {
    width: 50%;
  }
  .g-box {
    width: 80%;
  }
  .caro-nav {
    right: 0;
  }
  .main-slider .slider-box {
    right: 0;
    bottom: 0;
    top: auto;
    transform: translateY(0);
    width: auto;
  }
  .project-zone .nav-tabs {
  	padding-left: 0;
  	padding-right: 0;
  }

	
}
@media (max-width: 768px) {
	.container.hide_cont_width .shadow-box {
	  margin-top: 50px;
	}
	.container.hide_cont_width img {
	    width: 100%;
	}
	
}
@media (max-width: 767px) {
	#slideshow img {
		object-fit: cover;
	}
	.left-covid-part h3 {
		font-size: 18px;
		line-height: 20px;
	}
	.covid-left-block .dropdown-menu>li>a {
		padding: 3px 10px;
		font-size: 12px;
		word-break: break-word;
		white-space: normal;
	}
	.mayor-photo {
		margin-bottom: 15px;
	}
	.covid-content-section {
		padding: 30px 0 0 0;
	}

	.hover_box_wrapper img {
		width: 100%;
	}

	.spanish-flue-details {
		padding: 0;
	}

	.covid-left-block {
		padding-bottom: 10px;
	}

	.covid-gallery {
		padding-top: 0;
	}

	.covid-gallery-box {
		padding: 15px;
		right: 0;
		width: 100%;
		top: 38%;
	}
	.covid-gallery-box h2, .covid-gallery-box h3, .covid-gallery-box p {
		font-size: 16px;
    	line-height: 18px;
	}
	.foot-nav ul li {
		border-left: 0;
	}
	.foot-nav ul li a {
		line-height: 2;
	}
	
	.project-zone .nav-tabs {
		padding-left: 0;
		padding-right: 0;
	}
	.project-zone .nav-tabs {
		display: table;
	}
	.project-zone .nav-tabs li {
		display: table-cell;
	}
	.typology-layout-b {
	    padding-left: 18rem;
	}
	.typology-layout-b .post-date {
	    left: -188px;
	}
	.typology-layout-b .post-date-day {
	    font-size: 5rem;
	    margin-bottom: 7px;
	}
  
}

@media (max-width: 550px) { 
	.typology-layout-b {
	    padding-left: 10rem;
	}
	.typology-layout-b .post-date {
	    left: -86px;
	}
	.section-content-b .typology-ad-between-posts::before, .typology-post.typology-layout-b::before,
	.typology-layout-b .post-date::after {
		display: none;
	}
	.typology-layout-b .post-date-day {
	    font-size: 4rem;
	    margin-bottom: 0px;
	}
  
	.button_container {
	    top: 120px;
	}
	h2 {
		font-size: 24px;
	}
	h3 {
		font-size: 20px;
	}
	
	.main-logo {
		position: static;
	    margin: auto;
	    margin-bottom: 10px;
	}
	.main-slider .carousel-inner>.item {
		min-height: 400px;
	}
	.main-slider .slider-box {
		font-size: 16px;
	}
	.grid .item {
		width: 100%;
	}
	.project-zone .nav-tabs li a {
		font-size: 14px;
	}
	.project-zone .tab-content .col-xs-6 {
		width: 100%;
	}
	.poster {
		padding-bottom: 10px;
	}
	.happening .big-title {
		padding-left: 0;
		padding-right: 0;
	}
	.testimonial {
	  padding-top: 50px;
	}
	.testimonial .bg-testi {
		padding-left: 30px;
		padding-right: 30px;
	}
	.testimonial h3:before {
	    font-size: 30px;
	    left: -40px;
	}
	.testimonial p {
		font-size: 18px;
	}
	.banner-heading h1 {
	    font-size: 100px;
	    line-height: 1;
	}
	.banner-heading p {
	    font-size: 24px;
	}
	.adventure-in p {
	    padding-left: 5%;
	    padding-right: 5%;
	}
	
	  
}
@media (max-width: 480px) {
	.at-time-100 {
		width: 100%;
	}
}
@media (max-width: 479px) { 
	
	.main-slider .carousel-inner>.item img {
		height: 450px;
		object-fit: cover;
	}
	.caro-nav ul li a {
		padding: 5px 10px;
	}

	  
}


@media (max-width: 320px) { 
	.main-slider .carousel-inner>.item img {
		height: 350px;
		object-fit: cover;
	}

}

/*Min to Max */
@media (min-width: 768px) {
	.main-nav > ul > li{
		height: 100%;
    vertical-align: middle;
	}
}
@media only screen and (min-width: 768px) and (max-width: 991px){
	html .main-slider .carousel-control .fa-angle-left, 
	html .main-slider .carousel-control .fa-angle-right{
		transform: translateY(-120%);
		-webkit-transform: translateY(-120%);
		-moz-transform: translateY(-120%);
	}
}
