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

body, h1, h2, h3, h4, h5, h6, p, td, th {
    line-height: 1.3;
}

p, li, td {
    font-weight: 300;
}

.moduletable > h3 {
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Table */

table, table tr, table tr td, table tr th {
    border: none;
}

table tr {
    height: 36px;
}

/* Pagination */
.pagination {
    width: 100%;
}

.counter {
    margin-top: 0;
}

li:not(.pagination-prev):not(.pagination-start):not(.pagination-next):not(.pagination-end) span.pagenav {
    color: #ffffff!important;
    background: #428bca!important;
}

.cb-readMore a {
    color: #ff6600;
}

/*******************************************************************************
    ! BUTTON
*******************************************************************************/

.button {
    border-radius: 5px;
    background: none!important;
    color: #ffffff!important;
    border: 1px solid #ffffff!important;
}

.chronoform .btn.btn-default {
    border-radius: 5px;
    background: none!important;
    color: #BF6313!important;
    border: 1px solid #BF6313!important;
    font-size: 1.2rem;
    text-transform: uppercase;
    display: inline-block;
    padding: 15px 20px;
    font-weight: 700;
}

/*******************************************************************************
    ! PAGINATION
*******************************************************************************/

.pagination > li > a, .pagination > li > span {
    color: #000000;
}

li:not(.pagination-prev):not(.pagination-start):not(.pagination-next):not(.pagination-end) span.pagenav {
    background: #000000!important;
}

/*******************************************************************************
    ! TOP
*******************************************************************************/
#g-top {
    background: #0d2246;
}

#g-top .g-logo > * {
    float: left;
}

.g-logo.g-logo-helium img, .g-logo.g-logo-helium svg {
    max-height: 82px;
    margin-top: -15px;
}

#g-top .g-social a {
    padding-left: 0;
    padding-right: 0;
}

#g-top .top-menu a {
    text-transform: uppercase;
    color: #0d2246;
    font-weight: 700;
    font-size: 18px;
}

#g-top .top-a .g-content  {
    border-left: 1px solid #707070;
    border-right: 1px solid #707070;
    padding-top: 0.1px;
    padding-bottom: 0.1px;
    margin-top: calc(0.625rem + 0.938rem);
    margin-bottom: calc(0.625rem + 0.938rem);
    text-align: center;
}

#g-top .g-social {
    margin-top: 10px;
}

#g-top .g-social a, #g-footer .g-social a {
    color: #ffffff;
    border-radius: 50%;
    border: 1px solid #ffffff;
    margin-right: 8px;
    font-size: 22px;
    padding: 4px;
    height: 38px;
    width: 38px;
    text-align: center;
    display: inline-block;
}

#g-top .g-social a:last-child, #g-footer .g-social a:last-child {
    margin-right: 0;
}

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

#g-navigation .g-toplevel {
    width: 75%;
    margin: 0 auto;
    display: flex;
}

#g-navigation .g-toplevel li {
    flex: 1;
    text-align: center;
    text-transform: uppercase;
}

#g-navigation .g-toplevel li a {
    font-weight: 300;
}

#g-navigation .g-main-nav .g-sublevel > li:hover > .g-menu-item-container, #g-navigation .g-main-nav .g-sublevel > li.active > .g-menu-item-container {
    color: #ffffff;
}


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

#g-footer a {
    color: #ffffff!important;
}

#g-footer .g-social a {
    border-color: #ffffff;
}

#g-footer .moduletable > h3 {
    font-size: 24px;
}

#g-footer .moduletable .nav.menu {
    border: none;
    padding: 0;
}

#g-footer .moduletable .nav.menu li {
    border: none;
    margin-bottom: 0;
}

#g-footer .moduletable .nav.menu li a {
    color: #ffffff;
}

#g-footer .g-block {
    border-right: 1px solid #ffffff;
}

#g-footer .g-block:last-child {
    border-right: 0;   
}

#g-footer .footer-b, #g-footer .footer-c, #g-footer .footer-d {
    padding-left: 30px;
}

/* Social */

#module-social-118-particle h2 {
    font-size: 1rem;
    font-weight: 300;
}


/* Contacts */

#g-footer .g-contacts {
    margin-top: -20px;
}

#g-footer .g-contacts-item {
    margin-bottom: 2px;
    font-weight: 300;
}


