/*
Theme Name: Alterlatine Mobile
Author: Noël Dupont
Author URI: http://www.noeldupont.fr
Version: 1.0

*/

/************* Begin MOW custom styles **************/

/****** Begin desktop styles (repeated) ******/

/*** agenda page ***/

#post-content.agenda .post-infos h1 {
    padding-bottom: 0 !important;
    margin-top: 20px !important;
}

#mow_agenda_content {
    margin: 0 50px 0 50px;
}

#mow_agenda_content #event_filters {
    background: transparent !important;
    width: auto !important;
}

#mow_agenda_content #event_filters .search_events {
    padding-top: 20px;
}

#mow_agenda_content #event_filters #search_keywords_container {
    /*    display: none;*/
    /*    margin-top: 20px;*/
    float: right;
    padding-right: 15px;
}

#mow_agenda_content #event_filters #search_keywords_container label {
    margin-right: 15px;
}

#mow_agenda_content #event_filters #search_keywords {
    height: 30px;
    min-width: 200px;
}

#mow_agenda_content #event_filters #search_keywords:focus {
    border: 1px solid #ccc;
}

#mow_agenda_content #event_filters #search_categories_container {
    float: right;
    padding-right: 15px;
}

#mow_agenda_content #event_filters #search_categories_label {
    display: inline;
    font-weight: normal;
    padding-right: 5px;
    line-height: 30px;
    font-family: "Aper";
    text-transform: uppercase;
    display: none;
}

#mow_agenda_content #event_filters #search_categories {
    /*    width: 2px;*/
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 160px;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    background-color: #fafafa;
    padding: 5px;
    display: initial !important;
    /*    font-family: "Aper" !important;*/
}

#mow_agenda_content #event_filters #search_categories:hover {
    cursor: pointer;
}

#mow_agenda_content #event_filters #search_categories_chosen {
    display: none;
}

#mow_agenda_content #event-listing-view {
    border: none;
}

#mow_agenda_content #event-listing-view .event-listing-view-elem {}

#mow_agenda_content #event-listing-view .box-layout {
    width: 100%;
    border: none;
    font-family: "Aper" !important;
}

#mow_agenda_content #event-listing-view .box-layout:hover {
    box-shadow: none;
}

#mow_agenda_content #event-listing-view .box-layout .event-img {
    height: 200px;
    max-height: 200px;
    overflow: hidden;
    -webkit-transition: -webkit-filter ease-in 0.2s;
    transition: -webkit-filter ease-in 0.2s;
    transition: filter ease-in 0.2s;
    transition: filter ease-in 0.2s, -webkit-filter ease-in 0.2s;
}

#mow_agenda_content #event-listing-view .box-layout:hover .event-img {
    -webkit-filter: brightness(0.5);
    filter: brightness(0.5);
}

#mow_agenda_content #event-listing-view .box-layout .event-img img {
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: auto;
}

#mow_agenda_content #event-listing-view .box-layout .event-title {
    font-weight: 500;
    font-size: 1.6em;
    height: auto;
    border-top: none;
    line-height: 1.2em;
    font-family: "Tif";
    color: black;
    margin-top: 20px;
    margin-bottom: 20px;
}

#mow_agenda_content #event-listing-view .box-layout .event-location {
    border-bottom: none;
}

#mow_agenda_content #event-listing-view .box-layout .event-location,
#mow_agenda_content #event-listing-view .box-layout .event-start-date {
    color: #777;
    margin-bottom: 10px;
}

#mow_agenda_content #event-listing-view .box-layout .event-price {
    color: #777;
    font-size: 13px;
    padding: 0 10px 5px 0;
    font-size: 15px;
}

#mow_agenda_content #event-listing-view .box-layout .event-description {
    color: white;
    position: absolute;
    top: 0;
    padding: 70px 10px;
    opacity: 0;
    -webkit-transition: opacity ease-in 0.2s;
    transition: opacity ease-in 0.2s;
}

