/* Copyright (C) 2017 Trend Micro Inc. All rights reserved. */
body{
    padding-top: 55px;
    padding-left: 0;
    padding-right: 0;
    font-size: 14px;
    height: auto;
    margin-bottom: 0px;
}

.container-fluid{
    margin: 0;
}

.navbar-header{
    width: 100%;
}

.navbar-nav{
    padding-top: 4px;
}

.navbar-nav li{
    padding-bottom: 0;
    cursor: pointer;
    font-size: 15px;
}

#menu_navbar .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover{
    background-color: transparent;
}

#menu_navbar{
    overflow-y: visible;
}

#menu_navbar.collapsing{
    overflow-y: hidden;
}

.search-item{
    display: none;
    padding: 10px;
    position: relative;
}

#search{
    padding-right: 30px;
}

.glyphicon-search{
    position: absolute;
    top: 19px;
    right: 25px;
}

#search_results{
    position: absolute;
    top: 38px;
    width: calc(100% - 20px);
    z-index: 1000;
    overflow-x: hidden;
    max-height: 295px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none;
    background: #fff;
}

h1{
    margin-top: 30px;
    overflow-wrap: break-word;
}

h2{
    overflow-wrap: break-word;
}

.note_new, 
.note_comingsoon, 
.note_dsaas, 
.note_aws, 
.note_awsazure, 
.note_azure, 
.note_azureonprem, 
.note_onprem, .note_nodsaas, 
.note_info, .note_vcns {
    padding-bottom: 12px;
    padding-top: 12px;
}

.example-section,
.description-section{
    padding: 50px;
}

.description-left,
.description-right{
    overflow-wrap: break-word;
}

.data-type,
.parameter-type{
    font-style: italic;
    color: #c1c1c1;
    font-size: 12px;
}

.data-type-values,
.data-type-properties{
    padding-top: 20px;
}

.table-row{
    border-top: 1px solid #e4e4e4;
    padding-top: 15px;
    padding-bottom: 15px;
}

.data-details-link{
    cursor: pointer;
}

.data-details-link:before{
    content: "Hide "
}

.data-details-link.collapsed:before{
    content: "Show "
}

.data-details-header{
    font-style: italic;
}

.example-section, 
.example-section .panel, 
.example-section .panel-body
pre.code-container{
    background:#333333;
    color: #f5f5f5;
    border: 0;
    margin: 0;
    word-break: keep-all;
    word-wrap: normal;
}

.section-head .description-section{
    border-top: 2px solid #DDDDDD;
}

.section-head .example-section{
    border-top: 2px solid #5F5F5F;
}

.example-section{
    padding-left: 50px;
    padding-right: 50px;
}

.example-section .prettyprinted span.str{
    color:#86E87D;
}

.example-section .prettyprinted span.kwd{
    color:#7DC8E8;
}

.example-section .prettyprinted span.lit{
    color:#E87D7D;
}

.example-section .prettyprinted span.pun{
    color:#f5f5f5;
}

.example-section .prettyprinted span.var{
    color:#B67DE8;
}

.navbar{
    border: 0;
}

.navbar-fixed-top .container-fluid {
    background: #333333;
    border-bottom: 3px solid #ed1c24;
}

.navbar-brand{
    height: 54px;
    background: url(../images/product_logo.svg) 1.3rem no-repeat;
    background-size: 36rem 4rem;
    display: block;
    width: 36rem;
}

#apinav ul{
    width: 100%;
}

#apinav li{
    list-style: none;
}

#apinav li a{
    text-overflow: ellipsis;
    display: block;
    padding-right: 15px;
    overflow: hidden;
}

#apinav li a:hover{
    color: #D71920;
    text-decoration: none;
    background: none;
}

#apinav .subnav{
    font-size: 12px;
}

.nav li a{
    color: #333333;
}

.nav li > ul{
    display: none;
}

.nav li.active > a{
    color:#D71920;
    font-weight: bold;
}

.nav li.active > ul{
    display: block;
}

.main{
    padding-left: 265px;
}

.page-header{
    margin-top: 0;
}

.footer{
    text-align: center;
    padding-top: 35px;
    padding-bottom: 35px;
}

.response-code{
    width: 50px;
}

@media only screen and (max-width: 767px){
    .main {
        padding-left: 15px;
    }

    #apinav {
        position: fixed;
        top: 50px;
        width: 100%;
        height: calc(100% - 50px);
        overflow-y: auto;
        background:#333333;
        z-index: 1000;
        padding: 15px;
    }

    #apinav li a {
        color:#f5f5f5;
    }

    #apinav li.active>a {
        color: #D71920;
    }

    #apinav li a:hover {
        color: #D71920;
        text-decoration: none;
        background: #333333;
    }

    #apinav.collapsing {
        overflow-y: hidden;
    }

    .navbar-brand {
        background: url(https://www.trendmicro.com/content/dam/trendmicro/en/global/logo/trend-micro-mobile.png) center no-repeat;
        background-size: 4rem;
        display: block;
        width: 4rem;
        padding-right: 50px;
        padding-top: 39px;
    }

    #api_nav_button {
        color: #fff;
        margin-top: 6px;
        margin-bottom: 5px;
    }

    #menu_navbar {
        width: 100%;
    }

    #menu_collapse_button{
        margin-top: 11px;
    }
}

@media only screen and (min-width: 768px){
    .sidebar{
        padding-top: 15px;
        width: 250px;
        position: fixed;
        top: 57px;
        bottom: 0;
        display: block;
        overflow-y: auto;
        background:#f5f5f5;
        z-index: 1000;
    }

    #apinav{
        display: block;   
    }

    .row-full-height {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }

    .row-full-height [class*="col-"] {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .example-section{
        -webkit-flex: 1 1;
    }
}