#g-footer .g-contacts-item.spacer {
    margin-bottom: 20px;
}



/*******************************************************************************
    ! SLIDESHOW
*******************************************************************************/

.g-slideshow-title {
    text-transform: uppercase;
    line-height: 1.3;
}

.g-slideshow-title strong {
    display: block;
}

.g-slideshow .uk-dotnav {
    right: auto;
    left: 19%;
}

.g-slideshow-item:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: rgba(1,1,1,0.5);
    width: 50%;
    z-index: 1;
}

.g-slideshow .style2 {
    z-index: 2;
}

.g-slideshow .style2 .g-slideshow-title, .g-slideshow .style2 .g-slideshow-desc {
    background: none;
    color: #ffffff!important;
}

.g-slideshow .style2 .g-slideshow-title {
    font-size: 36px;
    margin-bottom: 0;
    padding-left: 0;
}

.g-slideshow .style2 .g-slideshow-desc {
    font-size: 22px;
    padding-left: 0;
}

.uk-dotnav-contrast>.uk-active>* {
    background: #BF6313;
}


/*******************************************************************************
    ! UGENS BOLIG
*******************************************************************************/

.ugensBoligContainer {
    width: 33.33%; /*calc(33.33% - 0.938rem);*/
    float: left;
    display: block;
    position: relative;
    padding: 0.938rem;
    
}

.ugensBolig {
    position: relative;
    display: block;
    margin-left: calc(0.938rem * -1);
    margin-right: calc(0.938rem * -1)
}

.ugensBolig .boxContent {
    background: #E7E7E7;
    padding: 0.938rem;
    line-height: 1.3;
    min-height: 130px;
}

.ugensBolig .imgContent {
    position: relative;
    display: block;
    padding: calc(0.938rem/2) 0.938rem;
    background: rgba(255,255,255, 0.6);
    margin-top: -35px;
    width: 100%;
    z-index: 10;
    font-size: 0.9rem;
    height: 35px;
}

.ugensBolig .imgContent span {
    margin-right: 10px;
}

.ugensBolig a {
    color: #000000;
}


/*******************************************************************************
    ! PROJEKTER
*******************************************************************************/

.projekt #g-features, .projekt #g-utility {
    background: #F4F4F4;
    color: #000000;
}

.projekt #g-features .custom:not(.text) p, .projekt #g-utility .custom:not(.text) p {
    margin: 0;
}

.projekt #g-features .platform-content, .projekt #g-utility .platform-content {
    position: relative;
}

.projekt #g-features .g-block:last-child > .g-content, .projekt #g-utility .g-block:first-child > .g-content {
    position: relative;
    top: 50%;
    transform: translateY(-56%);
}

.projekt #g-features .g-title, .projekt #g-utility .g-title, .projekt #g-expanded .g-title {
    font-size: 22px;
    font-weight: 200;
    text-transform: uppercase;
    color: #707070;
}

.projekt #g-features h2, .projekt #g-utility h2 {
    text-transform: uppercase;
}

.projekt .moduletable.text {
    width: calc((75rem + 4rem) / 2);
    padding: 4rem;
}

.projekt #g-utility .moduletable.text {
    margin-left: calc(100% - ((75rem + 4rem) / 2));
}

.projekt #g-above {
    background: #ffffff;
}

.projekt #g-above .g-title {
    text-align: center;
    margin-bottom: 30px;
    flex: 0 100%;
    width: 100%;
}

.projekt #g-above .moduletable {
    display: flex;
    flex-wrap: wrap;
}

.projekt .half1, .projekt .half2 {
    display: block;
    float: left;
    position: relative;
}

.projekt .half1 {
    flex: 0 66.66%;
    width: 66.66%;
}

.projekt .half2 {
    flex: 0 33.33%;
    width: 33.33%;
}

.projekt .half2 p {
    color: #707070;
    margin-top: 3px;
}

.projekt .half2 h4 {
    margin-bottom: 3px;
    font-weight: 700;
}



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

/* -- Style 1 -- */
.g-features-particle.style1 .g-features-particle-image, .g-features-particle.style1 .g-content {
    position: relative;
}

