@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

@import url("https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css");

body {
  background: rgba(208, 218, 226, 1);
  font-family: 'Montserrat', sans-serif;
  font-size:  16px;
}

/* ---
   base Tabs additionnal styles (to be reunified later)
   --- */

.tabs_title {
    float: left;
    padding: .5em 1em .5em 1em;
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    cursor: default;
}


@media (max-width: 768px) {
    #tossd_form_wrapper input {
        font-size: 16px;
    }
}

#navbar {
  position: relative;
  margin-bottom: 0px;
  padding: 0px !important;
}
.navbar.container, .navbar.container-fluid {
    margin-top: 0px;
    padding-top: 70px;
}
.navbar-default {
    background-color: inherit;
    border: 0;
}

.navbar {
    border-radius: 0px;
}
.navbar-default .navbar-brand {
    color: #fffefe;
}
.navbar-default .navbar-nav > li > a {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 17px;
}

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

body.toolbar-drawer {
    /*padding-top: 30px !important;*/
}


/* ---
TOSSD Data brand
   --- */

#tossd-data-brand {
  margin: 1em 0 0 0;
  font: 2.5rem "Rubik", sans-serif;
}
#tossd-data-brand a {
  color: #18486a;
}
#tossd-data-brand a span {
  display: block;
  float: left;
}
#tossd-data-brand a span:nth-child(1) {
  margin: -0.12em 0.15em 0.25em 0;
  padding: 0 0 0.15em 0;
  background: url("https://assets.codepen.io/77242/color-tiles.svg") no-repeat left bottom;
  background-size: 91% auto;
  font-weight: 600;
  font-size: 2.1em;
}
#tossd-data-brand a span:nth-child(1) sup {
  font-weight: 400;
  font-size: 0.7em;
  opacity: 0.35;
}
#tossd-data-brand a span:nth-child(2) {
  font-weight: 500;
  font-size: 1.15em;
}
#tossd-data-brand a span:nth-child(2) small {
  display: inline-block;
  float: right;
  margin: 0.25em 0 0 0.3em;
  padding: 0.1em 1.2em 0.1em 0.3em;
  background: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  font-size: 0.6em;
}
#tossd-data-brand a span:nth-child(3) {
  clear: left;
  font-weight: 400;
  font-size: 0.82em;
  opacity: 0.35;
}


/* ---
TOSSD Data brand III
   --- */

#tossd-data-brand-III {
  position: relative;
  margin: 1em 0 0 0; padding: 0;
  font: 2.5rem 'Rubik', sans-serif;
  color: rgba(24,72,106,1);
}
#tossd-data-brand-III a {
  color: inherit;
}
#tossd-data-brand-III p {
  display: block; float: left;
}
#tossd-data-brand-III .acronym {
  background: url("https://assets.codepen.io/77242/color-tiles.svg") no-repeat left bottom;
  background-size: 100% auto;
  background-position: left bottom;
  
  margin: -.15em .15em .2em 0; padding: 0 0 .1em 0;
  font-weight: 700; font-size: 2.1em;
}
#tossd-data-brand-III .fullName {
  margin: 0 0 1em 0;
  font-weight: 500; font-size: .8em;
}
#tossd-data-brand-III .fullName span {
  display: block;
}
#tossd-data-brand-III .fullName span:nth-child(2) {
  margin: .85em 0 0 -.3em; padding: .15em .3em;
  background: white; border-radius: 3px;
  
  font-weight: 400; font-size: .9em;
  color: rgba(24,72,106,.35);
}
#tossd-data-brand-III .updateInfo {
  position: absolute; top: 0; right: 0; 
  margin: 0; padding: 0 .5em;
  
  font-weight: 400; font-size: .5em;
  color: rgba(255,180,20,.7);
  color: rgba(70,120,65,.7);
}


/* ---
TOSSD Data brand IV
   --- */

