@font-face {
  font-family: "unicons";
  src: url("../fonts/unicons.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
body,
html {
  background-image: url("../images/background/background.jpg");
  background-size: auto;
  --def: #11ace9;
  --inv: rgb(214, 212, 212);
  font-family: "Kanit", serif !important;
  position: relative;
  overflow-x: hidden;
}
a {
  text-decoration: none !important;
  color: #000;
}
.navbar-brand {
  width: 58%;
  cursor: unset;
}
.navbar-brand img {
  width: 50%;
  cursor: pointer;
}
.banner-logo {
  position: absolute;
  margin: 12% 0 0 5%;
}
.col-1-5 {
  width: 15%;
}
.progress-wrap {
  position: fixed;
  right: 40px;
  bottom: 40px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap::after {
  position: absolute;
  font-family: "unicons";
  content: "\e84b";
  text-align: center;
  line-height: 50px;
  font-size: 26px;
  color: #5e4481;
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap:hover::after {
  opacity: 0;
}
.progress-wrap::before {
  position: absolute;
  font-family: "unicons";
  content: "\e84b";
  text-align: center;
  line-height: 50px;
  font-size: 26px;
  opacity: 0;
  background: #000;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 0;
  top: 0;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  z-index: 2;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}
.progress-wrap:hover::before {
  opacity: 1;
}
.progress-wrap svg path {
  fill: none;
}
.progress-wrap svg.progress-circle path {
  stroke: #5e4481;
  stroke-width: 4;
  box-sizing: border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.fixed-top {
  top: -180px;
  transform: translateY(170px);
  transition: transform 0.8s;
}
.qnahover::after {
  position: absolute;
  content: "";
  width: 0%;
  height: 2px;
  background-color: gray;
  left: 70.9%;
  bottom: 23px;
  transition: all 0.4s ease-in-out;
  box-shadow: 0px 0px 3px #000000;
}
.qnali:hover .nav-link::after {
  width: 2%;
}
.loginhover::after {
  position: absolute;
  content: "";
  width: 0%;
  height: 2px;
  background-color: gray;
  left: 74.4%;
  bottom: 23px;
  transition: all 0.4s ease-in-out;
  box-shadow: 0px 0px 3px #000000;
}
.loginli:hover .nav-link::after {
  width: 3.3%;
}
.li-lang > a:hover {
  color: #f7f7f7;
  background-color: #5e4481;
}
.li-lang > a:hover > span {
  color: #f7f7f7;
}
li.li-lang {
  max-width: 15%;
}
img.langicons {
  max-width: 30%;
}
.btn-register {
  background-color: #5e4481;
}
.btn-register:hover {
  background-color: #5e4481;
}
.search {
  width: 112%;
  height: 95%;
  background-color: #dddddd;
}
.search-icon {
  width: 80%;
}
.banner {
  display: block;
  position: relative;
  width: 100%;
  height: 435px;
  left: 0px;
  top: 0px;
  box-shadow: inset 0px -4px 24px rgba(0, 0, 0, 0.25),
    inset 0px 4px 24px rgba(0, 0, 0, 0.25);
  /* background: url("../images/banner/banner.png") no-repeat center center;
  background-size: cover; */
}
.text-container {
  position: relative;
  width: 100%;
  height: auto;
}
.title-text-in-banner-layout {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 0px;

  position: absolute;
  width: 793;
  height: 56px;
  left: 0%;
  top: 130px;
}
.text-in-banner {
  font-style: normal;
  font-weight: 600;
  font-size: 44px;
  line-height: 56px;
  /* identical to box height, or 127% */

  letter-spacing: 0.2px;

  /* red_lifelong */

  color: #e8284d;

  /* เงาปุ่ม */

  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);

  /* Inside Auto Layout */
  flex: none;
  order: 0;
  flex-grow: 0;
}
.text-in-banner-detail {
  margin-left: 17.5%;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 140%;
  /* or 25px */

  letter-spacing: -0.015em;

  color: #102656;

  /* เงา */

  text-shadow: 0px 4px 14px rgba(0, 0, 0, 0.08);
}
.mainmenu {
  font-size: 16px;
  line-height: 22px;
  z-index: 1;
  white-space: nowrap;
  overflow-y: scroll;
  display: grid;
}
.menuhome {
  width: 90px !important;
}
.navbar2-layout ul li {
  display: inline-block;
  height: 30px;
  line-height: 40px;
  width: 150px;
  margin: 5px 5px 0 0;
  text-indent: 20%;
  position: relative;
}
.navbar2-layout ul li:before {
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  left: -2px;
  border-style: solid;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent #fff;
  z-index: 0;
}

.navbar2-layout ul li:first-child:before {
  border-color: transparent;
}

.navbar2-layout ul li a:after {
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  right: -20px;
  border-style: solid;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent #eee9f3;
  z-index: 10;
}

.navbar2-layout ul li.active a {
  background: #f2f5f8;
  z-index: 100;
}

.navbar2-layout ul li.active a:after {
  border-left-color: #f2f5f8;
}

.navbar2-layout ul li a {
  display: block;
  background: #eee9f3;
}

.navbar2-layout ul li a:hover {
  background: pink;
}

.navbar2-layout ul li a:hover:after {
  border-color: transparent transparent transparent pink;
}

.content {
  padding-top: 1%;
}
.content-2 {
  padding-bottom: 3%;
}
/* .content-1, */
/* .content-3, */
/* .content-4, */
.content-5,
/* .content-6, */
/* .content-7, */
.content-8 {
  padding-bottom: 8%;
}
.content-4 {
  padding-top: 3%;
  padding-bottom: 4%;
  background: linear-gradient(
      rgba(255, 255, 255, 0.2) 0%,
      rgba(244, 244, 244, 0.2) 100%
    ),
    #f7f7f7;
}
.content-6 {
  padding-bottom: 3%;
}
.content-7 {
  padding-bottom: 15%;
}
.content-video {
  background-image: url(../images/element1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-origin: content-box;
  padding-top: 5%;
  padding-left: 0%;
  padding-bottom: 12%;
}
.plyr {
  display: flex !important;
  margin-top: 16% !important;
  height: 223px !important;
  width: 346px !important;
  margin-left: 18%;
}
.contentimg-3 {
  padding-top: 2%;
  padding-left: 2%;
}
.contentimg-6 {
  padding-top: 7%;
  padding-left: 2%;
}
.contentimg-6 > img {
  width: 100% !important;
}
.news-tag {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 140%;
  /* identical to box height, or 20px */
  letter-spacing: 0.01em;
  color: #eb7942;
  background: #ffeae0;
  border-radius: 4px;
  width: 85px;
}
.news-share-icon {
  width: 40px;
  height: 40px;
  color: #555555;
  left: 4%;
  padding: 3.5%;
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(244, 244, 244, 0.2) 100%
    ),
    #f7f7f7;
  border: 1px solid #e1e1e1;
  box-sizing: border-box;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
}
.news-share-icon-all {
  width: 40px;
  height: 40px;
  color: #555555;
  left: 4%;
  padding: 3.5%;
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(244, 244, 244, 0.2) 100%
    ),
    #f7f7f7;
  border: 1px solid #e1e1e1;
  box-sizing: border-box;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
}
.btn-news {
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 140%;
  /* or 22px */

  display: flex;
  align-items: center;
  text-align: justify;
  letter-spacing: 0.25px;

  color: #555555;
  background: #f7f7f7;
  border: 1px solid #dcdcdc;
  box-sizing: border-box;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}
.btn-newsreadmore {
  cursor: pointer;
  padding: 1% 1% 1% 1%;
  width: 14%;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 18px;
  /* identical to box height, or 100% */

  align-items: center;
  text-align: center;
  letter-spacing: 0.01em;

  color: #ffffff;
  background: #e8284d;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.content-3 {
  padding-bottom: 0% !important;
  position: relative;
  z-index: 2;
  background: linear-gradient(
      rgba(137, 98, 170, 0) 0%,
      rgba(137, 98, 170, 0.8) 100%
    ),
    #5e4481;
  /* เงา banner */

  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.24);
}
.content-4 {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(244, 244, 244, 0.2) 100%
    ),
    #f7f7f7;
  box-shadow: 0px 2px 6px rgb(0 0 0 / 24%);
}
.content-6 {
  background: linear-gradient(
      rgba(255, 255, 255, 0.5) 0%,
      rgba(240, 240, 240, 0.5) 100%
    ),
    #ececec;
  box-shadow: 0px 2px 6px rgb(0 0 0 / 24%);
}
.title-contenttext {
  width: 463px;
  height: 55px;
  top: 763px;
  padding-top: 2% !important;
  padding-left: 8%;

  font-family: Kanit;
  font-style: normal;
  font-weight: 600;
  font-size: 56px;
  line-height: 100%;
  /* or 56px */

  text-align: justify;
  letter-spacing: 0.25px;
  opacity: 1 !important;

  color: #000000;
}
.title-contenttext-3 {
  width: 463px;
  height: 65px;
  top: 763px;
  padding-top: 4% !important;
  padding-left: 8%;

  font-family: Kanit;
  font-style: normal;
  font-weight: 600;
  font-size: 56px;
  line-height: 100%;
  /* or 56px */

  text-align: justify;
  letter-spacing: 0.25px;
  opacity: 1 !important;

  color: #000000;
}
.title-contenttext-5 {
  width: 463px;
  height: 82px;
  padding-top: 11%;
  padding-left: 6%;

  font-family: Kanit;
  font-style: normal;
  font-weight: 600;
  font-size: 56px;
  line-height: 100%;
  /* or 56px */

  text-align: justify;
  letter-spacing: 0.25px;
  opacity: 1 !important;

  color: #000000;
}
.title-contenttext-6 {
  width: 463px;
  height: 90px;
  top: 763px;
  padding-top: 13%;
  padding-left: 8%;

  font-family: Kanit;
  font-style: normal;
  font-weight: 600;
  font-size: 56px;
  line-height: 100%;
  /* or 56px */

  text-align: justify;
  letter-spacing: 0.25px;
  opacity: 1 !important;

  color: #000000;
}
.title-contenttext-7 {
  width: 590px;
  height: 92px;
  top: 763px;
  padding-top: 15%;
  padding-left: 5%;

  font-family: Kanit;
  font-style: normal;
  font-weight: 600;
  font-size: 56px;
  line-height: 100%;
  /* or 56px */

  text-align: justify;
  letter-spacing: 0.25px;

  color: #000000;
}
.contenttext-7 {
  width: 85%;
  height: 161px;
  top: 900px;
  padding-left: 5%;

  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 180%;
  /* or 32px */

  text-align: justify;
  letter-spacing: -0.005em;

  color: #000000;
}
#ads-slider {
  height: 578px !important;
}
.contenttext {
  width: 86% !important;
  height: 161px;
  top: 900px;
  padding-left: 8%;

  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 180%;
  /* or 32px */

  text-align: justify;
  letter-spacing: -0.005em;

  color: #000000;
}
.contenttext-3 {
  width: 81%;
  height: 161px;
  top: 900px;
  padding-left: 8%;

  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 180%;
  /* or 32px */

  text-align: justify;
  letter-spacing: -0.005em;

  color: #000000;
}
.contenttext-6 {
  width: 86%;
  height: 161px;
  top: 900px;
  padding-left: 8%;

  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 180%;
  /* or 32px */

  text-align: justify;
  letter-spacing: -0.005em;

  color: #000000;
}
.spon-text {
  margin-top: 3%;
  padding: 2.3% 2% 2.3% 2%;
  width: 20%;
  margin-left: 38%;
  /* position: absolute; */
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  /* identical to box height, or 24px */

  letter-spacing: -0.25px;
  color: #000000;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(244, 244, 244, 0.2) 100%
    ),
    #f7f7f7;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 49px;
}
.span-box {
  padding: 2% 0 5% 0;
}
.spon {
  display: flex;
  padding: 0;
  border-radius: 15px;
  margin-right: 2%;
  background: #ffffff;
  /* เงา */
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.08);
}
.spon-img {
  margin: auto;
  width: 90%;
}
.contenttext-5 {
  width: 97%;
  height: 161px;
  padding-left: 6%;

  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 180%;
  /* or 32px */

  color: #000000;
}
.contentimg-5 > img {
  width: 100% !important;
}
.btn-readmore {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  /* identical to box height, or 100% */

  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.01em;

  color: #000000;

  background: linear-gradient(
      rgba(255, 255, 255, 0.48) 13.54%,
      rgba(232, 232, 232, 0.48) 100%
    ),
    #ffffff;
  border: 1px solid #000000 !important;
  box-sizing: border-box;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.btn-readmore-5 {
  color: #fff;
  margin-left: 6%;
  background: #3b589e;
  border: 1px solid #3b589e;
  box-sizing: border-box;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.btn-readmore-6 {
  color: #fff;
  margin-left: 8%;
  background: #3b589e;
  border: 1px solid #3b589e;
  box-sizing: border-box;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.btn-readmore-7 {
  margin-left: 6%;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  /* identical to box height, or 100% */

  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.01em;

  color: #000000;

  background: linear-gradient(
      rgba(255, 255, 255, 0.48) 13.54%,
      rgba(232, 232, 232, 0.48) 100%
    ),
    #ffffff;
  border: 1px solid #000000 !important;
  box-sizing: border-box;
  /* เงาปุ่ม */

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.btn-readmore {
  margin-left: 8%;
}
.content-7-carousel {
  position: absolute;
  margin-top: 5%;
  margin-left: 46%;
  filter: drop-shadow(0px 4px 14px rgba(0, 0, 0, 0.28));
}
.content-slider {
  height: auto !important;
}
.btnnextprevadsslide {
  padding-left: 14%;
}
#prevslide_news {
  display: none;
  width: 2.5%;
  position: absolute;
  cursor: pointer;
  margin-top: 10% !important;
}
#nextslide_news {
  display: none;
  width: 2.5%;
  position: absolute;
  cursor: pointer;
  margin: 10% 0 0 5%;
}
#prevadsslide,
#nextadsslide {
  width: 8%;
}
.prevslide,
.nextslide {
  display: flex !important;
  justify-content: center;
  width: 74%;
  padding-top: 0.4%;
  padding-right: 0.9%;
  padding-left: 1%;
  padding-bottom: 0.2%;
  border-radius: 37px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(244, 244, 244, 0.2) 100%
    ),
    #f7f7f7;
  border: 1px solid #e1e1e1;
  box-sizing: border-box;
  box-shadow: 0px 2px 2px rgb(0 0 0 / 10%), 0px 4px 14px rgb(0 0 0 / 8%);
}
.card {
  position: relative;
  z-index: 9;
  border: 1px solid #dddddd;
  box-sizing: border-box;
  /* เงา */

  box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 16px !important;
}
.card-img-regis {
  position: absolute;
  width: 50%;
  padding: 61% 0 0 0.5%;
}
.card-img-new {
  position: absolute;
  width: 15%;
  margin-left: 84.9%;
}
.card-img-top {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
}
.card-title {
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  /* or 22px */

  /* black */

  color: #000000;
}
.card-text {
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  /* or 22px */

  text-align: justify;
  letter-spacing: 0.75px;

  color: #757575;
}
.fa-graduation-cap {
  padding-right: 0.6% !important;
}
.ratings {
  display: inline;
}
.c2 {
  background: #f7f7f7;
}
.text-h {
  width: 712px;
  height: 112px;
  left: 155px;

  font-weight: 600;
  font-size: 56px;
  line-height: 100%;
  /* or 56px */

  letter-spacing: 0.25px;
  color: #000000;
}
.text-h2 {
  color: #fff;
  padding: 10% 0 10% 0;
  font-style: normal;
  font-weight: 600;
  font-size: 48px;
  line-height: 88%;
  /* or 42px */

  text-align: center;
  letter-spacing: 0.25px;

  background: #df2946;
  box-sizing: border-box;
}
.btn-register-2 {
  margin-left: 42%;
  color: #fff;
  width: 14%;
  border: 1px solid #ffffff;
  box-sizing: border-box;
  border-radius: 4px;
}

