/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    background: #eee;
}

.wrapper {
    width: 960px;
    margin: 20px auto;
    background: #fff;
}

.builder {
	width: 1012px;
	height: 820px; /*790px;*/ /*536px;*/
	margin-left: auto;
	margin-right: auto;
	margin-top: 2%;
	background-image: url(../img/creatuciudad/base.png);
	/*background-size: cover;*/
	background-repeat: no-repeat;
}

.builder .canvas {
    height: 536px;
    position: relative;
}

.builder .canvas .frame {
    position: relative;
    float: left;
    top: 10px;
    left: 14px;
    width: 80px;
    height: 400px;
/*    border: 1px solid black;
    border-top: 0;
    border-bottom: 0;*/
}

.builder .canvas .frame .dropzone {
    position: relative;
    width: 80px;
    height: 80px;
    background: ;
}

.builder .canvas .frame .dropzone:before {
    content: "";
    display: block;
/*    height: 20px;
    width: 20px;*/
    background: #bbb;
    border-radius: 0px;
    position: relative;
    left: 30px;
    top: 30px;
}

.builder .canvas .frame .dropzone.drop-target {
	background-color: rgba(238,238,238,0.44);
}

.builder .toolbox {
    height: 180px; /*150px;*/
    background: #081e29;
}

.builder .toolbox .block {
	width: 80px;
	height: 80px;
	/*background-color: rgba(150, 40, 40, .4);*/
	float: left;
	margin: 4px;
}














/* ==========================================================================
   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;
    }
}

/* ICONOS */

.crucet1 {
		background-image: url(../img/creatuciudad/carreteras/crucet1.png);
}

.crucet2 {
		background-image: url(../img/creatuciudad/carreteras/crucet2.png);
}

.crucet3 {
		background-image: url(../img/creatuciudad/carreteras/crucet3.png);
}

.crucet4 {
		background-image: url(../img/creatuciudad/carreteras/crucet4.png);
}

.crucex{
		background-image: url(../img/creatuciudad/carreteras/crucex.png);
}

.curva1{
		background-image: url(../img/creatuciudad/carreteras/curva1.png);
}

.curva2{
		background-image: url(../img/creatuciudad/carreteras/curva2.png);
}

.curva3{
		background-image: url(../img/creatuciudad/carreteras/curva3.png);
}

.curva4{
		background-image: url(../img/creatuciudad/carreteras/curva4.png);
}

.recta1{
		background-image: url(../img/creatuciudad/carreteras/recta1.png);
}

.recta2{
		background-image: url(../img/creatuciudad/carreteras/recta2.png);
}

.recta3{
		background-image: url(../img/creatuciudad/carreteras/recta3.png);
}

.recta4{
		background-image: url(../img/creatuciudad/carreteras/recta4.png);
}

.recta5{
		background-image: url(../img/creatuciudad/carreteras/recta5.png);
}

.recta6{
		background-image: url(../img/creatuciudad/carreteras/recta6.png);
}

.rotonda{
		background-image: url(../img/creatuciudad/carreteras/rotonda.png);
}

.suelo1{
		background-image: url(../img/creatuciudad/carreteras/suelo1.png);
}

.suelo2{
		background-image: url(../img/creatuciudad/carreteras/suelo2.png);
}

.suelo3{
		background-image: url(../img/creatuciudad/carreteras/suelo3.png);
}

.suelo4{
		background-image: url(../img/creatuciudad/carreteras/suelo4.png);
}

.suelo5{
		background-image: url(../img/creatuciudad/carreteras/suelo5.png);
}

.suelo6{
		background-image: url(../img/creatuciudad/carreteras/suelo6.png);
}

.contenedores1{
		background-image: url(../img/creatuciudad/carreteras/contenedores1.png);
}

.contenedores1{
		background-image: url(../img/creatuciudad/carreteras/contenedores1.png);
}

.contenedores2{
		background-image: url(../img/creatuciudad/carreteras/contenedores2.png);
}

.contenedores3{
		background-image: url(../img/creatuciudad/carreteras/contenedores3.png);
}

.contenedores4{
		background-image: url(../img/creatuciudad/carreteras/contenedores4.png);
}

/* TERRENOS 2 */

.via1 {
		background-image: url(../img/creatuciudad/terrenos2/via1.png);
}

.via2 {
		background-image: url(../img/creatuciudad/terrenos2/via2.png);
}

.via3 {
		background-image: url(../img/creatuciudad/terrenos2/via3.png);
}

.via4 {
		background-image: url(../img/creatuciudad/terrenos2/via4.png);
}

