/*!
Theme Name: GtrSlot
Theme URI: http://underscores.me/
Author: anonymous
Author URI: http://underscores.me/
Description: custome template for client only
Version: 1.0.0
*/

.entry-header h1 {

    font-size:40px;
    margin-bottom:20px;
    line-height:2em;
    font-weight:300;
    text-transform:none

 }
.entry-content {

    font-weight: 400;
    text-transform: none;
    font-size: 17px;
    line-height: 1.5;

}
.entry-content h2,
.entry-content h3,
.entry-content h4 {

    font-family: "Sarabun", Sans-serif!important;
    font-weight: 300;

}
.entry-content h2 {

    font-size:30px;
    margin-bottom:20px;
    line-height:1.8em;
    font-weight:300;
    text-transform:none

}
.entry-content h3 {

    font-size: 20px;
    margin: 20px;
    line-height: 1.2em;
    font-weight: 400;
    text-transform: none;
 }
 .entry-content h4,
 .entry-content h5,
 .entry-content h6 {
    margin:20px 0;
 }
 .entry-content ul { margin-bottom: 40px; }

 #the-single .content-area .entry-content > p,
 .entry-content p { margin-top: 30px!important; margin-bottom: 30px!important; }


.bg-text-footer {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 85px;
  padding: 20px;
  color: #ffffff;
}
.bg-text-footer2 {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 85px;
  padding: 30px 70px;
  color: #ffffff;
}
.regis::after {
  content: '';
  display: inline-block;
  width: 70%;
  top: 0px;
  left: 0;
  position: absolute;
  z-index: -1;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 60px solid #000000;
  z-index: 0;
  margin-left: 55px;
}
.regis-logo {
  z-index: 1;
  position: relative;
  margin-top: -17px;
  margin-bottom: 20px;
}
.text-footer {
  text-align: right;
  color: #ffffff;
}
.text-footer2 {
  color: #ffffff;
}

.mainh1 {
  background: linear-gradient(90deg,#060401,#c49e2d);
  opacity: 0.85;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  text-align: center;
  padding: 10px 0;
}


.bgh1 {
  background: rgb(124, 0, 0);
  background: linear-gradient(90deg, rgba(124, 0, 0, 0) 0%, rgba(188, 0, 9, 1) 17%, rgba(189, 0, 9, 1) 48%, rgba(189, 0, 9, 1) 83%, rgba(199, 0, 0, 0) 100%);
  padding: 10px 0px 10px 10px;
}
.bgh2 {
  border-left: 0px solid #fff000 !important;
  margin-top: -22px;
  padding: 10px 0px 10px 10px;
  text-align: center;
  color: #fff000 !important;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  font-size: 1.4rem;
  background: rgb(124, 0, 0);
  background: linear-gradient(90deg, rgba(124, 0, 0, 1) 0%, rgba(199, 0, 0, 1) 25%, rgba(234, 0, 0, 1) 47%, rgba(219, 0, 0, 1) 71%, rgba(199, 0, 0, 1) 100%);
}
.titlepromotion {
  background-color: #c10000;
  color: #fff;
  padding: 10px;
  text-align: center;
  margin-top: -5px;
}
.titlepic {
  background-color: #c10000;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 1.5em;
}
.text-footer {
  font-size: 0.9rem;
}
.text-yellow {
  color: #fff000;
}
.footer-bt {
  display: none;
}
.footer-bt2 {
  display: none;
}
.mb {
  display: block;
  padding-bottom: 20px;
}
.dt {
  display: none;
}
.hide {
  display: none;
}

.hide-with-opacity {
  opacity: 0;
}

.text-center {
  text-align: center;
}
.header1 {
  margin-left: 0px;
}
ul {
  padding: 0;
  margin: 0;
}
ul.ul-why {
  margin-left: 20px;
  list-style-type: circle;
}

ul.list-before li::before {
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
  font-weight: 900;
  content: '\f111';
  font-size: 0.6em;
  margin-right: 2px;
}

a,
a:visited {
  color: #777;
  cursor: pointer;
  color: #eee;
}

a:hover,
a:visited:hover {
  color: #fff000;
  text-decoration: none;
}

html {
  padding: 0 !important;
  margin: 0 !important;
}

body {
  background: url('../img/background.jpg') no-repeat top center fixed;
  background-size: cover;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 300;
  color: #fff;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

body.post,
body.page {
  padding: 0;
  margin: 0;
}

body.custom-page,
body.single {
  background-size: cover;
}

body.custom-page .widelayout .container,
body.single .widelayout .container {
  padding-bottom: 30px;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  word-spacing: -2px;
  line-height: 1em;
  font-family: 'Sarabun', sans-serif!important;
}
h1 {
  font-size: 1.8rem;
}
h2 {
  font-size: 1.3rem!important;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 0.8rem;
}

.bglight a {
  color: #555;
}

.bglight a:hover {
  color: red;
}

.bgdark {
  color: #888;
}

#nav-top .nav-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: flex;
  width: 100%;
  min-height: 30px;
  font-family: 'Sarabun', sans-serif;
}

#nav-top .nav-inner li {
  padding: 10px 0;
  vertical-align: middle;
  line-height: 1em;
}

#nav-top .nav-inner li.textlink {
  min-width: 385px;
  text-align: right;
  padding-top: 18px;
}

