/* Supplementary local CSS - taken from 'old' website, adaptation in progress !*/
/* This is referred to in Elements/Bootstrap/Head */

.navbar-inverse .navbar-nav > li > a {
    color:#888;
}

.navbar{
  color: #100067;
  background-color: white;
  border-bottom: none;
  box-shadow: 0 1px 5px -1px #BBB;
}

.navbar-icon{
  padding-right: 20px;
}

.navbar-nav{
  color: #888;
  /* margin-bottom: 20px; */
  margin-top: 10px;
  font-family: Tahoma, Arial, sans-serif;
}

.navbar-nav>.active>a{
  background-color: white!important ;
  color: black!important ;
  /* border-bottom: 2px solid #999 */;
}

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

.navbar-nav>.active>a:hover {
  color: black!important ;
}

body > .container {
  padding: 72px 15px 0;
}


.active>a{
  background-color: #1014A0!important;
}

.navbar-brand{
  color: black !important;
}

.withlinks p {
  position: relative; 
}

.anchor { 
  position: absolute; 
  top: -70px;
}

.page-header {
  margin-top: 2px;
  margin-bottom: 1.5em;
  border-bottom: 2px solid #00007B;
}

.breadcrumb {
  margin-top: 10px;
  padding: 3px 3px 3px 10px;
}

.breadcrumb li{
  color: #888;
}
.breadcrumb a{
  color: #88C;
}

hr {
    border: 0;
    height: 2px;
    background: #00007B;
    margin-top: 5px;
    margin-bottom: 12px;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.opachange:hover {
  opacity: 0.6;
}

p.filemaker {
  margin: 0em 0em 0em 0em;
}

p.newarticle {
   font-size: 16px;
}

.pwg-list ol {
  margin-top: 3px;
  margin-bottom: 12px
}
ul, .pwg ul {
  margin-top: 3px;
  margin-bottom: 5px
}
.pwg h1, h1 {
  font-size: 30px;
  font-weight: normal;
  color: #000;
  margin-bottom: 0px;
  color: #00007B;
}

.additional {
  border-bottom: 2px solid black;
  padding-bottom:8px;
  margin-top:20px !important ;
  margin-bottom:20px !important ;
}

.pwg h2, .h2, h2 {
    text-align: left;
    font-size: 22px;
    margin-top: 14px;    
    margin-bottom: 8px;
    color: #00007B;
}

.h3, h3, .pwg h3 {
    text-align: left;
    font-size: 16px !important ;
    margin-top: 14px;    
    margin-bottom: 8px;
}

.intertitre{
    clear:both;
    padding-top: 18px;
}

.h4, h4 {
    text-align: left;
    font-size: 15px;
    margin-top: 14px;
    margin-bottom: 8px}

.tclettre {
    text-align: left;
    font-size: 15px;
    margin-top: 6;
    margin-bottom: 8px}
}

