/*
Theme Name: loria2016
Theme URI: https://www.loria.fr
Author: Josse Tourdiat / Cedric Villa
Author URI: http://github.com/driket
Description: Theme pour site www.loria.fr (2016)
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive, light, blue, magenta
Text Domain: loria

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

COLOR PALETTE
- primary color : #D569AB # pink
- primary color (darker) : #CA5F9E
- secondary color : #6882A1 # blue
*/

/* general -------------------------------------------------------------------*/

body {
    background-image: url(medias/loria-background.jpg);
    background-position: center;
}

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


/* header --------------------------------------------------------------------*/

.logo {
    height: 140px;
    margin-top: 20px;
}

/* search input */

.header input {
    width: 220px;
    margin-bottom: 10px;
    text-align: center;
}
.header .search-form {
    margin-top: 75px;
}

/* language-selector */

.language-selector {
    position: relative;
    right: -200px;
    margin-top: 10px;
}

.language-selector,
.language-selector li {
    list-style: none;
    display: inline;
}

.language-selector .flag {
    height: 12px;
    margin-left: 4px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    /* grayscale */
    -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
    filter: grayscale(100%);
}
.language-selector .flag:hover,
.language-selector .flag.active
{
    -webkit-filter: grayscale(0%); /* Chrome, Safari, Opera */
    filter: grayscale(0%);
}

/* polylang flags */
/*.lang-item
{
    opacity: 0.5;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.lang-item:hover,
.lang-item.current-lang
 {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    opacity: 1.0;
}*/

/* navbar --------------------------------------------------------------------*/

.navbar {
    margin-top: 15px;
    margin-bottom: 10px;
}
    .home .navbar {
        margin-bottom: 0px;
    }

/* flat style */
.navbar {
    min-height: 36px;
    /*padding-left: 0px;
    padding-right: 0px;*/
    border: none;
}
    .home .navbar {}

.navbar li a{
    padding: 10px 23px;
    font-weight: 500;
    font-size: 16px;
}
.navbar .navbar-inverse {
    border: none;
}
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus {
    background-color: transparent !important;
}
.navbar-inverse .navbar-nav>li>a:hover {
    background-color: #333 !important;
}
.navbar li.active,
.navbar li.current-page-item
{
    background-color: transparent !important;
}
    .navbar li.active a,
    .navbar li.current-page-item a {
        color: #D569AB !important;
    }

.navbar .container-fluid {
    padding-left: 0px;
    background-color: #404040;
    border-radius: 0px;
}
    .navbar .container-fluid,
    .navbar {
        border-radius: 7px;
    }

    .home .navbar .container-fluid,
    .home .navbar {
        border-radius: 0px;
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
    }


.navbar #navbar {
    padding-left: 0px;
}

/* center navbar */
.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;
}

/* wordpress style */

.navbar-nav ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.navbar-nav ul li{
    display: inline-block;
}

.navbar-nav .page_item {
    padding: 10px 15px 10px 5px;
    margin: 0;
}
.page_item:hover,
.navbar-nav .current_page_item:hover {
    background-color: #333;
}
.navbar-nav ul li a,
.navbar-nav .page_item a {
    list-style: none;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    padding: 10px 15px 10px 5px;
    margin: 0;
}
    /*.page_item a:hover {
        text-decoration: none;
    }*/
    .navbar-nav .current_page_item a,
    .navbar-nav .current_page_ancestor a {
        color: #D569AB !important;
        text-decoration: none;
        padding: 10px 15px 10px 5px;
        margin: 0;
    }

/* visible / invisible fixed navbar */
.navbar-fixed-top {
    /*-webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;*/
    transition: transform 0.2s ease-in-out;
    margin-top: 0px;
    box-shadow: 0px 2px 2px rgba(0,0,0,0.4);
}
.navbar-fixed-top.navbar-invisible {
    /*opacity: 0;*/
    transform: translate(0px, -50px);
}
.navbar-fixed-top {
    /*opacity: 1;*/
    transform: translate(0px, 0px);
}

