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

.wes-container .calendarium.container{
	font-size:0;
	margin: -20px;
}

.wes-list{
	vertical-align: top;
	display:inline-block;
	font-size: 1rem;
	width:50%;
}
.wes-list-wrapper
{
	padding: 0 15px;
	margin-right: 30px;
	overflow-y: auto !important;
	max-height: 450px;
}
.wes-wrap-inner .search-event
{
	font-size: 1.5rem;
	position: relative;
	border-bottom: 2px solid #e8412c;
}


.wes-list-wrapper .event-item{
	border-bottom: 1px solid #e5e5e5;
	padding: 12px 5px;
}
.wes-list-wrapper .event-text-wrapper
{
	width: calc(100% - 60px);
	display:inline-block;
	vertical-align: middle;
}
.wes-list-wrapper .event-name
{
	display:block;
	font-size: 1.375rem;
	font-weight: 600;
	padding: 2px;
}
.wes-list-wrapper .event-description
{
	display:inline-block;
	font-size: 1rem;
	font-weight: 500;
	padding: 2px;
	background: rgba(255,255,255, 0);

}

.wes-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;
}
.wes-list-wrapper .event-link:hover
{
	background: rgba(232,65,44, 0.2);
}

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

.wes-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;
}

.wes-container
{
	max-width: 1440px;
	width: 90%;
	margin: auto;
	padding: 25px 0;
}
.wes-show-search-content-inner .sf-s-wrapper
{
	width: 100% !important;
}

.wes-hover .wes-hide{
	opacity: 1;
	visibility: visible;
}

.wes-input
{
	width: 100%;
}
.wes-input .blockUI .nc-icon-glyph
{

}

.wes-submit
{
	text-align:right;
	margin-top: 30px;
}
.wes-wrap
{
	width: 50%;
	/*margin: auto;*/
	display:inline-block;
	padding-bottom: 1%;
	vertical-align: top;
}

.wes-wrap:before
{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: 0px;
	margin-right: -4px;
}
.wes-wrap .sf-s-search-input{
	display:none;
}
.wes-wrap .sf-s-list{
	max-height: 220px;
	overflow-y:scroll;
	margin-top:0 !important;
}

.wes-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;
}

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

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

.wes-prev, .wes-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;
}

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

.wes-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;
}
.wes-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;
}

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

.wes-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;
}

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

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

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

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


.wes-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;
}

.wes-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;
}

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

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

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

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

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

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

.wes-days td.wes-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;
}

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

.wes-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;
}

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

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

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

.wes-day-events .wes-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;
}

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

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

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

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

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

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

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


div.wes-wrap-inner{
	padding: 13px 0;
	padding-bottom: 0;
}

.container-event .wes-wrap-inner{
	margin: 0;
	padding-bottom: 0;
}
.wes-show-search-content-inner > div:first-of-type
{
	padding: 0 0 13px  0;
}

.wes-participants, .wes-actions, .wes-localization, .wes-month
{
	padding: 13px 0;
}
.wes-header-wrapper
{
	font-size: 0;
	max-width: 1440px;
	width: 90%;
	margin: auto;
}
.wes-header-box{
	display:inline-block;
	width: 50%;
	position:relative;
	vertical-align: top;
}
.wes-header-box h2
{
	font-weight: 600;
    font-size: 2.25rem;
    text-transform: uppercase;
    line-height: 40px;
}

.wes-header-box h2:before {
    content: '';
    width: 160px;
    position: absolute;
    display: inline-block;
    height: 4px;
    top: -24px;
    background-color: #e8412c;
}

.wes-header-box .header-text-right
{
	width: 80%;
	margin:auto;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media all and (max-width: 1023px){
	.event-item h1
	{
		padding: 0;
		line-height: 1;
	}
	.wes-header-box
	{
		width: 100%;
	}
	.wes-header-box .header-text-right
	{
		width: 100%;
		font-size: 1.5rem;
	}
	
	.wes-header-box .header-text-right:before
	{
		display:none;
	}
	.wes-container
	{
		padding: 5px 0 25px;
	}
	.wes-container .calendarium.container
	{
		margin:0;
	}

	.wes-header-box:nth-of-type(2)
	{
		margin-top: 20px;
		width: 100%;
	}
	.wes-wrap
	{
		position: relative;
		right: auto;
	}
	.wes-list, .wes-wrap
	{
		width: 100%;
		padding-bottom: 15px;
	}
	.wes-wrap-inner
	{
		width: 100%;
	}
	.wes-list-wrapper
	{
		max-height:  300px;
		margin:0;
		box-shadow: inset 0 0 .5px black;
	}
	.wes-list-wrapper
	{
		padding: 0 15px;
	}
	.list-title
	{
		font-size: 1.5rem;
		padding:20px  0;
	}


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

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

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


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

	.wes-list-wrapper .event-name
	{
		font-size: 1rem;
	}

	.wes-wrap-inner
	{
		width: 90%;
	}
	.container-events .stokrotka-divider-with-title:last-child{
		padding-bottom: 0;
		padding-top: 0;
	}

	div.wes-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){
	.wes-wrap-inner
	{
		padding: 25px 5%;
		padding-top: 0px;
	}

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

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

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

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

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

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

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

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

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