/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

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

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body{
    height: 100%;
}

body {
    color: #222;
    font-family: 'times new roman';
    box-sizing: border-box;
    background-color: #f1f1f1;
    position: relative;
}

body.body-home {
    color: #fff;
    background-color: #7394B9;
    font-weight: 300;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.div-home-box {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin: auto;
    width: 700px;
    height: 420px;
    position: absolute;
    background: url(../img/globo_home.png) no-repeat 25px 20px;
    z-index: 99;
}

.div-home-box h1 {
    font-size: 4em;
    margin: 0;
    font-style: italic;
    line-height: normal;
}

.div-home-box h2 {
    line-height: normal;
    font-size: 1.2em;
    margin: 0;
    font-style: italic;
}

.div-home-logo {
    text-align: left;
    margin-bottom: 0;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    position: absolute;
    color: #000;
    top: 104px;
    left: 164px;
}

.div-home-logo:after{
    content: " ";
    display: block;
    position: absolute;
    top: -80px;
    left: -20px;
    height: 300px;
    width: 1px;
    background: #fff;
    border: 1.5px solid white;
}

.div-home-logo:before{
    content: " ";
    display: block;
    position: absolute;
    top: -10px;
    left: -150px;
    height: 1px;
    width: 635px;
    background: #000;
    border: 1px solid black;
    z-index: 2;
}

.div-home-icon {
    position: absolute;
    right: 0;
    bottom: 0;
}

.div-home-icon img {
    
}

.div-home-idioms {
    padding: 0;
    margin: 0;
    font-style: normal;
    font-family: sans-serif;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.19em;
    position: absolute;
    left: 164px;
    right: 45px;
    bottom: 10px;
}

.div-idiom {
    font-size: 12px;
    line-height: 20px;
    text-decoration: none;
    height: 20px;
    text-align: center;
}

.div-idiom a {
    text-decoration: none;
    color: white;
}

.div-idiom a:hover {
    text-decoration: underline;
}

.div-other-idiom {
    text-align: center;
    line-height: 30px;
    margin-top: 5px;
    cursor: pointer;
    color: #fff;
    height: 30px;
}

.div-other-idiom:hover {
    text-decoration: underline;
}

.div-other-idiom a {
    text-decoration: none;
    color: white;
}

.div-home-phrase {
    font-style: normal;
    font-family: sans-serif;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
    position: absolute;
    top: 70px;
    left: 170px;
}

.div-home-box .div-home-phrase h2{
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.19em;
    font-size: 11px;
}

.div-top-label p {
    margin: 5px auto;
    width: 980px;
    font-weight: bold;
}

.div-top-stripe {
    
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.div-top-stripe h1 {
    font-size: 2em;
    color: #fff;
    margin: 0;
    font-style: italic;
    line-height: normal;
}

.div-top-stripe h1 a {
    padding-right: 26px;
    border-right: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    padding-top: 21px;
    padding-bottom: 11px;
}

.div-top-stripe h1 a:hover {
    text-decoration: underline;
}

.div-pdf {
    width: 100%;
    height: calc(100% - 74px - 160px);
    position: absolute;
    overflow: hidden;
}

footer {
    width: 100%;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4); 
}

.div-not-ready {
    margin-top: 10px;
    text-align: center;
    color: red;
}

.div-countries {
    margin: 30px auto 40px;
    width: 980px;
    -webkit-column-count: 5;
    -moz-column-count: 5;
    -ms-column-count: 5;
    column-count: 5;
}

.country-name-disabled {
    color: #a1aaaf !important;
}

.country-name-disabled:hover {
    text-decoration: none !important;
    cursor: default;
}

.country-name {
    text-decoration: none;
    color: #333;
    font-weight: 300;
}

.country-name:hover {
    text-decoration: underline;
}

.div-icon-plus {
    font-size: 11px;
    padding-right: 13px;
    padding-left: 18px;
}

.div-top-stripe {
    width: 100%;
    background-color: #7394B9;
    height: 70px;
    border-bottom: 4px solid #e8f3ff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.div-top-stripe .div-stripe-logo {
    width: 980px;
    margin: 0 auto;
}

.div-top-stripe .div-stripe-logo a {
    float: left;
}

.div-top-stripe .div-stripe-logo img {
    height: 29px;
}

.div-top-stripe p {
    font-weight: 300;
    color: #fff;
    padding: 35px 0 0;
    text-indent: 25px;
    margin: 0;
}

.div-top-stripe p a {
    color: #fff;
    text-decoration: none;
}

.div-top-stripe p a:hover {
    text-decoration: underline;
}

.div-top-stripe p a:active {
    position: relative;
    top: 1px;
}

#content {
    width: 960px;
    margin: 0 auto;
    padding-top: 60px;
}

