
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

#custom-content-reveal{
	display: none !important;
}


#eventsCalendar .cont{
	padding: 0 30px 50px 30px;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}


/* Header Style */
.codrops-top {
	line-height: 24px;
	font-size: 11px;
	background: #fff;
	background: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	z-index: 9999;
	position: relative;
	-webkit-box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
	        box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}

.codrops-top a {
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #333;
	display: inline-block;
}

.codrops-top a:hover {
	background: rgba(255,255,255,0.8);
	color: #000;
}

.codrops-top span.right {
	float: right;
}

.codrops-top span.right a {
	float: left;
	display: block;
}

/* Demo Buttons Style */
.codrops-demos {
	float: right;
}

.codrops-demos a {
    display: inline-block;
    margin: 10px;
    color: #fff;
    font-weight: 700;
    line-height: 30px;
    border-bottom: 4px solid transparent;
}

.codrops-demos a:hover {
	color: #000;
	border-color: #000;
}

.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
	color: rgba(255,255,255,0.5);
	border-color: rgba(255,255,255,0.5);
}


/* calendario */
@font-face {
	font-family: 'fontawesome-selected';
	src: url("../fonts/calendario/fontawesome-selected.eot");
	src: url("../fonts/calendario/fontawesome-selected.eot?#iefix") format('embedded-opentype'),
		 url("../fonts/calendario/fontawesome-selected.woff") format('woff'), 
		 url("../fonts/calendario/fontawesome-selected.ttf") format('truetype'), 
		 url("../fonts/calendario/fontawesome-selected.svg#fontawesome-selected") format('svg');
	font-weight: normal;
	font-style: normal;
}

.fc-calendar-container {
	position: relative;
	height: 400px;
	width: 400px;
}

.fc-calendar {
	width: 100%;
	height: 100%;
}

.fc-calendar .fc-head {
	height: 30px;
	line-height: 30px;
	background: #ccc;
	color: #fff;
}

.fc-calendar .fc-body {
	position: relative;
	width: 100%;
	height: 100%;
	height: calc(100% - 30px);
}

.fc-calendar .fc-row {
	width: 100%;
}

.fc-four-rows .fc-row  {
	height: 25%;
}

.fc-five-rows .fc-row  {
	height: 20%;
}

.fc-six-rows .fc-row {
	height: 16.66%;
	height: calc(100% / 6);
}

.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
	float: left;
	height: 92%;
	width:  14.28%; /* 100% / 7 */
	/* width: calc((100% / 7) - 1px); */
	position: relative;
}

/* IE 9 is rounding up the calc it seems */
.ie9 .fc-calendar .fc-row > div,
.ie9 .fc-calendar .fc-head > div {
	width:  14.2%;
}

.fc-calendar .fc-row > div {
	padding: 4px;
	position: relative;
}

.fc-calendar .fc-head > div {
	text-align: center;
}

.fc-calendar .fc-row > div > span.fc-date {
	position: absolute;
	width: 30px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
	font-weight: 700;
	color: #ddd;
	bottom: 5px;
	right: 5px;
	text-align: right;
}

.fc-calendar .fc-row > div time, .fc-calendar .fc-row > div note {
	display: none;
}

.fc-calendar .fc-row > div > span.fc-weekday {
	padding-left: 5px;
	display: none;
}

.fc-calendar .fc-row > div.fc-today {
	background: #fff4c3;
}

.fc-calendar .fc-row > div.fc-out {
	opacity: 0.6;
}

.fc-calendar .fc-row > div:last-child,
.fc-calendar .fc-head > div:last-child {
	border-right: none;
}

.fc-calendar .fc-row:last-child {
	border-bottom: none;
}






/*custom 2*/
/* Custom calendar elements */

.custom-calendar-wrap {
	position: relative;
}

