@charset "UTF-8";
main .office-title{
	text-align: center;
	font-size: 150%;
	color:#DD1F26;
	font-weight: 900;
	text-shadow: .5px .5px 0px white;
}
main h2{
	text-align: center;
	font-size: 120%;
}
main img{
	width: 100%;
	height: auto;
}
main h3{
	width: 100px;
	margin: auto;
	background: hsla(217,100%,25%,1.00);
	height: 3px;
	margin-top: 10px;
	margin-bottom: 30px;
}
.flip-box {
  	background-color: transparent;
	width: 100%;
  	max-width: 410px;
  	height: 300px;
  	perspective: 1000px;
	overflow: hidden;
	cursor:alias;
	margin: auto;
}

.flip-box-inner {
  	position: relative;
  	width: 100%;
  	height: 100%;
  	text-align: center;
  	transition: transform 0.8s;
  	transform-style: preserve-3d;
}
.flip-box:hover .flip-box-inner{
  transform: rotateY(180deg);
}
.flip-box-front, .flip-box-back{
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip-box-back {
  transform: rotateY(180deg);
}
.entrance{
	background:hsla(0,0%,15%,1.00);
	color: white;
	padding:30px 10px;
	box-sizing: border-box;
}
.entrance img{
	width: 100%;
	height: auto;
}
.entrance p{
	width: 410px;
	margin: auto;
	line-height: 2.2em;
	margin-bottom: 15px;
}
/*
#contact{
	display: none;
}
*/
.reception{
	background:hsla(0,0%,10%,1.00);
	padding:30px 10px;
	color: white;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}
.cen{
	width: 100%;
	max-width: 410px;
	margin: auto;
	margin-top: 20px;
}
.reception img{
	text-align: center;
	width: 100%;
	height: auto;
	margin: auto;
	margin-bottom: 10px;
}
.reception p{
	font-size: 98%;
	
	margin-top: 8px;
	width: 410px;
	margin: auto;
	line-height: 2.2em;
	
}
.office{
	padding: 30px 20px;
	background: hsla(0,0%,10%,1.00);
	color: white;
}
.office img{
	width: 100%;
	height: auto;
	transition: 2s;
	cursor: pointer;
	
}
.office span{
	overflow: hidden;
	box-sizing: border-box;
	display: block;
}
.office span:hover img{
	transform: scale(1.2);
}
.office h4{
	font-size: 150%;
	text-align: center;
	margin-bottom: 20px;

}
.off{
		margin-top: 20px;
	margin-bottom: 40px;
}
.office h5{
/*	border-left: 5px solid white;*/
	margin: 8px 0;
/*	padding-left: 10px;*/
	font-size: 110%;
}
.office p{
	margin-bottom: 5px;
	letter-spacing:0.1px;
}
@media Screen and (min-width:800px){
	.entran {
		max-width: 1200px;
		margin:50px auto;
		overflow: hidden;
	}
	.entrance .left{
		float: left;
		width: 50%;
	}
	.flip-box{
		width: 45%;
		max-width: 550px;
		height: 350px;
	}
	.entrance p{
		line-height: 2.5em;
	}
	.reception{
		padding: 0;
		position: relative;
	}
	.reception img{
		display: none;
	}

	.reception .img{
		background-image: url("../images/off5.jpg");
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		width: 100%;
		height: 500px;
		position: relative;
		filter: brightness(60%)
	}

	.reception .left{
		position: absolute;
		left: 50%;
		top:50%;
		transform: translate(-50%,-50%);
		width: 45%;
		padding: 40px 80px;
		background:hsla(0,0%,100%,0.88);
		border-radius: 2px;
		max-width: 800px;
		height: 300px;
		
	}
	.reception p{
		width: 100%;
		max-width: 550px;
	}
	.reception {
		color: black;
	}
	#off {
		display: flex;
		flex-wrap: wrap;
		justify-content:space-around;
		
	}
	.office {
		padding: 50px 20px;
	}
	.off{
		width: 45%;
	}
	.office h5{
		font-size: 120%;
		margin: 15px 0;
	}
	.office p{
		font-size: 105%;
	}
}