﻿html, body {
    width: 100%;
}

.main {
    background-color: white;
    width: 90%;
    margin: 0 auto;
    border: 1px solid black;
    display: block;
}

#header {
    min-height: 100px;
    padding: 20px;
    white-space: nowrap; /* Use nowrap so the text and the image stays on the same line */
}

#logo {
    height: 100px;
    /*max-width: 25%;*/
    /*display: inline-block;*/
    float: left;
    margin-right: 20px;
    vertical-align: top;
}

#pageHeader {
    /*display: inline-block;*/
    vertical-align: top;
    margin-left: 20px;
    font-size: 50px;
    white-space: normal; /* Wrap normal, so the text can span multiple lines */
}

    #pageHeader b {
        font-weight: bold;
    }

    #pageHeader span {
        font-size: 40px;
    }

#topRow {
    background-color: #444;
    height: 50px;
    position: relative;
}

#leftTopRow {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 50px;
}

#activeIcon {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 50px;
    z-index: 10;
}

#search {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 210px;
    margin: 5px;
    padding: 5px;
    color: white;
    background-color: #999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.searchButton {
    border: 0;
    display: inline-block;
    background-color: #999;
}

    .searchButton i {
        color: black;
    }

.searchInput {
    width: 140px;
    display: inline-block;
    background-color: #999;
    border: 0;
    margin-left: 0px;
    color: black;
}

#main {
    position: relative;
}

#leftmenu {
    width: 64px;
    left: 0;
    position: absolute;
    height: 100%;
}

    #leftmenu a {
        text-decoration: none;
        font-size: 40px;
    }

    #leftmenu > div {
        text-align: center;
        width: 100%;
        /* margin-top: 20px;*/
        padding: 10px 0;
        height: 44px;
    }

        #leftmenu > div:first-child {
            /*margin-top: 6px;*/
        }

#statusTextLive {
    display: flex;
    flex-wrap: wrap;
}

#statusTextLive a {
    color: #000;
    text-decoration: none;
}

.statusText {
    margin-left: 44px;
    min-height: 64px;
    line-height: 57px;
    vertical-align: middle;
    font-weight: bold;
    color: #777;
    font-size: 20px;
    padding-left: 20px;
}

    .statusText .statusbar-item {
        padding: 0 20px;
    }

#contentContainer {
    margin-left: 64px;
}

/*
#playerContainer {
    float: left;
    margin-left: 45px;
}
 */

#player_borders {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 5px solid #444;
    overflow: hidden;
    background-color: black;
    width: 420px;
    height: 235px;
    position: relative;
}

#videoControls {
    position: absolute;
    top: 100px;
    left: 75px;
    padding: 5px;
    background-color: #444;
    font-size: 40px;
}

    #videoControls a {
        text-decoration: none;
        color: white;
    }

    #videoControls .videoControls {
        margin: 10px 0;
    }

#infoContainer {
    float: left;
}

#bookmarks {
    overflow-y: auto;
    position: relative;
}

/*FS*/
/*Jquery UI Dialog, hide title bar*/
.ui-dialog-title {
    display:none;
}
.ui-button-text {
    display:none !important;
}

.ui-dialog-titlebar {
    background:transparent;
    border:none;
}

.ui-dialog .ui-dialog-titlebar-close {
    right:0;
}


/*FS*/
.embedbook a {
    text-decoration: none;
    color: #777;
    font-size: 14px;
    background-color: white;
    width: 100%;
    padding: 10px;
    display: flex;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*Bookmark share dialog*/
#dialog > div {
    width:100%;
   display:table;
   margin-bottom: 10px; 
}

#dialog i {
   color: #777;
   /*display:table;*/ 
}

#dialog .share-icon {
    /*height:50px;*/
    display:table-cell;
    vertical-align:top;
}

#dialog .bookmark-share textarea {
        height:35px;

}
#dialog .bookmark-embed textarea {
        height:57px;

}

    /*#dialog .share-content > span {
        line-height: 50px;
        vertical-align: top;
    }*/

