@import url('xin-icon.css') screen;

@font-face {
    font-family: 'FC Minimal';
    src: url('../fonts/FCMinimalBold.woff2') format('woff2'),
        url('../fonts/FCMinimalBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FC Minimal';
    src: url('../fonts/FCMinimalRegular.woff2') format('woff2'),
        url('../fonts/FCMinimalRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


:root {
	
	--fontth : 'FC Minimal';
	--grey : #666;
	--maincolor:#14A4C5;
	--blue:#172733;
	
	
	--font-scale:1.5;
	
	--text-xs:calc(12px * var(--font-scale));
	--text-sm:calc(14px * var(--font-scale));
	--text-base:calc(16px * var(--font-scale));
	--text-lg:calc(18px * var(--font-scale));
	--text-xl:calc(22px * var(--font-scale));
	--text-2xl:calc(32px * var(--font-scale));
	--text-3xl:calc(42px * var(--font-scale));
}


/*Navbar*/

.navbar-default {
  background: var(--blue1);
}

.navbar {
  border-bottom: 0;
  padding: 0;
}

.sidebar .navbar-nav{
  background: transparent;
  margin:0;
}

.navbar.navbar-default {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}

header #navbar{
  width: 100%;
  background: #f59c00;
}

.navbar-brand {
  font-size: 24px;
  position: relative;
  color: #f49b00;
  letter-spacing: 2px;
  font-weight: 500;
  padding: 0;
  height: auto;
}

a.navbar-brand {
  transition: all 0.1s ease;
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  transition: color 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
}

a.navbar-brand span{
  color: #fc883a;
}

.navbar-default .navbar-brand {
  color: #FFF;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}

.navbar-default .navbar-brand:hover {
  color: #D60D45;
}

.colored-navbar-brand .navbar-default .navbar-brand {
  padding-right: 30px;
  position: relative;
  color: #f49b00;
  display: inline-block;
  float: none;
}

header .navbar-default .navbar-nav>li>a{
  color: #fff;
}

header .navbar-default .navbar-nav>li.active, header .navbar-default .navbar-nav>li.active>a, header .navbar-default .navbar-nav > li > a:hover{
  color: var(--maincolor);
}

.sidebar .navbar-default .navbar-nav>li>a {
  line-height:inherit;
  font-weight: 400;
  font-size: 14px;
  padding-top: 0;
  color: #fff;
  padding-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px;
  border:none;
}


/* Main Menu Dropdown */

.navbar-nav li {
  position: relative;
  text-align: left;margin-bottom: 0;
}

.navbar-nav li ul {
  z-index: 9999;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 50px;
  left: 0;
  width: 190px;
  overflow: hidden;
  display: none;
  background-color: #FFF;
  border: 1px solid #EEE;
  border-top: 2px solid #f33807;
  -webkit-box-shadow: 0px 0px 12px -3px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 12px -3px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 12px -3px rgba(0, 0, 0, 0.4);
}

.navbar-nav li ul li{border-bottom: 1px solid #f1f1f1;}

.navbar-nav li ul li:last-child{border-bottom:none;}

.navbar-nav li ul li a {
  display: block;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 600;
  color: #636363;
  font-family: var(--headThai);
}

.navbar-nav li > ul > li:last-child > a,
.navbar-nav li > ul > li > ul > li:last-child > a {
  border-bottom: 0;
}

.navbar-nav li ul li:hover a {
  padding-left: 20px;
  padding-right: 10px;
  text-decoration: none;
}

.navbar-nav li ul li a:hover{
  color:#f33807;
}

.navbar-nav li ul li ul {
  position: absolute;
  left: 188px;
  top: -2px;
}

.navbar-nav li ul li:hover ul li a {
  padding-left: 15px;
  padding-right: 15px;
}

.navbar-nav li ul li ul li:hover a {
  padding-left: 20px;
  padding-right: 10px;
}

.navbar-nav li ul li ul li ul li:hover a {
  padding-left: 20px;
  padding-right: 10px;
}



/*
Slicknav - a Mobile Menu
*/

.slicknav_menu {
  display: none;
}

.slicknav_btn {
  position: relative;
  display: block;
  vertical-align: middle;
  float: right;
  padding: 0.438em 0.625em 0.438em 0.625em;
  line-height: 1.125em;
  cursor: pointer;
}

.slicknav_menu .slicknav_menutxt {
  display: block;
  line-height: 1.188em;
  float: left;
}

.slicknav_menu .slicknav_icon {
  float: left;
  margin: 0.188em 0 0 0.438em;
}

.slicknav_menu .slicknav_no-text {
  margin: 0
}

.slicknav_menu .slicknav_icon-bar {
  display: block;
  width: 1.125em;
  height: 0.125em;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar {
  margin-top: 0.188em
}

.slicknav_nav {
  clear: both
}

.slicknav_nav ul,
.slicknav_nav li {
  display: block;
  margin:0;
}

.slicknav_nav .slicknav_arrow {
  font-size: 0.8em;
  margin: 0 0 0 0.4em;
}

.slicknav_nav .slicknav_item {
  cursor: pointer;
}

.slicknav_nav .slicknav_row {
  display: block;
}

.slicknav_nav a {
  display: block
}

.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav_parent-link a {
  display: inline
}

.slicknav_menu:before,
.slicknav_menu:after {
  content: " ";
  display: table;
}

.slicknav_menu:after {
  clear: both
}


/* IE6/7 support */

.slicknav_menu {
  *zoom: 1
}


/* 
User Default Style
Change the following styles to modify the appearance of the menu.
*/

.slicknav_menu {
  font-size: 16px;
}


/* Button */

.slicknav_btn {
  margin: 0;
  text-decoration: none;
  background-color: transparent;
  padding: 0;
  position: absolute;
  top: 30px;
  right: 20px;
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  -ms-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}


/* background color for responsive button */

.slicknav_btn.slicknav_open:before {
  font-family: 'FontAwesome';
  content: "\f00d"
}

.slicknav_btn.slicknav_collapsed:before {
  font-family: 'FontAwesome';
  content: "\f0c9"
}

.slicknav_btn.slicknav_open,
.slicknav_btn.slicknav_collapsed,
.slicknav_btn.slicknav_open:before,
.slicknav_btn.slicknav_collapsed:before {
  text-decoration: none ;
  border: none;
}

.slicknav_btn.slicknav_open:before,
.slicknav_btn.slicknav_collapsed:before {
  font-size: 21px;
  color: #fff;
}

.slicknav_menutxt {
  line-height: 22px ;
}

.slicknav_btn:focus {}


/* Button Text */

.slicknav_menu .slicknav_menutxt {
  color: #DFF2F2;
  font-weight: 400;
  font-size: 14px;
}


/* Button Lines */

.slicknav_menu .slicknav_icon-bar {
  background-color: #f5f5f5
}

.slicknav_menu {
  background: #383546;
  padding: 0;
  margin-top: 0;
}

.slicknav_nav {
  color: #B6B3C4;
  margin: 0;
  padding: 0;
  font-size: .875em
}

.slicknav_nav,
.slicknav_nav ul {
  list-style: none;
  overflow: hidden
}

.slicknav_nav ul {
    padding: 0;
    margin: 0;
    width: 100%;
    border-radius: 0;
    position: inherit;
    top: inherit;
    left: inherit;
    border: none;
    background-color: transparent;
    margin-bottom: 10px;
}

.slicknav_nav ul li {
  border-bottom: 0;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{background: transparent; outline: none;}

.slicknav_nav .slicknav_row {
  padding: 0;
  margin: 0;
}

.slicknav_nav a {
  padding: 10px 15px;
  margin: 0;
  text-decoration: none;
  color: #B6B3C4!important;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  text-align: left;
}

.dropdown-menu>li>a{padding: 10px 20px;}

.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav_parent-link a {
  padding: 10px 15px;
  margin: 0;
}

.slicknav_nav .slicknav_item a i{display: none;}

.slicknav_nav .slicknav_item {
  position: relative;
}

.slicknav_nav .slicknav_item a {
  border-bottom: none;
  display: block;
}

.slicknav_nav {
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  background: #1F1D26;
}

.slicknav_nav ul li {
  padding-left: 0;
  background: #1F1D26;
}

.slicknav_nav ul li li {
  padding-left: 0;
}

.slicknav_nav ul li ul {
  padding-left: 15px;
  padding-right: 15px;
}

.slicknav_nav ul li ul a {
  padding: 10px 10px;
}

.slicknav_nav .slicknav_row:hover {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background: #443E56;
  color: #FFF
}

.slicknav_nav a:hover {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background: #443E56;
}

.slicknav_nav .slicknav_txtnode {
  margin-left: 15px;
}

.slicknav_nav .slicknav_arrow {
  font-size: 14px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding-top: 13px;
  width: 50px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}


/* plus-minus or arrow sign */

.slicknav_nav .slicknav_arrow:hover {
  background: rgba(255, 255, 255, 0.05);
}

.slicknav_menu .slicknav_icon {
  display: none;
}

@media only screen and (max-width: 991px) {
#responsive-menu {
    display: none;
  }

  .slicknav_menu {
    display: block;
  }

  .slicknav_nav a.mt_search, .slicknav_nav a.mt_cart{display: none;}

}


.main_header_area.white_menu .header_top {
  background: #fff;
}

.main_header_area.white_menu .header_top .header_top_inner {
  border-bottom: 1px solid #e7e7e7;
}

.main_header_area.white_menu .header_top .header_top_inner .pull-left a {
  color: #242424;
  opacity: .6;
}

.main_header_area.white_menu .header_top .header_top_inner .pull-left a:hover {
  color: var(--pink);
  opacity: 1;
}

.main_header_area.white_menu .header_top .header_top_inner .pull-right .header_social li a {
  color: #242424;
  opacity: .6;
}

.main_header_area.white_menu .header_top .header_top_inner .pull-right .header_social li:hover a {
  color: var(--pink);
}

.main_header_area.white_menu .header_menu {
  background: #fff;
}

.main_header_area.white_menu .header_menu .navbar.navbar-default .nav.navbar-nav > li > a {
  color: #242424;
}

.main_header_area.white_menu .header_menu .navbar.navbar-default .nav.navbar-nav > li:hover > a, .main_header_area.white_menu .header_menu .navbar.navbar-default .nav.navbar-nav > li.active > a {
  color: var(--blue);
}

.main_header_area.white_menu .header_menu .navbar.navbar-default .nav.navbar-nav.navbar-right .book_btn .book_now_btn {
  color: #fff;
}

.main_header_area.white_menu .header_menu.affix {
  -webkit-box-shadow: 0px -2px 24px 1px rgba(0, 0, 0, 0.06);
  box-shadow: 0px -2px 24px 1px rgba(0, 0, 0, 0.06);
}

.main_header_area.white_menu + section, .main_header_area.white_menu + div, .main_header_area.white_menu + .row {
  margin-top: 134px;
}

.main_header_area.tp_header_area {
  background: transparent;
}

.header_top .header_top_inner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  clear: both;
  overflow: hidden;
}

.header_top .header_top_inner .pull-left a {
  line-height: 48px;
  font-size: 15px;
  color: #fff;
  opacity: .60;
  font-family: "Open Sans", sans-serif;
  letter-spacing: .45px;
  margin-right: 22px;
  -webkit-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

.header_top .header_top_inner .pull-left a i {
  padding-right: 10px;
  font-size: 20px;
  vertical-align: middle;
  line-height: 44px;
}

.header_top .header_top_inner .pull-left a:last-child {
  margin-right: 0px;
}

.header_top .header_top_inner .pull-left a:nth-child(2) i {
  font-size: 15px;
}

.header_top .header_top_inner .pull-left a:hover {
  opacity: 1;
}

.header_social li {
  display: inline-block;
  margin-right: 16px;
}

.header_social li a {
  line-height: 48px;
  font-size: 16px;
  color: #fff;
  opacity: .6;
  -webkit-transition: all 300ms linear 0s;
  -o-transition: all 300ms linear 0s;
  transition: all 300ms linear 0s;
}

.header_social li:last-child {
  margin-right: 0px;
}

.header_social li:hover a {
  opacity: 1;
}

.header_menu {
	margin-top:-16px;
}

.header_menu .navbar.navbar-default {
  border-radius: 0px;
  margin-bottom: 0px;
  background: var(--blue1);
  border: none;
  width: 100%;
}

.header_menu .navbar.navbar-default.navbar-sticky-in {
	background: var(--blue);
}

.header_menu .navbar.navbar-default .navbar-header {
	display: none;
}

.header_menu .navbar.navbar-default .navbar-header .navbar-brand {
  padding: 11px 0 10px 15px;
  width:120px;
}

.header_menu .navbar.navbar-default.navbar-sticky-in .navbar-header .navbar-brand {
  padding: 11px 0 10px 15px;
  width:80px;
}

.header_menu .navbar.navbar-default .navbar-header .navbar-brand img {
  display: inline-block;
}

.header_menu .navbar.navbar-default .navbar-header .navbar-brand img + img {
  display: none;
}

.header_menu .navbar.navbar-default .navbar-collapse {
  text-align: left;
  padding: 0;
}

.header_menu .navbar.navbar-default .nav.navbar-nav {
  float: none;
  text-align: right;
  display: inline-block;
  background: transparent;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li {
  float: none;
  display: inline-block;
  margin-right: 30px;
  background: transparent;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li:last-child{margin: 0;}

.header_menu .navbar.navbar-default .nav.navbar-nav li a {
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 0px 0px 0px;
  letter-spacing: 0px;
  line-height: 85px;
  -webkit-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
  border:none;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li a i {
  margin-left: 5px;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li:hover a, .header_menu .navbar.navbar-default .nav.navbar-nav li.active a {
  background: transparent;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu {
  position: relative;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu {
  border: none;
  padding: 0px;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

@media (min-width: 992px) {
  .header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu {
    position: absolute;
    top: 100%;
    /*left: -40px;*/
    left: 0px;
    min-width: 220px;
    background: #fff;
    text-align: left;
    opacity: 0;
    -webkit-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
    visibility: hidden;
    display: block;
    border: none;
    padding: 0px;
    border-radius: 0px;
    box-shadow: 0 0 5px #cccccc91;
  }
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #eeeeee transparent transparent transparent;
  position: absolute;
  right: 24px;
  top: 45px;
  z-index: 3;
  opacity: 0;
  -webkit-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li {
  display: block;
  float: none;
  margin-right: 0px;
  border-bottom: 1px solid #f2f2f2;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li a {
  line-height: 40px;
  color: #242424;
  font-size: 13px;
  padding: 0px 20px;
  font-weight: 500;
  letter-spacing: .30px;
  -webkit-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
  display: block;
  text-transform: uppercase;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li a i.fa-angle-right {
    position: absolute;
    right: 15px;
    top: 15px;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li:last-child {
  border-bottom: none;
}

.header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li a:hover{
  background: var(--maincolor);
  color: #fff;
}

.header_menu .navbar.navbar-default .navbar-nav li ul{overflow: visible;}

@media (min-width: 992px) {
  .header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li.submenu .dropdown-menu {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%;
    transform-origin: 0 50%;
    position: absolute;
    left: 100%;
    right: auto;
    width: auto;
    top: -2px;
    background: #fff;
    box-shadow: 0 0 5px #cccccc91;
  }
  .header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li.submenu .dropdown-menu li a {
    line-height: 40px;
    color: #242424;
    font-size: 15px;
    padding: 0px 30px;
    letter-spacing: .30px;
    -webkit-transition: all 150ms linear;
    -o-transition: all 150ms linear;
    transition: all 150ms linear;
    display: block;
    background: transparent;
  }
  .header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li.submenu .dropdown-menu li:hover a {
    color: #fff;
    background: var(--pink);
  }
}

@media (min-width: 992px) {
  .header_menu .navbar.navbar-default .nav.navbar-nav li.submenu .dropdown-menu li.submenu:hover .dropdown-menu {
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}

@media (min-width: 992px) {
  .header_menu .navbar.navbar-default .nav.navbar-nav li.submenu:hover ul {
    left: 0px;
    visibility: visible;
    opacity: 1;
  }
}

.header_menu .navbar.navbar-default .nav.navbar-nav.navbar-right li:last-child {
  margin-right: 0px;
}

.header_menu .navbar.navbar-default .nav.navbar-nav.navbar-right li i.icon-Search {
  display: inline-block;
}

.header_menu .navbar.navbar-default .nav.navbar-nav.navbar-right .search_dropdown a {
  color: rgba(255, 255, 255, 0.7);
}

.header_menu .navbar.navbar-default .nav.navbar-nav.navbar-right .book_btn .book_now_btn {
  background: var(--pink);
  color: #000;
  line-height: 34px;
  display: inline-block;
  padding: 0px 25px;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  letter-spacing: .28px;
  position: relative;
  z-index: 2;
  -webkit-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
  border: 2px solid var(--pink);
  margin-top: 21px;
}

.header_menu .navbar.navbar-default .nav.navbar-nav.navbar-right .book_btn .book_now_btn:hover {
  color: var(--pink);
  background: transparent;
}

.header_menu.affix {
  width: 100%;
  left: 0px;
  top: 16px;
  position: fixed;
  background: #fff;
  z-index: 999;
  -webkit-box-shadow: 0px -2px 24px 1px rgba(0, 0, 0, 0.06);
  box-shadow: 0px -2px 24px 1px rgba(0, 0, 0, 0.06);
}

.header_menu.affix .navbar.navbar-default .nav.navbar-nav > li > a {
  color: #fff;
}

.header_menu.affix .navbar.navbar-default .navbar-header {
  display: block;
}

.header_menu.affix .navbar.navbar-default .header-links {
  display: none;	
}

.header_menu.affix .navbar.navbar-default .navbar-collapse {
  text-align: right;
}

.header_menu.affix .navbar.navbar-default .nav.navbar-nav > li:hover > a, .header_menu.affix .navbar.navbar-default .nav.navbar-nav > li.active > a {
  color: var(--pink);
}

@media (max-width: 991px){
  .header_menu.affix{position: relative; animation: none;}
  .header_menu .navbar.navbar-default .navbar-header img { width:50px!important}
  .header-links { display: inline-block!important; margin-top: 20px!important; margin-right: 45px }
  .header_menu { margin-top:0px}
  .vdo .vdo-item { margin-bottom: 35px }
  .footer-content ul li {
	  margin-bottom: 5px;
  }
  .footer-content h3 { margin-bottom: 20px;}
  .logodesk { display: none!important}
  .header_menu .navbar.navbar-default .navbar-header {
	display: inline-block;
  }
}
@media only screen and (min-width: 769px) and (max-width: 991px) {
  .header_menu .navbar.navbar-default .navbar-header {
	position: absolute;
	left:15px
  }
  .header_menu .navbar.navbar-default {
	 height:75px!important;
  }
  .header-links { position: absolute; right:10px;}
}

header{
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background:     radial-gradient(
        circle at top center,
        #000814 0%,      /* เข้มสุดตรง Logo */
        #0B1120 6%,
        #0F172A 40%,
        #164E63 100%
    );
}
.top-bar{
  overflow: hidden;
  background: var(--blue1);
}
.top-bar-content{
  padding: 8px 0 11px;
  text-align: center;
}
.top-bar p{
  display: inline-block;
  margin-right: 10px;
  color: #fff;
}
.contact-info{
  display: inline-block;
  padding-top: 3px;
  float: left;
}
.logodesk {
  display: inline-block;
  margin: 15px auto 0px auto;
  
}
.logodesk img {
	width:125px;
}

.svg-normal-mask {
  -webkit-mask: url(../images/mainlogo-black.svg);
          mask: url(../images/mainlogo-black.svg);
}




.logodesk a:before {
content: '';
position: absolute;
top: 0;
left: -150px;
width: 70px;
height: 100%;
background: rgba(255,255,255, 0.3);
transform: skewX(-30deg);
animation-name: slide;
animation-duration: 20s;
animation-timing-function: ease-in-out;
animation-delay: 2s;
animation-iteration-count: infinite;
animation-direction: normal;
background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.5) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0.5) 100%
  );
}

@keyframes slide {
  0% {
    left: -100;
    top: 0;
  }

  90% {
    left: 400px;
    top: 0;
  }
  95%, 100% {
    opacity: 1;
    transform: translate(400px, 0);
  }
}


.header-links{
  float: right;
  margin-top: 28px;
}
.footer-links{ 
  text-align: center;
  margin-top: 10px;
}
.header-links li, .footer-links li{
  display: inline-block;
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 2.5;
  transition: all ease-in-out 0.3s;
  margin: 0;
  font-size: 18px;
  background: #ffffff26;
  border-radius: 20px;
  margin-left: 5px;
}
.header-links a{
  color: #fff;
}
.header-links li:hover{
  background: var(--maincolor);
}


/*Fullpage search*/

#search1 {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
    -webkit-transform: translate(0px, -100%) scale(0, 0);
  -moz-transform: translate(0px, -100%) scale(0, 0);
  -o-transform: translate(0px, -100%) scale(0, 0);
  -ms-transform: translate(0px, -100%) scale(0, 0);
  transform: translate(0px, -100%) scale(0, 0);
    opacity: 0;
}

#search1.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
  -o-transform: translate(0px, 0px) scale(1, 1);
  -ms-transform: translate(0px, 0px) scale(1, 1);
  transform: translate(0px, 0px) scale(1, 1); 
    opacity: 1;
}

#search1 input[type="search"] {
    position: absolute;
    top: 35%;
    width: 50%;
    color: #666;
    background: transparent;
    font-size: 48px;
    font-weight: 300;
    text-align: center;
    border-width: 0 0 1px;
    margin: 0px auto;
    padding: 20px 30px;
    outline: none;
    margin-bottom: 30px;
    height: 82px;
    left: 0;
    right: 0;
    border-radius: 0;
}
#search1 .btn {
    position: absolute;
    top: 55%;
    left: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: var(--pink);
    padding: 10px 30px;
    border-radius:10px 0px;
    border: none;
    font-size: 18px;
}
#search1 .close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #fff;
    background-color: var(--pink);
    border-color: var(--pink);
    opacity: 1;
    padding: 10px 17px;
    font-size: 27px;
}

/*header add to cart*/

.header_menu li a span.number-cart {
    position: absolute;
    top: 17px;
    left: 12px;
    width: 17px;
    height: 17px;
    text-align: center;
    line-height: 17px;
    font-size: 9px;
    display: block;
    background-color: #00d6a3;
    color: #fff;
    border-radius: 50%;
}

@media(max-width: 991px){
  .top-bar{display: none;}
}

/*slider*/
section.slider{
  padding: 0;    
}

/*section.slider #fw_al_003 {
    background: var(--blue2);
    max-height: 510px;
}

section.slider #fw_al_003 > .carousel-inner > .item > img,section.slider  #fw_al_003 > .carousel-inner > .item > a > img{
  opacity: 1;
}

section.slider .fw_al_003_slide{top: 18%;}

@media(max-width: 1100px){
  section.slider .fw_al_003_slide{width: 80%;}
  section.slider .fw_al_003_slide > h1{font-size: 50px;}
}

@media(max-width: 991px){
  section.slider .fw_al_003_slide > h1{font-size: 40px;}
}

@media(max-width: 811px){
  
  section.slider .fw_al_003_slide > h1{font-size: 30px; line-height: initial;}
  section.slider .fw_al_003_slide > p{font-size: 18px; margin-bottom: 25px;}
  section.slider .ps_control_bsquare .carousel-control.left,
  section.slider .ps_control_bsquare .carousel-control.right{display: none;}
}

@media(max-width: 735px){
  section.slider  #fw_al_003 > .carousel-inner > .item > img{height: 400px; filter: blur(8px);}
  section.slider .fw_al_003_slide{width: 90%; top: 22%;}
}*/


/*About Section*/
.textmiddle {
	width: 50vw;
    height: 50vh;
    display: flex;
}
.about-content{
  position: relative;
  z-index: 1;
  margin: auto 40px auto auto ;
}
.about-content h3{
  font-family: var(--fontth);
  font-weight: 700;
}
.about-content h2{
  font-size: 2.5em;
  font-weight: 600;
  font-family: var(--fontth);
}
.about-content h2 en {
  font-family: var(--fontth);
  font-weight: 700;	
}
.about-content span{
  color: var(--blue2);
}
.about-item{
  position: relative;
  margin-bottom: 30px;
}
.about-content p {
  font-family: var(--fontth);
  font-size: 1.7em;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0px
}
.about-icon{
  position: absolute;
  height: 60px;
  width: 60px;
  line-height: 2;
  text-align: center;
  background: #1cba9f;
  border-radius: 0 15px;
  top: 10px;
  left: 0;
}
.about-desc{
  padding-left: 80px;
}
.about-item [class^="flaticon-"]:before, 
.about-item [class*=" flaticon-"]:before{
  font-size: 30px;
  color: #fff;
}
.about-item p,
.about-item h3{
  margin-bottom: 0;
}
.about-us-image{
  position: relative;
  z-index: 1;
}

.aboutus-item{
  padding: 40px 30px 30px 30px; 
  text-align: center;
  position: relative;
  z-index: 1;
  border-radius: 15px;
}

.aboutus-icon {
    height: 90px;
    width: 90px;
    left: 0;
    right: 0;
    margin: 0 auto 20px auto;
}

.aboutus-icon img { width: 100%}

.aboutus-item .aboutus-content p{
	font-size: var(--text-base);
}

.aboutus-content {
	height: 100px
}


@media(max-width: 1100px){
  section.about-us{padding-bottom: 80px!important;}
}

@media(max-width: 991px){
  .about-us-image{margin-top: 30px; text-align: center;}
  section.about-us{padding-bottom: 0px!important;}
}

.meetdoctor {
background: rgb(227,229,230);
background: radial-gradient(circle, rgba(227,229,230,1) 27%, rgba(194,196,196,1) 69%, rgba(194,196,196,1) 90%);
}

.meetdoctor h3{
  font-family: var(--headEng);
  font-weight: 700;
  color: var(--blue1);
  margin-top: 50px
}
.meetdoctor h2{
  font-size: 2.5em;
  font-weight: 600;
  color: var(--blue2);
  font-family: var(--headEng);
}
.meetdoctor p{
  color: #333;
  font-family: var(--headThai);
  font-size: 1.25em;
  line-height: normal;
  margin-top: 40px;
  letter-spacing: 0px
}

.meetdoctor p strong {
	font-weight: 700;
	color: var(--blue1);
}



section.keyto{
  position: relative;
  background: url(../images/home/counter.jpg) no-repeat;
  background-position: top right;
  background-size: contain;
  background-attachment: fixed;
}

section.keyto:before, section.keyto:after{
  position: absolute;
  content: '';
  height: 100%;
  width: 55%;
  bottom: 0;
  left: 0;
  background: rgb(19,35,47);
}

section.keyto:after {
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    z-index: 0;
}

.keyto p{
  color: #fff;
  font-family: var(--headThai);
  font-size: 1.25em;
  line-height: normal;
  margin-top: 40px;
  letter-spacing: 0px
}
.keyto h2{
  font-size: 2.5em;
  font-weight: 600;
  font-family: var(--headEng);
}
.keytoleft {
	padding-right:80px
}
.keyto .logo {
	width:300px;
	margin: 25px auto;
}

.highqt h3{
  font-family: var(--headEng);
  font-weight: 700;
  margin-top: 50px
}
.highqt h2{
  font-size: 2.5em;
  font-weight: 600;
  font-family: var(--headEng);
}
.highqt p{
  color: #333;
  font-family: var(--headThai);
  font-size: 1.25em;
  line-height: normal;
  margin-top: 40px;
  letter-spacing: 0px
}

.highqt .bg {
  height: 250px;
  background-image: url('../pic_data/high-quality.jpg');
  background-size: cover;
  background-position: center center
}

.serve {
	background-color: #F9F9FB;
}
.serve:after {
    background: url('../pic_data/waterbg.png') no-repeat;
    background-position: left bottom;
    background-size: contain;
    transform: rotate(-180deg);
    content: '';
    position: absolute;
    height: 100%;
    width: 41%;
    right: 0;
    bottom: 0;
    opacity: 0.2;
}
.serve h3{
  font-family: var(--headEng);
  font-weight: 700;
}
.serve h2{
  font-size: 2.5em;
  font-weight: 600;
  font-family: var(--headEng);
  color:var(--blue1);
}
.serve h2 span { color:var(--pink)}

.serve p{
  color: #333;
  font-family: var(--headThai);
  font-size: 1.25em;
  line-height: normal;
  margin-top: 40px;
  letter-spacing: 0px
}
.serviceslide {
  background: rgb(19,35,47);
}
.serviceall h2 {
  font-size: 2.5em;
  font-weight: 600;
  font-family: var(--headEng);
  color:var(--blue1);
}
.serviceall h2 span { color:var(--pink)}

.serviceall p{
  color: #333;
  font-family: var(--headThai);
  font-size: 1.25em;
  line-height: normal;
  margin-top: 40px;
  letter-spacing: 0px
}
.serviceall p strong { color:var(--pink);}
.serviceall p:first-child { margin-top: 0px}

@media(max-width: 1100px){
  .serve h2{font-size: 36px;}
}

@media(max-width: 991px){
  .serve:after{width: 100%;}
  .serve .text-center.mar-top-30{margin: 0 0 30px!important;}

  .serve{text-align: center;}
}





.statement-item {
  position: relative;
    box-shadow: 0 0 10px #cccccc56;
    padding: 20px 15px;
    background: #fff;
    z-index: 1;
}

.statement-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    background: #1cba9f;
    text-align: center;
    line-height: 1.6;
    border-radius: 0 15px;
    left: 15px;
    top: 20px;
}

.statement-icon [class^="flaticon-"]:before, .statement-icon [class*=" flaticon-"]:before {
    font-size: 50px;
    color: #fff;
}

.statement-content {
    padding-left: 100px;
}

.statement-content h3{margin-bottom: 10px;}

@media(max-width: 991px){
  section.statement:before{width: 100%;}
}


@media(max-width: 639px){
  .statement-icon{position: relative; margin: 0 auto; text-align: center; left: 0; right: 0; top: 0;}

  .statement-content{padding: 15px 0 0; text-align: center;}
}




/*statement*/


section.statement{
  position: relative;
  background: url(../images/home/counter.jpg) no-repeat;
  background-position: top right;
  background-size: contain;
  background-attachment: fixed;
}

section.statement h3 {
	font-family: var(--fontth);
	font-size: 2.9em;
	font-weight: 500
}

section.statement h3 span {
	font-weight: 600;
	color: var(--maincolor);
	font-size: 1.3em
}
section.statement p {
	font-family: var(--fontth);
	font-size: 1.7em;
	font-weight: 400;
	line-height: 1.25em;
	color:#fff;
}

section.statement ul li {
	font-family: var(--fontth);
	font-size: 1.7em;
	color:#fff;
	margin-top: 25px;
	display:flex;
	align-items:flex-start;
	gap:12px;
	line-height: 1.2;
}

section.statement ul li i {
	margin-right: 10px;
	flex-shrink:0;
}

section.statement:before, section.statement:after{
  position: absolute;
  content: '';
  height: 100%;
  width: 55%;
  bottom: 0;
  left: 0;
  background: rgb(19,35,47);
}

section.statement:after {
    background: #00000023;
    width: 100%;
    z-index: 0;
}

.statement-item {
  position: relative;
    box-shadow: 0 0 10px #cccccc56;
    padding: 20px 15px;
    background: #fff;
    z-index: 1;
}

.statement-icon {
    position: absolute;
    height: 80px;
    width: 80px;
    background: #1cba9f;
    text-align: center;
    line-height: 1.6;
    border-radius: 0 15px;
    left: 15px;
    top: 20px;
}

.statement-icon [class^="flaticon-"]:before, .statement-icon [class*=" flaticon-"]:before {
    font-size: 50px;
    color: #fff;
}

.statement-content {
    padding-left: 100px;
}

.statement-content h3{margin-bottom: 10px;}

@media(max-width: 991px){
  section.statement:before{width: 100%;}
}


@media(max-width: 639px){
  .statement-icon{position: relative; margin: 0 auto; text-align: center; left: 0; right: 0; top: 0;}

  .statement-content{padding: 15px 0 0; text-align: center;}
}


/* child info*/
section.child-info{
  background: url(../images/child/mapbg.jpg) no-repeat;
  background-position: center top;
  background-size: 70%;
  background-attachment: fixed;
}
.tp-item{
  padding: 30px 0;
  text-align: right;
  position: relative;
}
.tp-right{
  text-align: left;
}
.tp-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--pink);
    height: 80px;
    width: 80px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    line-height: 2.0;
}
.tp-right .tp-icon{
  left: 0;
  right: unset;
  top: 50%;
  transform: translateY(-50%);
}
.tp-icon [class^="flaticon-"]:before,
.tp-icon [class*=" flaticon-"]:before{
  font-size: 40px;
}
.tp-content{
  padding: 0 100px 0 0;
}
.tp-right .tp-content{
  padding: 0 0 0 100px;
}
.tp-content h3{
  margin: 0;
  color: var(--pink);
}

@media(max-width: 991px){
  section.child-info{padding-bottom: 60px;}
  .tp-item{text-align: left;}
  .tp-icon{right: inherit; left: 0;}

  .tp-content{padding: 0 0 0 100px;}
}

/*Appointment*/

section.appointment{
  overflow: visible;
}

.appointment-form{
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    background-color: #ffffff;
    border-radius: 5px;
    padding: 50px;
    position: relative;
    top: -50px;
    z-index: 2;
}

@media(max-width: 991px){
  section.appointment{padding: 80px 0!important;}
  .appointment-form{top: 0px;}
}

@media(max-width: 639px){
  .appointment-form .form-group.col-xs-6{width: 100%;}
}

/*Pediatrician*/

.ped-outer{
  background: url(../images/line.png) no-repeat;
  background-position: top;
  background-size: contain;
}
.ped-item{
  text-align: center;
  padding: 0 20px;
  transition: all ease-in-out 0.3s;
}
.ped-icon{
  height: 150px;
  width: 150px;
  margin: 0 auto;
  background: #fff;
  border: 5px solid #ccc;
  padding: 40px;
  border-radius: 50%;
  transition: all ease-in-out 0.3s;
}
.ped-content{
  padding-top: 15px;
}
.ped-content h3 {
	font-size: 1.5;
	font-weight: 800;
	margin-bottom: 0px
}

.ped-content p {
	font-size: 1.5em;
}
.pediatrician .section-title {
	position: relative;
}
.pediatrician  .section-title::before,
.pediatrician  .section-title::after {
    position: absolute;
    font-size: 120px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(0, 123, 255, 0.15); /* ปรับสีตามธีม */
    font-weight: bold;
    z-index: -1;
}

.pediatrician .section-title::before {
    content: "“";
    margin-left: -260px;
    top: -30px;
}

.pediatrician .section-title::after {
    content: "”";
    margin-left: 200px;
    bottom: -60px;
}

.pediatrician .section-title h2 {
	font-size: 3.5em;
	font-family: var(--fontth);
	color: var(--maincolor);
	line-height: 0.95;
	margin-bottom: 35px;
}

.pediatrician .section-title h3 {
    font-size: 2.5em;
	font-family: var(--fontth);
	font-weight: 400;
}

.pediatrician .section-title p {
	font-size: 1.65em;
	line-height: 1.25em;
	margin-top: 10px
}
.mar-n-30{
  margin-top: -30px;
}
.ped-item:hover{
  transform: translateY(-10px);
}
.ped-item:hover .ped-icon{
  border-color: var(--maincolor);
}
@media(max-width: 991px){
  section.pediatrician{padding-bottom: 50px;}

  .mar-n-30{margin: 0 0 30px;}
}

@media(max-width: 767px){
  .ped-item{margin-bottom: 30px!important;}
}

/*Counter*/

section.counter {
    background: #033b4a;
}

.counter-item {
    background: #ffffff52;
    border-radius: 50%;
    height: 230px;
    width: 230px;
    margin: 0 auto;
    padding: 10px;
}

.counter-content {
    position: relative;
    z-index: 1;
    padding: 55px;
    border-radius: 10px 0;
    text-align: center;
    background: #005b6f;
    border-radius: 50%;
    height: 210px;
    width: 210px;
    margin: 0 auto;
}

.counter-item h2,
.counter-item p{
  color: #fff;
}
.counter-item h2{
  font-size: 50px;
  line-height: 0.8;
}
.counter-item p{
  font-size: 18px;
}

@media(max-width: 991px){
  section.counter{padding-bottom: 50px;}
  .counter-item{margin-bottom: 30px;}
}

/*Testimonial section*/

section.testimonial{
  position: relative;
  background: url('../pic_data/testimonialbg.jpg') no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  padding-top: 80px;
}
.testimonial:before{
  position: absolute;
  content: '';
  height: 100%;
  width: 75%;
  bottom: 0;
  left: 0;
  background: var(--blue1);
}
.row.testimonial-slider{
  z-index: 3;
  margin: 0 -15px;
}
.slider-item{
  position: relative;
}

.testi-image {
   position: relative;
   z-index: 1;
   margin-bottom:-120px;
   margin-top: -70px;
}

.testi-image img{width: 100%;}
.txtdetail {
   font-family: var(--headThai);
}

.quote-icon{
  position: absolute;
  left: 20px;
  top: 40px;
  height: 40px;
  width: 40px;
  background: var(--pink);
  border-radius: 50%;
  padding: 10px;
}
.testimonial-image{
  width: 80px;
  float: left;
  border-radius: 50%;
  overflow: hidden;  
}
.author-content{
  padding-left: 100px;
}
.author-content h3 {
  font-weight: 600;
  color: var(--pink);
} 
.author-content p {
  font-family: var(--headThai);
  color: var(--blue3);
}
.rating{
  position: absolute;
  top: 30px;
  right: 30px;
}
.rating span{
  font-size: 14px;
}
.rating .checked {
  color: #ffa500;
}

@media(max-width: 991px){
  .testimonial:before{width: 100%;}

  .testi-image{margin-top: 30px;}
}

@media(max-width: 639px){
  .rating{position: relative; top: 0; right: 0; margin-bottom: 10px;}
}



/*certified-banner*/
.certified-banner:after {
    background: url(../pic_data/waterbg.png) no-repeat;
    background-position: right bottom;
    background-size: contain;
    transform: rotate(-180deg);
    content: '';
    position: absolute;
    height: 100%;
    width: 41%;
    right: 0;
    bottom: 0;
    opacity: 0.2;
}
.certified-banner h2{font-size: 40px;}

@media(max-width: 1100px){
  .certified-banner h2{font-size: 36px;}
}

@media(max-width: 991px){
  .certified-banner:after{width: 100%;}
  .certified-banner .text-center.mar-top-30{margin: 0 0 30px!important;}

  .certified-banner{text-align: center;}
}
/*Newsletter*/

section.newsletter{
  overflow: visible;
  padding:40px 0;
  background: var(--pink);
}
section.newsletter:after{
  content: '';
  background: #2d4454;
  position: absolute;
  right:0;
  top: 0;
  width: 51%;
  height: 100%;
  z-index: 1;
}
.newsletter-content{
  position: relative;
  z-index: 2;
}

.subscribe-form form{
  position: relative;
  overflow: hidden;
  margin-top: 21px;
}
.subscribe-form input{
  padding: 25px 145px 25px 25px;
}
.subscribe-form a {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 16px 25px;
    background: #00a3c8;
    color: #fff;
    font-size: 15px;
}
.subscribe-form a:hover{
  background: var(--pink);
}

@media(max-width: 639px){
  section.newsletter:after{width: 100%;}

  .subscribe-form{text-align: center;}
}

@media(max-width: 567px){
  .subscribe-form a{position: relative; top: inherit; right: inherit; display: inherit;}
}

/*Footer*/

footer{
  background: var(--blue);
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 50px;
}
footer h3{
  color: #fff;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
footer p.credit {
  font-family: var(--headThai);
  text-align: center;
  color:#b5babd;
  margin-top:20px;
}

.menufoot a {
	font-size: 1.4em;
}

.lower-footer .group2 {
	margin-top: 55px
}

footer a,
footer li{
  color: #b5babd;
  font-size: 15px;
  font-family: var(--fontth);
}
.copyright p {
  color: #b5babd;
  font-size: 0.75em;
  font-family: var(--fontth);
  font-weight: 400
} 

footer li:last-child{
  margin-bottom: 0;
}

footer .f-contact{
  background: #2c4353;
  padding: 30px;
  border-radius: 100px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.16);
}

footer .f-contact-inner{
  display: flex;
}

footer .f-contact .contact-icon i{
  height: 50px;
  width: 50px;
  border: 1px solid #ffffff26;
  line-height: 1.8;
  text-align: center;
  font-size: 28px;
  color: #fff;
  margin-right: 15px;
  background: #ffffff36;
  border-radius: 50px;
}

footer .f-contact p { color:#acacac; font-size: 1.35em; margin-bottom: 0px}
footer .f-contact span{display: block; font-family: var(--fontth);font-size: 1.5em;line-height: 1}
footer .f-contact span:first-child{font-size: 2em; font-weight: 500;line-height: 1.2}

.work-time ul {
    border: 1px solid #2d4658;
    background: #ffffff10;
}

.work-time ul li {
    border-bottom: 1px solid #2d4658;
    padding: 10px;
    margin: 0;
}

.work-time ul li:last-child {
    border-bottom: 0;
}

.footer-content{
  position: relative;
  z-index: 1;
}

.footer-content h2 {
	font-weight: 600;
	color:#fff;
	font-size: 1.4em
}

.footer-content p {
	font-size: 1.4em;
	color:#939393
}
footer li { margin-bottom: 5px;}
footer li a {
	text-transform: uppercase;
}
.lower-footer{
  border-bottom: 1px dashed #ffffff26;
}
.footer-contact{
  padding:0px;
}
.footer-logo img {
  width:110px
}

.work-time li span{
  float: right;
}
.copyright{
  padding: 15px 0;
  text-align: center;
}

@media(min-width:1024px) and (max-width: 1100px){
  .work-time ul li{padding: 10px 5px;}
}


@media(max-width: 991px){
  footer .f-contact{padding-bottom: 0;}
  footer .f-contact-inner{margin-bottom: 30px;}
  .footer-contact{margin:0 0 30px!important;}
}

@media(max-width: 767px){
  .footer-content .col-xs-12{margin-bottom: 30px;}

  .lower-footer{padding-bottom: 20px!important;}

  .footer-contact{padding: 20px;}
}

@media(max-width: 639px){
  footer .f-contact{padding: 30px 20px 0;}

  .footer-contact{text-align: center;}
}

/* maindoctor*/
section.maindoctor:before{
    content: '';
    background: linear-gradient(to right, #c6dee4, transparent);
    position: absolute;
    left: -136px;
    height: 100%;
    width: 50%;
    top: 0;
}

.maindoctor-image {
    border-radius: 50%;
    background: #fff;
    height: 340px;
    width: 340px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 0 15px 0 rgba(41,61,88,.1);
}

.maindoctor-content p{
  margin: 15px 0 20px;
  font-family: var(--headThai);
  font-size: 1.15em;
  line-height: normal;
}
.maindoctor-content h4{
  font-family: var(--headEng);
  font-weight: 900;
  color: var(--blue2);
}
.maindoctor-content h2{
  color: var(--blue1);
  font-weight: 600;
  font-family: var(--headThai)!important;
}
img.signature{
  width: 200px;
}

@media(max-width: 1100px) and (min-width: 1024px){
  .maindoctor-content{padding-left: 60px;}
}

@media(max-width: 767px){
  section.maindoctor:before{width: 100%;}
  .maindoctor-list{text-align: center;}
  .maindoctor-image{margin: 0 auto; height: 250px; width: 250px;}
  .maindoctor-content{margin-top: 30px;}
}

/*Promotion section*/
section.promotion{
  position: relative;
  background: url('../images/ophthalmology/slider/slider3.jpg') no-repeat;
  background-position: left;
  background-size: cover;
  background-attachment: fixed;
}
.promotion:before{
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  bottom: 0;
  left: 0;
  background: rgba(19,35,47,0.9);
}
.row.promotion-slider1{
  z-index: 3;
  margin: 0 -15px;
}
.promotion .slider-itemx {
  position: relative;
  padding: 0px;  
  background: transparent;
  border-radius: 15px 0;
  margin-bottom: 15px;
  overflow: hidden;
}

@media(max-width: 639px){
  .rating{position: relative; top: 0; right: 0; margin-bottom: 10px;}
}


/* VDO*/

section.vdo {
  background: url(../images/child/mapbg.jpg) no-repeat;
  background-position: center top;
  background-size: 70%;
  background-attachment: fixed;
}
.vdo-image{
  position: relative;
}

.vdo-item{
  background: #fff;
  position: relative;
  z-index: 1;
  box-shadow:0 0 15px 0 rgba(41,61,88,.1);
  border-radius: 10px 0;
  overflow: hidden;
}
.vdo-content {
    padding: 15px 20px 0px 20px;
    background: #fff;
    position: relative;
}

.vdo-content h3 {
    padding-bottom: 0px;
    font-weight: 600;
    font-size: 1.2em
}

.vdo-content a.link{
  font-size: 14px;
  display: inline-block;
  color: var(--pink);
  margin-right: 5px;
}

.bloglink {
  background-color: var(--blue2);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.75em;
  color:#fff;
  font-weight: 600
}
.bloglink:hover {
  background-color: var(--pink);
  color:#fff;
}

@media(max-width: 991px){
  section.news{padding-bottom: 50px;}
  .news .col-md-4{margin-bottom: 30px;}

  .news-date{position: relative; top: inherit;left: inherit;}

  .news-content h3{padding: 15px 0 15px;}
}


/*breadcrumb Page*/

section.breadcrumb{
  background:-webkit-linear-gradient(#f7f7f7 2.32%, #ceeeef 100%);
  border-radius: 0;
}
.breadcrumb-outer{
  padding: 120px 0 0;
  position: relative;
  z-index: 1;
}

.breadcrumb{
  margin: 0;
  padding: 0;
}
.breadcrumb h2{
  font-size: 3.7em;
  letter-spacing: -1px;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
  margin: 0 0 0px 0px;
  color: var(--maincolor);
  line-height: 70px;
  text-shadow: 0 10px 10px #00000020;
  font-family: var(--headEng);
}
.breadcrumb a{
  color:#b1b1b1;
}

.breadcrumb a:hover{text-decoration: underline!important;}

.breadcrumb li,
.breadcrumb li.active{
  margin-bottom: 0;
  color: var(--maincolor);
}
.breadcrumb nav{
  position: absolute;
  bottom: 70px;
  left: 0;
}
ul.breadcrumb{
  display: inline-block;
  margin-top: 5px;
  background:transparent;
  text-transform: uppercase;
}

ul.breadcrumb li {
  font-size:0.9em
}

.breadcrumb>li+li:before{color: var(--maincolor); content: '✦';}

/*@media(max-width: 991px){
  .breadcrumb-outer{text-align: center; padding: 180px 0 60px;}

  .breadcrumb nav {
    position: relative;
    bottom: inherit;
    left: inherit;
  }

  .breadcrumb h2 {
    font-size: 36px;
    line-height: 1.2;
    position: relative;
    margin: 6px 0 0px;
  }
}
*/
@media(max-width: 639px){

  .breadcrumb h2 {
    font-size: 50px!important;
    margin-bottom: -19px;
    line-height: normal
  }
}

@media(max-width: 420px){
  .breadcrumb h2 {
    font-size: 1.5em;
  }
}


/*Contact Us Page*/

#map{
  width: 100%;
  height: 400px;
}

.map {
    border-radius: 10px 0;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 0 10px #cccccc57;
}

.contact-inner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0px 15px #cccccc58;
    top: -80px;
    width: 95%;
    margin: 0 auto;
    background: #fff;
}

.contact1 .contact-inner{
  top:0;
  width: 100%;
  box-shadow: none;
  border-radius: 0;
} 

.contact-inner:before {
    background: #033b4a;
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
}

.contact1 .contact-inner:before {display: none;}

.contact-inner .contact-detail {
    padding: 30px;
}

.contact1 .contact-inner .contact-detail{
    background: #033b4a;
    border-radius: 10px 0;
}

.contact-detail h2 {
	font-family: var(--fontth);
	line-height: 1;
	color: var(--maincolor);
    margin-bottom: 40px
}
.contact-detail p.subtitle {
	font-size: 2em;
	margin-bottom: 20px
}
.contact-detail p{
	font-size: 1.5em;
	margin-bottom: 20px
}

.linefrm { width: 70%;}
.linefrm img { width:100%;}


.centered-column {
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering */
    height: 500px;           /* Height is required for vertical centering */
}

.contact-inner form {
    padding: 30px 30px 30px 0px;
}

.contact1 .contact-inner form{padding: 0;} 

p.contact {
    background: #1d4752;
    padding: 10px 15px 10px 60px;
    position: relative;
    border-radius: 10px 0;
    overflow: hidden;
}

p.contact span {
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}

p.contact i {
    background: #112f38;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 45px;
    text-align: center;
    font-size: 21px;
    line-height: 2.1;
}

.contact1 p.contact i {line-height: 3.3;}

@media(max-width: 991px){
  .contact-inner:before{width: 100%; height: 42%;}

  .contact-inner form{padding: 30px;}

  .contact1 p.contact{margin-bottom: 30px;}
  .contact1 .contact-inner .contact-detail{padding-bottom: 0;}

  .contact1 .contact-inner form{margin-top: 30px;}
}

@media(max-width: 735px){
  .contact-inner{top: 30px; width: 100%;}
  section.contact{padding-bottom: 80px!important;}
}

@media(max-width: 639px){
  .contact-inner:before{max-height: 32%;}
  .contact-inner .form-group.col-xs-6{width: 100%;}
}

@media(max-width: 567px){

}


/*Event Section*/

.event-item{
  position: relative;
}

.event-item:after{
  position: absolute;
  content: '';
  height: 150px;
  width: 250px;
  background: linear-gradient(to right, var(--blue2) 0%, var(--blue3) 100%);
  top: -10px;
  left: 0px;
  border-radius: 10px 0;
}
.event-content{
  z-index: 1;
  position: relative;
  padding: 20px;
  box-shadow:0 0 15px 0 rgba(41,61,88,.1);
  margin: 10px 0 0 10px;
  background: #e8e8e8;
  border-radius: 10px 0;
}
.event-title{
  display: flex;  
  padding-bottom: 15px;
  border-bottom: 1px dashed #cdcdcd;
}


.event-list{display: flex;}

.event-image{
  width: 75px;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}
.reviewer{
  width: calc( 100% - 150px);
  padding: 15px 0 0 20px;
}
.reviewer h4{
  font-family: var(--headThai);
  font-weight: 600;
  font-size: 1.3em;
  margin-bottom: 0px;
  color:var(--blue1);
}
.reviewer p{
  font-family: var(--headThai);
  font-weight: 600;
  margin-top: 0px;
}
.event-title p{
  display: inline-block;
}
.event-date{
  width: 75px;
  height: 75px;
  background: #00a3c8;
  text-align: center;
}
.event-date p{
  color: #fff;
  font-size: 18px;
}
.event-date span{
  font-size: 40px;
  display: block;
  margin-bottom: 5px;
}
.event-detail li{
  display: inline-block;
  font-size: 13px;
}
.event-detail li i{
  color: #00a3c8;
  margin-right: 5px;
}



/*Service Detail*/
.service-detail {
	padding-top: 5px
}
.service-detail h3.subhead {
	font-family: var(--headEng), var(--headThai);
	font-weight: 700;
	color: var(--blue2);
	font-size: 2.5em
}

@media(max-width: 639px){

 .service-detail h3.subhead {
    font-size: 2em;
    line-height: normal;
    margin-top: 5px
  }
}

.detail-desc ul{
  margin-bottom: 20px;
  border: 1px solid #f1f1f1;
  border-radius: 10px 0;
  padding: 10px 20px;
  background: #fbfbfb;
}

.detail-desc ul li{
  width: 49%;
  display: inline-block;
  padding-left: 25px;
  position: relative;
  margin: 0;
  text-transform: uppercase;
  line-height: 3;
}
.detail-desc ul li:before{
  position: absolute;
  top: 0;
  left: 0;
  content: '\f0f9';
  font-family: 'fontawesome';
  font-size: 15px;
  color: #1db9a0;
}
thead td{
  color: #1DB9A0;
  font-weight: 600;
}

@media(max-width: 735px){
  .detail-desc ul li{width: 100%;}
}

.sidebar-box{
  margin-bottom: 30px;
}

.sidebar-box .search-form {
    position: relative;
}

.sidebar-box .search-form label{
    width: 100%;
    margin: 0;
}

.sidebar-box .search-form input[type="search"]{padding-right: 80px;} 

.sidebar-box .search-form input[type="submit"] {
    height: 42px;
    color: #fff;
    top: 15px;
    right: 15px;
    background: #1db9a0;
    position: absolute;
    border-radius: 0;
}

.sidebar-title h3{
  position: relative;
  display: inline-block;
  font-family: var(--headEng);
  font-weight: 600
}
.sidebar-title h3:after{
  position: absolute;
  content: '';
  right: -50px;
  top: 15px;
  border-top: 3px solid var(--blue3);
  width: 40px;
  height: 0;
}
.sidebar-content ul li{
  display: inline-block;
  width: 100%;
  margin: 0;
  transition: all ease-in-out 0.5s;
}
.sidebar-content ul li a{
	text-transform: uppercase;
	font-family: var(--headEng),var(--headThai);
}

.sidebar-content ul li a, .sidebar-box form, .recent-item{
    margin-bottom: 15px;
    padding: 15px;
    background: #ededed;
    border-radius: 50px;
    display: inline-block;
    width: 100%;
    color: #181d31;
    transition: all ease-in-out 0.5s;
    border: none;
    text-align: center;
}

.sidebar-box form{margin-bottom: 0;}

.sidebar-content ul li:last-child a, .recent-item:last-child{margin-bottom: 0;}

.sidebar-content ul li.active a, .sidebar-content ul li a:hover {
    background: linear-gradient(to right, var(--maincolor) 0%, var(--blue) 100%);
    color: #fff;
    transition: all ease-in-out 0.5s;
}

.latest-tweets ul>li {
    position: relative;
    padding-left: 28px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.latest-tweets ul>li:last-child{border: none; padding-bottom: 0; margin: 0;}

.latest-tweets{position: relative;}

.latest-tweets p.tweet-text:before {
    content: "\f099";
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-size: 20px;
    position: absolute;
    left: 0;
    padding-top: 5px;
    color: #01d6a3;
}

.tagcloud a {
    border: 1px solid #f1f1f1;
    border-radius: 5px 0;
    padding: 8px 10px;
    display: inline-block;
    margin-bottom: 3px;
}

.sidebar-ad {
    position: relative;
    padding: 87px 30px;
    background: linear-gradient(to bottom, #1DB9A0 0%, #4d94c4 100%);
    border-radius: 10px 0;
    box-shadow: 0 0 10px #cccccc42;
    overflow: hidden;
}
.sidebar-ad:before{
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
}

.ad-content{
  position: relative;
  z-index: 1;
  text-align: center;
}
.ad-content p,
.ad-content h3{
  color: #fff;
}
.ad-content h3{
  margin: 15px 0 20px;
}

@media(max-width: 991px){
  .detail-sidebar, .sidebar{margin-top: 30px;}
}

.detail-sidebar.service {
	margin-top:65px
}
.list_item {
    background-color: #F1F1F1;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    margin: 5px 15px 2px;
    padding: 2px;
    font-size: 14px;
    line-height: 1.5;
}
.show_more_main {
    margin: 15px 25px;
    clear: both; 
    position: relative;
}
.show_more {
    background-color: var(--blue3);
    border: 1px solid;
    border-color: var(--blue3);
    color: #333;
    font-size: 14px;
    outline: 0;
    font-family: var(--headThai);;
    width:150px;
    margin: 0 auto;
    border-radius: 5px
}
.show_more:hover {
	background-color: #c9d2e1;
	border: 1px solid #c9d2e1;
}
.show_more {
    cursor: pointer;
    display: block;
    padding: 6px 0 4px 0;
    text-align: center;
    font-weight:bold;
}
.loding {
    background-color: var(--pink);
    border: 1px solid;
    border-color: var(--pink);
    color: #333;
    font-size: 14px;
    display: block;
    text-align: center;
    padding: 5px 0;
    outline: 0;
    font-weight:bold;
    width:150px;
    margin: 0 auto;
    border-radius: 5px;
}
.loding_txt {
    background-image: url(../pic_data/loading.apng);
    background-position: left;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position-x: 0px;
    border: 0;
    height: 20px;
    display: inline-block;
    padding-left: 30px
}

@media (min-width:992px){
    .row.auto-clear .col-md-6:nth-child(2n+1){clear:left;}
    .row.auto-clear .col-md-4:nth-child(3n+1){clear:left;}
}



/*Blog Page*/


.view-port{
    position: fixed;
    top:30%;
    right: 0px;
    z-index: 99;
}

.view-port a{color: #fff!important;}

.view-port a i{padding:0 12px 0 10px;}

.dark-mode{
    transition: all ease-in-out 0.5s;
    background: #333;
    padding:10px;
    text-align: center;
    position: relative;
    top: 0;
    right: -90px;
} 

.dark-mode:hover{
    right: 0;
    transition: all ease-in-out 0.5s;
    background: #000;
}

.light-mode{
    background: #1db89f;
    padding:10px;
    text-align: center;
    position: relative;
    top: 0px;
    right: -90px;
    transition: all ease-in-out 0.5s;
} 

.light-mode:hover{
    right: 0;
    transition: all ease-in-out 0.5s;
    background: #24d6b9;
}

.blog-home .main_header_area{
  position: relative;
}

.blog-home .top-bar {
    overflow: hidden;
    background: #033b4a;
}

.blog-home  .header_menu.affix .navbar.navbar-default .navbar-header .navbar-brand img{display: block;}

.blog-home .header_menu .navbar.navbar-default .nav.navbar-nav li a{color: #242424;}

.blog-home header .navbar-default .navbar-nav>li.active, .blog-home header .navbar-default .navbar-nav>li.active>a, 
.blog-home header .navbar-default .navbar-nav > li > a:hover,
.blog-home .header_menu .navbar.navbar-default .nav.navbar-nav li:hover a, 
.blog-home .header_menu .navbar.navbar-default .nav.navbar-nav li.active a{
    background: transparent;
    color: #00a3c8;
}
section.blog-main {
    padding-top: 0;
}

section.blog-main .col-md-4{padding: 0;}

section.blog-main .news-item{box-shadow: none; border-radius: 0;}

.blog-main .news-content {
    position: absolute;
    bottom: 0;
    background: #00000065;
    padding:20px;
    border: 0;
    z-index: 1;
    width: 100%;
}

.blog-main .news-content h3 {
    border-bottom: none;
    padding-bottom: 0px;
    margin: 0;
    text-align: center;
}

.blog-main .slick-prev{left: 0;}

.blog-main .slick-next{right: 0;}

.blog-home .blog-grid .col-md-8{width: 70%;}

.blog-home .blog-grid .col-md-4{width: 30%}

.blog-home .news-item.ads-banner-img{
    border: 5px solid #fff;
}

.blog-item{
  display: flex;
  position: relative;
  margin-bottom: 30px;
  background: #fff;
  overflow: hidden;
  height: inherit;
  box-shadow: 0 0 15px #cccccc30;
  transition: all ease-in-out 0.5s;
  border-radius: 10px 0px;
}
.blog-item:hover{
  transition: all ease-in-out 0.5s;
  transform: translateY(-5px);
}
.blog-image{
  position: relative;
  overflow: hidden;
  width: 45%;
}
.blog-image img{
  transition: all ease-in-out 0.5s;
}
.blog-item:hover .blog-image img{
  transform: scale(1.1);
}

.blog-item .news-content{width: 60%; padding: 20px;}

.blog-item .news-content .news-date{
  position: inherit;
  left: inherit;
  top: inherit;
}

.blog-home .blog-item .news-content .news-date{
  position: absolute;
  left: 20px;
  top: 20px;
}

.blog-item .news-content h3{padding-bottom: 10px; margin-bottom: 10px;}

.blog-item.blog-listing .news-content h3{padding-bottom: 22px;}

.news-content.blog-full{
  width: 100%;
}

section.news.blog-grid.blog-masonry{
  width: 1140px;
  margin: 0 auto;
  padding: 72px 15px 80px;
}

.blog-grid .news-date {
    top: 30px;
    position: absolute;
    left: 20px;
    background: #1db9a0;
    height: 70px;
    width: 70px;
    text-align: center;
    padding-top: 15px;
    border-radius: 50%;
}

.blog-grid .news-title h3 {
    padding-left: 0px;
}

.post-detail p{
  display: inline-block;
  margin-right: 10px;
}
.post-detail .timex {
	padding: 3px 15px;
	background-color: var(--blue2);
	color:#fff;
	border-radius: 50px;
	font-size: 0.85em
}
.post-detail .timex2 {
	padding: 0px 10px;
	background-color: var(--blue2);
	color:#fff;
	border-radius: 50px;
	font-size: 0.65em
}
.post-detail i{
  margin-right: 3px;
  color: #1DB9A0;
}
.blog-detail a.btn{
  margin-top: 7px;
}
.blog-tag li{
  display: inline-block;
  padding: 6px 15px;
  border-radius: 26px;
  margin-right: 5px;
  background: #c48b0b;
}
.blog-tag li a{
  color: #fff;
}

.recent-image{
  width: 25%;
  float: left;
  margin-right: 15px;
  border-radius: 10px 0;
  overflow: hidden;
}
.recent-content h4{
  margin: 0;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 16px;
}
.recent-content p{
  font-size: 13px;
}
.blog .news-item{
  margin-bottom: 15px;
}

.detail-content :is(h1, h2, h3, h4, h5, h6) {
	color:var(--blue1);
}
.detail-content p{
  font-family: var(--headThai);
  font-size: 1.15em;
  line-height: normal;
  margin-bottom: 25px
}
.detail-content.service ol {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 40px;
}
.detail-content.service ol li{
  font-size: 1.15em;
  color:#666;
  padding-left: 10px
}
.detail-content.service ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 40px;
}
.detail-box, .comments{
  box-shadow: 0px 0px 15px #cccccc57;
  padding: 30px;
  border-radius: 10px 0;
}

.detail-content.service ul li{
  font-family: var(--headThai);
  font-size: 1.15em;
  color:#666;
  font-weight: 400;
  padding-left: 10px
}

.post-detail p{margin-bottom: 0;}

.detail-image{overflow: hidden; border-radius: 10px 0;}

.detail-author{
  display: flex;
}
.author-image{
  width: 15%;
}

.author-main .author-image{width: 100%;}

.author-main .author-image img{height: 100px; width: 100px;}

.author-desc{
  padding-left: 30px;
}

.author-desc h3{margin-bottom: 5px;}

.author-desc p {
    font-style: inherit;
    font-size: 14px;
}

.author-desc li{
  display: inline-block;
  margin-right: 10px;
}

.comment-item {
  display: flex;
  padding: 15px;
  border: 1px solid #f1f1f1;
  margin-bottom: 30px;
  border-radius: 10px 0;
}
.comment-image {
  flex: 0 1 100px;
  padding: 0 20px 0 0;
}
.comment-content {
  flex: 1 1 100%;
}
.comment-content h4 {
  display: inline-block;
  margin-bottom: 10px;
} 
.comment-content p.date {
  display: inline-block;
  float: right;
}

.comment-content .btn{padding: 6px 14px; font-size: 14px;}

ul.reply{
  margin-left: 30px;
}
.comment-image img,
.author-image img{
  border-radius: 50%;
  border: 2px solid #1DB9A0;
}

.article-footer {
    display: inline-block;
    width: 100%;
    border-top: 1px dashed #f1f1f1;
    padding-top: 15px;
    margin-top: 15px;
}

.article-footer .article-share .social {
    padding-left: 0;
    list-style-type: none;
    text-align: right;
    margin-bottom: 0;
}

.article-footer .article-share .social li {
    display: inline-block;
    margin-bottom: 0;
}

.article-footer .article-share .social li span {
    display: inline-block;
    margin-right: 2px;
    font-weight: 500;
    color: #6d7a8c;
}

.article-footer .article-share .social li a {
    display: block;
    color: var(--blue1);
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background-color: #eeeef0;
    text-align: center;
    font-size: 14px;
}

@media(max-width: 991px){
  .blog-home .navbar-default .navbar-toggle .icon-bar{background-color: #1db9a0;}

  .blog-home .blog-grid .col-md-8, section.news.blog-grid .col-md-4{width: 100%; padding: 0 15px;}

  section.news.blog-grid{padding-bottom: 50px;}
  section.news.blog-grid .col-md-4{margin-bottom: 30px;}

  section.news.blog-grid .news-date, .blog-home .blog-item .news-content .news-date{position: relative; top: inherit;left: inherit;}

  section.news.blog-grid .news-title h3{padding: 15px 0 15px;}
  section.about-us .section-title { margin-top: 20px!important}
  .recent-image{width: 10%;}
}

@media(max-width: 767px){
  .blog-item{display: block;}

  .blog-image, .blog-item .news-content{width: 100%;}
  .recent-item{margin-bottom: 30px;}
  .recent-image {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 0;
    height: 250px;
  }

  .recent-image img{width: 100%;}
}


.about-us-image{
  position: relative;
  z-index: 1;
}

.about-us-image img{
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 0 15px #cccccc57;
  float: right;
}

.about-us-image .about-txt {
    position: absolute;
    left:0;
    top: 0;
    border: 5px solid #ffffff;
    background-color: var(--maincolor);
    color: #ffffff;
    width: 200px;
    border-radius: 50%;
    text-align: center;
    height: 200px;
}

.about-us-image .about-txt p {
    color: #ffffff;
    line-height: initial;
    text-transform: uppercase;
    position: absolute;
    right: 0;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-45%);
    transform: translateY(-45%);
    font-size: 2em;
    font-weight: 700;
}


.row.about-slider{
  z-index: 3;
  margin: 0 -15px;
}
.slider-item{
  position: relative;
}

.row.about-slider .slider-content {
  overflow: hidden;
  height: 457px;
}

.row.about-slider .slider-content img {
	border-radius: 25px 0px 25px 0px
}

/*Counter*/

section.counter {
    background: #223a66 url(../images/home/counter.jpg) no-repeat;
    background-size: contain;
    background-position: right bottom;
    background-attachment: fixed;
}
section.counter:before {
    content: '';
    background: #033b4a;
    position: absolute;
    top: 0;
    left:  0;
    height: 100%;
    width: 60%;
}

.counter-item{
  position: relative;
  z-index: 1;
  display: flex;
  border: 1px solid #ffffff36;
  padding: 20px;
  border-radius: 10px 0;
}
.counter-item [class^="flaticon-"]:before, .counter-item [class*=" flaticon-"]:before,
.counter-item [class^="fa-"]:before, .counter-item [class*=" fa-"]:before{
  font-size: 48px;
  color: #fff;
}

.counter-content{
  padding-left: 20px;
}
.counter-item h2,
.counter-item p{
  color: #fff;
}
.counter-item h2{
  font-size: 50px;
  line-height: 0.8;
}
.counter-item p{
  font-size: 18px;
}

@media(max-width: 1100px){
  section.counter{background-attachment: inherit;}
}

@media(max-width: 991px){
  section.counter:before{width: 100%;}
}

@media(max-width: 767px){
  section.counter{padding-bottom: 50px;}

  .counter-item{margin-bottom: 30px!important;}

  .counter-main .col-xs-12{margin-top: 0!important;}
}
/*about us*/

section.counter.counter-about{background: linear-gradient(135deg,  var(--blue) 0%, #184664 49.67%, var(--maincolor) 100%);}

section.counter.counter-about:before{ display: none;}
section.counter.counter-about:after{

	background: url('../images/mainlogo-transparent.svg') no-repeat;
    content: '';
    position: absolute;
    height: 1100px;
    width: 1100px;
    right: -30%;
    bottom: -65%;
    opacity: 0.1
    
}

section.counter.counter-about .counter-item{padding: 20px 15px;}

section.counter.counter-about h3 {font-family: var(--fontth); font-size: 2.3em; font-weight: 400}
section.counter.counter-about h2 { font-size: 2.2em; font-weight: 700}


section.about-us .section-title {
	font-family: var(--fontth);
	margin-top: 170px
}
section.about-us .section-title .subpre{
	font-weight: 500;
	font-size: var(--text-2xl);
}
section.about-us .section-title .titlebold {
	font-weight: 600;
	font-size: 5em;
	color: var(--maincolor); 
	margin-top: -15px;
}
section.about-us .section-title .subpost {
	font-weight: 500;
	font-size: var(--text-2xl);
	margin-top: -15px
}


.about-service h3 {
	font-family: var(--fontth);
	font-size: 2.8em;
	font-weight: 600
}
.about-service p {
	font-family: var(--fontth);
	font-size: 1.7em;
	font-weight: 400;
	line-height: 1.2
}

.about-service ul {
	padding-left: 90px;
	list-style: circle
}

.about-service ul li {
	font-family: var(--fontth);
	font-size: 1.7em;
	font-weight: 400
}


@media(max-width: 991px){
   .about-us-image{text-align: center; width: 80%; margin:30px auto 0;}

  .about-us-image img{float: none;}
}


@media(max-width: 735px){
  .about-item{display: block; margin-bottom: 20px;}
  .about-icon{margin:0 auto; position: relative;}
  .about-desc{padding:20px 0 0; text-align: center;}

}

@media(max-width: 567px){
  .about-us-image{width:100%;}
  .about-us-image img{width: 300px; height: 300px;}
}


/*Service Section*/
section.services .section-title {
    margin-bottom: 70px;
}

section.services .section-title h2 {
	font-family: var(--fontth);
	font-size: var(--text-3xl);
}

.service-item{
  padding: 160px 30px 30px 30px; 
  background: #f9f9f9;  
  text-align: center;
  position: relative;
  z-index: 1;
  border-radius: 15px;
}
.service-item:hover{
	background: #f3f3f3;
} 
.service-icon {
    background: #1cba9f;
    height: 160px;
    width: 160px;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 50%;
    line-height: 2;
    box-shadow: 0 0 15px #ccc;
    border: 3px solid #fff;
    overflow: hidden
}

.service-item .service-content p{
	font-size: var(--text-base);
}


.child-2{
  background: #558dca !important;
}
.child-3{
  background: #223a66 !important;
}
.service-item [class^="flaticon-"]:before, 
.service-item [class*=" flaticon-"]:before{
  font-size: 50px;
  color: #fff;
}
.service-content {
	height: 100px
}
.service-content h3{
  font-size: 22px;
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  color: var(--maincolor);
}
.service-item::before, .service-item::after{
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  content: '';
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}
.service-item::after{
  border-right: 2px solid var(--maincolor);
  border-left: 2px solid var(--maincolor);
  transform: scale(1, 0);
  border-radius: 15px
}
.service-item::before{
  border-top: 2px solid var(--maincolor);
  border-bottom: 2px solid var(--maincolor);
  transform: scale(0, 1);
  border-radius: 15px
}
.service-item:hover:after,
.service-item:hover:before{
  opacity: 1;
  transform: scale(1);
}

@media(max-width: 991px){
  .service-item{margin-bottom: 70px!important;}
  section.services{padding-bottom: 10px!important;}
}
/*service-child*/

section.service-child .service-child-item{
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 9; 
  background: #0a748c;
  margin: 0;
  box-shadow: 0 0px 15px #cccccc56;
    border: 8px solid #fff;
    border-radius: 10px 0;
}
section.service-child .service-child-icon{
  background: inherit;
}
section.service-child .child-2{
  background: #23a48e !important;
}
section.service-child .service-child-item [class^="flaticon-"]:before, 
section.service-child .service-child-item [class*=" flaticon-"]:before{
  font-size: 50px;
  color: #fff;
}
section.service-child .service-content h3{
  font-size: 24px;
  color: #fff;
}
section.service-child .service-content p{
  color: #fff;
}
section.service-child .service-item:hover:after,
section.service-child .service-item:hover:before{
  opacity: 0;
}




.timeline-list {
  padding-bottom: 1em;
  position: relative;
  max-width: 100%;
  margin: 0 0 0 20px;
}
.timeline-list:before {
  content: "";
  border-left: 5px solid #CCC;
  left: -10px;
  top: 2em;
  height: 100%;
  position: absolute;
  bottom: 0;
  top: 0;
  transform-origin: 0 0;
  -webkit-animation: scaleVertical 3s 1s ease both 1;
          animation: scaleVertical 3s 1s ease both 1;
}
.timeline-list:after {
  content: "";
  clear: both;
  position: absolute;
  bottom: 0px;
  left: -18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: none repeat scroll 0% 0% #DDD;
  border: 5px solid #DDD;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  -webkit-animation: revealScaleUp 0.75s 2.82s ease both 1;
          animation: revealScaleUp 0.75s 2.82s ease both 1;
}


.contentx h2 {
  color: #fff;
}

.contentx h3 {
  color: var(--maincolor);
  font-weight: 600!important;
  line-height: 0.8em;
}

.contentx p {
  color: #fff;
  font-size: 1.5em;
  margin-bottom: 40px
}

.timeline-list li {
  margin: 0 0 0 0;
  padding: 0 2em 0em 2em;
  position: relative;
}

.timeline-list li:before {
  content: "";
  position: absolute;
  top: 0px;
  left: -1.45em;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: none repeat scroll 0% 0% #02aa9d;
  border: 5px solid #fff;
  -webkit-animation: revealScaleUp 0.75s 0s ease both 1;
          animation: revealScaleUp 0.75s 0s ease both 1;
}

.timeline-list {
  -webkit-animation: reveal 2s 0 ease both 1;
          animation: reveal 2s 0 ease both 1;
}

.timeline-list li .content {
  -webkit-animation: revealFromLeft 0.5s 0s ease both 1;
          animation: revealFromLeft 0.5s 0s ease both 1;
}

.timeline-list li:nth-child(1):before {
  -webkit-animation-delay: 0.85s;
          animation-delay: 0.85s;
}

.timeline-list li:nth-child(1) .content {
  -webkit-animation-delay: 1.05s;
          animation-delay: 1.05s;
}

.timeline-list li:nth-child(2):before {
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}

.timeline-list li:nth-child(2) .content {
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
}

.timeline-list li:nth-child(3):before {
  -webkit-animation-delay: 1.8s;
          animation-delay: 1.8s;
}

.timeline-list li:nth-child(3) .content {
  -webkit-animation-delay: 2.1s;
          animation-delay: 2.1s;
}

.timeline-list li:nth-child(4):before {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}

.timeline-list li:nth-child(4) .content {
  -webkit-animation-delay: 2.3s;
          animation-delay: 2.3s;
}

@-webkit-keyframes revealFromLeft {
  0% {
    transform: translateX(-1em);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealFromLeft {
  0% {
    transform: translateX(-1em);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@-webkit-keyframes reveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes reveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes scaleVertical {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}
@keyframes scaleVertical {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}
@-webkit-keyframes revealScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes revealScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/*Call to Action*/
section.call-to-action{
  background: url(../images/dental/d-check.jpg) no-repeat;
  background-size: 80%;
  background-position: left;
  background-attachment: fixed;
  position: relative;
}

section.call-to-action:before {
    content: '';
    background: white;
    position: absolute;
    width: 45%;
    height: 100%;
    right: -120px;
    z-index: 1;
    top: 0;
    transform: skew(-20deg);
}

.call-to-action .color-overlay{
  background: #13232f;
  opacity: 0.8;
}
.action-content{
  position: relative;
  z-index: 1;
}
.action-content h2{

  font-family: var(--fontth);
  font-size: 6em;
  font-weight: 600;
  color: var(--maincolor);
  margin-bottom: 0px;
  line-height: 1.6em;
  display: inline-block;
  margin-right: 40px;
}
.action-content h4{
  color: #383838;
  font-family: var(--fontth);
  font-size: 2.5em;
  font-weight: 400;
  line-height: 1;
  margin-top: -25px;
  display: inline-block
}
.action-content p{
  color: #fff;
  margin-bottom: 15px;
}
.action-content h2 span{
  font-size: 50px;
  color: #1cba9f;
}
.video-outer {
    position: relative;
    overflow: hidden;
}
.video-content{
  position: relative;
  z-index: 2;
  border-radius: 0 30px;
  overflow: hidden;
  border: 5px solid #fff;
}
.video-content img{
  width: 100%;
}
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 50%;
    width: 100%;
    transition: all ease-in-out 0.5s;
    transform: translateX(-50%) translateY(-50%);
}
.video-outer button {
	background: none;
	border:0
	
}
button.play-btn{
  font-size: 16px;
  transition: all ease-in-out 0.5s;
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  top: 40%;
  width: 20%;
  animation: heartbeat 1s cubic-bezier(0.245, 0.325, 0.51, 1.305) infinite alternate;
}
button.play-btn i{
  font-size: 33px;
  height: 65px;
  width: 65px;
  line-height: 2;
  text-align: center;
  color: #ffffffd1;
  border-radius: 50%;
  background: #1cba9f;
  transition: all ease-in-out 0.5s;
  padding-left: 5px;
}
button.play-btn:hover i{
  background: #fff;
  color: #1cba9f;
}
.call-action{
  display: flex;
}
section.call-to-action-1{
  padding: 0;
}
.action-outer{
  padding: 70px 0 80px;
  position: relative;
}
.action-item{
  width: 60%;
  margin: 0 auto;
  text-align: center;
}
.action-item p{
  margin-bottom: 20px;
}
.action-1{
  background: url(../images/home/calltoaction.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.action-2{
  background: url(../images/home/counter.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.action-1 .overlay{
  background: #00a3c8;
  opacity: 0.8;
}
.action-2 .overlay{
  background: #1db9a0;
  opacity: 0.8;
}

@media(max-width: 991px){
  section.call-to-action{background-size: cover;}
  section.call-to-action:before{display: none;}

  .video-outer{margin-top: 30px;}
}


@media(max-width: 767px){
  .action-content{text-align: center;}
}

@media(max-width: 567px){
  button.play-btn{top: 32%;}
}


.gallery-item img {
	border-radius: 10px;
}

.f-panzoom__viewport > .f-panzoom__content {
	border-radius:  10px;
}


.blog-content .sidebar-title h3 {
	font-weight: 700!important;
	color: var(--maincolor)!important;
	font-size: 1.6em!important
}


section.factory-section {
	padding: 40px 0 45px;
}
.video-wrapper{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    box-shadow:var(--shadow);

}


.scroll-video{

    width:100%;

    display:block;

}


.video-sound-btn{

    position:absolute;

    right:20px;

    bottom:20px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    z-index:5;

    background:

    rgba(
        255,
        255,
        255,
        .9
    );

    backdrop-filter:

    blur(
        10px
    );

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

    transition:.3s;

}


.video-sound-btn:hover{

    transform:

    scale(
        1.1
    );

}





.logo-box{
    position:relative;
}

.logo{
    width:140px;
    animation:
        pulse 2s infinite ease-in-out,
        float 3s infinite ease-in-out;
}

.ring{
    position:absolute;
    width:180px;
    height:180px;
    border:3px solid rgba(0,170,255,.2);
    border-top-color:#1baee9;
    border-radius:50%;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    animation:spin 1.2s linear infinite;
}

.glow{
    position:absolute;
    width:120px;
    height:120px;
    background:#1baee9;
    border-radius:50%;
    filter:blur(40px);
    opacity:.25;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    animation:glow 2s infinite;
}

@keyframes spin{
    from{
        transform:translate(-50%,-50%) rotate(0deg);
    }
    to{
        transform:translate(-50%,-50%) rotate(360deg);
    }
}

@keyframes pulse{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.08);
    }
}

@keyframes glow{
    0%,100%{
        opacity:.2;
    }
    50%{
        opacity:.45;
    }
}

@keyframes float{
    0%,100%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(-8px);
    }
}