#nav-top .nav-inner li.textlink a {
  color: #fff000;
  padding-right: 10px;
}

#nav-top .nav-inner li.textlink a::before {
  content: '|';
  color: #888;
  margin-right: 10px;
}

#nav-top .nav-inner li.textlink a:first-child::before {
  display: none;
}

#nav-top .nav-inner li.flex-wide {
  padding-top: 18px;
  width: 100%;
}

#nav-top .nav-inner li.btn-wrap {
  width: 100px;
  max-width: 100px;
  min-width: 100px;
  text-align: right;
}

#nav-top .nav-inner li.linewrap {
  padding: 5px 0;
}

#nav-top .nav-inner li.linewrap a {
  color: #28a745;
}

.nav-item a {
  display: block;
  padding: 0.5rem 1rem;
  position: relative;
  top: -3px;
  color: #fff;
  font-size: 1.2em;
  font-family: 'Sarabun', sans-serif;
}

.nav-item a:visited {
  color: #fff;
}

.nav-item a:hover,
.nav-item a:focus {
  text-decoration: none;
  color: #fff000;
}

.navbar {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 99;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-top: 1px solid #e7c746;
  background: linear-gradient(90deg,#000000,#07076f);
}

.navbar.box-shadow {
  -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.63137);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.63137);
}

.navbar > .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.navbar:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  z-index: 1;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-image: -webkit-gradient(linear, , from(#271a22), color-stop(#dbbb67), to(#271a22));
  background-image: linear-gradient('left', #271a22, #dbbb67, #271a22);
  background-image: -webkit-linear-gradient(left, #271a22, #dbbb67, #271a22);
}

.navbar-expand-lg .navbar-collapse {
  margin-top: 8px;
  background: linear-gradient(to bottom,#ffe064 ,#ad901d,#8c7518 ,#b99a1e,#ffde5b );
  border: solid 2px #d0ac1a;
  border-radius: 19px;
  padding: 5px 0px;
  font-size: 16px;
  

  /* padding: 5px;
  background: #c49e2d;
  border-radius: 45px; */
}

.navbar-brand {
  z-index: 999;
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.09375rem;
  line-height: inherit;
  white-space: nowrap;
  /*position: absolute;*/
  top: -7px;
  max-width: 260px;
  width: 100%;
}

.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none;
}

.navbar-brand img {
  margin: 0;
 /* height: 100%;*/
  position: relative;
}

.navbar-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  margin-left: 40px;
}

.navbar-collapse {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.navbar-collapse2 {
  background: linear-gradient(180deg, #5c0005 0%, #a70008 100%);
  padding-top: 30px;
  padding-left: 30px;
  position: sticky !important;
}
.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.09375rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  text-decoration: none;
}

.navbar-toggler .navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1em;
  overflow: hidden;
  vertical-align: middle;
  font-size: 1.5em;
  line-height: 1em;
  color: #fff;
  background: no-repeat center center;
}

.navbar-toggler .navbar-toggler-icon::before {
  content: '✖';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
  font-weight: 900;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
  background: no-repeat center center;
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
  content: '≡';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
  font-weight: 900;
}

.contactwarp {
  color: #eee;
  font-size: 1.6em;
  line-height: 1em;
}

.contactwarp .fab,
.contactwarp .fas {
  margin-right: 5px;
}

.contactwarp .contact-text {
  display: inline-block;
  padding: 5px 20px 0 0;
}

.contactwarp .line::before,
.contactwarp .email::before {
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
  font-weight: 900;
  margin-right: 5px;
  position: relative;
  bottom: -1px;
}

.contactwarp .line::before {
  content: '\f3c0';
}

.contactwarp .email::before {
  content: '\f0e0';
}

#footer-main {
  color: #aaa;
}

#footer-main .contactwarp {
  font-size: 2em;
  margin-bottom: 20px;
}

#primary-menu {
  position: relative;
  overflow: visible;
}

#primary-menu ul {
  margin-right: -20px;
}

#primary-menu .nav-item:last-child a {
  padding-right: 0;
}

#primary-menu::after {
  z-index: 9;
  content: '';
  display: block;
  position: absolute;
  height: 50px;
  background: url('../img/menu-light.png') center top no-repeat;
  width: 650px;
  bottom: -50px;
  background-size: contain;
}

.gtr55box {
  background: #000000;
  padding: 0;
  -webkit-box-shadow: inset 0 10px 10px rgba(0, 0, 0, 0.57);
  box-shadow: inset 0 10px 10px rgba(0, 0, 0, 0.57);
}

.gtr55box .nav-item.title { width: 250px; }

.gtr55box .tab-pane.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.gtr55box .tab-pane .item {
  width: calc(25% - 10px);
  margin: 0 5px 10px;
}

.gtr55box .tab-pane .item .thumb {
  height: 150px;
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
  background-position: center top;
  background-size: 100%;
  display: block;
  margin-bottom: 0px;
}

.gtr55box .tab-pane .item .thumb img {
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
}

.gtr55box .tab-pane .item .title {
  font-size: 1.2em;
  line-height: 1em;
  color: #c90;
  text-decoration: none;
}

.gtr55box .tab-pane .item .title:hover {
  color: #fff000;
}

.gtr55box .tab-pane .item2 {
  width: calc(50% - 10px);
  margin: 0 5px 10px;
}

