a:focus {
    border-bottom: 2px solid blue !important;
}

.btn:focus-within {
    border: 2px solid blue !important;
}

.image-gallery {
    margin-left: -4px;
    margin-right: -4px;
}

.image-gallery .gallery-image-frame {
    padding: 4px 4px 4px 4px;
}

.image-gallery .gallery-image {
    display: block;
    width: 100%;
    padding-bottom: 60%;
    border: solid 1px #d0d0d0;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

.goog-te-gadget-simple {
    position: absolute;
    right: 0;
    z-index: 1;
}

[class*="u-badge"]:not([class*="--top-left"]):not([class*="--bottom-left"]):not([class*="--bottom-right"]) {
    top: 3px;
    right: 5px;
    -webkit-transform: translate(50%, -50%);
    -ms-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
}

.grecaptcha-badge {
	  display: none !important;
}

.top-section-img {
    padding-bottom: 300px;
    min-width: 300px; 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    position: relative;
}

.top-section-logo {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute; 
    left: 0; right: 0; 
    top: 0; bottom: 0; 
    text-align: center;
}

.slogan-img {
    max-width: 490px;
    max-height: 40px;
    margin-top: 6px;
}

.slogan2-img {
    max-width: 490px;
    max-height: 60px;
    margin-top: 0px;
}

.logo-img {
    max-height: 100%;
}

.logo-text {
    font-size: 75px;
    line-height: 0.8;
    font-weight: 600; 
    font-variant-caps: all-small-caps; 
    color: #fff;
    text-shadow: -1px -1px 0 #555, 1px -1px 0 #555, -1px 1px 0 #555, 1px 1px 0 #555;
}

.startpage-header {
    font-weight: 600; 
    font-size: 30px; 
    color: #555;
    text-align: center;
}

.startpage-section {
    padding-top: 30px;
    text-align: center;
}

.footer-logo {
    text-align: left;
}

.footer-ul {
    max-width: 270px;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
  cursor: default;
}

article:focus-within {
    border: 2px solid blue !important;
}

.forening-article {
    border: solid 1px #f0f0f0; 
    position: relative; 
    overflow: hidden; 
    cursor: pointer; 
    box-shadow: 0 1px 4px rgb(0 0 0 / 20%)
}

.forening-article:hover {
    box-shadow: 4px 4px 12px rgb(0 0 0 / 20%)
}

.forening-description {
    font-weight: 400; 
    font-size: 13px; 
    font-family: 'Open Sans', Helvetica, Arial, sans-serif; 
    line-height: 1.6; 
    color: #666 !important;
    text-decoration: none !important;
}

.tone-out:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 40px;
    width: 100%;
    background: linear-gradient(rgba(255,255,255,.1), #fff);
}

.tone-out-forening:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 30px;
    width: 100%;
    background: linear-gradient(rgba(255,255,255,.1), #fff);
}

.activity-category-img {
    display: block;
    width: 100%;
    padding-bottom: 300px;
    border: 0;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

.separator {
    display: block;
    border: none;
    color: white;
    height: 1px;
    margin: 40px;
    background: black;
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 300, from(#8AB63E), to(#fff));
}

.bg-green {
    background-color: #73C02C !important;
}

.bg-green1 {
    background-color: #EDF6EA !important;
}

.news-image {
    display: block;
    width: 100%;
    padding-bottom: 45%;
    border: 0;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

.news-image-override {
    padding-bottom: 363px !important;
}

.thumbnails-v1 {
  margin-bottom: 20px;
}

.thumbnail-img {
  margin-bottom: 3px !important;
  border: solid 1px #e0e0e0;
}

.caption {

}

.caption h3 {
    color: #666;
    font-size: 15px;
    text-transform: uppercase;  
}

.event-line::before {
    content: "";
    position: absolute;
    left: -20px;
    right: auto;
    width: 30px;
    height: 0;
    border-top-width: 1px;
    border-color: #ccc;
    top: 50%;
    border-top-style: solid;
}

.u-btn-outline-facebook:hover {
    color: #fff !important;
    background-color: #3b5998 !important;
}

.u-btn-outline-twitter:hover {
    color: #fff !important;
    background-color: #00acee !important; 
}

.form-control {
    background-color: #fff;
    border: 1px solid #ced4da !important;
}

.bootstrap-select > .btn-light {
    background-color: #fff !important;
}

/*Blog Posts
------------------------------------*/ 
.posts .dl-horizontal a {
    color: #555;
}

.posts .dl-horizontal { 
    margin-bottom: 15px;
    overflow: hidden;
}

.posts .dl-horizontal dt { 
    width: 77px; 
    float: left;
}

.posts .dl-horizontal dt img { 
    width: 60px; 
    height: 60px;
    padding: 2px;
    margin-top: 2px; 
    border: solid 1px #ddd;
}

.posts .dl-horizontal dd { 
    margin-left: 90px;
}

.posts .dl-horizontal dd p { 
    margin: 0;
}

.posts .dl-horizontal dd a {
    font-size: 14px;
    line-height: 16px !important; 
}

.posts .dl-horizontal dd a:hover { 
    color: #72c02c; 
    text-decoration: none;
}

.posts .dl-horizontal:hover dt img,
.posts .dl-horizontal:hover dd a { 
    color: #72c02c;
    border-color: #72c02c !important;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

/* ### ACCORDION STYLES ### */
.ac-label {
    font-weight: 700;
    position: relative;
    padding: .5em 1em;
    margin-bottom: .5em;
    display: block;
    cursor: pointer;
    color: #fff;
    background-color: #a0bc51;
    transition: background-color .15s ease-in-out;
}

.ac-input:checked + label, .ac-label:hover {
    background-color: #8AB63E;
}

.ac-label:after, .ac-input:checked + .ac-label:after {
    content: "+";
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    width: 2em;
    height: 100%;
    line-height: 2.7em;
    text-align: center;
    color: #fff;
    background-color: #8AB63E;
    transition: background-color .15s ease-in-out;
}

.ac-label:hover:after, .ac-input:checked + .ac-label:after {
    background-color: #8AB63E;
}

.sub2-bg {
    background-color: lightGray;
}

.ac-input:checked + .ac-label:after {
    content: "-";
}

.ac-input {
    display: none;
}

.ac-text, .ac-sub-text {
    opacity: 0;
    height: 0;
    transition: opacity .5s ease-in-out;
    overflow: hidden;
}

.ac-text p {
    margin-left: 15px;
}

.ac-input:checked ~ .ac-text, .ac-sub .ac-input:checked ~ .ac-sub-text {
    opacity: 1;
    height: auto;
}

.ac-mainsub {
    margin-left: 10px;
}

.ac-mainsub2 {
    margin-left: 20px;
}

.ac-sub .ac-label {
    background: none;
    font-weight: 600;
    padding: .5em 2em;
    margin-bottom: 0;
}

.ac-sub .ac-label:checked {
    background: none;
    border-bottom: 1px solid whitesmoke;
}

.ac-sub .ac-label:after, .ac-sub .ac-input:checked + .ac-label:after {
    left: 0;
    background: none;
}

.ac-sub .ac-input:checked + label, .ac-sub .ac-label:hover {
    background: none;
}

.ac-sub-text {
    padding: 0 1em 0 2em;
}

.activity-mobile {
    display: none;
}

.activity-desktop {
    display: flex;
}

.mapsHoverInfoTitle {
    color: #72c02c; 
    font-weight: 600; 
    font-size: 1.15rem;
    overflow: hidden; 
    margin-right: 10px;
}

.mapsInfoboxTitle {
    color: #72c02c; 
    font-weight: 600; 
    font-size: 1.15rem;
    overflow: hidden; 
    margin-right: 10px;
    margin-bottom: 8px;
    text-align: left;
}

.mapsInfoboxPhone {
    display: block;
    margin-bottom: 4px;
    margin-top: 8px;
    color: #555;
    text-align: left;    
}

.mapsInfoboxEmail {
    display: block;
    margin-bottom: 4px;
    color: #555;
    text-align: left;    
}

.mapsInfoboxWeb {
    display: block;
    margin-bottom: 4px;
    color: #555;
    text-align: left;
}

.fielderror {
    background-color: #FCEBEE;
    color: red;
}

.fielderror .fg-line:not([class*=has-]):after {
    background-color: red;
}

.calendar-timeline-item::before {
    width: 27% !important;
}

.faded-horizontal-line {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(172,207,132, 1), rgba(172,207,132, 1), rgba(172,207,132, 0.2));
}

.activity-box-link {
    text-decoration: none !important;
}

.activity-box-link:hover {
    text-decoration: none !important;
    -webkit-box-shadow: 2px 2px 7px #d0d0d0;
    -moz-box-shadow: 2px 2px 7px #d0d0d0;
    box-shadow: 2px 2px 7px #d0d0d0;
}

#article h1 {
    font-family: "Open Sans",helvetica,arial,sans-serif; 
    font-weight: 800; 
    font-style: normal; 
    color: #454545; 
    font-size: 36px;
}

#article .lead {
    font-weight: 600; 
    font-size: 20px;
    line-height: 28px;
}

#article .posts .dl-horizontal {
    height: 50px !important;
}

#article .posts-header {
   font-size: 20px !important; 
   margin-bottom: 10px !important; 
   font-weight: 800 !important; 
   color: #444 !important;
}

