html, body {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #f6f6f6;
    /*font-size: 90%;*/
}

body {
    color: #333;
    /*color: #636264;*/
    margin: 0 auto 300px;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}


/* Ссылки */
a {
    color: rgb(0, 100, 200);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: rgb(0, 80, 160);
}

.link {
    cursor: pointer;
    color: rgb(0, 80, 160);
}


/* Inputs */
label {
    display: block;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    box-sizing: border-box;
    border: 1px dotted #0f79ae70;
    border-radius: 2px;
    cursor: pointer;
}

input:focus,
textarea:focus {
    /* Убирает рамку вокруг формы */
    outline: 0;
    border: 1px solid #bccad0;
}

/* Показывает всегда скролл */
textarea::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

textarea::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

input:disabled {
    color: #ccc;
}

input[type="range"] {
    height: 0;
}

/* Убирает цвета на iOS */
input[type="time"],
input[type="date"] {
    /*-webkit-text-fill-color: #000;*/
    -webkit-text-fill-color: #636264;
    /*-webkit-appearance: none;*/
    /* required on iOS */
    opacity: 1;
}

/* Кнопки */
button {
    outline: none;
    color: black;
}

.button:hover {
    cursor: pointer;
}

button:disabled {
    color: #999;
}

button:not(:disabled):active {
    background-color: #ddd;
}

button:focus {
    border-color: #666;
}


/* Прочее */
.pointer,
.cursor {
    cursor: pointer;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}


/* Цвета */
.green {
    color: darkseagreen;
}

.red {
    color: lightcoral;
}

.grey {
    color: #afabab;
}

.bg-white {
    background-color: #ffffff;
}

.bg-green {
    font-weight: 500;
    background-color: #d6e7bb;
    padding: 2px 4px;
    border-radius: 4px;
}

.bg-orange {
    font-weight: 500;
    background-color: #f8e6db;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 3px;
}


/* Позиционирование */
.center {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

/* Margin-top */
.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

/* Margin-bottom */
.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-80 {
    margin-bottom: 80px !important;
}

/* Margin-top-bottom */
.mtb-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mtb-20 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.mtb-30 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* Padding-bottom */
.pb-20 {
    padding-bottom: 20px !important;
}

.pb-80 {
    padding-bottom: 80px !important;
}

/* Padding-top-bottom */
.ptb-20 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.ptb-30 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* Width */
.w-95 {
    width: 95% !important;
}

.w-100 {
    width: 100% !important;
}