.gtr55box .tab-pane .item2 .thumb {
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
  background-position: center top;
  background-size: 100%;
  display: block;
  margin-bottom: 0px;
}

.gtr55box .tab-pane .item2 .thumb img {

}

.gtr55box .tab-pane .item2 .title {
  font-size: 1.2em;
  line-height: 1em;
  color: #c90;
  text-decoration: none;
}

.gtr55box .tab-pane .item2 .title:hover {
  color: #fff000;
}

.gtr55box .tabservicepage {
  /* padding: 0 10px 5px; */
}

.navbar-dark .navbar-brand {
  color: #f9e34c;
}

.navbar-dark .navbar-brand:hover,
.navbar-dark .navbar-brand:focus {
  color: #f9e34c;
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #fff000;
}

.navbar-dark .navbar-toggler {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
  margin-top: 10px;
  background: #a70008;
  background: -webkit-gradient(linear, left top, left bottom, from(#a70008), to(#5c0005));
  background: linear-gradient(180deg, #a70008 0%, #5c0005 100%);
  background-color: rgba(0, 0, 0, 0);
}
.nav-fill .nav-item {
  text-align: left !important;
  padding: 0px 6px;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background: transparent;
}

.navbar-dark .navbar-toggler {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-login {
  padding: 3px 5px;
}

.btn-login .fa {
  margin-right: 3px;
  font-size: 1.1em;
  position: relative;
  bottom: -1px;
}

#slide-main {
  position: relative;
  z-index: -1;
  border-radius: 15px;
  height: 450px;
}

#slide-main .carousel-item.active,
#slide-main .carousel-item-next,
#slide-main .carousel-item-prev {
  display: block !important;
}

.content-area {
  min-height: 100vh;
  padding: 0;
  margin: 0;
}
.content-area .entry-content {
  padding: 20px 20px;
}

.entry-content a { }
.entry-content a:hover { text-decoration: none; }

#wrapbg { position: relative; }

.pseudoStyle1::before { height: 2084px; }

#wrapbg::before {
  content: '';
  -ms-flex-preferred-size: 1 1 auto;
  flex-basis: 1 1 auto;
  /*width: 100%;*/
  min-height: 150vh;
  position: absolute;
  top: -95px;
  z-index: -1;
  background-size: 100% auto;
}

#primary,
#frontpage { background-color: #131313cc; box-shadow: rgb(0 0 0) 0px 0px 20px 0px, rgb(0 0 0) 0px 0px 0px 0px;}

#frontpage {
  padding-top: 60px;
  position: relative;
  z-index: 1;
}

#frontpage .content-area {
  padding: 160px 20px 20px;
}

#frontpage .content-main {
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

#frontpage .content-main header {
  border-left: 5px solid #555;
}

#frontpage .content-main h1 {
  color: #ccc;
  padding-left: 10px;
  border-left: 5px solid #555;
}

#frontpage .content-main .text-warning {
  font-weight: 500;
  font-size: 1.3em;
  padding: 0;
  margin: 0;
}

#frontpage .content-main .text-warning-sm {
  font-weight: 700;
  color: #aaa;
}

#frontpage .content-main p:last-child {
  margin: 0;
}

#frontpage .introwrap {
  border-radius: none;
  margin: 0 0 30px;
  /* background: linear-gradient(180deg, #7b0007 0%, #ff3100 31%, #7b040b 100%); */
  padding: 5px;
  margin-top: 20px;
}

#frontpage .introwrap .imgwrap {
  min-width: 300px;
  position: relative;
}

#frontpage .introwrap .imgwrap img {
  position: absolute;
  width: 100%;
  bottom: -7px;
  z-index: 2;
}

#frontpage .introwrap .content {
  padding: 10px;
}

#frontpage .introwrap .content h1 {
  margin: 0 0 10px;
}

#frontpage .introwrap .d-flex {
  background: #000 url('images/bg-hl.jpg') bottom right no-repeat;
  background-size: cover;
  padding: 7px;
  -webkit-box-shadow: inset 0 0 10px #000;
  box-shadow: inset 0 0 10px #000;
}

#page-single {
  min-height: 100vh;
  padding-bottom: 0;
  margin-bottom: 0;
}

#page-single .content-area {
  min-height: 100vh;
  padding-bottom: 100px;
}

#page-single .entry-header {
  height: 150px;
  background: #756d00;
  text-align: center;
  padding-top: 55px;
  color: #fff000;
}

#login-box {
  background: linear-gradient(90deg,#000000,#020202);
  position: absolute;
  width: 100%;
  left: 0;
  top: -30px;
  z-index: 2;
  border-top: 2px solid #b02b2b;

  /* padding: 0 20px; */
}

#login-box::after {
  z-index: 9;
  content: '';
  display: block;
  position: absolute;
  height: 20px;
  background: url('../img/menu-light.png') center top no-repeat;
  width: 100%;
  bottom: -10px;
  left: 0;
  right: 0;
  background-size: contain;
}

#login-box .btn {
  white-space: pre;
  word-wrap: break-word;
  font-size: 18px;
}


#login-box .header1 {
  text-align: center;
  position: absolute;
  width: 100%;
  z-index: 1;
  top: -25px;
  line-height: 1em;
}

