/* 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: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}
.container {
}
*/
.md-modal {
	position: fixed;
	overflow:hidden;
	z-index: 200000;
}
.md-modal_desktop{
	left:50%;
	top:50px;
	margin-left:-600px;
	width:1200px;
	height:400px;
	max-height:400px;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}
.md-modal_tablet{
	bottom:100px;
	left:0;
	margin:0;
	width:100%;
	height:400px;
	max-height:400px;
	position:absolute;
	display:none;
}

@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (-webkit-min-device-pixel-ratio: 1){
	.md-modal {
/*
		position:relative;
		margin-left:-490px;
*/
		width:980px;
		margin:0 auto;
	}
}

.md-show {
	visibility: visible;
}
.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 100000;
	opacity: 0;
	background: rgba(255,255,255,0.95);
/*
	background: rgba(255,255,255,0.95);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
*/
}
.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}
/* Content styles */
.md-content {
	color: #333;
/*
	background: rgba(0,0,0,0.95);
*/
	position: relative;
	border-radius: 3px;
	margin:45px auto 0;
}

.modal_close{
	position:absolute;
	top:0;
	right:0;
}

/*--- form ---*/
input[type="text"].search_modal{
	font-family: 'Lato', Calibri, Arial, sans-serif;
    background:transparent;
	border-radius:0px;
    border:0px;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
    color: #222;
    display:block;
    margin:0 0 10px 0;
    outline:none;
    padding:15px;
	width:100%;
	font-size:36px;
	font-weight:400;
}
input[type="text"].search_modal::-webkit-input-placeholder {
	color:#888;
	font-weight:300;
}
input[type="text"].search_modal:-moz-placeholder { /* Firefox 18- */
	color:#888;
	font-weight:300;
}
input[type="text"].search_modal::-moz-placeholder {  /* Firefox 19+ */
	color:#888;
	font-weight:300;
}
input[type="text"].search_modal:-ms-input-placeholder {
	color:#888;
	font-weight:300;
}

@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (-webkit-min-device-pixel-ratio: 1){
	input[type="text"].search_modal, select{
		width:900px;
/*
		margin-left:40px;
*/
	}
	.cs-select{
		padding:0 0 0 40px;
	}
}

.md-content h3 {
	margin: 0;
	padding: 0.4em;
	text-align: center;
	font-size: 2.4em;
	font-weight: 300;
	opacity: 0.8;
	background: rgba(0,0,0,0.1);
	border-radius: 3px 3px 0 0;
}
.md-content > div {
	padding: 15px 40px 30px;
	margin: 0;
	font-weight: 300;
	font-size: 1.15em;
}
.md-content > div p {
	margin: 0;
	padding: 10px 0;
}
.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}
.md-content > div ul li {
	padding: 5px 0;
}
.md-content button {
	display: block;
	margin: 0 0 0 auto;
/*
	font-size: 0.8em;
*/
}

.md-content button.search_go{
    position: relative;
    top: 5px;
    right:0;
    background: #cc0000;
    height: 48px;
    width:180px
}
.md-content button.search_go:hover{
    background: #00b232;
}
@media only screen
  and (min-device-width: 768px)
  and (max-device-width: 1024px)
  and (-webkit-min-device-pixel-ratio: 1){
    .md-content button.search_go{
        right: 40px;
        width:120px
    }
}

/* Effect */
.md-effect-12 .md-content {
/*
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
/*
	opacity: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
*/
}

.md-show.md-effect-12 ~ .md-overlay {
	background: rgba(255,255,255,0.9);
}

.md-effect-12 .md-content h3,
.md-effect-12 .md-content {
	background: transparent;
}

.md-show.md-effect-12 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/*
.md-effect-10.md-modal {
	-webkit-perspective: 160px;
	-moz-perspective: 160px;
	perspective: 160px;
}
.md-effect-10 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-60deg);
	-moz-transform: rotateX(-60deg);
	-ms-transform: rotateX(-60deg);
	transform: rotateX(-60deg);
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	transform-origin: 50% 0;
	opacity: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
.md-show.md-effect-10 .md-content {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}
@media screen and (max-width: 32em) {
	body { font-size: 75%; }
}
*/

