html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

body {
    line-height: 1
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block
}

nav ul {
    list-style: none
}

blockquote,q {
    quotes: none
}

blockquote:before,blockquote:after,q:before,q:after {
    content: none
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold
}

del {
    text-decoration: line-through
}

abbr[title],dfn[title] {
    border-bottom: 1px dotted;
    cursor: help
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0
}

input,select {
    vertical-align: middle
}

@font-face {
    font-family: OpenSansRegular;
    src: url(OpenSans-Regular-webfont.woff) format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: 'OpenSansRegular';
    transition: all .3s ease-out;
}

body {
    margin: 8px;
}

input[type="text"],input[type="date"],input[type="tel"],input[type="email"],input[type="number"],input[type="password"],textarea,select {
    position: relative;
    width: 100%;
    height: 34px;
    padding: 0 0 0 12px;
    margin: 0 0 8px 0;
    border-radius: 4px;
    border: 2px solid #dedede;
    background-color: #ffffff;
    color: #000;
    font-size: 14px;
    box-sizing: border-box;
}

/* input[type="text"]:hover,input[type="date"]:hover,input[type="tel"]:hover,input[type="email"]:hover,input[type="number"]:hover,input[type="password"]:hover,select:hover,textarea:hover {} */
input[type="text"]:focus,input[type="date"]:focus,input[type="tel"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="password"]:focus,select:focus,textarea:focus {
    box-shadow: 3px 3px 8px -1px rgba(0,0,0,.4);
    z-index: 9;
}

select {
    width: 100%;
    height: 34px;
    padding: 0 0 0 8px;
    cursor: pointer;
}

textarea {
    width: 100%;
    max-width: 100%;
    height: 70px;
    max-height: 70px;
    padding-top: 8px;
    margin-bottom: 5px;
}

input[type="submit"], button {
    width: 100%;
    height: 40px;
    margin-top: 0px;
    color: #FFFFFF;
    text-shadow: 1px 1px 1px rgba(0,0,0,.28);
    font-size: 17px;
    cursor: pointer;
    clear: both;
    border: none;
    border-radius: 3px;
    background-color: #299E0C;
    word-wrap: break-word;
    transition: background-color .3s ease-out;
    text-transform: uppercase;
}

input[type="submit"]:hover, button:hover {
    background-color: #006929;
}

input[type="submit"]:active, button:active {
    box-shadow: inset 0 0 32px 0 #333;
}

/* Estilos do PLACEHOLDER (Media: 0px) */
::-webkit-input-placeholder {
    color: #000 !important;
}

:-moz-placeholder {
    color: #000 !important;
}

::-moz-placeholder {
    color: #000 !important;
}

:-ms-input-placeholder {
    color: #000 !important;
}

/* Estilo da mensagem de obrigado e erro (Media: 0px) */
#msgObrigado {
    color: #fff;
    /* height: 62px; */
    margin: 20px 10px 0 10px;
    text-align: center;
    padding-top: 35px;
    border-radius: 7px;
    font-size: 23px;
}

#msgErro {
    color: #fff;
    height: 100px;
    margin: 20px 10px 0 6px;
    text-align: center;
    padding-top: 35px;
    border-radius: 7px;
    font-size: 24px;
}

#msgErro b {
    color: #F00;
    text-shadow: 0 0 8px rgba(0,0,0,.5)
}

#outroFormulario {
    padding-top: 10px;
}

#outroFormulario a {
    text-decoration: underline;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

#outroFormulario a:hover {
    text-decoration: underline
}

/* GRID Modelos */
.grid{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0px;
}