#login-box .header1 .titletext {
  font-size: 1.8em;
  display: inline-block;
  line-height: 1.2em;
  padding: 0 40px;
  background: transparent;
  color: rgb(255, 255, 255);
  /*text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);*/
  position: relative;
}

#login-box .header1 .titletext::before {
  content: '';
  display: inline-block;
  width: calc(100% - 70px);
  top: -10px;
  right: 35px;
  left: 35px;
  position: absolute;
  z-index: 0;
  border-top: 1px solid #f33c3c;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 40px solid transparent;
}

#login-box .header1 .titletext::after {
  content: '';
  display: inline-block;
  width: 100%;
  top: -10px;
  left: 0;
  position: absolute;
  z-index: -1;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 51px solid #b30303;
}

#login-box form {
  padding-top: 0px;
}

#login-box form label {
  margin-bottom: 0;
  color: #c90;
}

#login-box form input.form-control {
  border: none;
  padding: 15px 10px;
}

.submit-login {
  padding: 5px 35px;

  text-shadow: 0 1px 3px #000;
  font-size: 1.3em;
  width: 100%;
}
.registerline {
  border-left: 1px solid #ff0000;
}

.registerwrap h2,
.loginwrap h2 {
  color: #eee;
  padding: 5px;
  padding-top: 5px;
  padding-bottom: 10px;
  text-shadow: 0 1px 3px #000;
  font-weight: 500;

  text-align: center;
  margin: 0 0 10px;
}

.registerwrap .formoutler {
  padding: 20px;
  box-shadow: rgba(46, 0, 0, 0.8) 0px -30px 30px inset;
  /*box-shadow: 0px 4px 19px rgba(0, 0, 0, 0.25);*/
  background: linear-gradient(90deg,#000000,#07076f);
}
.registerwarp form {
  box-shadow: inset 0 -30px 30px rgba(46, 0, 0, 0.8);
  -webkit-box-shadow: inset 0 -30px 30px rgba(46, 0, 0, 0.8);
}

.registerwrap form .input-group-text {
  display: block;
  width: 40px;
  padding: 0.375rem 0;
}

.registerwrap form .btn-register {
  padding: 5px 35px;
  box-shadow: inset 0 -10px 10px rgba(46, 0, 0, 0.3), 0 2px 2px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 0 -10px 10px rgba(46, 0, 0, 0.3), 0 2px 2px rgba(0, 0, 0, 0.5);
  /* text-shadow: 0 1px 3px #000; */
  font-size: 1.3em;
  width: 100%;
}

.btn-register .d-flex .text { font-size-adjust: 1.3em; }

.promotion-content {
  position: relative;
}

.promotion-content .contentwrap {
  background: #252525;
  box-shadow: inset 0 10px 10px rgba(0, 0, 0, 0.57);
  -webkit-box-shadow: inset 0 10px 10px rgba(0, 0, 0, 0.57);
  position: absolute;
  width: 100%;
  height: 100%;
}

.promotionwrap .tab-content {
  height: 100%;
}

.promotionwrap .tab-content > .active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  padding: 5px 10px;
}

.promotionwrap .tab-content > .active .item {
  padding: 5px;
}

.promotionwrap .tab-content > .active .item .thumb {
  margin-bottom: 5px;
}

.promotionwrap .tab-content > .active .item .title {
  font-size: 1.5em;
  font-family: 'Sarabun', sans-serif;
}

.tabnavgtr {
  border-bottom: none;
  display: block;
  position: relative;
  background: linear-gradient(90deg,#000000,#ab801e);
}

.tabnavgtr::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  border-right: 7px solid transparent;
}

.tabnavgtr .nav-item {
  display: inline-block;
  text-transform: uppercase;
  font-size: 1.5em;
  line-height: 1em;
  border-radius: 0;
  background: transparent;
  border: none;
}

.tabnavgtr .nav-item.active {
  color: #fff000;
  border: none;
  background: transparent;
}

.tabnavgtr .title {
  text-align: left;

  font-size: 2em;
  position: relative;
  color: #eee;
  margin-right: 0px;
}

.tabnavgtr .title b {
  position: relative;
  z-index: 1;
  font-family: 'Sarabun', sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.57);
  margin-left: 50px;
}

.tabnavgtr .title::before {
  content: '';
  display: block;
  position: absolute;
  width: calc(100% + 20px);
  top: 0;
  left: 0;
  z-index: 0;
  border-right: 25px solid transparent;
}

.tabnavgtr .title::after {
  content: '';
  display: inline-block;
  width: 100%;
  top: 0px;
  left: 0;
  position: absolute;
  z-index: -1;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 46px solid #000000;
  z-index: 0;
  margin-left: 20px;
}

.why-us {
  margin-bottom: 10px;
  display: block;
  -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.63);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.63);
  overflow: visible;

  background: linear-gradient(180deg, #7b0007 0%, #ff3100 31%, #7b040b 100%);
  padding: 5px;
}

.why-us .d-flex {
  /*background: url("v2assets/img/bg-whyus.jpg") center top repeat-y;*/
  background: radial-gradient(black 15%, transparent 16%) 0 0, radial-gradient(black 15%, transparent 16%) 8px 8px, radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%) 0 1px,
    radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%) 8px 9px;
  background-color: #111111;
  background-size: 16px 16px;
}

.why-us h2 {
  color: #fff000;
}

