/*******************************************************************************
    !   GENEREL
*******************************************************************************/

/*
    Yellow: #ffdd02
    Blue: #293f5e
    Grey: #8e8e8d

*/

.button, .btn {
    background: #ffdd02!important;
    border-radius: 0!important;
    color: #000000!important;
    font-family: "Oswald"!important;
}

.g-title-separator  {
    display: none;
}

.g-title {
    font-family: "Playfair Display";
    font-weight: 700;
    text-align: left;
    font-size: 48px;
    line-height: 1.5;
}

/*******************************************************************************
    !   NAVIGATION
*******************************************************************************/

#g-navigation {
    background: rgba(255,255,255,0.8);
    height: 110px;
}

#g-navigation .g-toplevel {
    float: right;
}

#g-navigation .g-main-nav .g-toplevel > li {
    margin: 0 20px;
}

#g-navigation .g-main-nav a {
    font-family: "Oswald";
    color: #424753;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 15px;
    display: block;
}

#g-navigation .logo-tinghuset .g-logo img {
    margin-top: 15px;
}


/*******************************************************************************
    !   HEADER
*******************************************************************************/

#g-header {
    top: -120px;
    overflow: hidden;
    position: relative;
}

#g-header .g-slideshow .slideshow-caption {
    background: #ffffff;
    padding: 30px 45px 45px 45px;
}

#g-header .g-slideshow .g-slideshow-title {
    font-family: "Playfair Display";
    text-align: center;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

#g-header .g-slideshow .g-slideshow-desc {
    background: none;
    color: #000000!important;
    line-height: 1.5;
    font-size: 18px;
}

#g-header .g-slideshow-buttons {
    text-align: center;
}

#g-header .g-slideshow .button {
    display: inline-block;
    float: none;
    position: relative;
    margin: 0 auto;
    width: auto;
}

#g-header .g-slideshow .style2 {
    padding-top: 200px;
}


/*******************************************************************************
    !   INTRO
*******************************************************************************/

#g-intro {
    padding-top: 0;
    margin-top: -50px;
}

#g-intro .g-introtext {
    font-weight: 300;
    text-align: left;
    width: 100%;
    font-size: 16px;
    color: #8e8e8d;
}

#g-intro .g-features-particle-title {
    color: #8e8e8d;
}


/*******************************************************************************
    !   FEATURES
*******************************************************************************/

#g-features {
    background-image: url('/images/background/lejerne-siger.png');
    background-repeat: no-repeat;
    background-size: cover;
}

#g-features .moduletable {
    width: 50%;
    margin-left: 50%;
}

#g-features .g-title {
    color: #ffdd02;
    text-shadow: 8px 8px 5px rgba(1,1,1,0.6);
    text-align: center;
}

#g-features .owl-carousel.owl-loaded, #g-features .owl-stage-outer, #g-features .g-owlcarousel-item-content-wrapper {
    height: 350px;
}

#g-features .g-owlcarousel-item-content-container {
    max-width: 100%;
    width: 100%;
}

#g-features .owl-carousel .owl-item img {
    display: none;
}

#g-features .g-owlcarousel .g-owlcarousel-item-wrapper .g-owlcarousel-item-content-container .g-owlcarousel-item-content-wrapper .g-owlcarousel-item-content .g-owlcarousel-item-title {
    display: none;
}

#g-features .g-owlcarousel-item-content {
    margin-top: -132px;
}

#g-features .owl-stage-outer {
    background: #ffffff;
}

#g-features .g-owlcarousel-item-desc .fa {
    color: #ffdd01;
    font-size: 65px;
    font-weight: 700;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 120px;
    margin-bottom: 10px;
}

#g-features .g-owlcarousel-item-desc {
    font-size: 16px;
    color: #8e8e8d;
}

#g-features .g-owlcarousel-item-desc .name, #g-features .g-owlcarousel-item-desc .city {
    display: block;
}

