/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    A plain child theme for Divi
 Author:         HIS IT Solution Limited
 Author URI:     https://www.hishk.com
 Template:       Divi
 Version:        1.6.3.0.4
 Text Domain:    divi-child
*/

/* Menu item */
.no-showing {
	display: none;
}

body {
  font-weight: 400;
}

img {
	pointer-events: none;
}

.et_pb_contact_form_container .et_pb_contact p input,
.et_pb_contact_form_container .et_pb_contact p textarea {
  color: #363636;
}

.et_pb_contact_form_container .et_pb_contact p input::placeholder,
.et_pb_contact_form_container .et_pb_contact p textarea::placeholder {
  color: #999;
}

/* set the row width for mobile. */
/* the original is 80% */
@media only screen and (max-width: 980px) {
  .et_pb_row {
    width: 100%;
  }

  .et_pb_text,
  .et_pb_button_module_wrapper,
  .et_pb_promo,
  .et_pb_blurb_container,
  .et_pb_contact_form_container {
    padding-left: 4%;
    padding-right: 4%;
  }
	
  .m-blurb-no-space .et_pb_blurb_container{
    padding-left: 0%;
    padding-right: 0%;
  }
}

/* set the top section padding for all pages to 0 by default */
.et-db #et-boc .et-l .et_pb_section_0_tb_body.et_pb_section {
  padding-top: 0px !important;
}

/* hide the sidebar */
/* Take out the divider line between content and sidebar */
#main-content .container:before {
  background: none;
}

/* Hide Sidebar */
#sidebar {
  display: none;
}

/* Expand the content area to fullwidth */
@media (min-width: 981px) {
  #left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
  }
}
/* hide the sidebar - end */

/* hide the stupid image overlay effect */
span.et_overlay {
  display: none;
}
/*Landing Page CSS*/
#hero-banner.et_pb_column{
  display: flex;
  height: 88vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}


/*Contact Form 7 - text*/
.vprint-cf-style form.wpcf7-form .dp-row .dp-col > label{
  display: flex;
  font-size: 14px;
  padding: 0px 0 12px 0;
  border-bottom: 1px solid #000000;
}
.vprint-cf-style form.wpcf7-form .dp-row .dp-col p{
  display:inline;
}

.vprint-cf-style form.wpcf7-form .dp-row .dp-col .cf7-must:before{
  content:"*";
  color: red;
}

.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .cf7-not-must ,
.vprint-cf-style form.wpcf7-form .dp-row .dp-col .cf7-not-must:before {
  content:"*";
  color: transparent;
}

.vprint-cf-style form.wpcf7-form .dp-row .dp-col .cf7-must:before ,
.vprint-cf-style form.wpcf7-form .dp-row .dp-col .cf7-not-must:before {
  flex: 0 0 6.25px;
}

.vprint-cf-style form.wpcf7-form .dp-row .dp-col label > span:first-child {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 29%;
  min-width: 95.5px;
}

.vprint-cf-style form.wpcf7-form .dp-row .dp-col label .wpcf7-form-control-wrap{
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 70%;
  min-width: 200px;
}

.vprint-cf-style form.wpcf7-form .dp-row .dp-col label .wpcf7-form-control-wrap input{
  font-size: 14px;
  padding: 4px 12px;
  background: none;
  border: none;
  border-left: 1px solid #000000;
}

/*Submit*/
.vprint-cf-style  form.wpcf7-form .dp-row:nth-child(4) .wpcf7-submit{
  margin:0 auto;
  padding: 12px 56px;
  color: #000;
  background: none;
  border: 1.5px solid #000;
  border-radius: .3rem;
  letter-spacing: 0;
}

/*Checkbox*/
.vprint-cf-style #wpcf7-f125-p17-o1 .multioption {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid #000;
  padding-bottom: 12px;
}

.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .cf7-must{
  font-size: 14px;  
}

.vprint-cf-style #wpcf7-f125-p17-o1 form.wpcf7-form .dp-row .multioption p.cf7-must {
  display: flex;
  align-items: flex-start;
  line-height: 1em;
}

.vprint-cf-style #wpcf7-f125-p17-o1 form.wpcf7-form .dp-row .multioption p.cf7-must:before {
  padding-top: 0;
}

.vprint-cf-style #wpcf7-f125-p17-o1 .multioption p.cf7-must {
  flex-grow: 1;
  flex-basis: 30%;
  min-width: 100px;
}