/* no border radius for top navbar */
.home .navbar .container-fluid.no-border {
     border-top-left-radius: 0px;
     border-top-right-radius: 0px;
}
/* /center navbar */

/* Hide Home */
/*.navbar .page_item:nth-child(2) {
    display: none;
}*/

/* illustration --------------------------------------------------------------*/

.illustration {
    padding: 0px 15px;
    /*overflow: hidden;*/
    margin-bottom: 30px;
    /*max-height: 260px;*/
}
.illustration img {
    /*position: relative;
    top: -150px;*/
    /*border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;*/
}
/* content -------------------------------------------------------------------*/

.content {
    background: rgba(255,255,255, 0.6);
}

.content h1 {
    background: transparent;
    /*color: #6882A1;*/
    font-size: 24px;
    margin: 40px 0px 20px 0px;
    padding: 0px 0px;
}

.content img {
  max-width: 100%;
  height: auto;
}

h1.the-title {
    color: #6882A1;
}

.the-content a {
    color: #D569AB;
}

.content h1, h2, h3, h4, h5, h6 {
    margin-left: 0px;
    padding-left: 0px;
}
.content h1.the-title   { font-size: 25px; }
.content h1             { font-size: 23px; }
.content h2             { font-size: 21px; }
.content h3             { font-size: 20px; }
.content h4             { font-size: 18px; }
.content h5             { font-size: 16px; }

.content table td,
.content table th
 {
    padding: 5px 5px 5px 0px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.home .content h1,
.home-content h1,
.content .widget h1,
.content .now-widget h1,
.content .twitter-widget h1
{
    background: #6882A1;
    color: white;
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 22px;
}

.the-content {
    padding: 5px 30px 10px 15px;
}

.actu h2 {
    color: #D569AB;
    font-size: 20px;
}
.actu p {
    color: #555;
}
.actu p.description {
    font-weight: bold;
}

.actu .readmore {
    display: block;
    margin-left: 150px;
}

.actu h2 {
    margin-top: 0px;
    /*padding-left: 20px;*/
    padding-top: 0px;
}
.actu .row {
    margin-bottom: 20px;
}

.actu a {
    color: #D569AB;
}

.actu img {
    margin-right: 10px;
    margin-bottom: 0px;
    /* margin-bottom: 20px; */
    float: left;
    padding-right: 10px;
    padding-bottom: 20px;

}

.news .actu {
    margin-bottom: 20px;
}

/* share to social network buttons */
.ssba-wrap {
    clear: both;
}


/* Widgets -------------------------------------------------------------------*/

.widget a {
    color: #D569AB;
    /*color: #888;*/
}
.widget ul {
    padding-left: 26px;
}
.widget li {
    padding-bottom: 8px;
}

.widget li.page_item {
    padding-bottom: 0px;
    margin-left: 10px;
    list-style-type:disc;
}

.widget .img-responsive {
    margin: 0 auto 15px auto;
}
.widget .text-center {
    text-align: center;
    display: block;
}

/* Now Widget */
.now-widget {
    width: 100%;
    clear: both;
}

/* Twitter Widget */
.twitter-widget {
    width: 100%;
    clear: both;
    padding-top: 20px;
}

/* News widget */
.news-widget {
    width: 100%;
    clear: both;
}
.menu ul {
    padding-left: 17px;
    padding-right: 20px;
}
.menu ul li {
    list-style-type: square;
    margin-bottom: 10px;
}
.menu ul li.current_page_item a {
    font-weight: bold;
}
.menu ul li:hover,
.menu ul li a:hover {
    background: transparent;
}

.widget .navigation-back {
    display: block;
    color: #6882A1;
}

/* Events --------------------------------------------------------------------*/

.events {
    background: rgba(0,0,0,0.04);
    border-radius: 6px;
    min-height: 200px;
    padding-top: 0px;
    /*padding-right: 60px; /* to avoid title's offsets */
    
}
.events a {
    color: #D569AB;
}

.events ul, .events li {
    list-style: none;
}

.events ul{
    padding-left: 40px;
}

.events li {
    margin-bottom: 10px;
}

.liste_evenement li{
    padding-bottom: 0px;
}

.events .date {
    color: black;
    font-size: 16px;
    margin-top: -10px;
    display: block;
}
.events .day {
    display: block;
    border-bottom: 1px solid black;
    width: 16px;
}
.events .title {
    position: relative;
    top: -40px;
    left: 40px;
    display: block;
}

.events .label a{
    display: block;
    float:left;
    margin-left: 42px;
    margin-top: -38px;
    color: #555;
}

.events .label,
.events .label ul,
.events .label li
{
    margin: 0;
    padding: 0;
}

.all-events-link span{
    margin-top: 40px;
    margin-bottom: 0px;
}

.liste_evenement{
    max-width: 90%;
    padding-top: 10px;    
}

.scrollbar_event {
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 10px;
    padding-right:60px;
}

/* iCal / Google Calendar buttons */
#tribe-events .tribe-events-button {
    /*background: #6882A1 !important;*/
    /*background: #D569AB !important;*/
    background: #CA5F9E !important;
    color: white !important;
    border-radius: 7px !important;
}

