@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700');
html {
    font: 14px 'Roboto', sans-serif;
    line-height: 1.42;
}
body{
    overflow-x: hidden;
    margin:0;
    background: #2193b0;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #6dd5ed, #2193b0);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #6dd5ed, #2193b0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */    
}
*{
    box-sizing: border-box;
}
/*Preparing responsive grid*/
#wrapper {
  padding-left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#sidebar-wrapper {
  position: fixed;
  left: 250px;
  width: 0;
  height: 100%;
  margin-left: -250px;
  overflow-y: auto;
  box-sizing: border-box;
  padding-bottom: 45px;
  border-right: 1px solid #333333;
  background-color: #1F4C5E;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#page-content-wrapper {
  width: 100%;
  margin:0;
  position: absolute;
  overflow-x: hidden;
  padding: 0 15px 15px 15px;
}
/*Logo organizacji*/
.navbar-brand {
    padding: 0;
    margin: 0;
}
.navbar-default{
    font-size: 1rem;
    z-index: 1200;
}
.navbar-brand img {
    padding: 0;
    margin: 0 15px;
    height: 53px;
}
/*Jumbotron*/
.jumbotron {    
    background: url('/assets/images/jumbotronBg.jpg') no-repeat center center;
    -webkit-box-shadow: inset 2px -1px 192px 47px rgba(130,197,217,0.8);
    -moz-box-shadow: inset 2px -1px 192px 47px rgba(130,197,217,0.8);
    box-shadow: inset 2px -1px 192px 47px rgba(130,197,217,0.8);
    border-bottom: 2px solid #fff;
    position: relative;
    z-index: 1;
}
.jumbotron::after {
    z-index: 2;
    content:'';
    display: block;
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    background-color: #B5E0D3;
    opacity: 0.2;
}

.company-name {
    text-shadow: 1px 1px 3px #21205F;
    font-weight: 800;
    z-index: 3;
    text-align: center;
    color: #104373;
}

.jumbotron > .container {
    /*border: : #fff;*/
}
.jumbotron p {
    font-size: 1.5rem;
}

.website-heading-title {
    color: #ffffff;
    display: block;
    padding: 8px 18px;
    border: 2px solid #fff;
    background-color: #589FBF;
}

/*Graphs*/
.c3-ygrid-line.ostrzegawczy line {
    stroke: orange;
}

.c3-tooltip,.c3-tooltip-name {
    color: #333333;
}

.c3-ygrid-line.alarmowy line {
    stroke: #ff0000;   
}
.c3-ygrid-line.alarmowy line, 
.c3-ygrid-line.ostrzegawczy line{
    stroke-width: 2px;
}

.c3-ygrid-line.ostrzegawczy text{
    font-size: 0.9rem;
    fill: #ffcc00;
    transform: translateY(18px);
    -webkit-transform: translateY(18px);
    -moz-transform: translateY(18px);
}
.c3-ygrid-line.alarmowy text{
    font-size: 0.9rem;
    fill: #ff0000;
}

.c3-title {
    font-size: 1.1rem;
}

/*Label on y axis on section graph*/
.c3-ygrid-line.ostrzegawczy-section line {
    stroke: orange;
}

.c3-ygrid-line.alarmowy-section line {
    stroke: #ff0000;   
}
.c3-ygrid-line.alarmowy-section line, 
.c3-ygrid-line.ostrzegawczy-section line{
    stroke-width: 1px;
}

.c3-ygrid-line.ostrzegawczy-section text{
    font-size: 0.625rem;
    fill: orange;
}
.c3-ygrid-line.alarmowy-section text{
    font-size: 0.625rem;
    fill: #ff0000;
}

/*Styling graph boxes*/
#chart, #chart2, #chart3, #chart4{
    background-color: #fff;
    box-shadow: 3px -2px 10px 2px rgba(255,255,255,0.4);
    display: flex;
    align-content: center;
    justify-content: center;
}
#chart2.section-graph, #chart3.section-graph{
    position: relative;
    color: #000000;
    font: 2.8125rem 'Open Sans', sans-serif;
}
#chart2.section-graph::before{
    content:"L";
    display: block;
    position: absolute;
    left: 22%;
    bottom: 10%;
}
#chart2.section-graph::after{
    content:"P";
    display: block;
    position: absolute;
    right: 22%;
    bottom: 10%;
}

