/*
 Theme Name:   Match Engine
 Description:  Child theme based on the Twenty Twenty theme
 Author:       Craig Janson
 Template:     twentytwenty
 Version:      1.0.0
 Text Domain:  matchengine
*/

body {
	background: #f5efe0;
	box-sizing: border-box;
	color: #231f20;
	font-family: "gotham", sans-serif, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 1.3rem;
	letter-spacing: -0.015em;
	text-align: left;
}

.nav-toggle .toggle-icon, .nav-toggle svg {
    height: 3rem;
    width: 3rem;
}

/* FONTS */
.gotham {
    font-family: "gotham", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.centrifuge {
    font-family: "centrifuge";
}

.quatro {
    font-family: "quatro-slab", serif;
    font-weight: 400;
    font-style: normal;
}

.hero {
    position: relative;
    overflow: hidden;
}

.topcorner,
.bottomcorner {
    position: absolute;
    z-index: 10;           /* Ensure corners sit above the slider */
    pointer-events: none; /* Prevent blocking slider interaction */
}

.topcorner {
    top: 0;
    left: 0;
}

.bottomcorner {
    bottom: 0;
    right: 0;

}

/* HERO */
div.hero-subhead div {
    font-family:  "centrifuge", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 14px;
}

div.hero-headline div {
    font-family: "centrifuge", sans-serif !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

div.hero-button div {
    font-family:  "gotham-narrow", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;   
}



#site-footer {
    padding: 0 10%;
}

/* MENU */
.primary-menu ul {
    background: #000;
    border-radius: 0.4rem;
    color: #fff;
    font-size: 1.7rem;
    opacity: 0;
    padding: 1rem 0;
    position: absolute;
    right: 9999rem;
    top: calc(100% + 1.5rem);
    transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
    transform: translateY(0.6rem);
    width: 20rem;
    z-index: 1;
}

ul.primary-menu a,
.modal-menu a {
    color: #506c79 !important;
    line-height: .4em !important;
    font-size: 1em !important;
}

.primary-menu li {
    padding: 20px;
    /* border-right: solid 2px #00a79d; */
    margin: 0 !important;
}

.primary-menu li.current-menu-item > a {
    color: #fff !important;
    text-decoration: none;
}

.primary-menu li.current-menu-item {
    background: #004359;
    background: linear-gradient(130deg,rgba(0, 67, 89, 1) 0%, rgba(0, 139, 139, 1) 100%);
    border-radius: 3px;
}


ul.primary-menu ul li a {
    color: #fff !important;
    line-height: .4em !important;
    font-size: .8em !important;
}

ul.primary-menu ul li:last-child {
    border-right: solid 2px #00a79d !important;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current_page_ancestor {
	text-decoration: none;
    color: #1aa79c !important;
}

.primary-menu li:last-child,
#site-footer li:last-child {
    border-right: none!important;
}

.primary-menu .icon {
    display: block;
    height: 0.2rem;
    position: absolute;
    pointer-events: none;
    transform: rotate(-45deg);
    width: 1.4em;
}

.primary-menu > li > .icon {
    right: .8rem;
    top: calc(50% - 0.4rem);
}

.primary-menu .icon::before {
    height: 0.6rem;
    width: 0.2rem;
}

.primary-menu .icon::after {
    height: 0.2rem;
    width: 0.55rem;
}

.topnav {
    position: absolute;
    right: 3em;
    top: 2em;
    background: #1aa79c;
    padding: 5px 30px;
    border-radius: 30px;
    font-size: 1em;
}

.topnav a,
.topnav a:hover {
    color: #fff;
}

.topnav:hover {
    background: #00bbb0;
}

.topnav li {
    list-style: none;
}

#site-footer li {
    padding: 0px 15px 0 5px;
    border-right: solid 2px #00a79d;
    margin: 0 !important;
    line-height: 1.25!important;
    font-size: .5em !important;
    display: inline!important;
    list-style: none !important;
}

#site-footer ul a {
    color: #fff;
    line-height: .4em;
    text-decoration: none;
}