#g-features .g-owlcarousel-item-desc .name {
    margin-top: 30px;
    font-weight: 700;
}

.g-owlcarousel .owl-dots .owl-dot {
    background: #8e8e8d;
}

.g-owlcarousel .owl-dots .owl-dot.active, .g-owlcarousel .owl-dots .owl-dot:hover {
    background: #ffdd02;
}

.g-owlcarousel .owl-dots {
    bottom: 8%;
}


/*******************************************************************************
    !   UTILITY
*******************************************************************************/

#g-utility .g-title {
    text-align: center;
}

.oversigt-menu {
    width: 30%;
    margin: 0 auto;
    display: flex;
}

.oversigt-menu-title {
    flex: 1;
    text-align: center;
    border-bottom: 4px solid #ffffff;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
}

.oversigt-menu-title.active {
    border-bottom: 2px solid #ffdd02;
}

.oversigt-introimage-container {
    display: flex;
    margin: 0 -15px;
}

.oversigt-introimage {
    flex: 1;
    border: 3px solid rgba(100,100,100,0.3);
    margin: 0 15px;
    position: relative;
}

.oversigt-tekst-child {
    display: none;
}

.oversigt-tekst-img, .oversigt-tekst-table {
    width: 60%;
    float: left;
    display: block;
    position: relative;
}

.oversigt-tekst-table {
    width: 40%;
}

.oversigt-tekst-table table, .oversigt-tekst-table tr, .oversigt-tekst-table th, .oversigt-tekst-table td {
    background: none;
    border: none;
}

.oversigt-tekst-table td.Ledig, .oversigt-tekst-table td.ledig {
    color: #4BB543;
}

.oversigt-introimage-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(41, 63, 94, 0.7);
    color: #ffffff;
    display:none;
    cursor: pointer;
}

.oversigt-introimage-overlay-vcenter {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
}

.oversigt-introimage-overlay h4 {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 32px;
}

.oversigt-introimage-overlay p {
    font-weight: 300;
    font-size: 18px;
}

.oversigt-introimage:hover .oversigt-introimage-overlay {
    display: block;
}

/*******************************************************************************
    !   ABOVE
*******************************************************************************/

.owl-carousel .owl-item .owl-lazy {
    width: auto;
    max-height: 100px;
}

#g-above .owl-carousel .owl-stage-outer {
    margin: 0 100px;
}

.g-owlcarousel .owl-nav button.owl-prev, .g-owlcarousel .owl-nav button.owl-next {
    border: none;
    background: none;
    font-size: 36px;
    margin-top: -30px;
}

.g-owlcarousel .owl-nav button.owl-prev:hover, .g-owlcarousel .owl-nav button.owl-next:hover {
    background: none;
}


/*******************************************************************************
    !   TESTIMONIALS
*******************************************************************************/

#g-testimonials .g-title {
    text-align: center;
}

.g-imagegrid .g-imagegrid-4cols .g-imagegrid-item {
    top: 0!important;
    padding: 0 20px;
    margin-bottom: 50px;
    display: block;
}

.g-imagegrid .g-imagegrid-link {
    overflow: hidden;
    display: block;
    text-align: center;
}

.g-imagegrid .g-imagegrid-item .indicator2, .g-imagegrid .g-imagegrid-item img {
    position: relative;
    float: left;
    width: 100%;
    display: block;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    height: auto;
    color: #000000;
}

.g-imagegrid .g-imagegrid-item .indicator2 div {
    color: #000000;
    opacity: 1;
    transform: none;
}

.g-imagegrid .g-imagegrid-item:hover .g-imagegrid-link:before {
    display: none;
}

.g-imagegrid .g-imagegrid-wrapper {
    margin: 0 -20px;
}


/*******************************************************************************
    !   EXPANDED
*******************************************************************************/

#g-expanded .g-title {
    text-align: center;
}

