.calendarium .block-grid{
	text-align: right;
}

[data-c_symbol="w_calendar_events"] .calendarium.calendarium{
	position: initial;
	width: auto;
	font-size:0;
}
.calendarium.container{
	font-size:0;
	margin: -20px;
}

.wce-list{
	vertical-align: top;
	display:inline-block;
	font-size: 1rem;
	width:50%;
}
.wce-list-wrapper
{
	padding: 15px;
	margin-right: 30px;
	overflow-y: auto !important;
	max-height: 680px;
}
.wce-list-wrapper .event-item{
	border-bottom: 1px solid #e5e5e5;
	padding: 12px 5px;
}
.wce-list-wrapper .event-text-wrapper
{
	width: calc(100% - 60px);
	display:inline-block;
	vertical-align: middle;
}
.wce-list-wrapper .event-name
{
	display:inline-block;
	font-size: 1.375rem;
	font-weight: 600;
	padding: 2px;
}
.wce-list-wrapper .event-description
{
	display:inline-block;
	font-size: 1rem;
	font-weight: 500;
	padding: 2px;
	background: rgba(255,255,255, 0);

}

.wce-list-wrapper .event-link
{
	position: absolute;
	top:0;
	right:0;
	left:0;
	bottom:0;

	-webkit-transition: all 100ms ease-in-out;
	-moz-transition: all 100ms ease-in-out;
	-o-transition: all 100ms ease-in-out;
	transition: all 100ms ease-in-out;
}
.wce-list-wrapper .event-link:hover
{
	background: rgba(232,65,44, 0.2);
}

.wce-list-wrapper .event-icon
{
	display:inline-block;
	vertical-align: middle;
	font-size: 2rem;
}

.wce-list-wrapper .event-icon i
{
	color: #e8412c;
	margin-right: 27px;
}

.list-title:before
{
	content: '';
    width: 160px;
    position: absolute;
    display: inline-block;
    height: 4px;
    top: 0;
    background-color: #e8412c;
}
.list-title
{
	font-weight: bold;
    font-size: 2.25rem;
    color: #575757;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-top: 20px;
    line-height: 1.4;
    position: relative;
	padding: 15px;
}

.wce-container
{
	max-width: 1440px;
	width: 90%;
	margin: auto;
	padding: 52px 0;
}

.wce-hover .wce-hide{
	opacity: 1;
	visibility: visible;
}
.wce-wrap
{
	width: 50%;
	/*margin: auto;*/
	display:inline-block;
	padding-bottom: 1%;
	vertical-align: bottom;
}

.wce-wrap:before
{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: 0px;
	margin-right: -4px;
}

.wce-wrap-inner
{
	/*padding: 5.8% 7.4%;*/
	padding: 0;
	padding-right: 0;
	padding-top: 0;
	box-sizing: border-box;
	vertical-align: middle;
	width: 80%;
	margin:auto;
}

.wce-wrap .wce-title
{
	font-family: "Playfair Display", Tahoma, Verdana, Geneva, Arial, Helvetica;
	font-size: 25px;
	text-transform: uppercase;
	font-weight: 900;
	color: #e8412c;
}

.wce-navi
{
	padding: 0;
	margin: 0;
}

.wce-prev, .wce-next
{
	text-indent: -9999px;
	cursor: pointer;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: 11.5px;
	height: 32px;
	font-size: 32px;
	-webkit-transition: color 300ms ease-in-out;
	-moz-transition: color 300ms ease-in-out;
	-o-transition: color 300ms ease-in-out;
	transition: color 300ms ease-in-out;
}

.wce-prev.wce-disabled, .wce-next.wce-disabled, .wce-prev.wce-disabled:hover, .wce-next.wce-disabled:hover
{
	color: #f1f1f1;
}

.wce-prev .fa
{

	position: absolute;
	left: 0;
	right: -20px;
	text-indent: 7px;
	color: #fff;
	background-color: #e8412c;

	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}
.wce-next .fa
{
	position: absolute;
	left: 0;
	right: -20px;
	text-indent: 8px;
	color: #fff;
	background-color: #e8412c;

	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}

.wce-prev:hover .fa, .wce-next:hover .fa
{
	background-color: #d1d1d1;
}
.wce-disabled .fa, .wce-disabled:hover .fa 
{
	background-color: #fff;
	color: #d1d1d1;
}

.wce-act-info
{
	display: inline-block;
	vertical-align: middle;
	width: 99%;
	box-sizing: border-box;
	padding: 0 30px;
	padding-top: 1px;
	text-align: center;
	margin-right: -15.5px;
}

.wce-prev
{
	margin-right: -15.5px;
}

