html {
  scroll-behavior: smooth;
}

html.coming-soon {
    position: relative;
    overflow: hidden;
    height: 100%;
}

html.coming-soon:after {
    content: " ";
    height: 100%;
    width: 100%;
    z-index: 100000;
    background-image: url(/public/img/web/close_web.png);
    background-color: #1d2e5b;
    background-size: contain;
    background-position: center center;
    position: absolute;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
}

.sending {
    display: block;
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: rgba(255,255,255,0.7);
    z-index: 10000;
}

.waiting {
    display: block;
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #fff;
/*
    
    background-image: url(../img/web/matching-logo.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 300px;
*/
    z-index: 10000;
}

.text-right {
	text-align: right;
}

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

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #d71f25;
  width: 100px;
  height: 100px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

.loaded-div {
	display: flex;
    justify-content: center;
    align-items: center;
/*     margin-top: 150px; */
    height: 100vh;
    flex-flow: column;
}

input,textarea{
	padding-left: 10px;
}
/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.grid {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.grid-in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 20px;
}

.grid-line {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 30px;
}

.flex {
	display: flex;
}

.col-1 {
    grid-column: span 1;
}

.col-2 {
    grid-column: span 2;
}

.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

.col-5 {
    grid-column: span 5;
}

.col-6 {
    grid-column: span 6;
}

.col-7 {
    grid-column: span 7;
}

.col-8 {
    grid-column: span 8;
}

.col-9 {
    grid-column: span 9;
}

.col-10 {
    grid-column: span 10;
}

.col-11 {
    grid-column: span 11;
}

.col-12 {
    grid-column: span 12;
}

.wrapped {
	margin: 0 70px !important;
}

.wrapper {
    max-width: 1920px;
    margin: auto;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
	outline: none !important;
}

.color-blue {
	color: #1d2d5b;
}
	
.footer {
/* 	background-image: linear-gradient(-45deg, #01a9e7 10%, white 70%, #01a9e7); */
	background-color: #f2f2f2;
}

.footer p {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5
}

footer.wrapper {
	margin-top: 30px;
}

.line-bar {
	font-size: 40px;
    font-family: 'Montserrat', sans-serif;
    padding: 20px 0;
    background-image: url(//tilog.dinsoradvertising.com/public/img/web/line.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: 50%;
}
.wrap-contact {
/*
    padding-left: 100px;
    padding-top: 30px;
*/
	border-left: 1px solid #9ea0a5;
	padding: 0 20px;
}
.wrap-contactth {
    padding-top: 60px;
    /* background-color: white; */
}
.wrap-contacteng {
    padding-top: 100px;
    /* background-color: white; */
    float: right;
}
.address {
	border-left: 2px solid #88b8c8; 
	padding-left: 100px;
}

.address .col-6 {
	padding-top: 35px;
}

.directory {
	float: right; 
	padding-right: 100px;
}

.directory-content {
	text-align: center; 
	padding-bottom: 20px;
}
.section-2.home-sec2 {
    margin-top: 50px;
    padding: 50px 70px;
    background: linear-gradient(135deg, #fff 30%, #1d2d5b 20%);
}
.copyright {
    font-size: 12px;
    font-weight: 200;
}
.text-regis{
	color: #fff; 
	font-size: 40px;
}
.link-regis{
	color: #1d2d5b; 
	font-size: 40px;
}
.col-5.header-content {
    padding-top: 150px;
}
.text-or{
	color: #fff; 
	font-size: 30px;
}
.text-cost{
	color: #1d2d5b; 
	font-size: 35px; 
	padding-top: 50px
}
div#img-topic-2 {
    float: right;
}
div#img-topic-1 {
    float: right;
    margin-right: 50px;
}
.grid.wrap.blue-content {
    padding: 50px 0;
}
.text-content{
	font-size: 30px; 
	padding-left: 70px;
}

.col-4.footer.center {
    padding-left: 150px;
}

