@import url('menu.css');
@import url("tiles.css?v1");

:root {
    --darkGrey: #333333;
    --blue: #0067af;
    --lightBlue: #A5D1E7;
    --lighterBlue: #F0F6F9;
    --darkBlue: #163F57;
    --white: #FFFFFF;
}

#ctl00_myBreadcrum_breadcrum {
    display: none;
}

body {
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
    color: var(--darkGrey);
}


h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 600;
}

p + h2, p + h3, p + h4 {
	margin-top: 40px;
}


h1 + .b_module-wrapper {
    margin-top: 40px;
}



a {
    text-decoration: underline;
    color: var(--blue);
            transition: all 0.3s ease-in-out;

    &:hover {
        color: var(--darkBlue);
    }
}

p {
    margin-top: 0;
    margin-bottom: 16px;
}



.h0-styling {
    font-size: clamp(1.625rem, -0.2019rem + 6.0897vw, 2.8125rem);
}

h1 {
    font-size: clamp(24px, 5.2vw, 34px);
}
 
h2 {
    font-size: clamp(21px, 4.3vw, 30px);
}
 
h3,
.h3-styling {
  font-size: clamp(18px, 3.6vw, 24px);
}



textarea {
    resize: none;
    padding: 20px;
    max-width: 400px;
    width: 100%;
}

#qs-container {
    max-width: unset;
    margin: unset;
}

/* skiplinks style */
.a-skiplink {
    background-color: #fff;
    border: 2px solid #999;
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
    transition: none;
}

.a-skiplink:focus {
    left: 1em;
    top: 126px;
    z-index: 1000;
}
 
#aspnetForm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.b_btn  {
    background-color: var(--blue);
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    transition: all 0.3s ease-in-out;
    color: var(--white);
    border: unset;
    cursor: pointer;
      font-size: 18px;
      text-decoration: none;

    &.b_btn-secondary {
        &:hover {
            background-color: transparent;
            transition: all 0.3s ease-in-out;
        }
    }

    &:hover {
        background-color: var(--darkBlue);
        transition: all 0.3s ease-in-out;
        color: #fff;
    }

    a {
        color: var(--white);
    }
}

.geolevel {
	width: 100%;
	position: relative;
}

.geoitem-search input {
    width: 100%;
    padding: 1.25rem;
    border: 1px solid var(--darkBlue);
    border-radius: 3px;
    font-size: 1.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #FFF url("images/chevron-down.svg") no-repeat center right 1rem;
    background-size: auto 1.2rem;
    line-height: 1rem;
}

#result_List.wijken__select {
    position: absolute;
    width: 100%;
    background: #FFF;
    z-index: 10;
    box-shadow: 2px 2px 20px -14px #595959;
    max-height: 500px;
    overflow: auto;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    display: none;

    &.b_search-list--open {
        display: block;
    }
}

#result_List.wijken__select .autoComplete_result {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: thin solid #e3e3e3;
    font-size: 17px;
}

#result_List.wijken__select .autoComplete_result:last-child {
    border-radius: 0;
}

#result_List.wijken__select .autoComplete_highlighted {
    opacity: 1;
    color: #094350;
    font-weight: bold;
}

#result_List.wijken__select a {
    color: #313131;
    text-decoration: none;
    width: 100%;
    padding: 10px;
    display: inline-block;
}

#result_List.wijken__select .autoComplete_result:hover {
    cursor: pointer;
    border: none;
    border-bottom: thin solid #e3e3e3;
    background-color: var(--blue);
}

#result_List.wijken__select .autoComplete_result:hover a {
    color: #fff;
}

#result_List.wijken__select .autoComplete_result:hover .autoComplete_highlighted {
    color: rgb(231 201 222);
}

.map_tooltip {
  position: absolute;
    top: 20px;
  left: 20px;
  background: var(--darkGrey);
  color: var(--white);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 13px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1000;
}


