* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html { 
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 2.0rem;
    font-size: 1.0rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1 {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #003c71;
    font-size: 3.6rem;
    text-transform:none;
    padding: 0 0 30px 0;
    line-height: 1.2em;
    font-weight: 400;
    font-style: normal;
}
h2 {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #003c71;
    font-size: 3.6rem;
    text-transform:none;
    padding: 0 0 30px 0;
    line-height: 1.2em;
    font-weight: 400;
    font-style: normal;
}
h3 {
    -webkit-font-smoothing: antialiased;
    color: #003c71;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: capitalize;
    margin: 6px 0 30px 0;
    padding: 0;
}
h4 {
    color: #003c71;
    font-weight: 400;
    font-style: italic;
    line-height: 1.2rem;
    margin: 0;
    padding-bottom: 20px;
    font-size: 1.4em;
}
h5 {
    color: #000;
    line-height: 1.2rem;
    margin: 0 0 20px;
    font-size: 1.0rem;
}
a, a:link,
a:active,
a:visited {
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    color:#003c71;
    outline: none;
    font-weight: 700;
}
a:hover { 
    color:#bbb;
}
a.button, a.big {
    display: block;
    background-color: #f2A900;
    padding: 25px 0;
    -webkit-font-smoothing: antialiased;
    color: #003c71;
    width: 210px;
    font-size: 1.0rem;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    line-height: 1.0em;
    font-weight: 700;
    border-radius: 3px;
    text-shadow: none;
}
a.big {
    width: 350px;
}
a.white-button {
    display: block;
    background-color: #fff;
    margin: 7px 0;
    padding: 20px 0;
    height: 58px;
    -webkit-font-smoothing: antialiased;
    color: #003c71;
    width: 200px;
    font-size: 1.0rem;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    line-height: 1.0em;
    font-weight: 700;
    border-radius: 14px;
    text-shadow: none;
}
a img, a.button, a.white-button {
    transition: all .5s ease;
    -moz-transition: all .5s ease; /* Firefox 4 */
    -webkit-transition: all .5s ease; /* Safari and Chrome */
    -o-transition: all .5s ease; /* Opera */
}
a img:hover {
    opacity: 0.5;
}
a.button:hover, a.white-button:hover {
    background-color: #003c71;
    color: #fff;
}
a[href^=tel] { /* Stops iPhones from changing phone number colors */
    color: inherit; 
    text-decoration: none; 
} 
img { 
    display:block;
}
p {
    margin-bottom: 2.0rem ;
    font-size: 1.2rem;
    font-weight: 400;
    font-style: normal;
    color: #555;
    line-height: 2.4rem;
}
hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 50px 0;
}
.clearboth {
    clear: both;
    height: 0;
}
.wrapper {
    position: relative;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 150px;
}
.flex {
    display: flex;
    justify-content: flex-start;
}
/*------------------------------------------------------------ HEADER */
header {
    position: relative;
    z-index: 2000;
    width: 100%;
    background-color: #fff;
}
#header-top {
    display: flex;
    justify-content: space-between;
}
#logo {
    display: block;
    width: 400px;
    padding: 20px 0 20px 20px;
}
#logo img {
    width: 100%;
    height: auto;
}
#header-right {
    width: 660px;
}
#icon-wrapper {
    float: right;
    background-image: url(../images/icon-menu-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    width: 580px;
    height: 75px;
    margin-right: -60px;
}
#icon-menu {
    display: flex;
    justify-content: space-between;
    width: 370px;
    margin: 15px auto 0;
}
#icon-menu img {
    width: 40px
}
#icon-menu a, #icon-menu a:link,
#icon-menu a:active,
#icon-menu a:visited {
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    color:#fff;
    text-decoration: none;
    outline: none;
    font-weight: 400;
    font-size: 1.1rem;
}

