body {
  font-family: 'Open Sans', sans-serif;
}

#main-logo img {
  height: 30px !important;
}

#view-lst-categories {
  position: fixed;
  z-index: 5;
  width: 60px;
  top: 0;
  left: 0;
  background-color: white;
  border-radius: 4px;
  height: 100vh;
  overflow: hidden;
}

.checkbox-menu {
  margin-top: 3px;
}

.container-menu {
  background: #d2d2d2;
  height: 100vh;
  transition: height 1s;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100vh;
}

#view-lst-categories li ul {
  display: none;
}

#view-lst-categories li:not(:last-child) {
  border-bottom: 1px solid #bebebe;
}

ul {
  list-style-type: none;
}

#view-lst-categories .menu-actions i,
.menu-sub-name {
  cursor: pointer;
}

.logo-container {
  padding: 15px;
  background-color: #b2b2b2;
  height: 60px;
}

.menu-lst-categories {
  padding-left: 0;
  margin-bottom: 0;
}

#li-search {
  background: #357ae8;
}
#li-cancel {
  background: #ffc107;
  text-align: center;
  color: white;
  display: none;
}
#collapse-icon {
  text-align: center;
  color: white;
}

.li-first-depth {
  width: 60px;
  padding: 15px;
  line-height: 15px;
  background: #d2d2d2;
  cursor: pointer;
  position: relative !important;
}

.li-first-depth-active {
  background: #b2b2b2;
}

#wrapper-lst-right-categories {
  position: fixed;
  z-index: 5;
  left: 60px;
  top: 0;
  width: 0px;
  display: none;
  background-color: #b2b2b2;
}

#head-lst-right-categories {
  padding: 15px;
}

.title-right-category {
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  padding: 20px 20px 0px 20px;
  width: 100%;
}

.ul-lst-nodes {
  margin-bottom: 10px;
}

.ul-lst-categories {
  padding: 15px;
  margin: 5px;
  background: #f8f8f8;
  border-radius: 3px;
}

.ul-lst-categories ul {
  padding: 0px;
  height: 100%;
}

.ul-lst-categories .li-category {
  font-size: 13px;
  padding: 5px 0px;
  margin-bottom: 5px;
}

.li-category:after {
  content: '';
  display: block;
  clear: both;
}

.inner-lst-right-categories {
  background-color: #e8e8e8;
  overflow: auto;
  height: calc(100vh - 30px);;
}

.inner-lst-right-categories img {
  display: inline-block;
}

.back-menu {
  color: #d13645;
  cursor: pointer;
  float: right;
  font-size: 16px !important;
  margin-top: 2px;
}


/*
* Custom grid for li inside inner's layout
 */
.w-5 {
  float: left;
  width: 5%;
}
.w-15 {
  float: left;
  width: 15%;
}
.w-10 {
  float: left;
  width: 10%;
}
.w-80 {
  float: left;
  width: 80%;
}
.w-70 {
  float: left;
  width: 70%;
}
.w-65 {
  float: left;
  width: 65%;
}
.w-60 {
  float: left;
  width: 60%;
}
/*******************/

.map-node {
  color: #646464;
  cursor: pointer;
  font-size: 13px;
  line-height: 13px;
  padding: 9px;
  background-color: white;
}

.map-node:nth-child(even) {
  background-color: #e8e8e8;
}

.map-node-active {
  color: #357ae8;
}

.geolocation-map-container {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  height: 100vh !important;
  z-index: 0 !important;
  visibility: hidden;
}

.geolocation-map-container.with-menu {
  width: calc(100% - 60px) !important;
}

.geolocation-map-container.without-menu {
  width: 100% !important;
}

.leaflet-marker-icon {
  width: 42px !important;
  height: auto !important;
}

.node__title {
  font-size: 1.7em;
}

.geolocation-map-container .node--view-mode-teaser {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.geolocation-location {
  display: none;
}

.location-bottom ul li .btn-location {
  border-radius: 0;
  background: lightgrey;
  font-size: 85%;
}

.location-share-url {
  display: none;
}

.location-share-url input {
  width: 100%;
}

.ul-lst-categories .checkbox-menu {
  margin-left: 5px;
}

.menu-actions {
  float: right;
  font-size: 15px;
}

.menu-actions i {
  cursor: pointer;
  color: #505050;
}

.views-exposed-form {
  position: relative;
  z-index: 3;
  max-width: 100%;
}

.views-exposed-form .d-flex {
  flex-wrap: nowrap !important;
}

.views-exposed-form .form-item-keywords label {
  display: none;
}

.views-exposed-form .form-actions {
  margin-top: 0 !important;
}

.views-exposed-form .form-actions {
  margin-left: -1px;
}
.views-exposed-form .form-actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.views-exposed-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.views-exposed-form .form-row {
  margin: 0;
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}
.views-exposed-form .form-row > fieldset {
  padding: 0px !important;
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0%;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
  margin-bottom: 0;
}
.views-exposed-form .form-row > fieldset .form-text {
  margin-top: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.views-exposed-form .form-row > div {
  padding: 0px !important;
}

.views-exposed-form .form-submit {
  color: #fff;
  border-radius: 0;
  border-color: #2e6da4;
  background-color: #337ab7;
}

.views-exposed-form .form-submit[disabled] {
  border-color: #2e6da4;
  background-color: #337ab7;
}

.views-exposed-form .form-submit[disabled]:hover {
  border-color: #2e6da4;
  background-color: #337ab7;
}

.views-exposed-form .form-submit:hover {
  color: #fff;
  border-color: #204d74;
  background-color: #286090;
}

#loader-map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.6) url(/modules/custom/directory_map/img/loader.gif) no-repeat center center/100px;
  z-index: 10;
}

#serval-copyright {
  position: fixed;
  top: 0;
  z-index: 2;
  right: 0;
  font-size: 7px;
}

