html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #F7F8FC !important;
}

/* Template de base */

img.logo {
    width: 7rem;
}

div.bg{
    height: 100vh;
    width: 100vw;
    position: relative;
    background-size: cover;
    background-position: 50% 50%;
    opacity: 0.5;
  }

.navbar {
    max-height: 60px;
    background: #0a405e !important;
}

.navbar li + li {
    margin-left: 20px;
}

.dropdown-menu:hover, .dropdown-item:hover{
    cursor: pointer;
}

.scrollable-menu {
    max-height: 90vh;
    overflow: auto;
}

.fullHeight {
    height: 100%;
}

.fullHeightUnderNavbar {
    height: calc(100% - 45px);
}

/* Page d'authentification */

#authentication {
    width: 300px;
    margin: 50px auto 0px auto;
}

#exploitation {

}

#login {
    margin-top: 10px;
}

/* Tableaux */

.table td, .table th {
    text-align: center;
}

/* Modal */

.fullScreenModal .modal-dialog {
    position: relative !important;
    height: calc(100% - 20px) !important;
    width: calc(100% - 30px) !important;
    max-width: 2000px !important;
    margin-top: 10px !important;
    margin-bottom : 0px !important;
}

.largeModal .modal-dialog {
    height: calc(100% - 20px) !important;
    max-width: 1000px !important;
    margin-top: 10px !important;
    margin-bottom : 0px !important;

}

.fullScreenModal .modal-content, .largeModal .modal-content{
    /*border-radius: 0px;*/
    height: 100% !important;
}

.fullScreenModal .modal-body, .largeModal .modal-body {
    overflow: auto;
    margin: 0px !important; 
    padding: 3px !important;
}

.fullScreenModal .close, .largeModal .close {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 42px;
    height: 41px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    padding-top: 4px;
    background: #dc3545;
    opacity: 1;
}

.fullScreenModal .close:hover, .largeModal .close:hover {
    background: #C82333;
    opacity: 1;
}

.fullScreenModal .close:before, .fullScreenModal .close:after, .largeModal .close:before, .largeModal .close:after {
    position: absolute;
    left: 19px;
    content: ' ';
    height: 32px;
    width: 2px;
    background-color: #FFFFFF;
}

.fullScreenModal .close:before, .largeModal .close:before {
    transform: rotate(45deg);
}

.fullScreenModal .close:after, .largeModal .close:after {
    transform: rotate(-45deg);
}

#iframeMap {
    width: 100%;
    height: calc(100% - 1px);
}

/* Page d'administration */

caption {
    caption-side: top !important;
  }

.hoverable {
    visibility: hidden
}

tr:hover {
    background: #ddd
}

tr:hover .hoverable {
    visibility: visible
}

/* Page d'instance d'activité */

.activity {
    width: 100%;
    height: auto;
    min-height: 100%;
    margin: 0px auto;
    background-image : linear-gradient(to bottom, #7781CA 175px, #F7F8FC 175px);
}

.activityHeader {
    width: 100%;
    height: auto;
    padding: 25px;
    color: #F7F8FC;
}

.activityBody {
    width: 100%;
    height: auto;
    padding: 15px;
    background: #F7F8FC;
    border-radius: 20px 20px 0px 0px;
}

.activityBody td {
    border: 0px !important;
}

.activityBody tr:hover {
    background: transparent;
}

.activityBody .list-group .active {
    background: #F7F8FC;
    border: 1px solid #7781CA;
}
  
.activityBody .list-group .active::after {
    content: "";
    position: absolute;
    top: 17px;
    right: -1px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #7781CA;
}

.activityBody .list-group-item{
    padding: 0px;
}

.activityBody table {
    margin: 0px;
}

.activityBody .list-group {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-bottom: 2px;
}

.activityBody .tab-content {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    border: 0px;
}

.activityDetailTitle {
    font-size: 30px;
    color: #7781CA;
    text-decoration: underline;
    margin-bottom: 15px;
}

.breadcrumb-item {
    color: #7781CA;
}

/* Nouvelles pages des dernières activités et activités à renseigner  */

.bodyMenuBar {
    width: 670px;
    margin: 1% auto;
    font-size: 1em;
    line-height: 1.6;
    font-family: Helvetica, Arial, sans-serif;
    background: #FFF;
    color: #79aec8;
}

.topnav {
    margin: 1% auto;
    overflow: hidden;
    background: #79aec8;
    color: white;
    /*color: #79aec8;*/
    font-size: 1em;
    line-height: 1.6;
    font-family: Helvetica, Arial, sans-serif;
    border-radius: 6px;
  }

  .topnav a {
    height: 36px;
    margin:0;
    padding: 0 35px;
    line-height: 36px;
    text-decoration: none;
    color: white;
    text-shadow: -1px -1px 0 #444;
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 1em;
  }

  .topnav a:hover {
    background-color: #417690;
    background: -moz-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    text-shadow: -1px -1px 0 #000;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    color: white;
  }
  
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
}
  