#icon-menu a:hover { 
    color: #f2A900;
}
#header-shape {
    width: 400px;
    margin-top: -160px;
    margin-bottom: -50px;
}
#header-shape img {
    width: 100%;
}
#fixed-menu {
    position: fixed;
    bottom: 150px;
    right: 50px;
    opacity: 0;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
#fixed-menu a {
    display: block;
    margin-bottom: 10px;
    width: 200px;
    text-decoration: none;
    background-color: #f2A900;
    padding: 12px 0 25px;
    -webkit-font-smoothing: antialiased;
    color: #003c71;
    font-size: 1.0rem;
    text-transform: uppercase;
    text-decoration: none;
    text-align: left;
    line-height: 1.0em;
    font-weight: 700;
    border-radius: 3px;
    text-shadow: none;
}
#fixed-menu a img {
    width: 30px;
    height: auto;
    display: inline-block;
    margin: 6px 10px -8px 21px;
}
#fixed-menu a:hover {

    opacity: 0.8;
}

/*-------------------------------------------------------------------------------- LAYERSLIDER */
.ls-inner {
    overflow:visible !important;
}
#layerslider {
    height: 800px;
    position: absolute;
}
#slogan {
    position: relative;
    z-index: 10;
    margin-top: -410px;
    margin-bottom: 106px;
    text-shadow: 0px 0px 5px rgba(150, 150, 150, 1);
}
#slogan-wrapper {
    display: flex;
    justify-content: space-between;
}
#slogan-heading {
    font-size: 4.2rem;
    line-height: 3.6rem;
    text-transform: none;
    padding: 0 0 20px 0;
    font-weight: 700;
    font-style: normal;
    max-width: 800px;
    color: #fff;
}
#slogan h3 {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
}
#slogan p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2.2rem;
    color: #fff;
    padding-bottom: 20px;
    max-width: 600px;
}
#slogan-buttons {
    width: 400px;
    display: flex;
    justify-content: space-between;
}
#slogan-right a {
    background-color: #f2A900;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding-top: 8px;
    margin-bottom: 12px;
}
#slogan-right a img {
    width: 70%;
    margin: 0 auto;
}
/*-------------------------------------------------------------------------------- BANNER */
.video {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 900px;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin-top: -105px;
}
#banner {
    height: 600px;
    background-size: cover;
    background-position: center center;

}
/*---------------------------------------------------------- QUICKLINKS */
#panel-quicklinks {
    background-color: #01284a;
    padding: 23px 0;
    position: relative;
    z-index: 200;
}
#quicklinks-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
#quicklinks-wrapper h2 {
    display: block;
    margin-right: 40px;
}
#quicklinks-wrapper .button {
    display: inline-block;
    margin-right: 20px;
}
/*------------------------------------------------------------ WELCOME */
#welcome-wrapper {
    display: flex;
    justify-content: space-between;
    padding-top: 90px;
    padding-bottom: 90px;
}
#welcome-left {
    width: 50%;
}
#welcome-right {
    position: absolute;
    right: 0;
    width: 500px;
    height: 800px;
    margin-top: 0;
}
#welcome-right img {
    
}
#profile {
    display: flex;
    justify-content: space-between;
    width: 550px;
}
.board-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.board-item {
    width: 45%;
}
#profile-img, .board-item img {
    border-radius: 50%;
    width: 200px;
    height: 200px; 
    overflow: hidden;
    margin: 40px 0;
}
#profile-img img {
    width: 100%;
}
#profile-right {
    margin-top: 50px;
}
#mobile-image {
    display: none;
    width: 100%;
}
/*------------------------------------------------------------ PANEL LIFE */
#panel-life {
    background-color: #f8f7f7;
}
#life-left {
    position: absolute;
    left: -8px;
    width: 500px;
    height: 800px;
    margin-top: 0;
}
#life-right {
    width: 50%;
    padding: 0;
    margin-left: 50%;
    height: 1000px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#sector-wrapper {
    max-width: 800px;
}
#sectors {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
    width: 500px;
}
.sector-item {
    width: 220px;
}
.sector-item img {
    width: 100%;
    border-radius: 50%;
}
.sector-item h4 {
    margin: 20px auto;
    text-align: center;
}

