/*
 *  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
 */

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

.button input 
{
	display: inline-block;
}

.ametys-cms-content form table td{
	text-align: left!important;
	font-size:0.7em;

}
/* pour que tout le formulaire soit de la même police et de la même taille */
/* .ametys-cms-content form label{ */
/* 	font-size:1.5em; */
/* } */

#main-content form[id ^="search-program-"],
#main-content form.search,
#main-content form[id ^="form"] {
	font-family: "Open Sans",sans-serif !important;
	font-size: 1.5em !important;
}

.ametys-cms-content form div br{
	display:none;
}
.ametys-cms-content form > div{ 
	border-top: 8px solid #000000;
	padding-top: 10px;
	padding-left: 10px;
	background-color: #F4F4F4;
}
.ametys-cms-content form .input input,
.ametys-cms-service form .input input,
.ametys-cms-content form select,
.ametys-cms-service form select,
.ametys-cms-service form textarea,
.ametys-cms-content form textarea{
/* 	background-color: white; */
/* 	border:1px solid #E4E4E4; */
    color: black;
	font-weight: 300;
	height: 30px;
}
.ametys-cms-content form input[type="file"]{
	min-width:200px;
}
.ametys-cms-content form .button input,
.ametys-cms-service form input[type="submit"]{
	background-color: #FF4400;
	border: 0 none;
	height: 36px;
	width:auto;
	/* 	supprimer le !important pour la recherche de formation */
	color: white;
	text-indent:0;
    font-weight: 600;
	padding: 0 15px;
	/* 	supprimer le !important pour la recherche de formation */
    text-transform: uppercase;

}

.ametys-cms-service{
	float:none;

}
.ametys-cms-service form > div{
	text-transform: uppercase;
}
.keywords{
	float:left;
}

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

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

.field-end 
{
	clear: both;	
}

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

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

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

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

.art-content .field
{
	text-align: left;
}
.art-content .button 
{
    text-align: right;
}

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

.art-sidebar1 .field .label label,
.art-sidebar2 .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 input
{
    border: 1px solid #FF0000;
    display: -moz-inline-stack;
}

.art-sidebar1 .field .input,
.art-sidebar2 .field .input
{
	width: 96%;
}

.art-sidebar1 .field .select, 
.art-sidebar2 .field .select
{
	width: 96%;
}

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

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

.error
{
	color: #FF0000;
}

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

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

.error p
{
	margin: 0;
}

/** @Captcha */

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

img.captcha-image 
{
    margin: 0  !important;
    border: 1px solid #222;
    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;
}

input.art-button[type="reset"][name ^="reset"],
input.art-button[type="submit"][name ^="submit"]{
	width: auto !important;
}

form.search input.search {
	max-width:11em;
    min-width:11em;
}

/* List subscription form of stetienne plugin */
#subscribeForm input[type=radio]{ display: inline-block; vertical-align: middle; margin-right: 5px; margin-bottom:0; }
#subscribeForm input[type=radio] + label{ display: inline-block; vertical-align: middle; margin-right: 20px; }
#subscribeForm input[type=submit]{ clear: both; margin-top: 20px; }