.highlight2 {
    font-size: 16px;
    font-weight: bold;
    color: #116224;}
 
.blueframe:not(:empty) {
    border: solid #081280 1px;
    border-radius: 3px;
    padding: 8px 8px 0px 8px;
    margin: 10px 0 10px 0;
}

.greyframe:not(:empty) {
    border: solid black 1px;
    border-radius: 3px;
    padding: 8px 8px 0px 8px;
    margin: 10px 0 10px 0;
}

.enligne div{
    display: inline;
}

.clearFrame {
    -moz-border-radius: 5px/5px;
    -webkit-border-radius: 5px 5px;
    border-radius: 5px/5px;
    border:solid 2px #666;
    margin-top:8px;
}

.textHighlight {
    background-color: rgb(35, 101, 170);
    text-align: center;
    color: black;
    font-size: 20px;
}

a.pwglink { 
    font-family: Helvetica, Roboto, 'Segoe UI', Calibri, sans-serif;
    font-size: 24px; 
    font-weight: 300; 
    height: 56px;
}

.pwglink > li.active > a {
    color: black;
}

.pwglink > li.active > a:link {
    color: black;
}
.pwglink > li.active > a:visited {
    color: black;
}

.pwglink > li.active > a:hover {
    color: black;
}

.pwglink > li.active > a:active {
    color: black;
}

a:link {
    color: #444;
    text-decoration: underline;
    text-decoration-color: #999;
}

a:visited {
    color: #444;
    text-decoration: underline;
    text-decoration-color: #999;
}

a:hover {
    color: #888;
}

a:active {
    color: #000;
}

.breadcrumb a {
    text-decoration: none;
}

.nav a {
    text-decoration: none;
}

table {
  border-collapse: collapse;
  padding: 5px;
}
table td, table th {
  border:solid 2px #666;
  padding: 5px;
}
td.dotted{
  border-bottom:none;
  border-top:dashed 1px #666 ;
  padding: 3px;
}
table tr:first-child td {
  border-top: 1;
}
table tr:last-child td {
  border-bottom: 1;
}
table tr td:first-child,
table tr th:first-child {
  border-left: 0;
}
table tr td:last-child,
table tr th:last-child {
  border-right: 0;
}

.col-md-12, .col-md-8, .col-md-9, .col-md-7, .col-md-6, .col-md-4, .col-md-5, .col-md-3, .col-md-2{   
  padding-left: 0px;
}

.col-md-9{
   padding-right: 15px;
}

.col-md-4{
}

.col-xs-12, .col-xs-8, .col-xs-9, .col-xs-6,.col-xs-4, .col-xs-2{
  padding-left: 0px; 
  padding-right: 0px;
  padding-bottom: 6px;
}

.navbar-toggle-pwg {
    position: relative;
    float: left;
    padding: 9px 10px;
    margin-top: 8px;
    margin-left: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: black;
    border-color: #333;
}

.fixed-200{
    min-width:200px !important;
    max-width:200px !important;
    border-width: 0px 10px 10px 0px;
    float:left;
    /* Does not work! */
}

.max-240{
    max-width:240px !important;
}

.flex-logo {
   clear: both;
   display: flex;
   height: 100px;
   flex-flow: column wrap;
   align-content: space-between;
}
.flex-logo > div {
   text-align: center;
   line-height: 100px;
}

.responsive-video {
position: relative;
padding-bottom: 52.5%;
padding-top: 30px; overflow: hidden;
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.navbar-header {
margin-top: 5px;
margin-bottom: 5px;
}

@media (max-width: 992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
        background-color: black!important;
        border-bottom: none;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

@media (min-width: 1200px) {
  .container {
    width: 1115px;
  }
}

.row {
    margin-left: 0;
    margin-right: 0px;
}


@media (min-width: 900px) {
  .row {
      position: relative;
  }

  .bottom-align-text {
    position: absolute;
    bottom: 14px;
    right: 0;
  }
}

/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration:underline;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 90vw;
  max-width: 400px;
  background-color: #555;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 5px;
  position: fixed;
  left: 10px;
  top: 70px;
  z-index: 1;
}

@media (min-height:600px) and (min-width:800px){
.popup .popuptext {
  top: 20px;
  position: absolute;
  margin-left: -60px;
  left: 0px;
}
}

a.popup-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: white;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 0.5s;
  animation: fadeIn 0.5s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

.btn-primary {background-color: #526994 !important}
.btn-primary:hover {background-color: #8299B4 !important}

.carte-lettre {
    border-radius:4px;
    border: 1px solid grey;
    margin-right: 2%;
    margin-bottom: 25px; 
    margin-top: 15px;
    box-shadow: 6px 6px 10px #CCC;
    height: 500px;
    overflow: hidden;
    transition: margin 100ms;
    display: flex;
    flex-direction: column;
}

.carte-lettre:hover {
    margin-top: 5px;
    margin-bottom: 35px;
}

.carte-lettre-texte {
    padding: 5px;
} 

.carte-lettre-texte p {
    margin-top: 4px;
    marbin-bottom: 4px;
} 
.introlettre {
        height: 240px;
        overflow: hidden;
        border-radius: 3px 3px 0 0;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

.introlettre img {
        max-width:400px;
        width: 100%;
    }

.carte-lettre-bottom {
       margin-top: auto;
       padding: 5px;
}

article img {
        max-width:300px;
        width:60%;
}