/*
    Theme Name: Nirvana
    Theme URI: http://www.chaimaechraibi.com/
    Description: Trek Theme
    Version: 0.1
    Author: Chaimae Chraibi
     
    Nirvana Theme by Chaimae Chraibi || http://www.chaimaechraibi.com
*/

/**
 * Table of Contents:
 *
 * 1.0 - Reset & fonts
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 * 5.0 - Navigation
 * 6.0 - Content
 *   6.1 - Post Thumbnail
 *   6.2 - Entry Header
 *   6.3 - Entry Meta
 *   6.4 - Entry Content
 *   6.5 - Galleries
 *   6.6 - Post Formats
 *   6.7 - Post/Image/Paging Navigation
 *   6.8 - Attachments
 *   6.9 - Archives
 *   6.10 - Contributor Page
 *   6.11 - 404 Page
 *   6.12 - Full-width
 *   6.13 - Singular
 *   6.14 - Comments
 * 7.0 - Sidebar
 *   7.1 - Widgets
 *   7.2 - Content Sidebar Widgets
 * 8.0 - Footer
 * 9.0 - Featured Content
 * 10.0 - Multisite
 * 11.0 - Media Queries
 * 12.0 - Print
 * -----------------------------------------------------------------------------
 */

/**
 * 1.0 Reset & fonts
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal
 * http://necolas.github.com/normalize.css/ and Blueprint
 * http://www.blueprintcss.org/
 *
 * -----------------------------------------------------------------------------
 */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
    max-width: 100%;
}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}