.g-features-particle.style1 .g-features-particle-image:before {
    content: '';
    background: rgba(1,1,1,0.4);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.g-features-particle.style1 a {
    color: #ffffff;
}

.g-features-particle.style1 a:hover {
    color: #ffffff;
}

.g-features-particle.style1 .g-features-particle-title, .g-features-particle.style1 .g-features-particle-desc {
    color: #ffffff;
    position: absolute;
    top: 0;
    width: calc(100% - (0.938rem * 2));
    text-align: center;
}

.g-features-particle.style1 .g-features-particle-title {
    top: 45%;
    transform: translateY(-60%);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 24px;
}

.g-features-particle.style1 .isDesc .g-features-particle-title {
    top: 110px;
}

.g-features-particle.style1 .isDesc .g-features-particle-desc {
    top: 145px;
}


/*******************************************************************************
    ! OUR TEAM
*******************************************************************************/
@media screen and (min-width: 768px) {
    .g-block.columns-3 {
        width: 33.33%;
        max-width: 33.33%;
    }

}


.g-our-team-image {
    background: rgba(1,1,1,0.05);
}

.g-our-team-social a {
    display: block;
    text-align: left;
    width: 100%;
    line-height: 1.5;
}

.g-our-team-social a i {
    width: 20px;
    margin-right: 5px;
}

.g-our-team .g-particle-intro .g-title-separator {
    display: none;
}

.g-our-team .g-particle-intro h3.g-main-title {
    font-size: 30px;
    text-align: left;
    padding-bottom: 19px;
    border-bottom: 1px solid #eeeeee;
}

.g-our-team > .g-grid {
    margin-left: -15px;
    margin-right: -15px;
}

.g-our-team .g-particle-intro {
    margin-bottom: 1.5rem;
}

/*******************************************************************************
    ! ARTICLE
*******************************************************************************/

.article_topimage {
    background-image: url(/images/pages/artikel/artikeltop.png);
    height: 300px;
    position: absolute;
    top: 185px;
    left: 0;
    width: 100%;
}

.article_topimage:before {
    content: '';
    background: rgba(10,10,10, 0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
}

.article_topimage_title {
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    text-align: center;
    width: 100%;
}

.article_topimage_title h1 {
    color: #ffffff;
    font-weight: 700;
    width: 100%;
    text-transform: uppercase;
    font-size: 42px;
}

.article_topimage_spacer {
    height: 280px;
    display: block;
    width: 100%;
    float: left;
    position: relative;
}

/*******************************************************************************
    ! CAREGORY ARTICLE
*******************************************************************************/

.fixed-image .blog_item_introimage {
  display: block;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  flex: 1;
}

.blogfixed-image img {
  display: none!important;
}

.fixed-image .blog_item_introimage_container {
  display: flex;
  flex-wrap: wrap;
}

/*******************************************************************************
    ! COM_BACH
*******************************************************************************/
.bolig_video {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.bolig_video video {
    height: 100px;
}

.mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-preloader {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.mfp-preloader .video-container {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 10%;
    right: 10%;
    width: 80%;
}

.mfp-preloader video {
    position: relative;
    width: 100%;
}

.mfp-preloader .video-container:before {
    content: '';
    background-image: url(/images/fbbolig/logo/FB-Udlejning-logo-bred2-hvid-RGB.png);
    display: block;
    width: 220px;
    position: absolute;
    z-index: 9999;
    right: 135px;
    height: 35px;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    left: 20px;
    bottom: 20px;
}

/*******************************************************************************
    ! SIDEBAR
*******************************************************************************/

/* -- Menu -- */
.moduletable .nav.menu, .moduletable .mostread, .moduletable .latestnews, .moduletable .archive-module, .moduletable .relateditems, .moduletable .categories-module, .moduletable .category-module, .moduletable .latestusers, .moduletable .unstyled {
    border: 0;
}
/*
.view-article #g-aside .nav.menu.mod-list {
    margin-top: 267px;
}*/

/*******************************************************************************
    ! RESIDENCE
*******************************************************************************/

.cb-otherFiles {
    position: relative;
    cursor: pointer;
    background: rgba(0,0,0,0.8);
}

.cb-otherFiles .fa-play {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    color: #ffffff;
    font-size: 50px;
    line-height: 100px;
    opacity: 0.8;
    padding-left: 32px;
}


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

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

@media only screen and (max-width: 1200px) {
    
    
    /* Top */
    #g-top .top-logo {
        flex: 0 55%;
        width: 55%;
    }
    
    #g-top .top-a {
        flex: 0 25%;
        width: 25%;
    }
    
    #g-top .g-social-header {
        flex: 0 20%;
        width: 20%;
    }
    
    /* Slideshow */
    .g-slideshow .g-slideshow-buttons {
        margin: 0;
    }
    
    /* Ugens bolig */
    .ugensBolig .imgContent {
        font-size: 0.7rem;
        line-height: 25px;
    }
    
    .ugensBolig .boxContent {
        min-height: 150px;
    }
    
    /* Projekt */
    .projekt .moduletable.text {
        width: calc((60rem + 4rem) / 2);
    }
    
    .projekt #g-utility .moduletable.text {
        margin-left: calc(100% - ((60rem + 4rem) / 2));
    }
    
    .projekt .half1 {
        flex: 0 80%;
        width: 80%;
    }
    
    .projekt .half2 {
        flex: 0 20%;
        width: 20%;
    }
}



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