#article .posts-box:hover .posts-title {
    color: #222 !important;
}

#article .posts-box:hover .posts-lead {
    color: #777 !important;
}

#article .posts-title {
    color: #666 !important;
    font-size: 14px;
    font-weight: 600;
    margin-top: -3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#article .posts-lead {
    color: #b0b0b0;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 15px;
}

#article p {
    font-size: 16px;
    color: #454545;
}

#article blockquote {
    font-style: italic;
    margin-left: 14px;
    padding-left: 10px;
    border-left: solid 2px #8DBF59;
}

#article blockquote p {
    color: #656565;
}

#article ol {
    padding-inline-start: 30px;
}

#article ul:not(.social) {
    padding-inline-start: 30px;
}

#article li {
    margin-top: 10px;
    font-size: 16px;
    line-height: 22px;
    color: #454545;
}

#article .fr-view h1 {
    font-family: "Open Sans",helvetica,arial,sans-serif; 
    font-weight: 800; 
    font-style: normal; 
    color: #444;
    font-size: 24px;
    margin-top: 22px;
}

#article .fr-view h2 {
    font-family: "Open Sans",helvetica,arial,sans-serif; 
    font-weight: 800; 
    font-style: normal; 
    color: #444;
    font-size: 20px;
    margin-top: 22px;
}