.vprint-cf-style #wpcf7-f125-p17-o1 .multioption div.cf7-content {
  flex-grow: 1;
  flex-basis: 70%;
  min-width: 200px;
  line-height: 2em;
}

.vprint-cf-style form.wpcf7-form .dp-row .dp-col span {
  line-height: 1.5em;
}
  
.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .wpcf7-list-item{	
  display: block;
  margin-left: 0;  
}

.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .cf7-content ,
.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .cf7-content .material .wpcf7-form-control , 
.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .cf7-content .printing-method .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

/*Others Option*/
.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .cf7-others {
  margin-left: 0px;	
  margin-top:10px!important;
}

.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .cf7-others ,
.vprint-cf-style form.wpcf7-form .cf7-others .wpcf7-form-control-wrap input{
  font-size: 13px!important;
}

.vprint-cf-style #wpcf7-f125-p17-o1 .multioption .cf7-others .others{
  margin-left: 0px;
}

.vprint-cf-style #wpcf7-f125-p17-o1 form.wpcf7-form .dp-row h4{
  font-weight: 600;
  margin-top: 1rem;
}

.vprint-cf-style #wpcf7-f125-p17-o1 form.wpcf7-form .dp-row p{
  display: inline;
  font-size: 14px;
}

.vprint-cf-style #wpcf7-f125-p17-o1 form.wpcf7-form .upload-file-1 .codedropz-upload-wrapper{
  padding: .25rem;
  background: white;
}

.vprint-cf-style #wpcf7-f125-p17-o1 form.wpcf7-form .codedropz-upload-container{
  padding: 3rem 1rem;
}

.vprint-cf-style #wpcf7-f125-p17-o1 form.wpcf7-form .codedropz-upload-inner h3{
  font-size: 24px;
  margin:0;
}

.vprint-cf-style #wpcf7-f125-p17-o1 form.wpcf7-form .upload-file-1 .codedropz-upload-wrapper .codedropz-upload-handler{

  margin-bottom: 0px;
  border: 1.5px dashed #9aaeb2;
  border-radius: 0;
}

@media only screen and (min-width: 768px){
	#woo3dv-viewer{
		width: 100%;
		height: 700px!important;
	}
}

/* All Meaterials Page - table*/
#material-table .material-row:not(#others) {
    display:flex;
    place-content: center space-between;
    border-bottom: 1px solid #000;
    /*! width: 600px; */
  }

  #material-table .material-row:not(#others) .et_pb_column{
    display: flex;
    align-items: center;
    margin-right: 1rem;   
  }

  #material-table .material-row .col-1{flex: 0 0 50px;}
  #material-table .material-row .col-2{flex: 1 1 50px;}
  #material-table .material-row .col-3{flex: 1 1 30%;}
  #material-table .material-row .col-4{flex: 1 1 10%;}
  #material-table .material-row .col-5{flex: 0 0 180px;}

.material-row .et_pb_column .et_pb_button {
	text-align: center;
	width: 180px;
}

#material-table #others.material-row{
  border-bottom: 1px solid #000;
}

@media only screen and (max-width: 980px) {
  #material-table {
    overflow-x: auto;
  }
  
  #material-table .material-row:not(#others){
    min-width: 700px;
  }
}

@media only screen and (max-width: 980px){
  #hero-banner .et_pb_column_single{
    display: none;
  } 
}

.et_pb_row_inner_1.metal-prototyping .et_pb_module.et_pb_text{
	cursor: pointer;
}

.et_pb_row_inner_1.metal-prototyping .et_pb_module.et_pb_text:hover{
	filter: opacity(100%);
}
/*landing page - add business logo*/
:root{
	--logo-width: 80px;
	--logo-with-gap: calc((var(--logo-width)) + 8px);
}

#business-group .et_pb_column {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: calc((var(--logo-with-gap))*8);
}

#business-group .et_pb_column .et_pb_image {
  flex: 0 0 var(--logo-width);
  margin-right: 8px;
}
@media only screen and (max-width: 980px){
	#business-group{
		padding-left: 4%;
		padding-right: 4%;
	}
}

#hero-banner, #hero-banner .et_pb_space {
  min-height: 730px;
}

#material-content div.manufacturing-method{
	background: #4d4d4d; 
	display: inline-block; 
	padding: 0px 8px; 
	border-radius: .15rem;
    font-weight: bold;
	cursor: pointer;
	margin-right: 0.4rem;
	margin-bottom: 0.4rem;	
}