#mow_agenda_content #event-listing-view .box-layout:hover .event-description {
    opacity: 1;
}

#mow_agenda_content #event-listing-view .box-layout .box-footer {
    display: none;
}

#mow_agenda_content .event-manager-pagination {
    margin-top: 30px;
    margin-bottom: 35px;
}

#mow_agenda_content .event-manager-pagination ul {
    overflow: hidden;
    display: inline-block;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 10px 30px;
}

#mow_agenda_content .event-manager-pagination ul li {
    float: left;
    padding: 0 10px;
}

#mow_agenda_content .event-manager-pagination ul li a:hover {
    text-decoration: none;
}


/*** playlist page ***/

#mow_playlist_content {
    margin: 0;
}

#mow_playlist_content .mow-playlist-elem {
    margin-bottom: 60px;
}

#mow_playlist_content .mow-playlist-elem-details {
    padding: 0 20px;
}

#mow_playlist_content .mow-playlist-elem-section-title > * {
    font-family: "Ros";
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* orange */
    color: #FF825F;
}

#mow_playlist_content .mow-playlist-elem-title > * {
    font-family: "Tif";
    margin: 15px 0 10px 0;
    font-size: 20px;
}

#mow_playlist_content .mow-playlist-elem-description {
    font-family: "Aper";
    font-size: 13px;
}

#mow_playlist_content iframe {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 300px;
}

/****** End desktop styles (repeated) ******/

/****** Begin mobile styles ******/

/*** General : couleurs ***/

/*
ART : #ead8bb 
CINEMA : #69bca1
DANS-LA-VILLE : #ffdc62
voyages : #d0dd83
SORTIES : #c6a880
INSTITUTIONS : #8a97b5
LIVRES : #b58a8a
MEDIAS : #8ab0b5
MUSIQUE : #f08161
SOCIETE : #b18ab5
*/

.navigation li.art.current-menu-item a,
.blog-single .blog-content.art .exergue p {
    color: #ead8bb;
}

.navigation li.dans-la-ville.current-menu-item a,
.blog-single .blog-content.dans-la-ville .exergue p {
    color: #ffdc62;
}

.navigation li.voyages.current-menu-item a,
.blog-single .blog-content.voyages .exergue p {
    color: #d0dd83;
}

.navigation li.sorties.current-menu-item a,
.blog-single .blog-content.sorties .exergue p {
    color: #c6a880;
}

.navigation li.institutions.current-menu-item a,
.blog-single .blog-content.institutions .exergue p {
    color: #8a97b5;
}

.navigation li.livres.current-menu-item a,
.blog-single .blog-content.livres .exergue p {
    color: #b58a8a;
}

.navigation li.medias.current-menu-item a,
.blog-single .blog-content.medias .exergue p {
    color: #8ab0b5;
}

.navigation li.musique.current-menu-item a,
.blog-single .blog-content.musique .exergue p {
    color: #f08161;
}

.navigation li.societe.current-menu-item a,
.blog-single .blog-content.societe .exergue p {
    color: #b18ab5;
}

/*** menu (navbar top) ***/

#navigation li a {
    font-family: "Aper";
    color: black;
    text-decoration: none;
}

#navigation li:last-child a,
#navigation li:nth-last-child(2) a {
    color: white;
    background-color: black;
    padding: 0 15px;
}

#navigation li:last-child {
    margin-left: 2px !important;
}

/*** footer ***/

.footer {
    border-top: 1px solid #edf0f0;
    padding-top: 15px;
}

.footer .logo {
    height: auto;
    width: 110px;
    margin: 10px auto 15px auto;
}

.footer a {
    color: #7a7a7a;
}

.footer .nav-footer {
    text-align: center;
}

.footer .nav-footer ul {
    margin-bottom: 0;
}

.bottom-footer {
    border-top: none;
    padding-top: 20px;
}

/*** Pages ***/

