html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


.toggle {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

    .toggle input[type="checkbox"] {
        position: absolute;
        left: 0;
        top: 0;
        z-index: 10;
        width: 100%;
        height: 100%;
        cursor: pointer;
        opacity: 0;
    }

    .toggle label {
        position: relative;
        display: flex;
        height: 100%;
        align-items: center;
        box-sizing: border-box;
    }

        .toggle label:before {
            content: '';
            display: inline-block;
            width: 120px;
            height: 40px;
            border: 1px solid #808080;
            border-radius: 50px;
            transition: 0.2s ease-in;
            background: #f08270;
            box-shadow: inset 0 0 7px #333, 0 -4px 4px #b9b9b5, 0 4px 4px #f4f4f4, inset 0 0 #49dccf;
        }

        .toggle label:after {
            content: '';
            position: absolute;
            top: 0px;
            left: 1px;
            width: 55px;
            height: 30px;
            border: 5px solid #ededec;
            border-radius: 50px;
            box-shadow: 0 2px 5px #333;
            background: #d5d4cd;
            background: linear-gradient(#d5d4cd 0%, #f8f8f7 100%);
            transition: 0.2s ease-in;
            box-sizing: content-box;
        }

    .toggle input[type="checkbox"]:checked + label:before {
        box-shadow: inset 0 0 7px #333, 0 -4px 4px #b9b9b5, 0 4px 4px #f4f4f4, inset 120px 0 #49dccf;
    }

    .toggle input[type="checkbox"]:checked + label:after {
        transform: translatex(55px);
    }