/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

p {
    margin: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Header */
header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    box-shadow: 0 0 8px rgb(0 0 0 / 15%);
}

.header-logo {
    height: 45px;
    position: absolute;
    right: 1.5rem;
    top: 5px;
}

/* Header */

.main-img img {
    object-fit: cover;
    width: 100%;
    max-width: 1400px;
    max-height: calc(100vh - 55px);
    margin: 0 auto;
    display: block;
}

#menu {
    display: flex;
    /*justify-content: center;*/
    height: 55px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

#menu ul {
    margin: 0;
    padding: 0;
}

#menu .main-menu {
    display: none;
}

#tm:checked + .main-menu {
    display: block;
}

#menu input[type="checkbox"],
#menu ul span.drop-icon {
    display: none;
}

#menu li,
#toggle-menu,
#menu .sub-menu {
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.05);
}

#menu li,
#toggle-menu {
    border-width: 0 0 1px;
}

#menu .sub-menu {
    background-color: #fff;
    border-width: 1px 1px 0;
    margin: 0 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#menu .sub-menu li:last-child {
    border-width: 0;
}

#menu li,
#toggle-menu,
#menu a {
    position: relative;
    display: block;
    color: #000;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.125);
    background-color: #fff;
}

#menu,
#toggle-menu {
    background-color: #fff;
}

#toggle-menu,
#menu a {
    margin-bottom: 0 !important;
    padding: 14px 1.25rem;
}

#menu a {
    transition: all .125s ease-in-out;
    -webkit-transition: all .125s ease-in-out;
}

a:hover {
    background-color: white !important;
    color: #633382 !important;
}

#menu .sub-menu {
    display: none;
}

#menu input[type="checkbox"]:checked + .sub-menu {
    display: block;
}

#menu .sub-menu a:hover {
    color: #4c5fc9;
}

#toggle-menu .drop-icon,
#menu li label.drop-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translate(-50%, -50%);
}

#menu label.drop-icon, #toggle-menu span.drop-icon {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F2F2F2;
    text-shadow: 0 0 0 transparent;
    color: #4c5fc9;
}

#menu .drop-icon {
    line-height: 1;
}

@media only screen and (max-width: 64em) and (min-width: 52.01em) {
    #menu .sub-menu li {
        width: auto;
    }
}

@media only screen and (min-width: 901px) {
    #menu .main-menu {
        display: block;
    }

    #toggle-menu,
    #menu label.drop-icon {
        display: none;
    }

    #menu ul span.drop-icon {
        display: inline-block;
    }

    #menu li {
        float: left;
        border-width: 0 1px 0 0;
    }

    #menu .sub-menu li {
        float: none;
    }

    #menu .sub-menu {
        border-width: 0;
        margin: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 255px;
        z-index: 3000;
    }

    #menu .sub-menu,
    #menu input[type="checkbox"]:checked + .sub-menu {
        display: none;
    }

    #menu .sub-menu li {
        border-width: 0 0 1px;
    }

    #menu .sub-menu .sub-menu {
        top: 0;
        left: 100%;
    }

    #menu li:hover > input[type="checkbox"] + .sub-menu {
        display: block;
    }
}

@media only screen and (max-width: 900px) {
    #menu {
        display: block !important;
    }

    .hide_logo {
        display: none !important;
    }

    .bio:nth-of-type(1) {
        flex-direction: column-reverse;
        align-items: center;
    }

    .bio:nth-of-type(2) {
        flex-direction: column;
        align-items: center;
    }

    .bio img {
        margin-bottom: 3rem;
    }
}

footer {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 25px;
    border-top: 1px solid #000;
}

@media only screen and (max-width: 1100px) {
    footer {
        flex-direction: column;
    }

    .footer-center, .footer-left {
        margin-bottom: 2rem;
    }
}

footer a {
    margin-right: 8px;
}

footer a:last-of-type {
    margin-right: 0;
}

.contact-footer li {
    margin-bottom: 16px;
}

ol, ul {
    list-style: none;
    padding: 0;

}

