/*
 *  Copyright 2010 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.
 */
 
/** Personalize the css for services here */

/** @Service Attachment */

div.attachment-list {
	padding: 10px;
	font-size: 0.9em;
}

div.attachment-list div.folder{
}

div.attachment-list div.file{
}

div.attachment-list div.file a {
	color: #404040;
	text-decoration: none;
}

div.attachment-list div.file a:hover {
	color: #3D58BE;
	text-decoration: underline;
}

div.attachment-list div.file span.size {
	color: #B3B3B3 !important;
}

div.attachment-list div.folder img.icon {
	float: left;
}

div.attachment-list div.folder span.title {
	padding-top:10px;
	color : #000;
	background-color : transparent !important;
}

div.attachment-list .filetree li {
	clear: left;
	padding: 3px 0 2px 16px !important;
	list-style-image: none !important;
}
div.attachment-list .filetree .file img.icon {
    padding: 0;
}
div.attachment-list .treeview div.hitarea {
	background-color: transparent !important;
}
/* @end */

/** @Service Filtered content abstract  */
.col-content .box .content-list-wrapper .article, .col-content .box .content-list-wrapper li, .col-content .box .events-calendar-list li {background-color:#fff; padding: 6px 2px 6px 16px; margin-bottom: 6px;}
.col-content .box .content-list-wrapper li { list-style : none;}
.col-content .box .content-list-wrapper .article p.chapo, .col-content .box .content-list-wrapper li p.chapo { font-weight: bold; }

.content-list-wrapper.abstract .article h4, .content-list-wrapper.abstract li h4 {
	background-repeat : no-repeat;
	font-size: 0.9em;
	margin: 0;
	padding-left : 10px;
	text-transform : none !important;
}

body.page .bdx-content .col-content .box .content-list-wrapper.abstract .article h4, body.page .bdx-content .col-content .box .content-list-wrapper.abstract li h4,
body.page .bdx-content .col-right .box .content-list-wrapper.abstract .article h4, body.page .bdx-content .col-right .box .content-list-wrapper.abstract li h4 {
	margin-left: 216px;	
}

body.page .bdx-content .col-content .box .content-list-wrapper.abstract .article .no-img h4,
body.page .bdx-content .col-right .box .content-list-wrapper.abstract .article .no-img h4 {
	margin-left: 0px; 
}

.content-list-wrapper.abstract div.article .read-more a {
	color: #006BB1;
}

.content-list-wrapper.abstract div.article .news-date {

}

.content-list-wrapper.abstract div.article .news-abstract {
	line-height: 17px;
	color:#404040;
	padding-top: 5px;
}

.content-list-wrapper.abstract div.article .news-abstract img.image {
	float:left;
	margin-right: 10px;
}

.content-list-wrapper.abstract div.article .news-abstract .news-more a {
	color: #006BB1;
}

div.header-dots .content-list-wrapper.abstract h3 {
	padding-top : 3px;	
}

.content-list-wrapper .rss {
	float: right;
}

.content-list-wrapper div.link {
	font-size:12px;
	text-align: right;
    border-top: 1px solid #D8EDF8;
}

.content-list-wrapper div.link a {
	color: #006BB1;
}

/* @end */

/** @Service Filtered content main for photos/videos gallery */
.content-list-wrapper.abstract div.article .gallery-abstract {
	line-height: 17px;
	color:#404040;
	padding-top: 5px;
}

.content-list-wrapper.abstract div.article .gallery-abstract img.image {
	float:left;
	margin-right: 10px;
}

.content-list-wrapper.abstract div.article .gallery-abstract .gallery-more a {
	color: #006BB1;
}
/* @end */

/** @Service Filtered content main  */
.content-list-wrapper.main {
	background-color: #F5FAFC;
	padding: 5px;
}

.content-list-wrapper.main h3 {
	margin: 5px 0 5px 0;
	background-image: url(../img/icon-module-arrow.png);
	background-repeat : no-repeat;
	background-position : left;
}
/* @end */

/** @Service RSS feed */
.feed-entry-list .feed-entry .feed-entry-title {
	font-weight: bold;
	font-size: 1.1em;
}

.feed-entry-list .feed-entry .feed-entry-title a {
	color: #006BB1;
}

.feed-entry-list .feed-entry .feed-entry-enclosures .enclosure {
	font-size: 0.9em;
}

.feed-entry-list .feed-entry .feed-entry-enclosures .enclosure a {
	color: #006BB1;
}

.feed-entry-list .feed-entry .feed-entry-enclosures {
	background-color: #F5FAFC;
	padding: 8px;
	border: 1px solid #40afff;
}

/* @end */

/** @Service Front Search + odf Search */
.box #ametys-cms-zone-search {
	padding: 0;
}

