/* Mariage | Main CSS
 * 2015
 */

/* modif sophie */
@font-face {
    font-family: "Brain Flower";
    src: url('font/BrainFlowerEuro.ttf')  format('truetype');
	font-weight: normal;
	font-style: normal;
}

.photos { display: block; margin: 0 auto; }
	
/* BASIC STUFF */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 100%;
    font-weight: normal;
    line-height: 1.1;
/*
    background: #e0d9c9;
*/
    background: url("images/gris2.jpg?3244") repeat;
}

h2 {
    font-family: 'Brain Flower','italianno', cursive;
    font-size: 3.4em  /*1.8em*/ /*2.3em*/;
/*
    font-variant: small-caps;
*/
}
h3 {
    margin: 25px 0 4px 0;
    color: #ec8466;
}

a, a:visited, a:active {
    text-decoration: none;
	color: #4F8484;
}
a:hover {
    color: #ec8466;
}

.clear { clear: both; }
.hide { display: none; }

.exception p { margin: 0}


/* STRUCTURE */
#wrapper {
    position: relative;
    top: 5px;
    opacity: 0;
    filter: Alpha(Opacity=0);
}
#wrapper.large {
    margin: 0 auto;
    width: 95%;
    max-width: 1100px;
    min-width: 920px;
}
#wrapper.small {
    min-width: 550px;
}
#header { text-align: center; }
#header img { margin: 15px auto; }
#menu-wrapper {
    position: relative;
    margin-top: 10px;
    min-height: 31px;
}
#content-wrapper {
    position: relative;
    width: 100%;
}
#content {
    position: relative;
    margin: 50px auto 20px auto;
}
#content.large {
    padding: 1px 10px;
    width: 90%;
}
#content.small {
    padding: 0 4%;
    width: 92%;
}
#footer { margin: 60px auto; }
#footer.large { width: 100%; }
#footer.small { width: 90%; }


/* BASIC STYLING */
.box {
    padding: 7px;
    background: url("images/fondmenu.gif") repeat;
    border-top: 1px solid #8e1c1a;
    border-right: 3px solid #8e1c1a;
    border-bottom: 1px solid #9B9B9B;
    border-left: 1px solid #9B9B9B;
    border-radius: 5px;
}
.separator { display: block; width: 231px; margin: 0 auto; }


/* MENU LARGE*/
#menu-wrapper.large { width: 100%; text-align: center; }
#menu-wrapper.large #top-level li#menu-button { display: none; }
#menu-wrapper.large ul#top-level {
    padding: 0;
    width: 905px;
    margin: 5px auto 0 auto;
    list-style-type: none;
}
#menu-wrapper.large #top-level li.menu-item {
    display: block;
    width: 150px;
    float: left;
}
#menu-wrapper.large #top-level li img {
    margin-right: 7px;
    vertical-align: -30%;
}
#menu-wrapper.large #top-level li ul {
    display: none;
    position: absolute;
    top: 31px;
    left: 27px;
    z-index: 5;
    width: 140px;
    opacity: 0;
    filter: Alpha(Opacity=0);
}
#menu-wrapper .parent { position: relative; }
#menu-wrapper ul#submenu li {
    display: block;
    text-align: left;
}
#menu-wrapper ul#submenu li a {
    display: block;
}
#menu-wrapper #top-level li a {
    font-variant: small-caps;
    font-weight: bold;
    font-size: 1.3em;
    color: #4F8484;
}
#menu-wrapper #top-level li a:hover, #menu-wrapper #top-level li a.selected, #menu-wrapper #top-level li a:active {
    color: #ec8466;
}

/* MENU SMALL */
#menu-wrapper.small {
    width: 90%;
    margin: 0 auto;
}
#menu-wrapper.small #top-level li#menu-button {
    display: block;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #2f4f4f;
}
#menu-wrapper.small ul#top-level {
    display: block;  /* A changer ! */
    padding: 0;
    margin: 0 auto;
    list-style-type: none;
    overflow: hidden;
    height: 31px;
}
#menu-wrapper.small ul#top-level li {
    margin: 3px 0;
}
#menu-wrapper.small #top-level li img {
    margin-right: 7px;
    vertical-align: -20%;
}
#menu-wrapper.small #top-level li.menu-item img {
    visibility: hidden
}
#menu-wrapper.small ul#top-level li ul#submenu li {
    margin-left: 15px;
    padding-left: 7px;
    border-left: 1px solid #A4A4A4;
    list-style-type: circle;
}
#menu-wrapper.small #top-level li #submenu li a {
    color: #508585;
}
#menu-wrapper.small #top-level li #submenu li a:hover, #menu-wrapper.small #top-level li #submenu li a.selected {
    color: #ec8466;
}