#div-solicitacao-title {
    float: left;
    width: 350px;
    color: #667d8d;
    font-size: 14px;
    margin-right: 80px;
    position: relative;
    margin-top: 45px;
}

#div-solicitacao-title div {
    float: right;
    font-size: 2em;
    position: absolute;
    top: 50%;
    margin-top: -56px;
}

form#solicitacao {
    width: 490px;
    display: block;
    float: right;
}

#div-solicitacao-title img {
    float: right;
    display: none;
    margin-left: 70px;
}

.frame-pdf { 
    display: block;
    position: relative;
}
            
form#solicitacao div#form-result {
    font-weight: 300;
    width: 485px;
    height: 30px;
    float: right;
}

form#solicitacao label {
    color: #667d8d;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    width: 118px;
    padding-left: 13px;
    float: left;
    background: #f8f9fa;
    font-weight: 500;
    -webkit-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
}

form#solicitacao input {
    outline: none;
}

form#solicitacao input[type="text"] {
    font-size: 14px;
    font-family: "Times New Roman", serif;
    margin-bottom: 13px;
    border: 1px solid #c7d2db;
    height: 26px;
    width: 350px;
    -webkit-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
}

textarea {
    font-size: 14px;
    font-family: "Times New Roman", serif;
    margin-bottom: 13px;
    border: 1px solid #c7d2db;
    width: 348px;
    height: 180px;
    -webkit-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    outline: none;
}

form#solicitacao input[type="text"]:first-child {
    margin-top: 30px;
}

form#solicitacao input#web_address {
    float: right;
}

form#solicitacao p {
    text-indent: 13px;
    color: #667d8d;
}

form#solicitacao input[type="submit"] {
    font-family: "Times New Roman", serif;
    margin: 10px 0 0 97px;
    padding: 10px;
/*    width: 163px;
    margin-left: 45px;
    text-transform: uppercase;
    float: right;
    border: none;
    box-shadow: 0px -2px #2d79c5 inset;
    background-color: #4da2d9;
    text-align: center;
    border-radius: 5px;
    line-height: 34px;
    cursor: pointer;
    height: 34px;
    color: #fff;*/
}

form#solicitacao input[type="submit"]:active {
/*    box-shadow: 0px 2px #2d79c5 inset;
    top: 1px;*/
}

form#solicitacao span {
    margin-left: 140px;
    line-height: 30px;
    font-weight: 300;
    float: right;
}

form#solicitacao span b {
    font-weight: 500;
}

form#solicitacao span.form-error {
    color: red;
    float: left;
    clear: both;
    display: block;
    width: 100%;
    margin-top: -15px;
    margin-left: 0;
    margin-bottom: 13px;
}

form#solicitacao span.form-error.last {
    position: relative;
    left: 136px;
}


.div-ja-cadastrado {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    font-weight: 400;
    text-align: center;
    width: 600px;
    margin: 200px auto;
    padding-bottom: 40px;
}

.div-ja-cadastrado h1 {
    color: #667d8d;
    font-size: 20px;
    border-bottom: 1px solid #ccc;
    width: 545px;
    margin: 30px auto 0;
    padding-bottom: 20px;
}

.div-ja-cadastrado h2 {
    margin: 25px auto 0;
    line-height: 14px;
}

.div-ja-cadastrado h2 a {
    color: #3b90d5;
    font-size: 14px;
}

.footer-header{
    display: none;
}

