
/**************************************************/
/*** LAYOUT & STRUCTURE ***************************/
/**************************************************/

html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Source Serif 4', serif;
}

body {
    background: rgb(240,240,240);
}

.page-wrap {
    min-height: 100%;
    padding-bottom: 100px;
    margin-bottom: -100px; /* equal to footer height */
}

.site-footer,
.page-wrap:after {
    height: 100px;
}

.page-wrap:after {
    content: "";
    display: block;
}

.scrollup {
    text-align: center;
    display: block;
    padding: 11px 10px 20px;
    position: fixed;
    top: auto;
    left: auto;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 1000;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}

/**************************************************/
/*** PAGE STYLING *********************************/
/**************************************************/


header {
    background: rgb(0,129,196);
    padding: 15px 0;
    color: white;
    font-weight: 400;
    z-index: 1000 !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 12px;
    line-height: 10px;
}

/*----- Core Content -----------------------------*/

article {
    padding: 20px;
    background: white;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    -webkit-box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    -moz-box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.main {
    background: none;
    margin-bottom: 30px;
}

.side {
    background: none;
    margin-bottom: 50px;
}

/*----- Footer -----------------------------------*/

.site-footer {
    background: rgb(51,51,51);
    border-top: 5px solid rgb(0,129,196);
}

.site-footer p {
    color: #FFF;
    font-size: 12px;
    line-height: 16px;
    margin: 0;
}

/**************************************************/
/*** HERO BANNER **********************************/
/**************************************************/

.titleblock {
    margin: 30px auto;
    text-align: center;
}

.titleblock .title {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 54px;
    color: #000;
}

.hero {
    background-color: rgb(0,129,196);
    background-size: cover;
    background-position: center;
    position: relative;
    height: 450px;
    margin-bottom: 60px;
}

/**************************************************/
/*** TYPE STYLING *********************************/
/**************************************************/


p,
li,
ol {
    font-size: 16px;
    line-height: 26px;
    color: #000;
    font-weight: 300;
}

p {
    margin: 0 0 20px;
}

.gap-fix {
    margin-bottom: 15px;
}

article a {
    color: rgb(0,129,196);
    font-weight: 500;
    text-decoration: underline;
}

article a:hover {
    color: rgb(0,75,150);
    text-decoration: none;
}

p.intro {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    color: #000;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Barlow', sans-serif;
    color: rgb(0,129,196);
}

article h1:first-of-type {
    display: none;
}

h1{
    font-size: 32px;
    line-height: 40px;
    margin: 40px 0 20px;
    font-weight: 700;
}

h2,
.tabContent h1{
    font-size: 26px;
    line-height: 30px;
    margin: 40px 0 20px;
}

h3,
h4 {
    color: #000000;
    font-size: 20px;
    margin: 20px 0 10px;
}

article ul {
    padding-left: 18px;
    margin-bottom: 30px;
}

article li {
    margin-bottom: 5px;
}

article:first-of-type > h2 {
    margin-top: 0;
}


/**************************************************/
/*** TABLE STYLING ********************************/
/**************************************************/

article table {
    border-left: solid 4px rgb(0,129,196);
    background: rgb(240,240,240);
    margin-top: 25px;
    margin-bottom: 25px;
    width: 100%;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
}

article table td,
article table th {
    border: none;
    padding: 10px 20px 10px;
    font-size: 16px;
    line-height: 26px;
    color: #000;
    font-weight: 400;
}

article table td h3,
article table td p,
article table th h3,
article table th p {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #000;
    font-weight: 400;
    margin: 0 0 10px;
}

article table td h3,
article table th h3 {
    color: rgb(0,129,196);
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    margin: 0;
}
/**************************************************/
/*** MENU STYLING *********************************/
/**************************************************/

nav {
    background: white;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    -webkit-box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    -moz-box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    padding: 20px;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    display: block;
    margin-bottom: 10px;
}

nav ul li a,
.slicknav_nav li a {
    display: block;
    position: relative;
    font-family: 'Barlow', sans-serif;
    color: rgb(0,129,196);
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-decoration: none;
    padding-bottom: 10px;
    overflow: hidden;
}
nav ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: rgb(0,129,196);
  opacity: 0;
  transition: opacity 400ms, transform 400ms;
  transform: translate3d(-100%, 0, 0);
}

nav ul li a:hover:after {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

nav ul li a:hover,
nav ul li a.active,
.slicknav_nav li a:hover {
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

nav ul li a.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: rgb(0,129,196);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/**************************************************/
/*** MOBILE-MENU SPECIFIC STYLING *****************/
/**************************************************/

#mobile-menu {
    padding: 15px 18px;
    margin: 15px auto;
    display: none;
    background: white;
    border-radius: 4px;
    position: relative;
    width: 62px;
    color: rgb(0,129,196);
    font-size: 30px;
    line-height: 0px;
    text-align: center;
    cursor: pointer;
    z-index: 500;
}

.slicknav_menu {
    color: white;
    text-align: center;
    width: 342px;
    position: absolute;
    background: white;
    top: 62px;
    left: -140px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    -webkit-box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    -moz-box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}
.slicknav_menu a {
    color: white;
}
.slicknav_nav {
    padding: 10px;
    margin-bottom: 0;
}
.slicknav_nav li {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}
.slicknav_nav li:last-child {
    margin-bottom: 0;
}
.slicknav_nav li a {
    padding: 10px 15px;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
}


/**************************************************/
/*** TAB CONTENT **********************************/
/**************************************************/

.tabControl {
    margin-bottom: 25px;
}
.tabControl > div {
    background: rgb(111,111,111);
    border-bottom-color: rgba(255,255,255,0.3);
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
}
.tabControl > div:hover {
    cursor: pointer;
}
.tabControl > div.selected {
    background: rgb(0,129,196) !important;
    border-bottom-color: rgba(255,255,255,0.3);
}
.popup {
    background: white;
}
.popup h1 {
    color: crimson;
    font-size: 28px;
}
.featherlight-content {
    border-radius: 8px;
}
.featherlight .featherlight-close-icon {
    font-size: 18px;
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-weight: bold;
}

/**************************************************/
/*** MEDIA QUERIES ********************************/
/**************************************************/

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
}

/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {}

/* Medium Devices, Desktops */
@media only screen and (max-width: 991px) {/* custom breakpoint */}

@media only screen and (max-width: 992px) {}

/* Small Devices, Tablets */
@media only screen and (max-width: 821px) {
    .page-wrap {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important; /* equal to footer height */
        padding-bottom: 0 !important;
    }
    .site-footer {
        height: auto !important;
    }

    .page-wrap:after {
        height: 0 !important;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    #mobile-menu {
        display:block;
    }
    .mobile-center {
        text-align: center !important;
    }
    .titleblock {
        margin: 5px auto 10px !important;
    }
    .titleblock .title {
        font-size: 38px !important;
        line-height: 42px !important;
    }
    .hero {
        height: 300px !important;
        margin-bottom: 0px !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
    .main {
        margin-bottom: 30px !important;
    }
    .side {
        display: none !important;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {}
