/*---------------------------------------------
	Kalendarz
---------------------------------------------*/

.single-events .main-content,
.post-type-archive .main-content {
    padding-top: 0px;
    padding-bottom: 80px;
}

.single-events .left-sidebar, 
.single-events .right-sidebar,
.post-type-archive .left-sidebar,
.post-type-archive .right-sidebar{
	padding-top: 0px;
}


#calendary{
	align-items: center;
	margin: 0 -15px 80px;
	padding: 0 15px;
}

#calendary p{
	font-size: 18px;
}

#calendary h2.big-title {
	margin: 0 0 20px;
}

#calendary .width-container{
	position: relative;
}

#calendary .width-container:before {
    content: '';
    width: 235px;
    height: 100%;
    background: #F4F4F4;
    position: absolute;
    left: -220px;
    top: 0;
}

.small-events-container {
    min-height: 606px;
    height: 100%;
    background: #F4F4F4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-calendar-container{
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.widget_calendar_container, .small_calendar_container {
    border: 1px solid #c97a92d4;
    max-width: 305px;
    min-height: 300px;
}

.event-wrapper {
    display: flex;
    flex-direction: column;
    width: 50%;
    position: relative;
    border-right: 20px solid transparent;
}

.event-wrapper img {
    height: 270px;
    width: 100%;
    object-fit: cover;
    border-top: 3px solid black;
}

#calendary .smooth-arrow-container{
	margin: 0;
}

.day-name {
    font-size: 16px;
    font-weight: 300;
    width: 14.28571428571429%;
    display: flex;
    justify-content: center;
    text-transform: uppercase;    
    color: #555;
}

/*Home events*/

.home .post-type-archive .entry-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

/*Wpis wydarzen*/

.events-template-default .badge-inner{
    padding: 10px 15px;
}

.events-template-default .entry-header-text {
    padding: 1.5em 0 0;
}

.events-template-default .entry-content {
    padding-top: 0;
    padding-bottom: 1.5em;
}

/*Archiwum wydarzen*/


.post-type-archive #post-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.post-type-archive article{
    width: 31%;
}

.post-type-archive .entry-image img {
    width: 100%;
    height: 141px;
    object-fit: cover;
}

.post-type-archive article h2{
    font-size: 1.15em;
}

.post-type-archive .entry-header-text {
    padding: 1.5em 0 0;
}

.post-type-archive .entry-content {
    padding-top: 0;
    padding-bottom: 1.5em;
}

.post-type-archive p.lead, .post-type-archive a.lead {
    font-size: .9em;
}

.post-type-archive p a,
.post-type-archive p.lead a{
    display: none;
}


.post-type-archive .badge-inner{
    padding: 10px 15px;
}

@media (max-width: 991px){
    .post-type-archive article{
        width: 100%;
    }

    .post-type-archive .entry-image img {
        height: 240px;
    }
}

/*

.widget-calendar div:nth-child(3) div:nth-child(6) span,
.widget-calendar div:nth-child(3) div:nth-child(7) span,
.widget-calendar div:nth-child(4) div:nth-child(6) span,
.widget-calendar div:nth-child(4) div:nth-child(7) span,
.widget-calendar div:nth-child(5) div:nth-child(6) span,
.widget-calendar div:nth-child(5) div:nth-child(7) span,
.widget-calendar div:nth-child(6) div:nth-child(6) span,
.widget-calendar div:nth-child(6) div:nth-child(7) span,
.widget-calendar div:nth-child(7) div:nth-child(6) span,
.widget-calendar div:nth-child(7) div:nth-child(7) span,
.small-calendar div:nth-child(3) div:nth-child(6) span,
.small-calendar div:nth-child(3) div:nth-child(7) span,
.small-calendar div:nth-child(4) div:nth-child(6) span,
.small-calendar div:nth-child(4) div:nth-child(7) span,
.small-calendar div:nth-child(5) div:nth-child(6) span,
.small-calendar div:nth-child(5) div:nth-child(7) span,
.small-calendar div:nth-child(6) div:nth-child(6) span,
.small-calendar div:nth-child(6) div:nth-child(7) span,
.small-calendar div:nth-child(7) div:nth-child(6) span,
.small-calendar div:nth-child(7) div:nth-child(7) span{
	
}

*/

.widget-calendar .date span, 
.widget-calendar .date a, 
.small-calendar .date span, 
.small-calendar .date a {
    height: 30px;
    width: 30px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    color: #555;    
	font-size: 16px;
	/*letter-spacing: 3.2px;*/
}

