/*
 Theme Name:   swflex
 Theme URI:    https://www.sitewired.com/
 Description:  A lightweight, Flexbox-based WordPress theme developed by SiteWired for Fang Foundation
 Author:       Joseph
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/

:root {
  --navy: #0f1e35;
  --navymild: #1a3050;
  --gold:#c09a5a;
  --goldstrong: #b8912f;
  --goldlight: #d4af78;
  --offwhite: #f7f5f2;
  --textdark: #2c3a4a;
  --textmild: #5a6a7a;
  --slate: #8a9bb0;
  --border: #e2ddd6;
  --nearblack: #080e18;
  --black: #000;
  --white: #fff;
  --green: #13A89E;
  --blue: #065A94;
  --footerbg: #070E18;
  /* Add more as needed */
}

* {
  box-sizing: border-box;
}

body {
    
  background: #fff;
  font-family: "Barlow", sans-serif;
  color: #404040;
  font-size: 18px;
  margin: 0;
  letter-spacing: 0.4px;
    
}

body a {
  color: var(--blue);
  transition: all 0.45s ease-in-out;
  -webkit-transition: all 0.45s ease-in-out;
  -moz-transition: all 0.45s ease-in-out;
  -ms-transition: all 0.45s ease-in-out;
  text-decoration: none;
}


a {
  outline: none;
}

header.site-header {
  position: fixed;
    padding: 0px;
    height: 100px;
    top: 0px;
    width: 100%;
    z-index: 401;
    background: #fff;
    color: #404040;

}
header {
    transform: translateY(-105px);
    top: 31px;
    opacity: 0;
    transition-duration: 0.7s;
}
header.bg-white {
    opacity: 1;
    transform: translateY(0) !important;
}
.not-front header {
  background: #333;
  opacity: 1;
    transform: translateY(0) !important;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.admin-bar header.site-header  {
    top: 32px;
}

       
.site-branding-wrap {
    display: inline-block;
}

#header-right {
   text-align: right;
     flex-grow: 1;
}
header .site-branding {
    align-items: center;
  align-content: center;
  width: 100%;
  display: flex;
  height: 100px;
  margin: 0 auto;
  padding: 0px 40px;
  max-width: 1500px;
}

.site-logo-main img {
       width: 210px;
    position: relative;
    top: 0px;
  
}
.site-logo-main {
    display: inline-block;
margin-right: 30px;
}


#wpadminbar {
    background: #0C74BC;
}



h1 {
  font-size: 55px;
  font-weight: 600;
  line-height: 65px;
  margin-bottom: 20px;
  margin-top: 0px;
}

h2 {
  font-size: 45px;
  line-height: 55px;
  margin-bottom: 20px;
  margin-top: 0px;
  font-weight: 600;
  position: relative;
  margin-bottom: 25px !important;
  padding-bottom: 15px;
}


h3 {
  font-size: 35px;
  line-height: 45px;
  margin-bottom: 20px;
  margin-top: 0px;
  font-weight: 600;
}
h4 {
  font-size: 28px;
    line-height: 38px;
    margin-bottom: 20px;
   margin-top: 0px;
}
h2:after {
  content: "";
  height: 2px;
  width: 65px;
  background: var(--green);
  position: absolute;
  display: block;
  bottom: 0px;

}
h2.has-text-align-center:not(.no-line):after {
    left: 0;
    right: 0;
    margin: 0 auto;
}

h2.no-line {
  margin-bottom: 20px !important;
  padding-bottom: 0px;
}
h2.no-line:after {
  display: none;
}


h1, h2, h3, h4, h5 {
    font-family: "Cormorant Garamond", serif;
    
}
h2, h3, h4 {
  color: var(--green);
}

#main p, #main ul li,  #main ol li, #main table tr,  #main table th, #main table td{
  font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.5px;
}

[itemprop="text"] {
     font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

#main table {
    width: 100%;
    margin: 25px 0px;
    border-collapse: collapse;
}
#main table tr, #main table th {
border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}
#main table td {
    padding: 8px;
    border: 1px solid #ccc;
}
#main p {
    margin-bottom: 20px;
    margin-top: 0px;
}



.aop-link {
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 290;
}

