/*!
Theme Name: AID Theme
Author: AID Solutions
Author URI: http://www.aid.se
Description: Custom theme for AID Solutions
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tailwindcss
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/**
* Typography
*/
h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.5rem;
}

.logotype {
    width: 100%;
    max-width: 100px;
}

.mobile-logotype {
    position: absolute;
    width: 67px;
    top: 12px;
    left: 12px;
}

.logo-container > a {
    display: block;
    height: 45px;
}

.header {
    width: 100%;
    height: 5vw;
    max-height: 81px;
}

.gradient {
    background: linear-gradient(-180deg, #131313 0%, #131313 10%, #543232 100%);
    overflow: hidden;
}

.shimmer {
    text-align: center;
    color: rgba(255,116,108,0.6);
    background: -webkit-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
    background: -moz-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
    background: gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff));
    -webkit-background-size: 125px 100%;
    -moz-background-size: 125px 100%;
    background-size: 125px 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-animation-name: shimmer;
    -moz-animation-name: shimmer;
    animation-name: shimmer;
    -webkit-animation-duration: 3s;
    -moz-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-iteration-count: 2;
    -moz-animation-iteration-count: 2;
    animation-iteration-count: 2;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    animation-direction: alternate;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-color: #222;
  }

  @-moz-keyframes shimmer {
    0% {
      background-position: top left;
    }
    100% {
      background-position: top right;
    }
  }
  @-webkit-keyframes shimmer {
    0% {
      background-position: top left;
    }
    100% {
      background-position: top right;
    }
  }
  @-o-keyframes shimmer {
    0% {
      background-position: top left;
    }
    100% {
      background-position: top right;
    }
  }
  @keyframes shimmer {
    0% {
      background-position: top left;
    }
    100% {
      background-position: top right;
    }
  }


  .animation {
      opacity: 0.4;
  }
  

/* #Mega Menu Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.mega-menu {
    display: none;
    left: 0;
    position: absolute;
    text-align: left;
    width: 100%;
}

.nav-main ul li {
	list-style: none;
	margin-bottom: 0;
}

.nav-main ul li a {
    text-decoration: none;
}

/* #hoverable Class Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.hoverable {
    position: static;
}

.hoverable > a {
    cursor:default;
}

.hoverable>a:after {
    content: "\25BC";
    font-size: 10px;
    padding-left: 6px;
    position: relative;
    top: -1px;
}

.hoverable:hover .mega-menu {
    display: block;
}


/* #toggle Class Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.toggleable>label:after {
    content: "\25BC";
    font-size: 10px;
    padding-left: 6px;
    position: relative;
    top: -1px;
}

.toggle-input {
    display: none;
}

.toggle-input:not(checked)~.mega-menu {
    display: none;
}

.toggle-input:checked~.mega-menu {
    display: block;
}

.toggle-input:checked+label {
    color: white;
    background: #2c5282;
    /*@apply bg-blue-800 */
}

.toggle-input:checked~label:after {
    content: "\25B2";
    font-size: 10px;
    padding-left: 6px;
    position: relative;
    top: -1px;
}


/* #custom sections
–––––––––––––––––––––––––––––––––––––––––––––––––– */

body.page-template-default,
.section-bg-gray,
.section-bg-grey {
    background: #fbfbfb;
}

body.home {
    background: #fff;
}

body.page-id-44 {
    background: #ffd2cf;
}

#animation svg > g > g > g > path {
    fill: red;
}

.section-full-width {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: calc(100vw - 9px);
}


.news-grid-item li {
    background: white;
    padding: 2em;
    min-height: 450px;
}

.news-grid-item li a {
    text-decoration: none;
    color: #2f2f2f;
    font-weight: bold;
    font-size: 1.2em;
}

body:not(.home) .wp-block-columns.flex.items-center {
    margin-bottom: 0px;
}


/** Scroll snap sections **/

/* html {
    scroll-snap-type: y mandatory;
    scroll-snap-type: mandatory;
    scroll-snap-points-y: repeat(100vh);
    scroll-snap-destination: 0 0;
    scroll-padding: 81px;
} */