#article .fr-view h3 {
    font-family: "Open Sans",helvetica,arial,sans-serif; 
    font-weight: 800; 
    font-style: normal; 
    color: #444;
    font-size: 17px;
    margin-top: 22px;
}

#article .fr-view h4 {
    font-family: "Open Sans",helvetica,arial,sans-serif; 
    font-weight: 600; 
    font-style: normal; 
    color: #444;
    font-size: 16px;
    margin-top: 20px;
}

#article .small {
  line-height: 1.2;
  margin-top: 3px;
}
/* ### MEDIA QUERIES ### */ 

@media (max-width: 768px) {
    .top-section-img {
        padding-bottom: 150px;
        background-position: center center;
    }

    .news-image-override {
        padding-bottom: 200px !important;
    }   

    .activity-category-img {
        padding-bottom: 150px;
    }

    .startpage-header {
        font-size: 18px;
    }

    .footer-logo {
        margin-bottom: 50px;
        text-align: center;
    }

    .footer-ul {
        max-width: 100%;
    }

    .activity-mobile {
        display: block;
        max-width: 600px; 
        margin: 0 auto;         
    }

    .activity-desktop {
        display: none;
    }

    .goog-te-menu-value span:first-child {
        display: none !important;
    }

    #slogan-bottom {
        margin-bottom: 6px;
    }

    .slogan-img {
        max-width: 235px;
        margin-top: 1px;
    }

    .logo-text {
        font-size: 50px;
    }

    .calendar-timeline-item::before {
        display: none !important;
    }

}

/*\
 * Restore Bootstrap 3 "hidden" utility classes.
\*/

/* Breakpoint XS */
@media (max-width: 575px)
{
    .hidden-xs-down, .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, 
    .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    }

}

/* Breakpoint SM */
@media (min-width: 576px) and (max-width: 767px)
{
    .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, 
    .hidden-unless-xs, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint MD */
@media (min-width: 768px) and (max-width: 991px)
{
    .hidden-md-down, .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-lg, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint LG */
@media (min-width: 992px) and (max-width: 1199px)
{
    .hidden-lg-down, .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-xl
    {
        display: none !important;
    } 
}

/* Breakpoint XL */
@media (min-width: 1200px)
{
    .hidden-xl-down, 
    .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, .hidden-xl-up, 
    .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg
    {
        display: none !important;
    } 
}


.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 20px;
    transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#F70505 0%, #8F0808 100%);
    box-shadow: 0 3px 10px -5px rgba(0,0,0,1);
    position: absolute;
    top: 19px;
    right: -21px;
}

.ribbon span::before {
    content: '';
    position: absolute;
    left: 0%;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #5b3c3c;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #5b3c3c;
}

.ribbon span::after {
    content: '';
    position: absolute;
    right: 0%;
    top: 100%;
    z-index: -1;
    border-right: 3px solid #5b3c3c;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #5b3c3c;
}

.survey-subheaders {
    width:100%;
    display: inline-block;
    margin-top: 10px;
}

.survey-subheader {
    position: relative;
    float: left;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 27px 7px 37px;
    margin: 20px 20px 15px -22px !important;
    color: #fff;
    background-color: #3D9187;
    -webkit-box-shadow: 0px 2px 4px #999;
    -moz-box-shadow: 0px 2px 4px #999;
    box-shadow: 0px 2px 4px #999;
}

.survey-subheader:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    bottom: -5px;
    border-style: solid;
    border-color: #1d776b #1d776b transparent transparent;
}


