/*
Theme Name: ICF Hungary
Author: SevenArt
Description: Az oldalhoz készült egyedi sablon
Version: 1.0.0
*/

/* Glide */

.glide__slides {
    margin: 0;
}

/* end Glide */

.wp-block-image {
    margin: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #eff0f7;
    color: #666;
    line-height: 21px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
    color: #30398D;
}

p {
    margin-top: 0;
}

figure {
    margin: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media screen and (max-width: 413px) {
    .container {
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media screen and (min-width: 414px) and (max-width: 1023px) {
    .container {
        padding-right: 35px;
        padding-left: 35px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .container {
        padding-right: 70px;
        padding-left: 70px;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        margin-right: auto;
        margin-left: auto;
        width: 1060px;
    }
}

#header {
    position: relative;
    background: #fff;
}

#mobile-menu-hide {
    display: none;
}

#mobile-menu-toggle {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 2px solid #30398D;
    background: transparent;
    padding: 10px;
}

#mobile-menu-toggle .menu-icon-bar {
    display: block;
    width: 20px;
    border-radius: 2px;
    background: #30398D;
}

#mobile-menu-toggle .menu-icon-bar:nth-child(2n + 1) {
    height: 5px;
}

#mobile-menu-toggle .menu-icon-bar:nth-child(2) {
    height: 4px;
}

#mobile-menu-toggle .menu-icon-bar + .menu-icon-bar {
    margin-top: 3px;
}

#header-extra-menu {
    line-height: 23px;
}

#header-extra-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#header-extra-menu ul::after {
    display: block;
    clear: left;
    content: "";
}

#header-extra-menu li {
    float: left;
}

#header-extra-menu li + li {
    margin-left: 4px;
}

#header-extra-menu a {
    display: inline-block;
    padding: 5px 10px;
    color: inherit;
}

#header-extra-menu a:hover {
    text-decoration: underline;
}

#header-logo a {
    display: block;
}

#header-logo img {
    display: block;
    width: 100%;
    height: auto;
}

#header-account {
    font-size: 16px;
}

#header-cta a {
    display: inline-block;
    background: #30398d;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    line-height: 22px;
    font-size: 18px;
}

#header-logged-in::after {
    display: block;
    clear: left;
    content: "";
}

#header-logout-link {
    float: left;
}

#header-admin-link {
    float: left;
    margin-left: 14px;
    border-left: 1px solid #30398d;
    padding-left: 14px;
}

.search-controls::after {
    display: block;
    clear: left;
    content: "";
}

.search-input {
    float: left;
    width: 170px;
    height: 29px;
    border: 1px solid #ddd;
    padding: 2px 6px;
    line-height: 23px;
}

.search-submit {
    float: left;
    height: 29px;
    border: 0 none;
    background: #feaa00;
    color: #fff;
}

#header-bottom {
    margin-top: 30px;
}

#main-menu {
    font-family: "Roboto Condensed", sans-serif;
}

#main-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#main-menu > ul {
    display: flex;
    justify-content: space-between;
}

#main-menu > ul > li {
    position: relative;
}

#main-menu > ul > li > a {
    display: inline-block;
    padding-right: 6px;
    padding-bottom: 17px;
    padding-left: 6px;
    color: #30398d;
    line-height: 25px;
    font-size: 20px;
}

#main-menu > ul > li > a:hover,
#main-menu > ul > li.current-menu-item > a {
    color: #feaa00;
}

#main-menu > ul > li > ul {
    display: none;
    position: absolute;
    top: 41px;
    left: 0;
    z-index: 1;
    box-shadow: 1px 1px 4px #e4e4e4;
    width: 265px;
    border-top: 4px solid #feaa00;
    background: #fff;
    padding: 18px 0 12px;
}

#main-menu > ul > li:hover > ul {
    display: block;
}

#main-menu li li + li {
    margin-top: 11px;
}

#main-menu li ul a {
    display: inline-block;
    padding-right: 15px;
    padding-left: 15px;
    color: #666;
    line-height: 23px;
    font-size: 18px;
    font-weight: 300;
}