.pr-1 {
    padding-right: 1rem;
}

a {
    text-decoration: none;
    color: #000;
}

* {
    box-sizing: border-box;
}


label {
    align-self: flex-start;
    margin-bottom: 5px;
}

input:not([type=radio]), select {
    height: 30px;
}

input:not([type=radio]), textarea, select {
    max-width: 500px;
    width: 100%;
    font-size: 15px;
    padding: 5px;
    margin-bottom: 15px;
}

/* Section css */
section {
    min-height: 400px;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2rem 1.5rem 0.5rem 1.5rem;
}

section > div {
    display: flex;
    align-items: flex-start;
}

.main-page-img {
    width: 50%;
}

.section-text-right {
    margin-left: 1rem;
}

.section-text-left {
    margin-right: 1rem;
}

/* Section css */

/* Card section */
.card-container {
    display: flex;
}

.card-wrapper {
    height: 350px;
    width: 30%;
    margin-right: 5%;
    box-shadow: 0 2px 8px 0 rgba(35, 39, 64, 0.15);
    border-radius: 6px;
}

.card-wrapper:nth-of-type(3) {
    margin-right: 0;
}

.card-wrapper-top img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-wrapper-bottom {
    margin-top: 20px;
}

.card-wrapper-bottom p {
    margin-bottom: 10px;
}

.card-wrapper-bottom .banner-sm {
    color: #fff;
    position: relative;
    padding-top: 2px;
}

.card-wrapper-bottom .banner-sm:after {
    content: '';
    display: inline-block;
    background-color: #633382;
    width: calc(100% + 20px);
    height: 30px;
    top: 0;
    position: absolute;
    z-index: -1;
    left: -10px;
    border-radius: 4px;
}

.banner-text {
    padding-left: 16px;
}

.card-wrapper:nth-of-type(3) {
    margin-right: 0;
}

/* Footer */
footer {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.copyright {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%);
}

.fast-links ul li a {
    display: inline-block;
    padding: 0.5rem 0;
}

#map {
    height: 300px;
    width: 500px;
}

@media only screen and (max-width: 768px) {
    .main-img img {
        min-height: 45vh !important;
    }

    #bios {
        padding: 0;
    }

    #map {
        max-width: 500px;
        width: calc(100vw - 50px);
    }

    .list-normal {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
        list-style-type: none !important;
        padding: 0 1rem !important;
    }

    .list-normal li {
        margin-bottom: 0.75rem !important;
    }
}

@media only screen and (max-width: 500px) {
    .mobile-font {
        font-size: 1rem;
    }
}

/* Footer */

/* FONTS */
.font-20 {
    font-size: 20px;
    line-height: 30px;
}

.font-18 {
    font-size: 18px;
    line-height: 27px;
}

.font-14 {
    font-size: 14px;
    line-height: 21px;
}

.banner {
    position: relative;
    color: #fff;
    line-height: 40px;
}

.banner:after {
    content: '';
    display: inline-block;
    width: calc(100% + 52px);
    background-color: #633382;
    height: 40px;
    position: absolute;
    left: -26px;
    z-index: -1;
    border-radius: 4px;
}

.list {
    padding-left: 40px;
    font-weight: bold;
    list-style-type: circle;
}

.list-normal {
    margin-top: 0;
    padding-left: 40px;
    list-style-type: circle;
}

.list-normal li {
    margin-bottom: 0.5rem;
}

.bio {
    margin-bottom: 3rem;
}

@media only screen and (max-width: 900px) {
    .section-text-right {
        margin-left: 0 !important;
    }

    .mobile-pos-right {
        flex-direction: column;
        align-items: center;
    }

    .mobile-pos-left {
        flex-direction: column-reverse;
        align-items: center;
    }

    .mobile-pos-left img, .mobile-pos-right img {
        margin-bottom: 1.5rem;
    }

    .card-container {
        flex-wrap: wrap;
    }

    .card-wrapper {
        width: 100%;
        margin-right: 0;
        margin-bottom: 4rem;
    }
}