/*
Theme Name: 	HKSN Starter Template Kit
Theme URI: 		http://www.hookson.com
Description: 	Base theme for Hookson sites
Version: 		1.2
Author: 		Hookson
Author URI: 	http://hookson.com
Tags:
*/

:root {
    --accent-color: #91288d;
}

#maincontent > .section:last-of-type {
    margin-bottom: 2.25rem;
}

.home .widget--landscape-intro {
    bottom: auto;
    margin-top: -4em;
    margin-bottom: 0;
}

.header-page {
    text-align: center;
}

.header-page p {
    max-width: 50rem;
    margin-right: auto;
    margin-left: auto;
}

.filters {
    margin-bottom: 30px;
    padding: 30px 30px 14px;
    background-color: #fff;
}

.filters .columns {
    margin-bottom: 1rem
}

.filters form input,
.filters form select,
.select2-container--default .select2-selection--multiple {
    height: 2.8125rem;
    font-size: 1rem;
    margin-bottom: 0;
    background-color: #eee;
    border: solid 0.05em #91288d;
    border-radius: 0.25em;
}

.filters form select:focus {
    background-color: #fefefe;
}

.filters .btns-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.filters .btn {
    display: inline-block;
    min-width: 10em;
    height: 2.8125rem;
    background: transparent;
    color: #91288d;
    border: 0.125rem solid #91288d;
    margin: 0 10px;
    cursor: pointer;
}

.filters .btn:hover {
    color: #91288d;
}

.filters__advanced {
    display: none;
}

.inquiries-table {
    margin-bottom: 30px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-collapse: collapse;
}

.inquiries-table thead {
    background-image: linear-gradient(90deg, #90238F, #262068);
}

.inquiries-table th,
.inquiries-table td {
    padding: 10px 15px;
    border: 1px solid #fff;
}

.inquiries-table th {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.inquiries-table td {
    color: #676767;
    font-size: 0.875rem;
    background-color: #F9F2F8;
}

.inquiries-table__deadline,
.inquiries-table__source {
    text-align: center;
    white-space: nowrap;
}

.inquiries-table .inquiries-table__deadline--open {
    background-color: #C8E6C9;
}

.inquiries-table .inquiries-table__deadline--close {
    background-color: #FFCCBC;
}

.inquiries-table__source .button {
    margin: 0;
    text-transform: uppercase;
    border-radius: 10px;
}

.pagination {
    text-align: center;
    margin-bottom: 50px;
}

.pagination .page-numbers {
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    padding: 0;
    margin: 0 5px;
    color: #91288d;
    background: #faf9ff;
    text-align: center;
    border: solid 0.05em #91288d;
    border-radius: 50%;
    white-space: nowrap;
    line-height: 2.3em;
    transition: all 0.5s ease;
}

.pagination .page-numbers.current {
    text-decoration: none;
    background-color: #91288d;
    color: #fff;
}

.pagination .page-numbers.dots {
    border: 0;
}

.pagination .page-numbers.dots:hover {
    background: #faf9ff;
    color: #91288d;
}

.pagination .page-numbers:hover {
    background-color: #91288d;
    color: #fff;
}

.responsive-table {
    overflow-x: auto;
}

.responsive-table table {
    width: 100%;
}

.registration .widget--landscape-intro {
    bottom: auto;
}

.stncl-form .list-unstyled {
    list-style: none;
}

.register-checkbox {
    margin-bottom: 1rem;
    text-align: left;
}

.register-checkbox .label {
    background: none;
    color: inherit;
    font-size: 18px;
}

.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-bottom: 0.25em solid #91288d;
}

.auth-container .input,
.stncl-form .input {
    height: 2.8125rem;
    padding: 0.625rem 1.75rem;
    font-size: 1rem;
    margin-bottom: 0;
    background: #eee;
    border: solid 0.05em #bbbbbb;
    border-radius: 0.25em;
}

.auth-container .login-remember {
    text-align: left;
}

.auth-container button,
.stncl-form .btn {
    display: inline-block;
    width: 100%;
    max-width: 250px;
    height: 2.8125rem !important;
    background: transparent;
    color: #91288d;
    border: 0.125rem solid #91288d;
    padding: 0;
    margin-bottom: 0;
    cursor: pointer;
}

.auth-container button:hover,
.stncl-form .btn:hover {
    color: #91288d;
}

.auth-container .recaptcha-container {
    margin-bottom: 1rem;
}

.auth-container .g-recaptcha > div {
    margin: 0 auto;
}

.auth-container .description {
    font-size: 14px;
    text-align: left;
    padding-left: 10px;
    border-left: 2px solid var(--accent-color);
    color: #808080;
}

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    height: auto;
    min-height: 2.8125rem;
    padding: 0;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    padding: 0;
    border-color: var(--accent-color);
}

.select2-container .select2-search--inline .select2-search__field {
    height: 20px;
    min-height: auto;
    margin: 3px 0 5px;
    padding: 0 1.75rem;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    margin: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 3px 0 3px 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    bottom: 0;
}

@media only screen and (max-width: 480px) {
    .filters .btns-row {
        flex-direction: column;
    }

    .filters .btn {
        margin: 5px 0;
    }

    .select2-container .select2-selection--multiple .select2-selection__rendered {
        font-size: 12px;
    }
}

/*widget--landscape image and content alignment fixes*/
.widget--landscape .widget--body-inner .btn--secondary {
    text-decoration: none;
}

@media screen and (min-width: 1024px) {

    .widget--landscape .widget--content {
        display: flex;
    }

    .widget--landscape .widget--body {
        margin-top: 0 !important;
    }

    .widget--landscape .widget--body-inner {
        height: 100%;
    }

    .widget--landscape .widget--image.float-right {
        order: 12;
    }

    .widget--landscape .widget--image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}