/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
::-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
}
fieldset {
	border: 0;
	margin: 0;
	padding: 0
}
textarea {
	resize: vertical
}

.zoom-controls{
	  z-index: 400;
	  position: relative;
	  width: 130px;
	  text-align: center;
	  margin: 4px auto;
}

.zoom-controls .zcontainer{
	background-color: rgba(255, 255, 255, 0.7);
	padding: 8px;
	width: 100px;
	margin: 0 auto;
}

.zoom-controls .zcontainer small{
	font-size: 10px;
	margin: 0 10px;
}

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0
}
svg {
	position: fixed;
	top: 120px;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	background-color: #E9E9E9;
}
svg.copy {
	cursor: copy;
}
svg.not-allowed {
	cursor: not-allowed;
}
nav {
	z-index: 100;
}
.draggable {
	cursor: move;
}
.pointer {
	cursor: pointer;
}
.none {
	display: none;
}

/* ==========================================================================
Estilos do Jogo
========================================================================== */
html {
	font-size: 100%;
	font-family: Verdana, Geneva, sans-serif;
}

/*-- Estrutura --*/
body, html {
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	background-color: #E9E9E9;
}
header {
	height: 120px;
	background: #FFF url("../img/logo.png") no-repeat left;
	display: inline-block;
	width: 100%;
	border-bottom: 3px solid #3E3C71;
	background-position: 20px 10px ;
}
header h1 {
	display: inline-block;
    position: relative;
    margin-top: 15px;
    margin-right: 20px;
    padding-bottom: 10px;
    font-size: 25px;
    line-height: 40px;
    text-transform: uppercase;
	color: #404040;
	float:right;
}
nav {
	width: 219px;
	background: #DDD;
	position: absolute;
	top: 120px;
	left: 0;
	z-index: 20;
}
footer {
	width: 100%;
	height: 30px;
	background: #3E3C71;
	border-top: 1px solid #FFF;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 19;
	padding: 4px 0;
	padding-left: 10px;
	text-decoration:none;
}
footer a{
	color: #CCC;
}
footer .info {
	color: #FFF;
	font-size: .8rem;
}
footer .info-dir {
	float: right;
	padding: 0 25px 0 5px;
	border-left: 1px solid #fff;
	font-size: .8rem;
}

/*-- Tipografia e cores --*/

/*------------------------*/
h1, h2, h3, h4, h5, h6, p {
	font-size: 1.2rem;
	margin: 0;
}
.preto {
	background: #000000
}
.cinzaClaro {
	background: #cccccc
}
.cinzaEscuro {
	background: #626262
}
.azul {
	background: #234772
}
.branco {
	background: #ffffff
}
.vermelho {
	background: #c13a2e
}
.laranja {
	background: #ec6f29
}
.amarelo {
	background: #efc93c
}
.verde {
	background: #225a10
}

/*-- Barras Laterais --*/

/*---------------------*/

