/*!
 * Start Bootstrap - Portfolio Item HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/*body {
    //padding-top: 40px;  Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. 
    margin: auto;
}*/

.container {
    /*max-width: 1260px;*/
    z-index: 1;
}

body {
    font-family: arial;
    line-height: 1.2;
    color: rgb(28,52,86);
    overflow-x: hidden;
}

body a {
    color: rgb(80, 80, 80);
}

@media (max-width: 992px) {    
    body {
        font-size: 13px;
    }
}

nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1071;
    -moz-box-shadow:0 8px 3px rgba(40, 40, 40, 0.75);
    -webkit-box-shadow: 0 5px 8px rgba(125, 125, 125, 0.646);
    box-shadow: 0 5px 8px rgba(40, 40, 40, 0.75);
    /*box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2), 0 0 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 20px;*/
}

.bandeau {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: rgb(186,186,186);
}


/*****************************
* navigation
*****************************/

/*.logo-header {
    width: 175px;
    margin: 0 auto;
}*/

.nav-right {
    float:right;
    margin: 0px 75px 0px 15px;
}

.header {
    height: 160px;
    /*position: fixed;*/ 
    /*top: 0; 
    left: 0; 
    right: 0; */
    /*z-index: 99;*/
    /*border-bottom: 1px solid black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: 197px 135px;
    background-color: white;
}

.navbar li {
    font-family: "Arial Narrow";
}

.navbar li a {
    color: rgb(28,52,86);
    font-size: 14px;
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
    text-decoration: none;
}
    
.bienvenue {
    width: 400px;
    padding: 50px;
    margin-left: 50px;
}
    
@media only screen and (min-width: 992px) {

    .navbar ul {
        margin: 0 auto;
        text-align: center;
    }
    
    .navbar {
        background-color: rgb(28,52,86);
        padding-bottom: 8px;
    }

    .navbar ul {
        padding-top: 0px;
        margin-bottom : 0px;
    }

    .navbar li { 
        padding-right: 12px;
        padding-left: 12px;
    }

    .navbar-item {
        border-left: 1.5px solid rgb(202,53,59);
    }

    .navbar li a {
        color: white;
        font-family: "Arial Narrow";
    }

    .navbar li:first-child, .dropdown-menu li {
        border-left: none;
    }

    .arrow-up {
        transform: translate(0, -50%) rotate(45deg);
    }

    .dropdown {
        padding-bottom: 0px;
    }

    .dropdown-menu {
        color: rgb(28,52,86);
        background-color: white;
        border-radius: 0px;
        font-weight: bold;
        top: 27px;
        left: 0px;
    }

    .dropdown-menu:after {
        bottom: 100%;
        left: 20%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(0, 0, 0, 0);
        border-bottom-color: white;
        border-width: 7px;
        margin-left: -7px;
    }

    .dropdown-menu li {
        margin-top: 5px;
        text-align: left!important;
        width: 270px;
    }

    .dropdown-menu li a {
        color: rgb(28,52,86);
        font-size: 11px;
        line-height: 14px;
        padding: 0px;
        margin: 0px;
        margin-left: 0px;
    }
    
    .titre_banniere {
        padding-top: 150px;
        padding-left: 150px;
        color: white;
        font-size: 60px;
        font-family: Roboto;
        text-transform: uppercase;
        max-width: 1260px;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }

}

@media only screen and (max-width: 992px) 
{
    .header {
        position: fixed;
        z-index: 9999;
    }   

    .navbar {
        padding-left: 0px;
        padding-right: 0px;
        background-image: url('http://dev2020.baseballsthyacinthe.com/img/logo_header.png');
        background-repeat: no-repeat;
        background-size: 85px 55px;
        background-position: center top;
        background-color: white;
    }
    
    /*.espace_header-xs {
        margin-top: 60px;
    }*/
    
    .navbar-nav {
        padding-top: 20px;
    }

    .navbar-item {
        background-color:rgb(28,52,86);
    }
    
    .navbar li {
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: center;
    }
    
    .navbar li a {
        padding-left: 15px;
        font-size: 16px;
        color: white;   
    }
    
    .logo-header-sm {
        padding-right: 10px;
        height: 50px;
    }
    
    .dropdown-menu {
        padding: 5px 0 0 0;
        color: white;
        background-color: white;
        border-radius: 0px;
    }

    .dropdown-menu {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    
    .dropdown-menu li a {
        color: rgb(28,52,86);
    }
    
    .titre_banniere {
        padding-top: 120px;
        color: white;
        font-size: 45px;
        font-family: Roboto;
        text-transform: uppercase;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .titre_banniere_mobile {
        color: white;
        font-size: 45px;
        font-family: Roboto;
        text-transform: uppercase;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .navbar-toggler {
        margin-left: 10px;
    }
    
    .banniere-accueil-mobile img {
        width: 100%;
        margin-top: 0px;
    }
    
    /*.banniere_mobile {
        margin-top: 75px;
        position: relative;
    }*/
    
}

@media only screen and (min-width: 1145px) and (max-width:1261px) { 
    .navbar-item { 
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .navbar-item a {
        font-size: 13px;
    }
}

@media only screen and (min-width: 991px) and (max-width:1145px) { 
    .navbar li { 
        padding-right: 8px;
        padding-left: 8px;
    }
    
    .navbar li a {
        font-size: 11px;
    }
}

@media only screen and (min-width: 1800px) {
    .bienvenue {
        width: 400px;
        padding: 50px;
        margin-left: 100px;
    }
}

/*@media only screen and (min-width: 768px) and (max-width: 991px) {
    .espace_header {
        margin-top: 50px;
    }
}*/

/*.bg-inverse {
    background-color: #00364d!important;
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 20px;
    background: linear-gradient(to right, #012c5f , #011732);
}

.navbar-inverse .navbar-nav li>a {
    color: #ddd!important;
}

.navbar-inverse .navbar-nav li>a:hover {
    color: white!important;
}

/*.top-nav {
    float: right;
    margin-top: 2px;
    border-right: 1px solid #ccc;
}

.top-nav li {
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 20px;
    border-left: 1px solid #ccc;
    color: #044762;
} */

/*.nav-link {
    font-size: 17px;
    margin-right: 20px;
}

@media (min-width: 992px) and (max-width: 1279px) {
    .nav-link {
        font-size: 15px;
        margin-right: 15px;
    }
}

.nav-tab {
    margin-right: 14px;
    font-size: 15px!important;
}

.logo-nav {
    height: 100px;
    margin-left: 15px;
    margin-right: 50px;
}

.logo-nav-sm, .navbar-toggler {
    margin-top: 10px;
    height: 50px;
}

@media (max-width: 991px) {
    .logo-nav,
    .nav-hidden-sm {
        display: none;
    }
}

@media (max-width: 1199px) {
    .nav-hidden-md {
        display: none;
    }
}

@media (min-width: 1200px) {
    li.nav-hidden-over-md { 
        display: none!important;
    }
}

@media (min-width: 992px) {
    .logo-nav-sm,
    .nav-hidden-lg{
        display: none;
    }
    
    .navbar-collapse {
        height: 100px;
    }
}

/************************
*   titles
************************/

/*.titrePage {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 15px;
    border-bottom: 1.5px solid rgb(28,52,86);
}*/

.date_nouvelle {
    border-right: 1.5px solid rgb(202,53,59);
}

.date_titre_nouvelle {
    border-bottom: 1.5px solid rgb(202,53,59);
}

h1 {
    font-size: 27px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 45px;
    margin-bottom: 15px;
    border-bottom: 1.5px solid rgb(28,52,86);
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 20px;
    text-transform: uppercase;
    color: rgb(202,53,59);
    font-weight: bold;
    margin: 35px 0 15px 0;
}

h4 {
    color: #dd1531;
    font-size: 21px;
}

@media (max-width: 992px) {
    
    h1 {
        font-size: 20px;
        font-weight: bold;
        margin-top: 10px;
        /*margin-bottom: 10px;*/
        border-bottom: 1.5px solid black;
    }

    h3 {
        font-size : 16px;
    }
}

p {
    line-height: 1.5;
}

.tab {
    text-indent: 30px;
}

/************************
*   sections
************************/

.breadcrumb {
    background: transparent;
    margin-left: -15px;
    font-size: 11px;
}

footer {
    background-color: rgb(28,52,86); 
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 11px;
    color: white;
}

.result {
    font-size: 11px;
    margin-top: 5px;
}

@media (max-width: 1199px) {
    .result {
        font-size: 11px;
        margin-top: 5px;
    }
}

.card-header {
    background-color: #012c5f; 
    height: 30px;
    border-radius: 5px;
    vertical-align: bottom;
}

.mb-0 {
    color: white;
    margin-left: 15px; 
    font-size: 20px;
}

.card a {
    text-decoration: none;
}

#resultats, #bshadmin, .miniature, .boutique {
    border: 1px #888 solid;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.score {
    margin-left: 15px;
    margin-right: 15px;
    padding-bottom: 4px; 
    border-bottom: 1px #bbb solid;
    font-size: 14px;
}

.bouton-result {
    font-size: 12px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .score {
        margin-left: 5px;
        margin-right: 5px;
        font-size: 11px;
    }
}

@media (max-width: 1199px) {    
    .bouton-result {
        margin-left: 2px;
        margin-right: 2px;
        font-size: 11px;
        height: 40px;
    }
}

.pt-0 {
    padding-top: 0px;
}

.left0 {
    margin-left: 0px;
}

/*.scrollable {
    //height: 500px;
}*/

#scores-scroll {
    overflow:auto;
    height: 500px;
}

.photo {
    margin-top: 5px;
    border: 1px solid #011732;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#bshadmin:hover {
    background-color: #01234c;
}

.message_result {
    text-align: center;
}

/*#partenaires ul {
    list-style-type: none;
    padding-left: 15px;
    text-align: center;
}

#partenaires ul li {
    display: inline;
    margin: 10px;
}

#partenaires img {
    height: 40px;
    margin-bottom: 30px;
}

@media (max-width: 1199px) {    
    #partenaires img {
        height: 40px;
    }
}

@media (max-width: 991px) {    
    #partenaires img {
        margin-top: 10px;
        height: 35px;
    }
    #partenaires ul li {
        margin-left: 9px;
        margin-right: 9px;
    }
}*/

.nav-tabs a {
    padding: 12px;
}

.control-group label {
    margin-top: 8px;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: bold;
}

.article {
    border-bottom: 1px gray solid
}

@media (max-width: 767px) {
    .article h4 {
        margin-top: 15px;
    }
}

.entete-article {
    font-size: 12px;
}

article h4 {
    margin-top: 10px;
    margin-left: 15px;
}

article p {
    text-align: justify;
}

.photo article a {
    color: #dd1531;
}

@media (min-width: 768px) {
    .photo {
        position: relative; 
        width: 100%;
        z-index:2;
    }
    .photo article {
        position: absolute; 
        bottom: 0px; 
        color: white;
        width: 100%; 
        background-color: black;
        opacity: 0.85;
    }
}
@media (max-width: 767px) {
    .photo {
        width: 100%;
    }
    .photo article {
        width: 100%; 
    }
    .photo h4 {
        font-size: 210%;
        margin-left: 0px;
        margin-right: 0px;
    }
    .photo p {
        margin-left: -15px;
        margin-right: -15px;
    }
}

.photoOverText article { 
    bottom: 3px;
    width: 100%; 
}

.photo p {
    margin-left: 15px;
    margin-right: 15px;
}

.goodMessage {
    color: green;
}

.badMessage {
    color: red;
    font-weight: bold;
}

@media (max-width: 768px) {
    .table td {
        padding: 12px 6px;
        font-size: 11px;
    }
}

.prochaine {
    font-weight: bold;
    background-color: #ddd!important;
    color: #dd1531;
}

.mon-compte {
    font-size:12px; 
    background-color:rgb(202,53,59);
    padding: 8px 0px;
    text-align: center;
    color: white;
    position: relative;
    display: inline-block;
    width: 180px;
}

.mon-compte:after {
    position: absolute;
    bottom: 0;
    height: 25px;
    width: 25px;
    left: -15px;
    background: white;
    content: "";
    z-index: 1000;
    transform: skew(45deg);
}

.mon-compte:hover {
    background: rgb(28,52,86);
}

.bouton-panier {
    font-size:12px; 
    background-color:rgb(28,52,86);
    padding: 8px 0px;
    text-align: center;
    color: white;
    position: relative;
    display: inline-block;
    width: 35px;
}

.bouton-panier:hover {
    background: rgb(28,52,86);
}

.contact {
    padding: 0px 18px 0px 12px;
    border-left: 1.5px solid rgb(202,53,59);
    font-size:10px;
    background: transparent;
}

.contact a {
    color: rgb(28,52,86);
}

.section-contact, .social {
    float: left;
}

.social {
    margin: 100px 15px 0 15px;
}

.social a, .social-contact a {
    color: rgb(90,90,90);
    font-size: 25px;
}

.banniere {
    /*background-repeat: no-repeat;*/
    background-position: center;
    width: 100%;
    /*height: 400px;*/
    margin-bottom: 20px;
}

.anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

.logo {
    width: 100%;
    max-height: 200px;
}

.logo-partenaire {
    padding: 10px;
    max-height: 200px;
}

.nouvelle {
    margin-bottom: 15px;
    /*text-indent: 15px;*/
    text-align: justify;
}

.nouvelle p {
    font-size: 15px; 
    margin: 6px;
}

.btn-noir {
    background-color: black;
}

a.btn-noir, .btn-noir {
    color: white;
}

@media (max-width: 992px) {
    .btn-noir {
        font-size: 9px;
        padding: 7px;
    }
}

.gallerie_photo {
    width: 100%;
}

.thumbnail {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.thumbnail img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.thumbnail img.portrait {
  width: 100%;
  height: auto;
}

#calendrier_public {
    font-size: 14px;
}

.footer-home {
    padding: 25px;
    background-color: rgb(28,52,86);
    color: white;
}

.partenaires ul {
    list-style-type: none;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
}

.partenaires ul li {
    display: inline;
    margin-left: 12px;
    margin-right: 12px;
}

.partenaires img {
    height: 60px;
    margin-bottom: 20px;
}

@media (max-width: 1199px) {    
    .partenaires img {
        height: 50px;
    }
}

.btn-primary {
    background-color: rgb(28,52,86);
    border-color: #325d9a
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle,
.btn-primary:not(:disabled):not(.disabled):hover {
    background-color: #3869ad;
    border-color: #325d9a
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(50, 93, 154,.5);
}

@media only screen and (max-width: 991px) {
    .btn-calendrier {
        font-size: 11px;
    }
}

.membre_conseil {
    font-size: 11px;
}

.membre_conseil a {
    color : rgb(28,52,86);
}

.membre_conseil a:hover {
    text-decoration: none;
}

.mains_benevole, .logo_b5
{
    max-width: 100%;
}

/*************
* Bandeau
*************/
.titre-bandeau {
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

.lien-bandeau {
    font-size: 12px;
    margin-left: -30px;

}

.lien-bandeau a {
    color: rgb(28,52,86);
    margin-top: 10px;
}

.lien-bandeau li {
    list-style-type: none;
    margin-left: -10px;
    line-height: 1.5;
}

.table-hover {
    font-size: 14px;
}

/*page calendrier*/
@media only screen and (max-width: 768px) { 
    #bouton_calendrier .btn { 
        font-size: 0.65rem;
    }

    #horaire td, #horaire th {
        font-size: 10px;
    }
}


/************************
* Prochains événements
************************/

.accueil-event-date {
    width: 48px;
    height: 48px; 
    float:left; 
    border:1px solid #888; 
    background-color:#8CC047; 
    border-radius: 5px; 
    color:white; 
    font-weight: bold; 
    text-align:center; 
    margin: 4px 8px 3px 5px;
    line-height: 1.2;
}

.accueil-event-date .event-jour {
    font-size: 20px;
}

.accueil-event-date .event-mois {
    font-size: 16px;
}

@media (max-width: 1181px) 
{ 
    .accueil-event-date {
        width: 40px;
        height: 40px; 
        margin: 2px 10px 2px 2px;
    }

    .accueil-event-date .event-jour {
        font-size: 16px;
    }
    
    .accueil-event-date .event-mois {
        font-size: 13px;
    }
}

#evenementDesc {
    font-size: 13px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    #evenementDesc {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    #evenementDesc {
        font-size: 12px;
    }
}
