/*
 Theme Name:   mtac-2026
 Template:     mtac
 Author:       Simon Hardacre
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  mtac
*/

body {
    background-image: none;
    margin: 0;
    padding: 0;
    
    font-family: roboto, sans-serif;
    font-weight: 400;
    font-style: normal;
    
    font-size: 90%;
}
b, strong {
    font-weight: 700;
}
i, em {
    font-style: italic;
}
#site-navigation ul li {
    font-family: canada-type-gibson, sans-serif; 
    font-weight: 600;
    font-style: normal;
}
header .mainTitle .spacetime {
    font-family: canada-type-gibson, sans-serif; 
    font-weight: 600;
    font-style: normal;
    text-align: center;
}
.content h1,
.content h2,
.content h3,
.accordion .ui-accordion-header-active, .ui-accordion .ui-accordion-header-active
 {
    font-family: canada-type-gibson, sans-serif; 
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    
    margin-top: 3em;
    margin-bottom: 0;
    
    text-align: center;
    font-size: 22pt;
}
button, .button {
    font-family: montserrat, sans-serif;
    font-weight: 700;
    font-style: normal
}

#content a {
    font-weight: bold;
    text-decoration: underline;
}

.content {
    width: 100%;
    max-width: 100% !important;
    padding: 0 !important;
}

body .content hr {
    color: #FF2121;
    background-color: #FF2121;
    border-color: #FF2121;
    width: 3em;
    margin: 1em auto;
}

.content p,
.content h3,
.content table,
.content ul,
.content ol,
.content h2,
.content h3,
.content .ngg-albumoverview,
.content-area
{
    width: 1000px;
    max-width: 90%;
    margin: 0 auto 1em;
}
.content p h2,
.content p h3 {
    width: auto;
    max-width: none;
    margin-left: 0;
}
.content h2 {
    font-size: 18pt;
    text-align: left;
    margin-top: 1em;
}
.content h3 {
    font-size: 16pt;
    text-align: left;
}



/*** Navigation ***/

#site-navigation {
    background-color: black;
    color: white;
}

#site-navigation ul {
    margin-bottom: 0 !important;
    background-color: transparent;
}

#site-navigation .logo {
    height: auto;
    width: auto;
    max-width: 100%;
}
#site-navigation ul .logoInNav {
    display: none;
}

#masthead {
    position: relative;
    height: auto;
}

.mobileNav { display: none; }

/* mobile */
@media screen and (max-width: 1024px) {
	.mobileNav { display: block; }
    .menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}
	.main-navigation ul {
		display: none;
	}

    #langToggle { display: block !important; }

    #site-navigation {
        z-index: 100; /* this is really for flagging the use of this media query in JS */
    }
    
    #site-navigation .logoArea {
        padding-right: 0;
        padding-left: 65px;
        box-sizing: border-box;
        height: 100%;
        box-shadow: none;
		width: calc(100vw - 200px);
    }
    /*
	#site-navigation .logo {
        height: 150%;
        width: auto;
        margin: 0;
    }
	*/
	#site-navigation > .logoArea { display: none; }
	.mobileNav .logoArea {
		display: flex;
		align-items: center;
	}
    
    #site-navigation .mobileNav {
        height: 195px; /* height of burger + burger padding */
    }
    
    #site-navigation .burger {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        z-index: 2;
        background-color: transparent;
        padding: 75px;
        cursor: pointer;
        border-left: none;
    }

        #site-navigation .burger .patty {
            position: relative;
            z-index: 2;
            width: 50px;
            height: 10px;
            margin-bottom: 5px;
            background-color: white;
        }

    /* menu */
    #site-navigation ul {
        display: none; /* huh? */
		position: fixed;
		z-index: 3;
        width: 30em;
        max-width: 100%;
        height: auto;
        top: 0;
        right: 0;
        left: auto;
        margin: 0;
        padding: 0;
        padding-left: 2vw;
        text-align: left;
        background-color: white;
        border: 2px solid black;
    }

        #site-navigation ul li {
            float: right;
            clear: right;
            white-space: normal;
            margin: 0;
            font-size: 2vw  !important;
            line-height: 1.5;
            padding: 1vw;
            width: 100%;
        }

            #site-navigation ul li a,
            #site-navigation ul li a.langLink {
                margin: 0 0.5em;
                padding: 0.5em 0;
                color: rgb(65, 64, 66);
            }

            #site-navigation ul li:hover { background-color: rgb(65, 64, 66); }
            #site-navigation ul li:hover a,
            #site-navigation ul li:hover a:hover { color: white; }

    #site-navigation .navbgBar { display: none; }
    
    /* sticky nav */
    body { background-color: black; }
    #page { background-color: white; height: auto; }
    #site-navigation .mobileNav {
        transition: height 0.5s;
        background-color: rgba(0,0,0,0.5);
        position: fixed;
        top: 0;
        z-index: 1;
        width: 100%;
    }
    header .mainTitle {
        margin-top: 195px; /* original height of #site-navigation .mobileNav */
    }
    /*
	.scrolled #site-navigation .mobileNav {
        height: 100px;
    }
	.scrolled #site-navigation .logo {
        height: 200px;
        max-height: 20vh;
    }
    #site-navigation .logo {
        transition: height 0.5s;
    }
    #site-navigation .burger {
        transition: padding 0.5s;
    }
	.scrolled #site-navigation .burger {
        padding-top: 25px;
        padding-bottom: 25px;
    }
	*/
    

    .accordion .ui-accordion-header-active, .ui-accordion .ui-accordion-header-active { padding-top: 19.6875em !important; }

    /* home page */
    #page25 .ui-accordion-header-active { padding-top: 15.75em !important; }
}
@media screen and (max-width: 500px) {
    #site-navigation .logo {
        height: 100%;
        max-width: 50vw;
    }
}
@media screen and (max-width: 400px) {
    #site-navigation .logoArea {
        padding-left: 20px;
    }
    #site-navigation .burger {
        padding-right: 20px;
    }
}


