/*
Theme Name: WP WOL Bermuda
Theme URI: https://advanced.bm
Author: Sachin Solanki
Author URI: https://advanced.bm
Description: WordPress theme for Word of Life Bermuda - 1:1 port from Joomla wolbermuda template. Compatible with PHP 8.2+ and WordPress 6.x+.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.2
License: Private
Text Domain: wpwolberm
*/

/* =========================================================
   CUSTOM FONTS
   ========================================================= */
@font-face {
    font-family: 'cstmfont';
    src: url('fonts/gothic.eot');
    src: local('gothic'), url('fonts/gothic.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'cstmfont2';
    src: local('pertili'), url('fonts/pertili.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'cstmfont3';
    src: local('perpetua'), url('fonts/perpetua.ttf') format('truetype');
    font-display: swap;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body, p, ul, h1, h2, h3, h4, h5, h6, img {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font: 14px/20px Arial, sans-serif;
    color: #575757;
    background: #fff;
}

img {
    border: 0;
    max-width: 100%;
    width: auto;
    height: auto;
}

p, ul, li {
    text-align: justify;
}

a {
    text-decoration: none;
    color: #4db3db;
}

a:hover {
    text-decoration: none;
    color: #024f67;
}

div {
    margin: 0 auto;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.wrap {
    width: 1170px;
    position: relative;
    margin: 0 auto;
}

.clr {
    clear: both;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4,
.col-md-5, .col-md-6, .col-md-7, .col-md-8,
.col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
    margin: 0 1%;
}

.col-md-1  { width: 6.3333%; }
.col-md-2  { width: 14.6666%; }
.col-md-3  { width: 23%; }
.col-md-4  { width: 31.3333%; }
.col-md-5  { width: 39.6666%; }
.col-md-6  { width: 48%; }
.col-md-7  { width: 56.3333%; }
.col-md-8  { width: 64.6666%; }
.col-md-9  { width: 73%; }
.col-md-10 { width: 81.3333%; }
.col-md-11 { width: 89.6666%; }
.col-md-12 { width: 98%; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, .componentheading {
    font: 400 30px/34px 'cstmfont', sans-serif;
    text-align: left;
    margin-bottom: 20px;
    color: #024f67;
    padding-top: 20px;
}

h2 {
    font: 400 22px/24px 'cstmfont', sans-serif;
    margin-bottom: 15px;
    margin-top: 5px;
    color: #4db3db;
}

h3 {
    font: bold 16px/26px 'cstmfont', sans-serif;
    color: #4db3db;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h4 {
    font: bold 16px/22px 'cstmfont', sans-serif;
    color: #4db3db;
    text-transform: uppercase;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    padding: 10px 0;
    margin-bottom: 15px;
}

h5 {
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #065a7e;
}

h6 {
    font-size: 16px;
    font-weight: normal;
    padding: 10px 0;
    text-transform: uppercase;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    position: fixed;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,1);
}

.head-top {
    background: #fff;
    margin-top: 3px;
    color: #74d1f6;
}

.head-top::after {
    background: #4db3db;
    content: '';
    display: block;
    width: 98%;
    margin: 4px 1% 0;
    height: 0.5px;
}

.head-top a {
    color: #4db3db;
    font-size: 13px;
}

.head-top a:hover {
    color: #454545;
}

.head-top .col-md-6:last-child {
    text-align: right;
}

.hdr-mrgn {
    margin-top: 125px;
    z-index: -111 !important;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-nav-wrapper {
    margin-top: 10px;
    float: right;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
    margin-top: 30px;
}

.site-nav ul li {
    position: relative;
    float: left;
}

.site-nav ul li a {
    display: block;
    padding: 5px 12px;
    font: normal 15px/17px Arial, sans-serif;
    color: #6C6C6C;
    white-space: nowrap;
}

.site-nav ul li a:hover,
.site-nav ul li.current-menu-item > a,
.site-nav ul li.current-menu-ancestor > a {
    color: #4db3db;
    background: none;
}

/* Dropdown */
.site-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: #fff;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
    padding: 8px 12px;
    z-index: 9999;
    float: none;
    margin-top: 0;
}

.site-nav ul li:hover > ul {
    display: block;
}

.site-nav ul li ul li {
    float: none;
    width: 100%;
}

.site-nav ul li ul li a {
    display: block;
    padding: 10px;
    width: 100%;
    font-weight: 100;
    background: #fff;
    text-transform: capitalize;
    border-bottom: 1px solid #d5d5d5;
    color: #4db3db;
    font-size: 14px;
}

.site-nav ul li ul li a:hover {
    color: #454545;
    background: none;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: #74d1f6;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    float: right;
    margin-top: 15px;
}

/* =========================================================
   SLIDER
   ========================================================= */
.hdr-mrgn .slider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}

.home-slider {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #024f67;
    line-height: 0;
}

/* Each slide fills the full slider area */
.home-slider .slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home-slider .slide.active {
    display: block;
}

/* Images fill full width & height, centred, no distortion */
.home-slider .slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-width: none;
}

.home-slider .slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.home-slider .slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Caption strip at bottom of slider */
.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 5;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-size: 22px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s;
    line-height: 1;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-nav.prev { left: 15px; }
.slider-nav.next { right: 15px; }

/* =========================================================
   HOME BOX BG (info / about section)
   ========================================================= */
.box-bg {
    background-color: #fff;
    padding: 50px 40px 40px;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.3);
    border-top: 5px solid #74d1f6;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* 3-column front content block */
#fcontents-block {
    overflow: hidden;
}

/* ── Left col: text ── */
.wol-tab-content-col {
    float: left;
    width: 31.3333%;
    margin: 0 1%;
    min-height: 260px;
}

.wol-tab-pane {
    display: none;
}

.wol-tab-pane.wol-active {
    display: block;
}

.wol-tab-pane h1 {
    padding-top: 0;
}

/* ── Middle col: image ── */
.wol-tab-img-col {
    float: left;
    width: 31.3333%;
    margin: 0 1%;
}

.wol-tab-img-col .tab-img {
    display: none;
    width: 100%;
    border: 1px solid #d5d5d5;
}

.wol-tab-img-col .tab-img.wol-active {
    display: block;
}

.wol-tab-img-col img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Right col: link nav ── */
.box-link {
    float: left;
    width: 31.3333%;
    margin: 0 1%;
}

.box-link .wol-tab-link {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d5d5d5;
    padding: 10px 0;
    cursor: pointer;
    color: #4db3db;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.15s;
    gap: 12px;
}

.box-link .wol-tab-link:hover,
.box-link .wol-tab-link.wol-active {
    color: #024f67;
}

/* WP-logo style icon placeholder */
.box-link .fc-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    opacity: 0.25;
}