#dialog textarea {
    border: 1px solid #888;
    resize: none;
    overflow: hidden;
    outline: none;
    width:90%;
    /*height:50px;*/
    font-size: .5em;
}


.booklineWithIcon {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #999999;
    background-color: white;
    display: flex;
}

    .booklineWithIcon a {
        text-decoration: none;
        color: #777;
        font-size: 14px;
        background-color: white;
        padding: 10px;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box; /* Firefox, other Gecko */
        box-sizing: border-box; /* Opera/IE 8+ */
        display: flex;
        flex-grow: 1;
    }

    .booklineWithIcon:last-child a {
        border-bottom: 0;
    }
    /*FS Slutt*/

.lineWithIcon {
    position: relative;
}

    .lineWithIcon a {
        text-decoration: none;
        color: #777;
        font-size: 14px;
        display: inline-block;
        background-color: white;
        width: 50%;
        padding: 10px;
        /*border-bottom: 1px solid #999999;*/
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box; /* Firefox, other Gecko */
        box-sizing: border-box; /* Opera/IE 8+ */
    }

    .lineWithIcon:last-child a {
        border-bottom: 0;
    }

.lineTextContainer {
    text-decoration: none;
    color: #777;
    font-size: 16px;
    display: inline-block;
    background-color: white;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #999999;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

    .lineTextContainer:last-child {
        border-bottom: 0;
    }

.videoFolder .videoFolderItems i {
    margin-left: 20px;
}

.textContainer {
    position: relative;
    margin: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
}

    .textContainer h2 {
        background-color: #444;
        color: white;
        font-size: 18px;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box; /* Firefox, other Gecko */
        box-sizing: border-box; /* Opera/IE 8+ */
        padding: 10px;
        text-align: center;
    }

    .textContainer i {
        margin-right: 20px;
        margin-left: 10px;
    }

.floatclear {
    clear: both;
}

a.activeBookmark {
    font-weight: bold;
    color: white;
    background-color: #ddd;
}

#social {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #444;
    margin: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
}

    #social > div {
        width: 200px;
        display: inline-block;
    }

.a2a_default_style a {
    margin-left: 10px;
}

@media (max-width: 1100px) {
    .lineTextContainer
{
    font-size: 14px;
}

}

@media (max-width: 900px) {
    #pageHeader

{
    font-size: 30px;
}

#pageHeader span {
    font-size: 25px;
}


#header {
    min-height: 60px;
    padding: 10px;
}

#videoControls {
    display: none;
}

#logo {
    height: 60px;
}

/* Husk å skalere */
}

@media (max-width: 600px) {
    .main

{
    background-color: white;
    width: 100%;
    margin: 0 auto;
    border: 1px solid black;
}

#leftmenu {
    width: 44px;
}

#leftTopRow {
    width: 44px;
}

#contentContainer {
    margin-left: 44px;
}

#statusText {
    margin-left: 44px;
}

#leftmenu a {
    font-size: 35px;
}

#activeIcon {
    top: 10px;
    left: 2px;
    width: 40px;
}

#header {
    min-height: 40px;
    padding: 10px;
}


#logo {
    height: 40px;
}


#pageHeader {
    font-size: 20px;
}

    #pageHeader span {
        font-size: 16px;
    }
}
.footerLinks {
    text-align: center;
    padding: 3px;
}
.aboutLink{
    margin-left: auto;
    padding-right: 10px;
    
}

.fullwidth {
    width: 100% !important;
}

#playerContainer {
    width: 100%;
    margin: 10px;
}

#infoContainer {
    width: 100%;
}

.player-resize-button {
    display: none !important;
}

@media (min-width: 992px) {
    #playerContainer {
        width: 68%;
    }
    #infoContainer {
        width: 30%;
    }
    .player-resize-button {
        display: flex !important;
    }
}
