/* ========================================================================================

MD19 Lions Clubs International

MD19 Convention Sub Site

This is in addition to the coreStyles style sheet

Revised November, 2022


Standard colors (rgb):
    LCI gold: 255, 204, 0 or ebb700
    LCI blue: 0, 77, 153 or 00338d
    LCI gray: 85, 86, 90 or 766a62
    LCI red: 204, 51, 51 or 673227
    LCI purple: 98, 37, 103 or 622567

Screen sizes:
    1200px/13 = 92.3 em
    1140/13 = 87.69 em
    1024px/13 = 78.8 em
    960px/13 = 73.84 em
    800px/13 = 61.5 em
    768 px/13 = 59.079 em

J. D. Nellor

======================================================================================== */


/* BASIC PAGE SETUP */

    *, *:before, *:after {
        box-sizing: border-box; 
    }

    /*html {
        
    }*/

    body { 
        font-family: "Helvetica Nue", Helvetica, Arial, Verdana, sans-serif;
        font-size: 100%;
        color: #000;
        margin: 0 auto;
        padding: 0 2em; /* white space around the page */
        width: 80em;
    }

    article,aside,details,figcaption,figure,
    footer,header,menu,nav,section { 
        display: block; 
    }

/* GROUPS */

    .group {
        margin: 24px 0;
    }

    .group:before,
    .group:after {
        content: "";
        display: table;
    } /* For clearfix */

    .group:after {
        clear:both;
        } /* For clearfix */

/* COLUMNS */

    .col {
        display: block; /* probably not necessary */
        float:left;
        margin: 0 0 0 1.6%;
    } /* for the grids to work */

    .col:first-child {
        margin-left: 0; /* for the grids to work */
        /*padding: 0 16px 0 0;*/ /* Adds more space to right margin on pages with 2 columns. This was shrinking the first column in dsiplays with more than 2 columns*/
    }

/* CONTAINERS */

    header {
        position: relative;
        overflow: auto;
        /*margin: 40px 0 0 0;*/
        /*padding-bottom: 40px;*/
        /*border-bottom: 1px solid rgba(0, 0, 0, 1);*/
    }

    #masthead {
        position: relative;
        text-align: center;
    }

    .top-left {
        position: absolute;
        top: 13%;
        left: 18px;
        width: 33%;
        background-color: rgba(0, 0, 0, .2);
        padding: 24px;
        z-index: 995;
    }

    .top-centered {
        position: absolute;
        top: 125px;
        left: 0;
        transform: translate(0, 0);  /* what does this do? */ 
        width: 100%; 
        text-align: center;
        z-index: 990;
    } /* header needs to be set to relative position to keep this from resizing with window */

    .top-right {
        position: absolute;
        top: 13%;
        right: 18px;
        width: 33%;
        background-color: rgba(0, 0, 0, .2);
        padding: 24px;
        z-index: 985;
    }

    .bottom-left {
        position: absolute;
        bottom: 6%;
        left: 18px;
        width: 40%;
        background-color: rgba(0, 0, 0, .4);
        padding: 24px 48px;
        z-index: 980;
    }

    .bottom-centered {
        position: absolute;
        bottom: 3%;
        left: 50%;
        -webkit-transform: translate(-50%, -3%); /* This is for older browsers */
        -moz-transform: translate(-50%, -3%); /* This is for older browsers */
        -o-transform: translate(-50%, -3%); /* This is for older browsers */
        -ms-transform: translate(-50%, -3%); /* This is for older browsers */
        transform: translate(-50%, -3%);
        z-index: 975;
    }

    .bottom-right {
        position: absolute;
        bottom: 6%;
        right: 18px;
        width: 40%;
        background-color: rgba(0, 0, 0, .4);
        padding: 24px 48px;
        z-index: 970;
    }

    footer {
        margin: 0 0 2em 0;
        padding: 24px 0;
        font-size: .8rem;
        border-top: 1px solid rgba(179, 178, 177, 1);
        border-bottom: 1px solid rgba(179, 178, 177, 1);
        /* background-color: rgba(0, 77, 153, 1); */
        /* border-radius: 4px; */
    }

    #convention figure {
        margin: 0;
        padding: 16px;
        border: 1px solid rgba(255, 204, 0, 1);
        background-color: rgba(255, 255, 255, 1);
        /*background-color: rgba(255, 204, 0, 1);*/
        box-shadow: 6px 6px 12px 0 rgba(0, 0, 0, .1);
    }

    #convention figure:hover {
        border: 2px solid rgba(255, 92, 53, 1);
        color:  white;
        /*box-shadow: 6px 6px 12px 0 rgba(0, 0, 0, .1);*/
    }

    #convention figure:active {
        opacity: .5;
    }

    #convention figcaption {
        font-size: 1rem;
        font-weight: 00;
        /*text-transform: uppercase;*/
        text-align: center;
        padding-top: 12px;
    }

    #convention a figcaption {
        /*color: blue;*/
        color: rgba(0, 0, 0, 1);
    }

    /*#convention figcaption span {
        color: rgba(2550, 0, 0, 1.0);
        font-weight: 600;
    }*/


