/**
* Default HTML elements
*/
img{
    border:1px solid #CCC;
}
ul.errors li {
    color:#FF0000;
}
.clear{
    clear:both;
}

.btn {
    cursor: pointer;
}

/**
* Boutons liens
*/
a[class^=button-] {
    display:inline-block;
    background-repeat: no-repeat;
    background-position: left center;
    line-height: 16px;
    height:16px;
    padding-left: 20px;
    margin: 2px;
    cursor:pointer;
}
a.button-add {background-image: url("../img/add.png");}
a.button-view {background-image: url("../img/zoom.png");}
a.button-group {background-image: url("../img/16/group.png");}
a.button-user {background-image: url("../img/16/user.png");}
a.button-user-disabled {background-image: url("../img/16/user-disabled.png");}
a.button-edit {background-image: url("../img/edit.png");}
a.button-link {background-image: url("../img/link.png");}
a.button-attachment {background-image: url("../img/attachment.png");}
a.button-wiki {background-image: url("../img/16/wiki.png");}
a.button-validate {background-image: url("../img/16/validate.png"); }
a.button-cancel {background-image: url("../img/16/cancel.png"); }
a.button-comment-moderation {background-image: url("../img/16/comment-moderation.png"); }
a.button-reply {background-image: url("../img/16/reply.png"); }
a.button-flag {background-image: url("../img/16/flag.png"); }

a[class^=button-traduction] {
    display: block;
    float:left;
    background-repeat: no-repeat;
    background-position: center center;
    width:16px;
    height:20px;
    margin-right:7px;
    margin-left:7px;
    margin-top:5px;
    cursor:pointer;
}
a.button-traduction-en{background-image: url("../img/flag_en.png");}
a.button-traduction-de{background-image: url("../img/flag_de.png");}
a.button-traduction-fr{background-image: url("../img/flag_fr.png");}
a.button-traduction-ar{background-image: url("../img/flag_ar.png");}
a.button-traduction-es{background-image: url("../img/flag_es.png");}

a.btn-lang {
    margin:auto;
}

a.art-button-traduction{
    margin-right:5px;
}

a.button-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

span.moderate-add{
    display:inline-block;
    background-image: url("../img/16/validate.png");
    background-repeat: no-repeat;
    background-position: left center; 
    line-height: 16px;
    height:16px;
    padding-left: 20px;
    margin: 2px;
    cursor:pointer;
}

span.moderate-suppr{
    display:inline-block;
    background-image: url("../img/16/cancel.png");
    background-repeat: no-repeat;
    background-position: left center; 
    line-height: 16px;
    height:16px;
    padding-left: 20px;
    margin: 2px;
    cursor:pointer;
}

span.moderate-revoke{
    display:inline-block;
    background-image: url("../img/16/comment-moderation.png");
    background-repeat: no-repeat;
    background-position: left center; 
    line-height: 16px;
    height:16px;
    padding-left: 20px;
    margin: 2px;
    cursor:pointer;
}

/**
 * Comment
 */

.comment_user {
    margin:10px;
    background: url("../img/32/user.png") no-repeat;
    padding-left:35px;
    height:32px;
    line-height:32px;
}
.comment_message {
    display: inline-block;
    margin: 2px 0 30px 30px;
    padding:5px;
    width: 300px;
    border:1px solid #777;
    border-radius:5px;
    -moz-box-shadow: 0 0 5px #ccc;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 3px 3px 5px #ccc;
}
.comment_actions {
    display: inline-block;
    margin: 10px 10px 30px 10px;
    float:right;
    padding:5px;
}
h4.comment_title {
    margin-left: 10px; 
}
span.arrow_down {
    display:block;
    background: lightgrey url("../img/down_arrow.png") no-repeat left center;
    padding:2px 0 2px 20px;
    width:96%;
    cursor:pointer;
    border:1px solid #555;
}
span.arrow_up {
    display:block;
    background: lightgrey url("../img/up_arrow.png") no-repeat left center;
    padding:2px 0 2px 20px;
    width:96%;
    cursor:pointer;
    border:1px solid #555;
}

/**
* Utils
*/
.content .left{
    float:left;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 10px;
}
.content .right{
    float:right;
    margin-left: 15px;
    margin-bottom: 15px;
    margin-top: 10px;
}
.content .clear{
    clear:both;
    display:block;
}
.content .border{
    border:1px solid #ccc;
}
.info{
    background-color: #EEE;
    color:#000;
    padding:2px 5px;
    font-style: italic;
}
.fieldset{
    border:1px solid #CCC;
    border-radius:8px;
    -moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 3px 3px 5px #ccc;
}

