/* roboto-100 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/roboto-v20-latin-100.eot'); /* IE9 Compat Modes */
  src: local('Roboto Thin'), local('Roboto-Thin'),
       url('../fonts/roboto-v20-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-100.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-100.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-100italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/roboto-v20-latin-100italic.eot'); /* IE9 Compat Modes */
  src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'),
       url('../fonts/roboto-v20-latin-100italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-100italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-100italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-100italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-100italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v20-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Roboto Light'), local('Roboto-Light'),
       url('../fonts/roboto-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-300italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/roboto-v20-latin-300italic.eot'); /* IE9 Compat Modes */
  src: local('Roboto Light Italic'), local('Roboto-LightItalic'),
       url('../fonts/roboto-v20-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-300italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('../fonts/roboto-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/roboto-v20-latin-italic.eot'); /* IE9 Compat Modes */
  src: local('Roboto Italic'), local('Roboto-Italic'),
       url('../fonts/roboto-v20-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v20-latin-500.eot'); /* IE9 Compat Modes */
  src: local('Roboto Medium'), local('Roboto-Medium'),
       url('../fonts/roboto-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-500italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/roboto-v20-latin-500italic.eot'); /* IE9 Compat Modes */
  src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'),
       url('../fonts/roboto-v20-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-500italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-500italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v20-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('../fonts/roboto-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-700italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/roboto-v20-latin-700italic.eot'); /* IE9 Compat Modes */
  src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'),
       url('../fonts/roboto-v20-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-700italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-700italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-900 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/roboto-v20-latin-900.eot'); /* IE9 Compat Modes */
  src: local('Roboto Black'), local('Roboto-Black'),
       url('../fonts/roboto-v20-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-900.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-900italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/roboto-v20-latin-900italic.eot'); /* IE9 Compat Modes */
  src: local('Roboto Black Italic'), local('Roboto-BlackItalic'),
       url('../fonts/roboto-v20-latin-900italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v20-latin-900italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v20-latin-900italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v20-latin-900italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v20-latin-900italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: "Berlinsans";
  src: url("../fonts/14988fea990ac738a32eacad1a5c9e96.eot");
  src: url("../fonts/14988fea990ac738a32eacad1a5c9e96.eot?#iefix") format("embedded-opentype"),
       url("../fonts/14988fea990ac738a32eacad1a5c9e96.woff2") format("woff2"),
       url("../fonts/14988fea990ac738a32eacad1a5c9e96.woff") format("woff"),
       url("../fonts/14988fea990ac738a32eacad1a5c9e96.ttf") format("truetype"),
       url("../fonts/14988fea990ac738a32eacad1a5c9e96.svg#Berlinsans") format("svg");
}

body {
  font-family: 'Roboto';
}

body:after {
  content: "";
  position: fixed;
  top: 0;
  height: 100vh;
  left: 0;
  right: 0;
  z-index: -1;
}

.no-webp body:after,
.no-js body:after {
  background: url(../assets/background.jpg) center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.webp body:after {
  background: url(../assets/background.webp) center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.page-main-header {
  height: 150px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  border-bottom: #e9ecef solid 1px;
  box-shadow: 2px 0px 15px 0px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
}

.page-main-header .container-lg .language img {
  width: 32px;
}

.page-main-header .container-lg .language-row img {
  width: 32px;
  margin-right: 4px;
}

.page-main-header .container-lg nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.page-main-header .container-lg nav .navbar-toggler {
  color: black;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.page-main-header .container-lg nav .collapsing,
.page-main-header .container-lg nav .show {
  background-color: white;
}

.page-main-header .container-lg .links {
  padding-left: 20px;
  padding-right: 20px;
}

.page-main-header .logo {
  width: 134px;
  height: 150px;
  display: inline-block;
  background-image: url(../assets/logo-black.svg);
  background-size: cover;
  background-repeat: no-repeat;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
}

.page-main-header .links a {
  font-size: 20px;
  color: black;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
}

.page-hero {
  margin-top: 150px;
  min-height: 250px;
  display: flex;
  align-items: center;
  align-content: center;
  color: white;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
}

.page-hero .inner {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.page-hero h1 {
  font-family: "Berlinsans";
}

.main-wrapper {
  margin-top: 150px;
  min-height: 68vh;
}

.with-hero .main-wrapper {
  margin-top: 0;
  min-height: 50vh;
}

.main {
  background-color: white;
  padding-top: 15px;
  padding-bottom: 15px;
}

.main h3 {
  font-size: 1.3rem;
}

.main h4 {
  font-size: 1.2rem;
}

.main h5 {
  font-size: 1.1rem;
}

.main .separator {
  width: 100%;
  border-bottom: 1px solid #cecece;
  margin-top: 10px;
  margin-bottom: 10px;
}

.main .col-section {
  margin-bottom: 20px;
}

.main .col-section .btn-container {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.footer {
  background-color: white;
  margin-top: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.footer img {
  max-width: 100%;
  height: auto;
}

.footer .img-container {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  justify-content: center;
}

.footer .some {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.footer .some a {
  margin-left: 20px;
  margin-right: 20px;
}

.footer .some img {
  width: 48px;
  height: 48px;
}

.btn-kenjutsu {
    color: #fff;
    background-color: #D82827;
    border-color: #D82827;
}

.btn-outline-kenjutsu {
    color: #fff;
    border-color: #D82827;
}

.btn-kenjutsu:hover,
.btn-outline-kenjutsu:hover {
    color: #fff;
    background-color: red;
    border-color: red;
}

.nav-menu-inner {
  display: inline-block;
}

img.right-float {
  display: block;
  max-width: 100%;
  height: auto;
}

img.size-limit {
  max-width: 100%;
  height: auto;
}

div.seminar img {
  max-width: 100%;
  height: auto;
}

img.size-limit-2 {
  max-width: 100%;
  height: auto;
}

img.thumbnail {
  max-width: 20%;
  height: auto;
  margin-right: 20px;
}

.small-p p {
  margin-bottom: 0.25rem;
}

.small-p p:last-of-type {
  margin-bottom: 1rem;
}

.youtube-video {
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 1280px;
}

.page-link {
  color: #D82827;
}

.page-link:hover {
  color: red;
}

.active > .page-link {
  background-color: #D82827;
  border-color: #D82827;
}

.active > .page-link:hover {
  color: white;
  background-color: red;
  border-color: red;
}

.cc-allow {
  background-color: #D82827 !important;
  border-radius: 0.375rem;
  border: none;
  color: white;
}

.cc-deny {
  color: white;
}

.cc-allow:hover{
  background-color: red !important;
}

.home-banner {
  cursor: pointer;
  margin-bottom: 20px;
  border: 1px solid red;
  border-radius: 5px;
  padding: 10px;
}

@media (min-width: 1200px) {

  .navbar {
    flex-flow: row-reverse nowrap;
  }

  ul.navbar-nav {
    margin-left: 0 !important;
  }

  .dropdown-toggle::after {
    vertical-align: 1.76em;
  }

  .page-main-header .container-lg .links {
    padding-left: 0px;
    padding-right: 0px;
  }

}

@media (min-width: 992px) {

  .page-hero .align-left {
    text-align: left;
  }

  .page-hero .align-right {
    text-align: right;
  }

  .page-hero h1 {
    font-size: 6em;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
  }

  .page-hero p {
    font-size: 2em;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    margin-top: 40px;
  }

  .page-main-header .container-lg nav li.collapsing,
  .page-main-header .container-lg nav li.show {
    background-color: rgba(0, 0, 0, 0);
  }

  .page-main-header .container-lg nav a.dropdown-item {
    color: black;
  }

  .scrolled1 .page-main-header .logo {
    width: 134px;
    height: 150px;
  }

  .scrolled2 .page-main-header .logo {
    background-image: url(../assets/logo-black.svg);
  }

  .scrolled1 .page-main-header {
    height: 150px;
  }

  .scrolled2 .page-main-header {
    background-color: white;
    border-bottom: #e9ecef solid 1px;
    box-shadow: 2px 0px 15px 0px rgba(0, 0, 0, 0.1);
  }

  .page-main-header .links li {
    margin-right: 20px;
  }

  .page-main-header .links li:last-of-type {
    margin-right: 0px;
  }

  .page-main-header .links {
    flex-grow: 0;
  }

  .scrolled2 .page-main-header .container-lg nav li.collapsing,
  .scrolled2 .page-main-header .container-lg nav li.show {
    background-color: white;
  }

  .scrolled2 .page-main-header .links a {
    color: black;
  }

  .scrolled1 .page-hero {
    margin-top: 150px;
    min-height: 250px;
  }

  .main-wrapper {
    // background-color: white;
  }

  .main {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .main h3 {
    font-size: 1.75rem;
  }

  .main h4 {
    font-size: 1.5rem;
  }

  .main h5 {
    font-size: 1.25rem;
  }

  .main .col-section {
    text-align: center;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .main .col-section p {
    flex-grow: 1;
  }

  .main .col-section .btn-kenjutsu {
    align-self: center;
  }

  .main .col-section .btn-container {
    display: flex;
    gap: 20px;
    justify-content: center;
  }

  .footer-wrapper {
    background-color: white;
    min-height: 200px;
  }

  .footer {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
  }

  .footer img {
    max-height: 150px;
    max-width: 150px;
  }
  
  .footer .img-container {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
  }

  .footer .some {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 0;
  }

  .footer .some a {
    margin-right: 0;
  }

  .right-float {
    max-width: unset;
    height: unset;
    float: right;
    margin-left: 10px;
  }

  .col-header {
    text-align: center;
  }

  .small-p {
    flex-grow: 1;
  }

  img.size-limit {
    max-height: 1040px;
    width: auto;
  }

  div.seminar img {
    max-height: 1040px;
    width: auto;
  }

  img.thumbnail {
    max-width: 150px;
    height: auto;
  }
    
}
