/*
  Theme Name: LIPHO
  Theme URI: becreativeconcept.fr
  Description: Ligue d'improvisation phocéenne
  Version: 1
  Author: Haja Randriakoto
  Author URI: becreativeconcept.fr
  Tags: Blank, HTML5, CSS3

  License: MIT
  License URI: http://opensource.org/licenses/mit-license.php
*/
/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */

*,
*:after,
*:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* html element 62.5% font-size for REM use */

html {
    background: #f97384;
    font-size: 65%;
    font-size: 14px;
}
body {
    font: 300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #444;
}
/* clear */

.clear:before,
.clear:after {
    content: ' ';
    display: table;
}
.clear:after {
    clear: both;
}
.clear {
    *zoom: 1;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
a {
    color: #444;
    text-decoration: none;
}
a:hover {
    color: #444;
}
a:focus {
    outline: 0;
}
a:hover,
a:active {
    outline: 0;
}
input:focus {
    outline: 0;
    border: 1px solid #04A4CC;
}

.align-left {
    text-align: left;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.sidebar {
    display: none;
}
/* wrapper */

.wrapper {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    margin-top: 70px;
    margin-bottom: 400px;
    background: white;
    z-index: 2 !important;
    -webkit-box-shadow: 0 10px 10px -6px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 10px 10px -6px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 10px -6px rgba(0, 0, 0, 0.3);
    border-bottom: solid;
    border-color: #498BA9;
    border-width: 10px;
}
section {
    max-width: 1280px !important;
    width: 95%;
    margin: 0 auto;
    position: relative;
    margin-bottom: 100px;
}
/* header */

.header {}
/* logo */

.logo {} .logo-img {}
/* nav */

.nav {}
/* sidebar */

.sidebar {}
/* footer */

.footer {}
/*------------------------------------*\
    PAGES
\*------------------------------------*/
/*------------------------------------*\
    IMAGES
\*------------------------------------*/
/*------------------------------------*\
  TYPOGRAPHY
\*------------------------------------*/

@font-face {
    font-family: 'Font-Name';
    src: url('fonts/font-name.eot');
    src: url('fonts/font-name.eot?#iefix') format('embedded-opentype'), url('fonts/font-name.woff') format('woff'), url('fonts/font-name.ttf') format('truetype'), url('fonts/font-name.svg#font-name') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width: 320px) {} @media only screen and (min-width: 480px) {}

@media only screen and (min-width: 768px) {
}

    } @media only screen and (min-width: 1024px) {} @media only screen and (min-width: 1140px) {} @media only screen and (min-width: 1280px) {} @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) {}
/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}
::-webkit-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}
::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.sticky {} .bypostauthor {}
/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
/*------------------------------------*\
    LIPHO
\*------------------------------------*/

.nav {
    background: #F87385;
    height: 70px;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 100;
}
.nav ul li {
    display: inline-block;
    margin: 0px !important;
}
.nav ul {
    position: absolute;
    right: 40px;
    top: 50%;
    margin: 0px !important;
    list-style-type: none;
}
.nav ul {
    transform: translateY(-50%);
}
.nav ul li {
    position: relative;
}
.nav ul li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 25px 5px 25px 5px;
    font-family: Open Sans;
    color: #AB3F4D;
    letter-spacing: 2px;
    transition: all 0.3s;
    margin: 0px !important;
}
.nav ul li a:hover {
    color: #F9F58D;
}
.nav input[type=checkbox] {
    display: none;
}
label[for=checkbox_toggle] {
    display: none;
    cursor: pointer;
}
.logo-holder {
    max-width: 500;
    height: 44px;
    position: fixed;
    top: 14px;
    left: 30px;
}
.logo-holder img {
    height: 100%;
}
@media screen and (max-width: 700px) {
    label[for=checkbox_toggle] {
        display: block;
    }
    .menu-item-has-children {
        padding: 0px !important;
    }
    .menu-item-has-children > a {
        display: none !important;
    }
    .wrapper {
        margin-top: 0px;
    }
    .logo-holder {
        display: none;
    }
    .nav {
        width: 60px;
        height: 60px;
        border-radius: 0 50% 50% 50%;
        z-index: 200;
    }
    .nav ul {
        position: absolute;
        left: 50%;
    }
    .nav ul li {
        display: inline-block;
        width: 100%;
        margin: 5px;
        padding: 10px;
    }
    .nav ul li a {
        font-size: 15px;
        padding: 0px;
    }
    .nav ul {
        position: fixed;
        top: 0px !important;
        background: #F87385;
        width: 100% !important;
        text-align: center;
    }
    .nav ul {
        transform: translateX(-50%) translateY(0%);
    }
    .nav input[type=checkbox] {
        display: none;
    }
    .nav ul {
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s;
    }
    .nav input[type=checkbox]:checked ~ ul {
        visibility: visible;
        opacity: 1;
        padding: 20px;
    }
    .nav .fa-bars {
        color: white;
        position: absolute;
        top: 19px;
        left: 21px;
        z-index: 100;
    }
    .nav .fa-times-circle {
        position: absolute;
        top: 18px;
        left: 18px;
        z-index: 100;
        display: none;
    }
    .nav input[type=checkbox]:checked ~ .fa-bars {
        display: none;
    }
}
.nav {
    transition: all 0.5s;
}
.nav.hidden {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
}
/* Lipho Custom */
a {
 
    transition: all 0.5s;
}