.intro-animation {
    -webkit-animation-name: shimmer;
    -moz-animation-name: shimmer;
    animation-name: shimmer;
    transition: all 800ms ease;
}

.page-intro::after {
    content: '';
    background-image: url("images/white-wave.svg");
    bottom: -8vw;
    position: absolute;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    height: 16vw;
    z-index: -1;
}

.page-intro.pink::after {
    background-image: url("images/pink-wave.svg");
}

.article-body p {
    margin-bottom: 1rem;
}

body:not(.home) .article-body > .wp-block-group.page-intro {
    height: 50vh;
    padding-top: 0;
    display: flex;
    align-items: flex-end;
}

@media only screen and (max-width: 1200px) {
    body:not(.home) .article-body > .wp-block-group.page-intro {
        height: 100%;
        padding-top: 15vw;
    }
}

body:not(.home) .article-body > .wp-block-group.page-content-container {
    margin-top: 14vw;
}

body:not(.home) .article-body > .wp-block-group.page-content-container.page-content-block-sections {
    margin-top: 0;
}

.page-intro .lottie-background-element {
    width: 35%;
    height: 300px;
    position: absolute;
    right: 0;
    top: 19vh;
}

body:not(.home) .article-body .wp-block-columns.flex {
    height: calc(100vh - 300px);
}

body:not(.home) .article-body .wp-block-columns.flex:nth-of-type(1) {
    height: calc(100vh - 210px);
    padding-top: 5em;
}

body:not(.home) .article-body .wp-block-columns.flex:nth-of-type(2) {
    border-top: 0;
}

.tag-caption {
    background: #F19E99;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 2px 8px;
    font-size: 0.9em;
    color: white;
    display: inline-block;
    margin-bottom: 2em;
}


/** Team members **/
.team-member-block {
    align-items: center;
}

.team-member-block .wp-block-image.team-member-image {
    margin-bottom: 0;
}

.team-member-block .team-member-image img {
    border-radius: 99999px;
    border: 10px solid white;
    box-shadow: 0 2px 8px #ccc;
    margin: 0;
}

.team-member-block h5 {
    font-size: 1.5em;
    font-weight: normal;
}

.team-member-block blockquote {
    margin-top: 1.6em;
}

.team-member-block blockquote > p::before {
    content: '';
    background-image: url("images/quote.svg");
    background-size: cover;
    width: 72px;
    height: 54px;
    display: block;
    float: left;
    margin-right: 10px;
    margin-top: -6px;
}

.team-member-block .team-member-links > div {
    margin-top: 2em;
}

.team-member-block .team-member-links > div {
    display: flex;
}

.team-member-block .team-member-links > div .email-link,
.team-member-block .team-member-links > div .phone-link,
.team-member-block .team-member-links > div .linkedin-link {
    margin-right: 1.5em;
}

.team-member-block .team-member-links a {
    text-decoration: none;
    color: rgba(0,0,0,0.8);
    font-weight: 600;
    font-size: 0.9em;
}

.needs-work {
    background: #ffffde;
}

/** Job cards **/
/* 
.job-card {
    display: block;
    background: white;
    margin: 0 auto;
    box-shadow: 0px 0px 3px #ccc;
    border-radius: 0 0 3px 3px;
    padding: 1.5em 1em;
    margin-bottom: 1em;
    min-height: 630px;
    border-top: 4px solid;
}

.job-card h4 {
    font-size: 1.45em;
    color: #ff746c;
    padding-bottom: 0.6em;
}

.job-card .details {
    font-size: 0.8em;
    padding: 0.8em 0;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.job-card .description {
    padding-top: 1em;
    font-size: 0.8em;
} */

.uagb-block-fc78aeb3.uagb-lottie__outer-wrap {
    filter: grayscale(0.8);
}

.job-card-container .uagb-lottie__outer-wrap {
    border-radius: 99999px;
    border: 10px solid white;
    box-shadow: 0 2px 8px #ccc;
    margin: 0;
    background: white;
    padding: 1em;
    aspect-ratio: 1 / 1;
}

.job-card-container .uagb-faq-item {
    border-width: 0 !important;
    background-color: transparent !important;
}

