/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
    background:#f6f6f6;
}

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    background:#f6f6f6 url("../imagens/fundo-topo.jpg") repeat-x;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

header{ width:100%; height:180px;  background:url("../imagens/fundo-topo.jpg") repeat-x}
.estrutura{width:990px; margin:0 auto;}
.logo{margin:10px 0 0 10px;}
header nav{width:845px; height:40px; float:left; margin:-70px 0 0 140px;}
header nav a{color:#3c3c3c; text-decoration:none; font-size:19px; margin:0 0 0 40px; font-weight:300; -webkit-transition: all 500ms linear;
-moz-transition: all 500ms linear; -o-transition: all 500ms linear;transition: all 500ms linear;} 
header nav a:hover{color:black; text-shadow: 1px 1px 5px #8a8a8a; filter: dropshadow(color=#000000, offx=1, offy=1);}
#slider{width:990px; height:490px; background:url("../imagens/fundo-banner.png") no-repeat bottom center;} 
#conteudo{width:990px; height: auto; -webkit-box-shadow: 0px 0px 6px 3px rgba(47, 36, 37, 0.4); -moz-box-shadow: 0px 0px 6px 3px rgba(47, 36, 37, 0.4);
box-shadow: 0px 0px 6px 3px rgba(47, 36, 37, 0.2); margin:20px 0 0 0; float:left; background:#ffffff;} 
.box{width:300px; height:315px; float:left; margin:20px 5px 0 20px;}
.box figure a img{-webkit-transition: all 800ms ease; -moz-transition: all 800ms ease; -o-transition: all 800ms ease; transition: all 800ms ease; border-radius:10px; }
.box figure a img:hover{-webkit-box-shadow: 0px 0px 5px 5px rgba(28, 23, 23, 0.2); -moz-box-shadow: 0px 0px 5px 5px rgba(28, 23, 23, 0.2);box-shadow: 0px 0px 5px 5px rgba(28, 23, 23, 0.2);}
h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a, h5, h5 a{color:#4b4b4b; text-decoration:none;font-weight:300; font-size:36px;margin:10px 0 0 0;}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover{color:#0e0e0e;}
p, p a{ color:#535353; text-decoration:none;margin:10px 0 0 0;}
p a:hover{color:#0e0e0e;}
.cr{width:990px; height:18px; background:url("../imagens/dundo-pont.png") no-repeat top center; margin:15px 0 0 0; float:left;}
#box2{ width:615px; height:310px; float:left; margin:0 0 0 20px;}
#box2 figure{margin:10px 0 0 0;}
#box2 figure a img{-webkit-transition: all 800ms ease; -moz-transition: all 800ms ease; -o-transition: all 800ms ease; transition: all 800ms ease;}
#box2 figure a img:hover{-webkit-box-shadow: 0px 0px 5px 5px rgba(28, 23, 23, 0.2); -moz-box-shadow: 0px 0px 5px 5px rgba(28, 23, 23, 0.2);box-shadow: 0px 0px 5px 5px rgba(28, 23, 23, 0.2);}
#box3{width:325px; height:310px; float:left; background:url("../imagens/fundo-pont2.png") no-repeat 0 10px;padding:0 0 0 30px;}
footer{width:990px; height:210px; float:left; margin:0; background:#565656; z-index:1;position:relative;}
.logo-rodape{margin:40px 0 0 35px;}
#metro{width:400px; height:65px; margin:-100px 0 0 150px; color:#e8e8e8; font-size:15px;}
footer address{width:300px; height:154px; float:right; color:#e8e8e8; font-style:normal; text-align:right; margin:-100px 30px 0 0;}
footer address a{color:#e8e8e8; text-decoration:none;}
footer address a:hover{color:white;}
.telefone{font-size:30px;}
#desenvolvido{width:100%; background:#8b8b8b; height:130px; float:left;margin:-90px 0 0 0;z-index:0;position:relative;}
#desenvolvido a{float:right; color:#bcbcbc; text-decoration:none; font-size:14px; margin:100px 30px 0 0;}
#desenvolvido a:hover{color:white;}

#interno{width:640px; margin:0 0 20px 10px; float:left;}
.interno1{width:270px; background:url("../imagens/fundo-pont2.png") no-repeat 0 10px; padding:0 0 10px 40px; float:right; margin:0 20px 0 0;}
.int{margin:10px 20px 10px 0; float:left; border-radius:10px;}
.int2{margin:20px 20px 20px 0; float:left; border-radius:10px;}
.int3{margin:15px 0 20px 0; float:left; border-radius:10px;}




input, textarea { 
	padding: 8px;
	border: solid 1px #E5E5E5;
	width: 200px;
	border-radius:10px;
	background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));
	background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
	box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;/*0.1 actually means 10 %*/
	-moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
	-webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
	}

textarea { 
	width: 400px;
	max-width: 400px;
	height: 150px;
	line-height: 150%;
	}

input:hover, textarea:hover,
input:focus, textarea:focus { 
-moz-box-shadow:0 0 8px lightblue;
	-webkit-box-shadow:0 0 8px lightblue;
	box-shadow:0 0 8px lightblue;
}


.submit input {
	width: auto;
	padding: 10px 14px;
	background: #617798;
	font-size: 14px;
	color:#535353;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	cursor:pointer;
	}
.enviar{color:#535353;}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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