body,
button,
input,
select,
textarea {
    color: #2b2b2b;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

body {
    /*background: #fff;*/
}

a {
    color: #2C3E50;
    text-decoration: none;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

a:active,
a:hover {
    color: #7FB6D4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 700;
    margin: 0 0 12px;
}

h1 {
    font-size: 26px;
    line-height: 1.3846153846;
}

h2 {
    font-size: 24px;
    line-height: 1;
}

h3 {
    font-size: 22px;
    line-height: 1.0909090909;
}

h4 {
    font-size: 20px;
    line-height: 1.2;
}

h5 {
    font-size: 18px;
    line-height: 1.3333333333;
}

h6 {
    font-size: 16px;
    line-height: 1.5;
}

address {
    font-style: italic;
    margin-bottom: 24px;
}

abbr[title] {
    border-bottom: 1px dotted #2b2b2b;
    cursor: help;
}

b,
strong {
    font-weight: 700;
}

cite,
dfn,
em,
i {
    font-style: italic;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

p {
    text-align: justify;
    margin-bottom: 24px;
}

code,
kbd,
tt,
var,
samp,
pre {
    font-family: monospace, serif;
    font-size: 15px;
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    line-height: 1.6;
}

pre {
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    margin-bottom: 24px;
    max-width: 100%;
    overflow: auto;
    padding: 12px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

blockquote,
q {
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

blockquote {
    color: #767676;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.2631578947;
    margin-bottom: 24px;
}

blockquote cite,
blockquote small {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    float: right;
    font-style: italic;
}

blockquote em,
blockquote i {
    font-style: normal;
}

blockquote strong,
blockquote b {
    font-weight: 400;
}

small {
    font-size: smaller;
}

big {
    font-size: 125%;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

dl {
    margin-bottom: 24px;
}

dt {
    font-weight: bold;
}

dd {
    margin-bottom: 24px;
}

ul,
ol {
    list-style: none;
    margin: 0 0 24px 20px;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin: 0 0 0 20px;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
}

.image-center{text-align:center;}

.image-col, .image-col-right{display:inline-block;}
.image-col-right{margin-left:25px;}
.image-legende{display:block;text-align:center;font-style:italic;color:#999999;}

figure {
    margin: 0;
}

fieldset {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 0 24px;
    padding: 11px 12px 0;
}

legend {
    white-space: normal;
}

button,
input,
select,
textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 100%;
    margin: 0;
    max-width: 100%;
    vertical-align: baseline;
}

button,
input {
    line-height: normal;
}

input,
textarea {
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table,
th,
td {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin-bottom: 24px;
    width: 100%;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

th {
    border-width: 0 1px 1px 0;
    font-weight: bold;
}

td {
    border-width: 0 1px 1px 0;
}

del {
    color: #767676;
}

hr {
    background-color: rgba(9, 19, 45, 0.5);
    border: 0;
    height: 1px;
    margin-bottom: 20px;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {
    background: #2C3E50;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #2C3E50;
    color: #fff;
    text-shadow: none;
}

/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */

/* Input fields */

input,
textarea, 
select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    color: #2b2b2b;
    padding: 8px 10px 7px;
}

textarea {
    width: 100%;
}

input:focus,
textarea:focus {
    border: 1px solid rgba(0, 0, 0, 0.3);
    outline: 0;
}

/* Buttons */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background-color: #2C3E50;
    border: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 30px 11px;
    text-transform: uppercase;
    vertical-align: bottom;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background-color: #7FB6D4;
    color: #fff;
}

button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    background-color: #7FB6D4;
}

.search-field {
    width: 100%;
}

.search-submit {
    display: none;
}

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
    color: #939393;
}

:-moz-placeholder {
    color: #939393;
}

::-moz-placeholder {
    color: #939393;
    opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
    color: #939393;
}

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object,
video {
    margin-bottom: 24px;
    max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
    margin-bottom: 0;
}

/* Alignment */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

blockquote.alignleft,
figure.alignleft,
img.alignleft {
    margin: 7px 24px 7px 0;
}

blockquote.alignright,
figure.alignright,
img.alignright {
    margin: 7px 0 7px 24px;
}

blockquote.aligncenter,
img.aligncenter {
    margin-top: 7px;
    margin-bottom: 7px;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 17px;
    width: 50%;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
    margin-bottom: 17px;
}

/* Assistive text */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    text-transform: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

.hide {
    display: none;
}

cite::before {
    content: '— ';
}

cite span {
    font-style: normal;
    font-weight: 700; 
}

cite span::before {
    content: ', ';
}

.clearer {
    clear: both;
}

/**
 * 3.0 Personnalisation
 * -----------------------------------------------------------------------------
 */
body, html {
    width: 100%;
    margin: 0;
}

h2 {
    font-family: 'Open Sans';
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1A2530;
    font-weight: 300;
    text-align: center;
    margin: 50px 0;
    font-size: 30px;
}

h4 {
    color: #E74C3C;
    font-size: 90%;
    text-align: center;
    margin-bottom: 40px;
}

/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */

#site {
    margin: auto;
}

/**
 * 4.0 Header
 * -----------------------------------------------------------------------------
 */

header {
    width: 1100px;
    height: 85px;
    margin: auto;
    /* margin-top: 25px; */
    padding-top: 35px;
    z-index: 1;
    position: relative;
}

header div#logo,
header div#logo a,
header div#logo a img {
    display: inline-block;
    width: 270px;
    height: 55px;
    z-index: 2;
}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */
#site header nav,
#site header nav ul {
    max-width: 625px;
    padding: 0;
    list-style: none;
    z-index: 1;
    float: right;
    margin-bottom: 0;
}

#site header nav ul {
    padding-top: 15px;
    margin: 0;
}

#site header nav ul li {
    display: inline-block;
    margin: 0 5px;
    text-align: center;
    font-size: 14px;
}

#site header nav ul li:last-child {
    margin: 0 0 0 5px;
}

#site header nav ul .fb{ float:right; }

#site header nav ul li a, #site header nav ul li a:visited {
    color: #FFF; /*1A2530*/
    text-transform: uppercase;
    font-family: 'Open Sans';
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
}

#site header nav ul li a:hover, #site header nav ul li a:active {
    color: #7fb6d4; /*2c3e50; /*e74c3c;*/
    text-shadow: 0px 0px 7px #2c3e50;
}


/**
 * 6.0 - Content
 * -----------------------------------------------------------------------------
 */

#bigScene,
#littleScene {
    width: 100%;
    height: 500px;
    margin: 0 0 0 0;
    overflow: hidden;
    position: relative;
    top: -120px;
    z-index: 0;
}

#littleScene {
    height: 120px;
    margin: 0;
}

#bigScene img,
#littleScene img {
    /*margin-top: -30%;*/
    min-width: 100%;
}

#bigScene .texte,
#littleScene .texte {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 150px;
    color: #FFF;
    text-shadow: 0px 0px 7px #2c3e50;
}

.buttonWrap {
    display: table;
    margin: auto;
}

#bigScene .texte h2,
.button,
#littleScene .texte h2 {
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 50px;
}

.button {
    font-weight: 300;
    width: 200px;
    border: 2px solid #FFF;
    font-size: 14px;
    display: inline-block;
    margin: 0 5px;
    transition: background 0.5s ease;
}

