/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */
button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

/* custom -------------------------------------------- */

::selection {
	background:#CC0000;
	color:#fff;
}
::-moz-selection {
	background:#CC0000;
	color:#fff;
}
::-webkit-selection {
	background:#CC0000;
	color:#fff;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html, body {
	height: 100% !important;
	margin:0;
  padding:0;
}
#antispam {
  display:none;
}
body {
	font-family: "canada-type-gibson", Arial, sans-serif;
	font-size: 14px;
	font-weight:400;
	line-height: 22px;
	color:#37354F;
	background:#EFEDE1;
	
	/*height: 100vh;  
  min-height: 100vh;*/
}
.form-control, .button {
	font-family: "canada-type-gibson", Arial, sans-serif;
	font-size: 14px;
	font-weight:400;
	line-height: 22px;
}
a {
  color: #37354F;
  text-decoration: underline;
}
a:visited, a:hover, a:focus {
  color: #cc0000;
  text-decoration: none;
}
strong, b {
	font-weight: 600 !important;
}
h1 {
	font-weight:700;
	font-size:43px;
	line-height:35px;
	color:#37354F;
	margin:0 0 25px 0;
	padding:0;
	text-transform: uppercase;
}
h1 span.dash {
	display:none;
}
h1 span.headline {
	display:block;
	font-weight:400;
	font-size:20px;
	line-height:23px;
	margin-top:5px;
}
h2 {
	text-align:center;
	font-weight:700;
	font-size:22px;
	line-height:26px;
	color:#37354F;
	margin:0 0 20px 0;
	padding:0;
	text-transform: uppercase;	
}
h3 {
	text-transform: uppercase;	
	font-size:22px;
	line-height:26px;
	margin:5px 0 0 0;
	padding:0;
}


#slide1{
	background: url(../img/bg0.jpg) 50% 0 no-repeat fixed;
	background-size: 800px 686px;
	margin: 0 auto;
	overflow: hidden;
	padding: 0;
	width: 100%;
	z-index: 1;
  position:relative;  
}

#slide2{
	background: url(../img/bg1.png) 50% 0 no-repeat fixed;
	background-size: 800px 480px;	
  height: 100%; 
	margin: 0 auto;
	padding: 0;
	position: absolute;
	width: 100%;
	z-index: 2;	
	overflow:hidden;
  display:block;
}
.content, .footer {
	z-index:3;
	position:relative;	
  position:relative;  
}
.first, .second {
	width:100%;
	position:relative;
	display:block;
}
.first {
  height: 100vh; 
}
.content {
	max-width:1100px;
	margin:0 auto;
	text-align: center;
	padding:0 15px;	
  min-height:100%;
}
.second{
	max-width:800px;
	margin:0 auto;
}
.second p{
	max-width:700px;
	margin-left: auto;
	margin-right: auto;
}
.content ul {
	list-style-type: none;
	text-align: left;
	padding:0;
	margin:35px 0;
}
.content ul li {
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI5Ljc1NiAyOS43NTYiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Ljc1NiAyOS43NTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiPgo8Zz4KCTxwYXRoIGQ9Ik0yOS4wNDksNS4wMDlMMjguMTksNC4xNTFjLTAuOTQzLTAuOTQ1LTIuNDg4LTAuOTQ1LTMuNDM0LDBMMTAuMTcyLDE4LjczN2wtNS4xNzUtNS4xNzMgICBjLTAuOTQzLTAuOTQ0LTIuNDg5LTAuOTQ0LTMuNDMyLDAuMDAxbC0wLjg1OCwwLjg1N2MtMC45NDMsMC45NDQtMC45NDMsMi40ODksMCwzLjQzM2w3Ljc0NCw3Ljc1MiAgIGMwLjk0NCwwLjk0MywyLjQ4OSwwLjk0MywzLjQzMywwTDI5LjA0OSw4LjQ0MkMyOS45OTEsNy40OTgsMjkuOTkxLDUuOTUzLDI5LjA0OSw1LjAwOXoiIGZpbGw9IiNiNGIyYjAiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);
    background-size:14px 14px;
	background-position: 0 9px;
	background-repeat: no-repeat;
	margin:0;
	padding:5px 0 0 20px;
	-webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
}
.first {
	 display: table;
}
.cta {
	text-align: left;
	position:relative;
	max-width: 120px;
	padding-left:50%;
	display: table-cell;
  vertical-align: middle;
}



