/** Use this file to define custom styles and bootstrap overrides */

.hidden{
    display:none;
}

a {
  color: #3E3E40;
}

a:hover {
  color:#646466;
}

.button-a {
  color: inherit;
  text-decoration: inherit;
}

.button-a:hover {
  color: inherit;
}

/* Sticky footer styles */
.main-content {
    min-height: calc(100vh - 117px);
}

.footer {
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

/** Override for crispy-forms for bootstrap 4 support in form tabs */
.nav.nav-tabs > .tab-pane{
    margin-bottom: -1px;
    line-height: 1.5rem;
}

.nav.nav-tabs > .tab-pane > a{
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    display: block;
    padding: .5rem 1rem;
}

.nav.nav-tabs > .tab-pane > a.active, .nav.nav-tabs > .tab-pane.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

#box-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
    padding-top:10px;
    padding-bottom: 10px;
}

#box-nav > li {
    display: inline;
}

#box-nav > li a {
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
}

.navbar-brand{
    background-color: #c6c6c6;
    margin-top: -0.625rem;
    margin-left: -1rem;
    padding-top: 0.8125rem;
    margin-bottom: -0.625rem;
    padding-bottom: 0.8125rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.news-title{
    font-weight:600;
}

.news-published{
    font-size: 0.83rem;
}

.footer-links{
    color: #433930;
}

.footer-links:hover {
    color: #433930;
}

.novads-link, .novads-link:hover {
    color: #433930;
}

/** Slider styles */
input[type=range].lo-opacity.ls-layer-opacity {
  -webkit-appearance: none;
  width: 100%;
  margin: 5.5px 0;
}
input[type=range].lo-opacity.ls-layer-opacity:focus {
  outline: none;
}
input[type=range].lo-opacity.ls-layer-opacity::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: #c6c6c6;
  border-radius: 4px;
  border: 0.4px solid #828282;
}
input[type=range].lo-opacity.ls-layer-opacity::-webkit-slider-thumb {
  border: 0.5px solid #ffffff;
  height: 15px;
  width: 15px;
  border-radius: 8px;
  background: #ab2836;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -5.9px;
}
input[type=range].lo-opacity.ls-layer-opacity:focus::-webkit-slider-runnable-track {
  background: #c6c6c6;
}
input[type=range].lo-opacity.ls-layer-opacity::-moz-range-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: #c6c6c6;
  border-radius: 4px;
  border: 0.4px solid #828282;
}
input[type=range].lo-opacity.ls-layer-opacity::-moz-range-thumb {
  border: 0.5px solid #ffffff;
  height: 15px;
  width: 15px;
  border-radius: 8px;
  background: #ab2836;
  cursor: pointer;
}
input[type=range].lo-opacity.ls-layer-opacity::-ms-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range].lo-opacity.ls-layer-opacity::-ms-fill-lower {
  background: #f2f2f2;
  border: 0.4px solid #828282;
  border-radius: 8px;
}
input[type=range].lo-opacity.ls-layer-opacity::-ms-fill-upper {
  background: #ffffff;
  border: 0.4px solid #828282;
  border-radius: 8px;
}
input[type=range].lo-opacity.ls-layer-opacity::-ms-thumb {
  border: 0.5px solid #c6c6c6;
  height: 15px;
  width: 15px;
  border-radius: 8px;
  background: #ab2836;
  cursor: pointer;
  height: 4px;
}
input[type=range].lo-opacity.ls-layer-opacity:focus::-ms-fill-lower {
  background: #ffffff;
}
input[type=range].lo-opacity.ls-layer-opacity:focus::-ms-fill-upper {
  background: #ffffff;
}

/** ----- end slider styles ------*/

/** Popover style **/
.ol-popup {
        position: absolute;
        background-color: white;
        -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
        filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
        padding: 15px;
        border-radius: 10px;
        border: 1px solid #cccccc;
        bottom: 12px;
        left: -50px;
        min-width: 180px;
      }
      .ol-popup:after, .ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
      }
      .ol-popup:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
      }
      .ol-popup:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
      }

/* Submission list styles */
.bg-ok {
    background-color: #B9E7D2;
}
.bg-nok {
    background-color: #DCBFC1;
}
.bg-wip {
    background-color: #E8F8FC;
}
.bg-yello {
    background-color: #FFFFE7;
}


.form-check-input:disabled, .btn:disabled
{
    pointer-events: auto;
    cursor: not-allowed;
}

.form-check-input
{
    pointer-events: auto;
    cursor: pointer;
}