#bigScene .texte h1 span,
#littleScene .texte h1 span {
    font-size: 72px;
}

.button a {
    display: block;
    color: #FFF;
    padding: 15px;
    text-shadow: 0px 0px 2px #000;
    transition: all 0.5s ease;
}

.button.black {
    border-color: #000;
}

.button.black a {
    color: #000;
    text-shadow: none;
}

.button:hover {
    background: #FFF;
    transition: all 0.5s ease;
}
.button:hover a {
    color: #000;
    text-shadow: none;
    transition: all 0.5s ease;
}

.button.black:hover {
    background: #000;
    transition: all 0.5s ease;
}
.button.black:hover a {
    color: #FFF;
    transition: all 0.5s ease;
}

#content {
    margin-top: -120px;
}


#content #presentation {
	background:#f1f1f1;
	padding :40px;
	width:1100px;
	margin:auto;
}

#content #presentation h1{
	display:block;
	margin:auto;
	width:1100px;
	text-align:justify;
	font-weight:normal;
	font-size:18px;
}

#content #treks {
    margin-bottom: 25px;
}

#content #treks ul {
    width: 1100px;
    margin: auto;
    padding: 0;
}

#content h1 , #content h3{
    margin-bottom: 30px;
    text-align: center;
}

#content #treks ul li {
    width: 350px;
    height: 200px;
    margin-right: 20px;
    margin-bottom: 20px;
    display: inline-block;
    list-style: none;
    overflow: hidden;
    position: relative;
}

#content #treks ul li:nth-of-type(3),
#content #treks ul li:nth-of-type(6) {
    margin-right: 0;
}

#content #treks ul li a {
    display: inline-block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    position: absolute;
    top: 0;
}

#content #treks ul li a .image {
    display: block;
    width: 350px;
    height: 200px;
    overflow: hidden;
}

#content #treks ul li .image img {
    width: 350px;
    margin-top: -15px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

#content #treks ul li:hover .image img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    transition: all 0.5s ease;
}

#content #treks ul li a span {
    display: block;
    width: 310px;
    height: 85px;
    margin: 20px auto;
    padding-top: 75px;
    overflow: hidden;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    background-color: rgba(255,255,255,0.5);
    transition: all 0.5s ease;
}

#content #treks ul li:hover a span {
    background-color: rgba(0, 0, 0, 0);
    color: #FFF;
    transition: all 0.5s ease;
}

#content #testimonies {
    min-height: 300px;
    padding-top: 25px;
    background-color: #f1f1f1; /*8f8b8c*/
    margin-bottom: 50px;
}

#content #testimonies ul {
    width: 1100px;
    margin: auto;
    list-style: none;
}

#content #testimonies blockquote p:nth-of-type(1) {
    min-height: 110px;
}

#content #testimonies blockquote p:nth-of-type(2) {
    text-align: right;
}

#content #testimonies blockquote p:nth-of-type(2) a {
    color: #e74c3c;
    font-weight: 700;
    font-size: 70%;
}

#content #testimonies blockquote p:nth-of-type(2) a:hover {
    color: #7FB6D4;
}

#content #testimonies blockquote p:nth-of-type(2) a:before {
    content: '> ';
}


#content #testimonies div,
#content.photos div.nextprev {
    width: 1350px;
    margin: auto;
    position: relative;
    top: -150px;
    z-index: 100;
}



#content.photos div.nextprev {
    width: 90%;
    margin: auto;
    top: 500px;
}

#content #testimonies div a,
#content.photos div.nextprev a {
    display: inline-block;
    font-size: 50px;
}

#content.photos div.nextprev a {
    color: #FFF;
}

#content #testimonies div a#next,
#content.photos div.nextprev a#next {
    float: right;
}

#content .intro,
#content .gallery,
#content .itineraries .text,
#content .itineraries .recap {
    width: 1100px;
    margin: auto;
    text-align: justify;
}


#content .itineraries #map-canvas,
#content.contact #map-canvas {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 30px 0;
}

#content.contact #map-canvas {
    height: 500px;
    margin: 0 0 50px 0;
}

#content .itineraries .recap, .testimony{
    background: #F1F1F1;
    margin-bottom: 30px;
    padding: 30px;
}

#content .itineraries .recap h2 {
    color: #E74C3C;
}

#content .itineraries .recap h2:before {
    content: 'Trek ';
    font-weight: normal;
}