.why-us .text-warning {
  font-size: 1.2rem;
  color: #900;
  display: block;
  line-height: 1.2em;
}

.why-us > div {
  padding: 20px;
}

.why-us .whyus-content {
  position: relative;
  padding-right: 280px;
}

.why-us img.whyus {
  position: absolute;
  bottom: -20px;
  width: 350px;
  height: auto;
  right: -10px;
}
#primary {
  min-height: 550px;
}
#content-bottom {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  overflow: visible;
  border-top: 3px solid #620003;
  -webkit-box-shadow: 0 0 0 3px #8d0007;
  box-shadow: 0 0 0 3px #8d0007;
}

#content-bottom .innershadow-wrap {
  width: 100%;
  overflow: hidden;
}

#content-bottom .innershadow {
  width: calc(100% + 100px);
  left: -50px;
  padding: 0 50px;
  position: relative;
  background: url('images/rectangle.jpg');
  background-size: cover;
}

#content-bottom::after {
  z-index: 9;
  content: '';
  display: block;
  position: absolute;
  height: 20px;
  background: url('../img/menu-light.png') center top no-repeat;
  width: 100%;
  bottom: -10px;
  left: 0;
  right: 0;
  background-size: contain;
}
.wp-block-image img {
  height: auto !important;
}
.news {
  padding: 15px;
  overflow: hidden;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.news h2 {
  padding-left: 10px;
  border-left: 5px solid #fff000;
  color: #ffffff;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  font-size: 1.8rem;
}

.news ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news ul li::before {
  display: none;
}

.news ul li {
  padding: 15px 15px 15px 0;
  width: 50%;
  float: left;
}

.news ul li article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.news ul li a {
  text-decoration: none;
  color: #eee;
}

.news ul li a:hover {
  color: #c90;
}

.news ul li span {
  color: #ccc;
}

.news ul li img {
  margin-right: 15px;
  padding: 5px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  background: #9b0009;
  background: linear-gradient(180deg, #c70000 0%, #ff3100 31%, #9c040d 100%);
}

.news ul li h3 {
  margin: 5px 0;
  font-family: 'Sarabun', sans-serif;
}

.news ul li h3 a {
  color: #fff000;
}

.news ul li small {
  color: #ccc;
}

.news ul li .cat-link {
  display: inline-block;
  margin-left: 2px;
  color: #eee !important;
}

.news ul li .timeago-with-icon::before {
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
  content: '\f017';
  margin-right: 2px;
}

.buttonline {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 21px;
  display: inline-block;
  position: relative;
  text-align: center;
  color: #ffffff;
  border: 1px solid #27ff00;
  background: linear-gradient(to bottom, #33ff00 0%, #00ad05 100%);
  border-radius: 5px;
  line-height: 1em;
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  box-shadow: 0 0 1px 0 rgb(0, 43, 1);
  width: -webkit-fill-available;
}
.buttonline:hover {
  color: #00ff21;
  box-shadow: 0 0 8px 0 rgb(0, 236, 29);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s cubic-bezier(0, 0, 0.1, 1.97);
  background: linear-gradient(to bottom, #000000 0%, #000000 100%);
  border: 1px solid #33ff00;
}
.loginwrap,
#login footer {
  margin: 0 auto;
  width: 350px;
}
.wraplogin {
  background: #8d0007;
  border-top: 1px solid #c43636;
}

#archive .content-area {
  padding: 20px;
}

#archive h1 {
  font-size: 1.6em;
  font-family: 'Sarabun', sans-serif;
  color: #ffffff;
  padding: 10px 0px 10px 10px;
  border-left: 5px solid #c70000;
  margin: 15px 0px;
  background: rgb(124, 0, 0);
  background: linear-gradient(90deg, rgba(124, 0, 0, 1) 0%, rgba(235, 0, 0, 1) 50%, rgba(255, 0, 0, 0) 98%);
}

.widget-title {
  font-size: 1.5em;
  font-family: 'Sarabun', sans-serif;
}

.widget-title::before {
  content: '\f1b2';
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
  font-weight: 900;
  opacity: 0.8;
  margin-right: 3px;
}

#the-single .entry-title {
  font-size: 1.6em;
  line-height: 1em;
  font-weight: 500;
  border-left: 9px solid #292020;
  padding: 10px 0px 10px 10px;
  margin-bottom: 5px;
  background: rgb(124, 0, 0);
  background: #b30000;
}

#the-single .catlink-wrap {
  border-right: 1px solid #999;
  padding-right: 5px;
}

#the-single .content-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px;
}

#the-single .content-area .entry-content {
  background-color: #000;
  border-radius: 5px;
}

#the-single .content-area .entry-content .wp-block-columns {
  padding: 10px;
  margin: 0 0 0 0;
}

#the-single .content-area .entry-content .wp-block-columns.border-bottom {
  border-bottom: 1px solid #444 !important;
}

#the-single .content-area .entry-content > p { padding: 0 10px 5px; margin-bottom: 5px; }

#the-single .content-area .site-main { width: 100%; }

#the-single .content-area .sidebar-wrap { padding: 0 0 0 30px; text-shadow: 0 0 2px #000; }

#the-single .content-area .sidebar-wrap .widget-title { color: #eee; }

#the-single .content-area .sidebar-wrap a { color: #c90; }