.fieldset-links{
    margin: 5px 5px 5px 15px;
}

.fieldset-links a{
    display: block;
    margin: 5px;
        margin-left: 0;
}

.fieldset-text {
    padding: 5px;
}

.subform {
    padding: 20px;
    margin-bottom:20px;
}

.subform h6{
    margin:0;
        margin-bottom: 10px;
}

.subform div{
    display: inline;
}

/**
* Blocks
*/
div.dk-block img {
    display:inline;
}

/**
* Node header
*/

.node-header-thumb img{
    float:left;
    width:45%;
    border:1px solid #333;
    margin-right:25px;
    margin-bottom:10px;
}


.node-header-description {
    margin-bottom:15px; 
}


/**
* Node item list
*/
#esz-content a h2,
section a h2 {
    text-transform: uppercase;
}

#esz-content .node-item,
section .node-item {
    border:1px solid #CCC;
    padding:5px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

#esz-content .node-item-basic,
section .node-item-basic {
    border:none;
    padding:0px 0px 0px 5px;
    margin-bottom: 0px;
}

#esz-content .node-comment,
section .node-comment {
    border:none;
    padding:0;
    margin: 15px;
        margin-right: 0;
        margin-left: 0;
}

#esz-content .node-item h3,
section .node-item h3 {
    font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Helvetica,Sans-Serif;
    text-transform: uppercase;
}


#esz-content .node-item-parent-link,
section .node-item-parent-link {
    margin-top:10px;
    text-align:right;
    font-weight:bolder;
    font-style: italic;    
}


.node-item-top-actions {
    text-align: right;
    font-size:11px;
    position:relative;
    z-index:5;
    margin-bottom: 15px;
}

div.dk-sidebar1 .node-item-top-actions,
div.dk-sidebar2 .node-item-top-actions,
aside .node-item-top-actions {
    margin-top:0px;
    text-align:center;
}

/**
* Node Slide List
*/
#esz-content .node-slide,
section .node-slide {
    border:0;
    padding:0;
    margin:0;
    border-radius: 0;
    position: absolute;
    width: 100%;
}

#esz-content .node-slideshow,
section .node-slideshow {
    margin: 0;
        margin-bottom: 15px;
}

#tabs-slide {
    padding:2px;
}

.node-slide-thumb .feed-item-slideshow-controls a.fx-prev{
   background-image: url("../img/slide-thumb-prev.png");
   display:inline-block;
   float:left;
   width:48px;
   height:48px;
}

.node-slide-thumb .feed-item-slideshow-controls a.fx-next{
   background-image: url("../img/slide-thumb-next.png");
   display:inline-block;
   float:right;
   width:48px;
   height:48px;
}

.slideshow {
   position: relative !important;
   width: 100% !important;
   overflow: hidden;
}

.fx-list .feed-item, 
.fx-list .node-slide-thumb, 
.fx-none .feed-item, 
.fx-none .node-slide-thumb {
    position: relative;
}

.node-slide-thumb {
    width: 100%;
}

.node-slide-thumb img{
    width: 100%;
}

.node-slide-thumb a{
    width:100%;
    display: block;
    position: relative;
}

.node-slide-thumb .node-slide-teaser {
    position:absolute;
    padding: 10px;
    bottom:0;
    left:0;
    right:0;
    min-height: 65px;
    background-color: #000;
    opacity:0.7;
    color: #FFF;
}

.node-slide-thumb .node-slide-title {
   text-transform: uppercase;
   font-size:16px;
   line-height:16px;
   margin-bottom: 5px;
}

.node-slide-thumb .node-slide-controls {
    position: absolute;
    top:50%;
    left:5%;
    width:90%;
    opacity:0;
    z-index: 100;
}

/**
* Panneau d'administration
*/
.node-item-add-panel {
    background: #FCFCFC;
    box-shadow: 2px 2px 6px 0;
    padding: 5px;
    margin-top: 5px;
    border-radius: 5px;
}

.node-item-add-panel ul {
    list-style-type:none;
}

.node-item-add-panel ul > li{
    background: none;
    border: 0px solid red;
    margin: 0;
}

