﻿
/**************************************************************************/
/************** Caja AJUSTES DE IMAGEN *******************/
/**************************************************************************/

/* RESPONSIVE */


/********  XL  *******/
@media screen and (min-width:1600px) {

    #containerAjusteImg {
   
        width: 1014px;
        margin-top: 100px;
    }

    #ajusteImg {
        
        margin: 0 auto;
        width: 1012px;
        height: 792px;
  
    }

    #component {
        float: left;
        width: 650px;
        height: 650px;
        margin-left: 75px;
    }

    #fotoIni {
       
        width: 500px;
        height: 500px;
        top: 75px;
        left: 75px;
       
    }

    .botonesAjusteImg {
        width: 150px;
        margin-left: 30px;
        margin-top: 100px;
        float: left;
    }


    #textoAjusteImg {
        position: relative;
        margin: 0 auto;
        width: 70%;
        height: 40px;
        font-size: 100%;
        padding-top: 20px;
        color: #5e5e5e;
        padding-left: 200px;
        /*text-align:center;*/
        /*border:1px solid #f00;*/
    }


}


/********  L  *******/
@media screen and (min-width:950px)and (max-width:1600px) {

    #containerAjusteImg {
        width: 1014px;
        margin-top: 100px;
    }

    #ajusteImg {
        margin: 0 auto;
        width: 1012px;
        height: 792px;
    }

    #component {
        float: left;
        width: 650px;
        height: 650px;
        margin-left: 75px;
    }

    #fotoIni {
        width: 400px;
        height: 400px;
        top: 120px;
        left: 120px;
    }

    .botonesAjusteImg {
        width: 150px;
        margin-left: 30px;
        margin-top: 100px;
        float: left;
    }


    #textoAjusteImg {
        position: relative;
        margin: 0 auto;
        width: 70%;
        height: 40px;
        font-size: 100%;
        padding-top: 20px;
        color: #5e5e5e;
        padding-left: 200px;
        /*text-align:center;*/
        /*border:1px solid #f00;*/
    }


}

/********  M  *******/
@media screen and (min-width:650px)and (max-width:950px) {

    /*#containerAjusteImg {
        width: 1014px;
        margin-top: 100px;
    }

    #ajusteImg {
        margin: 0 auto;
        width: 1012px;
        height: 792px;
    }

    #component {
        width: 650px;
        height: 650px;
        margin-left: 75px;
    }

    #fotoIni {
        width: 500px;
        height: 500px;
        top: 75px;
        left: 75px;
    }

    .botonesAjusteImg {
        width: 150px;
        margin-left: 30px;
        margin-top: 100px;
        float: left;
    }*/


    #containerAjusteImg {
        /* width: 1014px;*/
        margin-top: 100px;
    }

    #ajusteImg {
        margin: 0 auto;
        /* width: 1012px;*/
        /*height: 792px;*/
    }

    #component {
        /*float: left;*/
        width: 500px;
        height: 500px;
        margin:40px auto;
        /*margin-top:40px;*/
        /* margin-left: 75px;*/
    }

    #fotoIni {
        width: 400px;
        height: 400px;
        top: 50px;
        left: 50px;
    }

    .botonesAjusteImg {
        /*width: 500px;*/
        /* float: left;*/
        margin: 0 auto;
    }

    #botonesAjusteImg1 {
        width: 300px;
    }

    #botonesAjusteImg2 {
        width: 450px;
    }


    #textoAjusteImg {
        position: relative;
        margin: 0 auto;
        width: 500px;
        height: 40px;
        font-size: 18px;
        padding-top: 20px;
        color: #5e5e5e;
        padding-left: 20px;
        /*text-align:center;*/
        /*border:1px solid #f00;*/
    }



}


/********  S  *******/
@media screen and (min-width:500px)and (max-width:650px) {
    #containerAjusteImg {
        width: 1014px;
        margin-top: 100px;
    }

    #ajusteImg {
        margin: 0 auto;
        width: 1012px;
        height: 792px;
    }

    #component {
        float: left;
        width: 650px;
        height: 650px;
        margin-left: 75px;
    }

    #fotoIni {
        width: 500px;
        height: 500px;
        top: 75px;
        left: 75px;
    }

    .botonesAjusteImg {
        width: 150px;
        margin-left: 30px;
        margin-top: 100px;
         float: left;
    }


    #textoAjusteImg {
        position: relative;
        margin: 0 auto;
        width: 70%;
        height: 40px;
        font-size: 100%;
        padding-top: 20px;
        color: #5e5e5e;
        padding-left: 200px;
        /*text-align:center;*/
        /*border:1px solid #f00;*/
    }


}



/********  XS  *******/
@media screen and (max-width:500px) {

    #containerAjusteImg {
       /* width: 1014px;*/
        margin-top: 100px;
    }

    #ajusteImg {
        margin: 0 auto;
       /* width: 1012px;*/
        height: 792px;
    }

    #component {
        float: left;
        width: 500px;
        height: 500px;
        /* margin-left: 75px;*/
    }

    #fotoIni {
        width: 400px;
        height: 400px;
        top: 50px;
        left: 50px;
    }
    .botonesAjusteImg {
        /*width: 500px;*/
        /* float: left;*/
        margin: 0 auto;
    }

    #botonesAjusteImg1 {
        width: 300px;
    }
    #botonesAjusteImg2 {
        width: 450px;
    }


    #textoAjusteImg {
        position: relative;
        margin: 0 auto;
        width: 70%;
        height: 40px;
        font-size: 100%;
        padding-top: 20px;
        color: #5e5e5e;
        padding-left: 200px;
        /*text-align:center;*/
        /*border:1px solid #f00;*/
    }



}