/* desktop */
@media screen and (min-width: 1025px) {

    #site-navigation ul {
        width: 100%;
        height: 220px;
        border-bottom: none;
        
        display: flex;
        justify-content: center;
        align-items: center;
        
        padding: 0;
        margin: 0;
        font-size: 1rem;
    }
    
    #site-navigation ul::after {
        display: none;
    }
    
    #site-navigation ul li {
        margin: 0 0.5em;
        font-size: 16pt;
        z-index: 420;
    }
    
    #site-navigation ul li a,
    #site-navigation ul li a.langLink  {
        color: white;
        border-bottom: 1px solid transparent;
    }
    
    #site-navigation ul li a.active,
    #site-navigation ul li a:hover,
    #site-navigation ul li a.langLink:hover  {
        text-decoration: none;
        border-bottom: 1px solid #FF2121;
        color: white;
        box-sizing: border-box;
    }

    #site-navigation ul span.logoInNav {
        display: inline;
        width: 20vw;
        /*max-width: 405px;*/
        max-width: 350px;
        flex-shrink:0;
        
        padding: 0;
        margin: 0;
        z-index: 419;
        
        align-self: flex-start;
    }
    #site-navigation ul span .logo {
        height: auto;
        margin-bottom: 0px;
    }

    /*
	#site-navigation .logoArea {
        display: none;
    }
	*/
    
    /* sticky nav */
    body { background-color: black; }
    #page { background-color: white; height: auto; }
	#masthead {
		background-color: black;
		overflow: auto; /* prevent margin collapse */
	}
    #site-navigation {
        transition: height 0.5s;
        background-color: rgba(0,0,0,0.8);
        position: fixed;
		width: 100%;
		height: auto;
    }
	#site-navigation ul {
		position: relative;
		height: auto;
		padding: 25px 0;
		
		transition: padding 0.5s;
	}
	#site-navigation .logoArea {
		box-shadow: none;
	}
	/*#site-navigation .logo {
		height: 70px; /* can't transition from auto */
		/*transition: height 0.5s;
	}*/
	/*
    #site-navigation ul span.logoInNav {
        transition: width 0.5s;
    }
	*/
    header .mainTitle {
        margin-top: 190px; /* original height of #site-navigation ul */
    }
    /*
	.scrolled #site-navigation {
        height: 190px;
    }
	*/
	/*
	.scrolled #site-navigation .logo {
		height: 35px;
	}
	.scrolled #site-navigation ul {
		padding-top: 5px;
	}
	*/
	/*
    .scrolled #site-navigation ul span.logoInNav {
        width: 10vw;
        align-self: flex-start;
    }
	*/
}
@media screen and (max-width: 1800px) {
    .lang_fr #site-navigation ul li {
        font-size: 1.1vw;
    }
}
@media screen and (max-width: 1680px) {
    #site-navigation ul li {
        font-size: 1.3vw;
    }
}
@media screen and (max-width: 1280px) {
    #site-navigation ul span.logoInNav {
        width: 15vw;
        margin: 0;
        align-self: center;
    }
}



