
/* Generel style */

html {
  touch-action: pan-y;
}
body {
  background-color: #fff5ce;
  color: #111111;
  margin-top: 55px;
  position: relative;
  font-family: 'Jost', sans-serif;
  overflow-y: scroll;
}
h1 {
  color: #bb0000;
  font-weight: 400;
  margin-bottom: 10px;
}
h1.big {
  font-size: 45px;
}
h2 {
  color: #111111;
  font-weight: 400;
  margin-top: 30px;
  margin-bottom: 15px;
}
h3 {
  color: #111111;
  font-weight: 400;
}
h5, h6 {
  padding-left: 10px;
}
a, a:focus {
  color: #bb0000;
  text-decoration: none;
}
a:hover {
  color: #bb0000;
  text-decoration: underline;
}
i {
  opacity: 0.9;
}
p {
  padding-left: 10px;
}

.square-list li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #000;
  margin-right: 10px;
  transform: rotate(45deg);
}
.square-list li {
  padding-left: 30px;
  padding-top: 10px;
  text-indent: -20px;
}

.btn,
.btn:focus,
.btn:active:focus {
  box-shadow: none !important;
  border-radius: 0 !important;
}
.btn:hover {
  text-decoration: none;
}

.show-mobile {
  display: none;
}
.line {
  background-color: #bb0000;
  box-sizing: border-box;
  display: block;
  height: 2px;
  margin-bottom: 20px;
  width: 60px !important;
}

/* Top menu */

.scroll-over {
  background-color: #ffffff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  opacity: 0.95;
}

.topbar {
  font-family: 'Jost', sans-serif !important;
  font-size: 24px;
  font-weight: 400;
  height: 85px;
  line-height: 85px;
  overflow-y: none;
}
.logo {
  height: 60px;
  image-rendering: optimizeSpeed; /* Older versions of Safari */
  image-rendering: -webkit-optimize-contrast; /* Safari 6.0 and above */
  image-rendering: -moz-crisp-edges; /* Firefox (non-standard) */
  image-rendering: -o-crisp-edges; /* Opera */
  image-rendering: crisp-edges; /* Chrome, Safari, Edge */
  -ms-interpolation-mode: nearest-neighbor; /* IE */
}
.topmenu_content {
  text-align: center;
}
#changeFont:active {
  color: #343a40;
  background-color: transparent;
  border-color: #343a40;
}

#changeFont.active {
  color: #ffffff;
  background-color: #343a40;
  border-color: #343a40;
}

/* Background */

.bg-main {
  background-image: url('/assets/bg.svg');
  background-size: auto 100%;
  background-position: center center;
  background-repeat: no-repeat;
  height: 70vh;
  width: 100%;
  top: 0;
  position: fixed;
}
.no-bg {
  background-image: none !important;
  margin-top: 50px;
  text-align: center;
  width: 100%;
}

.author-pic {
  height: calc(70vh - 50px);
  position: relative;
}

.img-thumbnail {
  border-radius: 0;
  border-width: 2px;
  max-height: calc(100vh - 180px);
  margin-left: auto;
  margin-right: auto;
  display: table;
}

.thumb:hover .img-thumbnail {
  border-color: #bb0000;
}
.arrow-down {
  color: #bb0000;
  font-size: 40px;
  float: right;
  margin-top: -12px;
}

/* Main */

.main {
  background-color: #ffffee;
  min-height: 1000px;
  margin-top: 70vh;
  opacity: 0.95;
  padding-left: 40px;
  padding-right: 40px;
}

.main p {
  max-width: 100%;
  overflow-x: hidden;
}

.no-top-space {
  margin-top: 85px;
}

.submenu {
  font-size: 20px;
}
.submenu a {
  color: #bb0000;
  font-weight: 600;
}

.list-unstyled {
  margin-left: 20px !important;
}
.list-unstyled i {
  margin-top: 4px;
  margin-left: -25px;
  position: absolute;
}

/* Footer */

@media (max-width: 767.98px) {
  .hide-mobile {
    display: none;
  }
  .show-mobile {
    display: block;
  }
  .mobile-100 {
    display: block;
    width: 100%;
  } 
  .topmenu_content span {
    display: none;
  }
  .bg-main {
    background-image: url('/assets/bg.svg');
    background-size: 600px auto;

  }
  .main {
    margin-top: 450px;
    min-height: auto;
    opacity: 0.95;
    padding-top: 0px;
    padding-left: 20px;
    padding-right: 20px;
  } 
  .no-top-space { 
    margin-top: 0px;
    padding-top: 20px !important;
  }
  .author-pic {
    height: 400px;
    margin-top: 0px;
  } 
}