/*! HTML5 Boilerplate v5.3.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;
}

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

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

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

@font-face {
	font-family: 'Swiss721BT';
	src: url('../fonts/Swiss721BT/Swiss721BT-Light.otf');
	src: url('../fonts/Swiss721BT/Swiss721BT-Light.woff') format('woff'),
		url('../fonts/Swiss721BT/Swiss721BT-Light.ttf') format('truetype');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'Swiss721BT';
	src: url('../fonts/Swiss721BT/Swiss721BT-Black.otf');
	src: url('../fonts/Swiss721BT/Swiss721BT-Black.woff') format('woff'),
		url('../fonts/Swiss721BT/Swiss721BT-Black.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
}

    /* Style for our header texts
	* --------------------------------------- */
	h1{
		font-size: 5em;
		font-family: arial,helvetica;
		color: #fff;
		margin:0;
		padding:0;
	}

	/* Centered texts in each section
	* --------------------------------------- */
	.section{
		text-align:center;
        color: #492116;
	}


	/* Backgrounds will cover all the section
	* --------------------------------------- */
	#section_home,
	#section_sobre,
	#section_servicos,
	#section_contato{
		background-size: cover;
		background-attachment: fixed;
	}

    /* Vertical alignment content
    *------------------------------------------*/
    #section_home div.container,
    #section_sobre div.container,
    #section_servicos div.container {
		top: 50%;
		transform: translateY(-50%);
		position: relative;
	}

	/* Defining each sectino background and styles
	* --------------------------------------- */
	body {
        background-image: url(../img/bg-parallax.jpg);
    }

    #section_home{
		background-color: rgba(255,255,255,0.1) !important;
	}
    #section_home ul.menu {
        display: block;
        width: 100%;
        margin: 150px 0 0 0;
        padding: 0;
        background-color: #492116;
    }
    #section_home ul.menu li {
        display: inline-block;
        font-size: 16px;
        padding: 4px 50px;
        margin: 0;
    }
    #section_home ul.menu li a:link,
    #section_home ul.menu li a:visited {
        color: #EFE7BC;
        font-family: 'Swiss721BT', Arial;
        font-size: 15px;
        text-align: center;
        font-weight: 100;
    }
    

    #section_sobre .wrap {
        background-color: #FFF;
        height: 80%;
        position: relative;
    }
    #section_sobre h2 {
        color: #492116;
        font-size: 18px;
        font-family: 'Swiss721BT', Arial;
        font-weight: 900;
        margin-top: 0;
    }
    #section_sobre p {
        color: #492116;
        font-size: 15px;
        text-align: center;
        font-family: 'Swiss721BT', Arial;
        font-weight: 100;
    }
    #section_sobre .descricao {
        text-align: justify; 
        width: 419px; 
        text-align-last: center; 
        margin: 0 auto; 
        padding:0;
    }


    #section_servicos .wrap {
        background-color: #492116;
        height:80%;
        top: 50%;
		transform: translateY(-50%);
        position: relative;
    }
    #section_servicos h2 {
        color: #EFE7BC;
        font-size: 18px;
        font-family: 'Swiss721BT', Arial;
        font-weight: 900;
        margin-top: 0;
        margin-bottom: 60px;
    }
    #section_servicos p {
        color: #EFE7BC;
        font-size: 15px;
        text-align: center;
        font-family: 'Swiss721BT', Arial;
        font-weight: 100;
        letter-spacing: 1px;
        line-height: 25px;
    }
	

	#section_contato .wrap{
		background-color: #FFF;
	}
    #section_contato div.container {
        padding-bottom: 50px;
    }
    #section_contato h2 {
        color: #492116;
        font-size: 18px;
        font-family: 'Swiss721BT', Arial;
        font-weight: 900;
        margin-top: 60px;
        margin-bottom: 60px;
    }
    #section_contato p {
        color: #492116;
        font-size: 16px;
        text-align: center;
        font-family: 'Swiss721BT', Arial;
        font-weight: 100;
        letter-spacing: 1px;
        line-height: 25px;
        margin-bottom: 16px;
    }
    #section_contato iframe {
        margin-bottom: 20px;
    }
    #section_contato p.dados {
        color: #492116;
        font-size: 12px;
        text-align: center;
        font-family: 'Swiss721BT', Arial;
        font-weight: 100;
        letter-spacing: 1px;
        line-height: 16px;
        margin-bottom: 16px;
    }
    #section_contato p a:link {
        color: #492116;
    }
    #section_contato footer p {
        font-size: 10px;
        color: #EFE7BC;
    }


    #section_footer div.container{
        padding: 0 0 30px 0;
    }
    #section_footer p {
        color: #EFE7BC;
        font-size: 11px;
        text-align: center;
        font-family: 'Swiss721BT', Arial;
        font-weight: 100;
        letter-spacing: 1px;
        margin-top: 25px;
    }
    
    #fp-nav > ul > li > a > span {
        /*background-color: #EFE7BC;*/
        border: 2px solid #EFE7BC;
    }

    #fp-nav ul li a span, .fp-slidesNav ul li a span
    {
        height: 12px;
        width: 12px;
        margin: -6px 0 0 -6px;
        border-radius: 100%;
        background: transparent;
    }
    #fp-nav ul li a.active span, .fp-slidesNav ul li a.active span, #fp-nav ul li:hover a.active span, .fp-slidesNav ul li:hover a.active span
    {
        height: 12px;
        width: 12px;
        margin: -6px 0 0 -6px;
        border-radius: 100%;
        background: #EFE7BC;
    }
   

@media (min-width: 1200px) {
    .container {
        width: 970px;
    }
    #section_sobre p {
        padding: 0 180px;
        margin-bottom: 30px;
    }
}
@media (max-width: 969px) {
    #section_home ul.menu li {
        display: block;
    }
    #section_servicos .wrap {
        height: 85%;
    }
    #section_servicos h2 {
        margin-bottom: 30px;
    }
    #section_servicos p {
        font-size: 13px;
        line-height: 18px;
    }
    #section_sobre .wrap {
        width: initial; 
        height: 85%;
    }
    #section_sobre .descricao {
        width: initial; 
        font-size: 13px;
    }
    #section_footer div.container {
        padding: 30px 0;
    }
}



/* ==========================================================================
   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,
    *:first-letter,
    *:first-line {
        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;
    }
}
