﻿

body, div, form, input, select, textarea, label, p {
    padding: 0;
    margin: 0;
    outline: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 22px;
}

h1 {
    position: absolute;
    margin: 0;
    font-size: 40px;
    color: #fff;
    z-index: 2;
    line-height: 83px;
}

textarea {
    width: calc(100% - 12px);
    padding: 5px;
}

.testbox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
    padding: 20px;
    margin-top: 5%;
}

form {
    width: 92%;
    padding: 20px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 8px #166faf;
}

.banner {
    position: relative;
    height: 150px;
    /*background-image: url("/Content/email.png");*/
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .banner::after {
        content: "";
        /*background-color: rgba(0, 0, 0, 0.2);*/
        position: absolute;
        width: 100%;
        height: 100%;
    }

input, select, textarea {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input {
    width: calc(100% - 10px);
    padding: 5px;
}

    input[type="date"] {
        padding: 4px 5px;
    }

textarea {
    width: calc(100% - 12px);
    padding: 5px;
}

.item:hover p, .item:hover i, .question:hover p, .question label:hover, input:hover::placeholder {
    color: #666;
}

.item input:hover, .item select:hover, .item textarea:hover {
    border: 1px solid transparent;
    box-shadow: 0 0 3px 0 #666;
    color: #666;
}

.item {
    position: relative;
    margin: 10px 0;
}

    .item span {
        color: red;
    }

input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

.item i, input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    font-size: 20px;
    color: #666;
}

.item i {
    right: 1%;
    top: 30px;
    z-index: 1;
}

.week {
    display: flex;
    /*justfiy-content:space-between;*/
}

.colums {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

    .colums div {
        width: 48%;
    }

[type="date"]::-webkit-calendar-picker-indicator {
    right: 1%;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}

input[type=radio], input[type=checkbox] {
    display: none;
}

label.radio {
    position: relative;
    display: inline-block;
    margin: 5px 20px 15px 0;
    cursor: pointer;
}

.question span {
    margin-left: 30px;
}

.question-answer label {
    display: block;
}

label.radio:before {
    content: "";
    position: absolute;
    left: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid #ccc;
}

input[type=radio]:checked + label:before, label.radio:hover:before {
    border: 2px solid #006622;
}

label.radio:after {
    content: "";
    position: absolute;
    top: 6px;
    left: 5px;
    width: 8px;
    height: 4px;
    border: 3px solid #006622;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    opacity: 0;
}

input[type=radio]:checked + label:after {
    opacity: 1;
}

.flax {
    display: flex;
    justify-content: space-around;
}

.btn-block {
    margin-top: 10px;
    text-align: center;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #169fff;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

    button:hover {
        background: #0577c6;
    }

@media (min-width: 568px) {
    .name-item, .city-item {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

        .name-item input, .name-item div {
            width: calc(50% - 20px);
        }

            .name-item div input {
                width: 97%;
            }

            .name-item div label {
                display: block;
                padding-bottom: 5px;
            }
}


body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    color: #404040;
}

.center {
    text-align: center;
}

.tight {
    padding: 15px 30px;
}

td {
    padding: 20px 50px 30px 50px;
}

    td.notification {
        padding: 10px 50px 30px 50px;
    }

small,
.small {
    font-size: 12px;
}

.footer {
    padding: 15px 30px;
}

    .footer p {
        font-size: 12px;
        margin: 0;
        color: #606060;
    }

a,
a:hover,
a:visited {
    color: #000000;
    text-decoration: underline;
}

h1,
h2 {
    font-size: 22px;
    color: #404040;
    font-weight: normal;
}

p {
    font-size: 15px;
    color: #606060;
}

.general {
    background-color: white;
}

.notification h1 {
    font-size: 26px;
    color: #000000;
    font-weight: normal;
}

.notification p {
    font-size: 18px;
}

    .notification p.small {
        font-size: 14px;
    }

.icon {
    width: 32px;
    height: 32px;
    line-height: 32px;
    display: inline-block;
    text-align: center;
    border-radius: 16px;
    margin-right: 10px;
}

.failure {
    border-top: 20px #b02020 solid;
    background-color: #db9c9b;
}

.critical {
    border-top: 20px #c05050 solid;
    background-color: #e2afae;
}

.warning {
    border-top: 20px #c08040 solid;
    background-color: #e0c4aa;
}

.healthy {
    border-top: 20px #80c080 solid;
    background-color: #c6e2c3;
}

.information {
    border-top: 20px #50a0c0 solid;
    background-color: #b5d5e2;
}

.failure p {
    color: #3d120f;
}

.critical p {
    color: #3d211f;
}

.warning p {
    color: #44311c;
}

.healthy p {
    color: #364731;
}

.information p {
    color: #273c47;
}

.failure .icon {
    background-color: #b02020;
    color: #ffffff;
}

.critical .icon {
    background-color: #c05050;
    color: #ffffff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.warning .icon {
    background-color: #c08040;
    color: #ffffff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.healthy .icon {
    background-color: #80c080;
    color: #ffffff;
}

.information .icon {
    background-color: #50a0c0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
}

.content {
    width: 600px;
}

@media only screen and (max-width: 600px) {
    .content {
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {
    td {
        padding: 15px 25px;
    }

    h1,
    h2 {
        font-size: 20px;
    }

    p {
        font-size: 13px;
    }

    small,
    .small {
        font-size: 11px;
    }

    td.notification {
        text-align: center;
        padding: 10px 25px 15px 25px;
    }

    .notification h1 {
        font-size: 22px;
    }

    .notification p {
        font-size: 16px;
    }

        .notification p.small {
            font-size: 12px;
        }

    .icon {
        display: block;
        margin: 0 auto 10px auto;
    }
}