/* THE COUNTDOWN TIMER */

    #countdown {
        font-size: 2em;
        font-weight: 600;
        margin: 0;
        line-height: 1em;
        /*color: rgba(255, 255, 255, 1);*/
        text-shadow:
            /* White glow */
            0 0 7px #fff,
            0 0 10px #fff,
            0 0 21px #fff,
            /* Green glow */
            0 0 42px #0fa,
            0 0 82px #0fa,
            0 0 92px #0fa,
            0 0 102px #0fa,
            0 0 151px #0fa;
    }

    #countdown span {
        font-size: 60%;
        font-weight: 600;
        }



/* MODALS */

    .modal {
        display: none;
        position: fixed;
        z-index: 999;
        padding-top: 4em;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .6);
        }

    .overlay {
        display: inline-block;
        }

    .modal-content {
        position: relative;
        background-color: rgba(255, 255, 255, 1.0);
        margin: auto;
        padding: 0 2em;
        border: 1px solid rgba(0, 0, 0, 1.0);
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        width: 70%;
        max-height: 90%;
        overflow: auto; /* This puts the scrollbar in the content window */
        }

    /*input[type=checkbox] {
        position: absolute;
        clip: rect(0 0 0 0);
        }*/


    [id^="modal"]:target {
        display: block;
        /*z-index: 999;*/
        } /* target is the place clicking the button goes --  what pops up -- ^ selects all id's that start with the letters "modal" -- this replaces the seperate selectors for each target */


    .modal-header {
        /*margin: 0 0 3em 0;*/
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        }

    .modal-header a,
    .modal-header button {
        background-color: rgba(255, 255, 255, 1);
        border: 2px solid rgba(255, 183, 0, 1);
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .1);
        padding: 8px 12px;
        font-size: 1rem;
        color: blue;
        font-weight: 600;
        border-radius: 12%;
        float: right;
        margin: 1em -1em .5em 0;

        }


    /*.close-button {
        font-size: 2em;
    }*/


    .modal-header a:hover,
    .modal-header button:hover {
        color: red;
        border-color: red;
        box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    }        

    .modal-body {
        clear: both;
        display: block;
        margin-top: 24px;
        /*border-bottom: 1px solid rgba(85, 86, 90, 1);*/
    }

    .modal-footer {
        clear: both;
        display: block;
        margin-top: 1em;
        /*border-top: 1px solid rgba(85, 86, 90, 1);*/
    }



