.forMobile{
	display: none;
}

body{
	background-color: rgba(126, 54, 70, 0.05);
}

h1{
	margin: 0px;
	padding: 0px;
	border: 0px;
}

.tw-header.tw-header-bottom{
	background: #151515;
}


#mainSection{
	height: 600px;
	background-image: url(ImirPinskImg/tonerbackground.jpg);
	background-size: cover;
}

#mainBodyContainer{
	width: 90%;
	margin: auto;
}

#mainSectionTitleBlock{
	padding-top: 70px;
	width: 50%;
	margin: auto;
	border-bottom: 1px solid white;
	
}

#mainSectionTitleBlock h1{
	text-align: center;
	color: white;
	border-top: 4px solid white;
}

#mainSectionBlock
{
	margin: 20px  auto 0px;
	width: 90%;
	border-radius: 10px;
	display: flex;
	height: 370px;
}

#mainPhotoBlock img{
	width: 360px;
	height: 280px;
	margin: 15px;
	border-radius: 3px;
	box-shadow: 2px 4px 5px;
}

#addresBlock{
	margin: 0px 15px 0px;
	height: 50px;
	width: 350px;
	display: flex;
}

#addresBlock button{
	font-size: 10pt;
	border-radius: 8px;
	margin: 10px;
	background-color: #74c43f;
	color: black;
	transition: 0.5s;
}

#addresBlock button:hover{
	background-color: lightyellow;
	font-size: 13pt;
	font-weight: 500;
	transition: 0.5s;
}

#addresBlock h6{
	margin: auto;
	color: white;
}

#mainDiscriptionBlock{
	width: 70%;
	margin: 15px;
	height: 90%;
	
}

#mainDiscriptionTitleBlock{
	text-align: center;
	height: 50px;
}

#mainDiscriptionTitleBlock h2{
	font-size: 14pt;
	font-weight: 700;
	background-color: #74c43f;
	border-radius: 5px;
	box-shadow: 1px 1px 2px gray;
}

#mainDiscriptionTextBlock{
	margin-top: 30px;
	height: 80%;
	overflow-y: scroll ;
	border-radius: 5px;
}

#mainDiscriptionTextBlock h3{
	font-size: 11pt;
	line-height: 14pt;
	color: white;
}

#mainSmallImagesBlock{
	background-color: #74c43f;
	border-radius: 5px;
	margin: 40px auto 0;
	display: flex;
	flex-wrap: wrap;
	box-shadow: 1px 1px 3px gray;
}

#mainSmallImagesBlock .smallImageSoloBlock{
	width: 15%;
	min-width: 130px;
}

.smallImageSoloBlock{
	margin: 15px auto;
	display: inline-block;
	cursor: pointer;
}

.smallImageSoloBlock img {
	width: 100%;
}

.activitySection{
	width: 100%;
	margin-top: 40px;
	margin-bottom: 20px;
	background-color: #74c43f;
	border-radius: 4px;
	box-shadow: 1px 1px 3px gray;
	padding-top: 5px;
}

.activitySectionTitleBlock{
	width: 96%;
	padding-top: 5px;
	padding-bottom: 5px;
	margin: 20px auto 0px;
	text-align: center;
	background-image: url(ImirPinskImg/background_tree_wood.jpg);
	background-size: cover;
	background-color: rgba(126, 54, 70, 0.5);
	border-radius: 5px;
}

.activitySectionTitleBlock h1{
	color: white;
	font-weight: 700;
}

.activitySectionBody{
	width: 96%;
	margin: auto;
	display: flex;
}

.activitySectionImagesBlock{
	width: 450px;
	margin: auto;
	display: inline-block;
}

.mainActivityPhotoBlock img{
	border-radius: 3px;
}

.smallActivityPhotosBlock{
	display: flex;
}

.priceMainBlock{
	width: 96%;
	margin: auto;
	display: flex;
	justify-content: space-between;
}