/*---------------------------------------------------------- PANEL TRIPLE */
#panel-triple {
    padding: 90px 0;
}
#panel-triple h2, #panel-triple p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}
#triple-wrapper {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
}
.triple-item {
    width: 32%
}
.triple-item img {
    width: 100%;
    object-fit: cover;
    height: 360px;
}
#panel-triple .triple-item h3 {
    margin: 40px 0 8px;
    color: #fff;
}
.triple-item h5 {
    color: #fff;
}
.triple-item a {
    color: #f2A900;
}
.triple-item a:hover {
    color: #ccc;
}
#panel-triple .triple-item p {
    text-align: left;
    padding-right: 30px;
    color: #fff;
}
#panel-triple .button {
    margin: 80px auto 0;
}
#news-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#news-wrapper .triple-item {
    margin-top: 20px;
}
#news-wrapper .triple-item h3 {
    color: #003c71;
    margin-bottom: 8px;
}
#news-wrapper .triple-item h5 {
    color: #003c71;
    margin-bottom: 8px;
}
#news-wrapper .triple-item p {
    text-align: left;
    padding-right: 30px;
}
/*------------------------------------------------------------ PANEL COMMUNITY */
#community-wrapper {
    display: flex;
    justify-content: space-between;
    padding-top: 90px;
    padding-bottom: 90px;
}
#community-left {
    width: 50%;
    height: 860px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#community-left .button {
    display: inline-block;
    margin-top: 40px;
    margin-right: 20px;
}
#community-right {
    position: absolute;
    z-index: 2;
    right: 0;
    width: 500px;
    height: 800px;
    margin-top: 0;
}
/*------------------------------------------------------------ PANEL CONTENT */
#panel-content {
    padding: 80px 0;
    min-height: 450px;
    background-color: #fff;
}
#panel-content h2 {
    font-size: 2.0rem;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 1px solid #ccc;
}
#panel-content h2:first-of-type {
    margin-top: 0;
    padding-top: 10px;
    border-top: 0;
}
#panel-content h3 {
    padding-top: 15px;
}
#panel-content h4 {
    font-style: normal;
    font-weight: 800;
    padding-bottom: 4px;
}
#panel-content ul, #panel-content ol {
    margin-left: 20px;
    padding-bottom: 25px;
}
#panel-content li {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 400;
    font-style: normal;
    color: #555;
    line-height: 1.4rem;
}
.structure-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.structure-item {
    width: 16%;
    margin-right: 0.66%;
}
.structure-item img {
    width: 100%;
}
.structure-item h3 {
    font-size: 1.4rem;
    margin: 8px 0 0;
    padding-right: 10px;
}
.structure-item p {
    font-size: 1.1rem;
    margin: 0 0 40px;
    padding-right: 10px;
    line-height: 1.4rem;
}
.directory-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.directory-item {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 40px;
}
.directory-image {
    width: 20%;
}
.directory-item img {
    width: 100%;
    height: auto;
}
.directory-content {
    width: 70%;
}

#map {
    margin-top: -50px;
    margin-bottom: -20px;
}

/*---------------------------------------------------------- FOOTER */
footer {
    position: relative;
    background-color: #003c71;
    padding: 50px 0;
}
.footer-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
}
footer a:link, footer a:visited {
    color: #fff;
    text-decoration: none;
    font-size: 1.0rem;
}
footer h2 {
    font-size: 2.4rem;
    color: #fff;
}
footer p {
    color: #fff;
}
footer a:hover {
    color: #f2A900;
}
#footer-left {
    width: 540px;
}
#footer-left p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5rem;
    color: #fff;
}
#footer-logo img {
    width: 100%;
}
#footer-logo {
    width: 110px;
    position: relative;
    z-index: 4000;
}
#acknowledge {
    width: 450px;
    margin-top: 20px;
}
#flags {
    margin-top: 20px;
    width: 200px;
    height: 35px;
}
#footer-links {
    width: 180px;
}
#footer-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
    display: block;
}
#footer-links a:hover {
    color: #f2A900;
}
#footer-right {
    width: 310px;
    text-align: right;
}

