:root {
	--action-img-width: calc(var(--content-width) - 20px);
}
/*
#title-centre-actions {
	position: relative;
	width: var(--content-width);
	margin: 0px auto 20px auto;
	display: -webkit-flex;
	-webkit-flex-flow: row nowrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-content: flex-start;

}
#title-centre-actions > a {
	display: inline-block;
	-webkit-flex: 0 0 100%;
	-moz-flex: 0 0 100%;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	text-decoration: none;
	margin: 0 0 20px 0;
}
#title-centre-actions > a > img {
	width: 100%;
	box-shadow: none;
}
#title-centre-actions > a > img:hover {
	box-shadow: 0px 10px 30px grey;
}
*/

#actions,
#title-centre-actions,
#benefits {
	position: relative;
	width: var(--content-width);
	margin: 0px auto;
	display: -webkit-flex;
	-webkit-flex-flow: row wrap;
	-webkit-box-pack: flex-start;
	-webkit-justify-content: flex-start;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
//	align-content: flex-start;
	perspective: 1000px;
}
#actions > .events-title {
	margin: 50px auto;
}

#actions > p {
	width: 100%;
	margin: 0 0 60px 0;
}
#actions > a,
#title-centre-actions > a,
#benefits > a {
	display: inline-block;
	-webkit-flex: 0 0 100%;
	-moz-flex: 0 0 100%;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	text-align: left;
	text-decoration: none;
	color: var(--color-text);
//	line-height: 150%;
	background-color: #ffffff;
	margin: 0 0 50px 0;
	border-bottom: dotted var(--color-border) 1px;
	overflow: hidden;
	transition: all 0.3s ease-out;
}
#title-centre-actions > a {
	border-left: solid var(--color-winered-05) 1px;
}
#actions > a:last-child,
#title-centre-actions > a:last-child,
#benefits > a:last-child {
	margin: 0 0 0 0;
}

#title-centre-actions > a {
	border-left: solid var(--color-winered-05) 1px;
}
#title-centre-actions > a > div {
	width: 100%;
	height: 270px;
//	height: 120px;
//	max-height: 120px;
	padding: 0 30px 0 30px;
}
#title-centre-actions > a > div > span {
	text-decoration: underline;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
}
.actionText {
	width: 100%;
	height: 100px;
	margin: 20px 0 20px 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

#actions > a:hover,
#title-centre-actions > a:hover,
#benefits > a:hover {
	border-bottom: none;
}
#actions > a > img {
	width: 100%;
	height: auto;
	border-radius: 16px;
//	padding: 20px;
}
/*
#actions > a[data-type] > img {
	filter: grayscale(100%);
	transition: filter 0.5s;
}
#actions > a[data-type]:hover > img {
	filter: grayscale(0%);
}
*/
#benefits > a > img {
	width: 100%;
	height: auto;
	padding: 20px 60px 0px 60px;
}
#title-centre-actions > a > img {
	width: 100%;
	height: auto;
	padding: 20px 20px 0 20px;
//	border: solid #eee 1px;
}
#actions > a > div {
	width: 100%;
	padding: 10px 0 0 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-winered);
	text-transform: uppercase;
}
#actions > a > strong {
	font-size: 18px;
	line-height: 26px;
}

div.h1.events-title {
	margin: 60px 0 30px 0;
}

#benefits > a > div {
	width: 100%;
	height: 240px;
	padding: 20px;
}
#actions > a > div > h2,
#actions > a > div > h3,
#title-centre-actions > a > div > h3,
#benefits > a > div > h2,
#benefits > a > div > h3 {
	margin: 0;
	font-size: 24px;
//	font-weight: normal;
	line-height: 32px;
}
#actions > a > div > img {
	position: absolute;
	bottom: 20px;
	left: 20px;
	max-width: 90px;
	max-height: 60px;
}
#actions > a > div > span,
#benefits > a > div > span {
/*	display: inline-block;
	padding: 3px 20px;
	border-radius: 2px;
	border: solid 1px #161616;
	text-transform: uppercase;
//	float: right;
	position: absolute;
	bottom: 20px;
	right: 20px;
	transition: all 0.3s ease-out;
*/
	float: right;
	color: var(--color-text);
	text-transform: none;
}
#actions > a:hover > div > span,
#benefits > a:hover > div > span {
//	color: #ffffff;
//	background-color: #161616;
}
#actions > a > div > p,
#benefits > a > div > p {
	color: var(--color-gray);
	margin: 10px 0 0 0;
	font-size: 13px;
}
/*
.benefit-img {
	-moz-transform: scale(0.75)!important;
	-webkit-transform: scale(0.75)!important;
	-o-transform: scale(0.75)!important;
	-ms-transform: scale(0.75)!important;
	transform: scale(0.75)!important;
}
*/
.cal {
	margin: 0 0 15px 0;
//	font-size: 15px;
	color: var(--color-winered);
	font-weight: 500;
}
.button-pink {
	position: relative;
	top: -50px;
	padding: 12px 30px 10px 30px;
	background: var(--color-pink);
	color: var(--color-white);
	border-radius: 2px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	line-height: 140%;
}
.button-pink:hover {
	background: var(--color-black);
}
.home {
	margin: 40px auto 40px auto!important;
	padding: 0 20px;
}


#actionDetail {
//	max-width: 900px;
}
#actionDetail > h1 {
	margin: 0 0 20px 0;
//	float: right;
}
#actionDetail > .actionDetailLogo {
	display: block;
	margin: 0 0 20px 0;
