/*
Theme Name: Akatombo Normal
Theme URI: http://www.inbrackets.dev/themes/-theme
Author: Akatombo
Author URI: http://www.akatombo.no
Description: Akatombo is a template based on bootstrap 4.3
Text Domain: akatombo
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, custom-logo, featured-images, footer-widgets, theme-options, translation-ready, blog, right-sidebar, sticky-post, threaded-comments
*/

@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body{
    font-family: "Sarabun", sans-serif;
    font-size: 1.1rem;
    color: #171717;
    background-color: #FEFCE8;
}

.content-area{
    min-height: 80vh;
    padding-top: 150px;
    padding-bottom: 100px;    
}

.home .content-area{
    min-height: 500px;
    padding: 0;    
}

.page-template-template-home-php .content-area{
    padding: 0;
}


/* Header - Main Menu */
body #page > header{

}

header .secondary-menu{
    padding: 10px 0px 0px 0px;
    color: #9b9b9b;
}

header .top-bar{
    transition: 0.5s;
}

.home header .top-bar{
    background-color: transparent;
}

header .top-bar-sticky{
    padding-top: 0px;
    padding-bottom: 0px;
    position: fixed;
    background-color: #FEFCE8!important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    opacity: 0.97;
    -webkit-box-shadow: -2px -6px 15px 11px rgba(0,0,0,0.06); 
    box-shadow: -2px -6px 15px 11px rgba(0,0,0,0.06);
}

header .top-bar .widget_block {
    display: inline;
    float: left;
}

header p.site-title{
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #000;
    font-weight: 600;
    margin: 0;
}

header p.site-title~span {
    color: #000;
}

header .brand{
    padding: 10px 15px 10px 10px;
    word-break: break-word;
    -ms-word-wrap: break-word;
}


header .brand img{
    max-width: 200px;
    height: auto;
    transition: 0.5s;
    padding: 5px;
}

header .top-bar-sticky .brand {
    padding: 0px 10px;
}

header .top-bar-sticky .brand img{
    width: 100%;
    max-width: 150px;
    height: auto;
}

.main-menu{
    padding: 0;
    padding-right: 50px;
}

.main-menu ul{  
    padding: 0; 
    margin: 0; 
    font-size: 14px; 
    font-weight: 600; 
    border-radius: 0;    
}

.main-menu ul li{ 
    display: inline;  
    margin: 0;
}

.main-menu > ul li a,
.navbar-light .navbar-nav .nav-link{  
    color: #515B69; 
    text-decoration: none;
    padding: 7px 20px !important;
    font-weight: 600;
}

.main-menu > ul li a:hover,
.navbar-light .navbar-nav .nav-link:hover{  
    color: #009197;
}

.main-menu ul li ul{
    background-color: #fff;
}

.main-menu ul li ul li{
    margin: 0;
}

.main-menu ul li ul li a{
    padding: 1rem;
    color: #333;
    text-transform: capitalize;
}

.main-menu .navbar-nav .active>.nav-link{ 
    background-color:  #1e71b8; 
    color: #fff;
}

.main-menu .dropdown-item:focus, 
.main-menu .dropdown-item:hover {
    background-color: #eee;
}

.main-menu .dropdown:hover>.dropdown-menu, 
.main-menu .dropup:hover>.dropdown-menu  {
  display: block;
}

.main-menu .dropdown-item.active, 
.main-menu .dropdown-item:active {
    background-color: #ddd;
}

.main-menu .navbar-toggler{
    border: none;
    padding-right: 0;    
}

.main-menu .dropdown-toggle::after {
    vertical-align: 0.155em;
}

.main-menu .navbar-toggler-icon {
    background-image: url('img/hamburger-menu.svg');
}

.main-menu ul li .dropdown-menu .dropdown > a::after{
    display: inline-block;
    margin-left: 0.355em;
    vertical-align: 0.2em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}

.main-menu .dropdown-menu li { 
    display: block;
    margin: 0px;
    padding: 0px;
}

.main-menu .dropdown-menu .dropdown-menu { 
    top: -1px;
    left: 100%;
}

.burgermeny {
    background: transparent;
    border: none;
}