header .mainTitle {
    background-image: url("img/fairmont-banff-springs-1400.jpg");
    background-position: center 60%;
	background-repeat: no-repeat;
	background-size: cover;
    height: 40vw;
	margin-top: 190px;
}
@media screen and (max-width: 1024px) {
    header .mainTitle {
        height: calc(100vh - 195px); /* 195 is .mobileNav height */
		margin-top: 195px;
		background-size: cover;
	}
}

header .mainTitle .subtitle,
header .mainTitle .subtitle.fr {
    font-size: 3.5em;
    line-height: 1.3;
    padding-left:0;
}
@media screen and (max-width: 1024px) {
    header .mainTitle .subtitle,
    header .mainTitle .subtitle.fr {
        font-size: 2.5em;
    }
}


/*** Content / accordions ***/
#content {
    min-height: auto;
}
.home.page .accordion > .page {
    min-height: auto !important;
}

.accordion > .page                   { display: none; }
.accordion > .page.expanded { display: block; }

/* what is with those giant top paddings? */
.mtac-2020 .accordion .ui-accordion-header-active,
.mtac-2020 .ui-accordion .ui-accordion-header-active,
.mtac-2020 #page25 .ui-accordion-header-active,
.mtac-2020 .ui-accordion-header-active {
    padding-top: 0px  !important;
}

.ui-accordion .ui-accordion-header {
    display: none !important;
}
.ui-accordion .ui-accordion-header-active {
    /*display: block !important;*/
}
.ui-accordion-content-active {
    font-size: 1.25em;
}

.accordion > .page { margin-top: 0; }
.accordion > .page.expanded { padding-top: 0; }

#page25 .ui-accordion-content-active h1:first-child {
    margin-top: 3em;
}


/*** footer ***/
footer.site-footer {
    background-color: white;
    color: #414042;
    padding: 2em 0;
    
    width: 1000px;
    max-width: 100%;
    margin: 100px auto 0;
}
footer.site-footer .logo img {
    width: 16em;
    height: auto;
    margin-left: 0;
}

footer.site-footer .site-info {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    margin: 0;
    padding: 0 1em;
    
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 25px;
}
@media (min-width: 1024px) {
    footer.site-footer .site-info {
        padding-left: 0;
        padding-right: 0;
    }
}
footer.site-footer .site-info .showCan > span.tagline {
    font-size: 1em;
}
footer.site-footer .site-info .showCan > span.copyright {
    font-size: 0.75em;
    margin-top: 1em;
    display: block;
}

footer.site-footer .social {
    display: flex;
    align-items: center;
}
footer.site-footer .social-follow {
    /*color: #b3b3b3;
    font-weight: 300;
    font-style: italic;*/
    padding-right: 5px;
    font-size: 1.1em;
}
footer.site-footer .social-icon {
    display: inline-block;
    width: 82px;
    height: 52px;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
}
/*
footer.site-footer .social-icon.facebook { background-image: url(/wp-content/themes/mtac-2020/img/facebook.png); }
footer.site-footer .social-icon.twitter   { background-image: url(/wp-content/themes/mtac-2020/img/twitter.png); }
*/
footer.site-footer .social-icon.facebook { background-image: url(/wp-content/uploads/2019/05/f_logo_RGB-Blue_250.png); }
footer.site-footer .social-icon.twitter   { background-image: url(/wp-content/uploads/2018/05/Twitter_Logo_Blue-e1581441086525.png); }
footer.site-footer .social-icon.instagram   { background-image: url(/wp-content/uploads/2020/02/IG_Glyph_Fill.png); }

footer.site-footer .copyright {
    width: 100%;
    text-align: center;
    
    font-family: montserrat, sans-serif;
}

