#btn--title {
  position: fixed;
  display: inline-block;
  width: 100px;
  height: 40px;
  right: 0px !important;
  bottom: 20px !important;
  letter-spacing: normal;
}

@media screen and (max-width: 767px) {
    #switch , #btn--title, #slider--title {
      visibility: hidden;
    }
}

#slider--title  {
  box-shadow: rgba(0,0,0,0.8) 0 0 5px;
  letter-spacing: normal;
  background: var(--rulv-blue);
  position: fixed;
  right: 1px !important;
  bottom: 1px;
  width: 150px;
  height: 48px;
}

#slider--title p {
    color: white !important;
    font-weight: bold;
    text-align: left;
    font-family: Roboto Condensed !important;
    padding-left: 10px;
}

#switch {
  position: fixed;
  display: inline-block;
  width: 80px;
  height: 40px;
  right: 4px !important;
  bottom: 5px;
  text-align: center;

}

#switch input {
    display:none;
}

#slider {
  box-shadow: rgba(0,0,0,0.8) 0 0 5px;
  text-align: center;
  letter-spacing: normal;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--rulv-gray);
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

#slider:before {
  border-radius: 50%;
  position: absolute;
  content: "";
  height: 32px;
  width: 35px;
  left: 6px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  content: 'OFF';
  padding-top: 5px;
}

#switch input:checked + #slider {
  background-color: var(--rulv-yellow);
}

 #switch input:focus + #slider {
  box-shadow: 0 0 1px #2196F3;

}

 #switch input:checked + #slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(32px);
  content: 'ON';
}

#info-svg {
    padding: 5px 5px 5px 5px;
    width: auto;
    height: 20%;
}

.speechBubble {
    display: inline-block;
    padding: 5px 5px 5px 5px;
    position: absolute;
    z-index: 900;
    background: var(--rulv-yellow) !important;
    border-radius: .4em;
}

.speechBubble:after {
    content: '';
    position: absolute;
    border: 15px solid transparent;
    width: 0;
    height: 0;
}

#btn-help--activities.speechBubble:after,
#btn-help--laboratory.speechBubble:after
 {
    /*Orientation: right */
	right: 0;
	top: 50%;
	border-left-color: var(--rulv-yellow);
	border-right: 0;
	margin-top: -20px;
	margin-right: -10px;;
}

#btn-help--toolbar.speechBubble:after
 {
    /*Orientation: top */
	top: 0;
	left: 50%;
	border-bottom-color: var(--rulv-yellow);
	border-top: 0;
	margin-left: -15px;
	margin-top: -10px;
}

#btn-help--filters.speechBubble:after
 {
    /*Orientation: left */
	left: 0;
	top: 50%;
	border-right-color: var(--rulv-yellow);
	border-left: 0;
	margin-top: -15px;
	margin-left: -10px;;
}

#btn-help--arrows.speechBubble:after
 {
    /*Orientation: bottom */
	bottom: 0;
	left: 50%;
	border-top-color: var(--rulv-yellow);
	border-bottom: 0;
	margin-left: -15px;
	margin-bottom: -10px;
}

#btn-help--toolbar, #btn-help--activities, #btn-help--laboratory {
    position: absolute !important;
}

@media (min-width:768px) {
    #btn-help--toolbar {
        transform: translateX(20%);
        top: 70px;
    }
    #btn-help--activities {
        transform: translateX(-90%);
        top: 140px;
        left: 15%;
    }
    #btn-help--laboratory {
        transform: translateX(-140%);
        top: 170px;
        left: 29%;
    }
}

/*Speech bubble responsive width*/
@media (min-width:768px) and (max-width:1024px) {
    .speechBubble { max-width: 125px;}
}

@media (min-width: 1025px) and (max-width:1439px) {
    .speechBubble { max-width: 160px;}
}

@media (min-width: 1440px) {
    .speechBubble { max-width: 190px;}
}