.priceMainBlock h2{
	color: whitesmoke;
	font-weight: 700;
}

.activityDiscriptionMainBlock{
	display: inline-block;
	background-image: url(ImirPinskImg/background_tree_wood.jpg);
	background-size: cover;
	background-color: rgba(126, 54, 70, 0.5);
	border-radius: 7px;
	margin-left: 15px;
	width: 55%;
}

.activityDiscriptionMainBlock:nth-child(2n+1){
	margin-right: 15px;
	margin-left: 0px;
}

.activityDiscriptionMainBlock p{
	color: white;
	padding: 10px;
	font-size: 14pt;
}

.activityPhonesBlock{
	width: 92%;
	margin: auto;
	text-align: right;
	color: lightyellow;
	opacity: 0.6;
	margin-top: 10px;
	padding-bottom: 20px;
}

#ModalMainContainer{
	display: none;
}

#ModalMainContainer.active{
	display: flex;
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0; top: 0; right: 0; bottom: 0;
	justify-content: center;
	align-items: center;
	animation: fadeInFromNone 0.2s ease-out;
}

@keyframes fadeInFromNone {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: flex;
    opacity: 0;
  }
  100% {
    display: flex;
    opacity: 1;
  }
}

#modalBack{
	background-color: rgba(50, 50, 50, 0.9);
	width: 100%;
	height: 100%;	
}

#modalBlock{
	position: absolute;
	width: 690px;
	height: 500px;
	border-radius: 6px;
	box-shadow: 1px 1px 5px;
	background-color: white;
	margin: auto;
	margin-top: 70px;
	background-size: cover;
	border: 8px solid white;
}


@media (max-width: 1080px){

	#mainBodyContainer{
		width: 98%;
	}

	#mainSectionBlock
	{
		width: 100%;
	}

	#mainSection{
		height: auto;
	}

	#mainDiscriptionTitleBlock {
		display: none;
	}

	#mainDiscriptionTextBlock{
		margin-top: 7px;
	}

	.smallImageSoloBlock{
		width: 32%;
	}
}

@media (max-width: 768px){

	.justForBigScreen{
		display: none;
	}

	.forMobile{
		display: block;
	}

	#mainSection{
		height: auto;
	}

	#mainBodyContainer{
		width: 100%;
	}
	
	#mainSectionBlock{
		display: block;
		height: auto;
		width: 100%;
		margin: 20px 0px;
	}

	#mainPhotoBlock img {
		width: 96%;
		height: auto;
		margin-left: 2% ;
		margin-right: 2%;
		margin-top: 5px;
	}

	#addresBlock{
		display: inline-block;
		width: 100%;
		margin: 0px;
	}

	#addresBlock h6{
		display: inline-block;
		width: 50%;
	}

	#addresBlock button{
		display: inline-block;
		max-width: 190px ;
		margin-top: 0px;
	}

	#mainDiscriptionTitleBlock {
		display: none;
	}

	#mainDiscriptionBlock{
		width: auto;
		border-radius: 5px;
		margin-top: 0px;
		margin-top: -12px;
		padding-bottom: 5px;
	}

	.activitySection{
		margin-top: 20px;
	}

	.activitySectionBody{
		display: block;
	}

	.activitySectionImagesBlock{
		width: 100%;
	}

	#mainSmallImagesBlock{
		margin: 20px auto 0;
	}

	#mainSmallImagesBlock .smallImageSoloBlock{
		margin: 12px auto;
		width: 190px;
	}

	.smallImageSoloBlock img{
		width: 100%;
	}

	.activityDiscriptionMainBlock{
		width: 100%;
		margin: 0px;
	}

	.activityDiscriptionMainBlock:nth-child(2n+1){
		margin-bottom: 10px;
		margin-right: 0px;
	}

	#modalBlock{
		max-width: 90%;
		height: 300px;
		background-size: 100% 100%;
	}
}