/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
html, body {
	overflow-x: hidden !important ;
}

.section-aboutus::before {
	background-image: linear-gradient(90deg, #FFFFFF0F 0%, #323A45 65%, var(--e-global-color-primary) 0%) !important;
}

.menu-off-canvas .elementor-widget-off-canvas .e-off-canvas__content {
	-webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.popup-menu {
	-webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px)
}

body e-page-transition {
     --preloader-fade-duration: 5s !important;
}

body e-page-transition .e-page-transition--preloader{
 	animation-duration: 5s, 5s !important;
}

.back-totop {
	cursor: pointer;
}

.menu-lang-eng li {
	border: 1px solid #323A45;
    padding: 2px 10px !important;
}

.menu-lang-eng li:nth-child(2) {
	border-left: none;
	border-right: none;
}

.menu-lang-eng li:nth-child(2) .elementor-icon-list-text {
	color: #323A45 !important;
}

.menu-lang-eng li:nth-child(1) .elementor-icon-list-text {
	font-family: "Noto Sans Thai", sans-serif;
}

.text-rotate-left {
	position: absolute;
    top: 6px;
    left: -7px;
    transform: translateY(0%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.text-rotate-right {
	position: absolute;
    top: 6px;
    right: -7px;
    transform: translateY(0%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.head-ourhistory h2 {
    transform: rotate(90deg);
    width: 500px;
    position: absolute;
    right: -235px;
    top: 215px;
}

.tab-button {
	cursor: pointer;
}

.h-100 {
	height: 100% !important;
}

.d-none {
	display: none;
}

.d-blcok {
	display: block;
}

@media (max-width: 767.99px) {
	.text-rotate-left {
		top: 4px;
		left: -2px;
	}
	
	.text-rotate-right {
		top: 4px;
		right: -2px;
	}
	
	.head-ourhistory h2 {
		width: 270px;
		right: -128px;
		top: 100px;
		line-height: 29px !important;
	}
}

.main-menu-full .sub-menu {
	position: relative !important;
	margin-top: 0 !important;
    margin-left: 0 !important;
}

.clouds-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.clouds-effect img {
    position: absolute;
    bottom: 0;
    max-width: 100% !important;
    animation: animateSteam calc(5s * var(--i)) ease-out infinite;
}

.hide-effect {
	transition: opacity 10s;
	opacity: 0;
}

.sec-timeline .ha-timeline-icon svg {
    height: 1.2em;
}

.sec-timeline .ha-timeline-icon {
    justify-content: flex-end;
}

.sec-timeline::before {
    position: absolute;
    display: inline-block;
    content: "";
    left: 140px;
    border-style: dotted;
    border-width: 0px 0px 0px 1px;
    border-color: #C2C3BEDE;
    width: 100%;
    height: 100%;
}

@keyframes animateSteam {
    0% {
        opacity: 0;
        transform: scale(1);
        right: 0%;
    }

    25%, 75%{
        opacity: .6;
    }

    100% {
        opacity: 0;
        right: 100%;
        transform: scale(3);
    }
}
@media (max-width: 1024px) {
	.section-aboutus .elementor-motion-effects-layer::before {
		background-image: linear-gradient(90deg, #FFFFFF0F 0%, #323A45 65%, #323a45fa 0%) !important;
	}
	
	.clouds-effect img {
		object-fit: cover;
		height: 100vh !important;
		width: 100%;
	}
	
	.sec-timeline::before {
		left: 10px;
	}
	
	.sec-timeline .ha-timeline-icon svg {
		height: 1em;
	}
	
	.sec-timeline .ha-timeline-content {
		margin-top: -5px;
	}
}

@media (max-width: 767px) {
	.menu-lang-eng li {
		padding: 2px 6px !important;
	}
	.sec-timeline::before {
		left: 5px;
	}
	.sec-timeline .ha-timeline-icon svg {
    	height: .7em;
	}
	.sec-timeline .ha-timeline-content {
		margin-top: -10px;
	}
}

.head-vision {
    transform: rotate(90deg);
    width: fit-content;
    position: absolute;
    right: -100px;
    top: 85px;
}

.head-mission {
    transform: rotate(90deg);
    width: fit-content;
    position: absolute;
    left: -120px;
    top: 115px
}

.head-awards {
    transform: rotate(90deg);
    width: fit-content;
    position: absolute;
    left: -120px;
    top: 125px
}

@media (max-width: 1366px) {
	.head-vision {
		right: -90px;
    	top: 75px;
	}
	.head-mission{
		left: -105px;
    	top: 30px;
	}
	.head-awards {
		left: -105px;
    	top: 33px;
	}
}

/* IR */

.table-ir {
    width: 100%;
}

.table-ir th {
	font-family: "IBM Plex Sans Thai", Sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5em;
    border: 1px solid #323a45;
    background-color: #323A45 !important;
    color: #FFFFFF;
	vertical-align: middle;
}

.table-ir td {
	font-family: "IBM Plex Sans Thai", Sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5em;
    border: 1px solid #cfcfcf;
	background-color: rgba(255, 255, 255, .5) !important;
	padding: 10px 15px;
	vertical-align: middle;
}

.table-ir td.subject {
    background-color: #c2c3be !important;
    color: #323A45;
}

.table-ir .font-subject {
	font-size: 23px;
    font-weight: 500;
}

.table-ir .text-date {
	font-size: 12px;
	line-height: 1em;
}

.table-ir .detail {
    width: 10%;
}

.table-ir .title {
    width: 60%;
}

.table-ir.major-shareholders .detail {
    width: 15%;
}

.table-ir .w-85 {
    width: 85%;
}

.table-ir .w-70 {
    width: 70%;
}

.table-ir.text-center td {
	text-align: center;
}

.text-left {
	text-align: left !important;
}

.table-ir.major-shareholders {
	counter-reset: rowNumber;
}

.table-ir.major-shareholders td:first-child {
    counter-increment: rowNumber;
}

.table-ir.major-shareholders td:first-child:before {
    content: counter(rowNumber) ". ";
    min-width: 1em;
}

.main-menu-ir .menu-active .elementor-button {
	border-color: var(--e-global-color-primary) !important;
}

.btn-download {
	display: flex;
    justify-content: center;
	align-items: center;
}

.ic-download {
	display: flex;
    background-image: url(assets/images/icon-download-3.png);
    background-repeat: no-repeat;
    background-size: 36px;
    width: 36px;
    height: 36px;
}

.ic-youtube {
	display: flex;
    background-image: url(assets/images/icon-youtube.png);
    background-repeat: no-repeat;
    background-size: 36px;
    width: 36px;
    height: 36px;
}

@media (max-width: 767px) {
	.tab-content {
		overflow-x: auto !important;
	}
	
	.table-ir td, .table-ir th {
		padding: .5rem;
	}
	
	.table-ir .font-subject {
    	font-size: 19px;
	}
	
	.table-ir th {
		font-size: 13px;
	}
	
	.table-ir td {
		font-size: 14px;
	}

	.table-ir.major-shareholders .detail {
		width: 20%;
	}
	
	.ic-download, .ic-youtube {
		background-size: 22px;
		width: 22px;
		height: 22px;
	}
}

/* End IR */


/* contact form */
.form-wrapper .form-row {
    font-family: "IBM Plex Sans Thai", Sans-serif;
    display: flex;
}

.form-col {
    display: grid;
    margin:  10px 10px 12px;
}

.d-flex {
	display: flex;
}

.align-baseline {
	align-items: baseline;
}

.col-100 {
    width: 100%;
}

.col-50 {
    width: 50%;
}

.col-70 {
    width: 70%;
}

.col-30 {
    width: 30%;
}

.form-wrapper label {
    font-family: "IBM Plex Sans Thai", Sans-serif !important;
	font-size: 18px;
	font-weight: 500;
	margin-bottom: .25rem;
}

.form-wrapper .elementor-field {
    font-family: "IBM Plex Sans Thai", Sans-serif !important;
    background-color: #FFFFFF00;
    border-color: #cacaca;
    border-width: 1px;
    padding: 13px;
    font-size: 16px;
    border-radius: 0;
	letter-spacing: 1px;
}

.form-wrapper input:focus-visible {
    outline: #ad5207;
}

.form-wrapper .field-option {
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
    margin-right: 10px;
}

.form-wrapper .condition {
    font-family: "IBM Plex Sans Thai", Sans-serif !important;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5em;
	padding-left: .75rem;
}

.form-wrapper .remarks {
    font-family: "IBM Plex Sans Thai", Sans-serif !important;
	font-size: 15px;
	font-weight: 500;
}

.form-wrapper .checkbox {
	border: 1px solid #cacaca;
	transform: scale(1.6);
}

.file-upload-wrapper {
	position: relative;
	width: 100%;
	height: 47px;
}

.file-upload-wrapper:after {
	content: attr(data-text);
	font-size: 17px;
	font-weight: 400;
	position: absolute;
	top: 0;
	left: 0;
	background-color: transparent;
	padding: 10px 15px;
	display: block;
	width: calc(100% - 40px);
	pointer-events: none;
	z-index: 2;
	height: 47px;
	line-height: 31px;
	color: #b3b3b3;
	border-radius: 0;
	border: 1px solid var(--e-global-color-primary);
}
  
.file-upload-wrapper:before {
	content: "\e40\e25\e37\e2d\e01";
	position: absolute;
	top: 0;
	right: 0;
	display: inline-block;
	height: 47px;
	background-color: var( --e-global-color-primary );
	color: #fff;
	font-size: 17px;
	font-weight: 400;
	z-index: 5;
	line-height: 47px;
	padding: 0 50px;
	text-transform: uppercase;
	pointer-events: none;
	border-radius: 0;
}

input.file-upload-field {
	opacity: 0;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9;
	height: 47px;
	margin: 0;
	padding: 0;
	display: block;
  	cursor: pointer;
  	width: 100%;
}

.form-anti-corruption .text-remarks {
	margin: .5rem 0 .3rem;
}

.elementor-field-group-agree_conditions input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none !important;
  cursor: pointer;
}

.elementor-field-group-agree_conditions label {
  position: relative;
  cursor: pointer;
}

.elementor-field-group-agree_conditions label:before {
  content: "";
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid var( --e-global-color-primary );
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.elementor-field-group-agree_conditions.checked label::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 9px;
  width: 6px;
  height: 14px;
  border: solid var( --e-global-color-primary );
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-wrapper .btn-send {
    cursor: pointer;
    font-family: "IBM Plex Sans Thai", Sans-serif !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    border: 1px solid #212121;
    padding: 13px 20px !important;
    background-color: var(--e-global-color-primary) !important;
    color: #FFFFFF !important;
    width: 190px !important;
    margin: auto !important;
    border-radius: 0 !important;
	letter-spacing: 1px;
}

.form-wrapper .required {
    color: red;
}

.btn-send:hover {
    background-color: #212121 !important;
}

@media (max-width: 991px) {
    .form-wrapper .form-row {
        flex-wrap: wrap;
    }
	
    .form-col {
        width: 100%;
		margin: 5px 0;
    }
	
	.form-wrapper .elementor-field {
		font-size: 14px;
		padding: 7px 9px;
	}
	
	.form-wrapper .btn-send {
		padding: 6px 10px !important;
		width: 115px !important;
	}
}

@media (max-width: 767px) {
	.file-upload-wrapper:before {
		padding: 0 35px;
	}
}
/* end contact form */