img {
	max-width: 100%;
}
/* page regis */
select {
	background: transparent;
    border: none;
    border-bottom: 2px solid #1d2d5b;
    height: 50px;
    font-size: 18px;
    outline: none;
    margin-bottom: 10px;
}
.text-h1 {
    /* margin-top: -130px; */
    font-size: 40px;
    padding: 10px 0;
    background: linear-gradient(-45deg, rgba(0,0,0,0) 60%, #5a9bd4 60%);
    color: #fff;
    /* margin: 0; */
}
.text-h1 h1 {
	margin: 0;
	padding-left: 15px;
}
.con-per {
    padding: 20px 110px;
    background-color: aliceblue;
    padding-bottom: 100px;
}
.btn-delete {
    float: left;
}
.btn-delete button {
    background-color: #a94442;
    color: white;
    border: 2px solid #a94442;
    font-size: 24px;
    padding: 5px 40px;
    float: right;
    margin-top: 20px;
}
.btn-delete button:hover {
  background-color: white;
  color: #a94442;
  
}
.div-topic {
    padding-top: 20px;
}

.free {
	display: flex;  
	align-items: center;  
/* 	padding: 0 10px; */
	justify-content: center;
}

.vdo-btn-play {
	position: absolute;
	z-index: 5;
	width: 100%;
	/* top: 0; */
	height: calc(100%);
	cursor: pointer;
}

[style*="--aspect-ratio"] {
	position: relative;
}

/* [style*="--aspect-ratio"]::before {
	content: "";
	display: block;
	padding-bottom: calc(100% / (var(--aspect-ratio)));
} */

.vdo-content.stop .vdo-btn-play img {
	transform: scale(1);
	opacity: 1;
}

.vdo-btn-play img {
	position: absolute;
	top: calc(100% - 65%);
	right: calc(100% - 60%);
	transform: scale(1.2);
	transform-origin: 50% 50%;
	opacity: 0;
	transition: .3s;
}

.fullscreen {
	float: right; 
	margin-top: -65px; 
	position: inherit; 
	z-index: 10;
}

.fullscreen img {
	max-height: 30px;	
	margin: 10px;
}

.see-more {
	float: right; 
	position: relative; 
	z-index: 1;
}

.see-more button {
	font-size: 20px; 
	color: #d71f25;
}

.depart {
	padding-left: 20px; 
	border-left: 1px solid #9ea0a5;
}

.footer.left {
/* 	padding-right: 10%; */
}

.float-right {
	float: right;
}
/* end page regis */

@media (max-width:1440px) {
/*
	.grid-line {
		grid-template-columns: 1fr;
		grid-gap: 5px;
	}
*/
	
	.text-right {
		text-align: center;
	}
	
	.text-left {
		text-align: center;
	}

}

@media (max-width:768px) {

	
	.grid-in {
		grid-template-columns: 1fr;
		grid-gap: 10px;
	}
	
	.grid-line {
		grid-template-columns: 1fr;
		grid-gap: 5px;
	}
	
	.copyright {
    	font-size: 10px;
    }
	.float-right {
		float: none;
	}
	.depart {
		padding-left: 0; 
		border-left: none;
		text-align: center;
	}
	
	.footer.left {
		padding-right: 0;
		width: 50%;
		margin: auto;
	}
	
	.wrap-vdo-content {
	    padding: 20px !important;
	}
	
	.fullscreen {
		margin-top: -52px; 
	}
	
	.fullscreen img {
		max-height: 20px;
	}
	
	.vdo-btn-play img {
		position: absolute;
		top: calc(50% - 35%);
		right: calc(50% - 20%);
	}
	
	.vdo-content.stop .vdo-btn-play img {
    	transform: scale(0.3);
    }
	
	.free {
		justify-content: center;
	}
	
	.btn-regis button {
		font-size: 30px !important;
		margin: 0 !important;
	}
/*
	.grid.footer  {
	    grid-template-columns: repeat(6, 1fr);
	    grid-template-columns: repeat(4, 1fr);
	}
*/
	
	.grid {
		grid-template-columns: repeat(8, 1fr);
		grid-template-columns: repeat(7, 1fr);
		grid-template-columns: repeat(5, 1fr);
		grid-template-columns: repeat(6, 1fr);
	    grid-template-columns: repeat(4, 1fr);
	    grid-template-columns: repeat(3, 1fr);
	    grid-template-columns: repeat(2, 1fr);
	}
	
	.random {
		padding: 10px;
	}
	
	.wrapped {
		margin: 0 10px !important;
	}
	
	.address {
		border-left: none;
		text-align: center;
		padding-left: 0;
	}
	
	.directory {
		float: none; 
		padding-right: 0;
	}
	.project h2 {
	    font-size: 23px !important;
	}
	.project h3 {
		padding-top: 0 !important;
	    font-size: 15px !important;
	}
	.duration {
	    font-size: 16px !important;
	    padding: 20px !important;
	}
	.text-regis {
	    font-size: 16px;
		text-align: center;
	}
	.text-regis p, span {
    	font-size: 18px !important;
    }
	.link-regis{
		color: #1d2d5b;
		font-size: 16px;
	}
	.col-5.header-content {
	    padding-top: 60px;
	}
	.text-or{
		color: #fff; 
		font-size: 14px;
	}
	.text-cost{
		font-size: 16px; 
		padding-top: 30px;
		margin-bottom: 30px;
	}
	
	.post-regis {
    	padding: 10px 0 !important;
    }
/* 3เหลี่ยมสี
	margin-top: 50px;
    padding: 50px 70px;
    background: linear-gradient(135deg, #fff 24%, #1d2d5b 20%);
*/
	.grid.wrap.blue-content  {
		grid-template-columns: repeat(4, 1fr);
	}
	.section-2.home-sec2 {
	    margin-top: 50px;
	    padding: 50px 70px;
	    background: linear-gradient(180deg, #fff 17%, #1d2d5b 17%);
	    padding-top: 0;
	}
	div#img-topic-1 {
	    float: initial;
	    text-align: center;
	    padding-bottom: 40px;
	}
	div#img-topic-2 {
		width: 95%;
	    float: initial;
	    text-align: center;
	    margin-bottom: 20px;
	}
	.grid.wrap.blue-content {
	    padding: 30px 0;
	}
	.text-content{
		font-size: 20px; 
		padding-left: 70px;
	}
	.wrap-contact {
	    text-align: center;
	    border-right: none;
	    border-bottom: 1px solid #9ea0a5;
		border-left: none;
		margin: 20px 0;
	}
	.wrap-contacteng{
		padding-top: 0px;
		float: none;
		padding-top: 0px;
	}
	.col-4.footer.left{
		margin-left: 0px;
		margin: auto;
	}
	.col-4.footer.right{
		margin-left: 0px;
		margin: auto;
	}
	.col-4.footer.center{
		padding: 0;
		margin-left: 0px;
		margin: auto;
	}
	.wrap-contact {
		padding-top: 30px;
		border-right: none;
	}
	.wrap-contactth{
		padding-top: 20px;
	}
	.footer p {
	    font-size: 13px;
	}
	form{
		padding: 0 30px;
		margin-bottom: 50px;
	}
	form.ng-valid.ng-scope.ng-valid-email.ng-valid-url.ng-valid-maxlength.ng-dirty.ng-valid-parse {
		padding: 0 30px;
		margin-bottom: 50px;
	}
	
}
span.swal2-icon-text {
    color: #facea8 !important;
    font-size: 70px !important;
}
.swal2-icon.swal2-warning {
    border-color: #facea8 !important;
    color: #facea8 !important;
}
.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right)>.swal2-modal {
    margin: auto;
    max-width: 550px !important;
    max-height: 350px !important;
    font-size: 14px;
}
.swal2-popup .swal2-styled.swal2-confirm {
    border: 0;
/*     border-radius: .25em; */
    background-color: #3085d6;
    color: #fff;
    font-size: 20px !important;
    padding: 10px !important;
    width: 100px !important;
    border-radius: 10px !important;
    /* margin: auto; */
    /* text-align: center; */
    margin-top: 10px !important;
}
.swal2-popup #swal2-content {
    text-align: center;
    font-size: 14px !important;
}