/*FIX MENU TO TOP OF PAGE!*/
 .navbar-fixed-bottom, .navbar-fixed-top {
     z-index: 99999999;
}
/* bgcolor menu */
 .header {
     padding-top: 8px;
     padding-right: 0px;
     padding-bottom: 0px;
     padding-left: 0px;
     background-color: #0066b0;
}
/*remove white line bottom menu*/
 .main-menu >.container > .row {
     border-bottom: 0;
}
/* remove date */
 .col-md-8 {
     width: 66.66666667%;
     display: none;
}
 .col-md-4 {
     width: 100%;
}

/* remove homebutton */
li.home-buttom.navbar-nav {
	display: none;

}
/* compress headerbar */
 .header-bar {
     padding: 0px 0;
}
 .ample-40{
     height: 0px;
}
 body, button, input, select, optgroup, textarea, p {
     font-size: 13px;
    /* 18px default*/
}
/* menu padding */
 .box .wraper {
     margin-top: 0px;
     margin-right: auto;
     margin-bottom: 20px;
     margin-left: auto;
}
/* menu txt section color */
 .main-menu.clearfix {
     background: #0066b0;
}
 li.current-menu-item > a {
     border-bottom: 3px solid #00aab0 !important;
}
/*font size date*/
 time.entry-date.published{
     font-size: 13px;
}
 i.fa.fa-calendar{
     display: none;
}
 .box .wraper {
     box-shadow: 0 0px 0px rgba(0,0,0,0.15);
}

/* disconnect heading from header img
 .post-featured-image, .post-media.post-video, .post-media.post-audio {
     margin-bottom: -8px;
} */

 .post-title-area{
  /*   background-color: #f1f1f1; */
     margin: 0px 0 0 0;
     padding: 0 0 6px 4px;
/*     border-top: solid; */
     border-top-color: #f1f1f1;
     border-top-width: thin;
}

/* adjust header img size */
.img-responsive{
     width:100%;
     height: 480px;
     object-fit: cover; 
}
/*wider images */
 img {
     width: 100%;
}
/* make link visible body */
 .ample-content-area a {
     color: #0066b0;
}
/* remove frontpage name */
 .entry-header h1.entry-title {
     display: none;
}
/* resize headings */
 h1.page-title, h1.entry-title, h2.entry-title {
     position: relative;
     margin-bottom: 10px;
     font-size: 34px;
     border-bottom: 0;
}
 h2 {
     margin-top: 20px;
}
/*remove blue underscore heading*/
 h1.page-title::before, h1.entry-title::before, h2.entry-title::before {
     height: 0px;
}
/* New headings font */
 h1, h2, h3, h4, h5, h6 {
     font-family: Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* new article-page font */
 p{
     font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	 	padding-bottom: 10px;
}
/* adjust font body size */
 .single-post p{
     font-size: 16.5px;
     line-height: 24px;
}
/*adjust hr padding*/
 hr {
     margin: 15px 0;
}
/*adjust list indent & list font size*/
 ol, ul {
     margin-left: 20px;
     font-size: 16.5px;
	 padding-bottom: 10px;
}
/*adjust img comment txt*/
 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
     font-size: 15px;
     font-style:italic;
     background: #fff;
     width: 100%;   
}

/*adjust img+gallery bottom margin*/
[class^="wp-block-image"] {
margin-bottom: 2.3em;
}
[class^="wp-block-gallery"] {
margin-bottom: 2.5em;
}

/*adjust Mest Lest padding*/
 .sidebar .widget ul li {
     padding: 4px 0px;
}
/* resize footer */
 .site-info p {
     color: #fff;
     font-size: 3px;
}
/* disable right post...? tar unødig plass */
 .right-post {
     display:none;
}
/* make margins consistent in header */
 .header-row {
     margin: 15px 0;
}
/* remove margin under banner*/
 .header-row .header-right .ad-banner .widget{
     margin: -8px;
}
/* hides navbar-brand because it took 30px of space without showing*/
 .navbar-brand {
     display:none;
}
/*fixes wrong spacing at bottom of navbar icon */
 .navbar-toggle > .fas.fa-align-justify {
     display: block;
}
 .navbar-toggle+.navbar-collapse {
     padding:0;
}

/* removes too much spacing under search box */
.search-form{
	margin: 0 0 -5px;
}
.search-form > label {
	margin-bottom: 0;
}
/* removes white stripe on top */
#header-bar{
	display:none;
}

/* tablet view */
 @media only screen and (max-width: 768px) {
     .navbar-toggle {
         margin-top: 5px;
         padding: 6px;
         margin-right: 5px;
         float: none;
    }
     img.custom-logo {
         text-align:center;
         width: 100vw;
         max-width: 18%;
        /* * width:60px;
         * height:45px;
         */
    }
     .header-left .site-branding {
         text-align: center;
         margin-bottom:15px;
    }
     .header-right {
         padding: 0;
    }
     #header > .container {
         padding: 0;
    }
     .header-row{
         margin-bottom: 0;
    }
     #page > .wraper {
         overflow: hidden;
    }
     #menu-primary .row {
         position: relative;
         justify-content:flex-end 
    }
     #menu-primary .search-block {
         position: static;
         right: 0;
    }
     #menu-primary .search-block .search-close{
         top: 0;
    }
    /* improves appearance of list items in menu*/
     .nav.navbar-nav {
         display: block;
         width: auto;
         float: none;
         margin-left: 0;
    }
     .nav.navbar-nav li{
         padding-right:0;
    }
     .navbar-toggle:not(.collapsed)+.navbar-collapse {
         padding:0 0 15px;
    }
     li.home-buttom.navbar-nav {
         width: auto;
    }
     .site-nav-inner.pull-left {
         float: none !important;
         box-sizing: content-box;
    }
}
/* mobile view */
 @media only screen and (max-width: 480px) {
     .header-row{
         margin: 10px 0 0;
    }
     .header-left .site-branding {
         margin-bottom: 10px 
    }
}
/* Desktop view only*/
 @media only screen and (min-width: 768px) {
     .header-row {
         display: flex;
         justify-content: center;
    }
     .header-row .header-left, .header-row .header-right {
         display: flex;
         align-items: center;
    }
     .header-row .header-left {
        /* logo plassering */
         justify-content: flex-start;
    }
}