.via5 {
		background-image: url(../img/creatuciudad/terrenos2/via5.png);
}

.via6 {
		background-image: url(../img/creatuciudad/terrenos2/via6.png);
}

.via7 {
		background-image: url(../img/creatuciudad/terrenos2/via7.png);
}

.via8 {
		background-image: url(../img/creatuciudad/terrenos2/via8.png);
}

.rio1 {
		background-image: url(../img/creatuciudad/terrenos2/rio1.png);
}

.rio2 {
		background-image: url(../img/creatuciudad/terrenos2/rio2.png);
}

.rio3 {
		background-image: url(../img/creatuciudad/terrenos2/rio3.png);
}

.rio4 {
		background-image: url(../img/creatuciudad/terrenos2/rio4.png);
}

.rio5 {
		background-image: url(../img/creatuciudad/terrenos2/rio5.png);
}

.rio6 {
		background-image: url(../img/creatuciudad/terrenos2/rio6.png);
}

.rio7 {
		background-image: url(../img/creatuciudad/terrenos2/rio7.png);
}

.rio8 {
		background-image: url(../img/creatuciudad/terrenos2/rio8.png);
}

.recta1bike {
		background-image: url(../img/creatuciudad/terrenos2/recta1_bike.png);
}

.recta3bike {
		background-image: url(../img/creatuciudad/terrenos2/recta3_bike.png);
}

/* EDIFICIOS */

.basket1{
		background-image: url(../img/creatuciudad/edificios/basket1.png);
}

.basket2{
		background-image: url(../img/creatuciudad/edificios/basket2.png);
}

.casas1{
		background-image: url(../img/creatuciudad/edificios/casas1.png);
}

.casas2{
		background-image: url(../img/creatuciudad/edificios/casas2.png);
}

.casas3{
		background-image: url(../img/creatuciudad/edificios/casas3.png);
}

.casas4{
		background-image: url(../img/creatuciudad/edificios/casas4.png);
}

.cole1{
		background-image: url(../img/creatuciudad/edificios/cole1.png);
}

.cole2{
		background-image: url(../img/creatuciudad/edificios/cole2.png);
}

.futbol1{
		background-image: url(../img/creatuciudad/edificios/futbol1.png);
}

.futbol2{
		background-image: url(../img/creatuciudad/edificios/futbol2.png);
}

.tenis1{
		background-image: url(../img/creatuciudad/edificios/tenis1.png);
}

.tenis2{
		background-image: url(../img/creatuciudad/edificios/tenis2.png);
}

.tienda1{
		background-image: url(../img/creatuciudad/edificios/tienda1.png);
}

.tienda2{
		background-image: url(../img/creatuciudad/edificios/tienda2.png);
}

.piscina1{
		background-image: url(../img/creatuciudad/edificios/piscina1.png);
}

.piscina2{
		background-image: url(../img/creatuciudad/edificios/piscina2.png);
}

/* DECORACIÓN */

.arbol1 {
		background-image: url(../img/creatuciudad/atrezzo/arbol1.png);
		background-repeat: no-repeat;
		background-position: center;
}

.arbol2 {
		background-image: url(../img/creatuciudad/atrezzo/arbol2.png);
		background-repeat: no-repeat;
		background-position: center;
}

.arbol3 {
		background-image: url(../img/creatuciudad/atrezzo/arbol3.png);
		background-repeat: no-repeat;
		background-position: center;
}

.arbol4 {
		background-image: url(../img/creatuciudad/atrezzo/arbol4.png);
		background-repeat: no-repeat;
		background-position: center;
}

.bus1 {
		background-image: url(../img/creatuciudad/atrezzo/bus1.png);
		background-repeat: no-repeat;
		background-position: center;
}

.bus2 {
		background-image: url(../img/creatuciudad/atrezzo/bus2.png);
		background-repeat: no-repeat;
		background-position: center;
}

.bus3 {
		background-image: url(../img/creatuciudad/atrezzo/bus3.png);
		background-repeat: no-repeat;
		background-position: center;
}

.bus4 {
		background-image: url(../img/creatuciudad/atrezzo/bus4.png);
		background-repeat: no-repeat;
		background-position: center;
}

.coche1 {
		background-image: url(../img/creatuciudad/atrezzo/coche1.png);
		background-repeat: no-repeat;
		background-position: center;
}

.coche2 {
		background-image: url(../img/creatuciudad/atrezzo/coche2.png);
		background-repeat: no-repeat;
		background-position: center;
}

