/* =============================================
   TABLE OF CONTENTS
   =============================================
   1. HEADER ELEMENTS
   2. NAVIGATION MENU
   3. FOOTER STYLING
   4. LAYOUT ELEMENTS
   5. SPECIFIC SECTIONS
   6. CUSTOM MODULES
   7. TYPOGRAPHY & ELEMENTS
   8. SPECIAL ELEMENTS
   9. TESTIMONIALS
   10. MEDIA ELEMENTS
   11. ANIMATIONS
   12. MEDIA QUERIES
   ============================================= */

/* =============================================
   1. HEADER ELEMENTS
   ============================================= */
/* Top bar styling */
#sp-top-bar .row {
    display: flex;
    align-items: center;
}

/* Select element styling */
#gt-wrapper-119 select {
    height: 30px !important;
    padding: 5px !important;
    font-size: 1em !important;
}

/* Header styling */
#sp-header.lg-header {
    box-shadow: none !important;
}

#mod-custom285 p {
    margin: 0;
}

/* Header topbar styling */
#sp-header-topbar {
    background: #251d1b;
    color: #fff;
    padding: 10px 0;
}

#sp-header-topbar .container-inner > .row {
    min-height: 30px;
}

#sp-header-topbar a,
#sp-header-topbar span {
    color: #fff;
}

#sp-header-topbar .container-inner {
    border-bottom: none !important;
}

/* =============================================
   2. NAVIGATION MENU
   ============================================= */
/* Mega menu styling */
.sp-megamenu-parent .sp-mega-group > li > a {
    display: block;
    text-transform: capitalize !important;
    font-size: 16px;
    font-weight: normal !important;
    margin-bottom: 10px;
}

.sp-megamenu-parent .sp-dropdown .sp-module .sp-module-title {
    font-size: 16px;
    margin: 0 0 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 12px;
    line-height: 20px;
    display: inline-block;
    padding: 8px 0;
    cursor: pointer;
}

.sp-dropdown-items {
    margin-left: 10px !important;
}

.sp-dropdown-mega li.sp-menu-item > a:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105";
    padding-right: 5px;
}

.sp-megamenu-parent > li:nth-child(2) .sp-dropdown-mega .col-sm-4:first-of-type,
.sp-megamenu-parent > li:nth-child(5) .sp-dropdown-mega .col-sm-4:first-of-type {
    background: #000000 !important;
    padding: 15px !important;
    color: #fff;
    margin: -20px 0 -20px -5px !important;
}

.sp-group-title {
    font-size: 16px !important;
    background: #000;
    border-radius: 4px;
    padding: 5px;
}

.mega-snippet {
    font-size: 18px;
}

/* =============================================
   3. FOOTER STYLING
   ============================================= */
#sp-footer ul {
    padding: 0;
}

#sp-footer ul li {
    list-style-type: none;
}

#sp-footer2 div {
    justify-content: left !important;
    text-align: left;
}

#sp-footer h3 {
    color: #c90a27;
    text-transform: uppercase;
    font-size: 1.3em;
}

#sp-footer a {
    font-size: 1.2em;
    line-height: 2em;
}
.contact-image{display: inline-block; width:300px; margin:0 5px;}

body.ltr .sp-megamenu-parent > li.sp-has-child > a::after, body.ltr .sp-megamenu-parent > li.sp-has-child > span::after {
    font-family: "Font Awesome 6 Free";
  
  
  
    float: right;
  
    margin-left: 7px;
  
    font-weight: 900;
  
  }

  #modal-menu ul.sp-megamenu-parent li.sp-has-child > a:after,
  #modal-menu ul.sp-megamenu-parent li.sp-has-child > span:after {
      content: "";
      font-family: "Font Awesome 6 Free";
      float: right;
      position: absolute;
      top: 2px;
  }


/* =============================================
   4. LAYOUT ELEMENTS
   ============================================= */
.bg-danger {
    display: none;
}

/* Main body styling */
#sp-main-body {
    padding: 0;
}

#sp-main-body > .container {
    padding-top: 0px;
}

/* Slide section styling */
#sp-slide-section {
    border-top: 1px solid #ffb501;
}

/* Sidebar modules */
#sp-left .sp-module,
#sp-right .sp-module {
    margin-top: 20px;
    border: none;
    padding: 15px;
    border-radius: 3px;
}

#sp-left .sp-module .sp-module-title,
#sp-right .sp-module .sp-module-title {
    margin: 0 0 20px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 2px solid #ffb501;
}

/* Aside styling */
aside.col-lg-6:last-child {
    background: #fff;
}

/* =============================================
   5. SPECIFIC SECTIONS
   ============================================= */
/* Discover Panama section */
#sp-discover-panama-section {
    background: linear-gradient(to right, #f4f2ec 0%, #f4f2ec 50%, #dc6d3f 50%, #dc6d3f 100%);
    padding: 20px 0;
}