.wce-act-year-month
{
	font-size: 1.625rem;
	line-height: 30px;
	text-transform: uppercase;
	font-weight: 600;
}

.wce-days, .wce-days tbody, .wce-days tr 
{
	display: block;
	white-space: nowrap;
	font-size: 0;
}
.wce-days .empty{
	background-color: #f2f2f2;
}
.wce-days td.wce-event-status-on.day-clicked{
	background-color: #ad3324;
}

.wce-days td.wce-event-status-on.now-cell{
	background-color: #f36b5a;
}


.wce-days th
{
	display: inline-block;
	width: 14.2857%;
	box-sizing: border-box;
	padding: 0;
	text-align: center;
	font-size: 1rem;
	color: #1b1b1b;
	font-weight: 500;
	line-height: 50px;
}

.wce-days td
{
	border: 1px solid #d6d6d6;
	/*border-bottom: 1px solid #d6d6d6;*/
	/*border-right: 1px solid #d6d6d6;*/
	margin-bottom: -1px;
	margin-right: -1px;
	display: inline-block;
	width: calc(14.2857% + 1px);
	box-sizing: border-box;
	padding: 0;
	text-align: center;
	font-size: 1.125rem;
	color: #000;
	height:0;
	padding-bottom: calc(12.2857% - 1px);
	position: relative;
}

.wce-days tr:nth-child(2) td
{
	border-top: 1px solid #d6d6d6;
	margin-top: -1px;
	padding-bottom: calc(12.2857% - 2px);
}

.wce-days tr td:last-child
{
	border-right: 1px solid #d6d6d6;
}

.wce-days tr:last-child td
{
	border-bottom: 1px solid #d6d6d6;
}

.wce-days tr td:first-child
{
	border-left: 1px solid #d6d6d6;
}

.wce-day-number
{
	position: absolute;
	height: 17px;
	width: 100%;
	text-align: center;
	top: 0;
	bottom: 0;
	line-height: 21px;
	margin: auto;
}

td.wce-event-status-on
{
	position: relative;
	border: 1px solid #ffffff;
	z-index: 1;
}

.wce-days td.wce-event-status-on
{
	cursor: pointer;
	background: #e8412c;
	color: #fff;
	-webkit-transition: background 300ms ease-in-out, color 300ms ease-in-out;
	-moz-transition: background 300ms ease-in-out, color 300ms ease-in-out;
	-o-transition: background 300ms ease-in-out, color 300ms ease-in-out;
	transition: background 300ms ease-in-out, color 300ms ease-in-out;
}

.wce-days td.wce-event-status-on.wce-hover
{
	background: #ad3324;
	color: #ffffff;
	z-index: 2;
}

.wce-day-events
{
	position: absolute;
	top: 100%;
	right: -1px;
	background: #ffffff;
	border: 1px solid #d6d6d6;
	list-style: none;
	color: #2f2f2f;
	-webkit-transition: opacity 300ms ease-in-out, visibility 0ms linear;
	-moz-transition: opacity 300ms ease-in-out, visibility 0ms linear;
	-o-transition: opacity 300ms ease-in-out, visibility 0ms linear;
	transition: opacity 300ms ease-in-out, visibility 0ms linear;
	z-index: 2;
	width: 30vw;
}

.wce-day-events .wce-day-events-icon
{
	color: #e8412c;
	float: left;
	font-size: 20px;
	margin-right: -25px;
}

.wce-day-events .wce-day-events-info
{
	float: left;
	width: 100%;
	box-sizing: border-box;
	padding-left: 35px;
	text-align:left;
	white-space: normal;
}

.wce-day-events .wce-day-events-inner-wrap:after
{
	content: "";
	display: block;
	clear: both;
}

.wce-day-events .wce-day-events-title
{
	color: #e8412c;
	white-space: nowrap;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
	box-sizing: border-box;
	padding-bottom: 5px;
	-webkit-transition: color 300ms ease-in-out;
	-moz-transition: color 300ms ease-in-out;
	-o-transition: color 300ms ease-in-out;
	transition: color 300ms ease-in-out;
}

.wce-day-events .wce-day-events-title:hover
{
	color: #ad3324;
	text-decoration: none;
}

.wce-day-events .wce-day-events-text
{
	font-size: 15px;
	line-height: 24px;
}

.wce-day-events ul
{
	padding: 0 20px;
	margin: 0;
	list-style: none;
	max-height: 40vw;
	overflow: auto;
}

.wce-day-events ul li
{
	margin: 0 0 20px 0;
}

.wce-day-events ul li:first-child{
	margin: 20px 0 20px 0;
}