#tossd-data-brand-IV {
  position: relative;
  margin: 1em 0 0 0; padding: 0;
  font: 2rem 'Rubik', sans-serif;
  color: rgba(24,72,106,1);
}
#tossd-data-brand-IV a {
  color: inherit;
}
#tossd-data-brand-IV p {
  display: block; float: left;
}
#tossd-data-brand-IV .acronym {
  background: url("https://assets.codepen.io/77242/color-tiles.svg") no-repeat left bottom;
  background-size: 100% auto;
  background-position: left bottom;
  
  margin: -.15em .15em .2em 0; padding: 0 0 .1em 0;
  font-weight: 700; font-size: 2.1em;
}
#tossd-data-brand-IV .fullName {
  margin: 0; padding: 0 0 .3em 0;
  font-weight: 500; font-size: .8em;
  border-bottom: .3em solid rgba(24,72,106,.1);
}
#tossd-data-brand-IV .siteDesc {
  clear: left;
  margin: -.58em 0 0 .05em; padding: .5em .3em .15em .3em;
  
  font-weight: 400; font-size: 1.25em;
  opacity: .35;
}
#tossd-data-brand-IV .updateInfo {
  position: absolute; top: 0; right: 0; 
  margin: 0; padding: 0 .5em;
  
  font-weight: 400; font-size: .7em;
  color: rgba(70,120,65,.7);
}


/* ---
Main navigation bar
   --- */

#navbar-collapse {
    padding: 0;
}
#navbar {
  background: transparent;
  /*margin-bottom: 1.5em;*/
  margin-bottom: 0.8em;
}

/* --- */

nav .menu {
  width: 100%;
  margin: 10px 0 0 0;
  border: 1px solid rgba(23, 72, 106, 1);
  border-width: 1px 0;
  font: 700 17px 'Montserrat', sans-serif;
  text-transform: uppercase;
}
nav .menu li.last {
    float: right;
}
nav .menu li a {
  display: block;
  color: #333 !important;
}
nav .menu li a:hover {
  background: none;
  color: steelblue !important;
}
nav .menu li.active a {
  background: transparent !important;
  /*color: white !important;*/
  color: #446884 !important;
  cursor: default;
}
nav .menu li.active:after {
  content: "";
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(23, 72, 106, 1);
}

@media (max-width: 767px) {

}

@media only screen and (max-width: 991px) {
  nav[role=navigation] > .nav > li > a {
    padding: 10px 10px;
  }
  #navbartossd{
    padding-left: 30px !important;
  }
  .updateInfo{
    padding-right: 20px !important;
  }
  #tossd-data-brand-IV .acronym{
    margin-top: 15px !important;
  }
  #tossd-data-brand-IV .fullName {
    margin-top: 25px !important;
  }
  #navbar {
    margin-bottom: .2em;
  }
  nav[role=navigation] > ul > li {
    padding-left:15px;
  }
  nav[role=navigation] > ul {
    border-width: 0;
  }
}

@media only screen and (max-width: 991px) {
  nav[role=navigation] > .nav > li > a {
    padding: 10px 0px;
  }
}
@media only screen and (max-width: 767px) {
  nav[role=navigation] > .nav > li > a {
    padding: 10px 25px;
  }
  button.navbar-toggle,
  button.navbar-toggle collapsed {
    background-color: #d0dae2 !important;
  }
}
/*
@media (min-width: 768px) and (max-width: 991px) {
  nav[role=navigation] > .nav > li > a {
    padding: 10px 10px;
  }

  .acronym{
    margin-top: 15px !important;
  }
  .fullName {
    margin-top: 20px !important;
  }
  #navbar {
    margin-bottom: .2em;
  }
  nav[role=navigation] > ul > li {
    padding-left:15px;
  }
  nav[role=navigation] > ul {
    border-width: 0;
  }
}
*/

/* ---
Filters block
   --- */

#tossd_form_wrapper {
    background: rgba(24,72,106,1) !important;
    padding: 1.5em 0;
}

#tossd_form_wrapper .form-label {
    display: block;
    color: #fff;
}


/* ---
Tabs navigation
   --- */

#tabs {
  margin-top: 0!important;
}


/* ---
ABOUT / HOW TO sections rules
   --- */



#maincontainertossd .col-sm-8 + .col-sm-4, .col-sm-4 + .col-sm-4 {
  border-left:1px solid  rgba(255,255,255,.3);
}

#maincontainertossd h1 {
    display: none;
}

#maincontainertossd h3 {
  position: relative;
  padding-bottom: 1em;
  font-weight: 700;
  color: rgba(23,72,106,1);
  border: none;
}
#maincontainertossd h3:after {
  content: " ";
  display: block;
  position: absolute;
  width: 1.5em;
  height: .2em;
  bottom: .4em;
  background: rgba(240,106,44,1);
}

