/*
 *  Copyright 2012 Anyware Services
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/*
 * CSS FOR FORMS
 */
 
.ametys-cms-content form span.art-button-wrapper input.art-button,
form.search span.art-button-wrapper input.art-button {
    background: -moz-linear-gradient(center top , rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    border: 1px solid #E3E3E3;
    border-radius: 3px;
    color: #22221E;
    cursor: pointer;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
}

.ametys-cms-content form span.art-button-wrapper input.art-button:hover,
form.search span.art-button-wrapper input.art-button:hover {
	background-color: #009EA0;
	border-color: #009EA0;
	color: #FFF;
}
 
.field,
.button 
{
	position: relative;
	text-align: right;
	margin-bottom: 13px;
}

.button 
{
	margin-top: 10px;
	text-align: right;
	margin-bottom: 13px;
}

.button input 
{
	display: inline-block;
}

.field .input, 
.field .select
{
	display: block;
	margin-right: 0;
	float: right;
}

.field .label 
{
	float: left;
	display: inline-block;
}

.art-sidebar1 .field .label label,
.art-sidebar2 .field .label label
{
	padding: 4px 0 2px 0;
	display: inline-block;
}

.field-end 
{
	clear: both;	
}

.mandatory-marker 
{
	color: red;
	margin-left: 3px;
}

fieldset 
{
	padding: 3px;
	margin-bottom: 12px;
}

.art-hmenu-form 
{
	float: none;
	padding-top: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;	
}

.field .input
{
	width: 40%;
	min-width: 245px;
	max-width: 900px;
}/*
 * CSS FOR FORMS
 */
 
.field,
.button 
{
	position: relative;
	text-align: right;
	margin-bottom: 13px;
}

.field .select 
{
	display: block;
	margin-right: 0;
	float: right;
	width: 40%;
	min-width: 235px;
	max-width: 900px;
}

.left-sidebar .field .label label,
.right-sidebar .field .label label
{
	padding: 4px 0 2px 0;
	display: inline-block;
}

.field .invalid
{
    background: #FFFBDE;
    border: 1px solid #FF0000;
    border-radius: 4px;
}
.ametys-cms-content form .invalid
{
    border: 1px solid #FF0000;
    border-radius: 4px;
    width:70%!important;
    overflow:hidden;
}

.ametys-cms-content form .form-error{
	width:100%!important;
}

.left-sidebar .field .input,
.right-sidebar .field .input
{
	width: 96%;
}

.left-sidebar .field .select, 
.right-sidebar .field .select
{
	width: 96%;
}

/* contact form */
.comment_form {
	float: left;
	width: 100%;
	margin-top: 30px;
}
.label label {
	float: left;
	width: 100%;
	display: block;
	margin-top: 10px;
}
.comment_form label{
	float: left;
	width: 90px;
	height: 15px;
	padding: 7px 10px;
	margin-bottom: 20px;
}
.input{
	width:100%!important;
}
.input input {
	float: left;
	width: 50%!important;
	height: 32px;
	line-height: 32px;
	vertical-align: middle;
	padding: 0px 0px 0px 10px;
	border-top: 2px solid #e1e1e1;
	border-left: 2px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: #f9f9f9;
}

.multicol2 .input input {
	width: 100% !important;	
}

.input textarea {
	float: left;
	width: 90%!important;
	height: 235px;
	padding: 2px 1px 0px;
	margin-bottom: 20px;
	border-top: 2px solid #e1e1e1;
	border-left: 2px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: #f9f9f9;
}

.multicol2 .input textarea {
	width: 100% !important;	
}

.address-info {
	float: left;
	background-color: #f9f9f9;
	border: 1px solid #e1e1e1;
	padding: 20px 20px 10px 20px;
	width: 90%;
	margin-bottom: 40px;
}

.google-map {
	width: 99%;
	height: 350px;
	border: 5px solid #fff;
	-webkit-box-shadow:  0px 0px 3px 0px rgba(0, 0, 0, 0.1);
	box-shadow:  0px 0px 3px 0px rgba(0, 0, 0, 0.1);
}




/* INFOS */
form .info
{
	font-style: italic;
 	font-size: 0.9em;
 	clear: both;
}

form .info p
{
	margin: 0 !important;
}

form .error
{
	color: #FF0000;
}

form .error ul
{
	padding: 0;
	margin: 0;
}

form .error ul li
{
    color: #FF0000;
    background: #FFFBDE;
    border: 1px solid #FF0000;
    list-style-type: none;
    line-height: 18px;
    margin: 5px 0;
    padding: 8px !important;
}

form .error p
{
	margin: 0;
}

/** @Captcha */

div.captcha
{
	clear: left;
	padding-top: 5px;
}

img.captcha-image 
{
    margin: 0  !important;
    background-color: #fff;
    float: left;
}

button.captcha-refresh-btn {
	background: transparent url('../img/form/refresh_24.png') no-repeat left top;
	height: 26px;
	width: 26px;
	border: 0 none;
	margin-left: 5px;
	margin-top: 15px;
	cursor: pointer;
}

button.captcha-refresh-btn span {
	visibility: hidden;
	position: absolute !important;
	top: -10000px;
	left: -10000px;
}

.captcha .image-captcha-help {
	font-style:italic;
	clear: both;
	font-size: 0.9em;
}

.captcha-end
{
	clear: both;
}

/** @end captcha */

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