/*
Main.css
==================================
Begin with generic 'mobile first' styles
*/

/*
Normalize the box model
==================================
*/

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
 }

/*
global styles
==================================
*/

html, body {
    height: 100%;
}

/*
Typography
==================================
*/

body {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1.466666667;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Franklin Gothic Book", "Open Sans", Arial, sans-serif;
    font-weight: bold;
    color: #d03e00;
}

h3,h4,h5,h6 {color: #000000;}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
    /* font-weight: bold; */
}

th {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: bold;
    font-size: 100%;
    text-align: left;
    border-bottom: 1px solid gray;
    padding-left: 5px;
    padding-right: 5px;
}


td {
    font-family: "Open Sans", Arial, sans-serif;
    /* font-weight: bolder; */
    font-size: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.site-title {
    font-size: 1.625em;
    font-family: "Franklin Gothic Book", "Open Sans", Arial, sans-serif;
    font-weight: normal;
    color: #646469;
    margin: 0;
    line-height: 1.2941176470588236;
    display: inline-block;
}

.page-title {
    margin-top: .727272727em; /* 16/22 */
}

/*
Lists
--------------------------------
*/

.main-content ul, .main-content ol {
    padding-left: 1.1em;
}

.main-content li {
    margin-bottom: 0.5em;
    font-size: 90%;
}

li h3,
li h4 {
    margin: 0;
}

li p {
    margin-top: 0;
}

/*
Links
==================================
*/

a {
    -webkit-transition: .2s;
       -moz-transition: .2s;
            transition: .2s;
}

a,
a:link,
a:visited {
    color: #0072ce;
    border-bottom: 1px dotted #0072ce;
    text-decoration: none;
}

a:hover {
    border-bottom: 1px solid #7eb8dd;
    color: #7eb8dd;
    text-decoration: none;
}

a:active {
    border-bottom: 1px solid #002d72;
    color: #002d72;
    text-decoration: none;
}

a:focus {
    border-bottom: 1px solid #0072ce;
    color: #0072ce;
    outline: thin dotted;
    text-decoration: none;
}

a.title-link {
    color: #646469;
    border-bottom: none;
}

a.title-link:hover,
a.title-link:active,
a.title-link:focus {
    color: #7eb8dd;
    border-bottom: none;
}

a.skip-link {
    color: #0072ce;
    border-bottom: none;
    padding: .25em;
}

a.skip-link:hover,
a.skip-link:active,
a.skip-link:focus {
    background-color: #0072ce;
    color: #fff;
    border-bottom: none;
}


/*
Navigation
==================================
*/

.sidebar-nav a {
  display: block;
  padding: 2px;
  -webkit-transition: unset;
  transition: unset;
}
.sidebar-nav a,
.sidebar-nav a:link,
.sidebar-nav a:visited {
  border-bottom: none;
  color: #646469;
}
.sidebar-nav li:hover,
.sidebar-nav a:focus,
.sidebar-nav li:active,
.sidebar-nav .sidebar-nav-active {
  /* color: #d03e00; */
  font-weight: bold;
  /* border-left: 4px solid #0039ac; */
  /* background-color: #E7E7E6; */
  /* border-bottom: 1px solid #babbbd; */
}
/* .sidebar-nav li:hover,
.sidebar-nav li:active,
.sidebar-nav .sidebar-nav-active {
  padding-left: 0;
} */
/* .sidebar-nav a:focus {
  padding-left: 6px;
} */
.sidebar-nav li:hover a:focus,
.sidebar-nav li:active a:focus {
  border-left: none;
  /* padding-left: 10px; */
}
.sidebar-nav ul {
  margin: 0;
  padding: 0;
  /*border-top: 1px solid @gray-50;*/
  font-weight: normal;
}
.sidebar-nav li {
  list-style: none;
  font-weight: normal;
  /* border-bottom: 1px solid #babbbd; */
  /* font-size: 1em; */
  padding-left: 2px;
}
.sidebar-nav li:last-child {
  border-bottom: none;
}

li.breadcrumb-item + li.breadcrumb-item {
    text-indent: 0px;
}

li.breadcrumb-item + li.breadcrumb-item {
    text-indent: 5px;
}

li.breadcrumb-item + li.breadcrumb-item + li.breadcrumb-item {
    text-indent: 10px;
}

li.breadcrumb-item + li.breadcrumb-item + li.breadcrumb-item  + li.breadcrumb-item {
    text-indent: 15px;
}

li.breadcrumb-item + li.breadcrumb-item + li.breadcrumb-item  + li.breadcrumb-item + li.breadcrumb-item {
    text-indent: 20px;
}

.breadcrumb-item + .active {
    font-weight: bold;
}

/*
Layout
==================================
*/

.logo {
    padding-top: 10px;
    display: block;
}

.content {
  padding-top: 2em;
  padding-bottom: 2em;
}

/* offset the fixed position header for jump links */
section:before {
    display: block;
    content: "";
    height: 60px;
    margin: -60px 0 0;
}

.wrap {
    max-width: 1200px; /* page width */
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}

header {
    width: 100%;
    height: 60px;
    /* border-bottom: 1px solid black; */
    background-color: #d03e00;              
    opacity: 100%;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.4);
    /* padding: 2em 0; */
}