/* HEADINGS */

    h1 {
        font-size: 1.7em;
        font-weight: 400;
        font-style: italic;
        font-family: serif;
        color: rgba(85, 86, 90, .8) /* (0, 77, 153, 1) */;
        text-align: left;
        margin: 0; /* Why do I need this? */
        border-bottom: 6px solid rgba(255, 204, 0, 1);
        display: inline-block; /* keeps the underline the length of the text */
        line-height: 2em; /* adds space between text and underline */
    }

    h2 {
        font-size: 3em;
        font-weight: 600;
        /* color: rgba(0, 77, 153, 1); */
        margin: 16px 0 16px 0;
    }

    h3 {
        font-size: 2em;
        /*font-style: italic;*/
        font-weight: 400;
        font-family: serif;
        text-align: center;
        margin: 24px 0 0 0;
        color: red;
    }

    h4 { 
        font-family: serif;
        font-size: 1.6rem;
        letter-spacing: 1px;
        font-style: italic;
        color: red;
        /*color: rgba(85, 86, 90, 1);*/
        font-weight:400;
        margin: 24px 0 24px 0;
        text-align: center;
    } /* This is the title tag line */

    h6 { 
        font-family: serif;
        font-size: 2rem;
        letter-spacing: 1px;
        font-style: italic;
        /*color: rgba(0, 172, 105, 1);*/
        /*color: rgba(85, 86, 90, 1);*/
        color: rgba(122, 38, 130, 1);
        /*color: rgba(0, 51, 141, 1);*/
        font-weight: 600;
        margin: 24px 0 32px 0;
        text-align: center;
    } /* This is the title tag line */


/* BASIC TYPOGRAPHY */

    p,
    ol,
    ul,
    dl,
    address,
    blockquote { 
        margin: 1em 0; 
        font-size: 1.2em;
        line-height: 1.5em;
        font-weight: 400;
        hyphens: auto;  
        -webkit-hyphens: auto; /* Probably do not need this anymore */
        -moz-hyphens: auto; /* Probably do not need this anymore */
        -ms-hyphens: auto; /* Probably do not need this anymore */
    }

    b,
    strong { 
        font-weight: 600; 
    }

    i {
       font-style: italic; 
    }

    small { 
        font-size: 70%;
    }

    sub, 
    sup { 
        font-size: 50%; 
        line-height: 0; 
        position: relative; 
    }

    sup { 
        vertical-align: super; 
    }

    sub { 
        vertical-align: baseline; 
    }

    smallcaps {
        font-variant: small-caps;   
    }

    allcaps {
        text-transform: uppercase;   
    }



/* THESE ARE FOR THE EXPANDABLE DETAIL LISTS */

    summary {
        font-size: 1.2em;
        font-weight: 400;
        color: rgba(85, 86, 90, 1);
        margin: 0 0 8px 0;
        padding-top: 8px;
        border-top: 1px solid rgba(85, 86, 90, .2);
        cursor: pointer;
    }

    summary:focus {
        outline: none;    
    }

    summary::-webkit-details-marker {
        color: rgba(85, 86, 90, .3);
    } /* styles the marker. Doesn't work in IE */

    details p {
        margin-left: 48px;
    }



/* LISTS */

    li {
        margin: 1em 0 1em 20px;
    }

    ol li,
    li li {
        font-size: 1.2rem;
        margin: 1em 0 1em 20px;
        line-height: 1.5em;
    }


/* THESE ARE FOR DATA LISTS */

    dl {
        margin: 32px 0 0 0;
        }

    dt {
        font-size: 1.2em;
        font-weight: 600;
        letter-spacing: .02em;
        text-transform: capitalize;
        color: rgba(85, 86, 90, 1);
    }

    dd {
        margin-left: 1em;
        margin-bottom: 10px;
        list-style-type:square;
        }



/* LINKS */

    a { 
        color: blue;
        text-decoration: none;
    }

    a:hover { 
        color: rgba(255, 92, 53, 1);
        /*text-decoration: underline;*/
    }

    button a:hover { 
        text-decoration: none;
    }

    a:active { 
        color: rgba(255, 204, 0, 1);
        text-decoration: none;
    }    

    a.current {
        color: rgba(0, 51, 141, 1);
        text-decoration: none;
    }

    /*
        }
    */