#material-content div.manufacturing-method:nth-child(2){
	margin-right: 2rem;
}

#material-content  div.manufacturing-method a ,
#material-content  div.manufacturing-method p{
	color: white; 
}

#material-content .et_pb_module_header{
	padding: 0 1rem;
}

#material-content .et_pb_blurb_description{
	padding: 0.5rem 0.9rem 0.75rem;
}
.et_pb_active_text{
	filter: opacity(1000%) !important;
}


/*Card - image gallery*/
.card-image .et_pb_blurb_content ,
.card-image .et_pb_main_blurb_image{
  margin-bottom: 0;
  line-height: 1em;
}

.card-image .et_pb_blurb_container{
  position: absolute;
  top: auto;
  bottom: 5%;
  left: 5%;
  width: 90%;
}

.card-image .et_pb_main_blurb_image{
  filter: brightness(86%);
}

div.fancybox-content p.caption-title{
	color: #000000;
}
/*table */
#table-design table img{
  width: 42px;
  max-width: 42px;
}

#table-design table,
#table-design table tr,
#table-design table td{
  border: transparent;
}

#table-design table tr{
	height: 48px;
}

#table-design table td:first-child{
  padding: 0;
}

#table-design table td{
  padding: 0px 20px;
}

/* Card with right image*/

@media all and (max-width: 980px) {
	.card-right-image .et_pb_column {
		display: flex;
		flex-flow: row-reverse nowrap;
		align-items: center;
		margin-bottom: 1rem;
		padding: 1rem 0 1rem 1rem;
    	border-radius: 0.5rem;
		box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	}

	.card-right-image .et_pb_image {
		flex: 0 0 35%;
	}
	
	.card-right-image .et_pb_text {
		flex: 1 0 65%;
    	max-width: 65%;
	}
  
  .card-right-image .et_pb_module {
		margin:0!important;
    	padding: 0!important;
	}

	.card-right-image .et_pb_text h2 {padding-bottom: 0;}
	.card-right-image .et_pb_text .et_pb_text_inner > * {
    line-height: 1.4em; 
    text-align: left!important;
  }
	
	.card-right-image span.hide-text {
		display: none;
	}
}
/* for 4 column */
@media all and (max-width:981px) and (min-width:768px){
  .card-right-image .et_pb_column_1_4:nth-child(2n-1) {
    margin-right: 1rem;
    width: calc(50% - 0.5rem);
  }

  .card-right-image .et_pb_column_1_4:nth-child(2n) {
    width: calc(50% - 0.5rem);
  }
}

@media all and (max-width: 767px) {
  .card-right-image .et_pb_column_1_4 {
    margin-right: 0!important;
    margin-bottom: 1rem!important;
    width: 100%!important;
  }
}

.vprint-cf-style .dp-col label:before,
.vprint-cf-style .dp-col div >  p:before{
  padding-top: 10px;
  padding-right: 2px;
}

.vprint-cf-style .dp-col label > span:first-child {
  margin-top: 7px;
  padding: 10px 15px 10px 0px;
  line-height: 1em;
}

.vprint-cf-style .wpcf7-form-control-wrap {
  position: relative;
}

.vprint-cf-style .wpcf7-not-valid-tip{
	position: absolute;
	top: 0;
	right:0;
}

/**** This hides the sub menu items on mobile ****/
/* #page-container .mobile_nav li ul.hide {
	display: none;
} */

#page-container .mobile_nav li ul {
  clear:both;
  overflow: hidden;
  transition: all .6s ease-in-out;
}

#page-container .mobile_nav li ul.hide {
  transition: all .4s ease-in-out;
}

#page-container .mobile_nav li ul.hide {max-height: 0;}
#page-container .mobile_nav li ul {max-height:9999px;}
 
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#page-container .mobile_nav .menu-item-has-children {
  position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
  background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#page-container .mobile_nav .menu-item-has-children > a + span {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  z-index: 3;
}
#page-container .mobile_nav > ul > li.menu-item-has-children > span {
	width: 100%; 
	margin-left: auto;
	text-align: right;
}

/**** Here you can swap out the actual icons ****/
#page-container span.menu-closed:before {
  content: "\33";
  display: block;
  color: white;
  font-size: 16px;
  font-family: ETmodules;
}
#page-container span.menu-closed.menu-open:before {
  content: "\32";
}

