
.main_contact { clear:both; width:90%; margin:auto; }
.cntxc { width:100%; padding:30px 0;  display:table;  }
.cnx_contact { width:90%; margin:auto; display:table;   }
.cnx_contact input { background:#e1e1e1; padding:10px 0;  }
.lbl_inpt_dw {  width:24%; float:left; height:50px; position:relative; margin:15px .5%; }
.cnx_contact .xcontact_lbl {  color:#555; font-size:var(--FontSize1p4); top:15px; }
.cbox_send_dw { clear:both;  width:70%; max-width:200px; margin:50px auto 10px auto; height:50px; } 
.xcontact_lbl { position: absolute;  pointer-events: none;  right: 20px;  top: 7px;  transition: 0.2s ease all;  color:#333; font-size:var(--FontSize1p2); }
input:focus ~ .xcontact_lbl, textarea:focus ~ .xcontact_lbl ,select:focus ~ .xcontact_lbl, input:not(:placeholder-shown) ~ .xcontact_lbl, textarea:not(:placeholder-shown) ~ .xcontact_lbl,
select:not(:empty) ~ .xcontact_lbl, option:focus ~ .xcontact_lbl
{  top: -15px;  bottom: 10px;  right: 0px;  font-size: var(--FontSize0p8);  opacity: 1; border-top:1px solid #ccc;  border-right:1px solid #ccc; background:#fff; border-radius:5px; height:15px; display:table; padding:2px 10px; }

input:focus ~ .xcontact_lbl,input:not(:placeholder-shown) ~ .xcontact_lbl,input:focus ~ .xcontact_lbl{
  top: -25px;  bottom: 10px;  right: 5px;  font-size: var(--FontSize0p8);  opacity: 1; }
.xinput_txt {  width: 100%;  height: 100%; background:#fff; }
#success_message_x, #error_message_x { display:none;  }
input:focus:invalid { background: url(../../img/required.png) no-repeat 8px center; } 
input:invalid { background: url(../../img/must.png) no-repeat 8px center; } 
.inpttxtarea { background:#fff; display:table; border-bottom:1px solid #ccc; }
textarea:focus, input:focus, select:focus{ outline: none; }
.msgerr, .msgerr * { color:red;  }
.messagefrm { position:fixed; top:10px; right:0; background:rgba(255,255,255,0.8); display:none; z-index:99; padding:10px; border-left:1px solid #ccc; border-radius:10px; }
.messagefrm_ok { background:rgba(255,255,255,0.9); display:none; width:80%; max-width:650px; padding:10px; margin:auto;  }
.messagefrm_ok *, .messagefrm * { color:#000; }
.messagefrm_ok * { text-align:center; }
.messagefrm_ok h5 { font-size:var(--FontSize1p6); color:#000; }
.messagefrm h5 { font-size:var(--FontSize1p2); color:#000; }  
.cbox_send{ margin:5px auto;   width:100%; max-width:250px; height:50px; } 
.cbox_send button, .cbox_send_dw button{ border-radius:30px; background: #333; width:100%; height:100%; color:#fff;  cursor: pointer; font-size:var(--FontSize1p2); } 
.cbox_send button:hover, .cbox_send_dw button:hover{ opacity:0.8; background:#999; }
	.main_contact .lbl_inpt { width:100%; clear:both; height:70px; position:relative; margin:0 0 5px 0; }
	.lbl_inpt select{ width:100%; height:45px; font-size:var(--FontSize1p2); background:none; border-bottom:1px solid #ccc; border-right:1px solid #ccc; text-indent:10px; }
	.lbl_inpt textarea{ width:98%; max-width:99%; height:150px; font-size:var(--FontSize1p2); background:none; text-indent:10px; margin:40px 1% 0 0; }
	.lbl_inpt input { text-indent:10px; font-size:var(--FontSize1p2); color:#000; width:100%; height:70%; border-bottom:1px solid #ccc; background:#fff; }
.main_contact .cbox_send { width:100%; clear:both; } 
.main_contact .cbox_send button { border-radius:0; background: #333; width:100%; height:100%; color:#fff;  cursor: pointer; font-size:var(--FontSize1p2); } 


@media (max-width:880px){
	.main_contact { float:none; width:96%; margin:auto; }
}
