@media (max-width: 767px) {

.hidden {
	overflow: hidden;
}

.modal-content {
	margin: auto;
	position: fixed ;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none ;
	overflow-y: scroll;
	z-index: 99991 ;
}

.madalWhile {
	margin: auto;
	position: fixed ;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99998 ;
	width: 100%;
	height: 120%;
}

.madalWrap  {
	width: 80% ;
	/*height: 400px;*/
	margin: 0 auto;
	padding-bottom: 50px;
	position: absolute ;
	top: 50px !important;
	left: 0;
	right: 0;
	z-index: 99999 ;
}

#modalInner {
	padding: 30px ;
	background: #fff ;
}

#modalInner a:hover {
	text-decoration: none;
}

#modal-overlay {
	z-index: 1 ;
	display: none ;
	position: fixed ;
	top: 0 ;
	left: 0 ;
	width: 100% ;
	height: 120% ;
	background-color: rgba( 0,0,0, 0.75 ) ;
	z-index: 99990 ;
}

.button-link {
}

.button-link:hover {
	cursor: pointer ;
}

.modal-content h3 {
	font-size: 18px;
	font-weight: bold;
	margin: 12px 0 0 0;
}

.modal-content dl {
	margin: 10px 0 0 0;
}

.modal-content dl dt {
	font-size: 14px;
	font-weight: bold;
	padding: 0 0 0 10px;
	margin: 0 0 10px 0;
	line-height: 1;
}

.modal-content dl:nth-child(2) dt {
	border-left: 4px solid #ff0037;
}

.modal-content dl:nth-child(3) dt {
	border-left: 4px solid #0078c8;
}

.modal-content dl:nth-child(4) dt {
	border-left: 4px solid #3bb149;
}

.modal-content dl dd {
	font-size: 12px;
	line-height: 1.5;
}

.modal-content dl:nth-child(4) dd {
	display: inline-block;
	text-indent: -1em;
	padding-left: 1em;
}

.modal-content p.btn {
	position: absolute;
	top: 5px;
	right: 5px;
}

.modal-content p.btn img {
	width: 21px;
	height: 21px;
}
.modal-content p.usePhoto{
	padding-top: 2%;
	text-align: left;
	font-size: 9px;
}

}

@media (min-width: 768px) {

.hidden {
	overflow: hidden;
}

.modal-content {
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none ;
	z-index: 99991 ;
}

.madalWhile {
	margin: auto;
	position: fixed ;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99998 ;
	width: 100%;
	height: 100%;
}

.madalWrap {
	width: 800px ;
	margin: 0 auto;
	padding-bottom: 100px;
	position: absolute ;
	top: 100px !important;
	left: 0;
	right: 0;
	z-index: 99999 ;
}

#modalInner {
	min-height: 1140px;
	padding: 60px ;
	background: #fff ;
}

#modal-overlay {
	z-index: 1 ;
	display: none ;
	position: fixed ;
	top: 0 ;
	left: 0 ;
	width: 100% ;
	height: 120% ;
	background-color: rgba( 0,0,0, 0.75 ) ;
	z-index: 99990 ;

}

.button-link {
}

.button-link:hover {
	cursor: pointer ;
}

.modal-content img {
	width: 100%;
}

.modal-content h3 {
	font-size: 180%;
	font-weight: bold;
	margin: 25px 0 0 0;
}

.modal-content p.usePhoto{
	padding-top: 0.5%;
	text-align: right;
	font-size: 12px;
}

.modal-content dl {
	margin: 20px 0 0 0;
}

.modal-content dl dt {
	font-size: 130%;
	font-weight: bold;
	padding: 0 0 0 10px;
	margin: 0 0 10px 0;
	line-height: 1;
}

.modal-content dl:nth-child(2) dt {
	border-left: 4px solid #ff0037;
}

.modal-content dl:nth-child(3) dt {
	border-left: 4px solid #0078c8;
}

.modal-content dl:nth-child(4) dt {
	border-left: 4px solid #3bb149;
}

.modal-content dl dd {
	font-size: 110%;
	line-height: 1.5;
}

.modal-content dl:nth-child(3) dd,
.modal-content dl:nth-child(4) dd {
	display: block;
	text-indent: -1em;
	padding-left: 1em;
}
.modal-content dl dd{
	display: inline-block;
	text-indent: -1em;
	padding-left: 1em;
}
.modal-content dl dd.overview{
	text-indent: 0;
	padding-left: 0;
}

.modal-content p.btn {
	position: absolute;
	top: 10px;
	right: 10px;
}

.modal-content p.btn img {
	width: 43px;
	height: 43px;
}

}
