/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

main > .container {
  padding: 60px 15px 0;
  overflow-x: hidden; #To enable to scrollbar in the tables.
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

html {
  height: -webkit-fill-available;
}

main {
  display: flex;
  flex-wrap: nowrap;
  /* height: 100vh; */
  /*height: -webkit-fill-available;*/ /*If enabled, you can't scroll*/
  /* max-height: 100vh; */
  overflow-x: auto;
  overflow-y: hidden;
  /* min-height: 200vh; */
  /*margin: 0px 0px 50px 0px;*/
}

.b-example-divider {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.bi {
  vertical-align: -.125em;
  pointer-events: none;
  fill: currentColor;
}

.dropdown-toggle { outline: 0; }

.nav-flush .nav-link {
  border-radius: 0;
}

.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
  border: 0;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, .85);
  background-color: #d2f4ea;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

.scrollarea {
  overflow-y: auto;
}

.fw-semibold { font-weight: 600; }
.lh-tight { line-height: 1.25; }

.container {
  margin: -3% 0 3% 3%;

}

.footer .container {
  margin: 0px 0px 0px 0px;
}

a .btn {
  text-decoration: none; /*doesn't work*/
}

.btn a {
  text-decoration: none; /*does work*/
}

.no-underline { /*use <a href="..." class="no-underline">* in html */
  text-decoration: none; !important
}

.mark mark {
  background-color: #FFFF00; !important
}

.mark mark {
  background-color: #FFFF00; !important
}

.input-group-text {
  padding: 0.1rem 0.2rem;
}

.accordion-button {
  background-color: #e7f1ff;
  color: #0c63e4
}

.accordion-button:not(.collapsed) {
  color: #000;
}

.padding-small {
  padding: 0.3em 0.5em;
  margin: 0 0 0 0;
}

.box {
  width: 60%;
}

.videodropdown {
  width: 560px;
  max-width: 100%;
}

h4 {
  #padding: 30px 0 0 0;
}

h4.nopad {
  padding: 0 0 0 0;
}

hr {
  margin: 28px 0px 25px 0px;
}


.codebox-outer {
  margin: -10px 0 0 -18px;
}

.codebox-inner {
  margin: 10px 0 0 18px;
}


pre {
  display: block;
  font-family: monospace !important;
  white-space: pre;
  margin: 0;
  color:#000000;
  background:#FAF0E6;
}

.forcefont {
  font-family: monospace !important;
}

.code {
	background-color: #FAF0E6;
	color: #000000;
	font-family: monospace;
}

mark {
  background-color: #FFFF00;
}


.col-md-2 {
  min-width: 50%;
}

@media screen and (max-width: 750px) {
    iframe {
        max-width: 100% !important;
        width: 560 !important;
        height: 350 !important;
    }
}


.table-responsive {
  #If you are looking for the horizontal scrollbar in tables,
  #disable the page scrollbar by setting overflow-x to hidden in the container (at the top of this file)
}

/* Source: https://codepen.io/hesguru/pen/BaybqXv */

.rate {
    float: left;
    height: 46px;
    padding: 0 10px;
}
.rate:not(:checked) > input {
    position:absolute;
    top:-9999px;
}
.rate:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:30px;
    color:#ccc;
}
.rate:not(:checked) > label:before {
    content: '★ ';
}
.rate > input:checked ~ label {
    color: #ffc700;    
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    color: #deb217;  
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #c59b08;
}


/*Make sure the titel doesn't disappear on wide-screens*/
@media (min-width: 3000px){
    .mt-5 {
      margin-top: 8rem!important;
    } 
} 