/* PHONE */
@media (max-width: 767px) {
   
    body, html{
        position: relative;
        height: 100%;
        line-height: normal;
    }
    
    /* HOME */
    
    .div-home-box{
        width: auto;
        height: 100%;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        background: none;
        position: relative;
    }
    
    .div-home-logo{
        left: auto;
        top: auto;
        position: relative;
        text-align: center;
        margin: .7em 0;
        padding-bottom: 0.7em;
        border-bottom: 2px solid #fff;
    }
    
    .div-home-logo:before,
    .div-home-logo:after{
        display: none;
    }
    
    .div-home-logo > h1{
        font-size: 2em;
        display: inline-block;
        margin-left: 50px;
    }
    
    .div-home-logo > h1:before{
        content: " ";
        position: absolute;
        display: block;
        background: url(../img/globo_home.png) no-repeat center;
        background-size: contain;
        height:37px;
        width: 70px;
        margin-left: -70px;
        top: 0;
    }
    
    .div-home-phrase{
        position: relative;
        left: auto;
        top: auto;
        padding: 0 0.5em;
        margin-bottom: .4em;
    }
    
    .div-home-idioms{
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        padding: .7em;
        letter-spacing: normal;
        line-height: normal;
    }
    
    .div-idiom,
    .div-other-idiom{
        line-height: normal;
        height: auto;
        margin: 0;
    }
    
    .div-idiom a,
    .div-other-idiom a{
        display: block;
        padding: 1em 0.6em;
        margin: 0.1em 0;
        border: 1px solid rgba(255,255,255,0.5);
        border-radius: 10px;
        line-height: normal;
    }
    
    .div-home-icon{
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        text-align: center;
        height: 24px;
        padding: .4em 0 1em 0;
    }
    
    .div-home-icon > img{
        height: 100%;
    }
    
    /* End HOME */
    
    /* INTERNA */
    
    .div-top-stripe{
        height: 44px;
        padding: 0;
        text-align: left;
    }
    
    .div-top-stripe h1{
        font-size: 1.1em;
    }
    
    .div-top-stripe p{
        position: absolute;
        font-size: 0.7em;
        padding: 0;
        top: 7px;
        right: 5px;
        line-height: normal;
        width: 130px;
        text-align: right;
    }
    
    .div-top-stripe .div-stripe-logo{
        width: auto;
    }
    
    .div-top-stripe .div-stripe-logo a{
        float: none;
        padding: 0;
        border: none;
        line-height: 44px;
        padding-left: 25px;
    }
    
    .div-top-stripe .div-stripe-logo a:before{
        content: " ";
        display: block;
        position: absolute;
        top: 14px;
        left: 0;
        width: 0; 
        height: 0; 
        border-left: 8px solid transparent;  /* left arrow slant */
        border-right: 8px solid #fff; /* right arrow slant */
        border-bottom: 8px solid transparent; /* bottom, add background color here */
        border-top: 8px solid transparent;
        font-size: 0;
        line-height: 0;
    }
    
    .div-top-stripe .div-stripe-logo img{
        height: 24px;
    }
    
    .div-top-label p{
        text-align: center;
        width: auto;
    }
    
    footer{
        display: block;
    }
    
    .div-countries{
        display: block;
        width: auto;
        text-align: center;
        margin: 0;
        -webkit-column-count: 1;
        -moz-column-count: 1;
        -ms-column-count: 1;
        column-count: 1;
    }
    
    .country-name{
        display: block;
        padding: 0.5em;
        border-bottom: 1px solid #e2e2e2;
    }
    
    .mobile footer{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 44px;
        overflow: hidden;
        box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
        z-index: 9999;
        -webkit-transition: height .5s;
        transition: height .5s;
    }
    
    .mobile footer.active{
        height: 100%;
    }
    
    .mobile footer .div-countries{
        position: relative;
        margin-top: 44px;
        height: 100%;
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
    }
    
    .mobile footer .div-countries .spacer{
        height: 60px;
    }
    
    .mobile .div-pdf{
        height: auto;
        left: 0;
        right: 0;
        bottom: 44px;
        top: 74px;
    }
    
    .mobile .footer-header{
        position: absolute;
        width: 100%;
        height: 44px;
        display: block;
        text-align: center;
        line-height: 44px;
        color: #333;
        font-weight: bold;
        text-decoration: none;
    }
    
    .mobile .footer-header:before{
        content: " ";
        display: block;
        position: absolute;
        top: 22px;
        right: 15px;
        margin-top: -5px;
        width: 0; 
        height: 0; 
        border-left: 8px solid transparent;  /* left arrow slant */
        border-right: 8px solid transparent; /* right arrow slant */
        border-bottom: 8px solid #2f2f2f; /* bottom, add background color here */
        border-top: none;
        font-size: 0;
        line-height: 0;
    }
    
    .mobile footer.active .footer-header:before{
        border-left: 8px solid transparent;  /* left arrow slant */
        border-right: 8px solid transparent; /* right arrow slant */
        border-top: 8px solid #2f2f2f; /* bottom, add background color here */
        border-bottom: none;
        font-size: 0;
        line-height: 0;
    }
        
    /* End INTERNA */
    
    /* Form */
    
    #content{
        width: auto;
        padding: 0;
    }
    
    #div-solicitacao-title{
        float: none;
        width: auto;
        margin: 0 0 0 0;
        padding: 1em 0;
        text-align: center;
        font-size: 
    }
    
    #div-solicitacao-title > img{
        display: none;
    }
    
    #div-solicitacao-title div{
        float: none;
        margin: 0;
        top: auto;
        position: relative;
        font-size: 1.4em;
    }
    
    form#solicitacao{
        width: auto;
        padding: 0.5em 0.5em 2em;
        float: none;
    }
    
    form#solicitacao label{
        float: none;
        display: block;
        width: 100%;
        padding: 2px 0;
        text-indent: 10px;
    }
    
    form#solicitacao input[type="text"]{
        float: none;
        display: block;
        width: 100%;
        border-radius: 0;
        padding: 2px 0;
    }
    
    form#solicitacao textarea{
        width: 100%;
        padding: 2px 0;
    }
    
    form#solicitacao input[type="submit"]{
        width: 100%;
        height: 44px;
        margin: 10px 0 0 0;
        border: 2px solid #ccc;
        background: #fff;
        font-weight: bold;
    }
    /* End Form */
}

