/* Heile sida bortsett frå sidefelt */
.mainContainer {
    padding: 1% 1% 1% 1%;
    width: 60%;
    min-width: 760px;
    float: left;
    margin-bottom: 10px;
    margin-left: 164px;
    margin-right: 1%;

}

.mobilehide  {

}

.mobileonly {
    visibility: hidden;
}
/* Klasse for å vise med full skjermbreidde, men ikkje meir, på mobil -- sjølv om det finst breiare element på sida*/
@media screen and (min-width: 0px) and (max-width: 800px) {
    .freeContainer {
        max-width: 100vw; !important;
        width: 100%; !important;
        min-width: 100vw; !important;
        padding-right: 2%;

    }

    .mobileonly {
        visibility: visible;
    }

    .mobilehide {
        display: none;
    }

    .mainContainer {
        margin-left: 0;
    }

}

.menuContainer {
    position: fixed;
    width: 125px;
    float: left;
    margin: auto 10px auto 10px;
    padding-top: 4px;
    padding-bottom: 4px;
}


.linebarContainer{
    width: 100%;
}

/* Standard er å gøyme mobilmenyen, fordi denne berre skal erstatte den store på små einingar */
.mobilemenuContainer {
    display: none;
    height: 0;
    width: 0;
}

.mobilemenuContent{
    font-size: 130%;
}



/* Tilpassa meny for mobilen som skal ta mindre plass */
@media screen and (min-width: 0px) and (max-width: 800px) {
    .menuContainer {
        display: none;
    }
    .mobilemenuContainer {
        width: 100%;
        height: auto;
        visibility: visible;
        display: block;
        position: relative;
        float: left;
        color: white;

    }
    .mobilemenuContainer * > input, .mobilemenuContainer * > select  {
        color: black;
    }

    .mobilemenuContent {
        display: none;
    }

    .mobilmenuIcon {
        padding: 3%;
    }


}

/* Wrapper for heile sida  -- skal ha padding like mykje som søkefelt */
.pageWrapper {
    width: 98%;
    min-height: 100%;
    min-width: 1300px;
    position: relative;
    padding-top: 50px;
}

/* Ingen top-padding på mobil */
@media screen and (min-width: 0px) and (max-width: 800px) {
    .pageWrapper {
        padding-top: 0;
        min-width: 100%;
    }
}

.searchForm {
    text-align: center;
}



/* Søkefeltet -- øvst og i ro  */
.searchbarContainer {
    z-index: 100;
    line-height: normal;
    position: fixed;
    min-width: 1155px;
    min-height: 20px;
    max-height: 38px;
    width: 100%;
    overflow: hidden;
    color: white;
    padding: 5px;
    margin-bottom: 5px;
}

.searchbarContainer * > input, .searchbarContainer * > select {
    color: black;
}

/* Gøym søkefeltet på mobil */
@media screen and (min-width: 0px) and (max-width: 800px) {
    .searchbarContainer {
        visibility: hidden;
        clear: both;
        display: none;
        height: 0;
        width: 0;
        position: relative;
    }
}

/* Gøym linkane for mobil som standard */
.mobileLinks {
    display: none;
}


@media screen and (min-width: 0px) and (max-width: 800px) {
    .mobileLinks {
        display: block;
        min-height: 10px;
        width: 100%;
        background-color: #525252;
        color: white;
    }
}





/* Botntekst for heile sida */
.pageFooter {
    width: 98%;
    background-color: #525252;
    color: white;
    text-align: center;
    clear: both;
    position: relative;
    padding: 1%;
    padding-top: 2%;
    padding-bottom: 2%;
    height: 10px;
}

/* Innhald / notis  etter resten av hovudinnhald, men inne i hovudcontainer */
.contentAfter {
    padding: 1%;
    margin-top: 1%;
    border-top: 1px solid #7ac043;
}

/* Skrive elle svare på innlegg */
.replyContainer {
    min-width: 740px;
    width: 100%;
    /* width: 100%; */
}

.replyContainer input[type="text"], .replyContainer textarea {
    /* min-width: 740px; */
    width: 100%;
    outline: none;
    border: none;
    padding: 2%;
}


