
/* Fonts */

@font-face {
    font-family: 'CultuurhuisNT';
    src: url('../fonts/x.woff2') format('woff2'),
    url('../fonts/x.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CultuurhuisNT';
    src: url('../fonts/xb.woff2') format('woff2'),
    url('../fonts/xb.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'CultuurhuisNT';
    src: url('../fonts/xbi.woff2') format('woff2'),
    url('../fonts/xbi.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}


/* --- General --- */

html,
body {
    font-family: 'CultuurhuisNT', Futura, Helvetica, Arial, sans-serif !important;
}

header,
#content,
#footer {
    max-width: 980px;
    margin: 0 auto;
}

/* --- Header --- */
/*
header h1 {
    text-align: center;
    padding: 24px 0;
    text-transform: uppercase;
    font-size: 44px;
    font-weight: bold;
    line-height: 60px;
}

header h1 a {
    color: #000;
    text-decoration: none;
    height: 146px;
    display: block;
    background: transparent url('/static/images/logo.svg') no-repeat center;
    background-size: auto 100%;
    text-indent: 1000px;
    overflow: hidden;
    white-space: nowrap;
}

header h1 a br {
    display: none;
}

header {
    position: relative;
}

header nav {
    position: absolute;
    top: 0;
    left: 0;
    padding: 24px 0;
    margin-left: -20px;
}

header nav a {
    font-weight: bold;
    color: #000;
    line-height: 24px;
    text-transform: lowercase;
    text-decoration: none;
    font-size: 14px;
    display: block;
}

header nav a:not([href]) {
    cursor: default;
}

header nav li {
    background: #fff;
    padding: 0 20px;
    position: relative;
    width: 160px;
}
header nav li ul {
    position: absolute;
    left: 100px;
    top: -20px;
    padding: 20px 0;
    display: none;
    z-index: 50;
    background: #fff;
}

header nav li:hover > ul {
    display: block;
}

header nav li.active > a {
    color: #c90000;
}

header nav li:hover > a {
    color: #9d9490;
}

header nav li ul li.active > a {
    color: #c90000;
}
*/
/* --- Footer --- */
/*
#footer {
    padding-top: 48px;
    padding-bottom: 24px;
    font-size: 12px;
    text-align: center;
    color: #9d9490;
}
*/
/* --- Content --- */


#content {
    margin-top: 110px;
    min-height: 400px;
    padding-top: 24px;
}

/* --- Homepage chips --- */

.chips {
    margin: 0 -20px;
}

.chips li {
    float: left;
    width: 33%;
}
.chips li > a {
    display: block;
    margin: 20px;
    border-radius: 1024px;
    height: 297px;
    background: #ddd no-repeat center;
    background-size: auto 100%;
	-webkit-transition: background-size 0.16s ease;
	outline: none;
}
.chips li > a .inner {
    height: 100%;
    width: 100%;
    border: 15px solid rgba(255,255,255,0.22);
    display: block;
    border-radius: 1024px;
    box-sizing: border-box;
    position: relative;
    -webkit-transition: border-color 0.2s ease;
}
.chips li > a .description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 1024px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 18px;
    padding: 28px 44px;
    background-image: linear-gradient(-180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.19) 98%);
}
.chips li > a .description .a {
    display: table;
    width: 100%;
    height: 100%;
    border-radius: 1024px;
}
.chips li > a .description .b {
    display: table-cell;
    width: 100%;
    height: 100%;
    border-radius: 1024px;
    vertical-align: bottom;
}
.chips li > a .description b {
    font-weight: bold;
    display: block;
    margin-top: 3px;
}

/* --- Articles --- */

article {
    background: #76cbed;
    margin-bottom: 80px;
}

article section {
    float: left;
    width: 33.333333%;
    padding-right: 20px;
	padding-left: 20px;
    padding-top: 14px;
    padding-bottom: 70px;
    box-sizing: border-box;
}

article p,
article ul {
    margin-bottom: 10px;
    line-height: 20px;
}

article ul {
    margin-bottom: 20px;
}

article li {
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 14px;
    padding-bottom: 6px;
}

article strong {
    font-weight: bold;
}

article a {
	color: inherit;
    text-decoration: underline;
}

/* --- Matrix blocks --- */

section.block-googlemap .map-canvas,
section.block-googlemap .map-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

section.block-googlemap .map-canvas {
    height: 362px;
    width: 96%;
    margin-top: 13px;
}

.columned {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -moz-column-gap: 40px;
    -webkit-column-gap: 40px;
    column-gap: 40px;
}

.columned-short {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    width: 65.5%;
}

/* --- Events --- */

article figure {
    height: 300px;
    background: rgba(0,0,0,0.2) no-repeat 50% 20%;
    background-size: cover;
}

article h1 {
    font-weight: bold;
    font-size: 23px;
    margin-top: 14px;
    line-height: 1.3;
    margin-bottom: 30px;
	padding-left: 20px;
    color: #fff;
}

article .attributes {
    float: right;
    padding-top: 14px;
    text-align: left;
    padding-right: 40px;
    font-size: 16px;
    line-height: 1.4;
}
article .attributes,
article .attributes a {
    color: #fff;
}
article .attributes a {
    text-decoration: none !important;
}
article .attributes a:hover {
    border-bottom: 1px solid #fff;
}

article .description {
    font-size: 16px;
    line-height: 1.3;
    padding-bottom: 14px;
    font-weight: bold;
    padding-right: 20px;
padding-left: 20px;
}

article .attributes .btn {
	display: inline-block;
	clear: both;
	margin-top: 10px;
	padding: 8px 20px;
	padding-top: 10px;
	line-height: 1;
	font-size: 14px;
	border: 3px solid white !important;
	text-transform: uppercase;
	margin-bottom: 30px;
	text-align: center;
	font-weight: bold;
}
article .attributes .btn:active {
	color: #000;
	background: #fff;
}

