/*
Theme Name: REIDARMAS 2013
Description: Tema desenvolvido à medida
Author: Gonçalo Peres
Version: 1
 */
 
@import url('https://fonts.googleapis.com/css?family=Belleza');

@media screen, projection {	
	
	@font-face {
		font-family: 'icomoon';
		src:url('fonts/icomoon.eot?dff2k4');
		src:url('fonts/icomoon.eot?#iefixdff2k4') format('embedded-opentype'),
			url('fonts/icomoon.woff?dff2k4') format('woff'),
			url('fonts/icomoon.ttf?dff2k4') format('truetype'),
			url('fonts/icomoon.svg?dff2k4#icomoon') format('svg');
		font-weight: normal;
		font-style: normal;
	}

	[class^="icon-"], [class*=" icon-"] {
		font-family: 'icomoon';
		speak: none;
		font-style: normal;
		font-weight: normal;
		font-variant: normal;
		text-transform: none;
		line-height: 1;

		/* Better Font Rendering =========== */
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	.icon-menu:before { content: "\e601";	}
	.icon-arrow-up:before { content: "\e600"; }	
	
	/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
	html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0;box-sizing:border-box;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

  html, body { height: 100%; }
	body {
    font-family: 'Belleza', Georgia, sans-serif;
    color: #312412;
    text-align:left;		
		background-color: #ffdc9e;
		/*background-image: url('images/fundo-07.jpg');*/
		background-size: 100% 100%;
		background-attachment: fixed;
  }
  
	/* Layout Properties */
  .page-container { margin: 0px auto; width: auto;  max-width: 1024px; padding: 0; }
  #header, #main, #footer { clear: both; position: relative; }
	#main { float: left; min-height: 100%; height: auto !important; height: 100%; margin-bottom: 15px; padding: 30px; }
	
	#main-container { float: left; width: 100%; /* height: 100%; */ /* overflow: hidden; */}
	#sidebar { float: left; width: 320px; margin-left: -320px; }
  
  #content { /*margin-right: 370px;*/ padding: 0; height: 100%; }
	body.home #content { margin-left: 0; }

  /* =Global Elements
  --------------------------------------------------------------
  Main global 'theme' and typographic styles */

  /* Text elements */
  h1, h2, h3, h4, h5, h6 { font-weight: normal; text-transform: uppercase; margin-bottom: 10px; line-height: 130%; }
  h1 { font-size: 30px; margin-bottom: 20px; text-align: center; color: rgb(96,0,110); }
  h2 { font-size: 22px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; font-weight: bold; text-transform: none; }
	.mceContentBody h1, .mceContentBody h2, .mceContentBody h3 { margin-bottom: 15px; }
	
  p { margin-bottom: 15px; line-height: 150%; }
  ul {
    list-style: square; padding-left: 1.5em; margin-bottom: 18px; line-height: 130%;
  }
  ol {
    list-style: decimal; padding-left: 36px; margin-bottom: 18px; line-height: 130%;
  }
  ol ol {
    list-style: upper-alpha;
  }
  ol ol ol {
    list-style: lower-roman;
  }
  ol ol ol ol {
    list-style: lower-alpha;
  }
  ul ul,
  ol ol,
  ul ol,
  ol ul {
    margin-bottom: 0;
  }
	ul li, ol li { margin-bottom: 10px; }
	.mceContentBody ul li, .mceContentBody ol li { margin-bottom: 5px; }
  dl {
    margin: 0 0 24px 0;
  }
  dt {
    font-weight: bold;
  }
  dd {
    margin-bottom: 18px;
  }
  table { border-collapse: collapse; }
  strong {
    font-weight: bold;
  }
  cite,
  em,
  i {
    font-style: italic;
  }
  big {
    font-size: 131.25%;
  }
  ins {
    background: #ffc;
    text-decoration: none;
  }
  blockquote {
    font-style: italic;
    padding: 0 3em;
  }
  /*blockquote cite,
  blockquote em,
  blockquote i {
    font-style: normal;
  }*/
  pre {
    background: #f7f7f7;
    color: #222;
    line-height: 18px;
    margin-bottom: 18px;
    padding: 1.5em;
    word-wrap: break-word;
  }
  abbr,
  acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
  }
  sup,
  sub {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
  }
  sup {
    bottom: 1ex;
  }
  sub {
    top: .5ex;
  }
	hr {clear: both;		
		background-image: -moz-linear-gradient(left, #111 0%, #666 50%, #111 100%);
		background-image: -ms-linear-gradient(left, #111 0%, #666 50%, #111 100%);
		background-image: -webkit-linear-gradient(left, #111 0%, #666 50%, #111 100%);
		background-image: -o-linear-gradient(left, #111 0%, #666 50%, #111 100%);
		background-image: linear-gradient(left, #111 0%, #666 50%, #111 100%);
		border: none;
		height: 2px;
		margin: 0;}
  a { /*color: #33bbff;*/ color: #e30916; text-decoration: none; }
  a:visited { /*color: #33bbff;*/ color: #e30916; }
  a:hover { color: #00c000; }


  /* =Images
  --------------------------------------------------------------
  Resize images to fit the main content area.
  - Applies only to images uploaded via WordPress by targeting size-* classes.
  - Other images will be left alone. Use "size-auto" class to apply to other images.
  */
  
  /* Responsive images */
	.entry-content img,
	.comment-content img,
	.widget img {
		max-width: 100%; /* Fluid images for posts, comments, and widgets */
		height: auto;
		-moz-box-sizing: border-box; box-sizing: border-box;
	}
	img[class*="align"],
	img[class*="wp-image-"],
	img[class*="attachment-"] {
		height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
	}
	img.size-full,
	img.size-large,
	img.header-image,
	img.wp-post-image {
		max-width: 100%;
		height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
	}

	/* Make sure videos and embeds fit their containers */
	embed,
	iframe,
	object,
	video {
		max-width: 100%;
	}
  .alignleft,
  img.alignleft {
    display: inline;
    float: left;
    margin-right: 10px;
    /*margin-top: 4px;*/
  }
  .alignright,
  img.alignright {
    display: inline;
    float: right;
    margin-left: 10px;
    /*margin-top: 4px;*/
  }
  .aligncenter,
  img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  img.alignleft,
  img.alignright,
  img.aligncenter {
    margin-bottom: 12px;
  }
  .wp-caption {
    /*background: #f1f1f1;*/
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
    line-height: 18px;
    margin-bottom: 20px;
    max-width: 100% !important; /* prevent too-wide images from breaking layout */
		width: auto !important; /* prevent too-wide images from breaking layout */
    padding: 4px;
    text-align: center;
  }
  .wp-caption img {
    margin: 5px 5px 0;
  }
  .wp-caption-text, .wp-caption p.wp-caption-text {
    color: #800000;
    font-size: 16px;
    margin: 5px;
  }
  .wp-smiley {
    margin: 0;
  }
	
	/* Forms
  -------------------------------------------------------------- */
  
  /* Form fields, general styles first */
	button,
	input,
	textarea, select {
		border: 1px solid #999;
		border-radius: 3px;
		font-family: inherit;
		padding: 6px;
		box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) inset;
		box-sizing: border-box;
		font-size: 100%;
	}
	button,
	input {
			line-height: normal;
	}
	textarea {
		font-size: 100%;
		overflow: auto;
		vertical-align: top;
	}

	/* Reset non-text input types */
	input[type="checkbox"],
	input[type="radio"],
	input[type="file"],
	input[type="hidden"],
	input[type="image"],
	input[type="color"] {
		border: 0;
		border-radius: 0;
		padding: 0;
	}

	/* Buttons */
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	article.post-password-required input[type=submit],
	li.bypostauthor cite span {
		padding: 6px 10px;
		/*padding: 0.428571429rem 0.714285714rem;*/
		font-size: 18px;
		/*font-size: 0.785714286rem;*/
		/*line-height: 1.428571429;*/
		font-weight: normal;
		color: #7c7c7c;
		background-color: #e6e6e6;
		background-repeat: repeat-x;
		background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
		background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
		background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
		background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
		background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
		border: 1px solid #d2d2d2;
		border-radius: 3px;
		box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
	}
	button,
	input[type="submit"],
	input[type="button"],
	input[type="reset"] {
		cursor: pointer;
	}
	button[disabled],
	input[disabled] {
			cursor: default;
	}
	button:hover,
	input[type="submit"]:hover,
	input[type="button"]:hover,
	input[type="reset"]:hover,
	article.post-password-required input[type=submit]:hover {
		color: #5e5e5e;
		background-color: #ebebeb;
		background-repeat: repeat-x;
		background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
		background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
		background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
		background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
		background-image: linear-gradient(top, #f9f9f9, #ebebeb);
	}
	button:active,
	input[type="submit"]:active,
	input[type="button"]:active,
	input[type="reset"]:active {
		color: #757575;
		background-color: #e1e1e1;
		background-repeat: repeat-x;
		background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
		background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
		background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
		background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
		background-image: linear-gradient(top, #ebebeb, #e1e1e1);
		box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
		border: none;
	}
	/* Google Forms */
	#ss-form ol { margin: 0; padding: 0; }
	#ss-form br { display: none; }
	#ss-form div.ss-item { margin-bottom: 10px; }
	#ss-form .ss-q-title { font-weight: bold; }
	#ss-form div.ss-text div.ss-form-entry input { display: block; width: 300px; max-width: 95%; }
	#ss-form div.ss-paragraph-text div.ss-form-entry textarea { display: block; width: 95%; }
	div.ss-required-asterisk { text-indent: -4000px; }
	div.ss-resp-card div.ss-confirmation, div.ss-resp-card div.ss-footer { display: none; }
	div.ss-resp-card div.ss-custom-resp { }
	div.ss-required-asterisk:after { content: '* Campos Obrigatórios'; }
	#ss-form div.errorbox-bad div.ss-item-required input { background-color: #ffffc0; }
	div.ss-footer { display: none; }
	
	/* Editor
  -------------------------------------------------------------- */
	body#tinymce.mceContentBody {
		font-family: 'Belleza', Georgia, sans-serif;
    color: #634823;
    text-align:left;	
		background: none;	
		background-color: #ffdc9e;
		font-size: 18px !important;
		line-height: 150% !important;
    max-width: 1024px !important;
		padding: 10px !important;
  }
	
	/* General Styles
  -------------------------------------------------------------- */
	p, .entry-content { font-size: 18px; }
	.entry-content a { color: rgb(96,0,110); border-bottom: 1px dotted rgb(96,0,110); }
	.entry-content a:hover { color: rgb(227, 9, 22); border-bottom: 1px dotted rgb(227, 9, 22); }
	.entry-content a:visited { color: rgb(99, 33, 109); border-bottom: 1px dotted rgb(99, 33, 109); }
	.entry-content .gallery a, .entry-content .gallery a:hover, .entry-content .gallery a:visited { border-bottom: 0; }
	.display-none { display: none; }
	blockquote { padding: 1em 2em; margin: 1em 4em; background-color: rgba(255,255,255,0.3); font-style: normal; }
	blockquote p { font-size: 90%; }
	
	
	
	
	/* Home
  -------------------------------------------------------------- */	
	#categorias-index {}
	#categorias-index .categoria { float: left; width: 25%; box-sizing: border-box; text-align: center; }
	#categorias-index .categoria a { color: #634823; display: block; padding: 10px; border-radius: 10px; }
	#categorias-index .categoria a .image-container { width: 100%; height: 200px; position: relative; margin-bottom: 10px; }
	#categorias-index .categoria img { position: absolute; display: block; bottom: 0; margin: auto; left: 0; right: 0; }
	#categorias-index .categoria a:hover { background-color: rgba(255,255,255,0.4); }
	#categorias-index .categoria h2 { font-size: 20px; margin-bottom: 5px; color: rgb(96,0,110); }
	#categorias-index .categoria a:hover h2 { color: rgb(223, 0, 18); }
	#categorias-index .categoria p { line-height: 110%; font-size: 16px; }
	
	/* Artigos
  -------------------------------------------------------------- */	
	a h2 { color: rgb(96,0,110); }
	a p { color: #000000; }
	a:hover h2 { color: rgb(223, 0, 18); }
	#article-index .post { clear: both; }
	#article-index .post img { float: left; margin: 0 15px 15px 0; max-height: 150px; width: auto; }
	
	/* Single / categorias
  -------------------------------------------------------------- */
	.single-categoria h1 { text-align: left; }
	.gallery { clear: both; overflow: hidden; }
	.gallery-icon { height: 200px; position: relative; }
	.gallery-item { border-radius: 10px; padding-top: 10px; margin-top: 0 !important; }
	.gallery-item img { border: 0 !important; position: absolute; bottom: 0; left: 0; right: 0; margin: auto; max-width: 95%; }
	.galleryid-1268 .gallery-item img { border: rgb(96,0,110) 1px solid !important; }
	.gallery-item .gallery-caption { margin: 0; padding: 10px; }
	.gallery-item:hover { background-color: rgba(255,255,255,0.4); }
	/* colorbox customizations */
	#colorbox #cboxTitle { bottom: 0px; font-weight: normal; color: #fff; background-color: rgba(0,0,0,0.2); padding: 7px; text-shadow: 1px 1px 1px #000; }
	
	/* page navigation */
	.nav-pages { text-align: center; clear: both; }
	.nav-pages span {  }
	.nav-pages a { position: relative; min-width: 80px; height: 105px; padding-top: 85px; text-align: center; display: inline-block; color: rgb(96,0,110); opacity: 0.8; background-repeat: no-repeat; }
	.nav-pages .nav-previous a { margin-right: 10px; }
	.nav-pages .nav-previous a:before { display: block; content: ' '; background-image: url(images/spritev3.png); background-position: -8px -4px;
					 width: 80px; height: 80px; position: absolute;top: 0; right: 0; }
	.nav-pages .nav-next a { margin-left: 10px; }
	.nav-pages .nav-next a:before { display: block; content: ' '; background-image: url(images/spritev3.png); background-position: -8px -86px;
					 width: 80px; height: 80px; position: absolute;top: 0; left: 0; }
	.nav-pages .nav-home a { }
	.nav-pages .nav-home a:before { display: block; content: ' '; background-image: url(images/spritev3.png); background-position: -8px -269px;
					 width: 80px; height: 80px; position: absolute;top: 0; right: 0; }
	.nav-pages .nav-top a { }
	.nav-pages .nav-top a:before { display: block; content: ' '; background-image: url(images/spritev3.png); background-position: -8px -175px;
					 width: 80px; height: 80px; position: absolute;top: 0; right: 0; }
	.nav-pages a:hover { opacity: 1; }
	
	/* order-container */
	.order-container { background-color: #fff; background-color: rgba(255,255,255,0.4); padding: 15px; float: right; text-align: center; margin: -60px 0 20px 20px; max-width: 300px;
										box-sizing: border-box; }
	.order-container .order-price { background-color: rgb(96,0,110); background-color: rgba(96,0,110,0.85); color: rgb(242, 230, 160); line-height: 130%; padding: 5px 0; border-radius: 3px; text-shadow: 1px 1px 1px #000; }
	.order-container .order-note { background-color: rgb(255,255,255); background-color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 0; line-height: 130%; padding: 5px 0; border-radius: 3px; color: #666; }
	.order-button, input.paypal-button {
		background-image: -moz-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -ms-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -webkit-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -o-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: linear-gradient(top, #fedea1 50%, #ffb542) !important;
		-moz-box-shadow: 0 0px 1px #003366; -webkit-box-shadow: 0 0px 1px #003366; box-shadow: 0 0px 1px #003366;
		border: 0; padding: 5px 10px; border-radius: 3px; color: #003366 !important; cursor: pointer; text-shadow: 1px 1px 1px #fff; }
	#order-button-pedido { display: block; font-weight: bold; cursor: pointer; }
	input.paypal-button { font-size: 16px !important; margin: 0 0 10px 0; padding: 7px 7px; }
	.order-button:hover {
		background-image: -moz-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -ms-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -webkit-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -o-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: linear-gradient(top, #fedea1 50%, #ffb542) !important;
		-moz-box-shadow: 0 0px 3px #003366; -webkit-box-shadow: 0 0px 3px #003366; box-shadow: 0 0px 3px #003366; }
	.order-step { font-weight: bold; margin-bottom: 5px; }
	.paypal-mark { display: block; max-width: 100%; height: auto; }
	.paypal-container { background: #fff; margin-bottom: 15px; -moz-box-shadow: 0 0 1px #666; -webkit-box-shadow: 0 0 1px #666; box-shadow: 0 0 1px #666; padding: 0 10px 10px 10px; }
	.order-container .amount-display { margin-bottom: 5px; }
	#note-transferencia { padding: 10px; background-color: rgb(255, 220, 158); }
	
	.entry-content { margin-bottom: 30px; }
	.entry-meta { margin-bottom: 30px; border-top: 1px dashed rgb(96,0,110); border-bottom: 1px dashed rgb(96,0,110); padding: 10px 0; overflow: hidden; color: rgb(96,0,110); }
	.tagcloud {}
	.tagcloud .label {}
	.tagcloud a { margin-right: 15px; }
	
	#comments-container {}
	
	#esquema { position: relative; width: 450px; height: 586px; margin-left: 250px; }
	#esquema #escudo { position: absolute; width: 450px; height: 586px; z-index: 1; }
	#esquema #escudo img {}
	#esquema #layer { position: absolute; width: 450px; height: 586px; z-index: 2; }
	#esquema #layer img {}
	.esquema { float: left; }
	.esquema a { cursor: pointer; font-weight: bold; }
	
	/* Footer
  -------------------------------------------------------------- */ 
	#footer { background-color: rgba(96,0,110,0.75); width: 100%; float: left; padding: 20px 34px;
		-moz-box-shadow: 0 0 10px #4A322B; -webkit-box-shadow: 0 0 10px #4A322B; box-shadow: 0 0 10px #4A322B; }
	#footer .widget-area {}	
	#footer .widget-area .widget { float: left; margin-bottom: 20px; width: 40%; }
	#footer .widget-area .widget:first-child { width: 60%; }
	/*#footer .widget-area .widget:last-child { clear: both; width: 100%; }*/
	
	#footer ul.menu, #footer ul.menu ul { margin: 0; padding: 0; list-style: none; }
	#footer ul.menu li { margin: 0; }
	#footer ul.menu > li { float: left; padding-right: 10px; }
	#footer ul.menu li:first-child ul a { color: #f2e6a0; }
	#footer ul.menu > li > a:first-child, #footer .widget-title { color: #ccc; cursor: default; display: block; font-size: 16px;
								 background-color: rgba(0,0,0,0.3); padding: 5px 8px; margin-bottom: 5px; line-height: 100%; }
	#footer .textwidget .wp-caption { width: 33% !important; margin: 0; background-color: rgba(0,0,0,0.1); }
	#footer .textwidget .wp-caption a { height: 140px; display: block; background-color: transparent; }
	#footer .textwidget .wp-caption a img { margin: 0; width: auto; max-height: 100%; }	
	#footer .textwidget .wp-caption-text { font-size: 14px; }
	#footer .textwidget p { color: #ccc; font-size: 16px; }
	#footer .widget_recent_entries ul { list-style: none; padding: 0; }
	#footer .widget_recent_entries ul li { margin: 0; }
	#footer a { color: #fcfcce; color: #fcfcce; background-color: rgba(0,0,0,0.1); display: block; padding: 5px 8px; margin-bottom: 5px; line-height: 100%;}
	#footer a:hover,
	#footer .textwidget .wp-caption:hover { background-color: rgba(0,0,0,0.4); }
	/*#footer .widget-area .widget:last-child a { background-color: transparent; display: inline; padding: 0; }*/
	
	#footer .widget-area .widget:nth-child(2) .textwidget > p { display: none; }
	
	/* Custom Forms
  -------------------------------------------------------------- */  
  .form-container { display: none; }
    .form-plain .field { clear: both; margin-bottom: 15px; }
    .form-plain label { padding: 8px 10px 8px 0; }
    .form-plain label:after { content: ': '; }
    /*.form-plain label.required { font-weight: normal; }
    .form-plain label.required:after { content: '* : '; }*/
    .form-plain .one-row label { display: block; }	
    .form-plain .two-cols { }
    .form-plain .two-cols label { float: left; width: 30%; margin-bottom: 15px; }
    .form-plain .two-cols input,
    .form-plain .two-cols textarea,
    .form-plain .two-cols select,
    .form-plain .two-cols checkbox,
    .form-plain .two-cols radio { float: right; width: 70%; margin-bottom: 15px; }
    .form-plain textarea { width: 100%; height: 150px; }
    /*.form-plain .two-cols input[type="text"], .form-plain .two-cols input[type="email"] { width: 400px; }*/

    form#form-order { width: 600px; max-width: 100%; height: 100%; font-size: 18px; padding: 10px; background-color: rgb(255, 220, 158); }
    .order-title { background-color: rgb(96,0,110); background-color: rgba(96,0,110,0.85); color: rgb(242, 230, 160); line-height: 130%; padding: 5px 10px; border-radius: 3px; text-shadow: 1px 1px 1px #000; }
    #form-order .order-price { font-weight: bold; }
    #form-order .order-note { background-color: rgb(255,255,255); background-color: rgba(255,255,255,0.6); font-size: 16px; line-height: 130%; padding: 5px 10px; border-radius: 3px; color: #666; }
    form#form-order input[type="submit"] { margin-bottom: 30px; font-size: 20px; padding: 10px; color: rgb(96,0,110); }

    .msg { position: relative; margin-bottom: 15px; min-height: 40px; padding: 10px 10px 10px 50px; border: 1px solid #CCC; background-color: white; color: #000; line-height: 125%; font-size: 125%;
				box-shadow: 0px 0px 10px #000; -webkit-box-shadow: 0px 0px 10px #000; background-repeat: no-repeat; background-position: 10px 10px; text-shadow: none; }
    .msg-ok:before { position: absolute; background-image: url("images/spritev3.png"); background-position: -4px -392px; width: 32px; height: 32px; display: block;
                                           content: ''; top: 7px; left: 10px; }
    .msg-warn:before { position: absolute; background-image: url("images/spritev3.png"); background-position: -42px -427px; width: 32px; height: 32px; display: block;
                                           content: ''; top: 7px; left: 10px; }
    .msg-error:before { position: absolute; background-image: url("images/spritev3.png"); background-position: -42px -392px; width: 32px; height: 32px; display: block;
                                           content: ''; top: 7px; left: 10px; }
    .msg-info:before { position: absolute; background-image: url("images/spritev3.png"); background-position: -4px -427px; width: 32px; height: 32px; display: block;
                                           content: ''; top: 7px; left: 10px; }
    .msg-loading { background-image: url("images/icon_loading.gif"); }
	
    #ajax-output { display: none; }

    #toTop { display: none; position: fixed; bottom: 5px; right: 5px; z-index: 100; }
    #toTop a { opacity: 0.7; font-size: 30px; border-radius: 50%; background-color: rgba(96,0,110,0.75); color: #f2e6a0; padding: 10px; }
    #toTop a:hover { background-color: rgba(96,0,110,0.75); opacity: 1; }

}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width: 900px) {
	
	body { background-image: url('images/fundo-201602a.jpg'); /*background-image: url('images/fundo-07.jpg');*/ }
	#main { padding: 15px 10px; }
	
	#header { background-color: rgb(96,0,110); height: 40px; box-shadow: 0px 3px 5px #000; }
	#header h1 { float: left; margin: 0; }
	#header h1 a { color: #f2e6a0; font-family: Times, serif; text-transform: capitalize; font-size: 24px; display: block; padding: 0 15px; line-height: 40px;
				 text-shadow: 1px 1px 1px #000; background-image: url('images/logo-200x40-v2.png'); width: 210px; height: 40px; text-indent: -4000px; background-position: 10px 2px;
				 background-repeat: no-repeat; }
	#header #teaser { display: none; }
	#header #header-links { display: none; }
	.icon-menu { display: block; line-height: 40px; padding: 0 15px; color: #f2e6a0; font-size: 24px; font-weight: 100; cursor: pointer; }
	#nav .icon-menu { float: right; }
	#footer .icon-menu { float: right; }
	#nav .active, .icon-menu:hover { background-color: #f2e6a0; color: rgb(96,0,110); }
	#nav ul.menu { display: none; background-color: #f2e6a0; width: 100%; position: absolute; z-index: 100; top: 40px; list-style: none; padding: 0; margin: 0;
				 box-shadow: 0px 2px 10px #000; }
	#nav ul.sub-menu { display: none; list-style: none; margin: 0; padding: 0 0 0 30px; }
	#nav ul.menu li { margin: 0; padding: 0; }
	#nav ul.menu li a { padding: 10px 15px; display: block; color: rgb(96,0,110); border-bottom: 1px solid rgb(96,0,110); }
	#nav ul.menu li.menu-item-has-children > a:after { content: '+'; color: rgb(96,0,110); padding: 10px; }
	#nav ul.menu li a:hover { box-shadow: 0px 0px 5px rgb(96,0,110); }
	
	#categorias-index .categoria { width: 33%; }
	#categorias-index .categoria:nth-child(3n+1) { clear: both; }
	
	#footer { padding: 20px 10px 40px 10px; }
	#footer .widget-area .widget:first-child { display: none; }	
	#footer .widget-area .widget { width: 100%; display: block; clear: both; overflow: hidden; }
	#footer .textwidget .wp-caption a { height: auto; }
	
	.order-container { margin: 0px 0 20px 20px; }
	
	.gallery { border-bottom: 1px solid rgba(96,0,110,0.4); }
	.gallery .gallery-item { min-width: 140px !important; }
	.gallery br { display: none; }
	
	blockquote { margin: 0; padding: 20px; }
	
	.lang-switch { position: absolute; top: 8px; right: 56px; z-index: 10;
								list-style: none; margin: 0; padding: 0; }
	.lang-switch li { float: left; }
	.lang-switch li a.lang-item { margin-left: 10px; display: block; text-indent: -4000px; background-image: url('images/spritev3.png'); box-shadow: 0 0 5px #fff; }
	.lang-switch li a.lang-item-pt { background-position: -5px -466px; width: 34px; height: 27px; }
	.lang-switch li a.lang-item-en { background-position: -46px -466px; width: 34px; height: 27px; }
	.lang-switch li a.lang-item:hover { box-shadow: 0 0 15px #fff; }
	body.en .lang-switch li a.lang-item-en { display: none; }
	body.pt .lang-switch li a.lang-item-pt { display: none; }
	
}

@media only screen and (max-width: 600px) {
	body { background-image: url('images/fundo-201602a-480x690.jpg'); }
	#categorias-index .categoria { width: 50%; }
	#categorias-index .categoria:nth-child(3n+1) { clear: inherit; }	
	#categorias-index .categoria:nth-child(2n+1) { clear: both; }
	
	.order-container { margin: 0px 0 20px 0px; float: none; }
	.order-step, .paypal-container, .order-button { display: none; }
	#esquema { margin-left: 160px; }
}

@media only screen and (max-width: 400px) {
	#esquema { width: 100%; height: 420px; float: left; margin-left: 0; clear: left; }
	#esquema #escudo { width: 100%; height: auto; }
	#esquema #layer { width: 100%; height: 420px; }
}

@media only screen and (min-width: 901px) {
	
	body { background-image: url('images/fundo-201602a.jpg'); }
	.icon-menu { display: none; }
	
	/* Header
  -------------------------------------------------------------- */
	
	#header { background-image: url('images/header-background-03.jpg'); background-repeat: no-repeat; background-size: 100% 100%; height: 403px;
		-moz-box-shadow: 0 0 10px #4A322B; -webkit-box-shadow: 0 0 10px #4A322B; box-shadow: 0 0 10px #4A322B; }
	#header h1 { position: absolute; top: 5px; z-index: 2; width: 100%; margin: 0; padding: 0; }
	#header h1 a#logo { background-image: url('images/logo-347x347-transparente-v2.png'); width: 347px; height: 347px; display: block; margin: 0 auto; text-indent: -4000px; }
	
	#teaser { position: relative; height: 57px; top: 285px; z-index: 1; margin: 0 30px; background-color: rgb(249,235,141);
						background-color: rgba(249,235,141,0.95); color: rgb(96,0,110); }
	#teaser #teaser1 { position: absolute; top: 5px; left: 10px; width: 440px; margin: 0; font-size: 21px; font-weight: bold; text-transform: uppercase; text-align: center; }
	#teaser #teaser2 { position: absolute; top: 30px; left: 10px; width: 440px; margin: 0; font-size: 17px;  text-transform: uppercase; text-align: center; }
	#teaser #teaser3 { position: absolute; top: 5px; right: 18px; width: 440px; margin: 0; font-size: 21px; font-weight: bold; text-align: center; }
	#teaser #teaser4 { position: absolute; top: 30px; right: 18px; width: 440px; margin: 0; font-size: 17px; text-align: center; letter-spacing: 1px; }
	body.en #teaser #teaser2 { top:32px; font-size: 14px; }
	body.en #teaser #teaser4 { top:32px; font-size: 14px; right:12px; }
	
	#header-links { position: absolute; top: 10px; right: 10px; z-index: 10; }
	#header-links ul { list-style: none; margin: 0; padding: 0; }
	#header-links ul li { float: left; margin-left: 10px;  }
	#header-links ul li a { display: block; text-indent: -4000px; background-image: url('images/spritev3.png'); box-shadow: 0 0 5px #fff; }
	#header-links ul li a.facebook { background-position: -48px -360px; width: 24px; height: 29px; border-radius: 0 0 10px 10px;}
	#header-links ul li a.email { background-position: -5px -360px; width: 37px; height: 28px; border-radius: 2px; }
	#header-links ul li a:hover { box-shadow: 0 0 15px #fff; }
        
	.lang-switch { position: absolute; top: 10px; left: 30px; z-index: 10;
								list-style: none; margin: 0; padding: 0; }
	.lang-switch li { float: left; }
	.lang-switch li a.lang-item { margin-left: 10px; display: block; text-indent: -4000px; background-image: url('images/spritev3.png'); box-shadow: 0 0 5px #fff; }
	.lang-switch li a.lang-item-pt { background-position: -5px -466px; width: 34px; height: 27px; }
	.lang-switch li a.lang-item-en { background-position: -46px -466px; width: 34px; height: 27px; }
	.lang-switch li a.lang-item:hover { box-shadow: 0 0 15px #fff; }
	body.en .lang-switch li a.lang-item-en { display: none; }
	body.pt .lang-switch li a.lang-item-pt { display: none; }
	
		
	/* Main Nav Menu
  -------------------------------------------------------------- */
	
	#nav { position: relative; top: 296px; margin: 0 30px; }
	
	#nav > ul {
		clear:left;
		float:left;
		width: 100%;
		list-style:none;
		margin:0;
		padding:0;
		position:relative;
		background-color: rgb(96,0,110);
		background-color: rgba(96,0,110,0.7);
	}
	#nav ul li {
		display:block;
		float:left;
		list-style:none;
		margin:0;
		padding:0;
		position:relative;
	}
	#nav > ul > li { padding-right: 1px; }
	#nav ul li a {
		display:block;
		margin:0;
		padding:0 15px;
		line-height:50px;
		color: #f2e6a0;
		font-size: 18px;
		font-weight: 300;
	}
	#nav ul ul a {
		width: 250px;
		background-color: rgb(249,235,141);
		color: rgb(96,0,110);
		border: 1px solid rgb(96,0,110);
		border-bottom: 0;
		line-height: 40px;
		font-size: 18px;
	}
	
	/*#nav ul li:first-child a { padding-left: 0px; }*/
	
	#nav .sub-menu,
	#nav .children {
		list-style: none;
		border-bottom: 1px solid rgb(96,0,110);
		display: none;
		padding: 0;
		position: absolute;
		z-index: 99999;
		-moz-box-shadow: 0px 1px 5px #000; -webkit-box-shadow: 0px 1px 5px #000; box-shadow: 0px 1px 5px #000;
	}
	
	#nav .sub-menu ul,
	#nav .children ul {
		left: 100%;
		top: 0;
	}

	#nav ul li:hover > ul {
		display: block;
	}
	
	#nav > ul > li:hover > a,
	#nav ul li a:hover,
	#nav .current_page_item > a,
	#nav .current-page-ancestor > a,
	#nav .current-categoria-ancestor > a,
	#nav .current-menu-item > a,
	#nav .current-menu-ancestor > a,
	#nav .current-menu-parent > a {
		background-color: #f2e6a0;
		background-image: -moz-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -ms-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -webkit-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: -o-linear-gradient(top, #fedea1 50%, #ffb542) !important;
		background-image: linear-gradient(top, #fedea1 50%, #ffb542) !important;
		color: rgb(96,0,110);
	}
	#nav .menu-item-home > a {
		background-color: transparent;
		background-image: none !important;
		color: #f2e6a0;
	}

	#nav ul li:hover > ul {
		display: block;
	}
	
	
	#categorias-index .categoria { width: 25%; }
	#categorias-index .categoria:nth-child(4n+1) { clear: both; }
	
}