/******/
/*  Final Tiles Gallery - Custom CSS
.final-tiles-gallery .tile-inner::before ,
.final-tiles-gallery .tile .caption-block{
  opacity: 1;
  background: transparent!important;
}

.final-tiles-gallery .tile .caption-block{
  left:16px!important;
  right:16px!important;
  bottom: 16px!important;
}

.final-tiles-gallery .tile .caption-block .title {
  text-shadow: 0.08em 0.08em 0.08em rgba(0,0,0,0.4);
}

.final-tiles-gallery .tile .caption-block .text {
  margin-top: 0!important;
  line-height: 1em;
  opacity: 1!important;
  text-shadow: 0.08em 0.08em 0.08em rgba(0,0,0,0.15);
}

.final-tiles-gallery .tile img {
  top:0!important;
  transition: all 0.5s ease;
  transition-delay: 0s;
}

.final-tiles-gallery .tile:hover img {  
  transition: all 0.5s ease;
  scale: 1.08;
}
*/

/* Quotation Form */
#quotationForm :is(h4, p) {
  margin:0;
  padding:0;
}

#quotationForm .statement {
	line-height: 2.5rem;
}

#quotationForm section:not(:last-child) {
  margin-bottom: 3rem;
}

#quotationForm #inquiry{
	margin-bottom: 4rem;
}

#quotationForm section .form-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
}

#quotationForm section .form-title p .red-star {
  color:red;
}

#quotationForm .form-section > * {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid black;
  display: flex;
  gap: 1rem;
}

#quotationForm .form-section > .label-div {
  align-items: center;
}

#quotationForm .form-section > :is(label, div) > :first-child {
  flex: 0 0 30%;
}

@media all and (max-width:980px){
  #quotationForm .form-section > :is(label, div) > :first-child {
    flex: 0 0 5.2rem;
  }
}

#quotationForm .form-section > :is(label, div) > :last-child {
  flex: 1 1 auto;
}

#quotationForm .field-type {
  display: flex;
}

#quotationForm .field-type:before {
  display: inline;
  content: "*";
  color:red;
  opacity: 0;
  margin-right: 0.1rem;
}

#quotationForm .required.field-type:before {
  opacity: 1;
}

#quotationForm .checkbox-list .wpcf7-list-item {
  display: block;
  margin: 0;
  margin-bottom: 0.75rem;
  padding: 0;
}

#quotationForm .checkbox-list .wpcf7-list-item label {
  display: flex;
  gap: 0.25rem;
}

#quotationForm .for-others p {
  margin-bottom: 0.5rem;
}

#quotationForm :is(input[type="text"], input[type="tel"], input[type="email"]){
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0.55rem 0.85rem;
  background: none;
  border: none;
  border-left: 1px solid black;
  font-size: 14px;
}

#quotationForm .wpcf7-submit {
  display: block;
  color: #000000;
  border: 2px solid black;
  border-radius: 0.25rem;
  letter-spacing: 0px;
  font-size: 14px;
  font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif!important;
  font-weight: 600!important;
  background-color: RGBA(0,0,0,0);
  padding: 0.7rem 4rem!important;
  margin-right: auto!important;
  margin-left: auto!important;
  cursor: pointer;
  transition: 1s all ease-out;
}

#quotationForm .wpcf7-submit:hover {
  color: #f8f8f8;
  background-color: RGBA(0,0,0,1);
  transition: 1s all ease-out;
}

#quotationForm .wpcf7-spinner {
  position: absolute;
  right: 0;
  bottom: 0.75rem;
}

#quotationForm .wpcf7-not-valid-tip {
  position: absolute;
  top: 0;
  right:0;
  line-height: 1em;
}

#quotationForm .codedropz-upload-handler {
	background: white;
}

#quotationForm .codedropz-upload-container {
	padding-top: 3rem;
	padding-bottom: 3rem;
	line-height: 1.5rem;
}

#quotationForm .codedropz-upload-container h3 {
	font-size: 24px;
	margin: 0;
	padding: 0;
}

#quotationForm .dnd-upload-counter {
	color: black;
}

/* #media-icon svg{
	width:32px;
	height: 32px;
} */

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
	z-index: 10;
    position: relative;
    margin-bottom: 0;
    background: white;
}

/* Resourse Grid Layout */
.et_pb_ajax_pagination_container article {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.et_pb_ajax_pagination_container article .entry-title {
   font-size: 1.3rem;
}