/* --- Month markers --- */

.month-marker {
    float: right;
    font-size: 15px;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.7px;
    text-decoration: none;
    border-top: 4px solid #000;
    padding: 4px 0;
    margin-bottom: 2px;
    margin-top: 12px;
}

.month-marker.standalone,
.month-marker.first {
    margin-top: -30px;
}

/* --- Colours --- */

.chips li:nth-child(8n+1) > a .inner {
    border-color: #9087B9;
}
article.col0 {
    background-color: #9087B9;
}

.chips li:nth-child(8n+2) > a .inner {
    border-color: #76CBED;
}

.chips li:nth-child(8n+3) > a .inner {
    border-color: #4D5D85;
}
article.col2 {
    background-color: #4D5D85;
}

.chips li:nth-child(8n+4) > a .inner {
    border-color: #E23724;
}

article.col3 {
    background-color: #E23724;
}

.chips li:nth-child(8n+5) > a .inner {
    border-color: #98BD29;
}

article.col4 {
    background-color: #98BD29;
}

.chips li:nth-child(8n+6) > a .inner {
    border-color: #789398;
}

article.col5 {
    background-color: #789398;
}

.chips li:nth-child(8n+7) > a .inner {
    border-color: #B4A59D;
}

article.col6 {
    background-color: #B4A59D;
}

.chips li:nth-child(8n+8) > a .inner {
    border-color: #F29E26;
}

article.col7 {
    background-color: #F29E26;
}

/* --- Mobile --- */

.month-marker .long,
.nav-button,
.mobile-only {
    display: none;
}

@media screen and (min-width: 760px) {
	.chips li > a:hover {
		background-size: auto 110%;
	}
}

@media screen and (max-width: 768px) {
	.mobile-only {
		display: block;
	}
	.desktop-only {
		display: none; 
	}
	article .attributes .btn {
		float: none;
		display: inline-block;
		clear: both;
		font-size: 13px;
		/*padding: 5px 10px;*/
		margin-top: 15px;
		margin-bottom: 10px;
	}

    header h1 {
        font-size: 24px;
        text-align: left;
        line-height: 24px;
    }

    header nav {
        position: static;
        background: #eeeeeb;
        margin: 0;
        padding: 0;
        height: 0;
        -webkit-transition: 0.2s height ease;
        overflow: hidden;
    }

    header nav.open {
        height: auto;
    }

    header nav ul {
        padding: 16px 4px;
        position: relative;
    }

    header nav > ul > li:first-child {
        padding-top: 0;
    }

    header nav > ul > li {
        padding-top: 10px;
        width: auto;
        clear: both;
    }

    header nav li,
    header nav li ul {
        background: transparent;
        position: static;
    }

    header nav li ul {
        display: block;
        padding: 0 !important;
        padding-top: 1px !important;
        margin-left: -4px;
        clear: both;
    }

    header nav > ul > li li {
        float: left;
        padding: 0;
        width: auto;
    }
    header nav > ul > li li a {
        background: #dddddb;
        padding: 2px 6px;
        margin: 4px;
    }

    header .nav-button {
        position: absolute;
        border: 2px solid #000;
        right: 24px;
        top: 24px;
        padding: 8px;
        display: block;
    }

    header .nav-button b {
        height: 2px;
        width: 16px;
        background: #000;
        display: block;
        margin-bottom: 4px;
        -webkit-transition: 0.1s all ease;
    }

    header .nav-button b:last-child {
        margin-bottom: 0;
    }

    .nav-button.open b {
        opacity: 0;
        position: absolute;
        left: 8px;
        top: 18px;
    }

    .nav-button.open b {
        opacity: 1;
        position: absolute;
        width: 17px;
        top: 14px;
        left: 8px;
        -webkit-transform: rotate(45deg);
    }

    .nav-button.open b:last-child {
        -webkit-transform: rotate(-45deg);
    }

    .nav-button.open b:first-child {
        opacity: 0;
    }

    .nav-button.open {
        height: 14px;
        width: 16px;
    }

    .chips {
        width: 260px;
        margin: 0 auto;
        clear: both;
    }

    .chips li {
        width: 260px;
        float: none;
    }

    .chips li a {
        height: 220px;
    }

    .chips li > a .inner {
        border-width: 12px;
    }

    #content {
        padding-top: 0;
    }

    article {
        margin-bottom: 0;
    }

    article.spaced {
        margin-bottom: 48px;
    }

    article .attributes {
        float: none;
        padding: 12px 24px;
    }

    article h1 {
        margin-top: 24px;
        padding: 0 24px;
        margin-bottom: 0;
    }

    article h1 span {
        display: block;
    }

    article h1 br {
        display: none;
    }

    article .description {
        margin: 24px;
        margin-bottom: 0;
        padding-bottom: 24px;
		padding-left: 0;
		padding-right: 0;
    }

    article section {
        float: none;
        width: auto;
        padding: 24px;
        margin: 0;
    }

    article section.block-googlemap .map-container {
        width: auto;
        display: block;
        margin-left: -24px;
        margin-right: -24px;
	    margin-top: -24px;
        height: 250px;
    }

    article section.block-googlemap .map-canvas {
        width: 100%;
        margin-top: 0;
        height: 278px;
    }

    .columned {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .month-marker,
    .month-marker.first {
        background: #000;
        border-top: 0;
        float: none;
        margin: 0 !important;
        display: block;
        padding: 10px 24px;
        color: #fff;
    }

    .month-marker .long {
        display: inline;
    }

    .month-marker .short,
    .month-marker.standalone {
        display: none;
    }

    #footer {
        padding-top: 24px;
    }
