/*
Theme Name: iKnow - Child
Theme URI: https://standoutmedia.dk/
Author: Standoutmedia A/S
Author URI: https://standoutmedia.dk/
Description: Et helt iKnow Tema
Template: iKnow
Text Domain: iknow-child
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/*======================================================================//
// style.css                                                            //
//======================================================================*/


/* override styles when printing */
@media print {
    .hero-body {
        padding: 0 0 0;
    }

    .footer,
    #sidebar,
    .level,
    #comments,
    div#cookie_box {
        display: none;
    }

    .card {
        box-shadow: none;
    }

    .section {
        padding: 0;
    }
}



.navbar-item img {
    max-height: 80px;
    width: auto;
}

.hero.is-primary {
    background: #334D3B !important;
}

.breadcrumb a {
    color: #334d3b;
}

a {
    color: #334d3b !important;
}

a.button:hover {
    color: #fff !important;
}

div#wpadminbar a {
    color: #fff !important;
}

.navbar-link.is-active,
.navbar-link:focus,
.navbar-link:focus-within,
.navbar-link:hover,
a.navbar-item.is-active,
a.navbar-item:focus,
a.navbar-item:focus-within,
a.navbar-item:hover {
    color: #334d3b;
}

.navbar-dropdown a.navbar-item.is-active {
    color: #334d3b;
}

.navbar-link:not(.is-arrowless)::after {
    border-color: #334d3b !important;
}


.columns.is-desktop .column:last-of-type {
    margin-top: 1.5rem;
}

.single-post aside#sidebar {
    padding-top: 1.5rem;
}

.author i {
    font-style: inherit;
}

.author {
    color: #334d3b;
}

.author a {
    font-weight: 500;
}

.ur-frontend-form .ur-form-row .ur-form-grid textarea {
    padding: 4px 8px;
}

button,
div#user-registration input[type=submit] {
    background: #334d3b !important;
    color: #fff !important;
    transition: 0.3s;
}

input,
select,
textarea {
    border: 1px solid #dee0e9;
}

button:hover,
div#user-registration input[type=submit]:hover {
    background: #4a7256 !important;
}

.panel.is-dark .panel-heading {
    background-color: #334d3b;
}

.button.is-info {
    background-color: #334d3b;
}

.button.is-info.is-hovered,
.button.is-info:hover {
    background-color: #363636;
    border-color: transparent;
    color: #fff;
}

nav.breadcrumb {
    display: none;
}

.has-text-success {
    color: #334d3b !important;
}

.button.is-info.is-outlined {
    border-color: #334d3b;
    color: #334d3b;
}

body {
    /* overflow-x: hidden; */
}

.content a {
    text-decoration: underline;
}

body:not(.home) {
    background: #efefef;
}

.navbar-item img {
    max-height: 88px !important;
}



.logged-in .log-in-profile:before {
    content: 'Min profil';
}

.logged-in .log-in-profile span {
    display: none;
}



.post-edit-container .post-action {
    padding-bottom: 3px;
}

.post-edit-container .post-action:not(:last-child) {
    margin-right: 1em;
}

.post-edit-container .post-action.current-post-action {
    border-bottom: 1px solid #334d3b;
}



.dashicons,
.dashicons-before:before {
    width: 1em;
    height: 1em;
    margin-bottom: 0.1em;
    font-size: 1em;
    vertical-align: middle;
}



.author-info .author-title {
    font-weight: 500;
    color: #363636;
    font-size: 1.5em;
}

.author-info p:not(:last-child) {
    margin-bottom: 1em;
}

body.author form#order {
    display: none;
}

body:not(.logged-in) a.create-article.menu-item {
    display: none;
}

.ur-frontend-form button,
.ur-frontend-form button[type=submit],
.ur-frontend-form input[type=submit] {
    line-height: 1;
}

aside span.post-date {
    display: block;
    font-size: 79%;
    opacity: 0.8;
}

ul.more-sidebar {
    margin-left: 2em;
    margin-top: 0em;
    padding-top: 0;
    list-style: disc;
}

aside h4.title {
    margin: 0 0 15px !important;
    padding-bottom: 0;
}


ul.more-sidebar a {
    font-weight: 500;
}

.widget_recent_entries a {
    text-decoration: none;
    font-weight: 600;
}

.navbar-burger span {
    width: 30px;
    height: 3px;
    left: 0;
}


.navbar-burger span:nth-child(1) {
    top: calc(50% - 8px)
}

.navbar-burger span:nth-child(2) {
    top: calc(50% - 1px)
}

.navbar-burger span:nth-child(3) {
    top: calc(50% + 6px)
}

.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar-burger:hover {
    background: transparent;
}

.navbar-burger {
    text-align: center;
    margin-top: 10px;

}

body.archive.category div#black-studio-tinymce-4,
body.page-template-default.page div#black-studio-tinymce-4 {
    display: none;
}

body.user-registration-page div#ezw_tco-2,
body.user-registration-page div#custom_html-2 {
    /* display: none; */
}

div#black-studio-tinymce-4 a,
div#custom_html-2 a {
    display: block;
}


div#black-studio-tinymce-4 a:hover,
div#custom_html-2 a:hover {
    text-decoration: underline;
}

.panel {
    background: #fff;
}

@media only screen and (max-width: 1023px) {
    .navbar-item img {
        max-height: 57px !important;
    }

    table {
        max-width: 100%;
        max-width: 100vw;
    }

    .home .content table,
    .home .content table tbody {
        display: block;
        max-width: 100%;
        overflow: hidden;
    }

    .home .content table tr td {
        max-width: 100vw;
        /* padding-right: 20px; */
    }

    .home .content table tr td {
        width: 100% !important;
        display: block;
    }

    div#new-royalslider-1 {
        max-width: 100vw;
        /* max-width: 100%; */
    }

    .title.is-1 {
        font-size: 1.8rem;
    }

    footer .alignright {
        float: none;
    }
}




/*** Popup editors ***/
.frontend-admin-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, .8);
    z-index: 50;
}

#wpadminbar~.frontend-admin-popup {
    padding-top: 32px;
}

.frontend-admin-popup .popup-inner {
    position: relative;
    width: 90vw;
    max-width: 1344px;
    height: 85vh;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 12px rgb(0 0 0 / 35%);
}

.frontend-admin-popup .popup-inner .popup-close {
    position: absolute;
    bottom: calc(100% - 10px);
    left: calc(100% - 10px);
    width: 1em;
    height: 1em;
    font-size: 35px;
    background-color: #fff;
    color: #334D3B;
    border-radius: 50%;
    box-shadow: 0 0 12px rgb(0 0 0 / 35%);
    cursor: pointer;
    z-index: 3;
}

.frontend-admin-popup .popup-inner iframe {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* Popup loader */
.loader-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

.popup-loader {
    font-size: 10px;
    margin: 50px auto;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #334d3b;
    background: -moz-linear-gradient(left, #334d3b 10%, rgba(51, 77, 59, 0) 42%);
    background: -webkit-linear-gradient(left, #334d3b 10%, rgba(51, 77, 59, 0) 42%);
    background: -o-linear-gradient(left, #334d3b 10%, rgba(51, 77, 59, 0) 42%);
    background: -ms-linear-gradient(left, #334d3b 10%, rgba(51, 77, 59, 0) 42%);
    background: linear-gradient(to right, #334d3b 10%, rgba(51, 77, 59, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.popup-loader:before {
    width: 50%;
    height: 50%;
    background: #334d3b;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.popup-loader:after {
    background: #fff;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*** END Popup editors ***/