
.smart-popin_contact .sp-cell_contact { display: table-cell; vertical-align: middle; padding: 10px; z-index: 9999;  }

.smart-popin_contact .sp-body_contact { position: relative; z-index: 9999; width: 950px; min-width: 340px; margin: 0 auto; background-color: #fff; 
  									padding: 2em; -webkit-box-shadow: 0 3px 5px 1px rgba(0,0,0,0.25); 
  									box-shadow: 0 3px 5px 1px rgba(0,0,0,0.25);  color: #000;
							      }

.smart-popin_contact .sp-body_contact * { max-width: 100%; z-index: 9999; }

.smart-popin_contact .sp-close_contact { position: absolute; top: 0; right: 35px; width: 76px; height: 36px; line-height: 36px; display: block; 
cursor: pointer; font-size: 1em; color: #000; font-weight: 900; text-decoration: none; z-index: 9999; 
						           }
.smart-popin_contact .sp-close_contact:hover { position: absolute; top: 0; right: 35px; width: 76px; height: 36px; line-height: 36px; display: block; 
font-size: 1em; color: #CC0000; font-weight: 900; text-decoration: none; z-index: 9999; cursor: pointer;
}  
								   
 .sp-close_contact i { position: absolute; top: 0; right: -35px; width: 36px; height: 36px; line-height: 36px; 
  					cursor: pointer;				 font-size: 1.6em; color: #000; font-weight: 900; text-decoration: none; z-index: 9999;
						           }  	
 								        
.smart-popin_contact { position: fixed; left: 0; right: 0; top: 0; bottom: 0; overflow: auto; opacity: 0; visibility: hidden; 
  					 background-color: rgba(0, 0, 0, 0.8); z-index: 9999;
				   }

.smart-popin_contact:target { opacity: 1; visibility: visible;  z-index: 9999; }
.smart-popin_contact .sp-table_contact { display: table; height: 100%; width: 100%;  z-index: 9999; }

form { height: 100%; width: 100%; display: block; background: #ffffff; }

#form_contact { width: 950px; }

#form_contact h1 { text-align: center; background: #CC0000; color: #fff;  margin: 0; width: 100%; font-size: 22px; font-weight: 200; line-height: 44px;
margin-top: 15px;   margin-bottom: 30px; 
}

#form_contact h2 { text-align: center; color: #272727;  margin: 0; width: 100%; font-size: 22px; font-weight: 500; line-height: 30px;
margin-top: 15px;   margin-bottom: 15px; text-transform: uppercase; 
}

.group { display: inline-block; position: relative;  margin-bottom: 30px;  }
.group2 { position: relative;  margin-bottom: 30px;  }

.contact-right { margin-right: 20px; }

#form_contact input[type=text]{
font-size: 18px; padding: 10px 10px 10px 5px; display: block; width: 430px;  border: 2px solid #C1C1C1;
}

#form_contact textarea { height: 250px; font-size: 18px; padding: 10px 10px 10px 5px; display: block; width: 100%;  border: 2px solid #C1C1C1; }


#form_contact input[type=text]:focus, #form_contact textarea:focus {
  outline: none; 
}
#form_contact label {
  color: #333; 
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 15px;
  top: 10px;
  transition: 0.2s ease all; 
  -moz-transition: 0.2s ease all; 
  -webkit-transition: 0.2s ease all;
}
#form_contact input[type=text]:focus ~  label, #form_contact input[type=text]:valid ~ label, #form_contact textarea:focus ~ label, 
#form_contact textarea:valid ~  label {
  top: -25px; left: 5px; 
  font-size: 16px;
  color: #CC0000;
}
.bar { 
  position: relative; 
  display: block; 
  width: 100%; 
}
.bar:before, .bar:after {
  content: '';
  height: 2px; 
  width: 0;
  bottom: 0; 
  position: absolute;
  background: #dc3545; 
  transition: 0.2s ease all; 
  -moz-transition: 0.2s ease all; 
  -webkit-transition: 0.2s ease all;
}
.bar:before {
  left: 50%;
}
.bar:after {
  right: 50%; 
}
input[type=text]:focus ~ .bar:before, input[type=text]:focus ~ .bar:after, textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {  width: 50%;}

