/**
 * @title          global opening
 * @description    opening banner before page contents, with push buttons, navigation or specific modules
 * @media          screen
 * @required       global-base.css
 */


/**
 * @section        opening
 * @description    sub header with page title, sub navigation (HTML or flash)
 * @tree           #opening < #page < #wrapper < body
 */
#opening {
    position:relative;
    margin:0 auto;
    width:817px;
    background:#4C4C4C; color:#FFF;
}

/* hide titles */
#opening .footerType, #opening .homeVisualType h1, #opening .homeTextType h1, #opening .flashType h1 {position:absolute; left:-10000px;}

/* hide temporarily swf alternatives */
/*#js #opening .swfAlt {visibility:hidden;}*/

/* pushs and buttons */
#opening .pushs {
    position:absolute; left:527px;
    width:265px;
}
#opening .homeVisualType .pushs {top:150px;}
#opening .homeTextType .pushs, #opening .visualType .pushs {top:35px;}

#opening .text {
    margin-bottom:-15px;
    width:245px;
    color:#313131;
    font:italic 14px Georgia, "Times New Roman", Times, serif;
}
#opening .hidden {
    visibility:hidden;
}
#opening .text p {
    padding:10px 15px 15px 15px; margin:0;
    background:url(/templates/versailles/images/home/bg/push-opening.png) no-repeat;
}
#opening .text strong {
    display:block;
    font-size:30px; font-style:normal; font-weight:normal;
}
#opening .text .end {
    display:block;
    height:4px;
    background:url(/templates/versailles/images/home/bg/push-opening-end.png) no-repeat;
}

#opening .more p {
    margin:0 0 2px 128px;
    background:url(/templates/versailles/images/common/bg/core-btn-on.png) no-repeat -1000px 0; /* preload */
}
#opening .more span {
    display:block;
    padding:4px 4px 0;
    background:url(/templates/versailles/images/common/bg/opening-btn-top-shadow.png) no-repeat;
}
#opening .more span.end {
    overflow:hidden;
    padding:0;
    height:4px;
    background:url(/templates/versailles/images/common/bg/opening-btn-bottom-shadow.png) no-repeat;
}
#opening .more a {
    display:block;
    padding:3px 24px 3px 10px;
    width:91px;
    background:#FFF url(/templates/versailles/images/common/bg/core-btn.png) no-repeat 100% 50%; color:#434343;
    font-weight:bold;
    text-decoration:none;
}
#opening .more a:hover {
    background:#DDD url(/templates/versailles/images/common/bg/core-btn-on.png) no-repeat 100% 50%;
}

/* homes */
#opening .homeVisualType {height:377px;}
#opening .homeVisualType img, #opening .homeTextType img {display:block;}

/* visual */
#opening .visualType {height:265px;}
#opening .visualType .more {top:30px;}
#opening .visualType h1 {
    padding:20px 0 0 25px;
    width:220px;
    font-size:10px; font-weight:normal;
}
#opening .visualType h1 strong {
    display:block;
    font:24px Georgia, "Times New Roman", Times, serif;
}

/* menu */
#opening .menuType {
    min-height:124px;
    font-size:10px;
}
#js #opening .menuType {
    overflow:hidden;
    height:124px;
}
#opening .menuType .intro {
    float:left;
    padding:20px 16px 0 25px;
    width:171px;
}
#opening .menuType h1 {font-size:10px; font-weight:normal;}
#opening .menuType h1 strong {
    display:block;
    font:24px Georgia, "Times New Roman", Times, serif;
}
#opening .menuType p {margin:.2em 0 0;}
#opening .menuType ul {
    float:left;
    margin:24px 10px 0 0;
    width:500px;
    color:#FFF;
}
#opening .menuType li {
    float:left;
    padding:4px 0;
}
#opening .menuType ul a {
    float:left;
    width:210px;
    color:#FFF;
}
#opening .menuType ul .on a {
    cursor:default;
    text-decoration:none;
}
#opening .menuType ul .on span {
    padding-left:8px;
    background:url(/templates/versailles/images/common/picto/bullet-opening-menu-item.png) no-repeat 0 .45em;
    font-weight:bold;
}
#opening .menuType li img {
    float:left;
    margin:-4px 5px -2px 0;
}
#opening .menuType li span {overflow:hidden;}