/* FIN MEDIA QUERIES*/
/*******************************************************************/


#containerAjusteImg {
    display: none;
   
    z-index: 2001;
    /*top: 168px;
    left: 440px;*/
    /*top: 95px;
     left:122px;*/
    /*top:90px;
     left:0px;*/
   
    position: absolute;
    /*margin: 0 auto;*/

/* width: 1014px;
    margin-top: 100px;*/


}


#ajusteImg {
    /*display: block;*/
    /* position: absolute;*/
   /* margin: 0 auto;
    width: 1012px;
    height: 792px;*/
    /* border: 2px solid #7596a5;*/
   
    z-index: 1001;
}



#cabAjusteImg {
    /*position: relative;
    width: auto;
    height: 32px;
    background-color: #88ac2b;
    color: white;
    cursor: move;*/
}

/*table#tableCabAjusteImg tr td#tdCabAjusteImgTitulo {
    width: auto;
    height: 100%;
    padding-left: 40px;
  
}*/

/*table#tableCabAjusteImg {
    width: 100%;
    height: 100%;
}*/

    /*table#tableCabAjusteImg tr td#tdCabAjusteImgAspa {
        width: 20px;
        height: 100%;
    }*/


/*---------------------COMPONENTE---------------------------------------------------------*/
#component {
    position: relative;
    /*float: left;*/
  /*  width: 650px;
    height: 650px;
    margin-left: 75px;*/
    border: 4px solid #5e5e5e;
    overflow: hidden;
    background: url(/Images/Support/gridme.png) repeat center center;
}

#fotoIni {
    position: absolute;
  /*  width: 500px;
    height: 500px;
    top: 75px;
    left: 75px;*/
    /*border:1px solid red;*/
}
/*
.overlay {
}
.overlay-inner {
}
.resize-image {
}
*/

/*******************************************************************/
/****************** BOTONES ****************************************/
/*******************************************************************/

/*#bCancelarAjuste {
    padding-top: 20px;
    height: 40px;
}

#bGuardarAjuste {
    padding-top: 20px;
    height: 40px;
}
*/

.botonesAjusteImg {
    position: relative;
  
   /* width: 150px;
    margin-left: 30px;
    margin-top: 100px;*/
    /*border: 1px solid red;*/
}

.bAjusteImg {
    width: 100px;
    height: 60px;
    position: relative;
    margin: 10px 20px;
    float: right;
    color: white;
    background-color: #efad2c;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    /*text-align: center;
    padding-top: 4px;*/
}

.bVerdeAjusteImg{
    background-color:#82a542;
}

.bGrisAjusteImg{

    background-color:#7596a5;
}

.bAjusteImg img{
    width:40px;

}


/*******************************************************************/


.resize-container {
    position: relative;
    display: inline-block;
    cursor: move;
    margin: 0 auto;
}

    .resize-container img {
        display: block
    }

    .resize-container:hover img,
    .resize-container:active img {
        outline: 2px dashed rgba(240,36,187,.9);
    }

.resize-handle-ne,
.resize-handle-se,
.resize-handle-nw,
.resize-handle-sw {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(240,36,187,.9);
    z-index: 999;
}

.resize-handle-nw {
    top: -5px;
    left: -5px;
    cursor: nw-resize;
}

.resize-handle-sw {
    bottom: -5px;
    left: -5px;
    cursor: sw-resize;
}

.resize-handle-ne {
    top: -5px;
    right: -5px;
    cursor: ne-resize;
}

.resize-handle-se {
    bottom: -5px;
    right: -5px;
    cursor: se-resize;
}

.overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -100px;
    margin-top: -100px;
    z-index: 999;
    width: 200px;
    height: 200px;
    border: solid 2px rgba(240,36,187,.9);
    box-sizing: content-box;
    pointer-events: none;
}

    .overlay:after,
    .overlay:before {
        content: '';
        position: absolute;
        display: block;
        width: 202px;
        height: 40px;
        border-left: dashed 2px rgba(240,36,187,.9);
        border-right: dashed 2px rgba(240,36,187,.9);
    }

    .overlay:before {
        top: 0;
        margin-left: -2px;
        margin-top: -40px;
    }

    .overlay:after {
        bottom: 0;
        margin-left: -2px;
        margin-bottom: -40px;
    }

.overlay-inner:after,
.overlay-inner:before {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 202px;
    border-top: dashed 2px rgba(240,36,187,.9);
    border-bottom: dashed 2px rgba(240,36,187,.9);
}

.overlay-inner:before {
    left: 0;
    margin-left: -40px;
    margin-top: -2px;
}

.overlay-inner:after {
    right: 0;
    margin-right: -40px;
    margin-top: -2px;
}


.icono{
    width:40px;
    z-index:10;
}