/* Informasjon om forumet på framsida */
.introContainer {
    padding: 1% 1% 1% 1%;
    background-color: white;

}

@media screen and (min-width: 0px) and (max-width: 800px) {
    .introContainer {
       display: none;
        font-size: smaller;
    }

}

/* Lesing av innlegg */
.readpostContainer {
    padding: 1% 1% 1% 1%;
    background: white;
}

.postContent {
    padding-left: 2%;
}



.postBody {
    /* padding-left: 2%; */
    padding-top: 2%;
    padding-bottom: 6%;
    line-height: 130%;
    max-width: 400px;
    overflow: auto;
}

.postBody img {
    width: 100%;
}

textarea.postBody {
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
    margin-left: 10px;
    margin-right: -10px;
    border-width: 0;
}

@media screen and (min-width: 0px) and (max-width: 400px) {
    .postBody {
        max-width: 100vw;
    }
}

/*
@media screen and (min-width: 0px) and (max-width: 300px) {
    .postBody {
        max-width: 200px;
    }
}

*/

/* Header over diverse forum-delar */
.postsectionHeader {
    font-weight: bold;
    width: 100%;
    padding: 0 5px 0 5px;
}

/* Søk */
.searchContainer {

    padding: 1% 1% 1% 1%;
    margin: 10px 5% 10px 10px;
    float: right;
    background: white;
    border-left: 1px solid #7ac043;
    /* border-left: 1px solid #CC3333;*/

}

/* Liste med siste innlegg */
#newpostsMainContainer {
    position: relative;
    min-width: 200px;
    max-width: 240px;
    float:left;
    margin: 2px 2% 20px 2px;
}


/* Liste med siste innlegg */
.newpostsContainer {
    width: 100%;
    max-width: 100%;
    padding: 3%;
    margin: 2px 2% 20px 10px;
    float: left;

    /* display: none; */
    /* border-left: 1px solid #CC3333;*/
}


/* Vis med full breidde på mobil */
@media screen and (min-width: 0px) and (max-width: 800px) {
    .newpostsContainer {
        width: 100%;
        max-width: 800px;
        /*display: none; */
    }

    #newpostsMainContainer {
        display: none;
        width: 98%;
        min-width: 98%;
        max-width: 98%;
    }
}

@media screen and (min-width: 800px) {
    .newpostsContainer {
    }
}

.newpostsHeading {
    font-weight: bold;
    padding: 1%;
    padding-left: 4%;
}

.newpostItem {
    padding: 0 5px;
}

/* Teikn/symbol før kvart element -- no erstatta med bruk av <i> -- element */
.newpostItem:before {
/*
    content: "\25b6 ";
    color: #426824;
    font-size: smaller;
*/
}

/* Generell innleggslinksamling, f.eks på profilside  */
.postlinkContainer {
    padding: 1%;
}

/* "Flat" innleggsvisning */
.collapsedContainer {
}

.collapsedPost {
    padding-bottom: 10px;
}

.collapsedPost > h1 {
    margin-bottom: 0;
}

.collapsedPostMetainfo {
    font-size: smaller;
    padding-bottom: 10%;
}

.abuseItem {
}

/* Delingsknappar */
.share-buttons img {
    width: 25px;
    padding: 0;
    border: 0;
    box-shadow: 0;
    vertical-align: baseline;
    height: 100%;

}

/* Modalar */

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    width: 100%;
}

.ui-widget-content a {
    color: #337ab7;
}

.ui-widget-overlay {
    opacity: .50 !important; /* Make sure to change both of these, as IE only sees the second one */
    filter: Alpha(Opacity=50) !important;
    background-color: rgb(50, 50, 50) !important; /* This will make it darker */
}

.ui-dialog-content {
    font: normal normal 13px/1.4 Segoe, "Segoe UI", Calibri, Helmet, FreeSans, Sans-Serif;
}

.ui-dialog > .ui-widget-header {
    background: #657777;
    color: white;
}

.modal-footer {
    padding-bottom: 0;
    padding-top: 1%;
}