.page_contact  {

    .subscriptioninput {
        .b_inputfield {
            margin-bottom: 12px;
        }
    }
    .b_inputfield {
        max-width: 400px;
        font-size: 18px;
    }

    .contactfield {
        margin-top: 12px;
    }

    .contactinput {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .contactinput--button {
        margin: 12px 0;
    }
}

.subscribe {
    display: none;
}

input.b_inputfield {
    border: 1px solid var(--darkGrey);
    background: var(--white);
    border-radius: 5px;
    padding: 20px;
    max-height: 51px;
    width: 100%;

    &:focus,
    &:focus-visible,
    &:focus-within {
        border-radius: 5px 0px 0px 5px;
        border: 2px solid var(--darkBlue);
        outline: unset;
    }
}



.padding {
    padding: 80px 0;



    @media screen and (max-width: 1024px) {
        padding: 40px 0;
    }

     @media screen and (max-width: 480px) {
        width: calc(100% - 10px);
        padding: 20px 0;
    }

    &.low-padding-top {
        padding-top: 40px;
    }
}

.content__container,
#qs-container {
    display: flex;
    flex-direction: column;
    width: 100%;

    .content__wrapper,
    #content {
        max-width: 1160px;
        width: calc(100% - 20px);
        margin: 0 auto;

        &.gap-15 {
            gap: 15px;
        }
    
        &.spacing-40 {
            gap: 40px;
        }
    }

    &.white-background {
        background-color: var(--white);
    }

    &.lighterblue-background {
        background-color: var(--lighterBlue);
    }

    .row {
        display: flex;
        flex-direction: row;

        @media screen and (max-width: 1024px) {
            flex-direction: column;
        }

        &.gap-20 {
            gap: 20px;
        }
        
    }

    @media screen and (max-width: 1024px) {
        .column.spacing {
            width: 100%;
        }
    }
}




small {
    font-size: clamp(14px, 1vw, 14px);
}
 


#content {
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 0;

    ul {
        display: flex;
        flex-direction: column;
        gap: 8px;

        li {
            line-height: 150%;
        }
    }

}

#custompage, #container_contactinfo {
    max-width: 800px;

}

html {
    * {
        font-family: 'Public Sans', sans-serif;
    }

    *, :before, :after {
        box-sizing: border-box;
    }

    body {
        margin: unset;
    }
}

.home__intro {
    max-width: 753px;
    margin-bottom: 40px;
}

#container_login_control {
    max-width: 1160px;
    width: calc(100% - 20px);
    padding: 120px 0;
    margin: 0 auto;

    #login_leftside {
        display: flex;
        flex-direction: column;
        gap: 25px;

        .loginfield {
            display: flex;
            gap: 25px;
        }
    }
}

.image-banner {
    img {
    display: none;
    
    @media screen and (min-width: 580px) {
        aspect-ratio: 2622.89/1475.37;
        width: 100%;
        max-height: 400px;
        object-fit: cover;
        object-position: 40% 40%;
        display: block;
    }
}
}

.search__container {
    max-width: 1160px;
    width: calc(100% - 20px);
    margin: 0 auto;
}

.search__container,
.search-main {

    .search__wrapper {
        position: relative;
        width: 100%;
        background-color: var(--lightBlue);
        padding: clamp(0.625rem, -2.2596rem + 9.6154vw, 2.5rem);
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        gap: 40px;

        @media screen and (min-width: 580px) {
            margin-top: -140px;
            max-width: 570px;
        }

        @media screen and (max-width: 580px) {
            gap: 30px;
            
        }

        @media screen and (max-width: 480px) {
            padding: 20px 10px;
            gap: 20px;
        }
    
    
        .b_search-container {
            display: flex !important;
            opacity: 1 !important;
            flex-direction: column;
            position: relative;
        }
    }

    .br-large {
        border-radius: 5px;

        &:focus {
            outline: 2px solid var(--blue);
            
        }
    }

    .ssr-ac-container,
    #ssr-ac-container {
        position: relative;
        transform: unset;
        top: unset;
        width: 100%;

        .ac-s-input_label {
            display: block !important;
            &.active {
                /* outline: 2px solid var(--blue); */
            }
        }

        .btn-color {
            padding: 15px 30px;
        }

        input {
            border: 1px solid var(--darkGrey);
            background: var(--white);
            border-radius: 5px;
        }

        .fa-search {
            &::before {
                color: var(--blue);
            }
        }
    }

    .btn-color {
        background-color: var(--blue);
        
        justify-content: center;
        align-items: center;

    }
}

.ac-s-container>.ac-s-input-container>button>span {
    padding: unset;
}

.ac-s-container>.ac-s-input-container label {
    margin-top: 11px;
}

