* {
   margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
   box-sizing: border-box;    
}

a {text-decoration: none;}

strong {
    font-weight: bold;
    color: #774974;
}

ul {list-style: none;}

html {height: 100%;}

body {
    display: block;
    font-family: Calibri, Optima, "Trebuchet MS",Segoe, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-size-adjust: 0.464;
    position: relative;
    min-width: 320px; 
    min-height: 100vh;
    height: 100%;
    overflow-y: scroll;  
}

.centuryGothic {font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;font-size-adjust:0.53;}

.content {
   min-height: 100%;
   padding-top: 60px;
   padding-bottom: 90px;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: "";
    clear: both;
    height: 0;
}

.container {
    display: block;
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.padded-t {padding-top: 20px;}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.orangeBttn {
    color: #fff;
    background-color: #fa824c;
}

.orangeBttn:hover {background-color: #fe9363;}

.whiteBttn {
    color: #774974;
    border: 2px solid #774974;
    background-color: transparent;
}

.whiteBttn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

h1 {font-size: 3em;}
h2 {font-size: 2.5em;}
h3 {font-size: 2em;}
h4 {font-size: 1.75em;}
h5 {font-weight: bold; font-size: 1em;}
img {width: 100%; display:block;}

.mobileOnly {display: none;}

.flat-header {
   color: #774974;
   border-bottom: 2px solid #774974;
}

.flat-header a {
   display: block;
   position: relative;
   float: right;
   margin-left: 10px;
   width: 1em;
   height: 1em;
   background-color: #774974;
}

.flat-header a:hover {background-color: #ab6ea7;}

.flat-header a span {
   content: "";
   display: block;
   position: absolute;
   width: 10px;
   height: 10px;
   background-color: #fff;
   left: 50%;
   transform: translateX(-50%);
   top: 10px;
}

.flat-header a span:after {
   content: "";
   display: block;
   position: absolute;
   width: 0;
	height: 0;
   bottom: -10px;
   left: -5px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #fff;
}

/* NAV */

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 60px;
    background-color: #302f31;
    padding: 10px;
    align-items: center;
    z-index: 100;
}

.nav .container {flex-wrap: wrap;}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-links {flex-grow: 1;}

.nav-logo a {display: table;min-width: 200px;}

.nav-list a {
    color: #fff;
    font-size: 1.25em;
}

.nav ul {
    position: relative;
    align-items: center;
    flex-grow: 1;
}

.nav ul li {
    position: relative;
    margin-left: 20px;
}

.nav-signIn {
    display: flex;
    align-items: center;
}

.nav-signIn a {
    font-size: 1.25em;
    line-height: 1.25em;
    padding: 5px 15px;
    border-radius: 2px;
    white-space: nowrap;
}

.nav-bttn {
    position: relative;
    width: 25px;
    min-width: 25px;
    height: 25px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 5px;
    box-sizing: content-box;
    margin-left: 10px;
}

.nav-bttn span, .nav-bttn span:before, .nav-bttn span:after {
    display: block;
    position: absolute;
    width: 25px;
    height: 3px;
    border-radius: 5px;
    background-color: #fff;
    transition: transform .3s ease-in-out, opacity .3s ease-in-out;
}

.nav-bttn span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-bttn span:before, .nav-bttn span:after {content: "";}
.nav-bttn span:before {bottom: 6px;}
.nav-bttn span:after {top: 6px;}

.nav-bttn.active span {transform: rotate(45deg);}
.nav-bttn.active span:before {opacity: 0;}
.nav-bttn.active span:after {transform: rotate(-90deg);left: 0;top: 0;}

.pageMask {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(000, 000, 000, 0.5);
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.pageMask.active {opacity: 1;}

/* Hero Banner */

.main-banner {
    position: relative;
    flex-grow: 1;
    background-image: url('assets/images/main-banner.png');
    background-size: cover;
    min-height: 500px;
}

.h-banner {
    height: calc(100vh - 60px);
}

.banner-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.banner-content {
    display: inline-block;
    position: relative;
    top: 8em;
    padding: 10px 0;
}

.banner-content h1 {
    color: #774974;
}

.banner-content a {
    display: table;
    padding: 8px 20px;
    font-size: 1.8em;
    border-radius: 4px;
    margin-top: 15px;
}

.sub-banner {
    background-color: #946f87;
    padding: 30px 10px;
}

.sub-banner .flex-row {
    align-items: center;
    justify-content: center;
}

.sub-banner h3 {
    color: #fff;
    padding: 0 20px;
}

/* Terms of Use Page */

.col-3 {
    flex-grow: 1;
    padding: 10px;
    width: 33%;
    min-width: 300px;
}

.list-box .col-3 {max-width: 33%;}

.list-box {padding-top: 10px;padding-bottom: 40px;}
.list-box .flex-row {flex-wrap: wrap;}

.list-box a {
    display: block;
    padding: 10px 20px;
    border: 1px solid #ddd;
    box-shadow: 0 0 5px rgba(000, 000, 000, 0.05);
    color: #302f31;
    font-weight: 100;
    transition: color 0.2s linear, box-shadow 0.2s linear, border-color 0.2s linear;
}

.list-box a:hover {
    color: #774974;
    border-color: #774974;
    box-shadow: 2px 2px 5px rgba(000, 000, 000, 0.1);
}

.doc-icon {
    display: block;
    width: 30px;
    height: 40px;
    float: left;
    margin-right: 10px;
}

.terms-container {padding: 20px 0 50px 0;color:#555;}

.terms-container strong {color: #555;}

.terms-container ul {
   list-style: disc;
   margin-left: 2em;
   margin-bottom: 10px;
}

.terms-container table {border-collapse: collapse;margin-bottom: 10px;}

.terms-container table th, .terms-container table td {
   border: 1px solid #ddd;
   text-align: left;
   padding: 5px;
}

.terms-container table th {background-color: #ddd;}

.terms-container p {margin-bottom: 10px;}

.terms-container h3, .terms-container h5 {color: #774974;margin-bottom: 10px;}

/* Footer */

footer {
   height: 90px;
   margin-top: -90px;
   background-color: #f2f0f3;
   color: #555;
}

footer ul {
    padding: 10px 0;
}

footer ul li {
    float: left;
    margin-right: 10px;
}

footer ul li a {color: #555;}

footer ul li a:hover {
    color: #774974;
    text-decoration: underline;
}

.footer-lower {
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #946f87;
}

@media screen and (min-width: 700px) {
    .pageMask {display: none !important;}
}

@media screen and (max-width: 700px) {
    
    body {font-size: 18px;}
    
    .mobileOnly {display: block;}
    .desktopOnly {display: none;}
    
    .nav-links {
        visibility: hidden;
        position: fixed;
        right: -100vw;
        background-color: #302f31;
        top: 60px;
        bottom: 0;
        width: 300px;
        z-index: 9999;
        transition: right .35s ease-in-out, visibility .35s ease-in-out;
    }
    
    .nav-links {flex-direction: column;}
    
    .nav-links.active {
        visibility: visible;
        right: 0;
    }
    
    .nav .container {flex-wrap: nowrap;}
    .nav-logo {flex-grow: 1;}
    
    .nav ul {flex-direction: column;align-items: flex-start;flex-grow: 0;}
    .nav ul li {padding: 10px 0;}
    
    .nav-signIn {padding: 10px 20px;}
    
    .sub-banner h3 {font-size: 1em;padding: 0 10px;}
    
    .list-box .col-3 {width: 100%;max-width: auto;}
    
    .banner-content {
      top: 0;
      padding-top: 30px;
      text-align: center;
    }
    
    .banner-content a {margin: 15px auto 0;}
    
    footer {height: auto;}
    footer ul li {float: none;}
    li.pipe {display: none;}
    li {padding: 5px 0;}
}
