﻿/* contact.css */

div.section {
    background-color: rgb(10 10 12 / 0.80);
    border-radius: 20px;
    margin: 20px;
    padding: 20px;
}

h1 {
    margin: 20px 0;
}

p {
    margin: 15px 0;
}

div.phAdd {
    width: 600px;
    max-width: 100%;
    display: inline-block;
    background-color: #080809;
    padding: 30px 30px;
    margin: 10px 0;
    border-radius: 10px;
}

div.tbl {
    display: table;
    margin: 20px auto;
    width: 600px;
    max-width: 100%;
}

    div.tbl input[type=text],
    div.tbl textarea,
    div.tbl select {
        width: 100%;
    }

    div.tbl#ContactForm {
        background-color: #080809;
        border-radius: 15px;
        padding: 20px;
    }

div.tr {
    display: table-row;
}

div.th {
    display: table-cell;
    width: 0.01%;
    white-space: nowrap;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

div.td {
    display: table-cell;
    padding: 3px;
}

select {
    cursor: pointer;
}

input[type=text],
textarea {
    cursor: text;
}

input[type=text],
textarea,
select {
    padding: 10px;
    font-size: inherit;
    font-family: inherit;
    background-color: #0e0f12;
    color: #9ac256;
    border: none;
    outline: none;
    border-radius: 10px;
    transition: 1s;
}

    input[type=text]:hover,
    textarea:hover,
    select:hover {
        background-color: #121317;
        transition: 0s;
    }

    input[type=text]:focus,
    textarea:focus,
    select:focus {
        background-color: #272738;
        color: #9c9cff;
        outline: 2px solid #9c9cff;
        transition: 0s;
    }

    input[type=text]::selection,
    textarea::selection,
    select::selection {
        background-color: #434360;
    }

    select option {
        color: #9c9cff;
    }


input[type=button] {
    padding: 20px 40px;
    font-size: inherit;
    font-family: inherit;
    background-color: #ffffff04;
    color: inherit;
    border: none;
    outline: none;
    border-radius: 10px;
    cursor: pointer;
}

    input[type=button]:hover {
        background-color: #ffffff06;
    }

    input[type=button]:focus {
        outline: 2px solid #9c9cff;
    }

    input[type=button]:active {
        background-color: #272738;
    }

input::placeholder,
textarea::placeholder,
select[data-chosen='0'] {
    color: #38384e;
}


div.val {
    display: none;
    background-color: #b4002c;
    color: white;
    font-size: 15px;
    text-align: left;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 3px;
}


div.working {
    display: none;
    padding: 20px;
    background-color: #ffffff04;
    border-radius: 10px;
    color: #627a38;
}

    div.working div.spinner {
        flex: 1;
    }

        div.working div.spinner img {
            width: 20px;
            animation: spin 2s linear infinite;
        }

        div.working div.tag {
            padding-left: 20px;
            flex: 6;
        }

img.gear {
    display: none;
}

img.circle {
    display: none;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


div#ContactConfirm {
    margin: 0 auto;
    width: 600px;
    max-width: 100%;
    display: none;
    background-color: #080809;
    border-radius: 15px;
    padding: 50px 0;
}

img.icon {
    width: 64px;
    margin: 0 auto;
}

div.popup {
    display: none;
    text-align: center;
    border: 1px solid #c60a36;
    box-shadow: 0 3px 10px black;
}


@media only screen and (max-width: 600px) {
    div .tbl, div.tr, div.th, div.td {
        display: block;
    }

    div.th {
        padding-bottom: 0px;
    }
}