/* layout -------------------------------------------- */


.footer {
	color:#faf9ed;
	font-size:14px;
	padding:25px 15px;
	text-align:center;
	background:#37354F;
}
.footer a, .footer a:visited, .footer a:focus {
	color:#faf9ed;
	text-decoration: none;
}
.footer a:hover {
	color:#faf9ed;
	text-decoration:underline;
}
.footer span {
	white-space: nowrap;
}
.partners {
  padding:25px 15px;
  text-align:center;
  background:#fff;
}
.partners img {
  width:auto;
  height:60px;
  margin:5px;

}

.btn, .btn:active, .btn:focus {
    cursor: pointer;
    display: inline-block;
    margin: 0;
    padding: 5px 15px;
    font-weight: 700;
    color: #37354F !important;
    border: 0;
    text-decoration: none;
    background-color: transparent;
    border:2px solid #37354F;
    border-radius: 4px;
    -o-transition: .4s;
    -webkit-transition: .4s;
    transition: .4s;
    position: relative;
    z-index: 1000;
    text-transform: uppercase;
}
.btn:hover {
    text-decoration: none;
    background-color:#37354F;
    color:#fff !important;
}
.btn.open-popup-link, .btn.open-popup-link:active, .btn.open-popup-link:focus {
	margin:25px 0 35px 0;
}

@media (min-width:568px) {
	body,.form-control, .footer{
	  font-size: 16px;
	  line-height: 26px;
	}
	h1 {
		font-size:50px;
		line-height:50px;
		margin:0 0 25px 0;
	}
	h1 span.headline {
		font-size:19px;
		line-height:20px;
		margin-top:2px;
	}
	h2 {
		font-size:26px;
		line-height:30px;
		margin:0 0 20px 0;
	}
	.content ul {
		-webkit-column-count: 2; /* Chrome, Safari, Opera */
	    -moz-column-count: 2; /* Firefox */
	    column-count: 2;
	}
	.content ul li {
		line-height:24px;
		margin:5px 0 5px 20px;
		background-size:23px 23px;
		background-position: 0 5px;
		background-repeat: no-repeat;
		margin:0;
		padding:5px 0 5px 35px;
	}
	.footer {
		font-size: 14px;
	}
	.cta {
		max-width: auto;
	}
	.footer {
		padding:35px 15px;
		font-size: 17px;
		line-height: 25px;
	}
  #slide1{
    background-size: 1000px 857px;  
  }
  #slide2{
    background-size: 1000px 600px;  
  }
}

@media (min-width:992px) {
	body,.form-control, .footer {
	  font-size: 19px;
	  line-height: 26px;
	}
	h1 {
		font-size:80px;
		line-height:80px;
	}
	h1 span.headline {
		font-size:30px;
		line-height:20px;
		margin-top:10px;
	}
	h2 {
		font-size:35px;
		line-height:40px;
		margin:0 0 25px 0;
	}
	h3 {
		font-size:28px;
		line-height:30px;
		margin:5px 0 0 0;
	}
	.btn, .btn:active, .btn:focus {
		font-size:23px;
		padding:12px 50px;
		margin-top:15px;
	}
	.footer {
		padding:45px 15px;
		font-size: 21px;
		line-height: 28px;
	}
  #slide1,#slide2{
    background-size: cover;  
  }
	.content ul {
		margin:45px 0 55px 0;	
	}
	.content ul li {
		padding:10px 0 10px 45px;		
		background-size:29px 29px;
		background-position: 0 7px;
		line-height:26px;
	}
	.btn.open-popup-link, .btn.open-popup-link:active, .btn.open-popup-link:focus {
		margin:45px 0 55px 0;
	}
}


