/* 
Theme Name: WINGS Theme
Theme URI: https://github.com/elementor/hello-theme-child/
Description: WINGS WordPress theme is a child theme of Hello Elementor, created by Elementor team
Author: META Group
Author URI: https://meta-group.com/
Template: hello-elementor
Version: 2.0.1
Text Domain: wings-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

body {
    color: #003844;
}

a {
    transition: color 0.5s ease;
}

/* ul fix */

ul, ol {
    margin-bottom: 1em;
}

ul li, ol li {
    line-height: 1.4;
    margin-bottom: 0.5em;
}

ul li::marker,
ol li::marker {
    color: #008882;
}

ol li::marker {
    font-weight: bold;
}

/* Table */

thead {
    background-color: #dfedf0;
}

table td, table th {
    padding: 0.5em;
}

table th {
    text-align: left;
    color: #003844;
}

table thead:first-child tr:first-child th {
    border-block-start: 1px solid #dfedf0;
}

table tbody>tr:nth-child(even)>td, table tbody>tr:nth-child(even)>th,
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: #dfedf000;
}

table td, table th {
    border: 1px solid #dfedf0;
}

/* Icon fix */

.icon-fix{
    width: auto;
}
.icon-fix svg{
    height: auto!important;
    margin-top:0.375rem;
}

/* Navigation */

ul.menu {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1.5em;
    align-items: center;
}

ul.menu a {
    color: #006F87;
    font-weight: bold;
    display: block;
    padding: 0.6em 0;
}

ul.menu li.highlighted-menu a {
    padding: 0.75em 1.5em;
    line-height: 1;
    color: #ffffff;
    display: inline-block;
    background-color: #97cc04;
    transition: background-color 0.5s ease;
    border-radius:3px;
}

ul.menu li.highlighted-menu a:hover{
    background-color: hsla(76, 70%, 41%, 1);
}

ul.menu li {
    position: relative;
}

ul.menu li:not(.highlighted-menu) a::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: repeating-linear-gradient(90deg, #cbe2e7, #cbe2e7 4px, transparent 4px, transparent 8px);
    background-position: left top;
    background-repeat: repeat-x;
    background-size: 100% 2px;
    transition: 1s cubic-bezier(0, 0, 0, 1);
    opacity: 0;
}

ul.menu li:not(.highlighted-menu) a:hover::after {
    background-image: repeating-linear-gradient(90deg, #cbe681, #cbe681 4px, transparent 4px, transparent 8px);
}

ul.menu li:not(.highlighted-menu) a:hover::after,
ul.menu li:not(.highlighted-menu).current-menu-item a::after{
    opacity: 1;
}

/* Buttons */

.gradient-button a {
  /* background-image: linear-gradient(135deg, #97CC04 0%, #008882 50%, #006F87 100%); */
}

.gradient-button.gradient-button__secondary a {
  /* background-image: linear-gradient(135deg, #008882 0%, #006F87 50%, #006F87 100%); */
}

.gradient-button a {
  /* transition: 1s cubic-bezier(0, 0, 0, 1); */
  /* background-size: 200% auto; */
}

.gradient-button a:hover {
  /* background-position: right center; */
  /* color: #fff; */
  text-decoration: none;
}

.gradient-button a span {
  /* transition: transform 0.5s cubic-bezier(0, 0, 0, 1); */
}

.gradient-button a:hover span {
  /* transform: scale(1.05); */
}

/* Homepage overwrites */

body.home #header-logo{
    display: none;
}

/* Accordion overwrites */

.e-n-accordion-item-title {
    transition: background-color 0.5s ease;
}

/* Top background mobile */

@media only screen and (max-width:767px){
    #top-background {
        position: initial;
        height: 66vw;
    }
}

/* Divider */

.wings-divider{
    height:2px;
    width:100%;
    background-image: repeating-linear-gradient(90deg, #cbe2e7, #cbe2e7 12px, transparent 12px, transparent 24px);
    background-position: left top;
    background-repeat: repeat-x;
    background-size: 100% 2px;  
}

.wings-divider.wings-divider__faded{
    opacity: 0.1;
}

/* Fade In Animation */

body:not(.elementor-editor-active, .elementor-editor-preview) {

    .fadein{
        opacity: 0;
        transition: all 1s ease!important;
    }
    .fadein.is-inview{
        opacity: 1;
    }

    .fadein.fadein-up{
        transform: translateY(1em);
    }

    .fadein.fadein-up.is-inview{
        transform: translateY(0em);
    }

    .fadein.fadein-left{
        transform: translateX(1em);
    }

    .fadein.fadein-right{
        transform: translateX(-1em);
    }

    .fadein.fadein-left.is-inview,
    .fadein.fadein-right.is-inview{
        transform: translateX(0em);
    }
}

/* Background corner gradients */

.bg-gradient{
    position: relative;
}

.bg-gradient::before, .bg-gradient::after{
    content: '';
    position: absolute;
    width: 33vw;
    height: 33vw;
    background-size: cover;
    z-index: -1;
}

/* .bg-gradient.bg-gradient__small::before, .bg-gradient.bg-gradient__small::after{
    width: 16vw;
    height: 16vw;
} */

.bg-gradient-top-left::before{
    background-image: url('images/corner-gradient_top-left.jpg');
    top: 0;
    left: 0;
}

.bg-gradient-top-right::before{
    background-image: url('images/corner-gradient_top-right.jpg');
    top: 0;
    right: 0;
    left: auto;
}

.bg-gradient-bottom-left::after{
    background-image: url('images/corner-gradient_bottom-left.jpg');
    bottom: 0;
    left: 0;
}

.bg-gradient-bottom-right::after{
    background-image: url('images/corner-gradient_bottom-right.jpg');
    bottom: 0;
    right: 0;
}

/* MC4WP form */

.nl-signup-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
}

.nl-signup-form label[for="email"] {
    width: 28em;
    max-width: 100%;
}

.nl-signup-form label[for="email"] input{
    padding: 1em 1em;
}

.nl-signup-form button[type="submit"] {
    margin-top: 0.5em;
    border: 0;
}

.nl-signup-form label[for="gdpr-checkbox"] {
    display: flex;
    gap: 0.2em;
}

.nl-signup-form label[for="gdpr-checkbox"] span {
    color: white;
}

.mc4wp-alert {
    padding: 1em;
    margin-top: 1em;
    background-color: #fff9ed;
    border: 1px solid #ffaa02;
}

.mc4wp-alert.mc4wp-success {
    background-color: #e2fff9;
    border: 1px solid #03cea4;
}

.mc4wp-alert.mc4wp-error {
    background-color: #ffe6f5;
    border: 1px solid #c73e8e;
}

.mc4wp-alert p {
    margin-bottom: 0;
}

/* Forms */

form.form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.form-checkbox {
    display: flex;
    gap: 0.3em;
    align-items: center;
}

.form-checkbox input[type="checkbox"] {
    width: 0.825em;
    height: 0.825em;
    margin-top: 2px;
}

form.form input[type="email"] {
    height: 3em;
}