/* FG */

@media only screen and (max-width : 1800px) {
	
}
@media only screen and (max-width : 1450px) {
	.kontant_white {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.7);
  padding: 55px 0;
  border-radius: 20px;
}
}
@media only screen and (max-width : 1300px) {
	.logo {
  		margin-left: 30px;
	}
	
}
@media only screen and (max-width : 1250px) {
	.first_part_1 {
  		justify-content: center;
	}
	.tooth_text {
  		text-align: center;
	}
	.blue_line {
  		margin: 20px auto;
	}
}
@media only screen and (max-width : 1201px) {
	.kontakt {
	padding-top: 110px;
	width: 100%;
	height: auto;
	padding-bottom: 280px;
	background: url("../images/back_kont_2.png") bottom right;
	background-repeat: no-repeat;
}
	.right_block iframe {
		width: 400px;
		height: 250px;
	}
	.kontant_white {
  width: 70%;
  margin: 0 auto;
  background: rgba(255,255,255,0.7);
  padding: 55px 0;
  border-radius: 20px;
}
	
}

@media only screen and (max-width : 1140px) {
	
}
@media only screen and (max-width : 1070px) {
.stomat_a, .labor_a {
	height: 200px;
	width: 350px;
}

}

@media screen /*and (min-width: 768px) */and (max-width: 998px) {

}

@media only screen and (max-width : 840px) {
	
}
@media only screen and (max-width : 768px) {
	header {
		height: 70px;
	}
	.logo div {
 		margin-top: 5px;
		font-size: 11px;
		line-height: 1.3;
}
	
	.logo a img {
		width: auto;
		height: 60px;
	}
	.open_menu {
		display: block; 
		position: absolute;
    	right: 10px;
    }
	.close_menu {
		font-size: 30px;
  		position: absolute;
  		right: 30px;
  		color: var(--blue-color);
		cursor: pointer;
		font-weight: lighter;
	}
	.button_a {
		margin-top: 10px;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
	}
	.stomat_a {
		margin-right: 0;
		margin-bottom: 30px;
	}
	.menu {
		display: none;
	}
	.menu ul {
		position: fixed;
		top: 65px;
		left: 0;
		right: 0;
  		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: #fff;
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.menu ul li {
  		margin: 15px 25px;
	}
	.contant_page {
		flex-direction: column;
	}
	.o_firmie, .stomatologia, .laboratorium, .kontakt {
		height: auto;
		padding-top: 100px;
	}
	.o_firmie {
		padding-bottom: 45px;
	}
	.o_firmie .title_page {
		margin: 0 auto 25px;
	}
	.o_firmie .contant_page {
		max-width: 90%;
	}
	.left_block, .right_block {
		width: 90%;
	}
	.right_block iframe {
		width: 100%;
	}
	.o_firmie .left_block, .laboratorium .left_block {
		order: 2;
		margin-top: 30px;
	}
	.stomatologia .left_block {
		margin-bottom: 30px;
	}
	.kontakt {
		padding-bottom: 80px;
		background: #fff;
		text-align: center;
	}
	.kontakt_p p {
		margin-bottom: 55px;
		margin-top: 35px;
	}
	.kontakt p, .kontakt p a{
		font-size: 16px;
	}
	.kontakt .main_about {
		margin-bottom: 0;
	}
	.kontakt .mail_part img, .kontakt .main_about img {
		margin-bottom: 0;
		margin-right: 0;
	}
	footer {
		font-size: 9px;
		position: static;
	}
}


@media only screen and (max-width : 670px) {
	
}

@media only screen and (max-width : 576px) {
	
}

@media only screen and (max-width : 480px) {
	.stomat_a, .labor_a {
		height: 170px;
		width: 280px;
	}
}

@media only screen and (max-width : 380px) {
	.menu ul li {
  		text-align: center;
	}
	.menu ul li a {
  		font-size: 14px;
	}
}

@media only screen and (min-width : 1202px) {

	
}

@media only screen and (min-width : 993px) {

}
@media only screen and (min-width : 768px) {
	.open_menu {display: none; }

}


@media only screen and (min-width : 640px) {
	
}	

@media only screen and (min-width : 480px) {

}

@media (max-height: 800px) {
  .kontakt {
	padding-top: 110px;
	padding-bottom: 110px;
	width: 100%;
	height: auto;
}
}