.coche3 {
		background-image: url(../img/creatuciudad/atrezzo/coche3.png);
		background-repeat: no-repeat;
		background-position: center;
}

.coche4 {
		background-image: url(../img/creatuciudad/atrezzo/coche4.png);
		background-repeat: no-repeat;
		background-position: center;
}

.flores1 {
		background-image: url(../img/creatuciudad/atrezzo/flores1.png);
		background-repeat: no-repeat;
		background-position: center;
}

.flores2 {
		background-image: url(../img/creatuciudad/atrezzo/flores2.png);
		background-repeat: no-repeat;
		background-position: center;
}

.fuente {
		background-image: url(../img/creatuciudad/atrezzo/fuente.png);
		background-repeat: no-repeat;
		background-position: center;
}

.sombrilla {
		background-image: url(../img/creatuciudad/atrezzo/sombrilla.png);
		background-repeat: no-repeat;
		background-position: center;
}

.tranvia1 {
		background-image: url(../img/creatuciudad/atrezzo/tranvia1.png);
		background-repeat: no-repeat;
		background-position: center;
}

.tranvia2 {
		background-image: url(../img/creatuciudad/atrezzo/tranvia2.png);
		background-repeat: no-repeat;
		background-position: center;
}

/* VARIOS */

.mibarrio {
		background-image: url(../img/creatuciudad/varios/mibarrio.png);
		background-repeat: no-repeat;
		background-position: center;
}

.micasa {
		background-image: url(../img/creatuciudad/varios/micasa.png);
		background-repeat: no-repeat;
		background-position: center;
}

.micoche {
		background-image: url(../img/creatuciudad/varios/micoche.png);
		background-repeat: no-repeat;
		background-position: center;
}

.micole {
		background-image: url(../img/creatuciudad/varios/micole.png);
		background-repeat: no-repeat;
		background-position: center;
}

.miparque {
		background-image: url(../img/creatuciudad/varios/miparque.png);
		background-repeat: no-repeat;
		background-position: center;
}

.myneighborhood {
		background-image: url(../img/creatuciudad/varios/myneighborhood.png);
		background-repeat: no-repeat;
		background-position: center;
}

.myhome {
		background-image: url(../img/creatuciudad/varios/myhome.png);
		background-repeat: no-repeat;
		background-position: center;
}

.mycar {
		background-image: url(../img/creatuciudad/varios/mycar.png);
		background-repeat: no-repeat;
		background-position: center;
}

.myschool {
		background-image: url(../img/creatuciudad/varios/myschool.png);
		background-repeat: no-repeat;
		background-position: center;
}

.mypark {
		background-image: url(../img/creatuciudad/varios/mypark.png);
		background-repeat: no-repeat;
		background-position: center;
}

.nino {
		background-image: url(../img/creatuciudad/varios/nino.png);
		background-repeat: no-repeat;
		background-position: center;
}

.nina {
		background-image: url(../img/creatuciudad/varios/nina.png);
		background-repeat: no-repeat;
		background-position: center;
}

.papa {
		background-image: url(../img/creatuciudad/varios/papa.png);
		background-repeat: no-repeat;
		background-position: center;
}

.mama {
		background-image: url(../img/creatuciudad/varios/mama.png);
		background-repeat: no-repeat;
		background-position: center;
}

.yayo {
		background-image: url(../img/creatuciudad/varios/yayo.png);
		background-repeat: no-repeat;
		background-position: center;
}

.yaya {
		background-image: url(../img/creatuciudad/varios/yaya.png);
		background-repeat: no-repeat;
		background-position: center;
}

.bike {
		background-image: url(../img/creatuciudad/varios/man_bike_back_right.png);
		background-repeat: no-repeat;
		background-position: center;
}

.bussiness {
		background-image: url(../img/creatuciudad/varios/man_bussiness_left.png);
		background-repeat: no-repeat;
		background-position: center;
}

.young {
		background-image: url(../img/creatuciudad/varios/man_beach_left.png);
		background-repeat: no-repeat;
		background-position: center;
}

.boy {
		background-image: url(../img/creatuciudad/varios/boy_walk_back_right.png);
		background-repeat: no-repeat;
		background-position: center;
}

.girl {
		background-image: url(../img/creatuciudad/varios/girl_walk_front_right.png);
		background-repeat: no-repeat;
		background-position: center;
}

#editcanvas {
	background-image: url(../img/creatuciudad/carreteras/suelo4.png);
  	-webkit-background-image: url(../img/creatuciudad/carreteras/suelo4.png);
}

.centerimg {
display:flex;
align-items:center;
justify-content:center;
}