#serval-copyright span.ext {
  display: none;
}

.nav span.ext {
  display: none;
}

#serval-copyright a {
  color: white;
}

.copyright {
  background-color: #ffae5c;
  padding: 1px 10px;
  margin: 0;
}

.off-canvas-wrapper {
  display: none !important;
}

#tarteaucitronRoot,
.block-page-title-block {
  display: none;
}

/* Smartphone device */
@media only screen and (max-width : 480px) {
  button[name="op"] {
    display: none;
  }
}

/*
* Checkbox
*/
.control {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 18px;
}

.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.control__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 15px;
  width: 15px;
  background: #f8f8f8;
  border: 1px solid #9f9393;
  border-radius: 3px;
}

.control:hover input ~ .control__indicator {
  background: #357ae8;
}

.control input:checked ~ .control__indicator {
  background: #357ae8;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
  background: #357ae8;
}

.control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}

.control__indicator:after {
  content: '';
  position: absolute;
  display: none;
}

.control input:checked ~ .control__indicator:after {
  display: block;
}

.control--checkbox .control__indicator:after {
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}
/*
* Scrollbar
*/
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  -webkit-border-radius: 14px;
  border-radius: 14px;
  background: white;
}
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 14px;
  border-radius: 14px;
  background: #b2b2b2;;
}
::-webkit-scrollbar-thumb:window-inactive {
  background: #999;
}

/*
* Tooltip bootstrap
 */
.tooltip {
  opacity: 1 !important;
}
.tooltip-inner,
.tooltip-arrow {
  background-color: #357ae8 !important;
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
  border-right-color: #357ae8 !important;
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
  border-left-color: #357ae8 !important;
}

/*
* Lock icon
*/
.icon-lock {
  margin-top: 7px;
  cursor: pointer;
  font-size: 17px;
  color: #dc3545;
}

.is-not-locked {
  color: black !important;
}

.tooltip-icon-lock {
  position: relative !important;
}

/*
* Share addtoany
*/
.a2a_global .a2a_kit {
  position: fixed;
  bottom: 125px;
  right: 15px;
  width: 32px;
  height: 32px;
}

.a2a_global .a2a_dd {
  position: fixed;
  bottom: 125px;
  right: 15px;
}

.a2a_global .a2a_dd .custom_addtoany {
  background: white;
  -webkit-border-radius: 50% !important;
  border-radius: 50% !important;
  -moz-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.addtoany_extra_parameters {
  padding-top: 10px;
}

.addtoany_extra_parameters input {
  -webkit-appearance: checkbox !important;
  display: inline-block !important;
}

/*
* Routing container
*/

#container-routing {
  display: none;
  margin-right: 1%;
  margin-top: -5%;
  padding: 15px 15px 5px;
  border: none;
  width: auto;
  max-width: 350px;
  width: 100%;
  text-align: center;
  background-color: #fff;
  height: auto;
  z-index: 40!important;
  box-shadow: 0 1px 5px 0 rgba(0,0,0,.3);
  -webkit-border-radius: 5px;
  border-radius: 5px;
  top: initial!important;
  bottom: 30px!important;
  right: 40px!important;
  position: fixed!important;
}

.leaflet-top {
  top: 50px !important;
}

#container-routing-head {
  margin-bottom: 10px;
}

#container-routing-close {
  float: right;
  cursor: pointer;
}

#container-routing input[type="text"] {
  margin-bottom: 9px;
  max-width: 300px;
  width: 85%;
  font-size: 13px;
  padding: 3px 10px;
}

form[name="directory_map_routing"] {
  clear: both;
}

.btn-geolocate {
  display: inline-block;
  margin-right: 8px;
  cursor: pointer;
}

@media only screen and (max-width: 640px) {
  #container-routing {
    max-width: 200px;
  }
}

#google-maps-routing {
  display: none;
  width: 320px;
  background-color: white;
  padding-top: 5px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  position: fixed;
  right: 15px;
  top: 200px;
  height: 300px;
  overflow: auto;
  padding: 10px;
}

@media only screen and (max-width: 640px) {
  #google-maps-routing {
    margin: 0 !important;
    padding: 5px !important;
    width: 35%;
    height: 20%;
    font-size: 12px;
  }
}