/* TABLET */

.tablet .div-top-label p{
    width: auto !important;
}

.tablet #content{
    width: auto;
    padding: 0;
}

.tablet footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 44px;
    overflow: hidden;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
    z-index: 9999;
    -webkit-transition: height .5s;
    transition: height .5s;
}

.tablet footer.active{
    height: 100%;
}

.tablet .div-countries{
    position: relative;
    margin: 44px 0 0 0;
    display: block;
        width: auto;
        text-align: center;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    -webkit-column-count: 1;
        -moz-column-count: 1;
        -ms-column-count: 1;
        column-count: 1;
}

.tablet footer .div-countries .spacer{
    height: 60px;
}

.tablet footer .div-country a{
    padding: .5em;
    display: inline-block;
}

.tablet .div-pdf{
    height: auto;
    left: 0;
    right: 0;
    bottom: 44px;
    top: 104px;
}

.tablet .div-pdf iframe{
    border: none;
}

.tablet .footer-header{
    position: absolute;
    width: 100%;
    height: 44px;
    display: block;
    text-align: center;
    line-height: 44px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

.tablet .footer-header:before{
    content: " ";
    display: block;
    position: absolute;
    top: 22px;
    right: 15px;
    margin-top: -5px;
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;  /* left arrow slant */
    border-right: 8px solid transparent; /* right arrow slant */
    border-bottom: 8px solid #2f2f2f; /* bottom, add background color here */
    border-top: none;
    font-size: 0;
    line-height: 0;
}

.tablet footer.active .footer-header:before{
    border-left: 8px solid transparent;  /* left arrow slant */
    border-right: 8px solid transparent; /* right arrow slant */
    border-top: 8px solid #2f2f2f; /* bottom, add background color here */
    border-bottom: none;
    font-size: 0;
    line-height: 0;
}

/* Form */
    
  .tablet   #content{
        width: auto;
        padding: 0;
    }
    
  .tablet   #div-solicitacao-title{
        float: none;
        width: auto;
        margin: 0 0 0 0;
        padding: 1em 0;
        text-align: center;
        font-size: 
    }
    
  .tablet   #div-solicitacao-title > img{
        display: none;
    }
    
  .tablet   #div-solicitacao-title div{
        float: none;
        margin: 0;
        top: auto;
        position: relative;
        font-size: 1.4em;
    }
    
   .tablet  form#solicitacao{
        width: auto;
        padding: 0.5em 0.5em 2em;
       float: none;
    }
    
   .tablet  form#solicitacao label{
        float: none;
        display: block;
        width: 100%;
        padding: 2px 0;
        text-indent: 10px;
    }
    
   .tablet  form#solicitacao input[type="text"]{
        float: none;
        display: block;
        width: 100%;
        border-radius: 0;
        padding: 2px 0;
    }
    
   .tablet  form#solicitacao textarea{
        width: 100%;
        padding: 2px 0;
    }
    
   .tablet  form#solicitacao input[type="submit"]{
        width: 100%;
        height: 44px;
        margin: 10px 0 0 0;
        border: 2px solid #ccc;
        background: #fff;
        font-weight: bold;
    }
    /* End Form */

@media (max-width: 768px) {
    
}

@media (max-width: 1024px) {
    
}