div.tribe-events-cal-links {
    position: relative;
    top: 60px;
}

.events .cache {
    display: none;
}

#tribe-events-header {
    display: none ;
}
#lien_tous_evenements{
    padding-bottom: 0px;
    margin-bottom: 0px;
}
/* Jobs ----------------------------------------------------------------------*/

.jobs .page_item:hover {
  background-color: transparent;
}

.jobs li,
.jobs ul {
  list-style: none;
}
.jobs li {
  margin-bottom: 15px;
}

/* Partenaires ---------------------------------------------------------------*/
.partenaires .img-responsive {
    margin: 80px auto 50px auto;
}

/* MAP -----------------------------------------------------------------------*/
/* disable click */
.map-container {
    height:480px;
    overflow:hidden;
    margin-top: 0px;
    margin-bottom: -50px;
}
.map-container iframe{
    pointer-events: none;
    /*bottom: -10px;*/
    position: relative;
    top: -50px;
}

/*div.i4ewOd-pzNkMb-haAclf {
    visibility: hidden !important;
}*/

/* Footer --------------------------------------------------------------------*/

.footer {
    background: #333;
    /*min-height: 400px;*/
    /*margin-top: 50px;*/
    color: white;
}
.footer div {
    padding: 10px 25px 20px 25px;
}
.footer h1 {
    font-size: 20px;
}
.footer p {
    color: rgba(255,255,255,0.6);
}
.footer ul {
    margin-left: 0px;
    list-style: none;
    margin: 0px;
    padding: 0px;
}
.footer a {
    color: #6882A1;
}

.footer .pink-bullet,
.footer .blue-bullet {
    font-size: 8px;
    margin: 0px 3px 0px 0px;
    /*width: 18px;
    height: 7px;*/
    max-height: 5px;
    overflow: hidden;
    padding: 0px 8px 0px 8px;
    position: relative;
    top: -4px;
}

.footer .blue-bullet {
    background-color: #6882A1;
}
.footer .pink-bullet {
    background-color: #CA5F9E;
    margin-right: 7px;
}

.footer .textwidget{
    padding: 0px;
}

/* Colophon ------------------------------------------------------------------*/

.colophon {
    background: #333;
    color: white;
}
.colophon p{
    color: rgba(255,255,255,0.2);
}
.colophon a{
    color: rgba(255,255,255,0.4);
}

/* wordpress */

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.alignright {
    float: right !important;
    margin-left: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.aligncenter {
    display: block !important;
    margin: 0px auto 20px auto !important;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

/* modified to make it look more consistent for Loria theme */
.jumbotron {
  padding-top: 10px;
  margin-top: 40px;
}

/* ---------- Breadcrumb ---------------*/

.breadcrumbs{
    margin-left: calc(25% + 20px);
    margin-top: 30px;
}

.the-title{
    margin-top: 20px !important
}

.widget h1 {
    margin-top:40px;
} 