/* Mailchimp form */
#mc_embed_signup {
    margin-left: 1em;
}
#mc_embed_signup_scroll {
    display: flex; /* vertical alignment issues with input & button */
}
#mce-EMAIL {
    height: 45px;
    padding: 0 20px;
    font-family: roboto, sans-serif;
    border: 1px solid #e7e7e7;
}
#mce-EMAIL::placeholder {
    font-weight: 300;
    font-style: italic;
    color: #b3b3b3;
    opacity: 1.0;
}
#mc-embedded-subscribe {
    color: white;
    background-color: black;
    text-transform: uppercase;
    
    height: 45px;
    padding: 0 20px;
    
    border: 1px solid black;
    border-radius: 0;
    
    box-sizing: content-box;
    
    cursor: pointer;
}

@media (max-width:1024px) {
    footer.site-footer .site-info {
        flex-wrap: wrap;
    }
    footer.site-footer .site-info > div {
        width: 100%;
        text-align: center !important;
        padding-bottom: 3em;
        justify-content: center;
    }
    footer.site-footer .social {
        flex-wrap: wrap;
    }
    #mc_embed_signup {
        width: 100%;
        margin: 3em auto;
    }
    #mc_embed_signup_scroll {
        display: block;
    }
}



/* Sponsors */

.sponsors-wrapper {
    background-color: #f8f8f8;
}
.sponsors-wrapper h1 {
    padding-top: 1em;
}
.sponsors {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    
    margin-top:40px;
}
.sponsors img {
    display: block;
    width: 15%;
    max-width: 200px;
    margin-right: 5%;
    margin-bottom: 40px;
	box-sizing: border-box;
}
.sponsors img:last-child {
    margin-right:0;
}
.sponsors img.small {
    max-width: 175px;
	padding: 5px;
}
.sponsors img.smaller {
    max-width: 150px;
	padding: 10px;
}
.sponsors img.large {
	width: 20%;
	max-width: 250px;
}
.sponsors img.larger {
	width: 25%;
	max-width: 300px;
}
@media (max-width:800px) {
	.sponsors img {
        width: 25%;
    }
    .sponsors img.small {
		padding: 10px;
	}
	.sponsors img.large {
		width: 33%;
		max-width: 250px;
	}
	.sponsors img.larger {
		width: 33%;
		max-width: 300px;
	}
}
.sponsors a {
    display: block;
    margin-right: 5%;
    margin-bottom: 40px;
}
.sponsors a img {
    margin-right: 0;
    margin-bottom: 0;
}



/* Schedule */
.tabs-wrapper {
    width: 100%;
    position: relative;
    
    color: #000000; /* override site grey */
}
.tab-container {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    color: #ffffff;
}
.tab-container .tab {
    cursor: pointer;
    
    padding: 15px 5px;
    
    width: 25%;
    background-color: #00781F; /* green */
    border-right: 1px solid white;
    
    text-align: center;
    
    opacity: 0.8; /* overridden by active/hover */
}
.tab-container .tab:last-of-type {
    border-right: 0px none;
}
.tab-container .tab:hover,
.tab-container .tab.active {
    font-weight: bold;
    opacity: 1.0;
}

.tab-content h3 {
    background-color: #0050B1; /* blue */
    color: #ffffff;
    text-align: center;
    font-size: 140%;
    
    padding: 15px;
    margin-top: 0;
    margin-bottom: 15px;
}