@media only screen and (max-width: 960px) {
    
    
    /* Top */
    #g-top .top-logo {
        flex: 0 45%;
        width: 45%;
    }
    
    #g-top .top-a {
        flex: 0 30%;
        width: 30%;
    }
    
    #g-top .g-social-header {
        flex: 0 25%;
        width: 25%;
    }
    
    /* Navigation */
    
    #g-navigation .g-toplevel {
        width: 100%;
    }
    
    /* Slideshow */
    .g-slideshow .style2 .g-slideshow-title {
        font-size: 24px;
    }
    
    .g-slideshow .style2 .g-slideshow-desc {
        font-size: 16px;
    }
    
    .g-slideshow .g-slideshow-buttons .button {
        display: inline-block;
        padding: 15px 20px;
    }
    
    /* Ugens bolig */
    .ugensBolig .imgContent {
        background: #E7E7E7;
        margin-top: 0;
        height: auto;
        font-size: 1rem;
        padding-bottom: 20px;
    }

     
    .ugensBolig .imgContent span {
        display: block;
    }
    
    .ugensBolig .boxContent {
        min-height: 190px;
    }
    
    /* Features */
    .g-features-particle.style1 .isDesc .g-features-particle-title {
        top: 68px;
    }
    
    .g-features-particle.style1 .isDesc .g-features-particle-desc {
        top: 92px;
    }
    
    /* Footer */
    .footer-a {
        flex: 0 22%;
        width: 22%;
    }
    
    #g-footer .footer-b, #g-footer .footer-c, #g-footer .footer-d {
        flex: 0 26%;
        width: 26%;
        padding-left: 15px;
    }
    
    /* Projekt */
    .projekt .moduletable.text {
        width: calc((48rem + 4rem) / 2);
    }
    
    .projekt #g-utility .moduletable.text {
        margin-left: calc(100% - ((48rem + 4rem) / 2));
    }
    
    .projekt #g-above .moduletable {
        display: block;
        position: relative;
    }
    
    .projekt .half1, .projekt .half2 {
        flex: 0 1 auto;
        width: 100%;
        float: left;
    }
    
    .projekt .half1 {
        margin-bottom: 40px;
    }
    
    .projekt .half2 {
        position: static;
    }
    
    /* Artikel */
    .article_topimage_spacer {
        height: 250px;   
    }
    
    /*.article_topimage {
        top: 78px;
    }*/
}


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