#main-menu li a:hover {
    color: #feaa00;
}

#main-menu li li ul {
    margin-top: 11px;
    padding-left: 15px;
    font-size: 15px;
}

#main-menu li li ul a {
    font-size: 15px;
}

@media screen and (max-width: 413px) {
    #mobile-menu-toggle {
        right: 8px;
    }
}

@media screen and (min-width: 414px) and (max-width: 1023px) {
    #mobile-menu-toggle {
        right: 35px;
    }
}

@media screen and (max-width: 567px) {
    #header-search {
        margin-top: 13px;
    }
}

@media screen and (min-width: 568px) {
    #header-middle-container::after {
        display: block;
        clear: both;
        content: "";
    }

    #header-account {
        float: left;
    }

    #header-search {
        float: right;
    }
}

@media screen and (min-width: 568px) and (max-width: 799px) {
    #header-search {
        margin-top: 9px;
    }
}

@media screen and (max-width: 799px) {
    #header-account {
        margin-top: 21px;
    }

    #mobile-menu-toggle {
        top: 8px;
    }
}

@media screen and (min-width: 800px) {
    #header-logo {
        float: left;
    }

    #mobile-menu-toggle {
        top: 14px;
    }
}

@media screen and (min-width: 800px) and (max-width: 1199px) {
    #header-account {
        margin-left: 36px;
    }

    #header-search {
        margin-right: 80px;
    }
}

@media screen and (max-width: 1023px) {
    #header-logo {
        width: 236px;
    }

    #header-cta {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    #header-logo {
        width: 354px;
    }

    #header-cta {
        margin-bottom: 25px;
    }

    #mobile-menu-toggle {
        right: 70px;
    }
}

@media screen and (max-width: 1199px) {
    #header {
        padding-top: 21px;
        padding-bottom: 17px;
    }

    #header-extra-menu {
        display: none;
    }

    #header-cta a {
        padding-right: 14px;
        padding-left: 14px;
    }

    #header-bottom {
        display: none;
    }
}

@media screen and (min-width: 1200px) {
    #mobile-menu-toggle {
        display: none;
    }

    #header-middle {
        margin-top: 33px;
    }

    #header-account {
        margin-left: 45px;
    }

    #header-cta a {
        padding-right: 34px;
        padding-left: 34px;
    }
}

#footer {
    background: url("./assets/theme/img/footer-background.png");
    padding-top: 30px;
    padding-bottom: 50px;
    color: #fff;
}

#footer a {
    color: inherit;
}

#footer a:hover {
    color: #feaa00;
}

#footer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer-menu a {
    line-height: 17px;
}

#footer-menu > ul > li {
    margin-top: 13px;
}

#footer-menu > ul > li::after {
    display: block;
    clear: left;
    content: "";
}

#footer-menu > ul > li > a {
    display: block;
    color: #feaa00;
    line-height: 17px;
    font-size: 15px;
}

#footer-menu > ul > li > a:hover {
    color: #fff;
}

#footer-menu li ul::after {
    display: block;
    clear: left;
    content: "";
}

#footer-menu li li {
    float: left;
    margin-right: 13px;
}

#footer-menu li ul a {
    font-size: 13px;
}

#footer-middle {
    margin-top: 17px;
    text-align: center;
}

#footer-extra-menu {
    display: inline-block;
}

#footer-extra-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer-extra-menu ul::after {
    display: block;
    clear: left;
    content: "";
}

#footer-extra-menu li {
    float: left;
}

#footer-extra-menu li + li {
    margin-left: 7px;
    border-left: 1px solid #feaa00;
    padding-left: 7px;
}

#footer-extra-menu a {
    display: block;
    font-size: 14px;
    line-height: 17px;
}

#footer-bottom {
    margin-top: 40px;
}

#footer-bottom::after {
    display: block;
    clear: both;
    content: "";
}

#footer-logo {
    float: left;
}

#footer-copyright {
    float: right;
    margin-top: 40px;
}

#page-header {
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    background: #fff;
    padding-top: 25px;
    padding-bottom: 16px;
}