.job-card-container .uagb-faq-item .uagb-faq-questions {
    font-weight: bold;
}

.job-card-container .wp-block-uagb-faq-child.uagb-faq-child__outer-wrap .uagb-faq-item:active,
.job-card-container .wp-block-uagb-faq-child.uagb-faq-child__outer-wrap .uagb-faq-item:focus {
    outline: none !important;
}

/* #Form styling
–––––––––––––––––––––––––––––––––––––––––––––––––– */


div.wpforms-container-full .wpforms-form .custom-form-field input[type=date], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=datetime], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=datetime-local], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=email], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=month], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=number], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=password], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=range], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=search], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=tel], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=text], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=time], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=url], 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=week], 
div.wpforms-container-full .wpforms-form .custom-form-field select, 
div.wpforms-container-full .wpforms-form .custom-form-field textarea { 
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid;
    font-size: 1em;
    margin-bottom: 1em;
}

div.wpforms-container-full .wpforms-form .custom-form-field input[type=date]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=datetime]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=datetime-local]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=email]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=month]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=number]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=password]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=range]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=search]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=tel]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=text]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=time]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=url]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field input[type=week]::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field select::placeholder, 
div.wpforms-container-full .wpforms-form .custom-form-field textarea::placeholder {
    opacity: 0.9;
}

div.wpforms-container-full .wpforms-form input[type=submit].custom-submit-btn, 
div.wpforms-container-full .wpforms-form button[type=submit].custom-submit-btn, 
div.wpforms-container-full .wpforms-form .wpforms-page-button.custom-submit-btn {
    background-color: black;
    color: white;
    padding: 16px 80px;
    margin-top: 2em;
    border-radius: 50px;
    border: 0;
}


/** Wordpress fixes **/

.flex.items-center > .wp-block-group__inner-container {
    margin: 0 auto;
}

.intro-animation lottie-player {
    width: 1000px !important;
    height: 600px !important;
}

.footer-logo img {
    margin-bottom: 0;
}

footer p a {
    text-decoration: underline !important;
}

/** Responsive adjustments **/
@media only screen and (max-width: 768px) {
    .intro-animation lottie-player {
        width: 360px !important;
        height: 360px !important;
        margin-bottom: -6rem;
    }
}

@media only screen and (max-width: 992px) {
    .menu-link-columns .text-xs {
        font-size: .65rem;
    }

    .intro-animation lottie-player {
        width: 500px !important;
        height: 400px !important;
        margin-bottom: -6rem;
    }

    .logotype {
        width: 100%;
        max-width: 70px;
    }

    .logo-container > a {
        display: block;
        height: 33px;
    }
    
}

@media only screen and (min-width: 993px) and (max-width: 1200px) {
    .intro-animation lottie-player {
        width: 800px !important;
        height: 480px !important;
    }
}

@media only screen and (max-width: 1200px) {
    body:not(.home) .article-body > .wp-block-group {
        height: auto;
        padding: 4em 0.5em 0 0.5em;
    }
    
    .article-body > .wp-block-group.page-intro {
        height: auto;
        padding: 4em 0.5em 0 0.5em;
    }

    body:not(.home) .article-body .wp-block-columns.flex,
    body:not(.home) .article-body .wp-block-columns.flex:nth-of-type(1),
    body:not(.home) .article-body .wp-block-columns.flex:nth-of-type(2) {
        height: auto;
        padding: 4em 0.5em 0 0.5em;
    }
}

@media only screen and (min-width: 1200px) {

    body:not(.home) .wp-block-columns.flex.items-center::after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: calc(100vh - 300px);
        left: 0;
        right: 0;
        z-index: -5;
    }

    body:not(.home) .wp-block-columns.flex.items-center:nth-of-type(1)::after {
        height: calc(100vh - 210px);
    }

    body:not(.home) .wp-block-columns.flex.items-center:nth-of-type(odd)::after { 
        background: #fbfbfb;
    }

    body:not(.home) .wp-block-columns.flex.items-center:nth-of-type(even)::after { 
        background: #fff;
    }
}