* {
  font-family: 'Sarabun', sans-serif !important;
}

/*.carousel .item img {
  max-height: 50px;
  min-width: auto;
}
*/

.card-img-top {
  height: 350px;
}

.carousel-inner {
  max-height: 400px;

}

.carousel-inner img {
  max-height: 400px;

}

.carousel-indicators img {
  max-width: 100px;
}

/*.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100px;
  width: 100px;
  outline: black;
  background-size: 100%, 100%;
  border-radius: 50%;
  border: 1px solid black;
  background-image: none;
  
}*/

/*.carousel-control-next-icon:after
{
  content: '>';
  font-size: 50px;
  font-weight:bolder;
  color: blue;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 50px;
  font-weight: bolder;
  color: blue;
}
.dark {
  position: relative;
}
.dark:after {
  display: block;
  background: rgba(45, 47, 151, 0.7);
  position: absolute;
  top:0;
  left:0;
  width:100%;
  min-height: 250px;
}
.carousel-item:after {
  content:"";
  display:block;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  background:rgba(239, 238, 243, 0.226);
}*/
.carousel-caption h3 {
  cursor: pointer;
  font-weight: bold;
  color: #226a8b;
  border-radius: 10px;
  background: rgba(241, 244, 245, 0.822);
  padding: 0;
  width: auto;
  height: auto;
}

body {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;

}

:root {
  --main-color: #70ceb8;
  --main-dark: #46b599;
  --light-grey: #F2F3F7;
  --black: #252525;
  --red: #e05858;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  /* -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;*/
  -webkit-tap-highlight-color: transparent;
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}

.col-lg-2 {

  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 16.6667%;
  max-width: 16.666667%;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

.row {

  display: flex;
  /*-ms-flex-wrap: wrap;*/
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

*,
::after,
::before {
  box-sizing: border-box;
}

.home-logo {
  text-align: center;
}

.home-logo-img {
  border-radius: 8px;
  margin-top: -15px;
  width: 36px;
}

.home-title {
  font-size: 32px;
  font-weight: 700;
  padding-left: 10px;
  color: rgb(0, 0, 0);
  /*#70ceb8*/
}

.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}


.home-buttons {
  margin-top: 22px;
  text-align: center;
  width: 100%;
}

.home-buttons {
  /*margin-top: -40px;*/
  float: right;
}

.home-signin-btn {
  margin-top: 3px;
}

.search-bar {

  margin-top: 20px;
  margin-bottom: 22px;
  padding: 20px;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  border-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 10px 24px 0 rgb(0 0 0 / 10%);
}

/*div {
  display: block;
}*/


.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.btn:focus,
.btn:hover {
  text-decoration: none;
}

.categories-dropdown {
  font-weight: 400;
  border: 1px solid #e1e1e1;
  border-top-color: rgb(225, 225, 225);
  border-top-style: solid;
  border-top-width: 1px;
  border-right-color: rgb(225, 225, 225);
  border-right-style: solid;
  border-right-width: 1px;
  border-bottom-color: rgb(225, 225, 225);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-left-color: rgb(225, 225, 225);
  border-left-style: solid;
  border-left-width: 1px;
  border-image-source: initial;
  border-image-slice: initial;
  border-image-width: initial;
  border-image-outset: initial;
  border-image-repeat: initial;
  font-size: 14px;
  width: 100%;
}

.text-center {
  text-align: center !important;
}

[type=reset],
[type=submit],
button,
html [type=button] {
  -webkit-appearance: button;
}

.home-signin-btn {
  margin-top: 3px;
}

.btn-primary {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 5px;
  border: none;
  background: var(--main-color);
}

.btn-primary {
  text-decoration: none;
  border-radius: 5px;
  border: none;
  background: var(--main-color);
}

@media (min-width: 601px) {
  .content {
    width: 75%;
    margin: 0 auto;
    padding: 20px 0;
  }

}















*,
*:after,
*:before {
  box-sizing: border-box;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-bg-primary: #d0d6df;
    --color-bg-primary-offset: #f1f3f7;
    --color-bg-secondary: #fff;
    --color-text-primary: #3a3c42;
    --color-text-primary-offset: #898c94;
    --color-orange: #FF6347;
    --color-green: #228B22;
    --color-purple: #9665c4;
    --color-black: var(--color-text-primary);
    --color-red: #d92027;
    --color-black: #000;
    --internal-light-dark: #f00;

  }
}