#page-header h1 {
    margin-top: 0;
    margin-bottom: 0;
    color: #272727;
    text-align: center;
    line-height: 33px;
    font-size: 34px;
    font-family: Roboto, sans-serif;
    font-weight: 300;
}

#breadcrumbs {
    margin-top: 22px;
    text-align: center;
    line-height: 21px;
}

#breadcrumbs ol {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

#breadcrumbs ol::after {
    display: block;
    clear: left;
    content: "";
}

#breadcrumbs li {
    float: left;
}

#breadcrumbs li + li {
    position: relative;
    margin-left: 16px;
}

#breadcrumbs li + li::before {
    position: absolute;
    top: 0;
    left: -16px;
    width: 16px;
    height: 100%;
    text-align: center;
    content: "\00bb";
}

#breadcrumbs a {
    display: block;
    color: #30398D;
    font-size: 14px;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

.widget-body:empty {
    display: none;
}

#body {
    background: #fff;
}

#content {
    padding-bottom: 60px;
}

#content::after {
    display: block;
    clear: both;
    content: "";
}

#content a:hover {
    text-decoration: underline;
}

#content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

#content dt {
    font-weight: 700;
}

#content ul li {
    list-style-image: url("./assets/theme/img/list-bullet.png");
}

#content strong {
    color: #30398D;
}

#content table {
    margin-bottom: 21px;
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

#content th {
    background: #30398D;
    border: 1px solid #30398D;
    padding: 2px 10px;
    color: #fff;
}

#content td {
    border: 1px solid #ccc;
    padding: 2px 10px;
}

#content .wp-block-image .aligncenter {
    margin-bottom: 21px;
}

@media screen and (min-width: 756px) {
    #content .wp-block-image .alignright,
    #content .wp-block-image .alignleft {
        margin-bottom: 7px;
    }

    #content .wp-block-image .alignright {
        margin-left: 21px;
    }

    #content .wp-block-image .alignleft {
        margin-right: 21px;
    }
}

@media screen and (min-width: 756px) and (max-width: 1199px) {
    #content .wp-block-image .alignright,
    #content .wp-block-image .alignleft {
        max-width: calc(50% - 21px);
    }
}

@media screen and (min-width: 1200px) {
    #content .wp-block-image .alignright,
    #content .wp-block-image .alignleft {
        max-width: calc(33.3333%);
    }
}

#aside > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#aside .widget {
    box-shadow: 0 5px 15px #eee;
}

#aside .widget + .widget {
    margin-top: 25px;
}

#aside .widget-title {
    margin: 0;
    background-color: #5e73b5;
    background-image: linear-gradient(to bottom, #5e73b5, #30398d);
    padding: 5px 10px 7px;
    color: #fff;
    line-height: 22px;
    font-size: 22px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
}

#aside .widget-body {
    padding: 20px 10px;
}

#aside .mc4wp-form p {
    margin-bottom: 0;
}

#aside .mc4wp-form p + p {
    margin-top: 10px;
}

#aside .mc4wp-form label {
    display: inline-block;
    font-weight: 700;
}

#aside .mc4wp-form input[type="text"],
#aside .mc4wp-form input[type="email"] {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    padding: 3px 6px;
    font-size: 14px;
    line-height: 21px;
}

#aside .mc4wp-form input[type="submit"] {
    border: 0 none;
    background: #feaa00;
    padding: 6px 11px;
    color: #fff;
    text-decoration: none;
    line-height: 21px;
    font-size: 15px;
    font-weight: 700;
}

#social-widget .widget-body::after {
    display: block;
    clear: left;
    content: "";
}

.social-widget-item {
    float: left;
}

.social-widget-item:nth-child(2n - 1) {
    margin-left: 30px;
}

.social-widget-item:nth-child(2n) {
    margin-left: 31px;
}

.social-widget-item:nth-child(2n + 3) {
    clear: left;
}

.social-widget-item:nth-child(n + 3) {
    margin-top: 31px;
}

.social-widget-item a,
.social-widget-item img {
    display: block;
}