.custom-inner {
	background: #fff;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.custom-inner:before,
.custom-inner:after  {
	content: '';
	width: 99%;
	height: 50%;
	position: absolute;
	background: #f6f6f6;
	bottom: -4px;
	left: 0.5%;
	z-index: -1;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
	        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.custom-inner:after {
	content: '';
	width: 98%;
	bottom: -7px;
	left: 1%;
	z-index: -2;
}

.custom-header {
	background: #fff;
	padding: 5px 10px 10px 20px;
	height: 70px;
	position: relative;
	border-bottom: 1px solid #ddd;
}

.custom-header h2,
.custom-header h3 {
	text-align: left;
	text-transform: uppercase;
}

.custom-header h2 {	
	margin-top: 10px;	
	float: left !important;	
	font-family: Lato;
	color: #3aa2f1 !important;
	font-size: 0.96em;
	margin-left: 8px;
	font-weight: 900;
	line-height: 1;
	margin-bottom: 0;
	text-transform: none;
}

.custom-header h3 {
	font-size: 15px;
	font-weight: 700;
	color: #3aa2f1 !important;
	text-align: 0;
	/* top: 16px; */
	float: left;
	margin-top: 11px;
	margin-left: 4px;
}


.custom-header nav span {
	position: absolute;
	top: 6px;
	width: 35px;
	height: 37px;
	color: transparent;
	cursor: pointer;
	margin: 0 1px;
	font-size: 20px;
	line-height: 30px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 2px solid #135da9;
	border-top-left-radius: 25px;
	border-bottom-left-radius: 25px;
	border-right-width: 1px;
	background-image: url(/images/prev.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-position: center;
}

.custom-next {
	border: 2px solid #135da9;
	border-top-right-radius: 25px;
	border-bottom-right-radius: 25px;
	border-left-width: 1px;
	background-image: url(/images/next.png) !important;
	background-repeat: no-repeat;
	background-size: auto;
	background-position: center;
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
}


.custom-header nav span:hover {
	background-color: #135da9;
}
.custom-prev:hover {
	background-image: url(/images/prev-w.png) !important;
}
.custom-next:hover {
	background-image: url(/images/next-w.png) !important;
}
.custom-header nav span:first-child {
	left: 64%;
}



.custom-header nav span:last-child {
	right: 31px;
}

.custom-header nav span:before {
	font-family: 'fontawesome-selected';
	color: #93c724;
	position: absolute;
	text-align: center;
	width: 100%;
}

/* .custom-header nav span.custom-prev:before {
	content: '\25c2';
}

.custom-header nav span.custom-next:before {
	content: '\25b8';
}
 */
.custom-header nav span:hover:before {
	color: #495468;
}

.custom-content-reveal {
	background: #f6f6f6;
	background: rgba(246, 246, 246, 0.9);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 100;
	top: 0;
	left: 0px;
	text-align: center;
	-webkit-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}

.custom-content-reveal span.custom-content-close {
	position: absolute;
	top: 15px;
	right: 10px;
	width: 20px;
	height: 20px;
	text-align: center;
	background: #BB0102;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	        box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	cursor: pointer;
	line-height: 13px;
	padding: 0;
}

.custom-content-reveal span.custom-content-close:after {
	content: 'x';
	font-size: 18px;
	color: #fff;
}

.custom-content-reveal a,
.custom-content-reveal span {
	font-size: 22px;
	padding: 10px 30px;
	display: block;
}

.custom-content-reveal h4 {
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 3px;
	color: #777;
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid #ddd;
	border-top: 5px solid #BB0102;
	-webkit-box-shadow: 0 1px rgba(255,255,255,0.9);
	        box-shadow: 0 1px rgba(255,255,255,0.9);
	margin-bottom: 30px;
}

.custom-content-reveal span {
	color: #888;
}

.custom-content-reveal a {
	color: #BB0102;
}

.custom-content-reveal time{
	display: none;
}

.custom-content-reveal a:hover {
	color: #333;
}

/* Modifications */

.fc-calendar-container {
	height: 260px;
	width: auto;
	padding: 15px;
	-webkit-box-shadow: inset 0 1px rgba(255,255,255,0.8);
	        box-shadow: inset 0 1px rgba(255,255,255,0.8);
}

.fc-calendar .fc-head {
	background: transparent;
	color: #93c724;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
}
.fc-calendar .fc-head > div{
	color: #3ba2f1;
	font-size: 1.17em;
}

.fc-calendar .fc-head > div:nth-child(6), .fc-calendar .fc-head > div:nth-child(7) {
	color: #3ba2f2;
}


.fc-calendar .fc-row > div {
	background: #fff;
	cursor: pointer;
}

.fc-calendar .fc-row > div:empty {
	background: transparent;
	cursor: default;
}

.fc-calendar .fc-row > div > span.fc-date {
	top: 50%;
	left: 50%;	
	margin: -10px 0 0 -15px;	
	pointer-events: none;
	font-family: Lato;
	color: #414143;
	font-size: 0.72em;
	font-weight: 700;
	line-height: 1.827;
	text-align: center;
	cursor: pointer;
}

.fc-calendar .fc-row > div > span.fc-emptydate {
	color: #ccc;
}

.fc-calendar .fc-row > div.fc-today {
	background: #3ba2f3;
	-webkit-box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
	        box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
}

.fc-calendar .fc-row > div.fc-today > span.fc-date {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* klasa dla eventow */
.fc-calendar .fc-row .fc-content{
	border: 2px solid #3ba2f3;
}

.fc-calendar .fc-row > div.fc-today.fc-content:after {
	color: #3ba2f3;
}

.fc-calendar .fc-row > div.fc-content:hover:after{
	color: #3ba2f3;
}

.fc-calendar .fc-row > div.fc-today.fc-content:hover:after{
	color: #fff;
}

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
	display: none;
	font-size: 22px;
}







.fc-five-rows .fc-row > div {
	background: #FFF;
	border-radius: 50%;
	border: 2px solid transparent;
}


.fc-five-rows .fc-row > div:hover {
	background: #3ba2f3;
	border-radius: 50%;
	border: 2px solid #3ba2f3;
}
.fc-five-rows .fc-row > div.fc-content:hover{
	background: #3ba2f3;
}






.fc-calendar .fc-row > div:hover > div span{
	display: block;
	font-size: 16px;
	text-align: center;
}

.fc-calendar-event > span {
	display: block;
	padding: 4px 10px;
	z-index: 1000;
	position: relative;
	background: #fff;
	width: 260px;
	height: auto;
	border: 1px solid #3ba2f3;
	font-size: 13px;
	text-align: center;
}
.fc-calendar .fc-row > div > div a, .fc-calendar .fc-row > div > div span a {
	display: block;
	font-size: 13px;
}




@media screen and (max-width: 1000px) {
	.fc-calendar .fc-row > div:hover > div span, .fc-five-rows .fc-row > div:hover .fc-calendar-events:after, .fc-five-rows .fc-row > div:hover .fc-calendar-events{ display: none;	 }
	
}



@media screen and (max-width: 400px) {
	.fc-calendar-container {
		height: 300px;
	}
	.fc-calendar .fc-row > div > span.fc-date {
		font-size: 15px;
	}
	.custom-content-reveal a, .custom-content-reveal span{ font-size: 15px; padding: 10px; }
}



