html, body {
    height: 100%;
}

body {
    background-color: rgb(248, 248, 248);/*#f7fafa;*/
    /*margin-bottom: 60px;*/
}

html {
    position: relative;
}

/* #region NYTT OG FRESHT */

.bg-white {
    background-color: #fff;
}

.border-subtile {
    border: 1px solid #b4b4b4;
    border: 1px solid rgba(180, 180, 180, 0.15);
}

.margin-0-30 {
    margin: 0 30px;
}

.margin-30-0 {
    margin: 30px 0;
}

.margin-15-0 {
    margin: 15px 0;
}

.padding-15 {
    padding: 15px;
}

/*#endregion*/


/*NAV-MAIN*/
.menu-container {
    display: none;
    overflow: hidden;
    /*background-color: #525252;*/
    background-color: #131313;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0;
    z-index: 99;
    width: 100%;
    padding: 0 15px;
}

    .menu-container ul.menu-list {
        padding: 20px 0;
        list-style: none;
    }

#linkFrontpage {
    text-align: left;
    color: #525252;
    -ms-border-radius: 3px;
    border-radius: 3px;
    padding: 5px;
    margin: 0 5px;
    display: inline-block;
    margin-top: 23px;
    float: left;
    text-transform: uppercase;
    font-family: "Open Sans";
    /*font-family: "Relative Book";*/
    font-size: 11px;
}

.border {
    border-width: 1px;
    border-style: solid;
    border-color: #d9d9de;
}

.menu-container #linkFrontpage {
    color: #fff;
}

ul.menu-list li {
    padding: 10px 0;
    border-bottom: 2px solid #212124;
}

    ul.menu-list li:first-child {
        border-top: 2px solid #212124;
    }

    ul.menu-list li.small {
        padding: 5px 0;
        font-size: 70%;
        border-top: 0;
        border-bottom: 0;
    }

    ul.menu-list li a {
        font-family: "Open Sans";
        /*font-family: "Relative Medium";*/
        text-transform: uppercase;
        font-size: 1.3em;
    }

        ul.menu-list li a:hover {
            color: #fff;
        }

.nav-main {
    margin-top: 10px;
}

.main-logo {
    width: 150px;
    margin: auto;
}

    .main-logo img {
        width: 30%;
        -moz-min-width: 150px;
        -ms-min-width: 150px;
        -o-min-width: 150px;
        -webkit-min-width: 150px;
        min-width: 150px;
    }

.navbar-buttons {
    float: right;
    margin-top: 15px;
}

.menu-container .link-list-login li a {
    color: #fff;
}

.menu-container .link-list-login li.link-signin a, .menu-container .link-list-login li.link-profile a {
    /*color: #333;*/
}

.menu-container .link-list-login li a:hover {
    border-color: #fff;
}

.link-list-login {
    vertical-align: super;
}

    .link-list-login li a {
        color: #525252;
        -ms-border-radius: 3px;
        border-radius: 3px;
        padding: 5px;
        margin: 0 5px;
    }

    .link-list-login li.link-signin a, .link-list-login li.link-profile a {
        border: 1px solid #DADADA;
        /*background: #fff;*/
    }

    .link-list-login li.link-signup a, .link-list-login li.link-logout a {
        border: 1px solid transparent;
    }

    .link-list-login li a:hover {
        border-color: #525252;
    }

.navbar-burger {
    outline: none;
    background: none;
    position: relative;
    padding: 9px 10px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
}

    .navbar-burger .icon-bar {
        display: block;
        width: 22px;
        height: 3px;
        -ms-border-radius: 1px;
        border-radius: 1px;
        background: #525252;
        margin-top: 4px;
    }

.menu-list a {
    color: #fff;
}

.main-link {
    color: #525252;
}

    .main-link a {
        font-weight: 600;
    }

.inline-block {
    display: inline-block !important;
}

.header-btn-div-size {
    width: 375px;
}


