/**
 * Featherlight – ultra slim jQuery lightbox
 * Version 1.7.9 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2017, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/

.lightbox, .video_lightbox {
	display: none;
}
.lightbox.lightbox_show {
	display: block!important;
}
.featherlight-next, .featherlight-previous {
	color: #FF6666;
	cursor: pointer;
}
.featherlight-next:hover, .featherlight-previous:hover {
	color: #FFF;
}
#video {
	min-width: 1200px;
}
@media all {
	html.with-featherlight {
		/* disable global scrolling when featherlights are visible  */
		overflow: hidden;
	}

	.featherlight {
		display: none;
		overflow-y: scroll;
		/* dimensions: spanning the background from edge to edge fixed*/
		position:fixed; /*absolute*/
		top: 0; right: 0; bottom: 0; left: 0;
		z-index: 2147483647; /* z-index needs to be >= elements on the site. */

		/* position: centering content */
		text-align: center;

		/* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
		white-space: nowrap;

		/* styling */
		cursor: pointer;
		background: #333;
		/* IE8 "hack" for nested featherlights  */
		background: rgba(255,255,255, 0.6);
	}

	/* support for nested featherlights. Does not work in IE8 (use JS to fix) 
	.featherlight:last-of-type {
		background: rgba(224,96,163, 0.6);
	}
	.featherlight.okno:last-of-type  {
		background: rgba(255,255,255, 0.5);
	}*/

	.featherlight:before {
		/* position: trick to center content vertically */
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
	}

	.featherlight .featherlight-content {
		/* make content container for positioned elements (close button) */
		position: relative;

		/* position: centering vertical and horizontal */
		text-align: left;
		vertical-align: middle;
		display: inline-block;

		/* dimensions: cut off images overflow: auto;*/
		
		/*padding: 25px 25px 0;
		border-bottom: 25px solid transparent; */

		/* dimensions: handling large content max-height: 95%; */
		margin: 5%;		margin: 2vh 5%;		
		/* styling */
		cursor: auto;

		/* reset white-space wrapping */
		white-space: normal;
		
		/*width: 90%;*/	max-height: 96vh;
		max-width: 1228px;
	}
	.featherlight.okno .featherlight-content {
		background: #2B1E3F;
		width: 90%;
		max-width: 540px;
		padding: 40px;
		box-sizing: border-box;
		text-align: center;
		border-radius: 3px;
	}
	/* contains the content */
	.featherlight .featherlight-inner {
		/* make sure its visible */
		display: block;
	}

	/* don't show these though */
	.featherlight script.featherlight-inner,
	.featherlight link.featherlight-inner,
	.featherlight style.featherlight-inner {
		display: none;
	}

	.featherlight .featherlight-close-icon {
		/* position: centering vertical and horizontal */
		position: absolute;
		z-index: 9999;
		top: 0;
		right: 0;

		/* dimensions: 25px x 25px */
		line-height: 35px;
		width: 35px;

		/* styling */
		cursor: pointer;
		text-align: center;
		font-family: Arial, sans-serif;
		background: #42342D;
		color: #FFF;
		border: none;
		padding: 0;
		border-radius: 50%;
	}
	.featherlight.okno .featherlight-close-icon {
		background-color: transparent;	
	}
	.featherlight .featherlight-close-icon:hover {
		background: #FF6666;
	}
	/* See http://stackoverflow.com/questions/16077341/how-to-reset-all-default-styles-of-the-html5-button-element */
	.featherlight .featherlight-close-icon::-moz-focus-inner {
		border: 0;
		padding: 0;
	}

	.featherlight .featherlight-image {
		/* styling */
		max-height: 100%;
		max-width: 100%; 
	    margin: 0px auto;
		border-radius: 15px;
	}


	.featherlight-iframe .featherlight-content {
		/* removed the border for image croping since iframe is edge to edge */
		border-bottom: 0;
		padding: 0;
		-webkit-overflow-scrolling: touch;
		overflow-y: scroll;
	}

	.featherlight iframe {
		/* styling */
		border: none;
	}

	.featherlight * { /* See https://github.com/noelboss/featherlight/issues/42 */
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 1240px) {	
	.recept .detaily h2 {
		max-width: none!important;
		width: 65%;
	}
	#video {
		min-width: 900px;
	}
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
	.featherlight .featherlight-content {
		/* dimensions: maximize lightbox with for small screens */
	width: 96%;
	margin: 2%;
	}
	#video {
		min-width: 600px;
	}
}

@media only screen and (max-width: 747px) {
	
}


@media only screen and (max-width: 620px) {
	.featherlight.okno .featherlight-content,
	.lightbox.okno > div {
		width: 96%;
		max-width: 540px;
		padding: 20px;
	}
	#video {
		min-width: 100px;
	}
}
/* hide non featherlight items when printing */