.media-partners-widget-item {
    margin-right: auto;
    margin-left: auto;
    width: 180px;
}

.media-partners-widget-item + .media-partners-widget-item {
    margin-top: 15px;
}

.media-partners-widget-item a,
.media-partners-widget-item img {
    display: block;
}

.media-partners-widget-item img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 799px) {
    #aside {
        margin-top: 40px;
    }
}

@media screen and (min-width: 800px) {
    #body {
        display: flex;
    }

    #content {
        flex: 1 0;
        padding-top: 27px;
        padding-right: 20px;
    }

    #aside {
        flex: 0 0 300px;
        border-left: 1px solid #e4e4e4;
        padding: 14px 19px;
    }
}

@media screen and (min-width: 1200px) {
    #content {
        flex-basis: 760px;
        padding-left: 20px;
    }
}

.pager {
    display: flex;
    margin-top: 42px;
    justify-content: center;
}

.pager a:last-child {
    margin-left: 21px;
}

#homepage-slider {
    background: #e2ded4;
}

#homepage-slider-container {
    margin-right: auto;
    margin-left: auto;
    max-width: 1260px;
}

.homepage-slider-slide {
    position: relative;
}

.homepage-slider-slide img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.homepage-slider-post {
    position: absolute;
    background: rgba(36, 53, 151, 0.9);
    padding: 16px 22px;
    color: #fff;
}

.homepage-slider-post-title {
    font-weight: 500;
    font-family: "Roboto Condensed", sans-serif;
}

.homepage-slider-post-date {
    margin-top: 22px;
}

.homepage-slider-post-link {
    margin-top: 11px;
    text-align: right;
}

.homepage-slider-post-link a {
    background: #feaa00;
    padding: 6px 11px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

@media screen and (max-width: 359px) {
    .homepage-slider-post {
        top: 20px;
        left: 10px;
    }
}

@media screen and (min-width: 360px) and (max-width: 479px) {
    .homepage-slider-post {
        top: 30px;
        left: 30px;
    }
}

@media screen and (max-width: 479px) {
    .homepage-slider-post {
        width: 300px;
    }

    .homepage-slider-post-title {
        line-height: 18px;
        font-size: 15px;
    }
}

@media screen and (min-width: 480px) {
    .homepage-slider-post {
        left: 40px;
        width: 400px;
    }

    .homepage-slider-post-title {
        line-height: 28px;
        font-size: 22px;
    }
}

@media screen and (min-width: 480px) and (max-width: 639px) {
    .homepage-slider-post {
        top: 40px;
    }
}

@media screen and (min-width: 640px) {
    .homepage-slider-post {
        top: 100px;
        left: 80px;
        width: 400px;
    }
}

#homepage-slider .glide__arrow {
    display: none;
    position: absolute;
    top: 50%;
    width: 31px;
    height: 47px;
    transform: translateY(-50%);
    border: 0 none;
    background: transparent;
    cursor: pointer;
}

#homepage-slider-container:hover .glide__arrow {
    display: block;
}

#homepage-slider .glide__arrow::before {
    position: absolute;
    top: 8px;
    width: 33px;
    height: 33px;
    border-bottom: 10px solid #fff;
    content: "";
}

#homepage-slider .glide__arrow--left {
    left: 33px
}

#homepage-slider .glide__arrow--left::before {
    left: 7px;
    border-left: 10px solid #fff;
    transform: rotate(45deg);
}

#homepage-slider .glide__arrow--right {
    right: 33px
}

#homepage-slider .glide__arrow--right::before {
    right: 7px;
    border-right: 10px solid #fff;
    transform: rotate(-45deg);
}

#homepage-recent > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#homepage-recent > ul li {
    list-style-image: none;
}

#homepage-recent .widget-title {
    margin: 0 0 20px;
    background-color: #edeae3;
    padding: 5px 10px 7px 10px;
    color: #30398d;
    line-height: 22px;
    font-size: 22px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
}

#homepage-recent {
    margin-top: 40px;
}