.container {
    max-width: 1360px !important;
    margin: 0 auto;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.full-width-box .wp-block-cover__inner-container  {
  max-width: 1360px !important;
    margin: 0 auto;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}
.news-block .wp-block-columns {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 40px;
    padding-right: 40px;

}
.news-block {
  margin-top: 50px;
  margin-bottom: 35px;
}
.news-block p {
  margin-bottom: 0px !important;
    line-height: 36px !important;
}
.bottom-block.full-width-box {
  padding-top: 0px; padding: 0px !important; 
}
.bottom-block.full-width-box img {
  width: 100%; object-fit: cover;
}
.bottom-block.full-width-box .wp-block-cover__inner-container {
  max-width: 100% !important; width: 100%; padding-left: 0px;padding-right: 0px;
  margin-top: 15px;
}
.bottom-block.full-width-box .wp-block-columns { margin-bottom: 0px !important; gap: 0px !important; }
.bottom-block .wp-block-column {
  position: relative; margin-bottom: 0px !important;
}
.bottom-block .wp-block-column figure {
  margin-bottom: 0px !important;
}
.bottom-block h3 {
  position: absolute;
top: 40%;
    color: #fff;
    text-shadow: 0px 3px 6px #000;
    text-align: center;
    left: 0;
    right: 0;
    font-size: 40px; line-height: 50px;
}
.forminator-label {
  font-size: 17px !important;
    font-weight: 400 !important;
    margin-bottom: 5px !important;
}
.forminator-description, .forminator-edit-module {
  display: none !important;
}
.forminator-button-submit {
      background: var(--blue) !important;
    width: 100% !important;
    font-size: 18px !important;
    color: #fff !important;
}
.add-padding {
    padding: 20px 30px;
}

.add-border {
    border: 1px solid #13A89E;
}

/* === FORMS === */
input[type="checkbox"], input[type="radio"] {
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    width: 20px !important;
    margin-right: 10px !important;
    position: relative !important;
    top: 6px !important;
    float: left !important;
}
#primary input[type="text"], #primary input[type="email"], #primary input[type="tel"], #primary input[type="date"], #primary select, #primary textarea {
    border: 1px solid var(--border) !important;
    background: #fff !important;
    max-width: 700px !important;
    margin-left: 0 !important;
    width: 100% !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    border-radius: 0px !important;
    
    padding: 10px !important;
}

input[type=text]:focus, input[type=email]:focus, input[type=url]:focus, input[type=password]:focus, input[type=search]:focus, input[type=number]:focus, input[type=tel]:focus, input[type=date]:focus, input[type=month]:focus, input[type=week]:focus, input[type=time]:focus, input[type=datetime]:focus, input[type=datetime-local]:focus, input[type=color]:focus, .site textarea:focus, input[type="date"]:focus {
    outline: none !important;
}



/* === MAIN NAVIGATION === */
#main-nav-menu {
    width: 100%;
}

#site-navigation {
   text-align: right;
       position: relative;
    top: 0px;
}

ul#menu-main-menu {
  position: relative;
  
}
.main-navigation .main-menu > li {
    display: inline-block;
    float: none !important;
    white-space: nowrap;
    position: relative;
    
}

.main-navigation .main-menu > li > a {
    display: block;
    height: 53px;
    padding: 6px 0px 0;
    position: relative;
    background: none;
    line-height: 42px;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    transition: .5s;
    z-index: 1;
    
}
.main-navigation .main-menu > li > a {
    margin: 0 25px;
}
.main-navigation .main-menu > li > a:hover {
    color: var(--green);
}
.main-navigation .main-menu > li > a:after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0px;
    height: 2px;
    right: 50%;
    transform: scale(0, 0) translate(-50%, 0px);
    background: var(--green);
    transition: transform 0.2s ease-in-out, color ease-in-out;
}
.main-navigation .main-menu > li > a:hover:after {
    transform: scale(1, 1) translate(50%, 0px);
}
.main-navigation .main-menu > li:last-child > a:after  {
    display: none !important;
}




/* ==== submmenu dropdown ==== */
.main-navigation .sub-menu {
    box-sizing: border-box;
    width: 300px;
    margin: 0;
    padding: 10px;
    background: var(--offwhite) !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 270;
    list-style: none;
    padding: 0;
    opacity: 0;
    transform-origin: top;
    transform: scaleY(0.9);
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
	overflow: hidden;
	border-top: 2px solid var(--gold);
}

.main-navigation .sub-menu>li>a:hover {
    
    color: #fff !important
}

.main-navigation .menu-item-has-children:hover .sub-menu {
     opacity: 1;
    transform: scaleY(1);
    visibility: visible;
    transition-delay: 0s;
}