footer {
  height: auto;
  background-color: #000;
}
.fa-ul {
  margin-left: 0 !important;
}
.first-footerlayout {
  width: 19%;
}
.first-footertitle {
  padding-left: 3%;
}
.second-footerlayout {
  width: 19%;
}
.footer-text-li {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 200%;
  /* or 28px */

  letter-spacing: 0.01em;

  color: #d3d3d3;
}
.col-55 {
  width: 40%;
}
.lefootertext {
  padding-left: 0%;
}
.imgfooter > img {
  width: 50% !important;
}
.lefootertext > p.title {
  text-align: right !important;
}
p.text {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 180%;
  /* or 25px */

  text-align: right !important;
  letter-spacing: 0.005em;

  color: #d3d3d3;
}
.social_media {
  padding-top: 20%;
  padding-left: 15%;
}
.other_contact {
  color: #d3d3d3;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 50%;
}
.email {
  text-align: right !important;
}
p.copyright {
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 140%;
  color: #fff;
  text-align: center;
  border-top: 0.5px solid #424242;
}

.title-text-in-banner-layout:before,
.title-text-in-banner-layout:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: #fff;
  border-style: solid;
  border-width: 0;
  -webkit-transition: all 0.5s cubic-bezier(1, 0.2, 0.26, 0.7);
  -moz-transition: all 0.5s cubic-bezier(1, 0.2, 0.26, 0.7);
  transition: all 0.5s cubic-bezier(1, 0.2, 0.26, 0.7);
  -webkit-transform: translate(0px, 0px) scale(0.8);
  -moz-transform: translate(0px, 0px) scale(0.8);
  -ms-transform: translate(0px, 0px) scale(0.8);
  -o-transform: translate(0px, 0px) scale(0.8);
  transform: translate(0px, 0px) scale(0.8);
  opacity: 0;
}
.title-text-in-banner-layout:before {
  left: -12%;
  bottom: 0;
  top: 100px;
  border-bottom-width: 1px;
  border-left-width: 1px;
}
.title-text-in-banner-layout:after {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
.title-text-in-banner-layout:hover:before,
.title-text-in-banner-layout:hover:after {
  -webkit-transition: all 2s cubic-bezier(0.14, 1.13, 0, 0.91);
  -moz-transition: all 2s cubic-bezier(0.14, 1.13, 0, 0.91);
  transition: all 2s cubic-bezier(0.14, 1.13, 0, 0.91);
  opacity: 1;
}
.title-text-in-banner-layout:hover:before {
  -webkit-transform: translate(-30px, 20px) scale(1);
  -moz-transform: translate(-30px, 20px) scale(1);
  -ms-transform: translate(-30px, 20px) scale(1);
  -o-transform: translate(-30px, 20px) scale(1);
  transform: translate(-30px, 20px) scale(1);
  border-bottom-width: 12px;
  border-left-width: 12px;
}
.title-text-in-banner-layout:hover:after {
  -webkit-transform: translate(30px, -20px) scale(1);
  -moz-transform: translate(30px, -20px) scale(1);
  -ms-transform: translate(30px, -20px) scale(1);
  -o-transform: translate(30px, -20px) scale(1);
  transform: translate(30px, -20px) scale(1);
  border-top-width: 12px;
  border-right-width: 12px;
}

/* From center */

.btn-mainmenu:before {
  top: 0;
  left: 50%;
  height: 100%;
  width: 0;
  border: 1px solid var(--inv);
  border-left: 0;
  border-right: 0;
}

.btn-mainmenu:after {
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: var(--inv);
}

.btn-mainmenu:hover:before {
  left: 0;
  width: 100%;
}

.btn-mainmenu:hover:after {
  top: 0;
  height: 100%;
}

.btn-mainmenu {
  position: relative;
  color: var(--inv);
  text-transform: uppercase;
  transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
  cursor: pointer;
  user-select: none;
}

.btn-mainmenu:before,
.btn-mainmenu:after {
  content: "";
  position: absolute;
  transition: inherit;
  z-index: -1;
}

.btn-mainmenu:hover {
  color: var(--def);
  transition-delay: 0.5s;
}

.btn-mainmenu:hover:before {
  transition-delay: 0s;
}

.btn-mainmenu:hover:after {
  background: var(--inv);
  opacity: 0.7;
  transition-delay: 0.35s;
}

.swiper-container {
  width: 600px;
  height: 300px;
}