.section-footer a {
    color: #fff;
    font-size: .85em;
}

a:hover, a:focus, a:active {
    color: initial;
    text-decoration: none;
}

.footer-link-a:hover {
    color: rgb(148, 148, 148);
}

.link-signin, .link-signup, .link-profile, .link-signout {
    font-size: .8em;
}

.img-content {
    display: none;
    margin-bottom: 230px;
    text-align: center;
    color: #fff;
}

.main-page-big-quote {
    font-size: 4.5em;
}

.main-page-small-quote {
    font-size: 1.5em;
}

.main-img-btn-container {
    text-align: center;
    padding-top: 80px;
}

.btn-outline-white {
    padding: 5px 30px;
    border: 2px solid #f4f3f3;
    margin: 5px;
}

.btn-explore-campaign {
    text-align: center;
    background-color: #fff;
    color: #000;
    font-size: 1em;
    padding: 10px 15px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

.text-push-20 {
    margin-top: 20px !important;
}

.text-white {
    text-align: center;
    font-family: 'Open Sans';
    font-weight: 700;
    color: #fff;
}

.btn-block-width {
    width: 120px;
    display: block;
}

.response {
    margin-top: 30px;
    margin-bottom: 30px;
    display: none;
}

.inoboors {
    padding-bottom: 30px;
}

.small-important {
    font-size: 85% !important;
}

/* MAIN PAGE SECTION TITLES */
.section-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2em;
    color: #777370; /*rgb(185,185,185);*/
    min-height: 40px;
    margin: 20px 0 10px 0;
}

.section-title.slim {
    margin: 20px 0 0;
}

.section-title.slim a {
    margin: 0;
}

    .section-title a {
        display: none;
        position: absolute;
        right: 15px;
        top: 10px;
        color: #525252;
        padding: 10px;
        -ms-border-radius: 2px;
        border-radius: 2px;
        text-decoration: none;
        float: right;
        margin: 0 0 20px 0;
        vertical-align: top;
        font-size: .7em;
    }

h4 {
    text-transform: uppercase;
    color: #333333;
    font-size: 1.5em;
    text-align: center;
    margin: 20px 0;
}

/* TILES/KORT/BRIKKER */
.fund-card {
    box-sizing: border-box;
    max-width: 400px;
    min-width: 250px;
}

.card-content {
    position: relative;
    margin: 0 0 20px 0;
    background-color: #fff;
    -ms-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #808080;
    border: 1px solid rgba(128, 128, 128, 0.09);
    /*min-height: 560px;*/
}

.card-img {
    margin: 0;
    width: 100%;
    height: 240px;
    background-size: auto 105%;
    background-repeat: no-repeat;
    border-radius: 5px 5px 0 0;
    background-position: center;
}

p.card-description {
    font-size: .8em;
    padding: 0 20px;
    color: #000;
    margin: 0;
    height: 70px;
    overflow: hidden;
}