[data-theme="light"] {
  --color-bg-primary: #d0d6df;
  --color-bg-primary-offset: #f1f3f7;
  --color-bg-secondary: #fff;
  --color-text-primary: #3a3c42;
  --color-text-primary-offset: #898c94;
  --color-orange: #FF6347;
  --color-green: #228B22;
  --color-purple: #9665c4;
  --color-black: var(--color-text-primary);
  --color-red: #d92027;
  --color-black: #000;
  --internal-light-dark: #f00;
}

[data-theme="dark"] {
  --color-bg-primary: #23272a;
  --color-bg-primary-offset: #B0B0B0;
  --color-bg-secondary: #2c2f33;
  --color-text-primary: #fff;
  --color-text-primary-offset: #fff;
  --color-orange: #FF6347;
  --color-green: #228B22;
}


body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

span {
  color: var(--color-text-primary);
}

.is-dark-background {
  background: var(--color-bg-primary);
}

.is-green {
  color: var(--color-green);
}

.is-purple {
  color: var(--color-purple);
}

.is-black {
  color: var(--color-text-primary);
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

h3 {
  margin-block-end: 0px;
}

.menu {
  display: flex;
  /*position: absolute;*/
  flex-direction: column;
  background-color: var(--color-bg-secondary);
  border-radius: 10px;
  /* box-shadow: 0 10px 20px rgba(64, 64, 64, 0.15); */
  /* top: 10;
  left: 10; */
  /* min-width: 350px; */

}

.menu.settings {
  width: 230px !important;
}

.menu-list {
  margin: 0;
  display: block;
  width: 100%;
  /* padding: 8px; */
}

.menu-list,
ul {
  list-style-type: none;
}

.menu-list+.menu-list {
  border-top: 1px solid #ddd;
}

.menu-sub-list {
  display: none;
  padding: 8px;
  background-color: var(--color-bg-secondary);
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(64, 64, 64, 0.15);
  position: absolute;
  left: 100%;
  right: 0;
  z-index: 100;
  width: 100%;
  top: 0;
  flex-direction: column;
}

.menu-sub-list:hover {
  display: flex;
}

.menu-item a {
  text-decoration: none;
  position: relative;
  color: rgba(51, 143, 102, 0.767);
  max-height: 40px;

}

.menu-item a:hover {
  text-decoration: none;
  position: relative;
  color: rgb(51, 143, 102);
  max-height: 40px;


}

.menu-search {
  border: 2px solid #226a8b;
  position: relative;
  color: rgba(59, 102, 182, 0.842);
  outline: none;
  border: 1;
  padding: 8px;
  width: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.menu-button {
  font: inherit;
  color: inherit;
  outline: none;
  border: 0;
  padding: 8px 8px;
  width: 100%;

  border-radius: 8px;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--color-bg-secondary);
}

.menu-button:hover {
  background-color: var(--color-bg-primary-offset);
}

.menu-button:hover+.menu-sub-list {
  display: flex;
}

.menu-button:hover svg {
  stroke: var(--color-text-primary);
}

.menu-button:hover svg.fa {
  color: var(--color-text-primary);
}

.context-button:hover svg.fa {
  color: var(--color-text-primary);
}

.menu-button svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  stroke: var(--color-text-primary-offset);
}

.menu-button svg.fa {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: var(--color-text-primary-offset);
}