#content .itineraries .recap ul {
    list-style: none;
}

#content .itineraries .recap ul li .label {
    float: left;
    display:block;
    width: 140px;
}

.contactDetails {
    /* display: table; */
    width: 1100px;
    margin: auto;
    background: #00F;
    position: relative;
    top: -500px;
}

.contactDetails div {
    text-align: left;
    display: inline-block;
    /* top: 140px; */
    margin: 3em 0;
    z-index: 99;
    width: 300px;
    background: rgba(44, 62, 80, 0.8);
    color: #FFF;
    padding: 30px;
    right: 0;
    position: absolute;
}

#content.contact .contactDetails h1 {
    color: #FFF;
    font-size: 18px;
    text-align: left;
    margin-bottom: 10px;
}

#content.contact .contactDetails a {
    color: #7FB6D4;
}

#content.contact .contactDetails p {
    margin: 0 0 15px 0;
}

#content.contact form {
    width: 1100px;
    margin: auto;
    margin-bottom: 50px;
}

#content.contact form .alignleft,
#content.contact form .alignright {
    width: 540px;
    height: 200px;
    display: inline-block;
}

#content.contact form .alignleft textarea {
    width: 100%;
    height: 200px;
    resize: none;
}

#content.contact form .alignright input,
#content.contact form .alignright select {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
}

#content.contact form .alignleft textarea,
#content.contact form .alignright input,
#content.contact form .alignright select {
    background: #F1F1F1;
    border: 0;
}

#content.contact form .alignright input:last-of-type {
    margin-bottom: 0;
    height: 50px;
    width: 130px;
    float: right;
    background: #2C3E50;
}

#content.guides h1 {
    margin: 50px 0;
    clear: both;
}

#content.guides ul,
#content.guides .homestay,
#content.guides .association {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    list-style: none;
}

#content.guides ul li.guide {
    background: #F1F1F1;
    margin: 10px 0;
    min-height: 240px;
}

#content.guides ul li.guide ul:first-of-type li.img,
#content.guides ul li.guide ul:first-of-type li.infos {
    display: inline-block;
    vertical-align: top;
}

#content.guides ul li.guide ul li.img {
    width: 200px;
    height: 200px;
    overflow: hidden;
    padding: 20px 0 0 20px;
}

#content.guides ul li.guide ul:first-of-type li.infos {
    padding: 20px;
    max-width: 830px;
}

#content.guides ul li.guide ul:first-of-type li.infos span {
    font-weight: bold;
    display: inline-block;
    width: 180px;
}
#content.guides ul li.guide ul:first-of-type li.infos span:after {
    content: ' : ';
}

#content.guides ul li.guide ul:first-of-type li.infos ul li {
    display: block;
}

#content.guides ul li.guide ul:first-of-type li.infos ul li p {
    margin-bottom: 0;
}

#content.guides .homestay img {
    float: right;
    margin: 0 0 50px 20px;
}

#content .guide-apropos{
	padding:20px 20px;
	text-align:justify;
}

#content.guides .img-container {
	text-align:center;
}

#content.conseils,
#content.photos,
#content.testimonies {
    width: 1100px;
    margin: auto;
}

#content.photos #slideshow .simg {
    max-height: 1000px;
    display: block;
}

#content.photos #slideshow .simg img {
    min-width: 100%;
}












footer {
    height: 70px;
    background: #000;
    color: #FFF;
    font-size: 70%;
    text-align: right;
    clear: both;
    margin-top: 170px; /*50px + 120px de margin négatif sur le content*/
}

footer .footer_content {
    width: 1100px;
    height: 30px;
    margin: auto;
    padding-top: 20px;
}

footer .footer_content img {
    float: left;
    height: 50px;
    margin-top: -8px;
}

div.texte div.titleText span {
  font-size: 70px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 5px;
  /* margin-bottom: 28px; */
}

.titleText {
  text-align: center;
  text-transform: uppercase;
  line-height: 45px;
  margin: 60px 0;
  font-size: 20px;
  letter-spacing: 3px;
}

#test {
    min-height: 200px;
    padding-top: 20px;
    background-color: #f1f1f1; /*8f8b8c*/
    margin-bottom: 50px;
    
}
#test h1, #test h2, #test h3, #test{color:#aaaaaa !important;margin:0 0; padding:0 0;}
#test h2{font-size:16px;}
#test .left{ margin-left:50px;float:left;}