/*
 * Copyright © 2008-2012 Kasun Gajasinghe, David Cramer
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the
 * “Software”), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * Except as contained in this notice, the names of individuals credited
 * with contribution to this software shall not be used in advertising or
 * otherwise to promote the sale, use or other dealings in this Software
 * without prior written authorization from the individuals in question.
 *
 * Any stylesheet derived from this Software that is publicly distributed
 * will be identified with a different name and the version strings in any
 * derived Software will be changed so that no possibility of confusion
 * between the derived package and this Software will exist.
 *
 * Warranty: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
 * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL DAVID CRAMER, KASUN GAJASINGHE, OR ANY OTHER
 * CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 * Portions Copyright 2014 ForgeRock AS
 *
 */
tr th .added { color: #E6E6FA; }
tr th .changed {color: #99ff99; }
div.added tr, div.added    { background-color: #E6E6FA; }
div.deleted tr, div.deleted  { text-decoration: line-through;
    background-color: #FF7F7F; }
div.changed tr, div.changed  { background-color: #99ff99; }
div.off      {  }

span.added   { background-color: #E6E6FA; }
span.deleted { text-decoration: line-through;
    background-color: #FF7F7F; }
span.changed { background-color: #99ff99; }
span.off     {  }


body { font: 12px DejaVu, Verdana, Geneva, sans-serif; }
p, ul, ol, li, td { font: 10pt DejaVu, Verdana, Geneva, sans-serif; }

a {
    text-decoration: none;
}

a:link {
    color: #47a;
}

a:visited {
    color: #68a;
}

a:active, a:hover {
    color: #990000;
}

.author {
    font-weight: normal;
}

code,
.command>strong,
div.literallayout,
.filename {
    font-family: "Courier New", monospace, serif;
    font-weight: normal;
}

code,
.command,
.copyright,
div.index,
div.literallayout p,
.filename,
.term,
.step {
    font-weight: normal;
}

h1 { font: 15pt DejaVu, Arial, Helvetica, geneva;
    color: #626D75!important;
}
h2 { font: normal 12pt DejaVu, Arial, Helvetica, geneva;
    color: #ccc!important;
}

#header {
    position: fixed;
    width: 100%;
    height: 95px;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    border-bottom: 1px solid #bbc4c5;
    z-index: 2000;
}

#header h1, p.breadcrumbs {
    margin-top: 30px;
    margin-left: 290px;
}

p.breadcrumbs {
    margin-top: 30px;
    margin-left: 310px;
}

#header img {
    float: left;
    margin-left: 20px;
    margin-top: 12px;
}

#header p.breadcrumbs a {
    color: #bbb;
}

#leftnavigation {
    overflow: auto;
    position: fixed;
    height: auto;
    top:100px;
    bottom: 0;
    left: 0;
    width: 280px;
    z-index: 1500;
    border-right:1px solid #bbc4c5;
    padding:0px;
    background-color: whitesmoke!important;
}

#treeDiv, #searchDiv {
    overflow: auto;
    position: fixed;
    height: auto;
    top: 130px;
    bottom: 0;
    left: 0;
    width: 245px;
    z-index: 1500;
    border-right:2px solid #CCCCCC;
}

#content {
    position: relative;
    top: 90px;
    right: auto;
    margin: 0px 0px 0px 280px;
    width: auto;
    height: inherit;
    padding: 10px 30px 0px 5px;
    color: black;
    z-index: 1000;
}

#navheader {
    position: fixed;
    right: 5px;
    top: 60px;
}

#content h1, #content h2 {
    color: #333!important;
}
.navfooter { bottom: 2%; }
.highlight { background-color: #c5d3c3; }
.highlightButton{ font-size: 0; }

/*  Show Hide TOC tree */
.pointLeft {
    padding-right: 15px;
    display: block;
    cursor: pointer;
}
.pointRight {
    padding-right: 15px;
    display: block;
    cursor: pointer;
}

/* Search results Styling */
.searchExpression {
    color: #0050A0;
    background-color: #EBEFF8;
    font-size: 12pt;
}
.searchresult li a {
    text-decoration: none;
    color: #0050A0;
}
.searchresult li { color: #0050A0; }
.searchresult li a { text-decoration: none; }
.shortdesclink { color: gray; font-size: 9pt; }
.searchText { float:left;width:150px; }
.searchButton {
    padding: 2px 12px 2px 12px;
    background-color:#bbb;
    border:#bbb solid 1pt;
    font-weight: bold;
    font-size: 10pt
}
.searchButton:hover{
    background-color: #cccccc;
}
.searchFieldSet {}

.title, div.toc>p{ font-weight: bold; }

p.breadcrumbs {
    display: inline;
    margin-bottom: 0px;
    margin-top: 33px;
}

p.breadcrumbs a {
    padding-right: 12px;
    margin-right: 5px;
    text-decoration: none;
    color: #575757;
    text-transform: uppercase;
    font-size: 10px;
}

p.breadcrumbs a:first-child {background: url(../images/breadcrumb-arrow-white.png) no-repeat right center;}

p.breadcrumbs a:hover {text-decoration: underline;}

#star ul.star {
    LIST-STYLE: none;
    MARGIN: 0;
    PADDING: 0;
    WIDTH: 85px;
    /* was 100 */
    HEIGHT: 20px;
    LEFT: 1px;
    TOP: -5px;
    POSITION: relative;
    FLOAT: right;
    BACKGROUND: url('../images/starsSmall.png') repeat-x 0 -25px;
}
#star li {
    PADDING: 0;
    MARGIN: 0;
    FLOAT: right;
    DISPLAY: block;
    WIDTH: 85px;
    /* was 100 */
    HEIGHT: 20px;
    TEXT-DECORATION: none;
    text-indent: -9000px;
    Z-INDEX: 20;
    POSITION: absolute;
    PADDING: 0;
}
#star li.curr {
    BACKGROUND: url('../images/starsSmall.png') left 25px;
    FONT-SIZE: 1px;
}

