﻿/*#FF6600;*/
/*#region Custom responsive table */
@media screen and (max-width: 600px) {
  /*  table.custom-responsive-table caption {
      background-image: none;
    }
  */
  table.custom-responsive-table thead {
    display: none;
  }

  table.custom-responsive-table tbody td, table.custom-responsive-table tbody th {
    display: block;
    padding: 0 0 0 0.6rem;
  }

  table.custom-responsive-table tbody tr td:first-child {
    padding: 0.6rem 0 0 0.6rem;
  }

  table.custom-responsive-table tbody tr td:first-child a {
    /*color: #fff;*/
  }

  table.custom-responsive-table tbody tr td:first-child::before {
    /*color: rgb(225,181,71);*/
  }

  table.custom-responsive-table tbody td::before {
    content: attr(data-th);
    font-weight: bold;
    display: inline-block;
    width: 8rem;
  }

  table.custom-responsive-table tr th:last-child, table.custom-responsive-table tr td:last-child {
    max-width: 100% !important;
    min-width: 100px !important;
    width: 100% !important;
  }

  table.custom-responsive-table .btn-group {
    padding-bottom: 10px;
  }
}
/*#endregion*/
#sidebar .nav-link {
  color: white;
}

.nav-link:hover {
  text-decoration: none;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #fafafa;
  line-height: 1.5;
}

h2 {
  font-size: 140%;
}

h3 {
  font-size: 110%;
}

a, a:hover, a:focus {
  color: inherit;
  text-decoration: underline;
  transition: all 0.3s;
}

nav ul a, nav ul a:focus {
  text-decoration: none;
}

.navbar {
  padding: 15px 10px 15px 0;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
  box-shadow: none;
  outline: none !important;
  border: none;
}

.navbar-nav .active {
  text-decoration: underline;
  font-weight: bold;
}

.navbar-nav a:hover {
  text-decoration: none;
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0;
}

.content-summary .card-img {
  width: auto;
}

.content-type {
  padding-left: 80px;
  background-repeat: no-repeat;
}

#content-body ul, .content-summary ul {
  list-style-image: url(/Images/Generic/ListStyleImage.gif);
  list-style-type: square;
}

.summary {
  font-size: 0.875rem;
}

#sidebar .card {
  background-color: #21468B;
  border: 2px solid white;
  margin: 3px 7px 10px 7px;
  font-size: 0.975rem;
}

#sidebar .card-body {
  padding: 0.8rem;
}

.CodeInText, .CodeBorder, .FileName, .Mono {
  font-family: Courier New, Courier, monospace;
}

.CodeBorder {
  border: 1px solid black;
  margin-bottom: 15px;
}

.CodeBorder pre {
  margin-bottom: 0;
}

.CodeForeground {
  padding: 3px;
  background-color: #ececec;
}

.CodeBackground {
  padding: 3px;
}

.code-highlight {
  font-weight: bolder;
}

.comments-list .card {
  margin-bottom: 15px;
}

/*.add-comment .form-group, .contact-me .form-group {
  margin-bottom: 10px;
}
*/
.card-highlight {
  border-color: #21468B;
}

.card-highlight-unapproved {
  border-color: red;
  border-width: 3px;
}

.form-inline label {
  text-align: left;
  justify-content: left;
}

h1, .h1 {
  font-size: 2rem;
}

#content a, .CodeInText, h1, h3, .FileName, #content ul, #content ul li {
  word-wrap: break-word;
  /* https://davidwalsh.name/fix-long-link-wrapping */
}

.content-warning {
  font-weight: bold;
}

.site-name {
  font-size: 150%;
  text-decoration: none;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  perspective: 1500px;
}

#sidebar {
  min-width: 250px;
  max-width: 250px;
  background: #21468B;
  color: #fff;
  transition: all 0.6s cubic-bezier(0.945, 0.02, 0.27, 0.665);
  transform-origin: bottom left;
}

#sidebar.active {
  margin-left: -250px;
  transform: rotateY(100deg);
}

#sidebar .sidebar-header {
  padding: 20px;
  background: #21468B;
}

img.profile {
  margin: 30px 0;
}

img.profile-top {
  margin: 5px 0 10px 0;
}

.sidebar-header .intro {
  font-size: 90%;
}

#sidebar .sidebar-header h3 {
  font-size: 1.2em;
}

#sidebar ul.components {
  padding: 20px 0;
  border-bottom: 1px solid #47748b;
}

#sidebar ul p {
  color: #fff;
  padding: 10px;
}

#sidebar ul li a, #sidebar .top-menu {
  padding: 4px 0;
  font-size: 1.1em;
  display: block;
}

#sidebar ul li a:hover {
  color: #21468B;
  background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded=true] {
  color: #fff;
  background: #115F89;
}

a[data-toggle=collapse] {
  position: relative;
}

.dropdown-toggle::after {
  top: 50%;
  right: 20px;
}

#sidebar ul ul a {
  font-size: 0.9em !important;
  padding-left: 20px !important;
  background: #115F89;
}

a.download {
  background: #fff;
  color: #21468B;
}

a.article, a.article:hover {
  background: #115F89 !important;
  color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
  width: 100%;
  min-height: 100vh;
  transition: all 0.3s;
}

@media (min-width: 576px) {
  .navbar {
    margin-bottom: 20px;
  }

  .main-content {
    margin-top: 15px;
  }
}
@media (max-width: 576px) {
  .site-name {
    font-size: 140%;
  }
}
@media (max-width: 375px) {
  #content {
    min-width: 360px;
  }
}
@media (min-width: 376px) and (max-width: 1280px) {
  #content {
    width: auto;
    overflow: hidden;
  }
}
.dropdown-toggle::after {
  vertical-align: 0.155em;
}

.nav-container {
  margin: 15px;
  margin-left: 20px;
}

.main-content {
  padding: 20px;
  padding-right: 15px;
  padding-top: 0;
}

#sidebarCollapse {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  cursor: pointer;
}

#sidebarCollapse span {
  width: 80%;
  height: 2px;
  margin: 0 auto;
  display: block;
  background: #555;
  transition: all 0.8s cubic-bezier(0.81, -0.33, 0.345, 1.375);
  transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
  transform: rotate(45deg) translate(2px, 2px);
}

#sidebarCollapse span:nth-of-type(2) {
  opacity: 0;
}

#sidebarCollapse span:last-of-type {
  transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
  transform: none;
  opacity: 1;
  margin: 5px auto;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
  #sidebar {
    margin-left: -250px;
    transform: rotateY(90deg);
  }

  #sidebar.active {
    margin-left: 0;
    transform: none;
  }

  #sidebarCollapse span:first-of-type,
#sidebarCollapse span:nth-of-type(2),
#sidebarCollapse span:last-of-type {
    transform: none;
    opacity: 1;
    margin: 5px auto;
  }

  #sidebarCollapse.active span {
    margin: 0 auto;
  }

  #sidebarCollapse.active span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
  }

  #sidebarCollapse.active span:nth-of-type(2) {
    opacity: 0;
  }

  #sidebarCollapse.active span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
  }
}
@media print {
  #bmc-wbtn {
    display: none !important;
  }

  a.fancyZoom {
    text-decoration: none;
  }
}