#opening .menuType ul.login {width:450px;}
#opening .menuType .login li {
    margin-right:10px;
    width:210px;
}
#opening .menuType .login li p {
    clear:left;
    margin-left:27px;
    opacity:.8;
}

/* flash */
#opening .flashType {
    overflow:auto;
    height:265px;
}
#js #opening .flashType {overflow:hidden;}
#opening .flashType h2, #opening .flashType h3 {font:16px Georgia, "Times New Roman", Times, serif;}
#opening .flashType h2 {
    clear:both;
    margin:0 10px; padding:1em 0 .2em; border-bottom:1px solid #FFF;
    font-size:18px;
}
#opening .flashType .item h2 {
    margin:0; padding:0; border:0;
    font-size:16px;
}
#opening .flashType ul, #opening .flashType p {margin-top:.7275em;}
#opening .flashType p.dates {font-style:italic;}
#opening .flashType a {color:#FFF;}
#opening .flashType .more a {color:#313131;}
#opening .flashType .item {
    float:left;
    padding:10px;
    width:250px;
}

/* archives module */
#opening .offscreen {
	position:absolute; left:-10000px;
}
#opening .newsArchives h1 {
    padding:10px 0 15px;
    color:#D8B467;
    font-size:10px; font-weight:normal;
    text-align:center;
}
#opening .newsArchives h1 strong {
    display:block;
    color:#FFF;
    font:normal 21px Georgia, "Times New Roman", Times, serif;
}

#newsContents {
    position:relative;
    margin:0 auto 20px auto; outline:0;
    width:581px;
    color:#313131;
}
#newsContents h2 {
    padding:5px 15px;
    background:url(/templates/versailles/images/archives/bg/contents.png) no-repeat;
    font:normal 20px Georgia, "Times New Roman", Times, serif;
}
#opening .eventViolet h2,
#opening .eventViolet .content h4,
#opening .eventRestauration h2,
#opening .eventRestauration .content h4 {
	color:#77528C;
}
#opening .eventOrange h2,
#opening .eventOrange .content h4,
#opening .eventExposition h2,
#opening .eventExposition .content h4 {
	color:#BC6113;
}
#opening .eventGreen h2,
#opening .eventGreen .content h4 {
	color:#56896D;
}
#opening .eventLightBlue h2,
#opening .eventLightBlue .content h4,
#opening .eventVieScientific h2,
#opening .eventVieScientific .content h4 {
	color:#217AA2;
}
#opening .eventMustard h2,
#opening .eventMustard .content h4 {
	color:#c3a830;
}

#newsContents .next, #newsContents .prev {
    position:absolute; top:50%;
    overflow:hidden;
    margin-top:-15px; padding:31px 0 0;
    width:17px; height:0;
    background:url(/templates/versailles/images/archives/btn/prev-next.png) no-repeat;
}
#newsContents .prev {
    left:-37px;
    background-position:0 0;
}
#newsContents .next {
    left:601px;
    background-position:-17px 0;
}

#newsFilterYear {
    background:#000;
    font-size:9px;
}
#js #newsFilterYear {
    position:absolute; top:10px; right:10px; z-index:1;
    background:url(/templates/versailles/images/archives/bg/news-filter-year.png) no-repeat;
}
#newsFilterYear ul {
    margin:0;
    width:54px;
}
#js #newsFilterYear ul {background:url(/templates/versailles/images/archives/bg/news-filter-year.png) no-repeat -54px 100%;}
#newsFilterYear a {
    display:block;
    padding:0 24px 0 10px;
    background:url(/templates/versailles/images/archives/picto/bullet-news-filter-year.png) no-repeat 38px .8em; color:#BFBFBF;
    text-decoration:none;
    line-height:2;
}
#newsFilterYear ul a {background:none;}
#newsFilterYear ul li.on a {background:#4A4A4A; color:#FFF;}
#js #newsFilterYear ul {position:absolute; left:-10000px;}
#js #newsFilterYear.on {background-position:-54px 0;}
#js #newsFilterYear.on ul {left:0;}