a:hover {
   color: #F87385;
}

h1 {
    font-family: Amatic SC, Open Sans;
    font-size: 3.8em;
    line-height: 1.5em;
    color: #F87385;
    margin: 15px;
    text-align: center;
    margin-top: 30px;
}
h2 {
    font-family: Miniver, Open Sans;
    font-size: 2.2em;
    line-height: 1.5em;
    color: #498BA9;
    margin: 15px;
}
h3 {
    font-family: Open Sans;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 2em;
    color: #AB3F4D;
    margin: 15px;
}
h4 {
    font-family: Open Sans;
    font-size: 1.4em;
    font-weight: 400;
    line-height: 2em;
    color: #333;
    margin: 15px;
}
h5 {
    font-family: Open Sans;
    font-size: 1.4em;
    font-weight: 300;
    line-height: 2em;
    color: #333;
    margin: 15px;
}
h6 {
    font-family: Open Sans;
    font-size: 1.4em;
    font-weight: 300;
    line-height: 2em;
    color: #333;
    margin: 15px;
}
p {
    font-family: Open Sans;
    font-size: 14px ;
    font-weight: 300;
    line-height: 1.7em;
    color: #333;
    margin-top: 30px;
    margin: 15px;
}

.entry-summary {
    font-family: Open Sans;
    font-size: 14px ;
    font-weight: 300;
    line-height: 1.7em;
    color: #333;
    margin-top: 30px;
    margin: 15px;
}
li {
    font-family: Open Sans;
    font-size: 14px ;
    font-weight: 300;
    line-height: 1.5em;
    color: #333;
    font-size: 0.9em;
}

li a {
    font-size: 14px;
    line-height: 1.5em;
}

/*Evenements LIPHO*/

.event-container {
    position: relative;
    height: 200px;
    width: 350px;
    background: #F9F58D;
    margin: 0 auto;
    border-radius: 4px;
    overflow-X: hidden;
    overflow-Y: hidden;
}
.event-container img {
    height: 100%;
    pointer-events: none;
}
.event-description {
    height: 170px;
    width: 170px;
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 15px;
}
.event-description h3 {
    font-size: 1em;
    margin: 0px 0px 0px 0px !important;
}
.event-description h4 {
    font-size: 0.8em;
    line-height: 1.5em;
    margin: 0px 0px 0px 0px !important;
}
.event-description p {
    font-size: 0.7em;
    margin: 10px 0px 0px 0px !important;
}
.event-description a:hover {
    background-color: #AE3F4D;
}
.wpcf7 {
    background-color: white;
    max-width: 700px;
    padding: 15px;
    margin: 0 auto !important;
}
.wpcf7 input {
    background-color: #F9F58D;
    border: none;
    height: 30px;
    border-radius: 3px;
    margin-top: 10px;
    width: 100%;
    padding: 5px;
}
.wpcf7 textarea {
    background-color: #F9F58D;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    width: 100%;
    padding: 5px;
}
.wpcf7 {} .wpcf7 input[type="submit"] {
    text-decoration: none;
    max-width: 100px;
    display: block;
    text-decoration: none;
    font-family: Open Sans;
    font-size: 0.8em !important;
    font-weight: 700;
    background-color: #E36F84;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none !important;
    padding: 7px;
    position: absolute;
    transition: all 0.5s;
    border-radius: 2px;
}
.wpcf7 input[type="submit"]:hover {
    background-color: #E67F92 !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    cursor: pointer;
}
/*Evenements Styling  */

