#tabbar {
    height: 20px;
    width: 480px;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 10px;
}

    #tabbar a {
        text-decoration: none;
        float: left;
        padding-top: 2px;
        padding-bottom: 1px;
        margin: 2px;
        height: 17px;
        color: #000000;
    }

        #tabbar a:hover {
            color: #000000;
        }

.TabControlTab {
    width: 220px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    background-image: url(images/tabBar.png);
    background-repeat: repeat-x;
    background-position: bottom;
    border: solid 1px #d5d5d5;
    border-width: 1px 1px 1px 1px;
}

    .TabControlTab:hover {
        background-image: url(images/tabBarSelected.png);
        background-repeat: repeat-x;
        background-position: bottom;
        border: solid 1px #d5d5d5;
        border-width: 1px 1px 1px 1px;
    }

.TabControlTabSelected {
    width: 220px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    background-image: url(images/tabBarSelected.png);
    background-repeat: repeat-x;
    background-position: bottom;
    border: solid 1px #d5d5d5;
    border-width: 1px 1px 1px 1px;
}

.TabControlSpacer {
    width: 65px;
    background-image: url(images/tabBar.png);
    background-repeat: repeat-x;
    background-position: bottom;
    border: solid 1px #d5d5d5;
    border-width: 1px 1px 1px 1px;
}

.TabControlContent {
    background-color: #ffffff;
    padding: 0px;
    padding-top: 4px;
}


.cssTabViewDisplay {
    padding: 0px;
    margin-bottom: 0px;
    /*display: inherit;*/
}


TD.linkHeader {
    font-size: 11px;
    text-align: center;
    padding-top: 13px;
}

.toggleRowContainer {
    text-align: center;
}

.toggleRow {
    font-size: 12px;
    text-align: center;
    margin: 10px 15px 10px 15px;
    background-image: url(images/blueDot.png);
    background-repeat: repeat-x;
}

    .toggleRow a {
        text-decoration: none;
    }

.toggleText {
    text-align: center;
    background-color: #ffffff;
    padding: 0px 7px 0px 7px;
    width: 100px;
}

/* class for Base.DetailViewDisplayTable.makeSubTable() */
Table.subTbl {
    width: 80%;
}

TR.subTblGridRowDarker {
    background-color: #F1F1F1;
}

/* Arkis-tabell-headers */
.line-header {
    display: table;
    white-space: nowrap;
    padding-left: 10px;
    font-family: "Open Sans",Helvetica,sans-serif;
    /*font-family: Verdana, Arial, Arial, Helvetica, sans-serif;*/
    color: darkblue;
    font-size: 14px;
    width: 95%;
    margin-bottom: 10px !important;
}
.line-header:before, .line-header:after {
    border-top: 1px solid #DDDDDD;
    content: '';
    display: table-cell;
    position: relative;
    top: 0.5em;
}
.line-header:before {
    width: 1%;
    right: 2px;
}
.line-header:after {
    width: 100%;
    left: 20px;
}

/***********/

.headerRowImage {
    vertical-align: text-bottom;
    position: relative;
    top: 1px;
    margin-top: -2px;
}

.infoBlockContainer {
    margin-left: 3px;
    margin-right: 40px;
}

TD.infoBlockHeaderBefore {
    width: 15px;
    background-image: url(images/grayDot.png);
    background-repeat: repeat-x;
}