@media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .buttonCollapse.responsive {position: relative;}
    .filterClass.responsive {position: relative;}
    .divFilter.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

.nav a {
    display:inline-block;
}

#ex2 .nav {
    border: 1px solid #79aec8;
    border-top-color: #79aec8;
    background-color: #79aec8;
    background: -moz-linear-gradient(bottom , #79aec8 0pt, #79aec8 50%, #79aec8 51%, #79aec8 100%) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(bottom , #79aec8 0pt, #79aec8 50%, #79aec8 51%, #79aec8 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(bottom , #79aec8 0pt, #79aec8 50%, #79aec8 51%, #79aec8 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(bottom , #79aec8 0pt, #79aec8 50%, #79aec8 51%, #79aec8 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(bottom , #79aec8 0pt, #79aec8 50%, #79aec8 51%, #79aec8 100%) repeat scroll 0 0 transparent;
    text-align: center;
    height: 36px;
    -webkit-box-shadow: 0 1px 3px #999;
    -moz-box-shadow: 0 1px 3px #999;
    box-shadow: 0 1px 3px #999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#ex2 .nav a {
    height: 36px;
    margin:0;
    padding: 0 35px;
    line-height: 36px;
    border-left: 1px solid #555;
    border-right: 1px solid #888;
    text-decoration: none;
    color: white;
    text-shadow: -1px -1px 0 #444;
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 1em;
}

#ex2 .nav :first-child a {
    border-left: 0;
}

#ex2 .nav :last-child a {
    border-right: 0;
}

#ex2 .nav a:hover,
#ex2 .nav a:focus {
    background-color: #417690;
    background: -moz-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    text-shadow: -1px -1px 0 #000;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.navActivities {
    background-color: #417690;
    background: -moz-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -webkit-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    background: linear-gradient(bottom , #417690 0pt, #417690 50%, #417690 51%, #417690 100%) repeat scroll 0 0 transparent;
    text-shadow: -1px -1px 0 #000;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.filterClass {
  text-align:center;
  display: inline-block;
  justify-content:center;
}

.onSameLine {
    text-align:center;
    display: flex;
    justify-content:center;
}

.divFilter {
  margin-right: 2%;
  display: inline-block;
}

body {
  display: flex;
  flex-direction: column;
  max-height: 99vh;
}

div.left {
    grid-column-start: 0;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 4;
    overflow: auto;
    border-right: 3px solid #79aec8;
}

div.right {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 4;
    overflow: auto;
    background-color: white;
    border-radius: 3px;
    /*border: 3px solid #eee;*/
}

div.container {
    display: grid;
    grid-template-columns: 25% 1% auto;
    grid-template-rows: auto;
    flex: 1;
    overflow: auto;
    margin-left: 2%;
    margin-right: 0%;
    margin-top: 1%;
    max-width: 96.5%;
}

.divSpaceActivity {
  margin-right: 50px;
}

.divContentHeader {
  /*border-bottom: 3px solid #eee;*/
  text-align: center;
  margin-bottom: 1%;
}

.divActivity {
  /*border: 3px solid #eee;*/
  border-bottom: 2px solid #eee;
  margin-left: 1%;
  margin-right: 1%;
  margin-bottom: 1%;
  padding-top: 1%;
  padding-bottom: 1%;
}

.divContentPath {
  display:flex;
  text-align: center;
  justify-content:center;
}

.divContentProduct {
}

.divButton {
    margin-right: 1%;
    display: none;
}

.buttonActivities {
    background-color: #79aec8 !important;
    color: white !important;
}

.buttonActivities:hover {
    background-color: #417690 !important;
}

.buttonSave {
    background-color: #417690 !important;
    color: white !important;
}

.buttonSave:hover {
    background-color: #205067;
}

.buttonAdd {
    background-color: #999;
    color: white;
}

.headerTable {
    background-color: #eee;
}

.buttonAdd:hover {
    background-color: #417690;
}

.headerModal {
    background-color: #79aec8;
}

.textGrowthStage {
    text-align: center;
    justify-content:center;
}

.textIntrant {
    margin-left: 2%;
}

.divButtonFilter {
    /*position:relative;*/
}

.buttonCollapse {
    margin-left: 1%;
    position:absolute;
    right:2.5%;
}

.sizeElement {
    height:35px;
}

.tableActivity {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.trActive {
    background: #ddd;
}