.widget-calendar .has-events a, 
.small-calendar .has-events a {
    height: 33px;
    width: 100%;
    border-radius: 50%;
    color: white;
    z-index: 1;
}

.widget-calendar .has-events:after, 
.small-calendar .has-events:after {
    content: '';
    background: #c97a92d4;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    color: white;
    position: absolute;
}

.widget-calendar .date span:hover, 
.small-calendar .date span:hover {
    border-radius: 50%;
    background: #c97a92d4;
    color: white !important;
}

.widget-calendar.top, 
.small-calendar.top {
    display: flex;
    height: 50px;
    align-items: center;
    width: calc(100% - 20px);
    margin: 0 auto;
}

.widget-calendar .arrows, .small-calendar .arrows {
    max-width: 80px;
    width: 100%;
}

.arrows {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 200px;
    width: 100%;
    margin-left: auto;
}

.arrow-left a, .arrow-right a {
    width: 1vw;
    height: 1vw;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    min-height: 10px;
    min-width: 10px;
}

.arrow-left a{
	background-image: url(https://wydawnictwo.ug.edu.pl/wp-content/themes/porto-child/images/left-arrow.svg);
}

.arrow-right a{
    background-image: url(https://wydawnictwo.ug.edu.pl/wp-content/themes/porto-child/images/right-arrow.svg);
    background-position: right;
}

.big-calendar-container p{
	font-size: calc(18px + (24 - 18) * ((100vw - 360px) / (1920 - 360)));
}

.big-calendar-container{
	font-size: 44px;
	background: #66B9E0;	
	align-items: center;
	margin: 0 -15px;
	padding: 54px 15px;
    display: none;
}

.big-events-container{
	font-size: 44px;
	background: white;	
	align-items: center;
	margin: 0 -15px;
	padding: 0 15px;
}

.big-calendar-container h1{
    font-size: 40px;
	padding: 20px 0;
}

h2.month-name, h2.month-name a {
    font-size: calc(16px + (18 - 16) * ((100vw - 360px) / (1920 - 360))) !important;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 3.5px;
	color: #555;
}

.archive #calendary .title span {
    background: white;
}

.big-calendar{
	margin-bottom: 40px;
}

.big-calendar .week{
	display: flex;
}

.big-calendar .date {
    height: 110px;
    border: 3px solid white;
    display: flex !important;
    align-items: baseline;
    flex-direction: column;
    padding: 10px;
    width: 14.28571428571429%;
    float: left;
	justify-content: center;
	cursor: pointer;
	transition: .5s;
}

.big-calendar .date:hover{
	background: white;
}

.big-calendar .date .day-name,
.big-calendar .date .day-events{
	font-size: 16px;
	font-family: halyard-display, sans-serif !important;
}

.big-calendar .date .day-date{
	font-family: nazare, sans-serif;
	font-size: calc(16px + (20 - 16) * ((100vw - 360px) / (1920 - 360)));
}

/*.big-calendar .date .day-name{}*/

.big-calendar .has-events.today{
	background: white;
}

.big-calendar .date span{
	display: block;
}


.big-events-container{
	clear: both;
	max-width: 1480px;
    width: 100%;
    margin: auto;
    display: block;
}

.big-events-container h2{
    font-size: 22px;
}

.big-events-container .excerpt{
    font-size: 16px;
}

.big-events-container  a.entry-read-more{
    font-size: 14px;
}

.big-events-container .date{
    font-size: 14px;
}

.big-events-container h4{
    font-size: 30px;
    display: none;
}


.calendar-big-events{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.calendar-item{
    width: 30%;
}


.calendar_small_events{
	display: flex;
    justify-content: space-between;
}


.widget-calendar .day-week,
.small-calendar .day-week{
	display: flex;
	justify-content: space-between;
}

.widget-calendar .date,
.widget-calendar .date.has-events.today,
.small-calendar .date,
.small-calendar .date.has-events.today{
    height: 33px;
    width: 14.28571428571429%;
    border-radius: 50%;
    float: left;
    cursor: pointer;
    display: flex;
    justify-content: center;
	position: relative;
	align-items: center;
}

.widget-calendar .sep,
.small-calendar .sep {
    display: block;
    width: calc(100% - 35px);
    margin: auto;
    height: 2px;
    background: white;
    margin-top: 5px;
}

.event-content{
	min-height: 230px;
	padding: 15px;
}


