/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #F90;
}

input:focus + .slider {
  box-shadow: 0 0 2px #333;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 25px;
}

.slider.round:before {
  border-radius: 50%;
}

.vertical-nav {
  min-width: 25rem;
  width: 25rem;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
}
.lienrub:hover {
	background-color:#DAE0E9;  
}
.nav li {
	padding-left:9px;
}
.nav-item a {
	text-decoration:none;
	font-size:1.4rem;
}

.nav-item {
	background-color:#17A2B8;
}
.nav-item:hover {
	background-color:#128696;
}


.page-content {
  width: calc(100% - 25rem);
  margin-left: 25rem;
  transition: all 0.4s;
  color:#2D2F30;/*GV*/
}

/* for toggle behavior */

#sidebar.active {
  margin-left: -25rem;
}

#content.active {
  width: 100%;
  margin: 0;
  color:#2D2F30;/*GV*/
}

@media (max-width: 768px) {
  #sidebar {
    margin-left: -25rem;
  }
  #sidebar.active {
    margin-left: 0;
  }
  #content {
    width: 100%;
    margin: 0;
  }
  #content.active {
    margin-left: 25rem;
    width: calc(100% - 25rem);
  }
}

body {
  color:#2D2F30;/*GV*/
  background: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}
h2 {font-size: 2.4rem; line-height: 1.2; margin-bottom: .5rem; color:var(--color2);font-variant:small-caps;font-weight: bold;}
h5 {font-size: 2rem; color:var(--color2);font-variant:small-caps; line-height: 1.1;font-weight: bold;}

.separator {
  margin: 3rem 0;
  border-bottom: 1px dashed #fff;
}

.text-gray {
  color: #00688A;
}
.bgdefi {
	background-color:#17A2B8;
}
.bgdefi2 {
	background-color:#067790;
}
/* MESSAGE NO JS */
#no-js {
    display: flex;
    position: fixed;
    z-index: 1337;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
}
#no-js-content {
    margin: auto;
}
#no-js-content p {
    padding: 100px;
    text-align: center;
    font-family: Verdana;
    font-size: 25px;
    color: white;
    background-color: black;
}
/* ERROR 000 */
#error-xxx {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#error-xxx-content {
    margin: auto;
}
#error-xxx-content p {
    text-align: center;
    font-size: 25px;
}
#error-xxx-content a {
    text-decoration: none;
}
/* ERRORS */
input.error, textarea.error, select.error {
    border: 1px solid #ff5149 !important;
}
input.success, textarea.success, select.success {
    border: 1px solid #2faa4c !important;
}
.disnon {
    display: none;
}
div.error {
    display: block;
    color: #ff5149;
    font-size: 12px;
    font-weight: bold;
}
/* POPUP */
.popup {
    display: flex;
    position: fixed;
    z-index: 1337;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.popup h3 {
    margin-top: 10px;
}
.popup-content {
    margin: auto;
    width: 25%;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #888;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.popup-p {
    margin: 15px 0 25px 0;
}
.popup-cancel {
    border-radius: 10px;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    background-color: #efefef;
    color: #535353;
    outline: none !important;
}
.popup-confirm {
    border-radius: 10px;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    background-color: #007bff;
    color: #ffffff;
    outline: none !important;
}
@media (max-width: 600px) {
    .popup-content {
        width: 100%;
    }
}
/* NOTIFICATION */
.notification {
    position: fixed;
    z-index: 1337;
    top: 1%;
    left: 50%;
    width: 26%;
    margin-left: -13%;
    cursor: pointer;
}
.notification-content-error {
    padding: 20px;
    text-align: center;
    color: white;
    background-color: #ff5149;
}
.notification-content-success {
    padding: 20px;
    text-align: center;
    color: white;
    background-color: #2faa4c;
}
@media (max-width: 600px) {
    .notification {
        left: 50%;
        width: 90%;
        margin-left: -45%;
    }
}
/* COLORS */
.red {
    color: #ff5149;
}
.green {
    color: #2faa4c;
}