/* Media Query de caixa ate 301px de width */
@media (min-width: 301px) {
    input[type="text"]:focus,input[type="date"]:focus,input[type="tel"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="password"]:focus,select:focus,textarea:focus {
        box-shadow: 3px 3px 8px -1px rgba(0,0,0,.4);
        z-index: 9;
    }

    input[type="text"],input[type="date"],input[type="tel"],input[type="email"],input[type="number"],input[type="password"],textarea,select {
        height: 34px;
        width: 100%;
        margin: 0 7px 7px 0;
        float: left;
        transition: all .3s ease-out;
    }

    textarea {
        width: 100%;
        max-width: 100%;
        height: 80px;
        max-height: 80px;
        padding-top: 8px;
    }

    select {
        width: 100%;
        height: 34px;
        padding: 0 0 0 8px;
        cursor: pointer;
    }

    input[type="submit"], button {
        width: 100%;
        height: 40px;
        border-radius: 4px;
    }

    #msgObrigado {
        margin: 30px 10px 0px 0px !important;
    }

    #msgErro {
        margin: 50px 30px 0px 20px !important;
    }

    #msgErro b {
        color: #F00;
        text-shadow: 0 0 8px rgba(0,0,0,.5)
    }
}

/* Media Query de caixa ate 400px de width */
@media (min-width: 400px) {
    
    /* GRID 400px */
    .grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }

    input[type="text"]:focus,input[type="tel"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="password"]:focus,select:focus,textarea:focus {
        /* background-color: #fff; */ box-shadow: 3px 3px 8px -1px rgba(0,0,0,.4);
        z-index: 9;
    }

    input[type="text"],input[type="tel"],input[type="email"],input[type="number"],input[type="password"],textarea,select {
        height: 42px;
        width: 100%;
        margin: 0 8px 0px 0;
        line-height: 30px;
        border-radius: 4px;
        border-color: #dedede;
        background-color: #ffffff;
        color: #000;
        transition: all .3s ease-out;
    }

    textarea {
        width: 100%;
        min-width: 100%;
        height: 70px;
        max-height: 70px;
        padding-top: 7px;
        padding-right: 10px;
        line-height: 15px;
    }

    select {
        width: 100%;
        height: 42px;
        padding: 0 0 0 12px;
        cursor: pointer;
    }

    input[type="submit"], button {
        width: 100%;
        height: 40px;
        margin-top: 10px;
        text-transform: uppercase;
        font-size: 19px;
        letter-spacing: 2px;
        border-radius: 3px;
    }

    /* Estilo da mensagem de obrigado e erro (Media: ate 400px width) */
    #msgObrigado {
        margin: 10px 20px 0px 0px !important;
        color: #fff;
    }

    #msgErro {
        margin: 10px 20px 0px 0px !important;
        height: 0px;
        color: #fff;
    }

    #outroFormulario {
        padding-top: 10px;
    }

    #outroFormulario a {
        line-height: 50px;
        color: #fff;
    }

    #msgErro b {
        color: #F00;
        text-shadow: 0 0 8px rgba(0,0,0,.5)
    }

    /* Estilos do PLACEHOLDER (Media: ate 400px width) */
    ::-webkit-input-placeholder {
        color: #000 !important;
    }

    :-moz-placeholder {
        color: #000 !important;
    }

    ::-moz-placeholder {
        color: #000 !important;
    }

    :-ms-input-placeholder {
        color: #000 !important;
    }
}

/* Estilo somente para o firefox */
@-moz-document url-prefix("") {
}

/* The container */
.container {
    display: block;
    position: relative;
    padding-left: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    line-height: 38px;
    box-sizing: border-box;
    text-transform: uppercase;
}

/* Hide the browser's default radio button */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 38px;
    width: 100%;
    /* background-color: #eeeeee; */
    border-radius: 4px;
    border: 2px solid #d0d0d0b5;
    box-sizing: border-box;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    border: 2px solid #2196f3;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
    border: 2px solid #2196f3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:before {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:before {
    display: block;
}

/* Style the indicator (dot/circle) */
.container .checkmark:before {
    padding: 3px 5px;
    top: 0px;
    right: 0px;
    width: 16px;
    height: 28px;
    border-radius: 0px;
    background: #2196f3ab;
    content: "✔";
    color: #ffffff;
    text-align: center;
    line-height: 28px;
    border: none;
}