@media only screen and (max-width: 767px) {

    
    /* Top */
    #g-top .top-logo {
        flex: 0 100%;
        width: 100%;
        height: 90px;
    }
  
  	.g-logo.g-logo-helium img, .g-logo.g-logo-helium svg {
        max-height: 65px;
        margin-top: -18px;
    }
    
    /*#g-top .top-a,*/ #g-top .g-social-header {
        display: none;
    }
    
    #g-top .top-a {
        position: absolute;
        right: 0;
        width: 100%;
        flex: 0 100%;
    }
    
    #g-top .top-a .g-content {
        padding: 0;
        border: none;
        margin: 0;
        width: 100%;
        text-align: right;
        padding-right: 15px;
    }
    
    #g-top .top-a .g-content p {
        margin: 0;
        line-height: 90px;
    }
    
    #g-top .top-a .g-content p a {
        font-size: 16px!important;
    }
    
    #g-top .g-logo > * {
        float: none;
    }
    
    .g-offcanvas-toggle {
        top: 1.8rem;
    }
    
    /* Slideshow */
    .slideshow-caption.uk-width-1-2, .g-slideshow-item:before {
        width: 100%;
    }
    
    .g-slideshow .uk-dotnav {
        left: 60%;
        right: 0;
    }
    
    /* Ugens bolig */
    .ugensBoligContainer {
        width: 100%;
    }
    
    .ugensBolig .boxContent {
        min-height: auto;
    }
    
    .ugensBolig .imgContent {
        padding-bottom: 30px;
    }
    
     /* Features */
    .g-features-particle.style1 .isDesc .g-features-particle-title {
        top: 39%;
        transform: translateY(-60%);
    }
    
    .g-features-particle.style1 .isDesc .g-features-particle-desc {
        top: 56%;
        transform: translateY(-60%);
    }
    
    /* Footer */
    #g-footer .footer-a, #g-footer .footer-b, #g-footer .footer-c, #g-footer .footer-d {
        flex: 0 100%;
        width: 100%;
        padding-left: 0;
        border-right: 0;
    }
    
    /* Projekt */
    .projekt .moduletable.text {
        width: calc(30rem);
        margin: 0 auto!important;
        float: none;
        display: block;
        position: relative;
        padding: 3rem calc(0.938rem + 0.625rem);
    }
    
    .projekt #g-utility .g-grid {
        display: flex;
    }
    
    .projekt #g-utility .g-grid .g-block:first-child {
        order: 2;
    }
    
    /* Artikel */
    .article_topimage_spacer {
        height: 0;   
    }
    
    .article_topimage {
        top: 78px;
    }
    
    .view-article .size-75 #g-mainbar {
        padding-top: 0;
    }
    
    .view-article #g-aside {
        padding-bottom: 0;
    }
    
    .view-article #g-aside .nav.menu.mod-list {
        padding: 0;
    }

  
}


/*******************************************************************************
    ! MEDIA MAX 600
*******************************************************************************/

@media only screen and (max-width: 600px) {
    
    

    /* Slideshow */
    .g-slideshow .style2 .g-slideshow-desc {
        display: none;
    }
    
    .g-slideshow-item, .uk-slideshow.uk-overlay-active {
        height: 240px!important;
    }
  
  	.fixed-image .blog_item_introimage {
   		flex: 0 100%;   
  	}
  
}


/*******************************************************************************
    ! MEDIA MAX 480
*******************************************************************************/

@media only screen and (max-width: 480px) {
    
    

    /* Features */
    .g-features-particle.style1 .g-features-particle-title {
        font-size: 20px;
        padding: 0 5px;
    }
    
    .g-features-particle.style1 .isDesc .g-features-particle-desc {
        font-size: 15px;
        padding: 0 5px;
        top: 64%;
    }
    
    /* Projekt */
    .projekt .moduletable.text {
        width: 100%;
    }
    
    .projekt #g-utility .moduletable.text {
        margin-left: 0;
    }
    
    
    .mfp-preloader video {
        left: 15%;
        right: 15%;
        width: 70%;
    }

    .cb-otherFiles .fa-play, .bolig_video {
        width: 100%;
    }
  
}

@media (max-width:430px) {
    .cb-otherFiles .fa-play, .bolig_video {
         height: 80px;
         line-height: 80px;
         font-size: 40px;
    }
    
    .cb-otherFiles .fa-play {
        padding-left: 25px;
    }
}


/*******************************************************************************
    ! MEDIA MAX 378
*******************************************************************************/
@media (max-width: 378px) {
    .bolig_video {
        width: 100%;
        height: 80px;
    }
    
    #g-top .top-a .g-content p a {
        font-size: 14px!important;
    }
}

/*******************************************************************************
    ! MEDIA MAX 320
*******************************************************************************/
@media (max-width: 320px) {
    .cb-otherFiles .fa-play, .bolig_video {
         height: 100px;
         line-height: 100px;
    }
    
    .cb-otherFiles .fa-play {
        padding-left: 44px;
    }
    
    #g-top .top-a .g-content p a {
        font-size: 12px!important;
    }
}

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

@media only screen and (max-width: 375px) {
    
    

    /* Features */
    .g-features-particle.style1 .isDesc .g-features-particle-desc {
        font-size: 13px;
        padding: 0 10px;
        top: 68%;
    }
  
}





