#homepage-recent .widget + .widget {
    margin-top: 40px;
}

.featured-content-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.featured-content-widget li::after {
    display: block;
    clear: left;
    content: "";
}

.featured-content-widget li + li {
    margin-top: 10px;
    border-top: 1px solid #e2ded4;
    padding-top: 7px;
}

.featured-content-widget .post-lead-image {
    float: left;
    margin-right: 15px;
    margin-bottom: 4px;
    border: 3px solid transparent;
}

.featured-content-widget .post-lead-image:hover {
    border-color: #feaa00;
}

.featured-content-widget .post-lead-image a,
.featured-content-widget .post-lead-image img {
    display: block;
}

.featured-content-widget .post-title {
    color: #30398d;
    line-height: 22px;
    font-size: 17px;
    font-weight: 700;
}

.featured-content-widget .post-title a {
    color: inherit;
}

.featured-content-widget .post-link {
    color: #feaa00;
}

.featured-content-widget .post-title a:hover,
.featured-content-widget .post-link:hover {
    text-decoration: underline;
}

.featured-content-widget .more-link {
    margin-top: 20px;
    text-align: right;
}

.featured-content-widget .more-link a {
    font-weight: 700;
}

.featured-content-widget .more-link a:hover {
    color: #feaa00;;
}

.upcoming-events-widget li::after {
    display: block;
    clear: left;
    content: "";
}

.upcoming-events-widget .event-date {
    float: left;
    width: 61px;
    background-color: #feaa00;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #fff;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
}

.upcoming-events-widget .event-month {
    text-transform: uppercase;
    line-height: 22px;
    font-size: 22px;
    font-weight: 700;
}

.upcoming-events-widget .event-day {
    line-height: 22px;
    font-size: 22px;
    font-weight: 300;
}

.upcoming-events-widget .post-title,
.upcoming-events-widget .post-excerpt {
    margin-left: 80px;
}

.events-content-section + .events-content-section {
    margin-top: 42px;
}

#events-content h2 {
    margin: 0 0 20px;
    background-color: #edeae3;
    padding: 5px 10px 7px 10px;
    color: #30398d;
    line-height: 22px;
    font-size: 22px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
}

#events-content .event + .event {
    margin-top: 21px;
}

#events-content .event::after {
    display: block;
    clear: left;
    content: "";
}

#events-content .event-date {
    float: left;
    width: 61px;
    background-color: #feaa00;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #fff;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
}

#events-content .event-year {
    line-height: 21px;
    font-size: 16px;
    font-weight: 300;
}

#events-content .event-month {
    text-transform: uppercase;
    line-height: 22px;
    font-size: 22px;
    font-weight: 700;
}

#events-content .event-day {
    line-height: 22px;
    font-size: 22px;
    font-weight: 300;
}

#events-content .event-text {
    margin-left: 80px;
}

#events-content .event-title {
    font-size: 17px;
    font-weight: 700;
}

#events-content .event-excerpt {
    margin-top: 5px;
}

#events-content .event-link {
    text-align: right;
}

#events-content .event-link a {
    color: #feaa00;
}

#posts-content .post + .post {
    margin-top: 21px;
    border-top: 1px solid #e4e4e4;
    padding-top: 20px;
}

#posts-content .post::after {
    display: block;
    clear: left;
    content: "";
}

#posts-content .post-lead-image {
    margin-bottom: 35px;
}

#posts-content .post-lead-image a {
    display: block;
    border: 3px solid transparent;
}

#posts-content .post-lead-image a:hover {
    border-color: #feaa00;
}

#posts-content .post-lead-image img {
    display: block;
    width: 100%;
    height: auto;
}

#posts-content .post-date {
    float: left;
    width: 61px;
    box-shadow: 0 3px 0 #dadced;
    border: 1px solid #dadced;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
}

#posts-content .post-date-month {
    color: #30398d;
    text-transform: uppercase;
    line-height: 22px;
    font-size: 22px;
    font-weight: 700;
}

#posts-content .post-date-day {
    line-height: 22px;
    font-size: 22px;
    font-weight: 300;
}