#footer-right p {
    line-height: 1.9rem;
    margin-bottom: 25px;
}
#footer-links a:before {
    content: "";
    display:inline-block;
    height: 10px;
    width: 10px;
    background-color: #f2A900;
    border-radius: 50%;
    margin: 15px 20px 0px 0px;
}
#phone {
    font-size: 1.8rem;
}
#throwstone:before {
    content: "";
    display: inline-block;
    height: 22px;
    width: 22px;
    background-size: 19px 22px;
    margin: 5px 9px -3px -36px;
    background-image: url(../images/throwstone-studios-logo.png);
    background-repeat: no-repeat;
}
/*---------------------------------------------------------- FOOTER STRIP */
#footer-strip {
    background-color: #f2A900;
    padding: 20px 0 1px;
}
#strip-wrapper {
    display: flex;
    justify-content: space-between;
}
#copyright, #uniting p {
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
    padding: 0;
    margin: 0;
    line-height: 1.2rem;
}
#footer-strip-left {
    max-width: 400px;
}
#uniting img {
    width: 30px;
    height: 30px;
    margin: -7px 6px 2px -4px;
}
#throwstone a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
}
/*---------------------------------------------------------- MENU */
#menu {
    margin: -62px auto 0;
    width: 800px;
}
#menu ul {
    list-style:none;
    display: flex;
    justify-content: space-between;
}
#menu ul li a {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.0em;
    display:block;
    margin: 0;
    padding: 20px 20px 25px 20px;
    -webkit-font-smoothing: antialiased;
    color : #162a53;
    text-decoration : none;
    text-transform: capitalize;
    white-space: nowrap;
    border-top-left-radius:3px;
    border-top-right-radius:3px;
    transition: all .5s ease;
    -moz-transition: all .5s ease; /* Firefox 4 */
    -webkit-transition: all .5s ease; /* Safari and Chrome */
    -o-transition: all .5s ease; /* Opera */
}
#menu ul li a:hover, #menu ul li:hover > a {
    color: #fff;
    background-color: #162a53;
}

#menu ul li ul {
    visibility: hidden;
    display: block;
    position:absolute;
    z-index: -10;
    /* Because #menu is part of a flexbox container, we cannot apply any positioning elements to the dropdown ul, otherwise the ul will be removed from the flexbox flow and the positioning will be calculated from the browser */ 


    transition: all 0.5s linear 0s;
    -moz-transition: all 0.5s linear 0s; /* Firefox 4 */
    -webkit-transition: all 0.5s linear 0s; /* Safari and Chrome */
    -o-transition: all 0.5s linear 0s; /* Opera */
}

#menu ul li:hover ul {
    visibility: visible;
    margin-top: 0;
}
#menu ul li:hover ul li {
    
}
/* style and set position of the dropdown menu*/
#menu ul li ul li a {
    color: #fff;
    background-color:#162a53;
    opacity: 0;
    margin: 0;
    padding: 20px 0 20px 20px;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    text-align: left;
    border-radius: 0;
    width: 270px;
    transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s; /* Firefox 4 */
    -webkit-transition: all 0.3s linear 0s; /* Safari and Chrome */
    -o-transition: all 0.3s linear 0s; /* Opera */
}
#menu ul li:hover ul li a {
    opacity: 1;
}
#menu ul li:hover ul li:nth-child(1) a {
    border-top-right-radius: 3px;
    border-top-left-radius: 0px;
}
#menu ul li:hover ul li:last-child a {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
#menu ul li:nth-child(6):hover ul li:nth-child(1) a{ 
    border-top-right-radius: 0;
    border-top-left-radius: 3px;
}
#menu ul li:hover ul li a:hover {
    color: #162a53;
    background-color:#f2A900;
}