h2.card-title {
    font-size: 1.2em;
    color: #404040;
    margin: 0;
    padding: 20px 20px 0 20px;
    width: 100%;
    text-transform: uppercase;
    height: 90px;
    overflow: hidden;
    -moz-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.cat-title {
    padding: 10px 21px;
    font-size: .8em;
    color: #b9b9b9;
    margin: 0;
    text-transform: uppercase;
    text-align: left;
}

    .cat-title span {
        float: right;
        margin-right: 15px;
        color: #000;
        font-weight: 600;
    }

        .cat-title span:first-child {
            float: none;
            margin-right: 0;
            color: inherit;
            white-space: nowrap;
            -moz-text-overflow: ellipsis;
            text-overflow: ellipsis;
            display: inline-block;
            width: 65%;
            overflow: hidden;
        }

div.card-stats {
    text-align: center;
    margin: 0;
    padding: 10px 20px 10px 20px;
    color: #fafafa;
    -ms-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    text-transform: uppercase;
    width: 100%;
}

div.card-stats-goal > div > div {
    height: 50px;
    position: relative;
}

.card-stats-goal .left > div:first-child {
    left: 0;
}

.card-stats-goal .left > div:nth-child(2) {
    left: 5px;
}

.card-stats-goal .center > div {
    width: 75px;
}

.card-stats-goal .right > div:first-child {
    right: 0;
}

.card-stats-goal .right > div:nth-child(2) {
    right: 5px;
}

.card-stats-value {
    color: #000;
    font-size: 1em;
    line-height: 1em;
    bottom: 0;
    position: absolute;
}

div.card-stats-desc {
    top: 5px;
    position: absolute;
    font-size: .7em;
    color: #757575;
    text-transform: uppercase;
    white-space: nowrap;
}

.container-bg {
    margin-top: 20px;
    margin-bottom: 50px;
    background-color: #ffffff;
    padding: 30px;
}

/* PROJECT */
.project-title {
    /*text-transform: uppercase; WHY?*/
}

/*BOOTSTRAP STUFF*/
.progress, .progress-bar {
    -moz-min-width: 20px;
    -ms-min-width: 20px;
    -o-min-width: 20px;
    -webkit-min-width: 20px;
    min-width: 5px;
    height: 13px;
    color: #fff;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
    -ms-border-radius: 10px;
    border-radius: 10px;
}

.progress {
    background-image: -webkit-linear-gradient(top, rgb(224,224,224) 0, rgb(224,224,224) 100%);
    background-image: -o-linear-gradient(top, rgb(224,224,224) 0, rgb(224,224,224) 100%);
    background-image: linear-gradient(to bottom, rgb(224,224,224) 0, rgb(224,224,224) 100%);
    background-repeat: repeat-x;
    -webkit-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDFDFDF', endColorstr='#FFDFDFDF', GradientType=0);
    -moz-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDFDFDF', endColorstr='#FFDFDFDF', GradientType=0);
    -o-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDFDFDF', endColorstr='#FFDFDFDF', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFDFDFDF', endColorstr='#FFDFDFDF', GradientType=0);
    overflow: hidden;
}

.progress-bar {
    background-image: -webkit-linear-gradient(top, rgb(122,184,40) 0, rgb(122,184,40) 100%);
    background-image: -o-linear-gradient(top, rgb(122,184,40) 0, rgb(122,184,40) 100%);
    background-image: linear-gradient(to bottom, rgb(122,184,40) 0, rgb(122,184,40) 100%);
    background-repeat: repeat-x;
    -webkit-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF7AB728', endColorstr='#FF7AB728', GradientType=0);
    -moz-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF7AB728', endColorstr='#FF7AB728', GradientType=0);
    -o-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF7AB728', endColorstr='#FF7AB728', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF7AB728', endColorstr='#FF7AB728', GradientType=0);
    max-width: 100% !important;
}

.navbar-toggle {
    background: #b2b2b2;
}

    .navbar-toggle > .icon-bar {
        background: black;
    }

.section-campaigns {
}

/* CATEGORIES */
.section-categories, .section-about-bidra {
    width: 100%;
    padding-bottom: 40px;
}

.section-black {
    background-color: #131313;
}

.section-about-bidra {
    text-align: center;
}

.section-about-bidra h2 {
    text-align: center;
}

.img-money {
    width: 155px;
    height: 187px;
    background-position: 1px -30px;
}

.img-speaker {
    width: 126px;
    height: 187px;
    background-position: -154px -30px;
}

.img-eye {
    width: 143px;
    height: 187px;
    background-position: -280px -30px;
}

.quote-main {
    font-size: 1.5em;
    margin-top: 50px;
    text-align: center;
}

.quote-sign {
    font-size: 1.1em;
    margin-bottom: 50px;
    text-align: center;
    padding-left: 40px;
}

.margin-bottom-fix {
    margin-bottom: 10px !important;
}

.social-sign-in {
    width: 50px;
}
/* FORMS */

/* TEXT */

.facebooklogin {
    background-image: url("~/Content/Images/fbIcon.png");
}

.header-main {
    font-family: "Open Sans";
    /*font-family: "Relative Medium";*/
    text-transform: uppercase;
    font-size: 2.0em;
    line-height: 40px;
}

.header-secondary {
    font-family: "Open Sans";
    /*font-family: "Relative Medium";*/
    font-size: 1.7em;
    line-height: 25px;
    display: inline-block;
}

input {
    font-family: "Open Sans";
    /*font-family: "Relative Book";*/
}

/*.input-style {
    border: 1px solid #d5d5d5; 
    background: #e9e9e9;
    border-radius: 0px;
    height: 50px;
    color: #333333;
    font-size: 1.1em;
    padding-left: 20px;
}*/

/*.input-style:focus {
        border: 1px solid #d5d5d5 !important; 
        background: #e9e9e9;
        border-radius: 0px;
        height: 50px;
        color: #333333;
        font-size: 1.1em;
        padding-left: 20px;
        -webkit-box-shadow: inset 0 0px 0px #f76d3c, 0 0 0px #f76d3c;
        box-shadow: inset 0 0px 0px #f76d3c, 0 0 0px #f76d3c;
    }*/

/* PARTNERS */
.partner-logo-container {
    text-align: center;
    /*margin: 0 0 30px 0;*/
}

.partners {
    text-align: center;
}

.img-partner {
    background: url('https://crowdstorage.blob.core.windows.net/assets/sprites/icons_bidra.png') no-repeat;
    display: inline-block;
    margin: 10px 20px;
}

.img-partner-dnb {
    width: 114px;
    height: 64px;
    background-position: 0 0;
}

.img-partner-klp {
    width: 103px;
    height: 64px;
    background-position: -117px 0;
}

.img-partner-linkmobility {
    width: 205px;
    height: 64px;
    background-position: -367px 0;
}

/*.img-partner-evry {
    width: 101px;
    height: 55px;
    background-position: -577px -19px;
}*/

.img-partner-pwc {
    width: 93px;
    height: 70px;
    background-position: -1346px 0;
}

.img-partner-nets {
    width: 136px;
    height: 64px;
    background-position: -684px 0;
}

.img-partner-innovation {
    width: 180px;
    height: 75px;
    background-position: -824px 0;
}

.img-partner-pfc {
    width: 180px;
    height: 75px;
    background-position: -1004px 0;
}

.img-partner-ssie {
    width: 180px;
    height: 75px;
    background-position: -1184px 0;
}

/* FOOTER */
.section-footer {
    background-color: #131313;
    color: #e2e2e2;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    /*height: 135px;*/
    /*min-height: 185px;*/
    position: relative;
    margin-top: -700px; /* negative value of footer height */
    height: 700px;
    clear: both;
}

.clear-both {
    clear: both;
}

.footer-fix {
    /*padding-bottom: 90px;*/
    min-height: 100%;
}

#main {
    overflow: auto;
    padding-bottom: 700px;
}
/* must be same height as the footer */