/* FORENINGSPORTAL */

/* ### TOP SECTION ### */

.top-section {
    padding-bottom: 250px;
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
    position: relative;
}

.top-section .overlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute; 
    left: 0; right: 0; 
    top: 0; bottom: 0; 
    text-align: center;
}

.top-section .no-overlay {
    background-color: rgba(0, 0, 0, 0);
    position: absolute; 
    left: 0; right: 0; 
    top: 0; bottom: 0; 
    text-align: center;
}

.top-section .headlines-container {
    height: 84%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.top-section .headlines {
    display: block;
    text-transform: uppercase; 
    color: white; 
    cursor: pointer;
}

.headlines-container .headlines-prefix {
    font-size: 20px;
    font-family: "Open Sans",helvetica,arial,sans-serif; 
    font-weight: 600; 
    font-style: normal;
}

.headlines-container .headlines-main {
    font-size: 65px;
    line-height: 1.3;
    font-family: "Open Sans",helvetica,arial,sans-serif; 
    font-weight: 800; 
    font-style: normal; 
}

.top-section .menu-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    width: 100%;
}

.menu-container .item {
    font-family: Open Sans,helvetica,arial,sans-serif; 
    font-weight: 500; 
    font-style: normal; 
    color: #fff; 
    border-top: none;
    cursor: pointer;
    white-space: nowrap;
}

.menu-container .item-active {
    color: #454545;
    border-radius: 3px 3px 0 0;
    background-color: rgba(255, 255, 255, 1);
}

.menu-container .item-active .item-title {
    display: inline-block !important;
}

.top-section .container-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

/* ### END TOP SECTION ### */


/* ### KALENDER TOPP ### */

.daterangepicker .ranges ul {
    width: 100% !important;
}

.daterangepicker .ranges li {
    font-size: 1rem !important;
}

.filter-option-inner-inner {
  color: #000000;
}
.bootstrap-select>.dropdown-toggle:after {
    margin-top: -15px;
    margin-right: 6px;
}

/* CHANGE IMAGE OVERLAY */

.editable {    
    position: relative;
    cursor: pointer;
}

.editable .overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #f0f0f095;
    transition: .5s ease;
    opacity: 0;
}

.editable .overlay:hover {
    opacity: 1;
}

.editable .overlay > i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 40px;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .editable .overlay {
        opacity: 1;
        background-color: none;
    }
}


/* END CHANGE IMAGE OVERLY */

/* Selected button */
button.active,
a.btn.active,
td.active {
    background-color: #e1f0ff !important;
}

.u-nav-v1-1.u-nav-dark .nav-link.active {
    color: #fff;
    background-color: #555;
}

.g-brd-bottom--md {
    border-bottom: solid 1px #777 !important;
}

/* ### MEDIA QUERIES ### */

@media (max-width: 768px) {

    .u-nav-v1-1.u-nav-dark .nav-link.active {
        color: #fff;
        background-color: #555;
    }

    .g-brd-bottom--md {
        border-bottom: solid 1px #777 !important;
    }

    .top-section {
        padding-bottom: 150px;
        background-position: center center;
    }

    .goog-te-menu-value span:first-child {
        display: none !important;
    }

    .headlines-container .headlines-prefix {
        font-size: 15px;
    }

    .headlines-container .headlines-main {
        font-size: 35px;
        line-height: 1;
    }

    .menu-container .item {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 15px;
    }

    .menu-container .home {
        padding-left: 13px;
        padding-right: 12px;
        font-size: 16px;
    }

    .menu-container .item .item-title {
        display: none;
    }

    .forening-description {
        font-size: 15px !important;
    }
}

/* Diverse stiler fra wps */

.imagetext-section-container .text-container {
    text-align: left;
}

.imagetext-section-container .text-container .title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #454545 !important;
}

.imagetext-section-container .text-container .description {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

@media (max-width: 991px) {
    .imagetext-section-container .text-container {
        text-align: center;
    }

    .imagetext-section-container img {
       padding-bottom: 30px;
    }
}

/* ### END MEDIA QUERIES ### */

