/*
** form
**/
h4,
form.form_modern h3 {
	font-size: 18px;
	font-weight: bold;
	margin: 15px 0 15px 0;
}
form.form_modern div.chb {
	display: inline-block;
}
form.form_modern div.chb label {
	display: block;
	width: 300px;
}
form.form_modern div.error {
	background: none;
	border: none;
	padding: 0;
}
form.form_modern div.label {
	display: block;	
	margin-bottom: 10px !important;	
	vertical-align: top;
	position: relative;
}
form.form_modern div.label span.title,
form.form_modern div.label span.title label {
	font-weight: bold;
}
form.form_modern.contact div.label {
	width: 99%;
}
#container form.form_modern div.label span.title {
	display: block !important;
	width: auto;
	margin-bottom: 5px !important;
	text-align: left !important;
}
form.form_modern div.label span.title label {
	display: inline;
}
form.form_modern div.label input,
form.form_modern div.label textarea {
	background-color: #f7f5f3;	
	width: 300px !important;
	vertical-align: middle;
	margin-bottom: 0 !important;
	padding: 10px !important;	
	border: 1px solid #ebe7e0;
	background: #f2f3f3;
	transition: color 0.3s;
    border-color: #dddad6 #d8d5d2 #c4c0bc;
    transition: border-color 0.3s;
    border-image: none;
    outline: none;
    border-radius: 3px;
	transition: border-radius 0.3s;
}
form.form_modern div.label input:focus,
form.form_modern div.label textarea:focus {
	border-color: #979797;
	transition: border-color 0.5s;
	background-color: #fcfaf8;
	transition: color 0.3s;
	border-radius: 15px;
	transition: border-radius 0.3s;
}
form.form_modern div.label textarea {
	height: 150px !important;
	vertical-align: top !important;
}
form.form_modern div.label.textarea {
	background: none;
}
form.form_modern div.label div.chb input {
	width: auto !important;
	height: auto !important;
	margin: -3px 10px 0 0 !important;
	vertical-align: middle !important;
}
form.form_modern div.label div.chb label {
	min-height: inherit !important;
}
form.form_modern div.label select {
	width: 320px !important;
	height: 30px !important;
}
form.form_modern button {
	display: block;
	background-color: green;
	width: auto;
	height: auto;
	margin: 20px 0 0 0;	
	padding: 10px 20px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
form.form_modern span.error {
	width: 37px !important;
	height: 37px !important;
	line-height: 37px !important;
	vertical-align: middle;
}
form.form_modern label.error input,
form.form_modern label.error textarea,
form.form_modern div.error input,
form.form_modern div.error textarea {
	border-color: #f70029;
}
form.form_modern label span.error,
form.form_modern div span.error {
	display: none;
	background-color: #f70029;
	width: 34px;
	height: 34px;
	line-height: 34px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	border-radius: 4px;	
	vertical-align: middle;
	/*position: absolute;
	top: 0;
	right: -34px;*/
}
form.form_modern label.error span.error,
form.form_modern div.error span.error {
	display: inline-block !important;
	vertical-align: middle;
}

/*
** form
**/
form.form {
	margin: 0 0 30px 0;
}
form.form label {
	float: left;
	display: block;
	width: 100px;
	height: 15px !important;
	min-height: 15px !important;
	line-height: 18px !important;
	text-align: right;
	padding: 5px 0 0 0 !important;
	margin-right: 10px;
}
form.form input,
form.form textarea {
	border: 1px solid #7e7e7e;
	background-color: #fff;
	width: 300px;
	height: 25px;
	margin-bottom: 2px;
	padding: 2px 3px 0 3px;
	color: #7e7e7e;	
}
form.form textarea {
	height: 150px;
}
form.form input:hover,
form.form textarea:hover,
form.form input:focus,
form.form textarea:focus {
	background-color: #fff;
	border: 1px solid #7e7e7e;
}
form.form input.readonly,
form.form input.readonly:hover,
form.form input.readonly:focus {
	border: 1px solid #7e7e7e;
	background-color: #fff;
}
form.form input.btn {
	display: block;
	width: 105px;
	height: 38px;	
	margin-left: 110px !important;
	padding: 10px 0 !important;
	padding-bottom: 3px;
	text-decoration: none;
	text-align: center;	
	cursor: pointer;
	border: none;
}
h1.error {
	margin: 10px 0 0 0;
}
div.error {
	margin-top: 10px;
	padding: 20px 10px 10px 10px;
}

/*
** custom_select
**/
#container div.custom_select select {
    display: inline-block;
    height: 35px !important;
    margin: 0;
    padding: 5px 10px;
    font-size: 13px;
    outline: none;
    border: 1px solid #06609f;

    -webkit-appearance: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;

    background: #f2f3f3;
    /*background: -o-linear-gradient(top, #fcfdfd 2%, #f2f3f3 8%, #f2f3f3 58%, #f2f3f3 95%, #e8e9e9);
    background: -ms-linear-gradient(top, #fcfdfd 2%, #f2f3f3 8%, #f2f3f3 58%, #f2f3f3 95%, #e8e9e9);
    background: -moz-linear-gradient(top, #fcfdfd 2%, #f2f3f3 8%, #f2f3f3 58%, #f2f3f3 95%, #e8e9e9);
    background: -webkit-linear-gradient(top, #fcfdfd 2%, #f2f3f3 8%, #f2f3f3 58%, #f2f3f3 95%, #e8e9e9);
    background: linear-gradient(top, #fcfdfd 2%, #f2f3f3 8%, #f2f3f3 58%, #f2f3f3 95%, #e8e9e9);*/

    border-color: #dddad6 #d8d5d2 #c4c0bc;
    border-image: none;
    color: #000000;
    cursor: pointer !important;

    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';

    outline: none;
    border-radius: 0;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    div.custom_select select {
        padding-right: 30px;
    }
}
div.custom_select {
    display: inline-block;
    position: relative;
}
div.custom_select span.arrow {
    float: right;
    display: block;
    width: 20px;
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    font-size: 20px;
    margin: 5px 0;
    padding: 1px 4px;
    background: transparent;
    color: #7a7876;
    text-align: center;
    pointer-events:none;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    border-left: 1px solid #e3e2e2;
    
}
div.custom_select span.arrow:before {
	line-height: 22px;
	content: "▼";
	font-family: Arial;
	font-size: 14px;
}

/*
** error
**/
form.form div span.error {
	display: none;
	background-color: #f70029;
	width: 32px;
	height: 32px;
	line-height: 32px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	border-radius: 4px;	
}
form.form div.error span.error {
	display: inline-block;
	vertical-align: top !important;
}

/*
** btn
**/
form.form_modern input.btn {
    display: block;
    width: 105px;
    height: 38px;
    margin-left: 0 !important;
    padding: 10px 0 !important;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    background-color: #dddddd;
    border: 1px solid #ebe7e0;
   	border-color: #dddad6 #d8d5d2 #c4c0bc;
}
form.form_modern input.btn:hover {
	background-color: #c6c6c6;
}

/*
** old_lock
**/
span.old_lock:before {
	display: inline-block;
	margin-top: -4px;
}

div#footer div.bottom_menu {
	min-width: 320px !important;
	width: auto !important;
}