/*
 * Gebruik zoveel mogelijk nested CSS
 * Meer informatie: https://www.w3schools.com/cssref/sel_nesting.php
 */


/* Algemeen */
body div .aw-agenda-item-titles,
body div .aw-agenda-item-titles a,
body div .aw-agenda-item-titles a:hover {
    color: #0e2b5d;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
}

body div .aw-agenda-month-name {
    font-weight: 700;
    font-size: 28px;
    line-height: 38px;
    color: #0e2b5d;
    margin-top: 60px;
    margin-bottom: 25px;
    padding: 0;
    box-sizing: border-box;
	text-transform: uppercase;
}

body div .agenda-item .agenda-item__titel,
body div .agenda-item .agenda-item__buttons {
    flex: 2;
}

body div .agenda-item .agenda-item__sub-info {
    flex: 4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    column-gap: 14px;
}

body div .agenda-item .agenda-item__titel {
    max-width: 240px;
}

body div .agenda-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    padding: 15px 20px 15px 20px;
    background-color: #edf8ff;
    border: none;
    border-radius: 70px;
    column-gap: 24px;
}

.facetwp-template h4.aw-agenda-month-name:first-of-type {
  margin-top: 0;
}

body div .agenda-item .agenda-item__sub-info>div svg {
    min-width: 28px;
    width: auto;
    height: auto;
}