.context-button svg.fa {
  height: 30px;
  margin-right: 10px;
  color: var(--color-text-primary-offset);
}

.menu-button svg:nth-of-type(2) {
  margin-right: 0;
  position: absolute;
  right: 8px;
}

.menu-button span:nth-of-type(2) {
  margin-right: 0;
  position: absolute;
  right: 8px;
  font-size: x-small;
}

.menu-button span.second {
  color: var(--color-text-primary-offset);
  font-size: small;
  margin-left: 5px;
}

.menu-button.tor span:nth-of-type(1) {
  color: var(--color-text-primary-offset);
  font-size: small;
  margin-left: 5px;
}

.menu-button--delete:hover {
  color: var(--color-red);
}

.menu-button--delete:hover svg:first-of-type {
  stroke: var(--color-red);
}

.menu-button--orange svg:first-of-type {
  stroke: var(--color-orange);
  color: var(--color-orange);
}

.menu-button--green svg:first-of-type {
  stroke: var(--color-green);
}

.menu-button--purple svg:first-of-type {
  stroke: var(--color-purple);
}

.menu-button--black svg:first-of-type {
  stroke: var(--color-black);
}

.menu-button--checked svg:nth-of-type(2) {
  stroke: var(--color-purple);
}

/* .yeeet*/

.context-buttons {
  display: flex;
  flex-direction: row;
  position: relative;
  justify-content: space-between;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.context-buttons span {
  padding-left: 40px;
  margin-right: 10px;
}

.context-button {
  font: inherit;
  outline: none;
  border: 0;
  padding: 10px 15px;
  border-radius: 8px;
  background-color: var(--color-bg-secondary);
}

.context-button:hover {
  background-color: var(--color-bg-primary-offset);
}

.context-button:hover+.menu-sub-list {
  display: flex;
}

.context-button:hover svg {
  fill: var(--color-text-primary);
}

.context-button svg {
  width: 100%;

  margin-right: 10px;
  fill: var(--color-text-primary-offset);
}

.menu-button svg:nth-of-type(2) {
  margin-right: 0;
  position: absolute;
  right: 8px;
}


.settings-button {
  font: inherit;
  outline: none;
  color: inherit;
  border: 0;
  height: 20px;
  border-radius: 8px;
  background-color: var(--color-bg-secondary);
}

.settings-button:hover {
  background-color: var(--color-bg-primary-offset);
}

.settings-button svg {
  width: 100%;
  height: 100%;
  margin-right: 10px;
}

.break {
  border-top: 1px solid #ddd;
}

.menu-button span.disabled,
.context-button:hover:disabled {
  color: var(--color-text-primary-offset);
}

.menu-button:hover:disabled,
.context-button:hover:disabled {
  background-color: var(--color-bg-secondary);
}

.tor {
  padding: 0px 8px !important;
  font-size: small;

}

.tor:hover {
  background-color: var(--color-bg-secondary);
}

.context-button p {
  height: 10px;
}

/* break */

.modal-window {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.5);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-window>div {
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-bg-secondary);
}

.modal-close {
  color: var(--color-text-primary);
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.modal-close:hover {
  color: var(--color-text-primary);
}

/* Demo Styles */


.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}

.no-link {
  color: inherit;
  text-decoration: none;

}

#video-wrapper {
  position: relative;
  padding-top: 0%;
  background-color: #3a3c4259;
  /* background-image: url(http://www.milanoperformance.com/uploads/1/0/2/1/10212014/9278866_orig.jpg); */
  background-size: 100% auto;
}

.custom-menu {
  /* background-color: #f8f9fa; */
  /* border-radius: 0.5rem; */
  padding: 0.5rem 1rem;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
}

.custom-menu .nav-link {
  color: #343a40;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
  margin: 0.25rem;

}

.custom-menu .nav-link:hover {
  background-color: #605399;
  color: white;

}