.main-navigation .sub-menu>li>a {
    max-width: 100%;
    display: block;
    padding: 15px 20px;
    text-align: left;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    transition: .5s;
    z-index: 1;
    position: relative;           
}
.main-navigation .sub-menu>li>a:before {
content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--blue);
    position: absolute;
    top: 0;
    left: -100%;
    z-index: -1;
    -webkit-transition: all .35s ease-in-out;
    -moz-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out;
}
.main-navigation .sub-menu>li>a:hover:before {
    left: 0;
}


.main-navigation .sub-menu>li:last-child>a {
    border-bottom: 0;
    padding-bottom: 15px
}

.nav > li > a:hover, .nav > li > a:focus {
    background: transparent !important;
    outline: none !important;
    border: 0px !important;
}

.menu-item-has-children > ul.sub-menu > li > a::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    vertical-align: middle;
	right: 15px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 444.815 444.815'><path fill='%23000' d='M421.976,196.712L236.111,10.848C228.884,3.615,220.219,0,210.131,0c-9.9,0-18.464,3.615-25.697,10.848L163.023,32.26c-7.234,6.853-10.85,15.418-10.85,25.697c0,10.277,3.616,18.842,10.85,25.697l83.653,83.937H45.677c-9.895,0-17.937,3.568-24.123,10.707s-9.279,15.752-9.279,25.837v36.546c0,10.088,3.094,18.698,9.279,25.837s14.228,10.704,24.123,10.704h200.995L163.02,360.88c-7.234,7.228-10.85,15.89-10.85,25.981c0,10.089,3.616,18.75,10.85,25.978l21.411,21.412c7.426,7.043,15.99,10.564,25.697,10.564c9.899,0,18.562-3.521,25.981-10.564l185.864-185.864c7.043-7.043,10.567-15.701,10.567-25.981C432.54,211.939,429.016,203.37,421.976,196.712z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
	position: absolute;
    top: 18px;
}
.menu-item-has-children > ul.sub-menu > li > a:hover::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 444.815 444.815'><path fill='%23fff' d='M421.976,196.712L236.111,10.848C228.884,3.615,220.219,0,210.131,0c-9.9,0-18.464,3.615-25.697,10.848L163.023,32.26c-7.234,6.853-10.85,15.418-10.85,25.697c0,10.277,3.616,18.842,10.85,25.697l83.653,83.937H45.677c-9.895,0-17.937,3.568-24.123,10.707s-9.279,15.752-9.279,25.837v36.546c0,10.088,3.094,18.698,9.279,25.837s14.228,10.704,24.123,10.704h200.995L163.02,360.88c-7.234,7.228-10.85,15.89-10.85,25.981c0,10.089,3.616,18.75,10.85,25.978l21.411,21.412c7.426,7.043,15.99,10.564,25.697,10.564c9.899,0,18.562-3.521,25.981-10.564l185.864-185.864c7.043-7.043,10.567-15.701,10.567-25.981C432.54,211.939,429.016,203.37,421.976,196.712z'/></svg>");
}

/* === AFTER HEADER === */


#after-header {
    position: relative;
    overflow: hidden;
    margin-top: 0px;
}
#after-header .wp-block-nk-awb {
  padding: 90px 40px;
  height: 100vh;
    display: flex;
    align-items: center;
}
#after-header .nk-awb-wrap-content {
  max-width: 1400px;
  margin: 0 auto;
}
#after-header .nk-awb-wrap-content :is(h1,p) {
  max-width: 950px;
  text-align: center;
  color: #fff;
}
#after-header p {
  font-size: 22px;
  line-height: 40px;
}
#after-header p.has-extra-small-font-size {
  font-size: 17px; font-weight: 600;
 }
.page-numbers {
    list-style: none;
    width: 100%;
    max-width: 1280px;
    margin: 30px auto;
    text-align: center;
    padding: 0 !important;
}
.page-numbers li {
    display: inline-block;
}
.page-numbers li a {
    margin: 0 5px !important;
    background: #ededed !important;
    color: #545454 !important;
    padding: 6px 12px !important;
}
.page-numbers li a:focus, .page-numbers li a:hover {
    background: var(--black) !important;
    color: #fff !important;
}
#after-header .wp-block-buttons .wp-block-button {
  margin: 0px 10px;
}
#after-header .wp-block-buttons a {
  background: #fff;
  border-radius: 10px;
  color: var(--blue);
   font-size: 17px;
    font-weight: 600;
    transition: 0.3s ease-in color;
    text-transform: uppercase;
}
#after-header .wp-block-buttons a:hover {
  color: #000;
  background: #fff;
}
p.hero-icon {
  padding-top: 40px;
}
#main .wp-block-buttons a {
  background: var(--blue);
  color: #000;
  border-radius: 0px;
  font-size: 18px;
    font-weight: 600;
    padding-left: 40px;
    padding-right: 40px;
    border: 1px solid var(--blue);
    transition: .3s ease-in background;
}
#main .wp-block-buttons a:hover {
  background: #000;
  color: var(--white);
  border: 2px solid #000;
}