TD.infoBlockHeader {
    width: 10px;
    white-space: nowrap;
    font-size: 12px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

TD.infoBlockHeaderAfter {
    width: 5000px;
    background-image: url(images/grayDot.png);
    background-repeat: repeat-x;
    margin-right: 5px;
}

TD.infoBlockHeaderUpLink {
    width: 10px;
    white-space: nowrap;
    font-size: 13px;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
}

TD.infoBlockHeaderAfterLink {
    width: 40px;
}

TD.cssCell {
    font-size: 11px;
}

TD.subTblCellLabel {
    font-weight: bold;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 5px; /*background-color: #E7E7E7;*/
    width: 180px;
    border-right: solid 1px #aebee0;
    text-align: right;
    vertical-align: top;
}

TD.subTblCell {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 7px; /*background-color: #ffffff;*/
    text-align: left;
    vertical-align: top;
}

TD.subTblHCell {
    font-size: 11px;
    font-weight: bold;
}

.subTblGrid {
    padding-bottom: 3px;
}

TD.subTblGridCell {
    vertical-align: top;
    padding-top: 0px;
    padding-bottom: 4px;
    padding-left: 0px;
    padding-right: 5px;
}

TD.subTblGridCellIntern {
    font-size: 1em;
    vertical-align: top;
    padding-top: 0px;
    padding-bottom: 4px;
    padding-left: 0px;
    padding-right: 5px;
}

TD.subTblGridCellList {
    /*font-size: 12px;*/
    vertical-align: top;
    padding-top: 4px;
    padding-bottom: 4px;
    border-bottom: solid 1px #F1F1F1;
    padding-right: 10px;
}

TD.subTblGridCellListIntern {
    /*font-size: 1em;*/
    vertical-align: top;
    padding-top: 4px;
    padding-bottom: 4px;
    border-bottom: solid 1px #F1F1F1;
    padding-right: 10px;
}

TD.subTblGridCellListLast {
    width: auto;
    border-bottom: solid 1px #F1F1F1;
}

TD.subTblGridHCell {
    font-weight: bold;
    border-bottom: solid 1px #aebee0;
}

TD.subTblGridHCellLast {
    width: auto;
}

.villkor {
    color: #a90707;
    font-weight: bold;
    border-left: solid 3px #d25c5c;
}

.cssIndentTable {
    background-repeat: no-repeat;
}

.bildlankDisable {
    background-color: #d5d5d5;
    text-align: center;
    border-radius: 2px;
    border-style: solid;
    border-color: #5F9629;
    border-width: 1px;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
    min-width: 40px;
    width: 60px;
    pointer-events: none;
    opacity: 0.7;
    line-height: 1.5;
}

.bildlankDisable a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 0px;
}

.bildlank {
    background-color: #5F9629;
    text-align: center;
    border-radius: 2px;
    border-style: solid;
    border-color: #5F9629;
    border-width: 1px;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
    min-width: 40px;
    width: 60px;
    line-height: 1.5;
}

    .bildlank a {
        text-decoration: none;
        color: white;
        display: block;
        padding: 0px;
    }

        .bildlank a:visited {
            color: white;
        }

.lasesallank {
    background-color: #0d5c91;
    text-align: center;
    border-radius: 2px;
    border-style: solid;
    border-color: #0d5c91;
    border-width: 1px;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
    min-width: 40px;
    width: 60px;
    line-height: 1.5;
    margin-bottom: 2px;
}

    .lasesallank a {
        text-decoration: none;
        color: white;
        display: block;
        padding: 0px;
    }

.infoIkon {
    margin-left: 25px;
    min-width: 12px;
}

.bevakalank {
    background-color: #f0b600;
    text-align: center;
    border-radius: 2px;
    border-style: solid;
    border-color: #f0b600;
    border-width: 1px;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
    min-width: 40px;
    float: left;
    width: 60px;
    line-height: 1.5;
}

.bevakalank a {
    text-decoration: none;
    color: black;
    display: block;
    padding: 0px;
}

.bevakalank a:visited {
    color: black;
}

#extern #arkivtrad #tree1 table {
    max-width: 250px;
}

@media (max-width: 767px) /*Bootstrap's mobile mode*/
{
}

@media not print (max-width: 650px) /*Prev: 767px - MOBILE MODE - adapt menu, 580px på Riksarkivets hemsida*/
{
    table, thead, tbody, tr, td {
        clear: both;
        width: 100%;
        /*display: block;*/
    }
    
    td.subTblGridHCell {
        display: none;
    }

    td.subTblCellLabel {
        border-right: none;
        text-align: left;
       
        float: left;
        overflow: hidden;
        padding: 3px 1.8%;
    }

    td.subTblCell,
    td.subTblGridCellList
     {
        font-size: 14px;
        float: left;
        overflow: hidden;
        border-bottom: none;
    }

    td.subTblCellLabel:after,
    td.subTblCell:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

    td.subTblGridCell
     {
        display: inline;
        font-size: 14px;
    }

    .forteckningLabel {
        font-size: 14px;
        font-weight: bold;
    }

    div.post_faltdata{
        border-left: none;
    }

    TD.infoBlockHeaderBefore {          
    background-image:none;
    display: none;
    }

    TD.infoBlockHeader {
    white-space: nowrap;
    font-size: 16px;
    padding-bottom: 5px;
    padding-left: 1px;
    padding-right: 10px;
    }

    .facetRubrikAndPaginationLeft{
       display: inline-block;     
    }
}

.postvisning-no-button-info {
    font-style: italic;
    margin-top: 1em;
}