.wce-hide
{
	opacity: 0;
	visibility: hidden;
}

.wce-disabled a
{
	cursor: auto;
	color: grey;
}


div.wce-wrap-inner{
	padding-bottom: 0;
}

.container-event .wce-wrap-inner{
	margin: 0;
	padding-bottom: 0;
}

@media all and (max-width: 1366px){
	.wce-wrap .wce-title
	{
		font-size: 24px;
	}

	.wce-act-year-month
	{
		font-size: 24px;
		line-height: 30px;
	}

	.wce-act-info
	{
		padding: 16px;
	}

	.wce-prev, .wce-next
	{
		font-size: 30px;
		width: 11.5px;
		height: 30px;
	}

	.wce-days th
	{
		font-size: 17px;
	}

	.wce-days td
	{
		font-size: 15px;
	}

	.wce-day-events
	{
		width: 50vw;
	}
}

@media all and (max-width: 1100px){
	.wce-wrap .wce-title
	{
		font-size: 1.375rem;
	}

	.wce-act-year-month
	{
		font-size: 1.375rem;
		line-height: 24px;
	}

	.wce-act-info
	{
		padding: 12px 16px;
	}

	.wce-days th
	{
		font-size: 1rem;
	}

	.wce-days td
	{
		font-size: 14px;
		line-height: 40px;
	}

	.wce-day-events .wce-day-events-title
	{
		padding-bottom: 0;
		line-height: 21px;
	}

	.wce-day-events ul
	{
		max-height: 768px;
	}
}

@media all and (max-width: 1023px){

	.wce-wrap
	{
		position: relative;
		right: auto;
	}
	.wce-list, .wce-wrap
	{
		width: 100%;
		padding-bottom: 15px;
	}
	.wce-wrap-inner
	{
		width: 80%;
	}
	.wce-list-wrapper
	{
		max-height:  300px;
		margin:0;
		box-shadow: inset 0 0 .5px black;
	}
	.wce-list-wrapper
	{
		padding: 0 15px;
	}
	.list-title
	{
		font-size: 1.5rem;
		padding:20px  0;
	}


	.wce-days tr td .wce-day-events
	{
		width: 50vw;
	}

	.wce-days tr td:first-child .wce-day-events,
	.wce-days tr td:first-child + td .wce-day-events,
	.wce-days tr td:first-child + td + td .wce-day-events,
	.wce-days tr td:first-child + td + td + td .wce-day-events
	{
		left: -1px;
		right: auto;
	}
	/*	
		.wce-days tr td:first-child + td .wce-day-events
		{
			left: -1px;
			right: auto;
			width: 50vw;
		}*/

	.wce-day-events .wce-day-events-text
	{
		font-size: 14px;
	}
	.calendarium.container{
		margin: 0;
	}
}


@media all and (max-width: 767px){

	.wce-list-wrapper .event-name
	{
		font-size: 1rem;
	}
	
	.wce-wrap-inner
	{
		width: 90%;
	}
	.container-events .stokrotka-divider-with-title:last-child{
		padding-bottom: 0;
		padding-top: 0;
	}

	div.wce-wrap-inner , .calendarium [class*="column-"]{
		padding-left: 0;
		padding-right: 0;
	}

	.container-events .box:last-child{
		margin-top: 80px;
	}
}

@media all and (max-width: 767px){
	.wce-wrap-inner
	{
		padding: 25px 5%;
		padding-top: 0px;
	}

	.wce-days tr td .wce-day-events
	{
		width: 90vw;
		left: -100vw;
		right: -100vw;
		margin: auto;
	}

	.wce-days tr td:first-child + td + td + td .wce-day-events
	{
		left: -100vw;
		right: -100vw;
	}

	.wce-days tr td:first-child .wce-day-events
	{
		left: calc(-23vw + 2px);
		right: -100vw;
	}

	.wce-days tr td:first-child + td .wce-day-events
	{
		left: calc(-49vw + 3px);
		right: -100vw;
	}

	.wce-days tr td:first-child + td + td .wce-day-events
	{
		left: calc(-75vw + 5px);
		right: -100vw;
	}

	.wce-days tr td:first-child + td + td + td + td .wce-day-events
	{
		right: calc(-75vw + 5px);
		left: -100vw;
	}

	.wce-days tr td:first-child + td + td + td + td + td .wce-day-events
	{
		right: calc(-49vw + 3px);
		left: -100vw;
	}

	.wce-days tr td:first-child + td + td + td + td + td + td .wce-day-events
	{
		right: calc(-23vw + 2px);
		left: -100vw;
	}

	.wce-day-events .wce-day-events-text
	{
		font-size: 13px;
	}
}