#sp-discover-panama1 h2 {
    margin: 0;
    font-weight: bold;
    color: #241d1b;
}

#sp-discover-panama1 h2:first-of-type {
    font-size: 40px;
    margin-bottom: 40px;
}

/* Home mid section */
#sp-home-mid-section {
    background: linear-gradient(to right, #dc6d3f 0%, #dc6d3f 50%, #f4f2ed 50%, #f4f2ed 100%);
    padding: 20px 0;
    border-bottom: 1px solid #000;
}

#sp-home-mid-section1 h2,
#sp-home-mid-section2 h2 {
    margin: 0;
    font-weight: bold;
    color: #241d1b;
}

#sp-home-mid-section2 ul {
    padding: 0;
    margin-top: 30px;
}

#sp-home-mid-section2 li {
    list-style-type: none;
}

#sp-home-mid-section2 li:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f058";
    padding-right: 5px;
}

/* Home lower section */
#sp-home-lower-section {
    padding: 60px 0;
    padding-top: 30px;
    border-top: 1px solid #d1c8af;
}

/* Error and custom message styling */
.custom-message {
    text-align: center;
    font-size: 1em;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 40px;
}

#mod-custom221 p {
    width: 50%;
    margin: 0 auto;
    padding-bottom: 10px;
}

#sp-component .sp-column,
aside {
    padding-top: 50px;
}

.custom-message h5 {
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.error-search {
    margin-bottom: 40px;
}

.error-search div {
    display: flex;
    justify-content: center !important;
}

.custom-message a {
    color: #c90a27;
    text-decoration: none;
    font-weight: bold;
}

.custom-message a:hover {
    text-decoration: underline;
}

/* Home video gallery section */
#sp-home-video-gallery-section {
    padding: 60px 0;
    border-top: 1px solid #241d1b;
    border-bottom: 1px solid #241d1b;
}

/* Card styling */
#sp-discover-panama2 .card,
#sp-home-lower-section2 .card {
    border: 2px solid #f4f2ec;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

#sp-discover-panama2 .card img,
#sp-home-lower-section2 .card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

#sp-discover-panama2 .card:hover img,
#sp-home-lower-section2 .card:hover img {
    transform: scale(1.1);
}

#sp-discover-panama2 .card-title,
#sp-home-lower-section2 .card-title {
    position: absolute;
    font-size: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #241d1b;
    color: #fff;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    height: max-content;
    padding: 10px 20px;
    white-space: nowrap;
    border-radius: 5px;
}

#sp-discover-panama2 .card:hover,
#sp-home-lower-section2 .card:hover {
    filter: brightness(80%);
}

.tripadvisor-link {
    display: flex;
    justify-content: center;
}

.tripadvisor-link img {
    width: 150px;
    height: auto;
}

/* =============================================
   6. CUSTOM MODULES
   ============================================= */
/* Custom module styling */
#mod-custom121 img {
    width: 60px;
}

#mod-custom282 {
    color: #fff;
}

#mod-custom282 h3 {
    margin: 20px 0;
}

#mod-custom283 p {
    text-align: center;
    margin-top: 40px;
}

#mod-custom283 li {
    line-height: 2em;
}

#mod-custom239 {
    text-align: center;
    padding: 20px 0;
}

/* Business statement section */
#sp-business-statement {
    text-align: center;
    padding: 25px 0;
    color: #fff;
}

#sp-business-statement h2 {
    font-size: 1.6em;
    line-height: 3em;
}

#sp-business-statement p {
    font-size: 1.2em;
}

/* =============================================
   7. TYPOGRAPHY & ELEMENTS
   ============================================= */
/* Typography */
h1.n2-ow {
    font-size: 90% !important;
}

/* Link styling */
a.readmore {
    background: #dc6d3f;
    padding: 10px 30px;
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

a.readmore:hover {
    background: #c55d35;
    border-color: #333;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Form elements */
.form-control {
    border-radius: 0;
}

/* Pre element styling */
pre {
    background: #eee;
    border: 1px solid #aaa;
    padding: 15px;
}

/* =============================================
   8. SPECIAL ELEMENTS
   ============================================= */
/* Trip top styling */
.trip-top li span {
    color: #554333 !important;
}

.trip-top ul {
    padding: 0;
}
.rsform-thankyou-button{margin-bottom:50px;}
.trip-top li,
#mod-custom282 ul li {
    list-style-type: none;
    line-height: 2em;
}

.trip-top li:before,
#mod-custom282 ul li:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f6ec";
    padding-right: 5px;
}

/* Menu items styling */
.sp-dropdown-items .sp-menu-item,
.menu_item {
    border-bottom: 1px solid #493a37;
}

/* Contact images */
.contact-img {
    width: 250px;
    margin-left: -10px;
}
/* Social media icons */
img[alt="Instagram" i],
img[alt="Facebook" i],
img[alt="YouTube" i],
img[alt="WhatsApp" i],
img[alt="Twitter" i] {
    width: 32px;
    height: auto;
}