#newsList {
    position:relative;
    overflow:auto;
    padding:0 15px 5px 15px;
    height:138px;
    background:url(/templates/versailles/images/archives/bg/contents.png) no-repeat 0 100%;
}
#js #newsList {overflow:hidden;}
#newsList ul {margin:0;}
#js #newsList ul {
    position:absolute; top:0; left:15px;
    outline:0;
    width:551px;
}
#newsList li {
    float:left;
    margin-right:10px;
    width:255px;
}
#js #newsList li {width:265px;}
#newsList a {
    display:block;
    padding-left:10px;
    background:url(/templates/versailles/images/archives/picto/bullet-contents-item.png) no-repeat 0 .5em; color:#313131;
	font-size:12px;
}
#newsList .on a {
    font-weight:bold;
    text-decoration:none;
    cursor:default;
}


/* @group flipster Navigation */
.flipster .flipster-nav {
	position: relative;
	display: table;
	margin:25px auto;
	width:630px;
	list-style-type: none;
}
.flipster .flipster-nav li {
	display: table-cell;
	margin: 0; padding: 5px; border-left:1px solid #807e82;
	background-color:#000;
	font-size: 12px;
	text-align: center;
	list-style-type: none;
}
.flipster .flipster-nav li:first-child {
	border-left:none;
}
.flipster li.flip-nav-current {
	background-color:#fff;
}
.flipster .flipster-nav .flip-nav-category-link,
.flipster .flipster-nav .no-category .flip-nav-item-link {
	color: #ffffff;
}
.flipster .flip-nav-current .flip-nav-category-link {
	color:#000;
}
.flipster .flipster-nav .flip-nav-category .flip-nav-items {
	display: none;
}
.flip-nav-category-link span {
	display:inline-block;
	margin-right:5px;
	width: 7px; height:7px;
}
.flip-nav-category-link span.eventGreen {
	background:#548e6e  url(/templates/versailles/images/common/bg/bg-btn-news-more-eventGreen.png) repeat-x;
}
.flip-nav-category-link span.eventViolet,
.flip-nav-category-link span.eventRestauration {
	background:#7a558f url(/templates/versailles/images/common/bg/bg-btn-news-more-eventViolet.png) repeat-x;
}
.flip-nav-category-link span.eventOrange,
.flip-nav-category-link span.eventExposition {
	background:#ce7a04 url(/templates/versailles/images/common/bg/bg-btn-news-more-eventOrange.png) repeat-x;
}
.flip-nav-category-link span.eventLightBlue {
	background:#299ac8 url(/templates/versailles/images/common/bg/bg-btn-news-more-eventLightBlue.png) repeat-x;
}
.flip-nav-category-link span.eventMustard {
	background:#b59c2d url(/templates/versailles/images/common/bg/bg-btn-news-more-eventMustard.png) repeat-x;
}
.newsArchives .archives {
	bottom:0;
	font-size:11px;
}
.newsArchives .flipster .flipster-nav {
	margin-bottom:14px;
}
/* @end */


#themeLoader {
    position:absolute; left:0; z-index:100;
    width:817px;
}
#themeLoader div {
    margin:75px 0 0; padding-top:35px;
    background:url(/templates/versailles/images/archives/picto/theme-loader.gif) no-repeat 50% 0; color:#FFF;
    text-align:center;
}


/* Media search */
#mediaSearch {
    position:relative;
    float:left;
    padding-top:20px;
    width:600px;
}
#mediaSearch .select label {padding-right:5px;}
#mediaSearch select {
    border:1px solid #7F9DB9;
    width:158px;
}
#mediaSearch .checkboxes {
    float:left; clear:left;
    padding-top:20px;
    width:400px;
}
#mediaSearch .checkboxes .legend {
    float:left;
    padding-right:5px;
}
#mediaSearch .checkboxes ul {
    float:left;
    margin:0;
    width:300px;
}
#mediaSearch .checkboxes li {
    padding-top:0;
}
#mediaSearch .checkboxes label {
    padding:0 15px 0 2px;
}
#mediaSearch .actions {
    float:right;
    margin-top:45px; padding-right:45px;
    width:150px;
}
#mediaSearch .actions input {
    margin:0; padding:2px 5px; border:1px solid #936A08;
    width:15em;
    background:#947218 url(/templates/versailles/images/common/bg/submit-btn.png) no-repeat -1000px 0; color:#FFF;
    font-size:10px;
    text-transform:uppercase;
    cursor:pointer;
}
#mediaSearch .actions input:focus, #mediaSearch .actions input:hover {background-position:0 0;}



/**
 * @section        clearing
 */
#opening > div:after, #newsContents ul:after, #openingFlash:after {
    display:block; clear:both;
    visibility:hidden;
    height:0;
    content:".";
}