.event {
    width: 100%;
    display: flex;
    justify-content: space-between;
    
    border-bottom: 2px solid #0050B1; /* blue */
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.event .info {
    width: 40%;
    
    padding-right:10px;
    box-sizing: border-box;
}
.event .detail {
    width: 60%;
}

.event .info .time {
	display: block;
    font-size: 110%;
}
.event .info .place {
	display: block;
    font-size: 90%;
}
.event .detail .title {
	display: block;
    font-weight: bold;
    font-size: 110%;
}

a.scrollToTop {
    cursor: pointer;
}

#Schedule div.sponsors{justify-content:left; margin:0; padding:0;}
#Schedule div.sponsors{margin-bottom:40px;}
#Schedule div.sponsors img{margin-bottom:0;}



/* tradeshow exhibitors */
ul.exhibitors {
/*
    display:flex;
    flex-wrap: wrap;
    */
    
    box-sizing:border-box;
    width: 100%;
    float: none;
    
    margin:0;
}
/*
ul.exhibitors li {
    box-sizing:border-box;
    padding-right:10px;
}
*/
@media screen and (min-width: 1025px) {
    ul.exhibitors {
        width: 50%;
        float: left;
    }
}


/* galleries */
.content .ngg-album-compact {
    width: 110px;
}



/*** blog image/text boxes ***/
article .image-box {
    position: relative;
    padding-bottom: 100%;
}
article .image-box .image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left: 0;
    width:100%;
    height:100%;
}
article .image-box .image img {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left: 0;
    width:100%;
    height:100%;
}
img.hideImg {
    opacity: 0;
}
article .text-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/*** blog index ***/
#primary { /* reset from parent */
    float: none;
    width: auto;
}
.blog-index * {
    box-sizing: border-box;
    transition: all 0.4s ease;
}
.blog-index main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    width: 1000px;
    max-width: 90%;
    margin: 0 auto 1em;
}
.blog-index article {
    width: 27.33%;
    position:relative;
    /*display: inline-block;*/
    margin-left: 9%;
    margin-bottom: 9%;
}
.blog-index article:nth-child(3n+1) {
    margin-left: 0;
}
.blog-index article .image-box {
    margin-bottom: 34%;
    padding-bottom: 130%;
    
    background-color: #333;
    
    overflow: hidden;
}
.blog-index article .text-box {
    bottom: 0;
    left: 7%;
    width: 86%;
    padding: 0 7%;
    
    background-color: #000;
    color: #fff;
    
    text-align: center;
}
.blog-index article .text-box .inner {
    padding: 14% 0 16%;
}
.blog-index article .text-box .inner h3 {
    font-size: 27px;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
    margin: 0;
}
/*
.blog-index article .text-box .inner h3 a {
    color: #fff;
    text-decoration: none !important;
    
    transition: all 0.2s ease;
}
.blog-index article .text-box .inner h3 a:hover {
    color: #ccc;
}
.blog-index article .text-box .inner a.btn {
    display: inline-block;
    position: relative;
    padding: 6px 1px;
    color: #fff;
    font-size: 12px;
    line-height: 1.33;
    letter-spacing: 6px;
    text-transform: uppercase;
}
*/
.blog-index article a:hover h3 {
    color: #ccc;
}
.blog-index article a:hover .image-box .image {
    width: 104%;
    height: 104%;
    left: -2%;
    top: -2%;
}
@media (max-width: 1024px) {
    .blog-index article .image-box {
        margin-bottom: 0;
    }
    .blog-index article .text-box {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }
    .blog-index article .text-box .inner h3 {
        font-size: 2.6vw;
    }
}
@media (max-width: 846px) {
    .blog-index article .text-box .inner h3 {
        font-size: 22px;
    }
}
/* 1-col */
.blog-index article {
    width: 100%;
    margin-left: 0;
    margin-bottom: 5%;
}
@media (min-width: 481px) { /* 2-col */
    .blog-index article {
        width: 47.5%;
        margin-left: 5%;
    }
    .blog-index article:nth-child(3n+1) {
        margin-left: 0;
    }
}
@media (min-width: 801px) { /* 3-col */
    .blog-index article {
        width: 27.33%;
        margin-left: 9%;
    }
    .blog-index article:nth-child(3n+1) {
        margin-left: 0;
    }
}