.agenda-item .agenda-item__datum,
.agenda-item .agenda-item__tijd,
.agenda-item .agenda-item__category,
.agenda-item .agenda-item__location {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    column-gap: 10px;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

.agenda-item__button {
    border-radius: 30px;
    height: 46px;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    transition: all 0.3s;
}

.agenda-item__button.aw-agenda-lees-meer {
    border: 1px solid black;
    color: black;
    background-color: #ffffff;
    margin-right: 0px !important;
}

.agenda-item__button.aw-agenda-lees-meer:hover {
    background-color: black;
    color: #ffffff;
}

.agenda-item__button.aw-agenda-aanmelden {
    background-color: #4bd7e3;
    border:0px;
    color: #ffffff;
	margin-left: 10px;
	text-align: center;
}

.agenda-item__button.aw-agenda-aanmelden:hover {
    background-color: #4BD7E3;
    /* color: #910F6F; */
    color: white;
    background-color: black;
    /* border: 1px solid #910F6F; */
    border: 0px;
}

/* .aankomende-agenda-items */
.aankomende-agenda-items {
    display: block;
    position: relative;
}



body div .compacte-agenda-items .aw-agenda-month-name {
    color: #ffffff;
}

.compacte-agenda-items .agenda-item__datum, .compacte-agenda-items .agenda-item__tijd, .compacte-agenda-items .agenda-item__category, .compacte-agenda-items .agenda-item__location {
	font-size: 15px; 
	line-height: 17px;
}

.compacte-agenda-items .compacte-agenda-items-content {
    margin: 0 auto;
	color: #fff;
	text-align: center;
}

body div .compacte-agenda-items  .agenda-item {
    padding: 15px 20px 15px 20px;
}

body div .compacte-agenda-items .aw-agenda-month-name {
    margin-top: 0;
    text-align: left;
}

.compacte-agenda-items h4.aw-agenda-month-name {
	font-size: 22px;
	margin-bottom: 8px;
}

.compacte-agenda-items .agenda-item__location {
	display: none;
}

.compacte-agenda-items a.agenda-item__button.aw-agenda-aanmelden {
	display: none;
}

h3.compacte-agenda-items-title {
	display: none;
}

.compacte-agenda-items .compacte-agenda-items-title {
    font-weight: 700;
    font-size: 34px;
    line-height: 50px;
    color: #ffffff;
    margin-bottom: 25px;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

.compacte-agenda-items .compacte-agenda-items-paragraph {
    color: #ffffff;
    text-align: center;
    padding: 0;
    font-weight: 300;
    font-size: 18px;
    line-height: 27px;
    display: block;
    width: 100%;
    max-width: 706px;
    margin: 0 auto;
}

/* .oude-agenda-items */
.oude-agenda-items {
    display: block;
    position: relative;
}

body div .oude-agenda-items .agenda-item {
    opacity: 0.5;
}

body div .oude-agenda-items .aw-agenda-item-titles,
body div .oude-agenda-items .aw-agenda-item-titles a,
body div .oude-agenda-items .aw-agenda-item-titles a:hover {
    color: #7C7C7C;
}

body div .oude-agenda-items .agenda-item__button.aw-agenda-aanmelden,
body div .oude-agenda-items .agenda-item__button.aw-agenda-aanmelden:hover {
    background-color: #7C7C7C;
    border: 1px solid #7C7C7C;
    color: #ffffff;
}

/* MEDIA QUERIES */
@media (min-width: 768px) and (max-width: 1630px) {

    /* only for .compacte-agenda-items ! */
    body div .compacte-agenda-items .agenda-item .agenda-item__buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
    }
}

@media (min-width: 768px) and (max-width: 1475px) {
    body div .agenda-item .agenda-item__buttons {
        flex: 3;
    }

    .aankomende-agenda-items .agenda-item {
        padding: 24px 30px 24px 30px;
    }

    body div .agenda-item .agenda-item__sub-info {
        column-gap: 10px;
    }

    /* only for .compacte-agenda-items ! */
    body div .compacte-agenda-items .agenda-item .agenda-item__titel {
        max-width: 130px;
    }
}

@media (min-width: 768px) and (max-width: 1194px) {
    .aankomende-agenda-items .agenda-item {
        padding: 24px;
    }

    body div .agenda-item .agenda-item__titel {
        max-width: 150px;
    }

    .agenda-item__button.aw-agenda-lees-meer {
        margin-right: 5px;
    }

    .aankomende-agenda-items .agenda-item {
        column-gap: 12px;
    }

    /* only for .compacte-agenda-items ! */
    body div .compacte-agenda-items .agenda-item .agenda-item__buttons {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
    }

    /* only for .compacte-agenda-items ! */
    body div .compacte-agenda-items .agenda-item .agenda-item__buttons .agenda-item__button.aw-agenda-lees-meer {
        margin-right: 0;
        margin-bottom: 0px;
    }
}

@media (min-width: 768px) and (max-width: 1044px) {
    body div .agenda-item .agenda-item__buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    body div .agenda-item .agenda-item__buttons .agenda-item__button.aw-agenda-lees-meer {
        margin-right: 0;
        margin-bottom: 0px;
    }
}

@media (max-width: 920px) {
    body div .agenda-item {
        display: flex;
        flex-direction: column;
        padding: 24px;
    }

    body div .agenda-item .agenda-item__sub-info {
        flex-wrap: wrap;
        width: 100%;
    }

    body div .agenda-item .agenda-item__sub-info>div {
        max-width: 46%;
        width: 46%;
        min-width: 46%;
        box-sizing: border-box;
        padding: 0;
        margin: 10px 0;
        text-align: center;
        display: inline-flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
    }

    body div .agenda-item .agenda-item__buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
    }

    body div .agenda-item .agenda-item__buttons .agenda-item__button.aw-agenda-lees-meer {
        margin-right: 15px;
        margin-bottom: 0;
    }

    body div .agenda-item .agenda-item__titel {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
        text-align: left;
    }

    body div .agenda-item__buttons {
        margin-top: 24px;
    }

    body div .agenda-item__sub-info {
        margin-top: 14px;
    }

    body div .aw-agenda-month-name {
        margin-top: 25px;
        margin-bottom: 25px;
        font-size: 26px;
        line-height: 36px;
    }

    body div .facetwp-pager {
        margin-top: 25px;
    }

    .compacte-agenda-items .compacte-agenda-items-title {
        font-size: 26px;
        line-height: 36px;
        text-align: center;
        margin: 0 0 10px 0;
    }

    .compacte-agenda-items .compacte-agenda-items-paragraph {
        text-align: center;
        font-size: 16px;
        line-height: 24px;
    }

    .compacte-agenda-items .compacte-agenda-items-content {
        width: 1441px;
        max-width: 100%;
        margin: 0 auto;
        padding:  0px;
    }

    body div .agenda-item .agenda-item__button {
        width: auto;
        min-width: 40%;
        font-size: 14px;
        line-height: 21px;
        padding: 12px 20px;
    }

    .agenda-item .agenda-item__datum,
    .agenda-item .agenda-item__tijd,
    .agenda-item .agenda-item__category,
    .agenda-item .agenda-item__location {
        font-size: 14px;
        line-height: 21px;
    }

    body div .agenda-item .agenda-item__sub-info>div svg {
        margin-bottom: 0;
        min-width: 20px;
        width: auto;
        height: auto;
        max-height: 21px;
    }

    body div .agenda-item .agenda-item__sub-info>.agenda-item__location svg {
        max-height: 26px;
    }
	body div .agenda-item {
		border-radius: 25px;
		padding: 20px !important;
	}
}

/* Flex voor Agenda Item Buttons */
.agenda-item__buttons {
    display: flex;
}

.agenda-item__sub-info > div {
    color: black;
}

.agenda-item__datum {
    text-align: left;
}

.agenda-item__button.aw-agenda-lees-meer {
    border: 0px;
    background-color: #0E2B5D;
    margin-left: auto;
    display: block;
    margin-right: auto;
    width: fit-content;
	color: #fff;
}

@media only screen and (max-width: 768px) {
body div .agenda-item .agenda-item__sub-info>div {
        font-size: 13px;
	}
}


.agenda-item__titel.aw-agenda-item-titles {
    text-align: left;
}

.agenda-item__buttons {
    max-width: 300px;
}