#posts-content .post-text {
    margin-left: 80px;
}

#posts-content .post-title {
    margin-bottom: 20px;
    color: #30398d;
    line-height: 26px;
    font-size: 25px;
    font-family: Roboto, sans-serif;
}

#posts-content .post-link {
    text-align: right;
}

#posts-content .post-link a {
    color: #feaa00;
}

#post-content .post-lead-image {
    margin-bottom: 35px;
}

#post-content .post-lead-image img {
    display: block;
    width: 100%;
    height: auto;
}

#post-content .post-lead-image-caption {
    margin-top: 14px;
    color: #30398d;
    font-size: 16px;
}

#post-content .post-lead {
    color: #30398d;
    font-size: 16px;
}

#search-results-content .search-form {
    margin-bottom: 42px;
}

#search-results-content .search-label {
    font-weight: 700;
}

@media screen and (min-width: 480px) {
    #search-results-content .search-form::after {
        display: block;
        clear: left;
        content: "";
    }

    #search-results-content .search-label {
        float: left;
        margin-top: 4px;
    }

    #search-results-content .search-controls {
        float: left;
        margin-left: 14px;
    }
}

@media screen and (min-width: 756px) {
    #search-results-content .search-input {
        width: 252px;
    }
}

#search-results-content .post + .post {
    margin-top: 21px;
}

#search-results-content .post-title {
    line-height: 25px;
    font-size: 17px;
    font-weight: 700;
    font-family: Roboto, sans-serif;
}

#search-results-content .post-title::before {
    display: inline-block;
    margin-right: 0.25em;
    width: 14px;
    height: 14px;
    background: #cbd1ee;
    content: "";
}

#search-results-content .post-metadata {
    font-size: 12px;
    font-style: italic;
}

#search-results-content .post-link {
    color: #feaa00;
}

#members-search-form .form-control:first-child {
    margin-left: 0;
}

#members-search-form .form-actions {
    margin-top: 21px;
}

#members-search-form label {
    display: inline-block;
}

#members-search-form input[type="text"],
#members-search-form select {
    display: block;
    height: 29px;
    border: 1px solid #ddd;
    padding: 2px 6px;
}

#members-search-form button {
    height: 29px;
    border: 0 none;
    background: #feaa00;
    color: #fff;
}

@media screen and (max-width: 755px) {
    #members-search-form {
        max-width: 400px;
    }

    #members-search-form .form-control + .form-control {
        margin-top: 14px;
    }

    #members-search-form input[type="text"],
    #members-search-form select {
        width: 100%;
    }
}

@media screen and (min-width: 756px) {
    #members-search-form::after {
        display: block;
        clear: left;
        content: "";
    }

    #members-search-form .form-control,
    #members-search-form .form-actions {
        float: left;
        margin-left: 14px;
    }
}

#members {
    display: flex;
    margin-top: 42px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}

#members .member {
    position: relative;
    margin: 10px;
    width: 184px;
    background: #30398D;
    padding-bottom: 10px;
    color: #fff;
}

#members .member-image {
    padding: 12px;
}

#members .member-image img {
    display: block;
    width: 100%;
    height: 100%;
}

#members .member-name {
    min-height: 56px;
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
    line-height: 23px;
    font-size: 17px;
    font-weight: 700;
}

#members .member-accreditation {
    padding-right: 20px;
    padding-left: 20px;
}

#members .member-accreditation img {
    display: block;
    margin: auto;
    width: 80px;
    height: auto;
}

#members .member-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: 3px solid #e2ded4;
    background: #fff;
    padding: 10px;
    color: #666;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
}

#members .member:hover .member-hover {
    opacity: 1;
}

#members .member-website-url {
    margin-top: 21px;
}

#members .member-link {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
}

#members .member-link a {
    display: inline-block;
    width: 80px;
    background: #feaa00;
    padding-top: 3px;
    padding-bottom: 3px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

#members .member-link a:hover {
    background: #e39b38;
    text-decoration: none;
}

