/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}



.rotate {

/* Safari */
-webkit-transform: rotate(-90deg);

/* Firefox */
-moz-transform: rotate(-90deg);

/* IE */
-ms-transform: rotate(-90deg);

/* Opera */
-o-transform: rotate(-90deg);

/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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


/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
    font-family: 'flamabasic';
    src: url('../fonts/flama-basic-webfont.eot');
    src: url('../fonts/flama-basic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-basic-webfont.woff2') format('woff2'),
         url('../fonts/flama-basic-webfont.woff') format('woff'),
         url('../fonts/flama-basic-webfont.ttf') format('truetype'),
         url('../fonts/flama-basic-webfont.svg#flamabasic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'flamabold';
    src: url('../fonts/flama-bold-webfont.eot');
    src: url('../fonts/flama-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-bold-webfont.woff2') format('woff2'),
         url('../fonts/flama-bold-webfont.woff') format('woff'),
         url('../fonts/flama-bold-webfont.ttf') format('truetype'),
         url('../fonts/flama-bold-webfont.svg#flamabold') format('svg');
    font-weight: normal;
    font-style: normal;

}

body{ font-family:"flamabasic"; overflow:hidden; }
h1 { font-family:"flamabold"; }

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

::-webkit-input-placeholder {
   color: white;
}

:-moz-placeholder { /* Firefox 18- */
   color: white;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: white;  
}

:-ms-input-placeholder {  
   color: white;  
}

body{ background:url("../img/bg.jpg") repeat-x #ba8e61; }


    .left-side{ height: 1000px;  float:left; width:60%; } 
        .left-side-text{ float:right; text-align:center; width:595px; }
            .left-side-text h1{ background: -webkit-linear-gradient(#f79130, #ffdd4a);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
            .left-side-text h1{ font-family:"flamabasic"; font-size:40px; text-transform:uppercase; }
                .left-side-text h1 span{ font-family:"flamabold"; font-size:100px; text-transform:uppercase; }
                .left-side-text h1 strong{ font-family:"flamabold"; -webkit-text-fill-color:#ce402e; }
        .left-side-text h1{ margin-top:80px; }
        .logo{ margin-top:60px; }
        .fujadarotina{ margin-top:60px; }

    .right-side{ background:url("../img/bg2.png") repeat-x; height: 1000px;  float:right; position:relative; width:40%; }
        .right-side-text{ color:white; float:left; margin:70px 0 0 35px; text-align:left; width:100%; }
            .right-side-text h1{ font-size:21px; }
            .right-side-text p{ font-size:18px; }

        .right-side-form { background:white; border-top-right-radius:10px; border-top-left-radius:10px; float:left; height:300px; margin:35px; padding:20px; position:relative; width:195px; }
            .right-side-form h2{ color:#ce402e; font-weight:normal; padding:0; margin:0; text-align:right; margin-right:50px; font-size:12px; }
                .right-side-form h2 span{ font-size:23px; text-transform:uppercase; }
            .right-side-form img{ color:#ce402e; padding:0; margin:0; position:absolute; top:20px; right:20px; }
        .right-side-form form input{ background:#fbaf5d; border:none; color:white; height:30px; margin-bottom:12px; padding-left:20px; width:167px; }
        .right-side-form form button{ background:#c63e2e; border:none; color:white; width:187px; height:40px; }
        
        .mensagem{ color:#f36f25; }
        legend{ font-size:10px; position:absolute; left:-150px; top:180px; text-transform: uppercase; }

        
@media screen 
  and (max-width: 699px) {
      html{ overflow-x: auto; }
      
      .left-side{ height:auto; padding-bottom:40px; width:100%; }
      .left-side-text h1{ }
      .left-side-text{ width:100%; }
      .fujadarotina{ width:80%; }
      
      .right-side{ background:url("../img/bg2.png") -100px repeat-x; height:670px; width:100%; }
      
      .right-side-text{ margin-top:20px; }
      
      legend{
          left:5px; top:-15px;
        -webkit-transform: rotate(0deg) !important;
        -moz-transform: rotate(0deg) !important;
        -ms-transform: rotate(0deg) !important;
        -o-transform: rotate(0deg) !important;
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0) !important;

      }
  }
        
        

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