#service-search-wrapper,
#service-odf-search-wrapper {
	background-color: #FFF;
	margin-bottom: 8px;
}

#service-odf-search-wrapper {
	padding: 0px;
}

.col-left #service-search-wrapper form,
.col-right #service-search-wrapper form,
.col-left #service-odf-search-wrapper form,
.col-right #service-odf-search-wrapper form {
	padding: 6px 2px 6px 0px;
}

body.research div.col-content  #service-search-wrapper form, 
body.advanced-research div.col-content  #service-search-wrapper form, 
body.research div.col-content  #service-odf-search-wrapper form, 
body.advanced-research div.col-content  #service-odf-search-wrapper form {
	padding-bottom: 0px;	
}

body.research div.col-content div.box {
	background-color: #FFF;	
}

body.advanced-research #service-search-wrapper,
body.advanced-research #service-odf-search-wrapper { 
	padding-bottom: 20px;	
}

body.advanced-research div.col-content div.formulaire {
	padding-left: 0px;	
}

body.advanced-research div.col-content .box form,
body.advanced-research div.col-content .box .search-hits,
body.advanced-research div.col-content .box .no-result {
	padding-left: 20px;
}

#service-search-wrapper h2.title,
#service-odf-search-wrapper h2.title, 
#service-search-wrapper h3.title,
#service-odf-search-wrapper h3.title  {
	padding: 6px 2px 6px 17px;
	text-transform: none;
}

#service-search-wrapper form label,
#service-odf-search-wrapper form label {
	color: #000;
}

#service-search-wrapper form label.checkbox,
#service-odf-search-wrapper form label.checkbox {
	font-weight: normal;
}

.col-left #service-search-wrapper form input,
.col-left #service-search-wrapper form input,
.col-right #service-odf-search-wrapper form input,
.col-right #service-odf-search-wrapper form input {
	width: 160px !important;
	color: #000;
}

.col-left #service-search-wrapper form input[type=submit],
.col-right #service-search-wrapper form input[type=submit],
.col-left #service-odf-search-wrapper form input[type=submit],
.col-right #service-odf-search-wrapper form input[type=submit] {
	width: 130px !important;
	position: relative;
}
.col-left #service-search-wrapper form .formulaire input[type=submit],
.col-left #service-odf-search-wrapper form .formulaire input[type=submit] {
	right: 24px;
}

.col-right #service-search-wrapper form .formulaire input[type=submit],
.col-right #service-odf-search-wrapper form .formulaire input[type=submit] {
	left: 5px;
}

.col-left #service-search-wrapper form select,
.col-right #service-search-wrapper form select,
.col-left #service-odf-search-wrapper form select,
.col-right #service-odf-search-wrapper form select {
	width: 167px !important;
	margin-bottom: 0;
}

.col-content #service-search-wrapper form input[type="text"],
.col-content #service-odf-search-wrapper form input[type="text"] {
	height:12px;
	width:214px;
}

.col-content #service-search-wrapper form select,
.col-content #service-odf-search-wrapper form select {
	width:220px;
}

#service-search-wrapper .back,
#service-odf-search-wrapper .back {
	background: url("../img/icon-module-arrow-left.png") no-repeat 0 5px;
	padding-left: 15px;
}

#service-search-wrapper .no-result,
#service-odf-search-wrapper .no-result {
	color: #404040;
	font-style: italic;
}

.content-list-wrapper .pagination {
	border: none !important;
}
#service-search-wrapper .pagination,
#service-odf-search-wrapper .pagination {
}

.content-list-wrapper .pagination,
#service-search-wrapper .pagination, #service-search-wrapper .results-sort,
#service-odf-search-wrapper .pagination, #service-odf-search-wrapper .results-sort {
	font-size: 9px;
}

.content-list-wrapper .pagination ul.nav li {
	line-height : 15px !important;
	min-height: 0px !important;
}