#member-content .member-card {
    position: relative;
    margin: 10px;
    width: 184px;
    background: #30398D;
    padding-bottom: 10px;
    color: #fff;
}

#member-content .member-card .member-image {
    padding: 12px;
}

#member-content .member-card .member-image img {
    display: block;
    width: 100%;
    height: 100%;
}

#member-content .member-card .member-name {
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
    line-height: 23px;
    font-size: 17px;
    font-weight: 700;
}

#member-content .member-card .member-accreditation {
    padding-right: 20px;
    padding-left: 20px;
}

#member-content .member-card .member-accreditation img {
    display: block;
    margin: auto;
    width: 80px;
    height: auto;
}

@media screen and (max-width: 479px) {
    #member-content .member-card {
        margin-right: auto;
        margin-bottom: 21px;
        margin-left: auto;
    }
}

@media screen and (min-width: 480px) {
    #member-content .member-card {
        float: right;
        margin-left: 14px;
        margin-bottom: 14px;
    }
}

@media screen and (min-width: 640px) {
    #member-content dl div {
        margin-top: 14px;
    }

    #member-content dl div::after {
        display: block;
        clear: left;
        content: "";
    }

    #member-content dt {
        clear: left;
        float: left;
    }

    #member-content dd {
        margin-left: 160px;
    }
}

#login-popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
}

#login-popup-modal.visible {
    display: block;
}

#login-popup {
    position: fixed;
    border: 1px solid #30398D;
    background: #fff;
    color: #333;
}

#login-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border: 0 none;
    padding: 3px 5px 7px;
    background: #feaa00;
    color: #fff;
    text-align: center;
    line-height: 25px;
    font-size: 21px;
}

#login-popup input[type="text"],
#login-popup input[type="password"] {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    padding: 3px 6px;
    line-height: 21px;
    font-size: 14px;
}

#login-popup .login-submit {
    margin-top: 21px;
}

#login-popup .lost-password {
    margin-top: 35px;
}

#login-popup input[type="submit"] {
    border: 0 none;
    padding: 7px 21px;
    background: #30398d;
    color: #fff;
    line-height: 21px;
    font-size: 14px;
    font-weight: 700;
}

@media screen and (max-width: 413px) {
    #login-popup {
        left: 5vw;
        width: 90vw;
        padding-right: 21px;
        padding-left: 21px;
    }
}

@media screen and (min-width: 414px) and (max-width: 479px) {
    #login-popup {
        left: 10vw;
        width: 80vw;
        padding-right: 28px;
        padding-left: 28px;
    }
}

@media screen and (max-width: 479px) {
    #login-popup-heading {
        margin-bottom: 35px;
        line-height: 28px;
        font-size: 21px;
    }
}

@media screen and (min-width: 480px) {
    #login-popup-heading {
        line-height: 35px;
        font-size: 28px;
        margin-bottom: 42px;
    }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    #login-popup {
        left: 20vw;
        width: 60vw;
        padding-right: 35px;
        padding-left: 35px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    #login-popup {
        left: 30vw;
        width: 40vw;
        padding-right: 42px;
        padding-left: 42px;
    }
}

@media screen and (min-width: 1024px) {
    #login-popup {
        left: calc(50vw - 240px);
        width: 480px;
        padding-right: 70px;
        padding-left: 70px;
    }
}

@media screen and (max-height: 567px) {
    #login-popup {
        top: 10vh;
        height: 80vh;
        padding-top: 21px;
    }
}

@media screen and (min-height: 568px) {
    #login-popup {
        top: calc(50vh - 240px);
        height: 480px;
        padding-top: 35px;
    }
}

.event-ticket-order {
    margin-bottom: 21px;
    text-align: right;
    line-height: 0;
}

.event-ticket-order-link {
    display: inline-block;
    background: #30398d;
    padding: 9px 18px;
    color: #fff;
    text-transform: uppercase;
    line-height: 24px;
    font-size: 18px;
    font-weight: 700;
}

.event-ticket-order-link:hover {
    background: #feaa00;
}

#content .event-ticket-order-link:hover {
    text-decoration: none;
}