/* PAGE TITLES */
#page-title {
    width: 550px;
    margin: 30px auto;
    text-align: center;
}
#page-title h2 { display: inline; }
#page-title img { vertical-align: -15px; }


/* CONTENT */
#content { text-align: center; }
#content .map.large {
    margin: 0 auto;
    width: 880px;
    height: 450px;
}
#content .map.small {
    margin: 0 auto;
    width: 95%;
    height: 400px;
}


/* LISTINGS */
.hi-wrapper {
    position: relative;
    margin: 0 auto 25px auto;
    text-align: left;
}
.hi-wrapper a { color: #4F8484; }
.hi-wrapper a:hover { color: #ec8466; }
.hi-wrapper h3 {
    margin-top: 0;
    padding-bottom: 3px;
    text-align: center;
    border-bottom: 1px solid #8e1c1a;
}
.hi-left { position: relative; width: 550px; }
.hi-foot { text-align: center; }
.hi-phone {
    padding-left: 1%;
    color: #888888;
}
.hi-address {
    padding-left: 1%;
    margin-bottom: 7px;
}
.hi-wrapper .hi-foot span {
    font-size: 1.2em;
    color: #8e1c1a;
}

.hi-wrapper.large { width: 690px; }

.hi-wrapper.large .hi-left {
    width: 550px;
    line-height: 1.2;
    border-right: 1px solid #8e1c1a;
    float: left;
}
.hi-wrapper.large .hi-right {
    width: 130px;
    float: right;
}
.hi-wrapper.large .hi-right a { display: block; }
.hi-wrapper.large .hi-foot {
    margin: 15px auto 5px auto;
    padding: 10px 0 3px 0;
    width: 98%;
    background: #fff;
    border-top: 1px solid #ccc;
    border-radius: 0 0 7px 7px;
}

.hi-wrapper.small { width: 450px; }
.hi-wrapper.small .hi-left { width: 450px; }
.hi-wrapper.small .hi-right {
    margin-top: 10px;
    padding-top: 4px;
    text-align: center;
    width: 450px;
    font-size: 0.9em;
    border-top: 1px solid #ccc;
}
.hi-wrapper.small .hi-right a { margin: 0 20px; }
.hi-wrapper.small .hi-foot {
    margin-top: 15px;
    padding-left: 15px;
    width: 440px;
}

/* FOOTER */
#footer {}
#footer-left {
    float: left;
    padding-top: 4px;
    font-size: 0.7em;
}
#footer-right {
    float: right;
    font-size: 1em;
    font-weight: bold;
    color: #4F8484;
}

/* EXTRAS */
#btt {
    position: fixed;
    bottom: -50px;
    z-index: 99;
    text-align: center;
    background: #250C07;
    border-radius: 7px 7px 0 0;
}
#btt:hover { cursor: pointer; }

#btt.large {
    padding-left: 5px;
    width: 170px;
    border-top: 1px solid #8e1c1a;
    border-right: 1px solid #8e1c1a;
    border-left: 1px solid #8e1c1a;
}
#btt.large img {
    position: absolute;
    left: 33px;
    top: 7px;
    width: 15px;
    vertical-align: -40%;
}
#btt.large a {
    display: block;
    padding: 4px 25px 4px 40px;
    font-size: 0.9em;
    color: #91BDBD;
}
#btt.large a:hover { color: #ec8466; }

#btt.small a { display: none; }
#btt.small {
    padding: 13px 10px;
    width: 30px;
    background: #4F8484;
    border-radius: 30px 30px 0 0;
}
#btt.small:hover {
    cursor: pointer;
    background: #E17A64;
}
#btt.small img {
    width: 24px;
}