/*
Footer
==================================
*/

/* for sticky footer */
.container {
    display: table;
    height: 100%;
    width: 100%;
    font-size: 12pt;
}

footer {
    display: table-row; /* for sticky footer */
    height: 1px; /* for sticky footer */
    border-top: 2px solid #babbbd;
    background: #f1f2f2;
    width: 100%;
    font-size: 0.875em;
}

footer .wrap {
  padding-top: 2em;
  padding-bottom: 2em;
}


/*
Helpers
==================================
*/

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {
    display: none !important;
    visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/* Hide visually and from screenreaders, but maintain layout */
.invisible {
    visibility: hidden;
}


/*
Style
==================================
*/

.listsummary {
    font-style: oblique;
}

.listdesc {
    font-style: oblique;
    color: #d03e00;
}

.intro {
    color: #d03e00;
    font-weight: bold;
}

li h4 {
    margin: 0;
}

.license {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
}

pre {
    max-width: 100%;
    font-size: 0.875em;
    /* overflow-y: scroll; */
    background-color: #f1f2f2;
    padding: 10px;
}

blockquote {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 0px;
    padding-left: 15px;
    border-left: 5px solid #ccc;
}

/*
Post list
----------------------------------
*/

ul.posts {
    padding: 0;
}

.posts li {
    list-style: none;
}

.post-date {
    color: #75787B;
}

/*
Repo list
----------------------------------
*/

ul.repo-list {
    margin: .5em 0 1em 0;
    padding: 0;
}

.repo-list li {
    list-style: none;
}

.repo-list p {
    margin: 0;
    font-size: 0.875em;
}

.repo-list h4 {
    text-transform: none;
}

/*
Helper Classes
==================================
*/

/*
Clearfix list
----------------------------------
*/

.group:before,
.group:after {
    content: " ";
    display: table;
}

.group:after {
    clear: both;
}

.group {
    *zoom: 1;
}

/*
Desktop Styles
==================================
*/

@media screen and (min-width: 45em) and (min-height: 32.5em) {

    /*
    Typography
    ==============================
    */

    /*
    Layout
    ==============================
    */

    .logo {
        max-width: 30%;
        float: left;
    }

    aside {
        width: 30%;
        float: left;
    }

    .main-content {
        width: 67%;
        float: right;
        margin-bottom: 120px;
    }

    /*
    Navigation
    ==============================
    */


    /*
    Style
    ==============================
    */

    /*
    Repo list
    ------------------------------
    */

    .repo-list li {
        list-style: none;
        display: block;
        float: left;
        height: 4.0625em;
        max-height: 4.0625em;
        background-color: #E7E7E6;
        border-left: 1px solid #BABBBD;
        width: 30%;
    }

    .repo-list a:link,
    .repo-list a:visited {
        display: block;
        max-height: 4.0625em;
        background-color: #E7E7E6;
        border-bottom: none;
        padding: .625em 1em 1em 1em;
    }

    .repo-list a:hover {
        color: #4D5F87;
        background-color: #CDE3F1;
    }

    .repo-list li:first-child {
        text-align: center;
        border-left: none;
        line-height: 60px;
        padding: .625em 1em;
        width: 10%;
    }

}

@media screen and (max-width: 54.375em) and (min-height: 32.5em) {

    /* keep the repo list containers the same height, but account for the need for more height */

    .repo-list li {
        height: 6em;
        max-height: 6em;
    }

    .repo-list a:link,
    .repo-list a:visited {
        max-height: 6em;
    }
}

/*
Mobile Styles
==================================
*/

@media screen and (max-width: 40.5em) {

    header .wrap {
        height: 60px;
        max-width: 100%;
    }

    .main-content {
        margin-top: 1.5em;
    }

}

@media print {

    header {
        visibility: hidden;
        height: 0px;
    }

    .search {
        visibility: hidden;
        height: 0px;
    }

    .langselector {
        visibility: hidden;
        height: 0px;
    }

    .sidebar-nav {
        visibility: hidden;
        height: 0px;
    }
    
    aside {
        visibility: hidden;
        height: 0px;
    }
    
    footer {
        visibility: hidden;
        height: 0px;
    }

}

/*
Table of Contents
*/

/* #TableOfContents:before {
    content: "Table Of Contents:";
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 0 0
} */

/* #TableOfContents { */
    /* background-color: #f6f6f6; */
    /* border-radius: .2rem 0 0 .2rem;
    box-sizing: border-box; */
    /* max-height: calc(100% - 10.5rem); */
    /* max-height: calc(100% - 7.5rem);
    overflow: auto;
    padding: 1rem;
    position: fixed;
    right: 0;
    top: 4rem; */
    /* top: 0; */
    /* width: 16rem */
/* } */

/* #TableOfContents>h1 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 1rem
} */

/* #TableOfContents>ul {
    list-style-type: square;
    padding: 0 1rem
} */