/*Opera Fix*/
body:before {
    content: "";
    height: 100%;
    float: left;
    width: 0;
    margin-top: -32767px;
}

.nav-footer {
    padding: 20px 0;
}

.loading-gif {
    height: 30px;
}

.padding-top-fix {
    padding-top: 0px !important;
}

.footer-links {
    list-style: none;
    text-align: center;
    padding: 0;
}

    .footer-links > li {
        padding: 10px 30px;
    }

    .footer-links > li {
        display: block;
        color: #e2e2e2;
    }

.footer-links-social {
    padding: 0;
    list-style: none;
}

    .footer-links-social li {
        display: inline-block;
    }

.footer-link-facebook > a, .footer-link-twitter > a, .footer-link-linkedin > a {
    background: url('https://crowdstorage.blob.core.windows.net/assets/sprites/icons_bidra.png') no-repeat;
    display: inline-block;
    height: 30px;
}

.footer-link-facebook > a {
    background-position: -265px -73px;
    width: 43px;
    height: 43px;
    margin: 0 10px;
}

.footer-link-twitter > a {
    background-position: -311px -73px;
    width: 43px;
    height: 43px;
}

.footer-link-linkedin > a {
    background-position: -71px -72px;
    width: 28px;
    margin-left: 6px;
}

.footer-link-google > a {
    background-position: -111px -73px;
    width: 30px;
}

