/*  */
:root {
    --tpt-white: #fff;
    --tpt-black: #000;
    --tpt-light-gray: #f2f2f2;
    --tpt-gray: #333333;
    --tpt-dark-gray: #1E1D1D;
    --tpt-blue: #3E7492;
    --tpt-light-blue: #3B7D9B;
}

html {
    overflow-y: scroll;
  }

* {
    margin: 0px;
    padding: 0px;
    min-width: 0px;
    box-sizing: border-box;
    /*outline: 1px solid black;*/
}

a{
    text-decoration: none;
    color: inherit;
    transition: 100ms;
    border-bottom: 1px solid transparent;
}

ul{
    padding-left: 30px;
}

li{
    margin-bottom: 5px;
    font-size: .9em;
}

h1{
    font-size: 2em;
    margin-top: 25px;
    margin-bottom: 25px;
}
h2{
    font-size: 1.4em;
    margin-top: 15px;
    margin-bottom: 15px;
}

section{
    margin-bottom: 100px;
}

#dropdown{
    display:none
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1em;
    color: var(--tpt-gray);
    background-color: var(--tpt-white);
}

label.text-label{
   display:block;
   font-weight: bold;
   margin-bottom: 5px;
}

fieldset{
    border-style: none;
}

div.input-pair{
    float:left;
    display: block;
    margin-right: 25px;
    margin-left: 25px;
}
div.form-row{
    clear:both;
   
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
    display:grid;
    grid-template-columns: 1fr
}
#name-row, #residence-row{
    grid-template-columns: 1fr 1fr 1fr;
}

#submit-form{
    margin-left: 25px;
    width: 100px;
    background-color: var(--tpt-blue);
    color: var(--tpt-white);
}

textarea{
    width: 100%;
    height: 150px;
    resize: none;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-shadow: 0px 0px 0px 0px white inset;
}

input{
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 0px white inset;
}

input:not([type='radio']){
    width: 100%;
    height: 35px;
    border-radius: 4px;
}
input[type=radio]{
    margin: 10px;
}

select{
    width: 100%;
    height: 35px;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-shadow: 0px 0px 0px 0px white inset;
}

form{
    margin-top: 25px;
    margin-bottom: 25px;
}

.required{
    color: red;
}


p.input-label{
    margin-bottom: 5px;
    font-weight: bold;
}

p.tool-tip{
    font-style: italic;
    margin-top: -2px;
    font-size: .7em;
    color: var(--tpt-blue);
}

#site-container{
    display: grid;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "site-header"
                         "site-body"
                         "site-footer";
}

header{
    grid-area:site-header;
    width: 100%;
}

#header-logo-bar{
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
}


nav{
    height: 52px;
    background-color: var(--tpt-blue);
    color: var(--tpt-white);
    text-align: center;
    line-height: 52px;
    font-weight: bold;
    font-size: 1.2em;
}

nav ul{
    padding-left: 0px;
}

nav ul.nav-links li {
    display: inline-block;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    height: 52px;
    margin: 0px 0px 0px 0px;
}
nav ul.nav-links li.current-page {
    
    background-color: var(--tpt-light-blue);
    cursor: default;
}

main{
    grid-area: site-body;
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: var(--tpt-light-gray);
}

footer{
    grid-area: site-footer;
    width: 100%;
    height: 51px;
    padding-top: 15px;
    text-align: center;
    font-size: .8em;
    background-color: var(--tpt-dark-gray);
    color: var(--tpt-light-gray);
}

#content-header{
    background-image: url('./header-graphic-1536x278.jpg');
    width:100%;
    background-size: cover;
    height: 350px;
    background-position: 50% 50%;
    margin-bottom: 50px;
}

#join-benefits{
    margin-top: 40px;
    margin-bottom: 40px;
}

.center-content {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
    margin: auto auto;
}

@media only screen and (max-width:1000px){
    #nav-container {
   
        text-align: center;
        width: 100%;
       
       

    }
    header{
        height: 278px;
    }
    nav ul.nav-links {
        padding-top: 252px;
        
    }
    nav ul.nav-links li {
        display: block;
        width: 100%;
        margin: 0px 40px 0px 0px;
        padding: 0px;
        border-style:solid;
        border-width:1px;
        border-color: rgba(0,0,0,.1);
    }

    input#dropdown{
        display: inline;
        position:absolute;
        right: 30px;
        top: 236px;

        cursor: pointer;
        
        width: 40px; /*This will cover the hamburger*/
        height: 32px;

        opacity: 0;
        z-index:2;
    }
    #menuhamburger{
        display: inline;
        position: absolute;

        width: 40px;
        height: 32px;

        right: 22px;
        top: 240px;
    }
    #menuhamburger span{
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: var(--tpt-white);
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        transition: transform 0.1s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.1s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.1s ease;

    }
    #menuhamburger span:first-child
    {
        transform-origin: 0% 0%;
    }
    #menuToggle span:nth-last-child(2)
    {
      transform-origin: 0% 100%;
    }
    input#dropdown:checked ~ ul.nav-links{
        position: relative;
        padding: 0px;
        display:block;
        opacity: 1;
        transition: opacity .1s ease;
        background-color: var(--tpt-blue);
    }
    
    input#dropdown:checked ~ #menuhamburger span{
        opacity: 1;
        transform: rotate(-35deg) translate(-2px, -3px);
    }
    input#dropdown:checked ~ #menuhamburger span:nth-last-child(2){
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }
    input#dropdown:checked ~ #menuhamburger span:nth-last-child(3){
        transform: rotate(35deg) translate(0, 0px);
    }

}