/*
Theme Name: Wiki Lettbutikk
Theme URI: 
Author: Kjetil Moen Nettservice
Author URI: https://kjettamoen.no/
Description: 
Tags: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wiki_lb
*/



* {

    box-sizing: border-box;

}

  

  

html {

    font-size: 62.5%; /* or 62.5% or whatever you like, it doesn't matter, it's just a browser fix, however "rem" units will be based on that value, so make it confortable for calculations */

    font-style: normal;

    box-sizing: border-box;

}



@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800&display=swap');



/* body,*{

    font-display: swap !important;

} */







body {

    margin: 0;

    padding: 0;

    color: #0b203a;

    font-size: 1.6rem;

    line-height: 1.5;

    position: relative;

    box-sizing: border-box;

    -webkit-box-sizing: border-box;

    font-family: 'Montserrat', sans-serif;

}









img {

    width: 100%;

    max-width: 100%;

    height: inherit;

    object-fit: cover;

}



header {

    height: auto;

    position: relative;

    background-color: #0b203a;

}



p.authormsg {

    color: #F39200;

    font-weight: 500;    

    font-size: 14px;

}



.main-wrapper {

    width: 100%;

    max-width: 1140px;

    margin: auto;

    padding: 20px;

}



.homepage-main-wrapper {

    margin: auto;

    line-height: 2;

}



.comment-form {

    padding: 35px;

    background-color: #fbf7f7;

    margin: 50px 0 20px 0;

    font-size: 16px;

}



.comment-form h3 {margin: 0;}

.comment-form-field {

    display: flex;

    flex-flow: column;

}



.comment-item {

    background-color: white;

    padding: 15px;

    margin-bottom: 35px;

}



span.submit-btn {

    cursor: pointer;

    padding: 10px 20px;

    background-color: black;

    color: white;

    display: block;

    width: max-content;

    margin-top: 15px;

}

.comment-form-field label { font-weight: 500; margin-bottom: 15px;}



.comment-form-field textarea {

    width: 100%;

    height: auto;

    min-height: 240px;

    padding: 20px;

    font-size: 16px;

}



.homepage-main-wrapper h3 {

    margin-top: 40px;

}



.sidebar {

    background-color: #0b203a;

    color: white;

}



.sidebar h2 { margin: 0;}



.sidebar-content {

    margin: 20px 0;

    padding: 20px;

    

}



.knowledge-search {

    position: absolute;

    top: 0;

    left: 0;

    background-color:aliceblue;

    width: -webkit-fill-available;

    width: -moz-available;

    height: 100px;

}



.single-content-main-wrapper svg {

    margin-bottom: 10px;

}



.single-content-main-wrapper img {

    height: auto;

    width: auto;

}



.sidebar-content a {

    color: white;

    text-decoration: none;

    line-height: 2;

}


.single-knowledge .single-content-main-wrapper ul { margin: 50px 0;}
.single-knowledge .single-content-main-wrapper ul li { margin-bottom: 20px;}
.single-knowledge .single-content-main-wrapper a { text-decoration: underline ;}
.single-knowledge .single-content-main-wrapper ul li a img { margin: 20px 0 ;}





.main-wrapper li a {

    color: #0b203a;

    text-decoration: none;

    line-height: 2;

}



.main-wrapper li a svg {

    margin-left:10px;

}



.main-wrapper li a:hover,

.sidebar-content a:hover {

    text-decoration: underline;

}



.container {

    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    height: auto;

    min-height: 100vh;

}



.items-wrapper {

    width: 100%;

    display: grid;

    grid-template-columns: 1fr;

    height: auto;

    grid-gap: 30px;

}



.items-wrapper .item {

    border-radius: 5px;

    background-color: #0b203a;

    color: white;

    padding: 30px;

}



.sidebar-logo {

    padding: 20px;

    background-color: #f0f0f0;

}



img.logo {

    max-width: 260px;

}

.search-wrapper input {

    padding: 10px 0;

    background: unset;

    border: none;

    outline: none;

    font-size: 16px;

    width: 100%;

}

  

.search-results-wrapper {

    margin-top: 0px;

    display: inherit;

    background: aliceblue;

    position: absolute;

    left: 0;

    padding-left: 170px;

    width: 100%;    

    padding-bottom: 50px;

}



.search-results-wrapper a {

    font-size: 18px;

    line-height: 1.5;

    margin: 20px 0;

    display: block;

    color: unset;

    text-decoration: none;

    font-weight: 600;

    margin-right: 20px;

}



.timespans {

    display: block;

    font-size: 14px;

}



.sidebar-footer {

    align-self: flex-end;

    padding: 20px 50px;

}



.sidebar-footer span {

    font-size: 13px;

}



.search-results-wrapper a:hover {

    text-decoration: underline;

}



.search-results-wrapper .search-item {

    display: flex;

    align-items: center;

}



.search-results-wrapper .search-item span {

    font-size: 14px;

    margin-left: 10px;

    background: #F39200;

    padding: 5px 10px;

    color: white;

}



svg#getLogged {

    position: absolute;

    top: 20px;

    right: 20px;

    cursor: pointer;

    padding: 10px;

    background-color: #F39200;

    color: #0b203a;

    /* color: white; */

    border: 0px solid;

    border-radius: 50%;

    height: 20px;

    width: 20px;

}



.form-wrapper {

    width: 100%;

    max-width: 300px;

}



.form-wrapper label {

    display: block;

    margin: 10px 0;

    font-weight: 600;

}



.form-wrapper .form-group { margin-bottom: 20px;}



.form-wrapper input {

    padding: 10px;

    width: 100%;

}



span.form-btn {

    cursor: pointer;

    padding: 10px 20px;

    background-color: #F39200;

    color: #0b203a;

    display: inline-block;

    margin: 10px 0;

    margin-right: 5px;

}



span.logged-in {

    padding: 8px 16px;

    background: white;

    color: black;

    display: block;

    width: fit-content;

    border-radius: 15px;

    margin-bottom: 20px;

}



@media (min-width: 900px) {



    .single-content-main-wrapper h2 {

        margin-top: 50px;

    }

    .single-content-main-wrapper {

        font-size: 18px;

    }

    .sidebar {

        position: fixed;

        height: 100vh;

        width: 450px;

        display: flex;

        flex-flow: row wrap;

    }



    .sidebar-content {

        width: 100%;

        padding: 20px 50px;

        /* max-height: 100vh; */

        /* position: fixed; */

    }



    .sidebar-content li {font-size: 15px;}



    .sidebar-logo {

        padding: 50px;

        width: 100%;

        align-items: center;

        display: flex;

        height: fit-content;

    }



    .search-wrapper {

        max-width: 900px;

        margin: 20px auto 20px 100px;

        padding: 0 50px;

        width: 100%;

    }



    .knowledge-search{

        display: grid;

        align-items: center;

        position: fixed;

        left: 450px;

    }



    .main-wrapper {

        padding: 20px 50px;

        width: 100%;

        max-width: 900px;

        margin-left: 550px;        

        margin-top: 150px;

        margin-bottom: 100px;

    }





    .container {

        grid-template-columns: 1fr 3fr;

    }

}







  

  

  

@media (min-width: 1100px) {

    

}

  

  

  

  