.node-item-add-panel #add-panel-title {
    background-image: url("../img/pencil.png");
    background-position: left 8px top;
    background-repeat: no-repeat;
    border-bottom: 1px dotted #CCCCCC;
    color: #888888;
    font-size: 16px;
    font-weight: bolder;
    padding: 2px 35px;
    text-align: left;
}

.node-item-add-panel ul li a{
    display: block;
    border: 1px dotted #F9F9F9;
    padding: 2px 35px;
    background-image: url("../img/default.png");
    background-repeat: no-repeat; 
    background-position: center left 8px;
    margin: 2px 20px;
}

.node-item-add-panel ul li a:hover{
    border: 1px dotted #CCC;
    background-color: #EFEFEF;
    box-shadow:2px 2px 2px gray,
        -1px -1px 2px white;  
    text-decoration:none;
}

.node-item-add-panel ul li .add-page{background-image: url("../img/page.png");}
.node-item-add-panel ul li .add-news{background-image: url("../img/news.png");}
.node-item-add-panel ul li .add-article{background-image: url("../img/article.png");}
.node-item-add-panel ul li .add-basket{background-image: url("../img/basket.png");}
.node-item-add-panel ul li .add-website{background-image: url("../img/website.png");}
.node-item-add-panel ul li .add-feed{background-image: url("../img/feed.png");}
.node-item-add-panel ul li .add-contact{background-image: url("../img/contact.png");}
.node-item-add-panel ul li .add-files{background-image: url("../img/files.png");}
.node-item-add-panel ul li .add-agenda{background-image: url("../img/agenda.png");}
.node-item-add-panel ul li .add-slide{background-image: url("../img/slide.png");}
.node-item-add-panel ul li .add-newsletter{background-image: url("../img/newsletter.png");}
.node-item-add-panel ul li .add-comment{background-image: url("../img/comment.png");}
.node-item-add-panel ul li .add-folder{background-image: url("../img/folder.png");}

.node-item-top-actions a{
    text-decoration: underline;
    color:#333;
}

.node-item-bottom-actions{
    text-align: right;
	position:relative;
	z-index:999;
}

.node-item-readmore{
    margin-top: 10px;
}

.dk-blockcontent-body-page{
    padding: 0px;
}

.node-item-thumb {
    float: left;
    width: 40%;
    margin-right: 15px;
}

.node-item-thumb img{
    width:97%;
    float:right;
    border:1px solid #000;
    margin-right:15px;
}

.node-item-created{
    font-weight:bolder;
    font-style: italic;
    text-align: right;
}

a.node-item-edit{
    float:right;
    background-image: url("../img/edit.png");
    background-repeat: no-repeat; 
    width:16px;
    height:20px;
    margin-right:5px;
    margin-left:2px;
}

.node-item-add{
    background-image: url("../img/add.png");
    width:16px;
    height:16px;
    display:block;
    float:right;
    margin-right:5px;
}

.node-item-email{
    background-image: url("../img/email.png");
    width:16px;
    height:16px;
    display:block;
    float:right;
    margin-right:5px;
}

a.node-item-rss{
    float:right;
    background-image: url("../img/rss.png");
    background-repeat: no-repeat; 
    width:16px;
    height:20px; 

}

span.node-item-zoom, a.node-item-zoom {
    background-image: url("../img/zoom.png");
    background-repeat: no-repeat; 
    width:20px;
    height:20px;
    display:block;
    float:left;
    margin:3px;    
}

a.node-item-zoom{ 
    width:16px;
    margin:2px auto;    
    float:right;
}

span.node-item-author, a.node-item-author {
    background-image: url("../img/16/user.png");
    background-repeat: no-repeat; 
    width:20px;
    height:20px;
    display:block;
    float:left;
    margin:3px;    
}

a.node-item-author{ 
    width:16px;
    margin:2px auto;    
    float:right;
}

.node-item-add-cancel a{
    display:block;
    background-image: url("../img/16/cancel.png");
    background-repeat: no-repeat; 
    background-position: 98% center;
    height:30px;
}

a.node-item-wiki {
    float:right;
    background-image: url("../img/16/wiki.png");
    background-repeat: no-repeat; 
    width:16px;
    height:20px; 
    margin:0 4px;
}

a.node-item-print {
    float:right;
    background-image: url("../img/16/print.png");
    background-repeat: no-repeat; 
    width:16px;
    height:20px; 
    margin:0 4px;
}