#maincontainertossd h4 {
  position: relative;
  padding-bottom: .1em;
  font-weight: 700;
  color: rgba(23,72,106,1);
  border: none;
}

.page-header {
    padding-bottom: 9px;
    margin: 0;
    border-bottom: 1px solid #eeeeee;
}
p strong {
  font-weight: 600;
}


/* ---
ABOUT Collapse block
   --- */

.panel-group {
  padding: 0; margin: 0;
    border-bottom: 1px solid #ddd;
  background: white;
}
.panel-group .panel,
.panel-group .panel+.panel {
  border-top: 1px solid #ddd;
  border-color: #ddd transparent transparent transparent;
  border-radius: 0!important;
  padding: 0; margin: 0;
}
.panel-group .panel-heading {
  padding: 0; margin: 0;
  border-radius: 0;
}
.panel-group .panel-title {
  position: relative;
  background: #dedede;
  margin: 0;
  font-size: 1.5em;
    font-weight: 700;
}
.panel-group .panel-title a {
    position: relative;
    display: block;
    padding: 15px 20px 15px 50px;
  color: white;
    background: #6987A0;
}

.panel-group .panel-title a:after {
  content: '\f078';
  display: flex;
  align-items:center;
  justify-content:center;
  position: absolute;
  top:  50%; left: 10px;
  width: 30px; height: 30px; border-radius: 30px;
  background: white;
  font-family: fontawesome;
  color: rgba(23,73,106,1);
  transform: translateY(-50%) rotate(0deg);
  transition: .3s transform;
}

.panel-group .panel-title a.collapsed {
  background-color: white;
  color: rgba(30,105,165,1);
}
.panel-group .panel-title a.collapsed:after {
  transform: translateY(-50%) rotate(-90deg);
}

.panel-group .panel-title a:hover {
  text-decoration: none;
  background-color: rgba(23, 72, 106, 1);
}
.panel-group .panel-title a.collapsed:hover {
  background-color: rgba(23,72,106,.1);
  color: rgba(23,73,106,1);
}

/* ---
footer - first draft
   --- */

footer {
  margin-top: 15px!important;
  padding:  0 15px!important;
  border:  none!important;
}
div.region-footer {
  background: rgba(24,72,106,1);
}
footer .col-sm-8 {
  background: rgba(208,218,226,1);
}
footer .col-sm-8 p {
  margin: 0; padding: .3em 0;
}
footer .col-sm-8 p:before {
  content: '\f003'; display: block; position: absolute;
  top:  50%; left: -1.3em; transform: translateY(-57%) rotate(0deg);
  font-family: fontawesome;
  font-size: 2em;
  color: rgba(255,255,255,.7);
}


/* --- revious rules to sort --- */


.navbar-default .navbar-nav > .active > a:focus {
    color: #11629a;
    outline:0;
}

a:focus{
    outline:0;
}

.highcharts-data-table table,
.highcharts-data-table th,
.highcharts-data-table td {
    border: 1px solid black;
    padding: 2px 5px;
}

.number{
    text-align: right;
}
.subdesc{
  font-weight: 700;
  font-size: .6em;
  text-align: center;
  margin: auto;
  width: 100%;
}




/* ---
Previous basic TOSSD Data brand
   --- */
/*
#navbartossd {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
    padding-right: 15px !important;
    padding-left: 15px !important;
}
#navbartitle {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
    padding-right: 15px !important;
    padding-left: 15px !important;
}
#navbartext-muted {
    color: #6c757d !important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 21px;
    font-weight: 200;
}
div#maincontainertossd {
    margin-top: 20px;
}


.infos_selection-datas {
    background-color: white;
}
*/
#cboxContent {background: aliceblue;}

#disclaimer {padding: 15px;}
#disclaimer .enter {background: #6297c5;color: white;}
#disclaimer .enter a {color: white;}
#disclaimer .exit {background: darksalmon;}
#disclaimer .exit a {color: black;}

#disclaimer .actions {font-size: larger;}

#cancel-account-form{margin: 30px;margin-top:45px;}
#cancel-account-form .panel-heading{background-color: #e10e0e;color: white;}

#block-bootstrap-account-menu ul {
  font-size: 14px !important;
  margin: 0 !important;
  font-weight: 600 !important;
}
#block-bootstrap-account-menu ul li a {
  padding-top: 15px;
  padding-bottom: 10px;
  font-size: inherit !important;
}
.updateInfo {
  font-weight: 500 !important;
}