ul.primary-menu {
    display: flex;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .1em;
    flex-wrap: wrap;
    justify-content: center;
    margin: -0.8rem 0 0 0;
}

.green { color: #bcff59; }
.blue { color: #014359; }
.light-blue { color: #00a79d; }
.gray { color: #506c79; }
.white { color: #fff; }
.teal { color: #00a79e; }
.green-gradient { background: #004359; background: linear-gradient(130deg,rgba(0, 67, 89, 1) 0%, rgba(0, 139, 139, 1) 100%); }
.white-gradient { background-image: url(/wp-content/uploads/bg_white.png); background-repeat: no-repeat; background-size: cover; padding: 50px 0; }
.bg-gray { background: #eff2f3; }

.shadow { box-shadow: 3px 3px 3px 2px rgba(0, 0, 0, 0.3); }
.content-columns {
    display: flex;
}

a.button,
input.wpcf7-submit {
    background-color: #bcff59 !important;
    border-radius: 20px !important;
    color: #000 !important;
    padding: 10px 20px !important;
}

input.wpcf7-submit:hover {
    text-decoration: none;
}

.content-columns .shadow {
    flex: 1;
}


.headline {
    font-size: 6em;
    font-weight: bold;
    line-height: 1em !important
}

.subhead {
    font-size: 2em;
    font-weight: normal;
    line-height: 1em !important
}

.headline p {
    line-height: 1em !important
}

.white-gradient img {
    display: block !important;
}

.star-gradient {
    background-image: url(/wp-content/uploads/bg_stars.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.hexagon {
    color: #fff;
    background-image: url(/wp-content/uploads/hexagon.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-weight: bold;
    text-align: center;
    align-items: center;
    display: flex;
    align-items: center;      /* vertical */
    justify-content: center;  /* horizontal */    
    height: 216px;
}

.interior-box {
    border: solid 1px #bcff59;
    border-radius: 60px;
    padding: 45px 35px !important;
    margin: 0 auto;
    background: #004359;
}

.pum-theme-281 .pum-container, .pum-theme-lightbox .pum-container {
    padding: 18px;
    border-radius: 10px !important;
    border: solid 5px #00a79d !important;
    border: 8px solid #000000;
    box-shadow: 0px 0px 10px 0px rgba(2, 2, 2, .5) !important;
    background: #eff2f3;
}

.plus {
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    align-items: center;
    display: flex;
    align-items: center;      /* vertical */
    justify-content: center;  /* horizontal */    
    height: 216px;
}

.pad-20 { padding: 20px; }
.pad-30 { padding: 30px; }
.pad-40 { padding: 40px; }
.pad-50 { padding: 50px; }

.aligncenter {
    margin: 0 auto;
}

.section-inner.medium {
    max-width: 100%;
}

.entry-header-inner {
    display: none;
    /* width: 100%;
    max-width: 100%;
    margin-left: -92.5px;
    margin-right: -92.5px;
    color: #516c7a !important;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1; */
}

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 90% !important;
    width: calc(100% - 1rem) !important;
}

.footer-widgets-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto;
}

.footer-nav-widgets-wrapper,
#site-footer {
	background-color: #004359;
	color: #fff;
    height: 225px;
}

.footer-widgets-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    display: flex;
    justify-content: center;
}

.home {
    padding: 0 !important;
}

.widget-content {
    font-size: 1.5rem;
}

.footer-widgets {
    margin-left: 0;
    width: 100%;
    padding: 0 10%;
}

.gstm-details, .member-skill { display: none; }
.gs-team-popup--default .gs-member-desc.gs-team--scrollbar {
    max-height: 450px !important;
}

h2.widget-title {
    display: none;
}

h1 { font-size: 3em !important; line-height: 1em !important; }
h2 { font-size: 2em !important; line-height: 1em !important; }

.accordion-tab {
    text-align: center;
    background-color: #e2e6e9;
    padding-top: 15px;
    cursor: pointer;
    border-radius: 5px;
}

.accordion-tab.active {
    background-color: #516c79;
    color: #fff;
}

.year-content {
    background-image: url(/wp-content/uploads/story_octagon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    min-height: 270px;
    min-width: 164px;
    text-align: center;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
}

.year-content h3 {
    color: #bcff59;
}

/* MEDIA QUERIES */


@media (min-width: 1000px) {
    #site-header {
        z-index: 1000;
        height: 140px;
    }

    .header-inner {
        align-items: center;
        display: flex;
        justify-content: flex-start;
        padding: 1.8rem 0;
    }

    .header-titles {
        align-items: baseline;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin: -1rem -16px 10em 0 -2.4rem;
    }  
    
   .header-inner {
        align-items: center !important;
    }

    .site-logo {
        margin: 1rem 5em 0 2.4rem !important;
    }
}

@media (min-width: 700px) {

    .widget .widget-title,
    .entry-title {
        margin-bottom: 1rem;
        font-family: "centrifuge", sans-serif;
        font-weight: bold;
    }

   .entry-content {
        font-family: "gotham", sans-serif;
        font-size: 1.3rem;
    }

   .entry-header-inner {
        font-family: "gotham", sans-serif;
        font-size: 1rem !important;
        margin-top: 5em !important;
        margin-bottom: 2em;
    }

    .entry-content h1, .entry-content h2 {
        margin: 20px 0 0;
        font-family: "centrifuge", sans-serif !important;
        font-weight: bold;
    }

    .entry-content h3, .entry-content h4, .entry-content h5 {
        margin: 0;
        font-family: "quatro-slab", sans-serif;
        font-weight: normal;
    }

    .post-inner {
        padding-top: 0;
    }
    
    .singular .entry-header {
        padding: 0;
        margin: 0;
        background: none;
    }

    .footer-widgets-wrapper {
        width: 100vw;
        margin: 0 auto;
        display: block;
        justify-content: center;
    }

   .footer-widgets-outer-wrapper {
        padding: 3rem 0;
    }

    .site-logo img {
        max-height: 10rem;
    }

    .footer-copyright
    {
        font-weight: 500;
        font-size: .7em;
    }

    #site-footer {
        font-size: 1.3rem;
        padding: 4.3rem 0;
    }

    .footer-top-hidden #site-footer {
        margin-top: 0;
    }
}

@media (max-width: 699px) {
    .topcorner,
    .bottomcorner { display:none !important; }
}

@media (max-width: 600px) {

    h1,h3 { font-size: 2em !important; line-height: 1em !important; }

    .entry-content {
        font-family: "gotham", sans-serif;
        font-size: 1.3rem;
    }

    /* SPECIFIC TO SLIDER */
    div#n2-ss-2item2 {
        font-size: 275% !important;
    }


    #site-footer ul {
        display: none;
    }

    #site-footer .footer-copyright {
        font-size: 12px !important;
    }   

    div.hero-subhead div {
        font-size: 14px;
    }

    .headline {
        font-size: 170%;
        line-height: 1em !important
    }

    .hexagon {
        color: #fff;
        background-image: url(/wp-content/uploads/hexagon.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        font-weight: bold;
        text-align: center;
        align-items: center;
        display: flex;
        align-items: center;      /* vertical */
        justify-content: center;  /* horizontal */    
        height: 216px;
    }

    .plus {
        height: 15px;
    }    

    .footer-top-hidden #site-footer {
        margin-top: 0;
    }

    #site-footer {
        padding-top: 50px;
    }

    .topnav {
        right: 0;
        top: 0;
        left: 0;
        text-align: center;
        border-radius: 0;
    }

    .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
        margin: 0.5rem auto 0rem;
    }

    .post-inner {
        padding-top: 0rem;
    }

    .header-inner {
        padding: 3.15rem 0 1em 0;
    }
}

@supports ( font-variation-settings: normal ) {

	.entry-content h1,
	.entry-content h2,
	.entry-content h3,
	.entry-content h4,
	.entry-content h5,
	.entry-content h6 {
		font-family: "Centrifuge", Helvetica, sans-serif !important;
	}
}