#the-single .content-area .sidebar-wrap a:hover { color: #fff000; }

#footer-main {
  padding: 15px 0 0;
  min-height: 200px;
  position: relative;
  background: #131313;
}

#footer-main .container { padding: 10px 15px; color: #777; }

#footer-main::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  display: block;
  width: 100%;
  z-index: 2;
  background-image: -webkit-gradient(linear, , from(#271a22), color-stop(#dbbb67), to(#271a22));
  background-image: linear-gradient('left', #271a22, #dbbb67, #271a22);
  background-image: -webkit-linear-gradient(left, #271a22, #dbbb67, #271a22);
}

.widgetbox .title {
  font-weight: 600;
  font-size: 1.2em;
  color: #d3c500;
}

.widgetbox li::before { position: relative; top: -1px; }

.custom-page .content-area { margin: 0 auto; background: transparent; }

.custom-page .headbg-sm { width: 100%; max-width: 350px; }

.custom-page .register-content { max-width: 720px; }

.custom-page .why-us-content h3 { margin-top: 45px; margin-bottom: 7px; }

.custom-page .white-box {
  background: #fff;
  border: 2px solid #ff0000;
  max-width: 720px;
  margin: 0 auto 30px;
  color: #666;
  padding: 15px 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.27);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.27);
  border-radius: 10px;
}

.custom-page .white-box h1 {
  font-weight: 500;
  margin-bottom: 10px;
}

.custom-page .white-box h2 {
  margin-bottom: 10px;
  font-weight: 500;
}

.custom-page .white-box a.btn,
.custom-page .white-box .btn-primary {
  color: #fff;
}

.custom-page form .input-group-text {
  width: 38px;
}

.contactus {
  color: #aaa;
}


.footer-copyright {
  font-size: 0.8rem;
  text-align: center;
  padding: 5px 0 5px;
  position: relative;
  bottom: 0;
  color: #eee;
 /* background: #820006;
  -webkit-box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.2);
  border-top: 1px solid #c43636;*/
  background: linear-gradient(180deg, #000000 0%, #131313 100%);
  border-top: 1px solid #FBE16D;
  border-bottom: 1px solid #FBE16D;

}
@media only screen and (max-width: 600px) {
  .footer-copyright {
    font-size: 0.5rem;
    text-align: center;
    padding: 5px 0 5px;
    position: relative;
    bottom: 0;
    color: #eee;
   /* background: #820006;
    -webkit-box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.2);
    border-top: 1px solid #c43636;*/
    background: linear-gradient(180deg, #000000 0%, #131313 100%);
    border-top: 1px solid #FBE16D;
    border-bottom: 1px solid #FBE16D;
  
  }
}

.gtr-selection ul { padding-left: 10px!important; list-style: none; }

@media (max-width: 1024px) {
  #slide-main {
    height: 400px;
  }
}

@media (max-width: 992px) {
  .gtr55box .tab-pane .item2 {
    width: calc(100% - 10px);
    margin: 0 5px 10px;
  }
  .gtr55box .tab-pane .item .thumb img {
    object-fit: cover;
    -o-object-fit: cover;
    height: auto;
  }
  .gtr55box .tabservicepage {
    padding: 0px;
  }
  .gtr55box .tab-pane .item .thumb {
    height: auto;
    border-radius: 5px 5px 0px 0px;
    overflow: hidden;
    background-position: center top;
    background-size: 100%;
    display: block;
    margin-bottom: 0px;
  }
  .titlepic {
    margin-right: 0px;
  }
  .navbar { padding: 0 10px!important; }
  .navbar-brand {
    z-index: 999;
    top: -8px;
    max-width: 220px;
    width: 100%;
  }
  .navbar-brand:hover,
  .navbar-brand:focus {
    text-decoration: none;
  }
  .navbar-brand img {
    margin: 0;
    width: 100%;
  }
  .navbar-expand-lg > .container {
    padding-right: 0;
    padding-left: 0;
  }
  #nav-top .nav-inner li.textlink {
    display: none !important;
  }
  #slide-main {
    height: auto;
  }
  #primary-menu::after {
    z-index: 9;
    content: '';
    display: block;
    position: absolute;
    height: 50px;
    background: url('../img/menu-light.png') center top no-repeat;
    width: 450px;
    bottom: -42px;
    background-size: contain;
    margin-left: -180px;
  }

  #login-box::after {
    z-index: 9;
    content: '';
    display: block;
    position: absolute;
    height: 20px;
    background: url('../img/menu-light.png') center top no-repeat;
    width: 100%;
    bottom: -15px;
    left: 0;
    right: 0;
    background-size: contain;
  }
  #login-box form {
    padding-top: 10px;
    padding-bottom: 20px;
  }
  .mb {
    display: none;
  }
  .dt {
    display: block;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-lg > .container {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  .navbar-expand-lg .navbar-collapse {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;

  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  /* .navbar-brand { max-width: 200px; } */

  .nav-item a { font-size: 1em; }

}

@media (max-width: 780px) {
  .footer-copyright {
    margin-bottom: 55px;
  }
  #page {
    overflow: hidden;
  }
  .container {
    width: 100%;
    max-width: 100%;
  }
  #nav-top {
    display: none;
  }

  .gtr55box a.nav-link {
    display: inline-block;
    padding: 0 10px;
  }
  .gtr55box .tab-pane .item {
    width: calc(100% - 10px);
    margin: 0 5px 10px;
  }
  .promotion-content a.nav-link {
    display: inline-block;
  }
  .promotionwrap .promotion-content {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .promotionwrap .promotion-content .contentwrap {
    position: relative;
  }
  .promotionwrap .registerwrap {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  #login-box form { padding-bottom: 0!important; }
  #login-box::after { bottom: -10px; }

  #slide-main { padding-top: 0!important; height: 280px; }

  #login-box { padding: 0!important; }
  #login-box form input.form-control { padding: 5px; }

  .form-control-lg { font-size: 0.9rem; }
  .regis-step { padding-top: 70px; }
  .front-site-desc { font-size: 1.2em; }
  #frontpage { padding-top: 20px; }

  #frontpage .content-area { padding: 60px 10px 10px 10px!important; }
  .gtr-selection ul { padding-left: 10px!important; }
  .gtr-selection li { font-size: 0.9em; }

  .gtr-selection > ul > li > span > img { width: 25px; height: auto; }

  #frontpage .gtr55box .newsystembox .left {
    padding: 10px!important;
    position: relative;
  }

  .site-footer ul { margin-left: 0; font-size: 0.9em; }

  .navbar-expand-lg .navbar-collapse {
    padding: 10px;
    background: #000000;
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }

}

@media (max-width: 640px) {
  .navbar-expand-lg .navbar-collapse {

  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    background: transparent !important;
    border: 0;
  }

  #wrapbg::before { display: none; }
  #frontpage.container { padding: 0; }
  #frontpage .content-area { padding: 5px 0 0 0!important; }
  #frontpage .content-main { border-radius: 0; }
  #frontpage .content-main figure { text-align: center; }
  #frontpage .content-main .img-fluid { width: 80%; max-width: 150px; }
  #frontpage .content-main h1 {
    border: none;
    padding: 0;
    margin-bottom: 5px;
  }
  #frontpage .content-main .text-warning {
    font-size: 1.1em;
    line-height: 1.2em;
    margin-bottom: 5px;
  }
  #frontpage .why-us img.whyus {
    width: auto;
    left: 0;
    right: 0;
    top: -50px;
    height: 430px;
    padding-left: 10px;
  }
  #frontpage .why-us .whyus-content { padding-right: 0; position: static; }
  #frontpage .why-us .d-flex { padding-top: 290px; position: relative; }
  #frontpage .news,
  #frontpage .promotion { padding: 0 20px; }

  #nav-top .nav-inner {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  #nav-top .nav-inner li {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  #nav-top .flex-wide,
  #nav-top .textlink,
  #nav-top .btn-wrap {
    display: none;
  }
  .hide-with-opacity { display: none; }
  #slide-main { height: 330px; }
  #slide-main::after { bottom: -100px; }
  #nav-top { display: none !important; }
  #login-box { position: relative; top: 0; }
  #frontpage .introwrap { margin-top: 0px; }
  #frontpage .introwrap .imgwrap img {
    position: relative;
    top: 0px;
    z-index: 2;
  }
  #frontpage .introwrap .content { padding-top: 0; }
  .news { padding: 0; }
  .news h2 { margin: 10px 0 20px; }
  .news ul li { width: 100%; padding: 0 0 15px 0; }

  #content-bottom::after { bottom: -16px; }
  #frontpage .content-main { margin-top: 130px; }
  #frontpage #login-box .btn-lg { padding: 5px; font-size: 1.2em; }
  #frontpage #login-box .btn-lg2 { padding: 5px; font-size: 2em; }
  #frontpage #login-box .form-row { padding-bottom: 15px; }
  .custom-page .why-us { padding: 10px; }
  .custom-page .why-us h3 { margin: 0; }
  .custom-page .why-us .col-3 { padding: 0; }
  #the-single { padding: 0; }
  #the-single .content-area { display: block; padding: 50px 15px 15px; }
  #the-single .content-area .sidebar-wrap {
    max-width: 100%;
    min-width: 100%;
    padding: 0;
  }
  #footer-main .container { padding: 0; }
  #footer-main .row { padding: 0 15px; }
  #footer-main .contactwarp { margin-top: 30px; }

}