#chart.main-chart svg {
    position: relative; 
}
.new-measurement{
    content: "";
    position: absolute;
    padding: 3px;
    z-index: 9999;
    color: #fff;
    top:20px;
    left: 140px;
    display: block;
    background-color: red;
}

/*Override c3css*/
/*.c3-axis-y-label{*/
    /*font-size: 1rem;*/
/*}*/
/*.c3-axis-y2-label{*/
    /*font-size: 1rem;*/
/*}*/

.c3-legend-item {
    margin-top: 2px;
    font-size: 0.75rem;
}

.c3 svg {
    font-size: 0.75rem;
}

.c3-region.regionX {
    fill: red;
}

.c3-region{
    opacity: 1;
}

.c3-region>text {
    stroke: red;
    opacity: .8;
}
.c3-area {
    opacity: 1 !important;
}
.c3-bar {
    stroke-width: 2px !important;
    stroke: #040D40 !important;
    fill: #0476D9 !important;
    opacity: 0.7 !important;
}

.graph-border .c3-area {
    stroke-width: 2px;
    stroke: #040D40;
    fill: #0476D9;
    opacity: 0.7 !important;
}
.c3-circles {
    visibility: hidden;
}
.c3-legend-item {
    transform: translateY(8px);
}

.c3-legend-item-hidden {
    opacity: 1;
}
.modal{
    z-index: 9999;
}
.modal-dialog.large{
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
}

.modal-content.large{
    height: auto;
    border-radius: 0px;
}
/*Wlasny button dla otwierania modalu z wykresem przekroju rzeki*/
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 0;
}
.navbar-default .navbar-nav>li>a{
    color: white;
    background-color: #333;
    border-color: #ccc;
    margin-right: 10px;
    padding: 5px;
    min-width: 75px;
    text-align: center;
}
.navbar-default .navbar-nav>li.btn-wcag>a{

    margin-left: 20px;
}
.navbar-default .navbar-nav>li.btn-open>a:focus {
    color: red;
}
.navbar-default .navbar-nav>li.btn-open>a:focus{
    color: red;
    background-color: #333;
    border-color: #ccc;
}
.wcag_menu{
    background-color: white;
    padding: 150px;

}
.wcag_menu p{
    width:100%;
    margin-bottom: 0;

}

.btn-open:focus,
.btn-open.focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #8c8c8c;
}
.btn-open:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
.btn-open:active,
.btn-open.active,
.open > .dropdown-toggle.btn-open {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
.btn-open:active:hover,
.btn-open.active:hover,
.open > .dropdown-toggle.btn-open:hover,
.btn-open:active:focus,
.btn-open.active:focus,
.open > .dropdown-toggle.btn-open:focus,
.btn-open:active.focus,
.btn-open.active.focus,
.open > .dropdown-toggle.btn-open.focus {
    color: #333;
    background-color: #d4d4d4;
    border-color: #8c8c8c;
}
.btn-open:active,
.btn-open.active,
.open > .dropdown-toggle.btn-open {
    background-image: none;
}
.btn-open.disabled:hover,
.btn-open[disabled]:hover,
fieldset[disabled] .btn-open:hover,
.btn-open.disabled:focus,
.btn-open[disabled]:focus,
fieldset[disabled] .btn-open:focus,
.btn-open.disabled.focus,
.btn-open[disabled].focus,
fieldset[disabled] .btn-open.focus {
    background-color: #fff;
    border-color: #ccc;
}

.comparision-box {
    min-height: calc(100vh - 50px);
}
.panel h3 {
    font-size: 1.2rem;
    line-height: 1.42;
    text-decoration: none;
    font-weight: normal;
}
.panel-heading{
    font-size: 2rem;
}

#map{
    min-height: 100%;
}
.lbl-nazwa-rzeki{
    padding: 1px !important;
    margin: 0 !important;
    border:1px solid #3388FF !important;
}

.leaflet-tooltip-left.lbl-nazwa-rzeki::before {
  border-left-color: #3388FF;
}
.leaflet-tooltip-right.lbl-nazwa-rzeki::before {
  border-right-color: #3388FF;
}

#map-wrapper {
    position: relative;
}