.burgermeny:focus {
    outline: none;
}

/* styling the Mainpage - hovedside-normal */

.hero p{
    font-family: "Asap", serif;
    font-size: 6rem;
    line-height: 5rem;
    color: #FEFCE8;
    font-weight: 600;
    filter: drop-shadow(-1px 1px 5px #6b6b6b);
}

.hero-text {
    top: 40vh; 
    right: 50px;
}

.front-post {
    border-radius: 20px;
    padding: 30px;
    position: relative;
    padding-top: 100px;
}

/* Target the list items */
.front-post ul, .akuttbehandling ul {
    padding-left: 3px;
}

.front-post ul li, .akuttbehandling ul li {
    list-style-type: none; /* Remove default bullet */
    position: relative; /* Needed for positioning the icon */
    padding-left: 25px; /* Space for the icon */
    margin-bottom: 0.3rem;
}

/* Use the Font Awesome icon as the bullet */
.front-post ul li::before, .akuttbehandling ul li::before{
    content: "\f0a9"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    position: absolute;
    padding-top: 2px;
    left: 0;
    color: #b4b8da;
}

.front-post img {
    max-width: 130px;
    position: absolute;
    left: 20px;
    top: -40px;
}

.front-post.post-1 {
    background-color: #ECF4C7;
}

.front-post.post-2 {
    background-color: #E2EFA6;
}

.front-post.post-3 {
    background-color: #F4EDFF;
}

.front-posts h2 {
    font-size: 1.4rem;
    margin-top: 5px;
}

.front-news h3 {
    font-size: 1.5rem;
}

.front-news .meta {
    font-size: 0.8rem;
    margin-bottom: 0.3rem   ;
}

.green-bg-big {
    background-image: url('img/green-bg-big.webp');
    background-size: cover;
    background-attachment: fixed;
}

.purple-bg {
    background-color: #903D82;
    color: #fff;
}

.news {
    background-color: #FEFCE8;
    border-radius: 10px;
    padding: 20px;
}

.news h3 a {
    color: #333;
    text-decoration: none;
}

img.sponsorer {
    max-width: 200px;
    margin-top: 30px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.wp-block-gallery {
    margin-bottom: 5px;
}

.content-area-sticky {
    margin-top: 103px;
}

.gform_button, .btn-primary, .wp-element-button {
    background-color: #5C64AB;
    color: #fff;
    border: none;
    transition: 0.2s;
    border-radius: 50px;
    padding: 10px 34px;
}

.gform_button:hover, .btn-primary:hover, .wp-element-button:hover {
    background-color: #7780CC;
    color: #fff;
}

.btn-secondary{
    font-size: 18px;
    background-color: transparent;
    border: 2px solid #5C64AB;
    border-radius: 50px;
    padding: 8px 32px;
    color: #5C64AB;
}

.btn-secondary:hover {
    background-color:  #7780CC;
    border: 2px solid  #7780CC;
    color: #fff;
}

.btn-burncamp {
    background-color: #5C64AB;
    color: #fff;
    border: none;
    transition: 0.2s;
    border-radius: 50px;
    padding: 10px 34px;
}

.btn-burncamp:hover {
    background-color: #7780CC;
    color: #fff;
}

.bc-bilde {
    position: absolute; 
    top:-20px; 
    left: 30px; 
    max-width: 600px;   
    rotate: -2.4deg;
}

.kontakt a {
    color: #fff;
    font-weight: bolder;
}

.kontakt a:hover {
    color: #fff;
    text-decoration: underline;
}

.fa-2x {
    vertical-align: middle;
    margin-right: 10px;
}

/* andre sider */

.kontaktpersoner .card-body {
    background-image: url('img/green-bg-small.webp');
    background-size: cover;
}

.kontaktpersoner .card-body a {
    color: #333;
}

h2.card-title {
    margin-top: 10px;
    margin-bottom: 3px;
    font-size: 1.4rem;
}

.card-body a {
    text-decoration: none;
}

.kontaktskjema {
    border: 1px solid #aaa;
    background-color: #fffef3;
}

.kontaktskjema .gform_button {
    display: block;
    width: 100%!important;
}

.kontaktskjema input, .kontaktskjema textarea {
    border-radius: 5px;
}

/*animasjoner */

@keyframes fadeInUponload {
  0% {
    transform: translateY(50%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.fadeInUp-animation-onload {
  animation: 1.5s fadeInUponload;
}

/*anim hovedside*/
@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text p {
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-text p:nth-child(1) {
    animation: fadeRight 3s ease-out 0s forwards;
}

.hero-text p:nth-child(2) {
    animation: fadeLeft 3s ease-out 0.5s forwards;
}

.hero-text p:nth-child(3) {
    animation: fadeRight 3s ease-out 1.5s forwards;
}


/* Footer - Footer Menu */

.social-follow {
    background-color: #3D7DBD;
    color: #fff;
}

.footer-widgets {
    background-image: url('img/blad.png'), url('img/footer-bg.png') ;
    background-position: right bottom, left top;
    background-repeat: no-repeat;
    background-size: auto, cover;
    min-height: 500px;
}

.footer-widgets h4{
    color: #333;
}

.footer-widgets p{
    margin-bottom: 0.5rem;
}

.footer-widgets strong{
    color: #fff;
}

.footer-widgets a{ 
    text-decoration: none;
    color: #333;
    display: inline-block;
}

.footer-widgets i {
    margin-right: 8px;
    width: 20px;
    margin-left: 10px;
}

.footer-widgets a:hover{ 
    color: #aa21a8;
    text-decoration: underline; 
}

/* Target the list items */
.footer-widgets ul {
    padding-left: 3px;
}

.footer-widgets ul li {
    list-style-type: none; /* Remove default bullet */
    position: relative; /* Needed for positioning the icon */
    padding-left: 25px; /* Space for the icon */
    margin-bottom: 0.3rem;
}

/* Use the Font Awesome icon as the bullet */
.footer-widgets ul li::before {
    content: "\f0a9"; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    position: absolute;
    padding-top: 2px;
    left: 0;
    color: #333;
}

.copyright{
    background-color: #000000;
    color: #939393;
    padding: 20px 0;
}

.copyright p{
    margin: 0;
}

.footer-menu ul, .footer-widgets ul{ 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 16px; 
}

.footer-menu ul li{ 
    display: inline;  
    margin: 0 10px 0 0;
}

.footer-menu ul li:last-child{ 
    margin: 0; 
}

.footer-menu ul li a{ 
    color: #aaa; 
    text-decoration: none;
}

.footer-menu ul li.current-menu-item a{ 
    color: yellow; 
}


/* WooCommerce */

/* Grid System */

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2{
    flex: 0 0 50%;
    max-width: 50%;
}


/* Blog and Archive Pages */

.blog article, 
.archive article{
    margin-bottom: 3rem;        
}

.blog article .title, 
.archive article .title{
    font-weight: 600;        
}

.blog article .meta, 
.archive article .meta{
    font-weight: 700;
    margin: 1rem 0;    
}

.archive-title{
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 1px solid #efefef;
    padding: 0 0 0.7rem 0;
    margin-bottom: 1rem;
}

.archive-title span{
    color: #b58e8e;
    font-weight: normal;
}

.blog .post-thumbnail,
.archive .post-thumbnail{
    margin: 1rem 0;
}

.nav-links{
    font-weight: 700;
}

.nav-links span,
.nav-links a{
    padding: 0.4rem;
}


/* Single */
.single header h1{
    font-weight: 500;
}

.single .post-thumbnail{
    margin: 1rem 0;
}

.comments-area {
    border-top: 1px solid #eee;
    padding: 1rem 0 2rem;
    margin-top: 2rem;    
}

.comment-form label {
    display: block;
}

.comment-form input[type="submit"]{
    background-color: #1e71b8;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    padding: 0.8em;
    display: inline-block;   
}


/* Search */
.search-form{
    margin: 0 0 1rem;
}



/* General */

h1, h2, h3 {
    font-family: "Asap", serif;
    font-weight: 500;
}

h2 {
    margin-bottom: 10px;
    margin-top: 30px;
}

embed, iframe, object {
    max-width: 100%;
}

button, input, optgroup, select, textarea {
    background-color: #F6F6F6;
    padding: 5px 15px;
    border: 1px solid #e2e2e2;  
    max-width: 100%;  
}

a {
    color: #5C64AB;
    text-decoration: underline;
    font-weight: 500;
    transition: 0.4s;
}

a:hover {
    color: #A63F82;
    text-decoration: underline;
}

p, ul li a, .nav-links a, .nav-links span{
    font-size: 1.1rem;
}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
    max-width: 100%;
    height: auto;
}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.moretext {
   width: 100px; 
   height: 45px; 
   background:url(/images/leaf.gif) no-repeat right middle;
   padding: 10px 50px 15px 5px;
}

.wp-block-image img{
    border-radius: 20px;
}

.wp-block-image.is-style-rounded img{
    border-radius: 50%;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.gallery-caption {
    display: block;
    font-size: 0.71111em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0.5rem;
}

/* Media Queries */

@media (max-width: 1199.98px) {

    .hero-text {
        top: 40vh; 
        right: 20px;
    }

    .hero p{
        font-size: 5rem;
        line-height: 3.5rem;
    }
}


/* Medium devices (tablets, less than 992px) */

@media (max-width: 991.98px) {
    .main-menu {
        background-image: unset;
        background-color: unset;
        border-bottom: 0px;
        padding-right: 20px;
    }
    .main-menu::before {
        display: none;
    }
    .hero-text {
        top: 30vh; 
        right: 20px;
    }

    .hero p{
        font-size: 5rem;
        line-height: 3.5rem;
    }

    .bc-bilde {
        position: relative; 
        max-width: 600px;   
        rotate: -2.4deg;
        display: block;
        margin: auto;
        left: unset;
    }
}


@media all and (max-width: 768px){
    .woocommerce ul.products[class*="columns-"] li.product, 
    .woocommerce-page ul.products[class*="columns-"] li.product {
        width: 100%;
    }
}

@media all and (max-width: 767px) {

    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-widgets .col-12{
        margin-bottom: 25px;
    } 

    .footer-widgets .col-12:last-child{
        margin-bottom: 0;
    } 

    .copyright-text{
        margin-bottom: 10px;
    }        

    .brand img{
        margin-bottom: 0px;
    }

    .main-menu{
        padding: 10px; 
        margin-top: -5px;       
    }

    .main-menu ul li{   
        margin: 0;
    } 

    .main-menu .dropdown-menu{
        display: block;
        margin-left: 1rem;
    }

    .main-menu ul li .dropdown-menu .dropdown > a::before{
        display: inline-block;
        margin-right: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
        transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
    }

    .main-menu ul li .dropdown-menu .dropdown > a::after{
        display: none;
    }

    .main-menu .dropdown-menu .dropdown-menu{
        margin-left: 0;
    }

    .main-menu .dropdown-menu .dropdown-menu a{
        padding-left: 1rem;
    }

    .main-menu ul li a,
    .navbar-light .navbar-nav .nav-link{ 
        padding: 10px 0;
    } 

    .search input[type="search"]{
        width: 75px;
    }     

    .search-form input[type="search"]{
        width: 45%;
    }

    .slider-details-container{
        margin: 0 25px; 
        max-width: 400px;       
    }

    .slider-title h3 {
        font-size: 2em;
    }

    .slider-details-container .subtitle {
        font-size: 1em;
    }

    .slider-details-container a {
        padding: 0.5em;
    }

    .content-area {
        padding-top: 90px;
    }

    .hero-text {
        top: 200px; 
        right: 20px;
    }

    .hero p{
        font-size: 3.5rem;
        line-height: 2.5rem;
    }

    .has-large-font-size {
        font-size: 1.8rem!important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) { 

    .hero-text {
        top: 310px; 
        right: unset;
        left: 20px;
    }

    .hero p{
        font-size: 3.5rem;
        line-height: 2rem;
    }

    .bc-bilde {
        position: relative; 
        max-width: 80%;
        rotate: -2.4deg;
    }

    .has-large-font-size {
        font-size: 1.5rem!important;
    }
}


@media all and (max-width: 500px){
    .woocommerce ul.products li.product a img {
        width: 100%;
    }
}