.node-disabled{
    text-decoration: line-through;
}

.node-disabled .node-item-thumb, .node-disabled, .node-disabled h3, .node-disabled .node-item-teaser, .node-disabled .node-item-teaser{
    opacity:0.5;
    filter : alpha(opacity=30);
    color:#000;
}

a.contribution-parent {
    display:inline-block;
    background-image: url("../img/48/document-see.png");
    background-repeat: no-repeat; 
    width:48px;
    height:48px; 
    margin:0 4px;
}

a.contribution-edit {
    display:inline-block;
    background-image: url("../img/48/edit.png");
    background-repeat: no-repeat; 
    width:48px;
    height:48px; 
    margin:0 4px;
}

a.contribution-print {
    display:inline-block;
    background-image: url("../img/48/print.png");
    background-repeat: no-repeat; 
    width:48px;
    height:48px; 
    margin:0 4px;
}

a.contribution-history {
    display:inline-block;
    background-image: url("../img/48/history.png");
    background-repeat: no-repeat; 
    width:48px;
    height:48px; 
    margin:0 4px;
}

a.contribution-document-back {
    display:inline-block;
    background-image: url("../img/48/back.png");
    background-repeat: no-repeat; 
    width:48px;
    height:48px; 
    margin:0 4px;
}

/**
*   Tabs
*/

#tabs{
    
}

.tab-item-edit{
    background-image: url("../img/edit.png");
    background-repeat: no-repeat; 
    cursor:pointer !important;
    width:4px;
    height:8px;
    margin-top:5px;
    margin-left:-8px; 
}

/**
*   Feed
*/
.feed-item{
    border-top:1px dotted #CCC;
    padding-bottom:5px;
    background-color:#FFF; /* Hack IE */
    /*position: relative !important;*/
    position:absolute;
    width:95% !important;
}
.feed-item-title  h4{
    font-size:16px;
}
.feed-item-description img{
    float:left;
    margin-right:20px !important;
    border:1px solid #000;
}
.feed-head{
    border:1px dotted #CCC;
    padding:10px;
    background-color: #F9F9F9;
}
.feed-title{
    font-weight:bold;
}
.feed-item-link{
    text-align: right;
}
.feed-item-image img{
    width:30%;
}
.feed-item-slideshow-controls{
    text-align:left;
}
.feed-item-slideshow-controls a[class^='fx-prev'] {
   background-image: url("../img/prev.png");
   display: inline-block;
   width:16px;
   height:16px;
}
.feed-item-slideshow-controls a[class^='fx-pause'] {
   background-image: url("../img/pause.png");
   display: inline-block;
   width:16px;
   height:16px;
}
.feed-item-slideshow-controls a[class^='fx-next'] {
   background-image: url("../img/next.png");
   display: inline-block;
   width:16px;
   height:16px;
}
.feed-item-slideshow-controls a[class^='fx-resume'] {
   background-image: url("../img/resume.png");
   display: inline-block;
   width:16px;
   height:16px;
}

/**
* Social functions
*/

ul#share_links {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    width: 100%;
}

ul#share_links li {
    background-image: none;
    height: 16px;
    margin:0;
    display:inline;
    margin-right: 0;
    margin-left: 0;
    padding-left:0;
    text-align: left;
}

ul#share_links li a {
    background-position: left top;
    background-repeat: no-repeat;
    margin-right:10px;    
    padding-left:20px;
    display: inline-block;
    height: 18px;
    font-size: 11px;
}

ul#share_links li a.share-facebook {
    background-image: url("../img/facebook.png");
}

ul#share_links li a.share-favorite {
    background-image: url("../img/star.png");
}

ul#share_links li a.share-email {
    background-image: url("../img/email.png");
}

ul#share_links li a.share-twitter {
    background-image: url("../img/twitter.png");
}

ul#share_links li a.share-google {
    background-image: url("../img/google.png");
}

/**
* hover popups
*/

#pup {
  position:absolute;
  z-index:200; 
  margin-left: 10px;
  margin-top: 5px;
  width: 250px;
  border: 1px solid #333;
  box-shadow: 0 0 5px 2px #333;
  background: #CCC;
  opacity:1;
}

/*-------------------------------*/
/*      Mini calendar style      */
/*-------------------------------*/