/* NAVIGATION */

    nav {
        overflow: auto; /* Makes the navbar fill to the elements it contains */
    } 

    nav ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    nav li {
        display: inline;
        text-transform: capitalize;
        margin: 0;
    }

    /*nav a {    
        
    }*/

    /*nav a:hover {
        
    }*/

    /*nav a:active {
        
    }*/

    nav a.current {
        cursor:default;
    }


/* THESE ARE FOR THE LISTS IN THE FOOTER */

    footer .group {
        padding: 0;
        margin: 0 0 16px 0;
    }

    footer .col:first-child {
        padding: 0;
    }

    footer .group ul {
        padding: 0;
        margin: 0;
    }

    footer .group li {
        font-size: .9em;
        margin: 0;
        line-height: 1.2rem;
        list-style-type: none;
    }

    footer .group li:first-child {
        color: rgba(85, 86, 90, .5);
        font-weight: 600;
        letter-spacing: .05em;
        text-transform: uppercase;
        text-decoration: underline;
        margin-bottom: 8px;
    }

    footer p {
        text-align: center;
        margin: 0;
    } /* This is the disclaimer link at the bottom of the footer */

    footer a { 
        color: rgba(85, 86, 90, .5);
        text-decoration: none;
    }


/* THESE ARE FOR THE NAVIGATION BAR IN THE FOOTER */

    footer nav {
        margin: 0 0 16px 0;
    }

    /*footer nav ul {

    }*/

    /*footer nav li {
         text-align: center; 
    }*/

    footer nav a {
        color: rgba(85, 86, 90, .5);
        font-size: .9em;
        font-weight: 700;
        float: left;
        margin-right: 20px; /* Left justifies the nav bar */
        text-transform: uppercase;
    }

    footer nav a:active { 
        color: rgba(255, 255, 255, 1);
    }    

    /*footer nav a.current {
        color:rgba(255, 204, 0, 1);
        text-decoration: underline;
    }*/


/* THESE ARE FOR NAVIGATION BUTTONS */

    .backbutton {
        display: inline-block;
    } /* This is for a button to a specific page as opposed to the last page visited */

    .backbutton {
        font-size: 1.5em;
        color: #fff;
        letter-spacing: 1px;
        margin-bottom: 24px;
        padding: 6px 24px;
        background-color: rgba(255, 204, 0, 1);
        border: 2px solid rgba(255, 204, 0, 1);
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .1);
    } /* This is the Go Back button-- button is generic, .backbutton is specific */

    /*.backbutton:first-of-type{
        
    }*/ /* This is the Go Back button at the top of the list */

    .backbutton:hover {
        cursor: pointer;
        color: rgba(255, 92, 53, 1); /* rgba(152, 50, 34, 1) */
        border: 2px solid rgba(255, 92, 53, 1);
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .1);
    } /* This is the Go Back button */

    .backbutton:active {
        color: #000;
        background-color: rgba(255, 204, 0, 1);
        box-shadow: none;
    }