.embeded-card {
    padding: 2px;
}

.font-size-finger {
    font-size: 5.0em !important;
}

.font-size-forskjell {
    font-size: 3.5em !important;
}

/* FB SHARE ICON */

#share {
    border: 1px solid #BEBEBE;
    background-color: #FAFAFF;
    height: 31px;
    width: 99px;
}

    #share a.click {
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        color: #fff;
        border-top: 1px solid #879DC2;
        background-color: #5D7DAE;
        padding: 2px 10px;
        cursor: pointer;
        text-decoration: none;
        width: 80px;
        display: block;
    }

.uiIconText a {
    color: white;
}


/* MEDIA QUERIES */
@media (max-width: 767px) {
    .fund-card {
        margin: auto;
    }

    .footer-right {
        text-align: center;
    }
    .header-container {
        background-color: #131313;
    }
}

@media (min-width: 768px) {
    .menu-container {
        padding-top: 25px;
    }

    .img-content {
        display: block;
    }

    .section-title a {
        display: block;
    }

    .navbar-burger .icon-bar, .main-link {
        border-color: #fff;
    }

    .link-list-login li.link-signup a {
        border: 1px solid transparent;
    }

    .navbar-burger, .navbar-burger .icon-bar, .main-link {
        color: #fff;
    }

        .navbar-burger .icon-bar {
            background: #fff;
        }

    .link-list {
        padding-left: 0;
    }

        .link-list, .link-list li, .footer-links-social {
            display: inline-block;
        }

    .header-container {
        margin-top: 25px;
        margin-bottom: 50px;
    }

    .section-footer {
        margin-top: -420px;
        height: 420px;
    }

    #main {
        padding-bottom: 420px;
    }

    .footer-links li {
        display: block;
        text-align: left;
    }
}

/* Small devices (tablets, min 768px and max 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    div.card-stats-goal > div > div {
        height: auto;
        position: inherit;
    }

    .left, .center, .right {
        margin-top: 10px;
    }

    .card-stats-goal .left > div:first-child {
        left: auto;
    }

    .card-stats-goal .left > div:nth-child(2) {
        left: auto;
    }

    .card-stats-goal .center > div {
        width: auto;
    }

    .card-stats-goal .right > div:first-child {
        right: auto;
    }

    .card-stats-goal .right > div:nth-child(2) {
        right: auto;
    }

    .card-stats-value {
        bottom: auto;
        position: inherit;
    }

    div.card-stats-desc {
        top: auto;
        position: inherit;
    }
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

.bs-callout-info {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    border-left-color: #5bc0de;
}

/* Footer */

.footer-letter {
    background: rgba(95, 95, 95, 0.23) !important;
    padding: 9px !important;
}

.footer-letter-button {
    color: #FFF !important;
    background-color: #303030 !important;
    font-size: 11px !important;
    padding: 7px !important;
}

/* Medium devices (desktops, min 992px and max 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
    .cat-tile {
        padding: 70px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .cat-tile {
        padding: 70px;
    }
}

@media (max-width: 768px) {
    .main-logo {
        margin: auto;
    }
    .nca-logo {
        margin: auto;
    }
}

@media (max-width: 388px) {
    .main-logo {
        margin: auto;
        width: 100px;
    }
}

@media (max-width: 365px) {
    .main-logo {
        margin: auto;
        width: 100px;
        margin-left: 47px;
    }
}