@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active
{
    outline:0px !important;
    -webkit-appearance:none;
    box-shadow: none !important;
}

input {
    background:#efefef;
    border-radius:4px;
    margin:10px 0 20px;
    border:0;
    padding:10px 12px 9px;
    width:100%;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Helvetica, sans-serif;
    color:#222;
    font-weight: normal;
    margin:0;
    font-size:14px;
    line-height:1.6;
}

#header {
    margin-top:-20px;
    text-align:center;
}

#header img {
    width:110px;
}

#header h1 {
    font-size:20px;
}

#box {
    background:#fff;
    padding:20px;
    overflow:auto;
    max-width:460px;
    margin: 0 auto;
    height: 100%;
    overflow: auto;
}

#response p {
    overflow:auto;
}

#query {
    z-index:1000000;
    position:fixed;
    bottom:0;
    background:#efefef;
    width:100%;
    overflow:auto;
    box-sizing: border-box;
    padding:0 10px 10px;
    box-shadow: 0px 0px 10px -5px rgba(0,0,0,0.75);
}

#query h4 {
    margin:8px;
}

textarea {
    border:0;
    border-radius: 4px;
    padding:10px;
    background:#fff;
    float:left;
    clear:both;
    width:100%;
    height:60px;
    box-sizing: border-box;
    font-family: 'Roboto', Helvetica, sans-serif;
    margin-bottom:10px;
    font-size:16px;
}

#response {
}

hr {
    border:none;
    height: 1px;
    background:#e2e2e2;
    margin:30px 0;
}

a.query {
    color:#628e56;
    background:#efefef;
    padding:8px 18px 9px;
    border-radius:4px;
    margin:0 0 10px;
    display:block;
    float:left;
    clear:left;
    width:auto;
    text-decoration:none;
}

#response strong {
    color:#81af74;
}

a {
    color: #6a965d;
    text-decoration:none;
}
button {
    background:#81af74;
    color:#fff;
    text-transform: uppercase;
    padding:18px 20px 15px;
    border:0;
    border-radius: 4px;
    font-weight: bold;
    float:left;
    clear:both;
    width:100%;
    text-align:center;
}

button:disabled {
    background-color: #aaaaaa;
}

button:hover {
    background-color: #6a965d;
}

/* dots */
#loader {
    margin:40px auto 50px;
    color:rgb(78, 182, 125);
    width:65px;
    height:25px;
    --d:radial-gradient(farthest-side,currentColor 90%,#0000);
    background:var(--d),var(--d),var(--d),var(--d);
    background-size:10px 10px;
    background-repeat:no-repeat;
    animation: m 1s infinite;
}

#pad {
    margin-bottom:190px;
}

@keyframes m {
0%  {background-position:calc(0*100%/3) 50%, calc(1*100%/3) 50% , calc(2*100%/3) 50%, calc(3*100%/3) 50% }
33% {background-position:calc(0*100%/3) 0  , calc(1*100%/3) 100%, calc(2*100%/3) 0  , calc(3*100%/3) 100%}
66% {background-position:calc(1*100%/3) 0  , calc(0*100%/3) 100%, calc(3*100%/3) 0  , calc(2*100%/3) 100%}
100%{background-position:calc(1*100%/3) 50%, calc(0*100%/3) 50% , calc(3*100%/3) 50%, calc(2*100%/3) 50% }
}

#loader.hide {
    display:none;
}