.container_button { width: 900px; margin-left: auto; margin-right: auto; text-align: center; margin-top: 40px;}

.container_button input[type=button] {   -moz-appearance: none; appearance: none; -webkit-appearance: none;  
background: #CC0000; border: none; color: #fff; height: 40px; font-size: 16px; width: 50%; position: absolute; bottom: 0; cursor: pointer;
}
  
.container_button input[type=button]:nth-of-type(1) { border-top: 1px solid #272727; border-right: 2px solid #fff; left: 0;  -moz-appearance: none; appearance: none; -webkit-appearance: none;  }
.container_button input[type=button]:nth-of-type(2) { border-top: 1px solid #272727; right: 0;  -moz-appearance: none; appearance: none; -webkit-appearance: none;   }








.input_group_category  { width: 600px;margin: 0 auto; margin-bottom: 15px;  text-align: center; height: auto;  font-size: 16px;  }
.input_group_category i { display: inline-block;}
.input_group_category select { display: inline-block;  font-size: 18px;   font-weight: normal;
 }



[include*="form-input-category()"] { display: inline-block; padding: 0; position: relative; color: #000; border-radius: 0; box-shadow: none; font-size: 18px; font-family: "frank-new",sans-serif;   font-weight: normal;

margin-top: 9px; margin-bottom: 15px; width: 600px; margin-left: auto; margin-right: auto;  }

[include*="form-input-category()"]::before, [include*="form-input-category()"]::after {
content: ""; display: block; position: absolute;  pointer-events: none;  z-index: 2;
}

[include*="form-input-category()"] select {
-webkit-appearance: none;-moz-appearance: none;appearance: none; background: none; box-sizing: border-box;
width: 100%; margin: 0; border: 1px solid transparent; font-size: 18px; outline: none;   font-weight: normal;

}

[include*="form-input-category()"] select:focus {background-color: transparent;outline: none;}

[include*="form-input-category()"] x:-o-prefocus, [include*="form-input-category()"]::after {display: none;}

@supports (-moz-appearance: none) { [include*="form-input-category()"] { width: 600px; } }

[include*="form-input-category()"]::before, [include*="form-input-category()"]::after {
content: ""; display: block; position: absolute; pointer-events: none; border: 1px solid transparent; width: 0; height: 0; right: 18px;
}

[include*="form-input-category()"]::before { bottom: 55%;  border-width: 0 6.5px 8px 6.5px; border-bottom-color: #000; }
[include*="form-input-category()"]::after { border-width: 8px 6.5px 0 6.5px; border-top-color: #D6D6D6; top: 55%;}
  
@-moz-document url-prefix() {
[include*="form-input-category()"] { border-right: 2px solid #C1C1C1; }
[include*="form-input-category()"]:hover { border-right: 2px solid #C1C1C1; }
}
  
[include*="form-input-category()"]:hover select {  box-shadow: 0 2px 3px rgba(0, 91, 166, 0.1) inset;  border-color: #C1C1C1;}
[include*="form-input-category()"]:hover select:focus {  outline-color: transparent;}
[include*="form-input-category()"]:hover::before {  border-bottom-color: #C1C1C1;}
[include*="form-input-category()"]:hover::after {  border-top-color: #C1C1C1;}

[include*="form-input-category()"] select {
border: 2px solid #C1C1C1;
border-radius: 0;  color: #000;

padding: 10px 10px 10px 5px; font-family: "frank-new",sans-serif;   font-weight: normal;


 line-height: normal; transition: border-color 0.2s ease, outline 0.2s ease;
}
  
[include*="form-input-category()"] select:focus { box-shadow: 0 3px 4px rgba(0, 91, 166, 0.3) inset; outline: 2px solid #C1C1C1; outline-offset: -3px;}
[include*="form-input-category()"] select[disabled], [include*="form-input-category()"] select:disabled { opacity: 0.4; cursor: not-allowed;}
[include*="form-input-category()"] select:not(:focus):invalid { color: #000;}






















 @media only screen and (max-width: 950px) {
	 
	 
.input_group_category  { width: 300px;margin: 0 auto; margin-bottom: 15px;  text-align: center; height: auto;  font-size: 16px;  }	 
   
.smart-popin_contact .sp-cell_contact { display: table-cell; vertical-align: middle; padding: 10px; z-index: 9999;  }

.smart-popin_contact .sp-body_contact { position: relative; z-index: 999; width: 300px; min-width: 300px; margin: 0 auto; background-color: #fff; 
  									padding: 2em 1em ; -webkit-box-shadow: 0 3px 5px 1px rgba(0,0,0,0.25); 
  									box-shadow: 0 3px 5px 1px rgba(0,0,0,0.25); color: #000; 	    width: 100%; max-width: 100%;
							      }

form { height: 100%; max-width: 100%; display: block; background: #ffffff; }
   
#form_contact { width: 100%; }

#form_contact h1 { display: block; font-size: 16px; font-weight: 200; line-height: 30px; padding: 0 5px; 
margin-top: 15px;   margin-bottom: 20px; 
}

#form_contact h2 { display: block;   margin: 0; width: 100%; font-size: 16px; font-weight: 500; line-height: 30px;
margin-top: 15px;   margin-bottom: 30px; text-transform: uppercase; 
}
   

.group { display: block; position: relative; width: 100%;  margin-bottom: 30px;  }
.group2 { position: relative;  margin-bottom: 30px;  }

.contact-right { margin-right: 0px; }

#form_contact input[type=text]{
font-size: 16px; padding: 10px 10px 10px 5px; display: block; width: 100%;  border: 2px solid #C1C1C1;
}






#form_contact textarea { height: 250px; font-size: 16px; padding: 10px 10px 10px 5px; display: block; width: 100%;  border: 2px solid #C1C1C1; }


#form_contact label {
  color: #333; 
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 15px;
  top: 10px;
  transition: 0.2s ease all; 
  -moz-transition: 0.2s ease all; 
  -webkit-transition: 0.2s ease all;
}
#form_contact input[type=text]:focus ~  label, #form_contact input[type=text]:valid ~ label, #form_contact textarea:focus ~ label, 
#form_contact textarea:valid ~  label {
  top: -25px; left: 5px; 
  font-size: 16px;
  color: #CC0000;
}
.bar { 
  position: relative; 
  display: block; 
  width: 100%; 
}
.bar:before, .bar:after {
  content: '';
  height: 2px; 
  width: 0;
  bottom: 0; 
  position: absolute;
  background: #dc3545; 
  transition: 0.2s ease all; 
  -moz-transition: 0.2s ease all; 
  -webkit-transition: 0.2s ease all;
}
.bar:before {
  left: 50%;
}
.bar:after {
  right: 50%; 
}
input[type=text]:focus ~ .bar:before, input[type=text]:focus ~ .bar:after, textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
  width: 50%;
}


.container_button { width: 100%; margin-left: auto; margin-right: auto; text-align: center; margin-top: 40px;}

.container_button input[type=button] { 
background: #CC0000; border: none; color: #fff; height: 40px; font-size: 16px; width: 50%; position: absolute; bottom: 0; cursor: pointer;
}
  
.container_button input[type=button]:nth-of-type(1) { border-top: 1px solid #272727; border-right: 2px solid #fff; left: 0;}
.container_button input[type=button]:nth-of-type(2) { border-top: 1px solid #272727; right: 0; }

   
   
} 