//	float: right;
}
#actionDetail > .actionDetailImg {
	width: 100%;
	margin: 0;
}
#actionDetail > #action-img {
	width: 100%;
	max-width: var(--content-width);
	border-radius: 24px;
}
#actionDetail > div.date {
	width: 100%;
	margin: 30px 0;
	text-align: center;
	color: var(--color-winered);
	font-weight: 500;
}
#actionDetail > div.desc {
	padding: 0 20px;
	margin-top: 20px;
	text-align: left;
}
#actionDetail > div.desc p {
	margin: 0 0 10px 0;
}
#actionDetail > div.desc ul {
	margin: 5px 0 15px 0;
}
#actionDetail > div.desc iframe {
	margin-top: 30px;
	border-radius: 16px;
}

#actionGallery {
	margin: 30px 0 0 0;
	padding: 5px 0 0 0;
	border-top: dotted var(--color-border) 1px;
}

#actionGallery #show_gallery, #actionGallery #hide_gallery {
	position: relative;
	top: 0px;
	cursor: pointer;
	text-align: right;
	color: #727272;
	font-size: 12px;
	font-weight: bold;
	padding: 0px 25px 0px 0px;
	text-transform: lowercase;
}
#actionGallery #show_gallery {
	background: transparent url('/img/show.svg') no-repeat 100% 50%;
	display: none;
}
#actionGallery #hide_gallery {
	background: transparent url('/img/hide.svg') no-repeat 100% 50%;
}
#actionGallery > .gallery_desc {
	padding-top: 15px;
}


/* Slevy pro studenty - START */
#discountsTab {
	width: var(--content-width);
	display: block;
}
#discountsTab th {
	display: block;
	font-size: 20px;
	font-weight: 900;
	text-align: center;
	padding: 30px 30px 20px 0;
	background-color: var(--color-white);
}
#discountsTab td {
	display: block;
	padding: 30px;
	border-bottom: dotted var(--color-border) 1px;
	text-align: center;
}
#discountsTab td:first-child {
	text-align: center;
	padding: 30px 30px 0px 30px;
	border-bottom: none;
}
#discountsTab tr:hover {
	background-color: #efefef;
}
/* Slevy pro studenty - END */


#cats {
	margin: 0 0 30px 0;
	text-align: center;
}
#cats > .cat {
	display: inline-block;
	margin: 0 5px 7px 0;
	padding: 1px 7px;
	font-weight: 700;
	border-radius: 2px;
	white-space: nowrap;
	cursor: pointer;
	color: var(--color-white);
}
#cats > .cpink {
	background-color: var(--color-pink);
}
#cats > .ciblue {
	background-color: var(--color-logo-blue);
}
#cats > .cilightgreen {
	background-color: var(--color-logo-lightgreen);
}
#cats > .cired {
	background-color: var(--color-logo-red);
}
#cats > .cidarkgreen {
	background-color: var(--color-logo-green);
}
#cats > .ciyellow {
	background-color: var(--color-logo-yellow);
}
#cats > .ciorange {
	background-color: var(--color-logo-orange);
}
#cats > .active {
	background-color: var(--color-black);
}




@media only screen and (min-width: 530px) {
	#title-centre-actions {
		justify-content: space-between;
		align-content: flex-start;
	}
	#title-centre-actions > a:nth-child(3),
	#actions.home > a:nth-child(3) {
		display: none;
	}
	#title-centre-actions > a,
	#actions > a,
	#benefits > a {
		-webkit-flex: 0 0 49%;
		-moz-flex: 0 0 49%;
		-ms-flex: 0 0 49%;
		flex: 0 0 49%;
	}
	#title-centre-actions::after,
	#actions::after,
	#benefits::after {
	  content: "";
	  flex: 0 0 49%;
	}
}


@media only screen and (min-width: 640px) {

	#actionDetail > .actionDetailImg {
//		margin: 0 50px 0 0;
	}
	#actionDetail > .actionDetailImg > img {
		max-width: 100%;
	}
	#actionDetail > div.desc {
//		padding: 20px 0 0 0;
//		clear: left;
//		float: right;
//		max-width: 600px;
	}
	div.h1.events-title {
		margin: 60px 0 50px 0;
	}
	/* Slevy pro studenty - START */
	#discountsTab {
		display: table;
		border-collapse: collapse;
	}
	#discountsTab th {
		display: table-cell;
	}
	#discountsTab td {
		display: table-cell;
		text-align: right;
	}
	#discountsTab td:first-child {
		text-align: center;
		padding: 30px;
		border-bottom: dotted var(--color-border) 1px;
	}
	/* Slevy pro studenty - END */

}


@media only screen and (min-width: 820px) {
}

@media only screen and (min-width: 1000px) {
	#title-centre-actions {
		justify-content: flex-start;
	}
	#title-centre-actions > a:nth-child(3),
	#actions.home > a:nth-child(3) {
		display: block;
	}
	#title-centre-actions::after,
	#actions::after,
	#benefits::after {
	  content: "";
	  flex: 0 0 33%;
	}
	#actionDetail > div.desc {
		padding: 0;
		width: var(--text-area-max-width);
		margin: 40px auto 0 auto;
	}
	#title-centre-actions > a,
	#actions > a,
	#benefits > a {
		-webkit-flex: 0 0 32.5%;
		-moz-flex: 0 0 32.5%;
		-ms-flex: 0 0 32.5%;
		flex: 0 0 32.5%;
	}
	#actionDetail > div.desc > div#photogallery {
		padding-top: 30px;
		left: -400px;
	}
}