@charset "utf-8";

/* RESET
----------------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size:100%;
    /* font: inherit; */
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
img, embed, object, video { max-width: 100%; }
.ie6 img.full, .ie6 object.full, .ie6 embed, .ie6 video { width: 100%; }

/* BASE
----------------------------------------------------------------------------------------*/
/*
*{  
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
*/
html,
body{
    position:relative; 
    min-height: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* font-family: 'Roboto', sans-serif; */
}
strong{
    font-weight: 500;
}
i{
    /* font-style: italic; */
}
.overflow-hidden{
    position: relative;
    overflow: hidden;
}
.content a{
    color: #00a8e3;
    text-decoration: none;
}
.content a:hover{
    text-decoration: underline;
}
.scroll-to-link{
    cursor: pointer;
}
li.scroll-to-link{
    padding: 3% 2em;
    text-indent: -2.1em;
    line-height: normal;
}
p2{
    font-size: 14px;
    color: #777A7A;
    margin-bottom: 16px;
    line-height: 1.6;
    font-weight: 300;
    margin-right: 50%;
    padding: 0 28px;
    box-sizing: border-box;
    display: block;
    max-width: 680px;
}
.content h1:first-child{
    font-size: 1.333em;
    color: #034c8f;
    padding-top: 2.5em;
    /* text-transform: capitalize; */
    border-top: 1px solid rgba(255,255,255,0.3);
    border-top-width: 0;
    margin-top: 0;
    margin-bottom: 1.3em;
    clear: both;
    /* font-family: 'Roboto Condensed', sans-serif; */
}
code,
pre{
    /* font-family: 'Source Code Pro', monospace; */
}
.higlighted{
    background-color: rgba(0,0,0,0.05);
    padding: 3px;
    border-radius: 3px;
    font-size:80%;
    white-space: pre-wrap; /* CSS3 */    
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */    
    white-space: -o-pre-wrap; /* Opera 7 */    
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.content .security-video{
    margin-top: -30px;
    margin-right: 200px;
    background-color: white;
    /* width: auto; */
}

/* left-menu-rest
----------------------------------------------------------------------------------------*/

.left-menu-rest{
    /* position: fixed; */
    /* z-index: 3; */
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    box-sizing: border-box;
    background-color: #f4f5f8;
    /* overflow-x: hidden; */
    font-size: 16px;
    height:82vh;
    max-height:82vh;
    overflow-y:auto;
    border: 1px solid #ccc;
}
.content-logo{
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1.425em 5%;
    padding-right: 0;
}
.content-logo img{
    display: inline-block;
    max-width: 70%;
    vertical-align: middle;
}
.content-logo span{
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    color: #323F4C;
    font-size: 1em;
    /* font-family: 'Roboto Condensed', sans-serif; */
}
.content-menu{
    margin: 0em auto 2em;
    /* padding: 0 0 100px; */
    /* font-family: 'Roboto Condensed', sans-serif; */
}
.content-menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 28px;
}
.content-menu ul li{
    list-style: none;
    margin: 0;
    /* padding: 0;
    line-height: 42px; */
}
.content-menu ul li:hover,
.content-menu ul li.active{
    background-color:#DCDEE9;
}
.content-menu ul li:hover a,
.content-menu ul li.active a{
    /* color: #00a8e3; */
    color: #00AE50;
}
.content-menu ul li a{
    padding: 0.5em 13.25% 0em;
    color: #777A7A;
    letter-spacing: 0.025em;
    line-height: 2;
    /* text-transform: capitalize; */
}

/* CONTENT-PAGE
----------------------------------------------------------------------------------------*/

.content-page {
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
    margin-left: 300px;
    z-index: 0;
    background-color: #fff;
    max-height:82vh;
    padding-bottom: 1px;
    border: 1px solid #ccc;
    border-left: none;
}
.content-code{
    width: 50%;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #323f4c;
    border-color: #323f4c;
}
.content {
    position: relative;
    z-index: 2;
}
.content h1, 
.content h2, 
.content h3, 
.content h4, 
.content h5, 
.content h6, 
.content p, 
.content table, 
.content ul, 
.content ol, 
.content aside, 
.content dl {
    margin-right: 50%;
    padding: 0 28px;
    box-sizing: border-box;
    display: block;
    max-width: 680px;
}
.content h2,
.content h3, 
.content h4, 
.content h5, 
.content h6 {
    font-size: 15px;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    color: #034c8f;
    /* text-transform: capitalize; */
    /* font-family: 'Roboto Condensed', sans-serif; */
}
.content h2{
    font-size: 1.333em;
}
.content h4{
    color: #00a8e3;
    margin-top: 0;
    text-transform: none;
    font-size: 14px;
    margin-bottom: 0.2em;
}
.content-page .content p, 
.content-page .content pre {
    max-width: 680px;
}
.content pre, 
.content blockquote {
    background-color: #323f4c;
    border-color: #323f4c;
    color: #fff;
    padding: 0 28px 2em;
    margin: 0;
    width: 45%;
    float: right;
    clear: right;
    box-sizing: border-box;
    margin-right: 28px;
}
.content pre code, .content pre {
    font-size: 12px;
    line-height: 1.5;
}
.content blockquote,
.content pre,
.content pre code{
    padding-top: 0;
    margin-top: 0;
}