.map-title {
    width: 100%;
    position: absolute;
    z-index: 999;
}
.map-title > h3{
    width: 40%;
    text-align: center;
    background-color: #fff;
    margin: 0 auto;
    padding:8px;
    font-weight: bold;
    z-index: 2;
}

.map-refreshing-info {
    z-index: 999;
    background-color: rgba(244,244,244,0.7);
    padding: 2px 6px;
    border: 1px solid #054551;
    position: absolute;
    transition: height .3s;
    bottom: 0;
    left: 0;
    font-size: .8rem;
}

#countUpTarget {
    font-size: 12em;
    margin: 0;
    color: #4d63bc;
    text-align: center;
}
.row.features-section{
    border:2px solid #fff;
    color: #fff;
    background-color: #589FBF;
    padding: 25px 14px;
    margin-bottom: 50px;
}

.row.features-section p {
    font-size: 1.2rem;
}
#global-map-container{  
   overflow: hidden;
   position: relative;
}

/*Global map styles*/
#global-map-container > #map {
    height: calc(100vh - 50px);
    width: 100%;
    z-index: 1; 
    position: relative;
}

#global-map-container .preloader-image {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -100px;
    display: block;
    z-index: 4;
    
}
footer {
    border-top: 2px solid #fff;
    margin-top: 100px;
    background-color: #0A6187;
    position: relative;  
    box-sizing: border-box;
}
footer > div > div {
    margin-top: 40px;
    color: #fff;
}
.copyrights{
    margin-top: 25px;
    width: 100%;
    text-align: center;
}
footer .row {
    margin:0;
}
.footer-map {
    background: url("/assets/images/world-map.png") no-repeat center center;
    background-size: cover;  
}


.footer-company-info {
    font: 1.2rem/1.42 'Open Sans',sans-serif;
    text-align: center;
    border: none;
    color: #fafafa;
    background-color: transparent;
}

.copyrights h6 {
    font-size: 1em;
    color: #ededed;   
}

/*mainpage stations dropdown stylisation*/
/*basins*/
.basins{
    margin:0;
    padding:0;
    list-style-type: none;
    color: black;
    font-size: 1.5625rem;
}
.basin-dropdown-button, .bs-station-dropdown-button{
    padding: 6px;
    cursor: pointer;
    color: #ffffff;
}
.basin-dropdown-button:hover, .bs-station-dropdown-button:hover{
    background-color: #2193B0;
}
.basin-dropdown-conent{
    list-style-type: none;
    color: red;
    height:0;
    overflow: hidden;
    transition: height .1s ease;
}
.basins h3 {
    padding: 6px;
    color: #589FBF;
    background-color: #fff;
}
.basin-dropdown-conent.revealed {
    height: 100%;
    display: block;
    position: relative;
}
/*base-stations*/
.bs-station-dropdown-content {
    list-style-type: none;
    height:0px;
    overflow: hidden;
    transition: height .1s ease;
}
.bs-station-dropdown-content a {
    color: #004763;
}
.bs-station-dropdown-content.revealed {
    height: 100%;
    display: block;
    position: relative;
}
.fa-chevron-down.rotate {
    transform: rotate(180deg);
    transition: 1s;
}
.fa-chevron-down.un-rotate {
    transform: rotate(0deg);
    transition: 1s;
}
#welcome-msg{
    z-index: 999;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(24,24,24,0.8);
    -webkit-background: rgba(24,24,24,0.8);
    -moz-background: rgba(24,24,24,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: height .5s;
}
.welcome-msg-txt{
    color: #fff;
    font-size: 2.2rem;
    text-align: center;
}

/*Media queries to set up graphs on mobile devices*/
@media all and (max-width: 768px) {
    .footer-company-info{
        font-size: .9rem;
    }
    .footer-map {
        margin-top: 20px;
    }
    .c3-axis-y-label, .c3-axis-y2-label{
        font-size: 0.625rem;
        
    }
    .c3-title {
        font-size: 1.2rem;
    }
    .widget-list {
        height: 43px;
    }
    .basin,.basin-dropdown-conent{
        font-size: .6rem;
    }
    .row.features-section h1, h2.text-center, .basin-dropdown-conent h3{
        font-size: 1.5rem;
    }
}

.fb-small {
    overflow: auto;
    border: 1px solid #0d0d0d;
    background-color: transparent;
}