#g-expanded .g-features-particle-image {
    float: left;
    width: 80px;
}

#g-expanded .g-features-particle-title, #g-expanded .g-features-particle-desc {
    float: left;
    width: calc(100% - 80px);
    text-align: left;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    line-height: 1.5;
}

#g-expanded .g-features-particle-desc {
    color: #8e8e8d;
}

.gbs3 .gcore-form-row .gcore-input, .gbs3 .A,  #g-expanded .gbs3 .A {
    width: 80%!important;
    border-radius: 0;
}

.gbs3 .A.btn ,  #g-expanded .gbs3 .A.btn {
    width: auto!important;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 18px;
}

.chrono_credits {
    display: none;
}


/*******************************************************************************
    !   FOOTER
*******************************************************************************/

#g-footer {
    font-weight: 300;
}

#g-footer strong {
    font-size: 20px;
}

/* To top */
#totop {
    position: fixed;
    bottom: 20px;
    right: 0;
    width: 100px;
    z-index: 9999;
}

#g-totop-button, #g-footer .g-totop a {
    border-radius:50%;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.6);
    display: block;
    float: right;
    text-align: center;
    line-height: 50px;
    color: #293f5e;
    font-weight: 700;
    font-size: 38px;
    
}

#g-totop-button i {
    
}


/**************************************************************************************************************************************************************
    !   RESPONSIVE
**************************************************************************************************************************************************************/


/*******************************************************************************
    !   MAX 1200
*******************************************************************************/

@media screen and (max-width: 1200px) {
    
    /* Features */
    #g-features .g-owlcarousel-item-desc .fa {
        margin-top: 100px;
    }
    
    #g-features .owl-carousel.owl-loaded, #g-features .owl-stage-outer, #g-features .g-owlcarousel-item-content-wrapper {
        height: 420px;
    }
    
    .g-owlcarousel .owl-dots {
        bottom: 4%;
    }
    
    /* Utility */
    .oversigt-tekst-table table, .oversigt-tekst-table tr, .oversigt-tekst-table th, .oversigt-tekst-table td {
        font-size: 15px;
        padding-right: 0;
    }

}


/*******************************************************************************
    !   MAX 960
*******************************************************************************/

@media screen and (max-width: 960px) {
    
    /* Navigation */
    #g-navigation .g-main-nav .g-toplevel > li {
        margin: 0 12px;
    }
    
    #g-navigation .g-main-nav a {
        font-size: 16px;
    }
    
    #g-navigation .bach-logo .g-content {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    #g-navigation .logo-tinghuset .g-content {
        margin-right: 0;
    }
    
    
    /* Slideshow */
    .uk-width-1-2, .uk-width-2-4, .uk-width-3-6, .uk-width-5-10 {
        width: 100%;
    }
    
    /* Features */
    #g-features .moduletable {
        width: 100%;
        margin-left: 0%;
    }
    
    /* Utility */
    .oversigt-tekst-img, .oversigt-tekst-table {
        width: 50%;
    }
    
    .oversigt-tekst-table {
        width: 50%;
    }
}



/*******************************************************************************
    !   MAX 767
*******************************************************************************/