.agenda-event-date {
    margin: 5px 5px 5px 0;
    border-collapse: collapse;
    border-spacing: 0px;
    width: 48px;
}
.agenda-event-date .agenda-event-date-month {
    background-color: #D05;
    color: #FFF;
    font-size: 1.5em;
    height: 16px;
    line-height: 100%;
    overflow: hidden;
    text-align: center;
    width: 48px;
    text-transform: uppercase;
    font-weight: normal;
}
.agenda-event-date .agenda-event-date-day {
    background-color: #FFF;
    border-width: 0px 5px 5px;
    border-style: none solid solid;
    border-color: -moz-use-text-color #DDD #DDD;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    text-align: center;
    vertical-align: top;
    font-size: 2.2em;
    height: 20px;
    font-weight: bold;
    line-height: 60%;
}

.node-list-agenda .node-agenda > h4 {
    margin: 0;
    margin-top: 30px;
}
.node-list-agenda .node-agenda > hr {
    margin-top: 5px;
    margin-bottom: 5px;
}
.node-list-agenda .node-event {
    margin: 0 0 15px 0;
}
.node-list-agenda .node-event > img {
    max-width: 40%;
}
.node-list-agenda .node-event p img {
    max-width: 100%;
    max-height: 170px;
    width: auto;
    height: auto;
    display: inline-block;
}
.node-list-agenda .node-event h5 {
    margin: 0;
    margin-top: 5px;
}
.node-list-agenda .node-event .media {
    text-align: left;
    margin: 15px 0 0 0;
}

a.badge {
    color: #fff !important;
}


/**
 *  Animate gif
 */
#wait_gif {
    display:none;
    position:fixed;
    top:50%;
    left:45%;
}
#wait_gif2 {
    display:none;
}

#wait-round {
    display: block;
    margin: auto;
}

/* Désactive certaines propriétés des yui css pour les tableaux Bootstrap */
.table th, .table td {
    text-align: left;
    border: none;
}

.table thead > tr > th {
    font-weight: bolder;
}
/*******************************/

a.btn {
    color:#FFF !important;
}

a.btn.btn-default {
    color:#333 !important;
}

#agenda-search {
    margin: 10px 10px 10px 10px;
    text-align: center;
}

.tab-filter-tags {
    zoom: 0.72;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 4px 4px 5px #ccc;
    background: linear-gradient(#fff, #eee);
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px;
}

th {
    font-weight: bold;
}

/* API Doc */

.api-doc-main td {
    vertical-align: middle;
    padding-left: 10px;
}

.api-doc-main ul {
    margin-left: 0px;
}

/* TinyMCE fix fullscreen */
.mce-fullscreen {
    top:25px !important;
}

#customized-header {
    overflow: hidden;
}

#customized-footer {
    overflow: hidden;
}

.node-page {
    cursor: pointer;
}

.node-disabled-state {
    text-decoration: none;
    font-style: italic;
    opacity: 1;
}

.eszh_box div.panel {
    width: 486px;
    margin: auto;
    margin-top: 10%;
}
.eszh_box h3 {
    color: #2D93D2;
    margin: 10px;
    font-size: 20px;
    font-weight: bold;
}
.eszh_box div.panel-default {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans-Serif;
    text-align: left;
    text-decoration: none;
}
.eszh_box div.panel-footer a {
    font-size: 13px;
    padding: 8px;
    text-decoration: none;
}

/** Navbar **/
li.nav-action {
}

li.nav-action:hover {
    background: transparent !important;
}

li.nav-action > a.node-item-edit:hover {
    background: url("../img/edit.png") no-repeat !important;
}
    
li.nav-action a {
    margin: auto;
    float: none;
    z-index: 100;
}

li.nav-action-horizontal {
    padding-top: 15px;
    margin-right: -15px;
}

li.nav-action-horizontal > a {
    margin-right: -5px;
}

li.nav-action-vertical {
    float: left;
    margin-bottom: -15px;
}

/** fix stars comments border **/
.panel-heading > span > img, #raty > img {
    border: 0 solid #a6a6a6;
    margin: 0;
}

/** dropdown hacks **/
ul.dropdown-menu {
    padding: 5px 0;
    margin: 2px 0 0;
}

ul.dropdown-menu > li {
    background: none;
    overflow-x: visible;
    overflow-y: hidden;
    font-size: 1em;
    margin: 0;
    padding: 0;
}