/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: rgba(35, 31, 32, 0.7);
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}


.md-content {
	background: #F5F5F5;
	position: relative;
	border-radius: 3px;
	margin: 0 auto;
	  float: left;
  width: 100%;
    padding: 0.8em 1.2em 1.2em 1.2em;
}
.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
  max-width: 400px;
  min-width: 400px;
	height: auto;
	z-index: 2000;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: initial;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}

.md-overlay,
.md-overlay-my {
  cursor: not-allowed;
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1003;
	opacity: 0;
	  background: rgba(35, 31, 32, 0.7);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	  cursor: pointer;
}

.md-show ~ .md-overlay, 
.md-overlay-show {
	opacity: 1;
	visibility: visible;
}

/* Content styles */

.modal-title {
  float: left;
  width: 100%;
  font-size: 24px !important;
  margin-bottom: 10px;
}
.modal-text-content {
  float: left;
  width: 100%;
  margin-bottom: 10px;
}

.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2.4em;
	font-weight: 300;
	opacity: 1;
	border-radius: 3px 3px 0 0;
}

.md-content > div {
	  font-size: 14px;
}

.md-content > div p {
  margin: 0.5em 0;
}

.md-content > div ul {
	margin: 0;
	padding: 10px 0px 10px 0px;
}

.md-content > div ul li {

}

.md-content button {

}

.md-show.md-effect-16 ~ .md-overlay {
	background: rgba(35, 31, 32, 0.7);
}

.md-show.md-effect-16 ~ .container {

}

.md-effect-16 .md-content {
	-webkit-transform: translateY(-5%);
	-moz-transform: translateY(-5%);
	-ms-transform: translateY(-5%);
	transform: translateY(-5%);
	opacity: 0;
}

.md-show.md-effect-16 ~ .container,
.md-effect-16 .md-content {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-16 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}
.md-close {
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  right: 15px;
  top: 10px;
  background: url("/i/image/site/cd-icon-close.svg") no-repeat center center;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border: 0;
  outline: none;
    z-index: 9999;
}
}
@media only screen and (min-width: 1170px) {
  .md-close {
    display: none;
  }
}