/* THE CLICK HERE TO VOTE BUTTON */

    /*@keyframes pulse {
        0%, 100% {transform: scale(1);}
        50% {transform: scale(.97);}
    }*/ /* Pulses the button by changing its size */

    /*@keyframes pulse {
        to {box-shadow: 0 0 12px 4px rgba(255, 204, 0, 1);}
    }*/ /* Pulses a shadow */

    /*@keyframes pulse {
        0% {background-color: rgba(255, 204, 0, 1);}
        50% {background-color: rgba(255, 204, 0, .5);}
        100% {background-color: rgba(255, 204, 0, 1);}
    }*/ /* Pulses the background */

    /*@keyframes pulse {
        0% {border-color: rgba(255, 204, 0, 1);}
        50% {border-color: blue;}
        100% {border-color: rgba(255, 204, 0, 1);}
    }*/ /* Pulses the border */

    .button-1 {
        display: inline-block;
        width: 100%;
        height: auto;
        margin-top: 0;
        /*margin-bottom: 1em;*/
        font-size: 1.5em;
        text-transform: uppercase;
        font-weight: 600;
        text-align: center;
        padding: 20px 0;
        /*background-color: rgba(255, 204, 0, 1);*/
        border: 2px solid rgba(255, 204, 0, 1);
        border-radius: 4px;
        color: blue;
        line-height: 1.2em;
        /*transition-duration: 0.4s;*/
        /*box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);*/
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .1);
        /*-webkit-animation: pulse 3s infinite ease-in-out;
        -moz-animation: pulse 3s infinite ease-in-out;
        -ms-animation: pulse 3s infinite ease-in-out;
        animation: pulse 3s infinite ease-in-out;*/                
    }

    .button-1:hover {
        border: 2px solid rgba(255, 92, 53, 1);
        text-decoration: none;
        border-color: red;
        /*box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);*/
    }

    .button-1:active {
        color: red;
        box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.5);
        transform: translateY(5px);
    }

    img[alt="ballot box image"] {
    float: left;
    height: 3em;
    margin: -12px 0 0 0;        
    }



/* THESE ARE FOR THE HELP BUTTON IN THE MODAL WINDOWS */

    .election-help-button {
        border: 3px solid rgba(255, 204, 0, 1);
        /*border: 1px solid rgba(255, 0, 0, 1);*/
        border-radius: 8px;
        width: 48%;
        height: 150px;
        font-size: 0.9em;
        padding-right: 1em;
        margin: 12px 0 24px 24px;
        float: right;
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .1);
    }

    img[alt="help image"] {
        float: left;
        height: 8em;
        margin: 1em;
    }

    .election-help-button:hover {
        color: red;
        border-color: red;
        text-decoration: none;
        box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    }

    .election-help-button:active {
        color: red;
        box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.5);
        transform: translateY(5px);
    }



/* THESE ARE FOR AUDIO PLAYER BUTTONS */

    .player button {
        float: none;
        color: rgba(0, 61, 141, 1);
        background-color: rgba(255, 255, 255, 1);
        width: 100%;
        margin: 1rem 0 0 0;
        border: 1px solid rgba(0, 41, 151, 1);
        border-radius: 8px;
    }

    .player button:hover {
        cursor: pointer;
        color: rgba(255, 92, 53, 1);
        border: 1px solid rgba(255, 92, 53, 1);
        box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .1);
    } /* This is the Go Back button */

    .player button:active {
        color: rgba(255, 255, 255, 1);
        background-color: rgba(255, 92, 53, 1);
        box-shadow: none;
    }


    

/* TABLES */

    table { 
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%; 
        border-right: hidden;
        border-left: hidden;
        margin: 0;
    }

    table.candidates {
        width: 54%;
        margin: 1em auto;
    }

    .candidates th {
        color: rgba(0, 77, 153, 1.0);
        background-color: rgba(255, 204, 0, 1.0);
    }

    .candidates td {
        text-align: left;
        color: rgba(0, 77, 153, 1.0);
        font-weight: 500;
    }

    tr:first-of-type th:first-child {
        background-color: rgba(255, 255, 255, 1.0);
    }

     tr:nth-child(odd) {
        background-color: rgba(255, 204, 0, .1);
/*        background-color: rgba(85, 86, 90, .1);*/
    }  /* This adds the shading to every other row in a table */

    th,
    td {
        vertical-align: baseline;
    }

    th {
        color: #fff;
        font-weight: 500;
        text-align: left;
        line-height: 2em;
        padding-left: 10px;
        background-color: rgba(85, 86, 90, 1);
        border: 1px solid #fff;
        border-top: none;
    }

    td {
        margin-bottom: 1em; 
        line-height: 2em;
        border: 1px solid rgba(85, 86, 90, .1);
        padding-left: 10px;
        font-weight: 300;
    }