#main #post-content .post-infos.page {
    text-align: center;
    margin-bottom: 20px;
}

#main #post-content .post-infos.page h1 {
    text-align: center;
    font-family: 'Aper';
    font-size: 42px;
    text-transform: none;
    color: #1f1f1f;
    line-height: 50px;
    letter-spacing: 0;
    font-weight: 700;
    display: inline-block;
    margin: 0 auto;
    padding-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

#main #post-content .post-infos.page h1 span::after {
    height: 5px;
    background: #1F1F1F;
    content: '';
    display: block;
    position: relative;
}

#post-content > .paragraphe {
    margin: 0 20px;
}

/*** Articles : content ***/

.blog-single .entry {
    padding-top: 0;
}

.blog-single .entry-img .legende {
    margin-top: 10px;
    margin-bottom: 10px;
}

.blog-single .blog-content .entry-intro {
    text-align: justify;
}

.blog-single .blog-content .entry-content img {
    margin-bottom: 10px;
}

.blog-single .blog-content .legende {
    font-size: 12px;
    text-align: center;
    color: rgb(170, 170, 170);
    line-height: 20px;
}

.blog-single .blog-content .exergue {
    margin: 30px 0;
}

.blog-single .blog-content .exergue p {
    font-size: 22px !important;
    line-height: 30px !important;
    font-family: "Tif";
    font-weight: 600;
    text-align: center;
}

.blog-single .blog-content .infos {
    border: 1px solid #EEE;
    padding: 20px 10px;
    margin: 30px 0;
    text-align: center;
    font-size: 17px;
    line-height: 30px;
}

.blog-single .blog-content .infos h5 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-transform: uppercase;
}

.blog-single .blog-content .infos a {
    text-decoration: underline;
    word-wrap: break-word;
}

.blog-single .blog-content .tags ul {
    width: 100%;
    display: block;
    text-align: center;
}

.blog-single .blog-content .tags ul li {
    display: inline-block;
}

.blog-single .blog-content .tags ul li a {
    font-size: 14px;
    padding: 5px 10px;
    margin-right: 10px;
    border: 1px solid #EEE;
    color: #AAA;
}

.blog-single .blog-content .tags ul li a:hover {
    background-color: transparent;
    color: black !important;
}

.blog-single .related-post {
    margin-bottom: 30px;
}

.blog-single .related-post img {
    margin-bottom: 0 !important;
}

/*** home page ***/

#mow_home_social_top .social-icn {
    text-align: center;
}

#mow_home_social_top .social-icn a {
    margin-left: 20px;
    color: #7a7a7a;
}

#mow_home_social_top .social-icn a:first-of-type {
    margin-left: 0;
}

.section-wrap .feature-box .intro {
    text-align: justify;
    font-size: 17px;
}

.section-wrap .feature-box .intro > p {
    text-align: justify !important;
}

/*** legal page ***/

#post-content.mentions-legales > .paragraphe {
    text-align: justify;
}

/*** agenda page ***/

#mow_agenda_content {
    margin: 0 10px;
}

#mow_agenda_content #event_filters .search_events {
    text-align: center;
    padding-top: 15px;
}

#mow_agenda_content #event_filters .search_events > div {
    float: none !important;
    margin: 0 auto;
    display: inline-block;
}

#mow_agenda_content #event_filters #search_categories_container {
    padding-right: 0;
}

#mow_agenda_content #event_filters .search_events > div > select,
#mow_agenda_content #event_filters .search_events > div > input {
    /*    max-width: 200px;*/
}

#mow_agenda_content #event_filters .search_events #search_keywords {
    width: 160px;
}

#mow_agenda_content #event-listing-view .box-layout .event-description {
    padding-top: 25px;
}

#mow_agenda_content #event-listing-view .event-listing-view-elem {
    margin-top: 30px;
}




/****** End mobile styles ******/

/************* End MOW custom styles **************/