/* formular registrace --------------------------------------------- */


textarea:focus, input:focus, select:focus {
    outline: none;
}
textarea.form-control {
    height: auto;
    resize: vertical;    
    color:#000;
    min-height:80px;
}
.registrace h2 {
	margin: 0px 0 20px 0;
}
.registrace label {
	display:block;
	color:#676767;
	font-size:14px;
	margin-top:10px;
	margin-bottom:3px;
}
.registrace .checkbox-group label {
	margin-top:0px;
}
.form-control {
	display: block;
    width: 100%;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #000;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;    
    box-shadow: none !important;
}
textarea.form-control, input.form-control {
    -webkit-appearance: none;
}
.form-control:focus {
    border-color: #37354F;
}
div#errors {
	display:none;
}
div#errors.alert-dismissible {
	display:block;
  }
[hidden] {
  display: none !important;
}
.form-group.has-error .form-control {
	border:1px solid #cc0000;
}
.help-block.with-errors ul {
	list-style-type: none;
	color:#cc0000;
	margin: 2px 0 0 0;
    padding: 0;
    font-size:14px;
}
.form-group {
	margin-top:12px;
}
.group {
	margin-top:-5px;
}
.group .checkbox {
	height:25px;
}
#upresnit_obor {
	display:none;
}
.souhlas {
	margin-top:25px;
}

.souhlas label {
	width: 100%;
}
.content.souhlas {
	text-align:left;
}

@media (min-width:600px) {
	.registrace label {
		display:inline-block;
		margin-top:10px;
		padding-top:8px;
		width:120px;
		line-height: 17px;
		height: 34px;
		vertical-align: top;
		position:relative
	}
	.form-control {
		display:inline-block;
		width:calc(100% - 128px);
		vertical-align: top;
    	margin-top: 10px;
	}
	.help-block.with-errors {
		width:calc(100% - 128px);
		margin-left:auto;
	}
	.souhlas {
		text-align: center;
		margin-top:5px;
	}
	.form-group {
		clear:both;
		margin-top:5px;
	}
	.help-block.with-errors ul {
		margin: 0;
	}
	.souhlas label, .souhlas .help-block.with-errors {
		width: 100%;
	}
	
}

.btn.submit {
	margin-left:auto; 
	margin-right:auto; 
	display:block;
	margin-top:30px;
}







/* Magnific Popup CSS ---------------------------------------------- */

.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #37354F;
  opacity: 0.95; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 64px;
  height: 64px;
  line-height: 64px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 40px;
   }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #37354F; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(55, 53, 79, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(55, 53, 79, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background:rgba(55, 53, 79, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(55, 53, 79, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }



/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}


/**
 * Fade-move animation for second dialog
 */

/* at start */
.my-mfp-slide-bottom .popup {
	opacity: 0;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;

	-webkit-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
	-moz-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
	-ms-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
	-o-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
	transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );

}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .popup {
	opacity: 1;
	-webkit-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
	-moz-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
	-ms-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
	-o-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
	transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .popup {
	opacity: 0;

	-webkit-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
	-moz-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
	-ms-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
	-o-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
	transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
	opacity: 0;

	-webkit-transition: opacity 0.3s ease-out; 
	-moz-transition: opacity 0.3s ease-out; 
	-o-transition: opacity 0.3s ease-out; 
	transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
	opacity: 0.9;
}
/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
	opacity: 0;
}


.white-popup {
	position: relative;
	background:#EFEDE1;
	padding: 40px;
	width: auto;
	max-width: 570px;
	margin: 20px auto;
	z-index: 99999999999999999999999999999999999999999999999999999 !important;
	-webkit-box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.7);
	-moz-box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.7);
	box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.7);
	border-radius: 10px;
}