/* Contact info */
.sp-contact-info {
    text-align: center;
}

/* =============================================
   9. TESTIMONIALS
   ============================================= */
/* Testimonials styling */
.testimonials-module {
    color: #fff;
}

.testimonials-module h2 {
    font-size: 20px;
    font-weight: bold;
}

.testimonials-module h3 {
    font-size: 40px;
    font-weight: bold;
    color: #241d1b;
}

.testimonials-module blockquote {
    font-size: 16px;
    margin-left: 20px;
}

.testimonials-module blockquote:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f10d";
    padding-right: 15px;
    color: #fff;
}

.testimonials-module blockquote:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f10e";
    padding-left: 15px;
    color: #fff;
}

.testimonials-module ul {
    margin-top: 40px;
}

.testimonials-module li a._title {
    color: #fff;
}

/* TripAdvisor widget */
#TA_cdsratingsonlynarrow695 {
    width: max-content;
    margin: 0 auto;
}

/* =============================================
   10. MEDIA ELEMENTS
   ============================================= */
/* iFrame styling */
iframe {
    aspect-ratio: 16/9;
    width: 100% !important;
}

/* Instagram grid */
.ig-grid-img-link {
    display: inline-block;
    border: 1px solid #b5a879;
    padding: 2px;
    position: relative;
    background: #eee;
    max-width: 100%;
    cursor: pointer;
}

h3.mwall-title a,
h3.mnwall-title span {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    word-wrap: break-word;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > ul li a {
    font-size: 15px;
    padding: 0px;
    line-height: 40px;
    font-weight: 400;
}

.mwall-hover-box {
    cursor: default;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    z-index: 4;
    background-color: rgba(222, 146, 26, 0.95) !important;
}

/* =============================================
   11. ANIMATIONS
   ============================================= */
/* Animation */
.animate {
    animation: dropInAnimation linear 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes dropInAnimation {
    0% {
        opacity: 0;
        transform: translateY(-2%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mwall-sortings-group {
    display: none !important;
}

#search-results {
    padding-bottom: 40px;
}

/* =============================================
   12. MEDIA QUERIES
   ============================================= */
/* Responsive adjustments */
@media (max-width: 1199px) {
    .logo-image {
        height: 40px !important;
    }
}


@media (max-width: 900px) {

    .css-shorter{top:70px !important; font-size:1em !important;  width:100%!important}
    
    .shorter-one{margin-top:70px; font-size:.9em !important;  width:100%!important}
    .shorter-two{margin-top:90px; font-size:.9em !important;  width:100%!important}
    
    
    }
    
    @media (max-width: 700px) {
    
    .css-shorter{top:50px !important; font-size:1em !important;  width:100%!important}
    
    .shorter-one{margin-top:70px; font-size:.9em !important;  width:100%!important}
    .shorter-two{margin-top:90px; font-size:.9em !important;  width:100%!important}
    
    
    }
    
    @media (max-width: 400px) {
    
    .css-shorter{top:30px !important; font-size:1em !important;  width:100%!important}
    
    .shorter-one{margin-top:50px; font-size:.9em !important;  width:100%!important}
    .shorter-two{margin-top:70px; font-size:.9em !important;  width:100%!important}
    
    
    }


@media (min-width: 999px) {
    #sp-footer .container {
        padding: 0 100px;
    }
    
    #mod-custom287 iframe {
        width: 630px;
        height: 354px;
    }
}

@media (max-width: 992px) {
    #mod-custom221 p {
        width: 90%;
        margin: 0 auto;
        padding-bottom: 10px;
    }
    
    .testimonials-module {
        color: #000;
    }
    
    .testimonials-module blockquote:before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        content: "\f10d";
        padding-right: 15px;
        color: #000;
    }
    
    .testimonials-module blockquote:after {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        content: "\f10e";
        padding-left: 15px;
        color: #000;
    }
    
    .testimonials-module h3,
    #sp-home-mid-section1 h2 {
        background: none;
        -webkit-background-clip: border-box;
        -webkit-text-fill-color: black;
        color: #000000;
    }
    
    #sp-header-topbar {
        margin: 0px;
    }
    
    iframe {
        width: 100%;
        aspect-ratio: 16/9;
    }
    
    #sp-business-statement {
        text-align: center;
        padding: 15px;
        color: #fff;
    }
    
    #sp-business-statement h2 {
        font-size: 1em;
        line-height: 1.5em;
    }
    
    #sp-business-statement p {
        font-size: 0.9em;
    }
    
    #sp-discover-panama-section {
        background: #f4f2ed;
        padding: 20px 0;
        border-bottom: 1px solid #000;
    }
    
    #sp-home-mid-section {
        background: #f4f2ed;
        padding: 20px 0;
        border-bottom: 1px solid #000;
        color: #000000;
    }
    
    #mod-custom282 {
        color: #000;
    }
}