.content-list-wrapper .pagination ul.nav li input, 
#service-search-wrapper .pagination ul.nav li input,
#service-odf-search-wrapper .pagination ul.nav li input {
	font-size:1em;
}

.content-list-wrapper .pagination ul.nav,
#service-search-wrapper .pagination ul.nav,
#service-odf-search-wrapper .pagination ul.nav {
	margin: 0px;
	padding: 0px;
}

.content-list-wrapper .pagination ul.nav li,
#service-search-wrapper .pagination ul.nav li,
#service-odf-search-wrapper .pagination ul.nav li {
	display:inline;
	margin-right:3px;
	padding: 0px;
	margin-left: 1px;
	margin-right: 1px;
}

#service-search-wrapper .search-hits dt,
#service-odf-search-wrapper .search-hits dt {
	padding:5px 10px 0px 10px;
}
#service-search-wrapper .search-hits dd,
#service-odf-search-wrapper .search-hits dd {
	margin-bottom:10px;
	margin-left:0;
	padding-bottom:5px;
	padding-left:10px;
	padding-right:10px;
	padding-top:0;
}
#service-search-wrapper .search-hits dd span.site,
#service-odf-search-wrapper .search-hits dd span.site {
	color:#404040;
	font-size:0.9em;
	font-style:italic;
}

.content-list-wrapper .pagination ul.nav li.select,
#service-search-wrapper .pagination ul.nav li.select,
#service-odf-search-wrapper .pagination ul.nav li.select {
	border-left: 6px solid #7c766d;
	border-right: 6px solid #7c766d;
	padding: 0 3px;
	margin: 0 5px;
	height: 14px;
	overflow: hidden;	
}

#service-search-wrapper p.tri input, 
#service-odf-search-wrapper p.tri input, 
.content-list-wrapper .pagination ul.nav li input,
#service-search-wrapper .pagination ul.nav li input,
#service-odf-search-wrapper .pagination ul.nav li input
{
	border: none;
	cursor: pointer;
	margin: 0;
	padding: 0;
	width:auto;
	background: none;
	color:#7c766d;
	font-size: 1.1em;
	border-bottom: 1px solid #7c766d;
	position: static;
	width: auto !important;
}

body.research .col-content #ametys-cms-zone-default {padding-top: 0px;}
body.research .col-content #ametys-cms-zone-default form.search{padding-top: 0px; border: none;}

body.advanced-research .col-content .box #ametys-cms-zone-default {padding: 0px;}

#service-odf-search-wrapper p.tri, 
#service-search-wrapper p.tri { color:#e37a42; font-size: 1.15em; margin-top: 15px;}

.content-list-wrapper .pagination ul.nav li.page a:hover,
#service-odf-search-wrapper .pagination ul.nav li.page a.hover,
#service-search-wrapper .pagination ul.nav li.page a.hover {
	color: #FFF !important;
	text-decoration: underline;
}

/* @end */

/** @Service Newsletter */
#service-newsletter-form form {
	padding-left: 10px;
	padding-top: 10px;
}

#service-newsletter-form form input {
	width: 160px;
}

#service-newsletter-form form input[type=submit] {
	width: 130px;
	position: relative;
	left: 5px;
}

#service-newsletter-form form select {
	width: 167px;
	margin-bottom: 0;
}

#service-newsletter-form form .error {
	color: #FF0000;
}

#service-newsletter-form .unsubscribe p {
	text-align: center;
	padding-top: 10px;
	font-size: 0.9em;
}

#service-newsletter-form .invalid {
	border: 1px solid #FF0000;
}

#service-newsletter-form span.error {
	font-weight: bold;
}

#service-newsletter-form div.info {
	border: 1px solid #006BB1;
	padding: 5px;
	background-color:
}
#service-newsletter-form div.info, #service-newsletter-form div.info ul li {
	font-weight: bold;
	color: #006BB1;
}

#service-newsletter-form span.description {
	padding-left: 15px;
	font-size: 0.9em;
	font-style: italic;
}

#service-newsletter-form .mentions {
	padding-top: 15px;
}

#service-newsletter-form .mentions p {
	font-size: 0.9em;
	color: #999;
	margin: 2px 0 0 0;
}

#service-newsletter-list {
}
/* @end */


/**/
.mypage-search-wrapper {
	background-color: #fff;
}

.mypage-search-wrapper h3.title {
	padding: 6px 2px 6px 10px;
	text-transform: none;	
}
/* @end */