.segment-0 {
    height: 32px;
    text-align: left;
    text-indent: -9999px;
    white-space: nowrap;
    background: transparent url(img/return.svg) no-repeat top left;
}
.lsow-image-overlay {
    background: #E36F84 !important;
}
.lsow-portfolio-wrap .lsow-portfolio .lsow-portfolio-item .entry-summary {
    text-align: justify !important;
}
.lsow-portfolio-wrap .lsow-portfolio .lsow-portfolio-item.lsow-zero-margin .view-article {
    display: block;
    text-decoration: none;
    font-family: Open Sans;
    font-size: 0.8em;
    font-weight: 700;
    background-color: #f87385;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px;
    position: absolute;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: all 0.5s;
    border-radius: 2px;
}
.lsow-portfolio-wrap .lsow-portfolio .lsow-portfolio-item.lsow-zero-margin .view-article:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.lsow-portfolio-wrap .lsow-portfolio .lsow-portfolio-item.lsow-zero-margin {
    margin-top: 30px;
    margin-bottom: 30px;
}
.lsow-portfolio-wrap .lsow-portfolio .lsow-portfolio-item.lsow-zero-margin img {
    border-radius: 3px;
}
.lsow-filter-item a {
    color: #444 !important;
    text-transform: uppercase;
    font-size: 1em !important;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.lsow-filter-item a:hover {
    color: #E36F84 !important;
}
ul {
    margin: 0px !important;
}
.logo-header {
    display: none;
}
.footer-info {
    background-color: #262626;
    background-image: url(img/pw_maze_white.png);
    width: 100%;
    padding: 30px;
    position: fixed;
    height: 500px;
    bottom: 0px;
    z-index: 1;
    padding-top: 150px;
}
.footer-info p,
a {
    text-align: center;
    color: #444;
    font-weight: 400;
}
.footer-info a {
    font-weight: 700;
    transition: all 0.5s;
}
.footer-info a:hover {
    color: #E36F84;
}
.footer-info h3 {
    color: #444;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-weight: 700;
}
.footer-info img {
    max-height: 230px;
    display: block;
    margin: auto !important;
}

/* Site origin hero customisation*/

.so-widget-sow-button-wire-e02710d8c20e .ow-button-base a {
    transition: all 0.5s;
    text-transform: uppercase;
    border-radius: 4px !important;
}
.ow-button-hover {
    display: block;
    text-decoration: none;
    font-family: Open Sans;
    font-size: 0.8em;
    font-weight: 700;
    background-color: #E36F84;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none !important;
    padding: 7px;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: all 0.5s;
    border-radius: 2px;
}
.ow-button-hover:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
/*Email opt-in */

.mc4wp-form * {
    display: block;
    margin: 0px;
    padding: 0px;
}
.mc4wp-form br {
    display: none;
}
.mc4wp-form h1 {
    color: white;
    font-family: Open Sans;
    font-size: 3em;
    font-weight: 300;
    margin-bottom: 20px;
}
form.mc4wp-form input[type="submit"] {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #f87385;
    color: #FFFFFF !important;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none !important;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: all 0.5s;
    border-radius: 2px;
    text-decoration: none;
    font-family: Open Sans;
    font-size: 1em;
    font-weight: 700;
}
form.mc4wp-form input[type="submit"]:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
form.mc4wp-form input {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 7px;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: all 0.5s;
    border-radius: 2px;
    border: none;
    background-color: #F9F58D;
    width: 24.25%;
    float: left;
    margin-right: 1%;
}
form.mc4wp-form input:last-of-type {
    margin-right: 0px;
}
form.mc4wp-form label {
    background: gray;
    display: none;
}
form.mc4wp-form {
    padding: 15px;
}
@media screen and (max-width: 699px) {
    form.mc4wp-form input {
        width: 48%;
        margin-right: 2%;
    }
    form.mc4wp-form input:nth-of-type(2) {
        margin-right: 0px;
    }
}
@media screen and (max-width: 420px) {
    form.mc4wp-form input {
        width: 100%;
        margin-right: 0px;
    }
}
/* Page agenda - Event Manager */

.next-events ul {
    list-style-type: none;
    display: inline;
    margin: 0px;
    padding: 0px;
}
.next-events img {
    margin-top: 30px;
    border-radius: 3px;
}
.next-events .widget-title {
    font-family: Amatic SC, Open Sans;
    font-size: 3.8em;
    line-height: 1.5em;
    color: #F87385;
    margin: 30px;
    text-align: center;
    margin-top: 30px;
}
.next-events ul li:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.next-events ul li img {
    width: 50%;
    float: left;
    display: inline-block;
}
.event-text {
    width: 50% !important;
    float: left;
    display: inline-block;
    padding: 10px;
    padding-top: 30px;
    text-align: left;
}
.next-events ul li a {
    font-family: Open Sans;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5em;
    text-align: center;
    color: #498BA9;
    margin: 10px;
}

/* Events Manager 7+ compatibility: preserve the original homepage widget styling. */
.next-events .em-list-widget > li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.next-events .em-list-widget > li::after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.next-events .em-list-widget > li img {
    width: 50%;
    float: left;
    display: inline-block;
}
.next-events .em.pixelbones h2 {
    font-family: Miniver, "Open Sans" !important;
    font-size: 2.2em !important;
    line-height: 1.5em !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    color: #498BA9 !important;
    margin: 15px !important;
}
.next-events .em.pixelbones h2 a {
    font-family: Miniver, "Open Sans" !important;
    color: #498BA9 !important;
}
@media screen and (max-width: 699px) {
    .next-events ul li img {
        width: 100%;
        border-radius: 0px;
    }
    .event-text {
        width: 100% !important;
    }
}
.all-events-link a {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #f87385;
    color: #FFFFFF !important;
    border: 1px solid #f87385;
    -webkit-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    border-radius: 0.25em;
    text-shadow: 0 1px 0 rgba(0,
    0,
    0,
    0.05);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    line-height: 1em !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none !important;
    padding: 10px !important;
    width: 200px;
    margin: 30px 10px 10px 0px; !important;
    transition: all 0.5s;
    border-radius: 2px;
    display: inline-block;
    text-decoration: none;
    font-family: Open Sans !important;
    font-size: 1em !important;
    font-weight: 700;
    float: left;
}
div.all-events-link {} div.all-events-link a:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

/*page évènements*/

.card-grid {
    width: 100%;
}
.card-grid:after {
    content: "";
    display: table;
    clear: both;
}
.card-wrap a {
    transition: all 0.5s;
}
.card-wrap .eventlink a:hover {
    position: relative;
    color: #E36F84;
    margin-right: 15px;
}

.card-wrap {
    display: inline-block;
    width: 100%;
    padding: 5px;
    vertical-align: top;
}
.card-wrap img {
    border-radius: 5px 5px 0px 0px;
    width: 100%;
}
@media (min-width: 500px) {
    .card-wrap {
        width: 50%;
    }
}
@media (min-width: 720px) {
    .card-wrap {
        width: 25%;
    }
}
.card {
    background-color: #F9F58D;
    border-radius: 5px;
    padding-bottom: 20px;
}
.card > div {
    padding: 0 1em;
}
/* Events Manager Search */

.em-search-advanced div.css-search input,
div.css-search select {
    border: none;
    background-color: #F9F58D !important;
    border-radius: 3px !important;
}
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-scope.em-search-field > span > label:nth-child(1) input,
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-scope.em-search-field > span > label:nth-child(2) input {
    border-radius: 3px;
    background-color: #F9F58D;
    border: none;
    margin-top: 10px;
}
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-scope.em-search-field > span > label:nth-child(1),
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-scope.em-search-field > span > label:nth-child(2) {
    display: inline-block;
    float: left;
    width: 100%;
}
div.css-search div.em-search-advanced label > span {
    display: inline-block;
}
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-scope.em-search-field > span > label:nth-child(2) > input.em-date-input-loc.em-date-end {
    position: relative;
    left: 81px;
}
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-scope.em-search-field > span > label:nth-child(1) > input.em-date-input-loc.em-date-start {
    position: relative;
    left: -4px;
}
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-scope.em-search-field > span > label:nth-child(1) > span,
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-scope.em-search-field > span > label:nth-child(2) {
    margin-top: 10px;
}
.sub-menu li {
    display: inline-block;
}
/* Sub menu */

@media only screen and (min-width: 700px) {
    .sub-menu * {
        margin: 0px !important;
        padding: 0px !important;
    }
    .sub-menu {
        transform: none;
        background: #f87385;
        width: 200px;
        text-align: center;
        margin: 0px;
        padding-left: 0px;
        padding: 15px;
        -webkit-transform: none !important;
        transform: none !important;
        position: absolute;
        top: 45px !important;
        left: -45px;
        transition: all 0.5s;
        transform: translateY(-100%)scale(0.7) !important;
        visibility: hidden;
        opacity: 0;
        z-index: 99;
    }
    .sub-menu li {
        display: inline-block;
        margin: 0px;
        width: 100%;
        padding: 10px;
        border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    }
    .sub-menu li a {
        text-align: center;
        font-size: 0.8em !important;
    }
    .nav ul li:hover > .sub-menu {
        visibility: visible;
        transform: translateY(0%)scale(1) !important;
        opacity: 1;
    }
}
.nav ul li:hover {
    cursor: pointer !important;
}
#em-wrapper table {
    width: 100%;
    font-size: 1.3em;
    text-align: left;
    margin-top: 60px;
}
#em-wrapper table tr,
thead {
    padding: 10px;
}
main {
    /*min-height: 900px;*/
}
.em-booking-form-details input,
.em-booking-login-form input {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 7px;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: all 0.5s;
    border-radius: 2px;
    border: none;
    background-color: #F9F58D;
    width: 100% !important;
    float: left;
    display: block;
}
.em-booking-form-details textarea,
.em-booking-login-form textarea {
    background-color: #F9F58D;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    width: 100%;
    padding: 5px;
    width: 100% !important;
}
.em-booking-form {
    border-top: solid 1px lightgray;
}
.em-booking-login-form {
    border-left: solid 1px lightgray;
}
.em-booking-form-details input[type="submit"] {
    text-decoration: none;
    display: block;
    text-decoration: none;
    font-family: Open Sans;
    font-size: 0.8em !important;
    font-weight: 700;
    background-color: #E36F84;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none !important;
    padding: 7px;
    position: absolute;
    transition: all 0.5s;
    border-radius: 2px;
    display: block;
    width: 250px !important;
    margin-left: 15px;
}
.em-booking-login-form input[type="submit"] {
    text-decoration: none;
    font-family: Open Sans;
    font-size: 0.8em !important;
    font-weight: 700;
    background-color: #E36F84;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none !important;
    padding: 7px;
    transition: all 0.5s;
    border-radius: 2px;
    display: block;
    margin-top: 30px;
    margin-bottom: 15px;
    width: 200px !important;
    clear: both;
}
.em-booking-login-form input[type="checkbox"] {
    clear: both;
}
.em-booking-login-form {
    padding: 30px !important;
}
.em-booking-form-details {
    padding: 15px !important;
}
#em-booking > form > div {
    padding: 0px;
    margin: 0px;
    border-left: none;
    display: inline-block;
    width: 50%;
}
div.em-booking-login {
    padding: 0px;
    margin: 0px;
    border-left: none;
    display: inline-block;
    width: 50%;
}
div.em-booking-login label {
    display: block;
    width: 90px;
}
@media only screen and (max-width: 700px) {
    #em-booking > form > div,
    div.em-booking-login {
        float: left;
        width: 100%;
        border: none;
        margin-top: 50px;
    }
}
/*Désactive les commentaires */