/* IMAGES */

    img {
        max-width: 100%;
        height: auto;
        width: auto;
    }

    /*#masthead img {
        width: 100%;
        margin: 0;
        padding: 0;
    }*/

    img.dropcap {
        float:left;
        height: 4em;
        width: auto;
        margin: 4px 12px 0 0;   
    }

    /*img[alt="MD19 Logo"] {
        width: 100%;
        height: auto;
        margin: 0 0 0 0;
        padding: 0 0 0 24px;
    }*/ 

    /*img[alt="MD19 Logo"]:hover {
      opacity: .5;  
    }*/ 
    
    /*img[alt="Virtual Meeting Image"] {
        width:100%;
        height: auto;
        margin: 48px 0 0 0;
        padding: 0 48px 0 0;
    }*/ 

    /*img[alt="Celebration Image"] {
        width:100%;
        height: auto;
        margin: 48px 0 0 0;
    }*/ 

    /*img[alt="Messmer Lion Costume"] {
        width:100%;
        height: auto;
        margin: 0 0 0 0;
        padding: 0 48px 0 0;
    }*/ /* These are the calendar icons for events */

    img[alt="Theater curtain"] {
        width: 100%;
    }

    img[alt="Convention masthead"] {
        opacity: .5;
        width: 70%;
        position: absolute;
        top: 115px;
        left: 50%;
        transform: translate(-50%, 0);  /* what does this do? */ 
        text-align: center;
        z-index: 990;
    }

    img[alt="Wenatchee masthead"] {
        opacity: .5;
        width: 22%;
        position: absolute;
        top: 250px;
        left: 50%;
        transform: translate(-50%, 0);  /* what does this do? */ 
        text-align: center;
        z-index: 990;
    }

    img[alt="Race Horse"] {
        opacity: .4;
        width: 45%;
        position: absolute;
        bottom: 8%;
        left: 50%;
        -webkit-transform: translate(-50%, -9%); /* This is for older browsers */
        -moz-transform: translate(-50%, -9%); /* This is for older browsers */
        -o-transform: translate(-50%, -9%); /* This is for older browsers */
        -ms-transform: translate(-50%, -9%); /* This is for older browsers */
        transform: translate(-50%, -8%);
        z-index: 950;
    }

    img[alt="Lion and Lioness MC"] {
        width: 28%;
        position: absolute;
        bottom: 3%;
        left: 50%;
        -webkit-transform: translate(-50%, -3%); /* This is for older browsers */
        -moz-transform: translate(-50%, -3%); /* This is for older browsers */
        -o-transform: translate(-50%, -3%); /* This is for older browsers */
        -ms-transform: translate(-50%, -3%); /* This is for older browsers */
        transform: translate(-50%, -3%);
/*        width: 75%;*/
        z-index: 975;
    }

    img[alt="Lioness MC"] {
        width: 14%;
        position: absolute;
        bottom: 4%;
        right: 16%;
        z-index: 970;
    }

    img[alt="Lion MC"] {
        width: 20%;
        position: absolute;
        bottom: 3%;
        left: 16%;
        z-index: 990;
    }

    /*img[id="convention-video"] {
        opacity: .3;
    }*/

    img[alt="filler image"] {
        width: 100%;
    }




/* THESE ARE FOR THE SOCIAL MEDIA ICON IMAGES */

    /*.social {
        margin-bottom: 30px;
    }*/

    /*.social img {
        margin: 0;
        border: 1px solid rgba(179, 178, 177, 1);
        border-radius: 12px;
    }*/

    /*.social a img:hover {
        border-color: rgba(255, 92, 53, 1);
        box-shadow: 0 0 16px 3px rgba(255, 204, 0, .5);
        opacity: 0.6;
    }*/

    /*.social a img:active {
        opacity: 1;
    }*/







