/*
Theme Name: Sophie Janois
Author: Nicolas Bornet
Description: Template personnalisé pour Maitre Sophie Janois
Version: 0.0.1
textdomain: sophiejanois
*/


/* global */
a, a:hover,.card,.conf .post-thumbnail img,.card:hover,.conf .post-thumbnail img:hover { text-decoration: none;
-webkit-transition: all 500ms cubic-bezier(.77,0,.18,1);
-moz-transition: all 500ms cubic-bezier(.77,0,.18,1);
-ms-transition: all 500ms cubic-bezier(.77,0,.18,1);
-o-transition: all 500ms cubic-bezier(.77,0,.18,1);
transition: all 500ms cubic-bezier(.77,0,.18,1);}
body {font-family: 'Asap', sans-serif;}
img {max-width: 100%; height: auto;}
h1 {font-size: 30px;}
.display-4 {font-size: 33px;}
.prez .jumbotron.dark p {margin-bottom: 0;}
p.lead.orange {text-transform: uppercase;}
.jumbotron {border-radius: 0;}
.conf-date {min-width: 60px;}
.conf-date span {display: block;}
.conf-descriptif .display-4 {line-height: 1;}
.conf-date .display-4 {line-height: 0.7;}
.conf-descriptif .display-4,.display-3 {font-size:25px;}
.fond-orange a,.fond-orange a:hover {color: #fff;}
.footer ul {list-style: none; padding-left: 0;}
.dark {background: #333; color: #fff}
.dark a {color: #999;}
.dark a:hover {color: #bbb;}
.alert-warning {background: transparent;border: none;}
.carousel-indicators {bottom: inherit; top: 0;}
iframe {border: none; width: 100%}
article.category-presse img.wp-post-image,article.category-interviews-blogs img.wp-post-image {width: 50%;}
article.category-presse .post-thumbnail,article.category-interviews-blogs .post-thumbnail {text-align: center; margin-bottom: 10px;}
.post-thumbnail .video {top: 5%; left: 5%}
.pagination {
    display: inline-block;
}
body >.container .conf .btn {white-space: normal !important;
word-wrap: break-word;
width: 100%;}

.conf .post-thumbnail img {
    padding: .25rem;
background-color: #fff;
border: 1px solid #dee2e6;
border-radius: .25rem;
max-width: 100%;
width: 300px;
height: auto;
}
.conf .post-thumbnail img:hover, .card:hover {box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;}

.pagination a,.pagination .current {
    color: black;
    float: left;
    padding: 8px 12px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #e2e2e2;
    margin: 0 2px 2px 0px;
}

.pagination .current {
    color: white;
    border: 1px solid #e2e2e2;
}

.pagination a:hover:not(.active) {}

/* slider actu home */
.carousel-indicators .active{ background: #31708f; } .content{ margin-top:20px; } .adjust1{ float:left; width:100%; margin-bottom:0; } .adjust2{ margin:0; } .carousel-indicators li{ border :1px solid #ccc; } .carousel-control{ color:#31708f; width:5%; } .carousel-control:hover, .carousel-control:focus{ color:#31708f; } .carousel-control.left, .carousel-control.right { background-image: none; } .media-object{ margin:auto; margin-top:15%; } @media screen and (max-width: 768px) { .media-object{ margin-top:0; } }
.jumbotron {background-color: #f6f6f6}

/* iframe responsive */
.embed-responsive iframe,
.embed-responsive .fb_iframe_widget,
.embed-responsive .fb_iframe_widget span,
.embed-responsive .fb_iframe_widget span iframe {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;}


/* header home */
.jumbotron.contact-rapide {}
.jumbotron.dark { background: rgba(0,0,0,0.7); color: #fff;border-radius: 0;padding-left: 20px;padding-right: 20px; height: auto;}
.jumbotron.about .fond-orange { position: absolute; width: 100%; height: 100%; top: 0; left: 0;opacity: 0.7}
.jumbotron.about,.fond-orange {color: #fff;}

/* footer */


/* menu */
.navbar-light .navbar-nav .nav-link {color: #333333; font-size: 17px; text-align: center}
a.navbar-brand {height: 50px;max-width: 140px; z-index:99999}

.nav-link {
    border: none;
}
.menu-item-has-children {
    position: relative;
    display: inline-block;
}
ul.sub-menu {
    display: none;
    position: absolute;
    background-color: #f0f0f0;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding-left: 0;
    list-style: none;
    text-align: center;
}
li.menu-item a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
#menu-mentions-legales li.menu-item a {padding: 0 0 0 12px;}

ul.sub-menu a:hover {background-color: #fff; }
.menu-item-has-children:hover .sub-menu {display: block;}
.menu-item-has-children:hover .nav-link {}


/* bouton */
.btn,.form-control {border-radius: 0; border: none;}
.btn-primary:hover {background: #fff;}
.btn-dark {background: #333333}

/* smartphone */
@media screen and (max-width: 768px) {
  a.navbar-brand { height: auto;}
    h1, .display-1,h2, .display-2,h3, .display-3, h4, .conf-descriptif .display-4,.display-4 {font-size: 20px;}
}