/*** blog single ***/
.single-post header .mainTitle {
    height: 0;
}
.single-post header .mainTitle div.spacetime {
    display: none;
}
.single-post article img {
    max-width: 100%;
    height: auto;
}
.single-post article header {
    max-width: 1200px;
    margin: 0 auto;
}
.single-post article header .image-box {
    /*padding-bottom: 56.25%; /* 16:9 */
    /*padding-bottom: 42.86%; /* 21:9 */
    padding-bottom: 28.125%; /* 32:9 */
}
.single-post article header .text-box {
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    align-items: end;
    
    background-color: rgba(0,0,0,0.2); /* darken bg image for text readability */
}
.single-post article header .text-box .inner {
    /* align end not working in chrome */
    position: absolute;
    bottom: 0;
}
.single-post article header h1.entry-title {
    color: #fff;
    text-align: center;
    text-transform: none;
    margin: 0 0 10px;
    font-size: 50.4px;
    line-height: 1.1;
}
.single-post article header .entry-date {
    color: #fff;
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
@media (max-width: 1024px) {
    .single-post article header h1.entry-title {
        font-size: 4.9vw;
    }
    .single-post article header .entry-date {
    
    }
}
@media (max-width: 480px) {
    .single-post article header h1.entry-title {
        font-size: 23.5px;
    }
    .single-post article header .entry-date {
        font-size: 14px;
    }
    
    #primary.content-area {
        width: 90% !important; /* override parent */
    }
}
.single-post .entry-content {
    font-size: 1.5em;
}
.single-post .entry-footer {
    width: 1000px;
    max-width: 90%;
    margin: 50px auto 0;
}
.single-post .entry-footer-inner {
    display: inline-block;
    /*border-top: 1px solid #ddd;*/
    padding-top: 0.5em;
    font-style: italic;
}

.w150 { width: 150px; }

.page .ui-accordion-content-active {
	font-size: 1.25em;
}

/*
footer.site-footer .social {
	justify-content: center;
	margin-bottom: 50px;
}
footer.site-footer .site-info {
	justify-content: center;
}
*/
footer.site-footer #mc_embed_signup_scroll {
	text-align: center;
}

/* 2021 logo */
#site-navigation ul span.logoInNav { display: none; }

body { background-color: white; }
#site-navigation ul span.logoInNav { display: none; }
@media (min-width: 1024px) {
	#site-navigation {
		height: 200px;
		transition: height 0.5s;
	}
	.scrolled #site-navigation {
		height: 150px;
	}
	#site-navigation ul {
		box-sizing: border-box;
		height: 100%;
	}
	#site-navigation .logoArea { display: none; }
	#site-navigation ul span.logoInNav {
		display: block;
		height: 100%;
		width: auto;
		margin: 0 20px;
	}
	#site-navigation ul span.logoInNav a {
		display: block;
		height: 100%;
	}
	#site-navigation ul span.logoInNav a img.logo {
		height: 100%;
		width: auto;
	}
	
	header .mainTitle { margin-top: 200px; } /* navbar height */
	
	#masthead { background-color: white; }
	#site-navigation {
		background-color: transparent;
		background-image: linear-gradient(white, rgba(255,255,255,0.7));
	}
	#site-navigation ul li a, #site-navigation ul li a.langLink { color: black; }
	#site-navigation ul li a.active, #site-navigation ul li a:hover, #site-navigation ul li a.langLink:hover { color: black; }	
}
#site-navigation .mobileNav { background-color: rgba(255,255,255,0.7); }
#site-navigation .burger .patty { background-color: black; }
#site-navigation .mobileNav .logoArea { height: 100%; }
#site-navigation .mobileNav .logoArea a { height: 100%; }
#site-navigation .mobileNav .logoArea a .logo { height: 100%; }


/* 2023 schedule */
#Schedule {
	max-width: 90%;
	margin: 0 auto 1em;
}
#Schedule .tab-container {
	justify-content: left;
}
#Schedule .tab-container .tab {
	opacity: 1.0;
	background-color: #527094;
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;
}
	#Schedule .tab-container .tab.active, #Schedule .tab-container .tab:hover {
		background-color: #051840;
	}
