body {
    margin: 0;
    padding: 0;
    /* background: #EBECF1; */
    font-family: sans-serif;
}

input::placeholder {
    /* font-weight: bold; */
    opacity: 0.5 !important;
    color: gray !important;
}

h5 {
    text-align: center;
    margin-top: 18px;
    font-family: Trebuchet MS, sans-serif;
    color: #0075e1;
    font-weight: 800;
}

h6 {
    text-align: center;
    margin-top: 14px;
    font-family: Trebuchet MS, sans-serif;
    color: #0075e1;
    font-weight: 800;
}

ul.horizontal li {
    display: inline;
    padding-right: 20px;
}

a {
    user-select: none;   
    outline: none;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

nav {
    background: #343C49;
    height: 70px;
    color: #fff;
    padding: 0 50px;
    display: flex;
    align-items: center;
    font-weight: 100;
}

section {
    background: #fff;
    margin: 15px 15px 30px 65px;
    border-radius: 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main {
    flex-direction:unset;
    justify-content: flex-start;
    align-items: start;
}

.main_screen_item {
    margin: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    width: 15vw;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fbfbfb;
    transition: all 0.6s;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    margin-bottom: 20px;
}

.main_screen_item:hover {
    box-shadow: 0 0 7px rgb(0 0 0 / 50%);
    cursor: pointer;
}

.main_screen_item i {
    font-size: 3em;
    color: #6083a7;
    margin-bottom: 10px;
    transition: all 0.6s;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
}

h2 {
    font-size: 24px;
    margin: 10px 0 0 0;
    font-weight: normal;
}

input, select {
    padding: 0.25rem 0.5rem;
    border: 1px solid rgb(118, 118, 118);
    border-radius: 0.2rem;
    margin: 5px 0;
}

input:focus, select:focus {
    color: #495057;
    background-color: #fff;
    border-color: #7690b5;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(60 81 111 / 25%);
}

.radio {
    display: none;
}

.radio_btn {
    margin: 1px 0;
    width: 25%;
    height: 34px;
    display: flex;
    float: left;
    justify-content: center;
    align-items: center;
    border-radius: 0.2rem;
    border: 1px solid rgb(218, 218, 218);
    color: #aaaaaa;
    font-size: 120%;
    user-select: none;  
    cursor: pointer
}

.radio:checked+label { 
    color: #495057;
    background-color: #eee;
    border-color: #7690b5;
    outline: 0;
    /* box-shadow: 0 0 0 0.2rem rgb(60 81 111 / 25%); */
}

.calc_block {
    width: 500px;
    margin: 20px 0;
    border-radius: 0.2rem;
    border-color: rgb(218, 218, 218);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input_block {
    display: flex;
    flex-direction: column;
    margin: 0 5px;
}

.operation {
    margin-top: 15px;
}

.bold {
    font-weight: bold !important;
}

.togglebox {
    width: 100%;
    text-align: center;
}
.toggle
{
    position: relative;
    /* bottom: 63px;
    right: 88px; */
    margin: 15px auto;
    background: #fff;
    border: 1px solid #24292D;
    width: 46px;
    height: 20px;
    cursor: pointer;
    border-radius: 20px;
    transition: 0.25s;
}
.toggle.active
{
    background: #24292D;
    border: 1px solid #fff;
}
.toggle:before
{
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 16px;
    height: 16px;
    background: #24292D;
    border-radius: 50%;
    transition: 0.25s;
}
.toggle.active:before
{
    left: 27px;
    background: #fff;
}

body.night,
body.night .modal-content
{
    color: #fafafa;
    /* background: #00151f; */
    background: #24292D;
}

body.night h5,
body.night h6,
body.night a
{
    color: #00ceff;
}

body.night pre,
body.night .btn,
body.night .form-control,
body.night .input-group .form-control,
body.night .input-group-text,
body.night .input-group,
body.night input,
body.night input.forced,
body.night textarea,
body.night .table
{
    color: #fafafa;
    background: #24292D;
}

/* body.night @-webkit-keyframes autofill {
    0%,100% {
        color: #fafafa;
        background: #24292D;
    }
} */

body.night input:-webkit-autofill,
body.night input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}
body.night input[data-autocompleted] {
    background-color: #24292D !important;
    color: #fafafa !important;
}

/* body.night input[data-autocompleted]
{
    /* Safari support - any positive time runs instantly */
    /* -webkit-animation-delay: 1s;
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
    color: #fafafa !important;
    background: #24292D !important;
} */

body.night .radio:checked+label {
    color: #fafafa;
    background: #2472da;
}

body.night input::placeholder {
    color: #eeeeee !important;
}
