.calandar {
	width: 100%;
}

.calandar th,
.calandar td {
	padding: 5px;
}

.calandar th {
	text-align: right;
	background: #00549a;
	color: #fff;
}

.calandar td {
	height: 30px;
	vertical-align: top;
	background: #f1f1f1;
}

.calandar td.calcNoSuchDay {
	background: #fff;
}

.calandar td.calcToday {
	background: #f3f5c8;
}

.hasEvents {
	font-weight: bold;
	color: #ef4023;
	cursor: pointer;
}

/**/

.month-header {
	margin-bottom: 20px;
}

/**/

.month-navigate {
	border: 1px solid #cdcdcd;
	border-radius: 20px;
	padding: 8px 18px;
	display: inline-block;
}

/**/

.old .event-holder {
	opacity: 0.4;
}

.ended {
	position: absolute;
	top: 50%;
	margin-top: -15px;
	left: 1%;
	-webkit-transform: rotate(-10deg);
	-moz-transform: rotate(-10deg);
	-o-transform: rotate(-10deg);
	writing-mode: tb-rl;
	background: #fff;
	color: #ef4023;
	font-weight: bold;
	z-index: 5;
}

/**/

.events-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

@media (min-width: 992px) {
	.events-list > li {
		width: 25%;
		float: right;
	}
}


.event {
	display: block;
	background: #fff;
	color: #000;
	box-shadow: 0 0 25px rgba(0,0,0,0.1);
	position: relative;
	height: 100%;
	border-radius: 2rem;
	overflow: hidden;
	margin: 15px;
}
.event:hover, .event:focus {
	transform: scale(1.05);
	text-decoration: none;
}
.event .category {
	background: linear-gradient(54deg, rgb(123 175 208) 0%, rgb(89 126 188) 100%);
    color: #fff;
	padding: .75rem;
}
.event .info {
	padding-bottom: 56.25%;
	overflow: hidden;
	position: relative;
}

.event .pic {
	padding-bottom: 56.25%;
	overflow: hidden;
	position: relative;
}

.ribbon-date {
	position: absolute;
	top: 0;
	left: 15px;
	background: #fff;
	color: #000;
	padding: .5rem 1rem;
	text-align: center;
	border-radius: 0 0 30px 30px;
}
.ribbon-date span {
	display: block;
}
.ribbon-date span:nth-child(1) {
	font-weight: bold;
	font-size: 1.5rem;
}
.event img {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
    height: 100%
}
.event .info {
	padding: 1rem;
	min-height: 180px;
}
.event h3 {
	font-weight: bold;
	font-size: 1.3rem;
	color: #6e2d8b;
}
.event .date {
	padding-bottom: 56.25%;
    position: relative;
    background: linear-gradient(45deg, rgb(241 115 26) 0%, rgb(179 45 108) 50%, rgb(89 126 188) 100%);
}
.event .date > div {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	
	font-size: 3rem;
	color: #fff;
	text-align: center;
	font-weight: bold;
}
.event .date > div > span:nth-child(2) {
	font-size: 1.5rem;
	display: block;
}


.title {
	padding: 1rem;
	margin: 0;
	text-align: center;
}

.prev {
	float: right;
}

.next {
	float: left;
}

.prev, .next {
	display: inline-block;
	padding: .5rem;
	border: 1px solid #ddd;
	border-radius: 100px;
}

/**/

.marked {
	background: yellow !important;
	color: #000 !important;
}

/**/

#calendar {
	
}

#calendar .fc-day {
	background: #fff;
}

/**/

/**/

figure.pic {
	display: block;
	max-width: 500px;
	margin: 0 auto;
	border: 1px solid #ddd;
}

figure.pic img {
	width: 100%;
	display: block;
	margin: 0 auto;
}

figure.pic figcaption {
	background: #ddd;
	padding: 10px;
}

/**/
/*
.item h2 {
	color: #3977ad;
	font-weight: normal;
	font-size: 2em;
	border-bottom: 2px solid #ddd;
}
*/
/**/

.filtering {
	background: #f1f1f1;
	padding: 15px;
	margin-bottom: 30px;
}

.filtering .event-color {
	display: inline-block;
	width: 2px;
}

.filtering label {
	display: inline-block;
	background: #fff;
	padding: 0 5px;
	border-right-style: solid;
	border-right-width: 2px;
	border-right-color: rgb(71, 136, 182);
}

/**/

.upcoming {
	border-left: 2px solid #ddd;
	padding-left: 15px;
}

/**/

.fc-event {
	background: #009946 !important;
	text-align: right;
	direction: rtl;
	border: 0 !important;
}

/**/

.addtocalendar var {
    display: none
}

.addtocalendar {
    position: relative;
    display: inline-block;
    background: transparent!important
}

.atcb-link {
    display: block;
    outline: none!important;
    cursor: pointer
}

.atcb-link:focus~ul,
.atcb-link:active~ul,
.atcb-list:hover {
    visibility: visible
}

.atcb-list {
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 170px;
    z-index: 900
}

.atcb-list,
.atcb-item {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff
}

.atcb-item {
    float: none;
    text-align: left
}

.atcb-item-link {
    text-decoration: none;
    outline: none;
    display: block
}

.atcb-item.hover,
.atcb-item:hover {
    position: relative;
    z-index: 900;
    cursor: pointer;
    text-decoration: none;
    outline: none
}

.atc-style-blue .atcb-list {
    width: 170px;
    border: 1px solid #bababa;
    border-radius: 2px;
    box-shadow: 0 0 5px #AAA
}

.atc-style-blue .atcb-list,
.atc-style-blue .atcb-item {
    background: #fff;
    color: #000
}

.atc-style-blue .atcb-item,
.atc-style-blue .atcb-item-link {
    line-height: 1.3em;
    vertical-align: middle;
    zoom: 1
}


.atcb-item-link {
	display: block;
	padding: .5rem;
}

/**/

/**/

.categories-links {
	text-align: center;
	margin-bottom: 1rem;
}

.categories-links .category-link {
	display: inline-block;
	padding: .5rem;
	margin: .5rem;
	color: inherit;
	font-size: 1.3rem;
	position: relative;
}

.categories-links .category-link.selected {
	font-weight: bold;
}
.categories-links .category-link.selected:after {
	top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-top-color: inherit;
    border-width: 15px;
    margin-left: -15px;
}