#Schedule .tab-content h3 {
	background-color: #e4cea9;
	color: #051840;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0 0 15px;
}
#Schedule .tab-content h3 sup {
	text-transform: none;
}
#Schedule div.sponsors img {
	width: calc(33% - 25px);
	max-width: 250px;
	margin-right: 25px;
	margin-bottom: 25px;
}
#Schedule div.sponsors img.small {
	max-width: 200px;
}
#Schedule div.sponsors img.smaller {
	max-width: 175px;
}
#Schedule div.sponsors-large img {
	width: calc(50% - 25px);
	max-width: 275px;
}
#Schedule div.sponsors-med img {
	width: calc(25% - 25px);
	max-width: 175px;
}
#Schedule div.sponsors-small img {
	width: calc(20% - 25px);
	max-width: 120px;
}
#Schedule div.sponsors.extra-space img {
	margin-right: 50px;
	width: calc(33% - 50px);
}
#Schedule div.sponsors-med.extra-space img {
	width: calc(25% - 50px);
}
#Schedule div.sponsors-small.extra-space img {
	width: calc(20% - 50px);
}
@media (max-width: 800px) {
	#Schedule div.sponsors img {
		width: 100%;
	}
	#Schedule div.sponsors-med img {
		width: 75%;
	}
	#Schedule div.sponsors-small img {
		width: calc(50% - 25px);
	}
	#Schedule div.sponsors.extra-space img {
		width: 100%;
		margin-right: 0;
	}
	#Schedule div.sponsors-med.extra-space img {
		margin-right: 25px;
		width: calc(50% - 25px);
	}
	#Schedule div.sponsors-small.extra-space img {
		margin-right: 25px;
		width: calc(50% - 25px);
	}
}
#Schedule p {
	width: auto;
	margin: 0 0 15px;
}
#Schedule .event .detail .title {
	margin-bottom:15px;
}
#Schedule .event {
	border-bottom: 1px solid #ddd;
}
/* getting empty p's that are messing with flex spacing... */
#Schedule .event > p {
	display: none;
}
.event p.supported {
	font-size:80%;
}
.event p.supported img {
	width: 120px;
}

/* special 2-col */
.row {
	display: flex;
}
.row .col-50 {
	width: 50%;
	position: relative;
}
#Schedule .row .col-50 div.sponsors {
	position: relative;
	top: calc(50% - 40px); /* 40px = roughly 1 line of text with p margin */
	transform: translateY(-50%);
}
#Schedule .row .col-50 div.sponsors-med img {
	width: calc(50% - 25px);
}
#Schedule .row .col-50:nth-of-type(2) {
	left: -20%;
}
@media (max-width: 800px) {
	#Schedule .row .col-50 div.sponsors-med img {
		width: calc(100% - 25px);
	}
	#Schedule .row .col-50:nth-of-type(2) {
		left: 0;
	}
}

#Schedule div.sponsors.less-margin {
	margin-bottom: 20px;
}

@media (max-width: 800px) {
	#Schedule .row {
		flex-direction: column;
	}
}


/* gallery */
.accordion .ui-accordion-header-active, .ui-accordion .ui-accordion-header-active {
	padding-top: 0 !important;
}


/* 2024 */
/* logo above nav */
#site-navigation .logoArea { display: block; padding-bottom:0; }
#site-navigation .logoArea img { transition: height 0.5s; height: 96px; }
#site-navigation ul span.logoInNav { display: none; }
#site-navigation { height: auto !important; }
.scrolled #site-navigation { height: auto !important; }
.scrolled #site-navigation .logoArea img { height: 50px; }

/* mobile nav tweaks */
#site-navigation .mobileNav .logoArea a .logo { width: auto; height: auto; }
@media (max-width: 1024px) {
	#site-navigation > .logoArea { display: none; }
	#site-navigation .mobileNav {
		height: auto;
		padding: 20px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		box-sizing: border-box;
	}
	#site-navigation .mobileNav .burger {
		position: relative;
		padding: 0;
		order: 2;
	}
	#site-navigation .mobileNav .logoArea {
		height: auto;
		width: auto;
		padding: 0;
		max-width: 280px;
	}
	header .mainTitle { margin-top: 140px; }
	#site-navigation ul { /*width: auto;*/ text-align: center; }
	#site-navigation ul li { font-size: max(2vw, 12px) !important; padding: 1em; }
	#site-navigation ul li a { display: block; }
}


#page25 .ui-accordion-content-active { font-size: 1.5em; }

.red, body .content hr { color: #C8062A; }
@media screen and (min-width: 1025px) {
	#site-navigation ul li a.active, #site-navigation ul li a:hover, #site-navigation ul li a.langLink:hover {
		border-bottom-color: #C8062A;
	}
}

.awards .sponsors, .hotels .sponsors {
	width: 1000px;
	max-width: 90%;
	padding: 0;
	justify-content: flex-start;
}
.awards .sponsors img, .hotels .sponsors img {
	width: 12%;
	margin-right: 4%;
}
.awards .sponsors > br { display: none; }
.awards .heading, .hotels .heading {
	color: #414042;
	font-size: 110%;
}

#secondary { display: none; }