/* Menu de seleção de veículos */
.box-car {
	position: relative;
}
.box-car-header {
	padding: 6px 0 6px 20px;
	height: 40px;
	background: #272727;
	border-bottom: 1px solid #FFF;
	position: relative;
	cursor: pointer;
}
.box-car-header h2, .box-car-header h3 {
	font-size: 13px;
	font-size: .8rem
}
.box-car-header h2 {
	color: #F60
}
.box-car-header h3 {
	color: #FFF
}
.expand-nav {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	right: -40px;
	background: #272727 url(../img/ico_minus.png) center center no-repeat;
	color: #fff;
	font-size: 1.5rem;
	box-sizing: border-box;
	padding: 4px 10px;
	border-left: 1px solid #ccc;
}
.expand-nav.plus {
	background-image: url(../img/ico_plus.png);
}
.box-car-content, .box-mor-car {
	height: 86px;
	background: #ffffff;
	/*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkMWQxZDEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);*/
	background: -moz-linear-gradient(top, #ffffff 0%, #d1d1d1 100%);	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #d1d1d1));	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%, #d1d1d1 100%);	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%, #d1d1d1 100%);	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%, #d1d1d1 100%);	/* IE10+ */
	background: linear-gradient(to bottom, #ffffff 0%, #d1d1d1 100%);	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#d1d1d1', GradientType=0);	/* IE6-8 */
}
.box-car-content.selected svg {
	background-color: #FFC1C1;
}

.box-car-content svg svg{
	width: 200px;
}

.mor-car {
	width: 21px;
	height: 86px;
	background: #FA7E38 url(../img/seta-dir.png) no-repeat center center;
	float: right;
    position: relative;
    z-index: 12;
    

}
.box-mor-cars {
	position: absolute;
	top: 40px;
	border-top: 1px solid #646464;
	border-left: 1px solid #646464;
	left: 220px;
	display: none;
	width: 600px;
}

.box-mor-cars svg{
	max-height: 70px;
}

.box-car .box-mor-cars svg{
	position: static !important;
	background-color: initial;
}

.box-mor-cars.show {
	display: block
}
.box-mor-car {
	width: 198px;
	border-right: 1px solid #646464;
	border-bottom: 1px solid #646464;
	position: relative;
	display: inline-block !important;
  	margin-right: -5px;
  	margin-bottom: -5px;
}

.box-mor-car a{
	width: 100%;
}

.off-cars {
	position: absolute;
	top: 10px;
 	left: 27px;
}
.box-car-footer {
	background: #272727;
	border-bottom: 1px solid #FFF;
	height: 30px;
	padding: 4px;
	box-sizing: border-box;
	position: relative;
  	z-index: 20;
}
.btn-color {
	height: 16px;
	width: 16px;
	border: 1px solid #FFF;
}
.btn-color.selected {
	background-image: url(../img/check.png);
	background-position: center center;
	background-repeat: no-repeat;
}
.btn-color.branco.selected, .btn-color.cinzaClaro.selected, .btn-color.amarelo.selected {
	background-image: url(../img/check-black.png);
}
.nav{
	display:block !important;
}
/* menu left */
nav.nav-left.retracted {
	left: -219px;
}
.car-left {
	position: absolute;
	top: 40px;
  	left: 0px;
  	height: inherit;
}
/* menu right*/
nav.nav-right {
	right: 0;
	left: inherit;
}
.car-right {
	position: absolute;
	top: 40px;
	right: -15px;
	left: inherit;
	height: inherit;
}
nav.nav-right.retracted {
	right: -219px;
}
.nav-right .expand-nav {
	border: none;
	border-right: 1px solid #ccc;
	left: -40px;
}
.nav-right .mor-car {
	background: #FA7E38 url(../img/seta-esq.png) no-repeat center center;
	float: left;
}
.nav-right .box-mor-cars {
	right: 220px;
	left: inherit;
}
.nav-right .box-car-footer {
	text-align: right;
	padding-right: 5px;
}

/* FIM:   */

/* Menu de seleção de veículos */

ul {
	list-style: none;
	margin: 0;
	padding: 0;
	margin: 0 auto;
	-moz-box-shadow: 0 0 5px #111;
	-webkit-box-shadow: 0 0 5px #111;
	box-shadow: 0 0 5px #111;
}
ul li a {
	display: block;
	padding: 12px;
	font-size: .7rem;
	font-family: inherit;
}
ul li a:hover {
	background: #566f82;	/* fallback colour */
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#566f82), to(#3e505e));
	background: -webkit-linear-gradient(top, #566f82, #3e505e);
	background: -moz-linear-gradient(top, #566f82, #3e505e);
	background: -ms-linear-gradient(top, #566f82, #3e505e);
	background: -o-linear-gradient(top, #566f82, #3e505e);
}
.subbox-asset, .subbox-menu {
	background: #fff;
	margin: 0;
	padding: 0;
	-moz-box-shadow: inset 0 2px 2px #b3b3b3;
	-webkit-box-shadow: inset 0 2px 2px #b3b3b3;
	box-shadow: inset 0 2px 2px #b3b3b3;
	display: block;
	max-height: 315px;
	overflow: auto;
	padding-left: 4px;
	display: none;
}
.subbox-asset.show, .subbox-menu.show {
	display: block;
}
.subbox-asset li {
	width: 85px;
	height: 85px;
	margin: 8px 4px 4px 4px;
	border: 1px solid #9D9D9D;
	display: inline-block;
	padding: 5px;
	box-sizing: border-box;
	cursor: pointer;
}
.subbox-asset li img {
	/*width: 100%;*/
	display: block;
}
.subbox-asset li.selected {
	background-color: #FFC1C1;
}
.subbox-menu {
	padding: 0;
}
.subbox-menu li {
	margin: 0;
	display: inline-block;
	box-sizing: border-box;
	width: 100%;
}
.subbox-menu li a {
	background: none;
	border: none;
	border-bottom: 1px solid #27272773d;
	text-shadow: none;
	color: #3f4347;
	letter-spacing: 0.09em;
	display: block;
	padding: 8px;
}
.subbox-menu li a:hover {
	background: none;
	background-color: #FFC1C1;
}
.options {
	height: 0;
	display: block;
	overflow-y: scroll;
}

/* FIM: Menu de seleção de veículos */

/* Menu lateral geral */
a {
	text-decoration: none;
}
.menu-geral li {
}
.menu-geral a {
	background: #575e63;	/* fallback colour */
	border-top: 1px solid #878e98;
	border-bottom: 1px solid #27272773d;
	color: #fff;
	text-shadow: 0 1px 1px #000;
	letter-spacing: 0.09em;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#575e63), to(#3f4347));
	background: -webkit-linear-gradient(top, #575e63, #3f4347);
	background: -moz-linear-gradient(top, #575e63, #3f4347);
	background: -ms-linear-gradient(top, #575e63, #3f4347);
	background: -o-linear-gradient(top, #575e63, #3f4347);
	display: block;
	padding: 12px;
}
.menu-geral a:hover {
	background: #566f82;	/* fallback colour */
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#566f82), to(#3e505e));
	background: -webkit-linear-gradient(top, #566f82, #3e505e);
	background: -moz-linear-gradient(top, #566f82, #3e505e);
	background: -ms-linear-gradient(top, #566f82, #3e505e);
	background: -o-linear-gradient(top, #566f82, #3e505e);
}

/* FIM: Menu lateral geral */

/* Grid */

svg.gridSVGConteiner {
	cursor: all-scroll;
}
svg.gridSVGConteiner.cenarioAtivo {
	cursor: copy;
}

/* Modal */
.modal-container {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	display: none;
}
.modal-container.show {
	display: block;
}
.modal-mask {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #000;
	opacity: .6;
	z-index: 1;
}
.modal-body {
	width: 400px;
	height: auto;
	position: absolute;
	z-index: 2;
	background-color: #fff;
	top: 50%;
	left: 50%;
	margin: -200px 0 0 -200px;
	text-align: center;
	padding: 30px;
}
.modal-body p {
	font: 24px Arial;
}
.modal-grupo-botao {
	display: inline-block;
	margin-top: 20px;
}
.modal-body a {
	float: left;
	padding: 10px 20px;
	margin: 10px;
	border: 1px solid #ccc;
}

/* FIM: Modal */

/* FIM: Grid */

/* ==========================================================================
Media Queries
========================================================================== */
@media only screen and (min-width:35em) {
}
@media print, (-o-min-device-pixel-ratio:5/4), (-webkit-min-device-pixel-ratio:1.25), (min-resolution:120dpi) {
}

/* ==========================================================================
Classes Auxiliares
========================================================================== */
.hidden {
	display: none !important;
	visibility: hidden
}
.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px
}
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto
}
.invisible {
	visibility: hidden
}
.clearfix:before, .clearfix:after {
	content: " ";
	display: table
}
.clearfix:after {
	clear: both
}
.clearfix {
	*zoom: 1
}
.none .child_none {
	display: none;
}

.others_cars img{
	width: 70px;
	max-height: 70px;
}

.others_cars li {
	padding-top: 20px;
}

.others_cars li:last-child {
	padding-top: 5px;
}
/* ==========================================================================
Print styles
========================================================================== */
@media print {
	*, *:before, *:after {
		background: transparent !important;
		color: #000 !important;
		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) ")";
	}
	a[href^="#"]:after, a[href^="javascript:"]:after {
		content: "";
	}
	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	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;
	}
}

.save_img_modal{
	position: absolute;
	background-color: rgba(0,0,0,0.92);
	width: 100%;
	height: 1300px;
	z-index: 999;
	display: none;
}

.save_img_modal>div{
	text-align: center;
	color: #FFF;
}

.save_img_modal>div>img{
	/*width: 600px;
  	height: 600px;*/
  	z-index: 800;
  	margin: 0 !important;
  	padding: 0 !important;
}

.save_img_modal>div>button{
	border-radius: 5px;
	color: #000;
	padding: 5px;
}

.save_img_modal canvas{
	width: 100%;
}

img#imgToDownload{
	width: 90%;
	margin-left: 55px;
}


div.textOptions{
    
}

div.textOptions>div.option{
    width: 20px;
    height: 20px;
    margin: 3px;
    border: 1px solid #AAA;
    float: left;
    text-align: center;
    cursor: pointer;
}

div.textOptions>div.option.selected{
    border: 2px solid #EFC93C;
}