.box-link .wol-tab-link.wol-active .fc-icon {
    opacity: 0.5;
}

/* =========================================================
   NOTICES SECTION
   ========================================================= */
.notice-wd {
    background: #fff;
    color: #575757;
    padding: 30px 0 0;
}

.notice-wd h1 {
    padding: 10px;
    color: #024f67;
    border-top: 1px solid #454545;
    border-bottom: 1px solid #454545;
}

.notice-wd span {
    font-size: 15px;
}

.notice-wd h1 a {
    float: right;
    font-size: 14px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    color: #4db3db;
    padding-top: 5px;
}

/* =========================================================
   INNER PAGE CONTENT
   ========================================================= */
.cont-body {
    padding: 0 15px 20px;
    margin: 0 auto;
    border-bottom: 1px solid #d5d5d5;
}

.item-page ul {
    margin-left: 15px;
}

.item-page {
    margin-bottom: 20px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.expn h1 {
    color: #024f67;
    font-size: 16px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn_sml, .wol-btn {
    background: #fff;
    color: #4db3db;
    text-align: center;
    font-size: 14px;
    padding: 10px 20px;
    text-decoration: none;
    border: 1px solid #4db3db !important;
    display: inline-block;
}

.btn_sml:hover, .wol-btn:hover {
    background: #4db3db;
    text-decoration: none;
    color: #fff;
    border: 1px solid #4db3db;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer_1 {
    padding: 25px 15px;
    background: #024f67;
    color: #fff;
    line-height: 20px;
    overflow: hidden;
}

.footer_1 a {
    color: #fff;
}

.footer_1 a:hover {
    color: #74d1f6;
}

.footer_1 h3 {
    font-size: 18px;
    color: #74d1f6;
    text-transform: uppercase;
}

.footer_1 .lnk p {
    margin-bottom: 6px;
}

.footer_1 .col-md-3,
.footer_1 .col-md-2,
.footer_1 .col-md-4 {
    padding: 0 15px;
}

/* Email signup widget in footer */
.footer-email-signup input[type="text"],
.footer-email-signup input[type="email"] {
    width: 100%;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    margin-bottom: 8px;
    height: auto;
}

.footer-email-signup input[type="text"]::placeholder {
    color: rgba(255,255,255,0.7);
}

.footer-email-signup .wol-submit-btn {
    background: #4db3db;
    color: #fff;
    border: 1px solid #4db3db;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

.footer-email-signup .wol-submit-btn:hover {
    background: #024f67;
}

.footer-contact-info p {
    margin-bottom: 8px;
    color: #fff;
}

/* =========================================================
   WIDGETS
   ========================================================= */
.widget {
    margin-bottom: 20px;
}

.widget h3.widget-title,
.widget h4.widget-title {
    color: #4db3db;
    font-size: 16px;
    text-transform: uppercase;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    padding: 10px 0;
    margin-bottom: 15px;
}

.footer_1 .widget h3.widget-title {
    color: #74d1f6;
    border-top-color: rgba(255,255,255,0.2);
    border-bottom-color: rgba(255,255,255,0.2);
}

.footer_1 .widget p,
.footer_1 .widget li,
.footer_1 .widget a {
    color: #fff;
    font-size: 14px;
}

.footer_1 .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_1 .widget ul li {
    margin-bottom: 6px;
    text-align: left;
}

.footer_1 .widget ul li::before {
    content: '» ';
    color: #74d1f6;
}

/* =========================================================
   POLL / SIDEBAR
   ========================================================= */
.poll {
    margin-bottom: 20px;
}

.poll .progress {
    width: 100%;
    height: 10px;
    padding: 1px;
    border: 1px solid #ccc;
    margin-bottom: 6px;
}

.poll .progress-bar {
    height: 10px;
    float: left;
    background: #4db3db;
}

/* =========================================================
   CF7 / CONTACT FORM
   ========================================================= */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d5d5d5;
    background: transparent;
    margin-bottom: 5px;
    height: 33px;
    padding-left: 5px;
    box-shadow: none;
    outline: none;
}

.wpcf7 textarea {
    height: 120px;
}

.wpcf7 input[type="submit"] {
    background: #fff;
    color: #4db3db;
    border: 1px solid #4db3db;
    padding: 10px 20px;
    cursor: pointer;
    height: auto;
    width: auto;
}

.wpcf7 input[type="submit"]:hover {
    background: #4db3db;
    color: #fff;
}

/* =========================================================
   UTILITY
   ========================================================= */
.text-right { text-align: right; }
.text-center { text-align: center; }
.mrgn-btm { margin-bottom: 30px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media screen and (min-width: 240px) and (max-width: 680px) {
    .wrap {
        width: calc(100% - 30px);
        margin: 0 15px;
    }

    .col-md-1, .col-md-2, .col-md-3, .col-md-4,
    .col-md-5, .col-md-6, .col-md-7, .col-md-8,
    .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        width: 100%;
        display: block;
        float: left !important;
        margin: 0 auto;
    }

    .header { position: relative; }
    .hdr-mrgn { margin-top: 0; }
    .head-top { display: none; }

    /* Slider mobile height */
    .home-slider { height: 220px; }

    .box-bg {
        padding: 20px;
        margin-top: 20px;
    }

    /* Stack about section columns on mobile */
    .wol-tab-content-col,
    .wol-tab-img-col,
    .box-link {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }

    .footer_1 .col-md-4 { margin-top: 20px; }
    .footer_1 p { text-align: center !important; }
    .footer_1 h3 { margin-top: 20px; text-align: center; }
    .footer_1 .lnk h3, .footer_1 .lnk p { text-align: left !important; }

    .mobile-menu-toggle { display: block; }
    .site-nav { display: none; }
    .site-nav.open { display: block; clear: both; width: 100%; }
    .site-nav ul { float: none; margin-top: 0; }
    .site-nav ul li { float: none; width: 100%; }
    .site-nav ul li a { border-bottom: 1px solid #e5e5e5; padding: 10px 7px; display: block; }
    .site-nav ul li ul { position: static; display: none; box-shadow: none; }
    .site-nav ul li.menu-open > ul { display: block; }

    .expn h1 { display: none; }
}

@media screen and (min-width: 681px) and (max-width: 1024px) {
    .wrap {
        width: calc(100% - 30px);
        margin: 0 15px;
    }
}

@media screen and (min-width: 240px) and (max-width: 979px) {
    .mobile-menu-toggle { display: block; }
    .site-nav { display: none; }
    .site-nav.open { display: block; clear: both; width: 100%; }
    .site-nav ul { float: none; margin-top: 0; width: 100%; }
    .site-nav ul li { float: none; width: 100%; }
    .site-nav ul li a { border-bottom: 1px solid #e5e5e5; padding: 10px 7px; display: block; text-align: left; }
    .site-nav ul li ul { position: static; display: none; box-shadow: none; width: 100%; }
    .site-nav ul li.menu-open > ul { display: block; }
}

@media screen and (min-width: 980px) {
    .mobile-menu-toggle { display: none; }
    .site-nav { display: block !important; }
}