.comments {
    display: none;
}
/* Styles boutons*/

.btn-primary {
    text-decoration: none;
    font-family: Open Sans;
    font-size: 1em;
    font-weight: 700;
    background-color: #F87385;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px;
    margin-top: 30px;
    margin-bottom: 15px;
    transition: all 0.5s;
    border-radius: 2px;
    */ text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.btn-primary:hover {
    color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.btn-primary:focus {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16), 0 2px 3px rgba(0, 0, 0, 0.23);
}
#em-wrapper > div.em-search-wrapper > div > form > div.em-search-advanced > div.em-search-location > div.em-search-country.em-search-field {
display: none;
}

article.event img {
width: 100%;
margin-bottom: 20px;
}

div.em-booking-login input {
    margin: 0px;
    margin-top: 10px;
}

div.em-booking-login input {
    margin: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.em-booking-login-form input[type="checkbox"] {
    clear: both;
    width: initial !important;
    margin-right: 10px ;
    position: relative;
    top: -7px;
}

div.em-booking-login label {
    display: block;
    width: 100%;
    /* margin-bottom: 15px; */
}
.em-booking-login-form input[type="submit"] {
    margin-right: 100%;
}

.post-image-container {
    height: 300px;
    background-position: center top ;
    background-size: contain;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 50px;
    background-color: black;
}

.post-image-container:after {
    content: "";
    display: block;
    height: 300px;
    background-color: rgba(0,0,0, 0.3);
}


span.date, span.author {
    margin: 15px;
}

.card p:nth-child(2) {
    text-align: left;
    max-height: 70px;
    max-width: 258px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eventlink:before{
content:"...";
display: block;
width: 60px;
text-align: center;
margin: -10px auto 10px auto;
}

.addtoany_share_save_container {
    margin: 50px 27px !important;
}


.lsow-entry-text-wrap .addtoany_share_save_container {
display: none;
} 

.eventinfo {
    display: inline-block;
    width: 29%;
    vertical-align: top;
    background: #F9F58D;
    padding: 15px;
    border-radius: 4px;
}

.eventinfo img {
    border-radius: 4px;
    margin-bottom: 0px !important;
}
.eventnotes {
  display: inline-block;
  width: 70%;
}

@media screen and (max-width: 700px) {
  .eventinfo {
  width: 100%;
}
.eventnotes {
  width: 100%;
  padding-left: 0px !important;
}
}

.eventname {
    padding-bottom: 20px !important;
    border-bottom: solid;
    border-width: 1px !important;
    border-color: #d3d3d3 ;
    margin-bottom: 30px;
}

.em-location-map-container {

}
.lipho-row {
    padding-top: 30px;
}
.lipho-row p {
    text-align: center;
}

.lipho-row ul {
    text-align: center;
    list-style-type: none;
}

.lipho-row .col-1,.lipho-row .col-2,.lipho-row .col-3 {
    display: inline-block;
    vertical-align: top;
    width: 33%;
    text-align: center !important;
}

.em-location-map-container {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
}

.lipho-row .col-1 > div {
    float: none !important;
    margin: 0 auto !important;
    width: 400px;
}


@media screen and (max-width: 1280px) {
    .lipho-row .col-1,.lipho-row .col-2{
        width: 49%;
    }
 .lipho-row .col-3 {
    width: 100%;
 }

}

@media screen and (max-width: 870px) {
    .lipho-row .col-1,.lipho-row .col-2,.lipho-row .col-3{
        width: 100%;
    }
}

.nav span.description {
    position: absolute;
    top: 60px;
    left: 0px;
    margin-left: -50%;
    background-color: #F87385;
    padding: 10px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    box-sizing: border-box;
}

.nav span.description:after {
    content: '';
    background-color: #F87385;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    position: absolute;
    top: -5px;
    left: 50%;
    z-index: 999;
    display: block;
    margin-left: -5px;
}

.nav li:hover span.description {
    visibility: visible;
    opacity: 1;
}
.post-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    background-color: rgba(248, 115, 133, 0.85);
    padding: 15px;
    margin: 0px;
    border-radius: 4px;
}


.em-location-map-container {
    width: 100% !important;
    margin-top: 30px;
}

.event-image-single {
    background-size: cover;
    background-repeat: no-repeat;
    height: 400px;
    background-position: right top;
    background-color: #202020;
}

.eventnotes {
    padding-left: 10px;
    padding-top: 15px;
}

.grand-texte, .grand-texte > p, {
    font-size: 1.4em !important;
}

.wpcf7-form .wpcf7-response-output{
    margin: 10px 0px !important;
    padding: 10px!important;
    color: #333;
    border-radius: 3px!important;
    font-size: 14px!important;
    margin-top: 70px !important;
}

div.wpcf7-validation-errors {
    border: 1px solid #f1e92e;
    background-color: rgba(250, 245, 141, 0.18);
}


div.wpcf7-mail-sent-ok {
    background-color: #f1fff0;
    border: 1px solid #a8d144;
}

span.ajax-loader {
display: none !important;
}


@media screen and (max-width: 699px) {
    .post-image-container {
        background-size: cover;
    }
    .post-image-container .post-title{
        font-size: 1.9rem;
    }
}

/* Homepage compatibility after WordPress and plugin upgrades. */
.home .next-events .em.pixelbones h2,
.home .next-events .em.pixelbones h2 a {
    font-weight: 700 !important;
}

.home .next-events .em.pixelbones .event-text p {
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.7em !important;
    margin: 15px !important;
}

.home .next-events .em.pixelbones .all-events-link a,
.home .next-events .em.pixelbones .all-events-link a:visited {
    background: #f87385 !important;
    border-color: #f87385 !important;
    color: #fff !important;
    margin: 10px !important;
}

.home form.mc4wp-form input {
    color: #000;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.home form.mc4wp-form input[type="submit"] {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1em;
}

.home .panel-row-style-for-30-2 {
    padding-top: calc(3% + 7.5px) !important;
    padding-bottom: calc(3% + 7.5px) !important;
}

@media screen and (min-width: 700px) {
    .home form.mc4wp-form .mc4wp-form-fields input[type="submit"] {
        clear: left;
        margin-right: 1%;
    }
}

/* Agenda compatibility after the Events Manager upgrade. */
.evenements .em.pixelbones .card p {
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.7em !important;
    margin: 15px !important;
}

.evenements .em.pixelbones .card p a {
    color: #444 !important;
    font-size: 14px !important;
    line-height: 1.7em !important;
}

.evenements .em.pixelbones .card p a:hover {
    color: #e36f84 !important;
}

@media screen and (min-width: 700px) {
    .evenements .em.pixelbones.em-search {
        background: #fff;
        border: 1px solid #dedede;
        height: 85px;
        margin: 0 0 20px !important;
        padding: 5px;
        position: relative;
    }

    .evenements .em.pixelbones.em-search .em-search-form {
        height: 73px;
    }

    .evenements .em.pixelbones.em-search .em-search-main-bar {
        align-items: flex-start;
        border: 0 !important;
        display: flex;
        height: 43px;
        padding: 0 0 8px !important;
        position: relative;
    }

    .evenements .em.pixelbones.em-search .em-search-main-bar > .em-search-text,
    .evenements .em.pixelbones.em-search .em-search-main-bar > .em-search-geo {
        flex: 0 0 42%;
        height: 34px;
        margin-left: 5px;
        padding-left: 0;
    }

    .evenements .em.pixelbones.em-search .em-search-main-bar > .em-search-text input,
    .evenements .em.pixelbones.em-search .em-search-main-bar > .em-search-geo input[type="text"] {
        background-position: 4px 50% !important;
        background-size: 12px !important;
        box-sizing: border-box;
        color: #666 !important;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        height: 34px !important;
        line-height: 16px !important;
        min-height: 0 !important;
        padding: 8px 8px 8px 25px !important;
    }

    .evenements .em.pixelbones.em-search .em-search-main-bar > .em-search-scope,
    .evenements .em.pixelbones.em-search .em-search-main-bar > .em-search-views {
        display: none !important;
    }

    .evenements .em.pixelbones.em-search .em-search-main-bar > .em-search-advanced-trigger {
        height: 20px;
        padding: 0;
        position: absolute;
        right: 8px;
        top: 48px;
        width: 185px;
    }

    .evenements .em.pixelbones.em-search .em-search-advanced-trigger > button {
        background: none !important;
        border: 0 !important;
        display: block;
        font-size: 0 !important;
        height: 20px;
        padding: 0 !important;
        width: 185px;
    }

    .evenements .em.pixelbones.em-search .em-search-advanced-trigger > button::before {
        display: none !important;
    }

    .evenements .em.pixelbones.em-search .em-search-advanced-trigger > button::after {
        color: #666;
        content: "Afficher la recherche avancée";
        display: inline-block;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 19.6px;
        white-space: nowrap;
    }

    .evenements .em.pixelbones.em-search .em-search-main-bar > .em-search-submit {
        height: 35px;
        margin-left: auto;
        padding: 0;
        width: 38px;
    }

    .evenements .em.pixelbones.em-search .em-search-submit > button {
        background: #b7d282 !important;
        border: 1px solid #dcdcdc !important;
        border-radius: 2px !important;
        color: transparent !important;
        font-size: 0 !important;
        height: 35px;
        line-height: 35px !important;
        padding: 0 !important;
        width: 38px;
    }

    .evenements .em.pixelbones.em-search .em-search-submit > button::before {
        color: #fff;
        content: "\f002";
        font-family: FontAwesome;
        font-size: 16px;
        font-weight: 400;
    }
}