.wp-block-buttons {
  margin-top: 40px;
}




/* === CONTENT AREA === */

#primary {
    padding-top: 40px;
    padding-bottom: 0px;
    z-index: 201;
    position: relative;
}
.not-front .content-wrap-main {
  margin-top: 100px;
}

.full-width-box {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 60px;
  padding-bottom: 60px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
}



/* ==== FOOTER ==== */
footer {
  background: #fff;
  color: #000;
  padding-top: 10px;
  padding-bottom: 10px;
}
footer ul li a {
  color: #000;
}
footer h3 {
  color: var(--green);
}

footer p, footer ul li {
  font-size: 17px;
  line-height: 35px;
}
footer ul {
  list-style: none;
  padding-left: 0px;
}
.mobile-only {
    display: none !important;
}
.desktop-only {
    display: block !important;
}
#footer-copyright {
  padding-top: 0px;
}

footer h3 {
      font-size: 21px;
    text-transform: uppercase;
    font-family: 'Barlow';
    margin-bottom: 0px;
}


/* Responsive */
@media(min-width: 1600px) {
   
}
@media(min-width: 1700px) {
   
}

@media(max-width: 1500px) {
  
   
   
}
@media(max-width: 1400px) {

}



@media (max-width: 1024px) {
    
    #rmp_menu_trigger-42 {
      top: 24px; right: 20px;
    }
    
    #rmp-container-42 {
      background: var(--navy);
      width: 100%;
      max-width: 100%;
      margin-top: 100px !important;
      padding-top: 30px;
      padding-bottom: 50px;
      border-bottom: 1px solid rgba(184,145,47,.18);
      height: auto;
    }

   
    #rmp-menu-wrap-42 .rmp-menu-item-link {
      color: rgba(255, 255, 255, .8);
      text-decoration: none;
      font-size: 20px;
      line-height: 3em;
      height: auto;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
    }
    #rmp-menu-wrap-42 ul .rmp-menu-item:last-child .rmp-menu-item-link  {
        background: var(--blue);
    border: 0px !important;
    width: 300px;
    margin-top: 30px;
    margin-left: 42px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.5em;
        letter-spacing: 1px;
       
    padding: 10px 0px;
  }

     h1 {
      font-size: 38px;
      line-height: 48px;
    }
    h2 {
        font-size: 30px;
        line-height: 40px;
        
    }
    h3 {
        font-size: 24px;
        line-height: 34px;
        
    }
     h4 {
        font-size: 20px;
        line-height: 30px;
        
    }
    
    
    #main p, #main ul li, #main ul li a, #main ol li, #before-footer p  {
        font-size: 16px;
        line-height: 32px;
        
    }
    #main p.has-large-font-size {
      font-size: 18px !important;
      line-height: 28px !important;
    }
    footer {
      padding: 30px 20px 20px;
    }
     footer p, footer ul li {
    font-size: 15px;
    line-height: 30px;
    }
    footer h3 {
      font-size: 17px;
    }

    p.sub-heading {
      font-size: 14px;
    }
     #after-header .nk-awb-wrap-content img {
    max-width: 150px;
    padding-top: 40px;
   }
   #after-header .wp-block-nk-awb {
    height: auto;
    padding: 20px;
   }
    
}

@media (max-width: 768px) { 
   
   .news-block p, .news-block h2 {
    text-align: center;
   }
  
   .container {
      padding-left: 20px;
      padding-right: 20px;
    }
   .news-block .wp-block-columns { gap: 0px !important }
    .wp-block-buttons a {
      font-size: 14px;
    }
    #after-header .wp-block-nk-awb {
      padding: 40px 40px 60px;
    }
   
    .full-width-box {
      padding-top: 35px;
      padding-bottom: 35px;
    }
   
   

    
}

@media (max-width: 600px) { 
         .site-logo-main img {
          width: 150px;
         }
        
            #main p.has-large-font-size {
        font-size: 16px !important;
        line-height: 26px !important;
    }
    .not-front .content-wrap-main {
      margin-top: 75px;
    }
  
}