@media screen and (max-width: 767px) {
    
    /* Navigation */
    #g-navigation .bach-logo, #g-navigation .logo-tinghuset {
        width: 50%;
        flex: 0 1 auto;
        padding: 0 20px;
    }
    
    #g-navigation {
        height: 76px;
    }
    
    /* Slideshow */
    #g-header .g-slideshow .slideshow-caption {
        padding: 30px 30px 45px 30px;
    }
    
    /* Intro */
    .g-features-particle, .g-features2-particle {
        margin: 0;
    }
    
    #g-intro .g-features-particle-item {
        width: 33%;
        float: left;
        flex: 0 1 auto;
    }
    
    /* Features */
    .g-owlcarousel .g-owlcarousel-item-wrapper .g-owlcarousel-item-content-container .g-owlcarousel-item-content-wrapper .g-owlcarousel-item-content .g-owlcarousel-item-desc {
       display: block;
    }

    /* Utility */
    .oversigt-menu, .oversigt-tekst-img, .oversigt-tekst-table  {
       width: 100%;
    }
    
    .oversigt-tekst-table {
        margin-top: 20px;
    }
    
    .oversigt-tekst-table table, .oversigt-tekst-table tr, .oversigt-tekst-table th, .oversigt-tekst-table td {
        font-size: 1rem;
    }
    
    /* Above */
    #g-above .owl-carousel .owl-item img.owl-lazy {
        margin-left: 12%;
    }
    
    #g-above .owl-carousel.owl-drag .owl-item, #g-above .owl-carousel.owl-drag .owl-item * {
        position: relative;
        display: block;
    }
    
    /* EXPANDED */
    .gbs3 .gcore-form-row .gcore-input, .gbs3 .A, #g-expanded .gbs3 .A {
        width: 100%!important;
    }
    
    #g-expanded {
        padding: 3rem 0;
    }


}


/*******************************************************************************
    !   MAX 500
*******************************************************************************/

@media screen and (max-width: 500px) {
    
    
    /* Generel */
    .g-title, #g-header .g-slideshow .g-slideshow-title {
        font-size: 34px;
    }
    
    .g-slideshow .style2 .g-slideshow-buttons .button {
        font-size: 1rem;
        padding: 1.5rem 0.5rem;
    }
    
    #g-header .g-slideshow .slideshow-caption {
        padding: 30px 5px 45px 5px;
    }
    
    /* Navigation */
    #g-navigation .bach-logo {
        width: 40%;
    }
    
    #g-navigation .logo-tinghuset {
        width: 60%;
    }
    
    
    /* Intro */
    #g-intro .g-features-particle-item {
        width: 100%;
    }
    
    /* Features */
    #g-features .g-owlcarousel-item-desc .fa {
        margin-top: 128px;
    }
    
    /* Above */
    #g-above .owl-carousel .owl-item img.owl-lazy {
        margin-left: 0;
    }
    
    /* Oversigt */
    .oversigt-tekst-table table, .oversigt-tekst-table tr, .oversigt-tekst-table th, .oversigt-tekst-table td {
        font-size: 0.8rem;
    }
    
    .g-owlcarousel .owl-nav button.owl-prev, .g-owlcarousel .owl-nav button.owl-next {
        font-size: 26px;
        margin-top: -4px;
    }
    
    .g-owlcarousel .owl-nav button.owl-prev {
        margin-left: -20px;
    } 
    
    .g-owlcarousel .owl-nav button.owl-next {
        margin-right: -20px;
    }
    

}


/*******************************************************************************
    !   MAX 375
*******************************************************************************/

@media screen and (max-width: 375px) {
    
    /* Generel */
    .g-title, #g-header .g-slideshow .g-slideshow-title {
        font-size: 28px;
    }
    
    /* Navigation */
    #g-navigation .bach-logo {
        margin-top: 5px;
    }
    
    /* Features */
    #g-features .owl-carousel.owl-loaded, #g-features .owl-stage-outer, #g-features .g-owlcarousel-item-content-wrapper {
        height: 460px;
    }
    
    /* Oversigt */
    .oversigt-tekst-table table, .oversigt-tekst-table tr, .oversigt-tekst-table th, .oversigt-tekst-table td {
        font-size: 0.65rem;
    }
    
    #g-above .owl-carousel .owl-stage-outer {
        margin: 0px 60px;
    }

}

/*******************************************************************************
    !   MAX 320
*******************************************************************************/

@media screen and (max-width: 320px) {
    
    
    /* Navigation */
    #g-navigation .bach-logo {
        margin-top: 10px;
    }
    
    #g-navigation .logo-tinghuset {
        margin-top: 5px;
    }

}