table.navLinks {margin-right: 20px;}

table.navLinks td a {
    text-decoration: none;
    text-transform: uppercase;
    color: black;
    font-size: 11px;
}

a.navLinkPrevious {
    padding-left: 12px;
    background: url(../images/previous-arrow.png) no-repeat left center;
}

a.navLinkNext {
    padding-right: 12px;
    background: url(../images/next-arrow.png) no-repeat right center;
}

a#showHideButton {
    padding-left: 20px;
    background: url(../images/sidebar.png) no-repeat left center;
}


.filetree li span a { color: #777; }

#treediv { -webkit-box-shadow: #CCC 0px 1px 2px 0px inset; }

.legal, .legal *{
    color: #555;
    text-align: center;
    padding-bottom: 10px;
}

.internal { color : #0000CC;}

.writeronly {color : red;}

.remark, .remark .added, .remark .changed, .remark .deleted{ background: yellow;}

tr th .internal, tr th .added, tr th .changed {
    background: #00589E;
    color: white;
    font-weight: bold;
    text-align: left;
}

.statustext{
    position:fixed;
    top:105px;
    width: 0%;
    height: 0%;
    opacity: .3;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    white-space: nowrap;
    color: red;
    font-weight: bold;
    font-size: 2em;
    margin-top: 30px;
}

#toolbar {
    width: 100%;
    height: 33px;
    position: fixed;
    top: 93px;
    z-index: 99;
    left: 280px;
    color: #333;
    line-height: 28px;
    padding-left: 10px;
}

#toolbar-left {
    position: relative;
    left: 0px;
}

body p.breadcrumbs {
    margin: 0px;
    padding: 0px;
    line-height: 28px;
}

body #content {
    position: static;
    margin-top: 126px;
    top: 0px;
}

body.sidebar #toolbar{left: 0px;}

body.sidebar #toolbar-left{left: 0px;}

div#toolbar-left img {vertical-align: text-top;}

div.note *, div.caution *, div.important *, div.tip *, div.warning * {
    background: inherit !important;
    color: inherit !important;
    border: inherit  !important;
}

#content table thead, #content table tr>th {
    background: whitesmoke;
}

#content table thead {
    text-align: left;
}

#content table {
    border-bottom: thin solid #ccc;
    border-spacing: 0.5em;
    border-top: thin solid #ccc;
    border-right: none;
    border-left: none;
    margin-bottom: 20px;
}

#content table td, #content table th {
    border: none;
    padding: 5px;
}

*[align = 'center']{ text-align: center;}

#content .qandaset>table,
#content .qandaset>table td,
#content .calloutlist table,
#content .calloutlist table td,
#content .navfooter table,
#content .navfooter table td {
    border: none;
}

#sidebar { display: none }

.mediaobject>table {
    border: none!important;
}

img {
    width: auto;
    height: auto;
    max-width: 640px;
    max-height: 640px;
}

.syntaxhighlighter
.toolbar {
    display: none !important;
}

.latest {
    color: white;
    background-color: #111;
    -moz-box-shadow: 2px 2px 20px #868686;
    -moz-transform: rotate(45deg);
    -moz-transform-origin: 50% 50%;
    -webkit-transform: rotate(45deg);
    -webkit-transform-origin: 50% 50%;
    -ms-transform: rotate(45deg);
    -ms-transform-origin: 50% 50%;
    position: fixed;
    width: 300px;
    top: 45px;
    right: -95px;
    text-align: center;
}

.latest a {
    color: white;
    text-decoration: none;
}

.latest a:hover {
    color: #f58220;
}

@media print {

    body * {
        visibility: hidden;
    }

    #content, #content * {
        visibility: visible;
    }

    #sidebar, .navfooter {
        display: none;
    }

    #content {
        margin: 0 0 0 0;
    }

}