.content > .content-section > pre {
    padding-top: 24px;
    padding-left: 0px;
}

.content pre code{
    /* margin-top: -2em; */
}
.content table {
    font-size: 0.825em;
    margin-bottom: 1.5em;
    border-collapse: collapse;
    border-spacing: 0;
}
.content table tr:last-child {
    border-bottom: 1px solid #ccc;
}
.content table th {
    font-size: 0.925em;
    padding: 5px 18px 5px 0;
    border-bottom: 1px solid #ccc;
    vertical-align: bottom;
    text-align: left;
    line-height: 1.6;
}
.content table td {
    padding: 5px 18px 5px 0;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
    /* font-family: 'Roboto', sans-serif; */
    font-weight: 300;
    color: #777A7A;
}

/* ****************************
***** CSS FOR SEARCH BAR *****
**************************** */
.search-container {
    position: relative;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: 3%;
}

.search-bar {
    width: 70%;
}

input[type="text"] {
    margin: 0; /* Reset margin to zero */
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 16px;
    padding-left: 15px;
}

/* CSS FOR SEARCH Suggestions */
.search-suggestions {
    overflow-y: auto; /* Enable vertical scrolling if needed */
}

.suggestion-item {
    padding: 8px;
    cursor: pointer; 
    color: #666;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

/* ****************************
***** CSS FOR Side Menu *****
**************************** */

/* Style for category items */
.category-item {
    list-style: none;
}

/* Style for category toggle (category name) */
.category-toggle {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    position: relative; /* Position relative for absolute arrow */
}

/* Arrow icon styling */
.category-toggle::after {
    content: "\f078"; /* Unicode for down arrow in Font Awesome */
    font-family: "Font Awesome 5 Free"; /* Font Awesome library */
    font-weight: 900; /* Bold weight for the arrow */
    margin-left: auto; /* Push the arrow to the right */
    transition: transform 0.3s ease; /* Smooth transition on expand/collapse */
}

/* Rotate arrow icon when category is expanded */
.category-toggle.expanded::after {
    transform: rotate(180deg);
}

/* Style for video list */
.video-list {
    list-style: none;
    padding-left: 20px;
}

/* Displays entire video name, without truncating */
/* .video-list li a {
    display: block;
    margin-left: 10%;
    text-decoration: none;
    color: inherit;
} */

.video-list li a {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-left: 5%;
    margin-right: 0; /* Reset right margin to avoid uneven spacing */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 5; /* Adjust line height for consistent spacing */
    transition: max-width 0.3s ease; /* Smooth transition for max-width change */
}
  
  .video-list li a:hover {
    max-width: none; /* Remove maximum width on hover */
    white-space: normal; /* Allow multiline text on hover */
    overflow: visible; /* Display overflowing content on hover */
  }

ul.video-list li:hover {
    background-color: #bcbcbc;
}

/* RESPONSIVE
----------------------------------------------------------------------------------------*/

@media only screen and (max-width:980px){
    .content h1, .content h2, .content h3, .content h4, .content h5, .content h6, .content p, .content table, .content ul, .content ol, .content aside, .content dl {
        margin-right: 0;
    }
    .content-code{
        display: none;
    }
    .content pre, .content blockquote {
        margin: 20px 0;
        display: block;
        width: auto;
        float: none;
    }
    .content pre code {
        margin-top: 0;
    }
}

@media only screen and (max-width:680px){
    .left-menu-rest{
        position: relative;
        width: auto;
    }
    .left-menu-rest .content-menu{
        display: none;
    }
    .content-page{
        margin-left: 0;
    }
}

/* BROWSER AND NON-SEMANTIC STYLING
----------------------------------------------------------------------------------------*/

.cf:before, .cf:after { content: ""; display: block; }
.cf:after { clear: both; }
.ie6 .cf { zoom: 1 }