/*------------------------------------------------------------------------------ MOBILE MENU */
.hamburger {
    position: relative;
    z-index: 2000;
    display: none;
    background-color: #003c71;
}
nav {
    height: 33px;
    top: 8px;
    right: 73px; /* This has to match the left value in .mobile-menu */
    position: absolute;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}
#menuToggle {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    padding: 18px 12px 12px;
    z-index: 2000;
    -webkit-user-select: none;
    user-select: none;
    width: 62px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    transition: all .5s ease;
    -moz-transition: all .5s ease; /* Firefox 4 */
    -webkit-transition: all .5s ease; /* Safari and Chrome */
    -o-transition: all .5s ease; /* Opera */
}
#menuToggle input {
    display: flex;
    width: 40px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}
#menuToggle span {
    display: flex;
    width: 38px;
    height: 3px;
    margin-bottom: 6px;
    position: relative;
    background: #f2A900;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 8px 0px;
    transition: transform 1s cubic-bezier(0.77,0.2,0.05,1.0),
        background 1s cubic-bezier(0.77,0.2,0.05,1.0),
        opacity 1s ease;
}
#menuToggle span:first-child {
    transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}
#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-3px, -1px);
    background: #fff;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}
.mobile-menu {
    position: absolute;
    left: 80px;
    width: 500px;
    height: auto;
    margin: -30px 0 0 -500px;
    padding: 20px 50px 0 60px;
    background-color: #003c71;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(0, -100%);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    text-align: center;
    list-style-type: none;
}
.mobile-menu li {
    padding: 0;
    transition-delay: 2s;
}

.mobile-menu li a {
    display: block;
    color: #fff;
    font-weight: normal;
    font-size: 1.4rem;
    padding: 16px 0;
    margin: 0 auto;
    width: 70%;
    border-top: 1px solid #fff;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    text-decoration: none;
}
.mobile-menu li a:hover {
    color: #f2A900;
}
.mobile-menu li:nth-child(1) a {
    border-top: 0;
}
.mobile-menu li ul {
    display: none;
    padding-bottom: 20px;
}
.mobile-menu li:hover ul {
    display: block;
}
.mobile-menu li ul li {
    display: block;
}
.mobile-menu li ul li a {
    color: #fff;
    margin: 0 auto 5px auto;
    font-size: 1.0rem;
    padding: 10px;
    border: 0;
    width: 220px;
    background-color: #1f448b;
    border-radius: 3px;
}
.mobile-menu li ul li a:hover {
    color: #1f448b;
    background-color: #f2A900;
}
#menuToggle input:checked ~ ul {
    transform: none;
}   
/* FORMS
*****************************************************************/
label {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    line-height: 1.8em;
    font-weight: bold;
    color: #02b5cb;
}

textarea { width:440px; padding: 6px; font-size: 1.4em; margin-bottom: 20px; height: 80px; border: 1px solid #aaa; border-radius: 3px;
}

.submit, select { width: 100px; height: 36px; border: 1px solid #aaa; border-radius: 6px;
    font-size: 1.4em; padding: 9px;
}

select { width: 214px; margin-bottom: 12px}

.error {
    font-weight: bold;
    color: #ed1b24;
}
#search-box input[type="text"] { 
    color: #003c71;
    padding: 25px 10px; 
    height: 66px; 
    font-size: 1.4rem;  
    margin: 0;
    width: 320px;
    border-radius: 3px;
    border: none;
}

input[type=image] { 
    width: 25px;
    height: 25px;
    margin: 0px 0 -6px -38px;
}
.simplesearch-highlight {
    background-color: #f2A900;
    padding: 0 4px;
    color: #fff;
}