@media (max-width: 414px) {

  body { background: #000000 url('/wp-content/themes/gtrslot-v2/images/gtrcasino-bg-mobile.jpg') no-repeat top center; }

  .navbar {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 99;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0!important;
    border-top: 0;
    background: #000000;
  }
  .navbar-toggler { padding: 0!important; }
  .navbar-brand { padding: 0; }
  .navbar-brand img {
    margin: 0!important;
    padding: 0!important;
    /*height: 90px;*/
    /*left: 20px;*/
  }

  .content-area .entry-content { padding: 0; }
  #the-single .content-area { padding: 20px 0; }
  #the-single .content-area .entry-content > p, .entry-content p { margin: 0!important; }
  #the-single .entry-title { margin: 0 10px; border: 0; font-size: 1em; line-height: 22px; }
  #frontpage.container { padding: 10px; }

  #slide-main {
    height: 100%;
    margin-top: 0!important;
    padding-top: 0!important;
  }

  .footer-bt {
    display: block;
    z-index: 20;
    width: 100%;
    background: linear-gradient(to bottom, #ac0000 0%, #670015 100%);
  }
  .footer-bt2 {
    display: block;
    position: fixed;
    bottom: 0px;
    top: auto;
    z-index: 20;
    width: 100%;
    background: linear-gradient(to bottom, #ac0000 0%, #670015 100%);
  }
  .box-ft {
    float: left;
    width: 50%;
  }
  .box-ft2 {
    float: left;
    width: 60%;
  }
  .box-ft3 {
    float: left;
    width: 40%;
  }
  #frontpage .gtr55box.whyusbox .item1 .box h2 {
    margin: 10px 0 0;
    border-left: 5px solid #e21e22;
    padding: 20px 10px;
    font-weight: 700;
}
  .bt1 {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    color: #ffffff;
    background: linear-gradient(to bottom,#ffe064 ,#ad901d,#8c7518 ,#b99a1e,#ffde5b );
    /* background-image: -webkit-gradient(linear, left top, left bottom, from(#707070), to(#111111)); */
    border: solid 1px #d0ac1a;
    box-shadow: 0 6px 30px rgba(0,0,0,0.35);
  }
  .bt2 {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    color: #ffffff;
    background: linear-gradient(to bottom,#d60000 ,#9e0000,#7b0000 ,#900000,#9e0101 );
    /* background-image: -webkit-gradient(linear, left top, left bottom, from(#f30505), to(#8a0101)); */
    border: 1px solid rgba(225,0,0,0.94);
  }
  .bt3 {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    color: #ffffff;
    background: linear-gradient(to bottom, #ac0000 0%, #670015 100%);
    border: 0;
  }
  .bt4 {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    color: #ffffff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#616161), to(#2b2b2b));
    background-image: linear-gradient(180deg, #616161, #2b2b2b);
    border: 0;
  }

  .menubarfooter {
    bottom: 0px;
    z-index: 999;
    position: fixed;
    width: 100%;
    background: linear-gradient(to bottom, #ac0000 0%, #670015 100%);
    background: -o-linear-gradient(top, #ac0000 0%, #670015 100%);
    background: -webkit-linear-gradient(top, #ac0000 0%, #670015 100%);
    /* background: -webkit-gradient(linear, left top, left bottom, from(#ac0000), to(#670015)); */
    background: -webkit-gradient(linear, left top, left bottom, from(#212529), to(#212529));ห
    -webkit-box-shadow: 3px -3px 6px #0e0e0ea3;
    box-shadow: 3px -3px 6px #0e0e0ea3;
  }

  .menubarfooter ul.menu {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 0;
  }
  .menubarfooter ul.menu li {
    text-align: center;
    width: 34%;
  }
  div.menubarfooter ul.menu li a i {
    display: block;
    background: #fff;
    width: 27px;
    height: 27px;
    margin-left: auto;
    margin-right: auto;
    color: #f40505;
    border-radius: 50%;
    text-align: center;
    line-height: 26px;
    margin-top: 5px;
    font-size: 20px;
  }
  div.menubarfooter ul.menu li:nth-child(3) {
    position: relative;
  }
  .menubarfooter ul.menu li a div {
    position: absolute;
    width: 100%;
    bottom: 0;
    font-size: 16px;
  }
  .menubarfooter ul.menu li a div img {
    width: 55px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 375px) {
  .bt1 {
    font-size: 18px;
  }
  .bt2 {
    font-size: 18px;
  }
  .bt3 {
    font-size: 18px;
  }
  .bt4 {
    font-size: 18px;
  }
  .registerline {
    border-top: 1px solid #ff0000;
    border-left: 0;
    padding-top: 10px;
  }
  #frontpage .introwrap {
    margin-top: 10px;
  }
  #frontpage header h1 {
    font-size: 1rem;
  }
  #slide-main {
    height: 190px;
    margin-top: 0!important;
  }
  #frontpage .content-area {
    padding-top: 0!important;
  }
  #slide-main::after {
    bottom: -130px;
  }
  #slide-main .container {
    padding: 0;
  }
  #login-box {
    position: relative;
    top: -50px;
  }
  #slide-main .carousel-item.active,
  #slide-main .carousel-item-next,
  #slide-main .carousel-item-prev {
    margin-top: 0;
  }

}

@media (max-width: 360px) {

  #slide-main { height: 390px; margin-top: 0!important; }


}


@media (max-width: 320px) {

  #slide-main { height: 352px; }

}


.vibrate {

  -webkit-animation: vibrate 0.3s linear infinite both;
  animation: vibrate 0.3s linear infinite both;

}

@-webkit-keyframes vibrate {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}

@keyframes vibrate {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}

.youtube-responsive-container {
  position:relative;
  padding-bottom:56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
}
.youtube-responsive-container iframe, .youtube-responsive-container object, .youtube-responsive-container embed {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
/* css border video */
.youtube-responsive-container {
border: 2px solid #7b0007;
}

#frontpage .gtr55box .nav-link h3 { font-size: 18px!important; }
#frontpage .gtr55box .newsystembox .left img { bottom: -26px!important; }
@media (max-width: 640px) {
  #frontpage .gtr55box .nav-link h3 { font-size: 15px!important; }
  #frontpage .gtr55box .newsystembox .left { padding: 0!important; }
  #frontpage .gtr55box .newsystembox .left img { position: relative!important; bottom: 0!important; }
}