.publicaties-tiles {
    .content__wrapper.padding {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}

.full-width {
    width: 100%;
    background-color: var(--lighterBlue);

    .content__wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;

        .row {
    
            .wijken__wrapper {


                select {
                    font-size: 18px;
                    width: 100%;
                    display: flex;
                    padding: 17px 20px;
                    justify-content: space-between;
                    align-items: center;
                    border-radius: 5px;
                    background-color: var(--white);
                    border: 1px solid var(--darkBlue);
                    color: var(--darkGrey);
                }
    
                svg {
                    @media screen and (max-width: 1024px) {
                        width: 100%;
                    }

        
                    path {
                        &:hover {
                            fill: var(--blue);
                        }
                    }

                    a:focus path {
                        fill: var(--blue);
                        outline: 0;
                    }


                }
            }
        }
    }
}

.container_ballroomlist {
    display: flex;
    flex-direction: column;
    gap: 40px;

    ul.documentlist  {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        padding: unset;
        column-gap: 20px;
        row-gap: 40px;
        margin: unset;

        @media screen and (max-width: 1024px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media screen and (max-width: 768px) {
            grid-template-columns: repeat(1, 1fr);
        }

        li {
            display: flex;
            flex-direction: column;
            position: relative;

            &.morelink {
                @media screen and (min-width: 768px) and (max-width: 1024px) {
                    grid-column: 1;
                }
            }

            a {
                text-decoration: none;
            }

            .newslistitem__readmore {
                a {
                    text-decoration: none;
                    opacity: 0;
                    height: 0;
                    display: block;
    
                    &::after {
                        content: '';
                        position: absolute;
                        top: 0;
                        right: 0;
                        bottom: 0;
                        left: 0;
                    }
                }
            }

            .documentlistitem__image  {
                height: 100%;
                width: 100%;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .listitem__title {
                margin-top: 20px;
                margin-bottom: 12px;
            }

            .poster {
                .meta {
                    display: none;
                }

                p {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    -webkit-box-orient: vertical;
                }
            }
        }
    }
}

.ac-s-container>.ac-s-input-container.focus {
    outline: 2px solid var(--blue);
    border-radius: 5px;
}

/* documents & faq page styling */
.b_module-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;

    @media screen and (max-width: 1024px) {
        flex-direction: column;
    }

    #nav_module {
        background-color: var(--lighterBlue);
        padding: 20px;
        height: fit-content;
        border-radius: 5px;
        max-width: 269px;
        width: 100%;

        .ballroomcategories {
            padding-left: unset;
            list-style-type: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin: unset;

            a {
                text-decoration: none;
                color: var(--blue);
                font-size: 18px;
  
            }

            .active a {
                font-weight: 800;
            }
        }
    }

    .b_module-items {
        .b_module-list {
            display: flex;
            flex-direction: column;
            gap: 15px;

            h2 {
                margin-top: 0!important;
            }

            li {


                .documentlistitem__image {
                    display: none;
                }

                .b_theme, .b_separator, .b_separator, .b_size  {
                    display: none;
                }



            }
        }
    }
}

/* contact page styling */
.contact__container {
    #container_subscription {
        .subscriptioninput {
            display: flex;
            flex-direction: row;
            max-width: 400px;
            width: 100%;
            position: relative;

            @media screen and (max-width: 768px) {
                flex-direction: column;
                gap: 20px;
            }

            .b_inputfield {
                border-radius: 5px 0px 0px 5px;

                &:focus,
                &:focus-visible,
                &:focus-within {
                    border-radius: 5px 0px 0px 5px;
                    border: 2px solid var(--darkBlue);
                    outline: unset;
                }
            }

            .b_btn {
                position: relative;
                right: 0;
                height: auto;
                border-radius: 0px 5px 5px 0px;
              
            }

        }
    }

    .contactform {
        .contactfield {
            margin-top: 20px;
        }
    }
}

.ballroom_document {
    #content {
        padding-top: 120px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

#container_document {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 120px;
    max-width: 770px;

    .item__image {
        display: flex;
    }

    .container_meta {
        display: none;

        #lnkdownload {
            position: relative;

            a {
                position: absolute;
                left: 0;
                top: 0;
                right: 0;
                bottom: 0;
            }
        }

        .meta {
            display: none;
        }
    }
}

.search-header {
    #footer {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 16px;
    }
}