body{
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 0.9em;
     outline: none;
}

*, *:focus, .custom-select:focus{
     outline: none !important;
}

header.menu{
    padding: 12px 30px 12px 30px;
    border-bottom: 1px solid #d6d6d6;
    z-index: 2;
    background: #fff;
    position: fixed;
    top: 0px;
    width:100%;
}

/* Elementos que cambian de color*/
header a,
h1, .more:not(.disabled):hover,.less:not(.disabled):hover, .text-primary{
    color: var(--main-color) !important;
}

.content-input input[type="radio"] + i::before{
	background : var(--main-color);
}

.more:not(.disabled):hover,.less:not(.disabled):hover, .content-input input + i:hover,
.content-input input[type=radio]:checked + i,
.custom-select:focus{
    border-color : var(--main-color);
    
}

h1{
    position: absolute;
    top: 120px;
    width:100%;
    text-align: center;
}

header span{
    transition: all ease-out 0.15s;
}

header a.btn{
    font-size: 14px;
    letter-spacing: 2px;
    margin-left:10px;
    border-radius:18px;
    position: relative;
    background:#fff;
    transition: all ease 0.15s;
}

header a.btn:hover{
    margin-left: 30px;
}


header a.btn:before{
    content:'';
    position: absolute;
    width: 100%;
    height:100%;
    background:#000;
    display: block;
    z-index:-1;
    top: 0px;
    left:0px;
    border-radius: 18px;
}

header a.btn:hover:before{
    transition: all ease 0.25s;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    top: -10px;
    left:-10px;
    border-radius:36px;
    opacity: 0;
}

#logo img{
    width:160px;
    height: auto;
}

main{
    min-height: 700px;
    position: relative;
    padding-top: 75px;
}

#content{
   overflow: hidden;
    top: 80px;
    height:calc(100vh - 80px);
    min-height: 720px;
  
    background: url('../images/bg.jpg') left top;
    background-size: cover;
}
 
main h1{
    text-transform: uppercase;
    font-size: 1.6em;
    text-align: center;
    font-weight:600;
}

.email-template{
    min-width:calc(50% - 90px);
    margin:0 22.5px;
}

.email-template > div{
    border-radius:15px 15px 30px 30px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);
    overflow: hidden;
    max-width: 650px;
    margin:0 auto;
    transition: all 0.3s ease-in-out;
}

#main-container:not(.personalizar) .email-template > div:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.45);
}

.email-template > div > table{
    max-width: 700px;
    margin-left: 20px;
    margin-bottom: 15px !important;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 60vh;
}

.email-template header{
    background: #424242;
    text-transform: uppercase;
}

article header{
    padding: 10px 20px;
}

.details > div{
    border-bottom: 1px solid rgba(0,0,0,0.1);
    
}

.details{
    /*cursor: not-allowed;*/
}

footer{
    position: fixed;
    bottom: 0px;
    top: 0px;
    width:20%;
    padding: 93px 20px 20px 20px;
    background: #fff;
    border-top:1px solid #d6d6d6;
    border-right:1px solid #d6d6d6;
    overflow-y: auto;
}

aside{
    position: fixed;
    right: 0px;
    width: 20%;
    top:0px;
    z-index: 1;
    bottom: 0px;
    padding:73px 0px 100px 0px;
    background: #fff;
    border-left:1px solid #d6d6d6;
    overflow-y: auto;
}

aside .input-file{
    margin-bottom: 20px;
}

aside .input-file label{
    opacity: 0.4;
    cursor: pointer;
}

aside .input-file label:hover{
    opacity: 1;
}

aside input[type="file"]{
    width: 90px;
    height: 90px;
    overflow: hidden;
    text-indent:1000px;
    border-radius: 100%;
    background: center center no-repeat;
    opacity: 0.25;
    margin-right: 20px;
    transition: all ease 0.15s;
    cursor: pointer;
}
aside input[type="file"]:hover{
    opacity: 0.5;
    transform:scale(1.05);
}

aside .nav-item{
    width: 33.3%;
    background: #f2f2f2;
}

aside .nav-item .nav-link{
   text-align: center;  
    padding-top:15px;
    padding-bottom: 12px;
}

.nav-tabs .nav-item:first-child .nav-link,
.nav-tabs .nav-item:first-child .nav-link{
   border-left: none !important;
}

aside .nav-link img{
    height: 30px;
    width: auto;
    opacity: 0.5; 
    transition: all ease 0.25s;
}

aside .nav-link:hover img,
aside .nav-link.active img{
    opacity: 1;
}


aside .tab-content{
    padding: 20px;
}


aside h2{
    font-size: 1.25em;
}

.input-control{
    position: relative;
    margin-bottom: 10px;
}

.input-control label{
    position: absolute;
    z-index: 2;
    width:130px;
    text-align: right;
    padding:5px 10px;
    border-right: 1px solid rgba(0,0,0,0.1);
    top: 4px;
    opacity: 0.5;
    transition: all ease 0.15s;
}

.input-control input[type="text"],
.input-control input[type="tel"],
#rrss input[type="text"]{
   width: 100%;
   padding: 8px 6px 8px 140px;
   border-radius: 5px;
    font-weight: 300;
    border: 1px solid rgba(0,0,0,0.1)
}

.input-control input[type="text"]:hover,
.input-control input[type="tel"]:hover,
#rrss input[type="text"]:hover,
.input-control input[type="text"]:focus,
.input-control input[type="tel"]:focus,
#rrss input[type="text"]:focus{
    border:1px solid rgba(0,0,0,0.2);
}

.input-control:hover label{
    opacity: 0.8;
    padding-right: 15px;
}

#generar{
    width: calc(100% - 40px);
    margin-left:20px;
    border-radius:18px;

}

/* FOOTER*/
footer .row > div > div{
    margin-bottom: 20px;
}

.cambiar-plantilla{
    text-align:center;
    padding:0px;
    padding-top: 20px;
    width:calc(100% - 40px);
    position: absolute;
    top: 120px;
    display: none;

}


.custom-select{
    border-radius: 20px;
    height: auto;
    border-width: 2px;
    transition: all ease 0.25s;
}

.content-input input,
.content-select select{
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
 
.content-input input{
	visibility: hidden;
	position: absolute;
	right: 0;
}

.content-input{
	position: relative;
	margin-bottom: 30px;
	padding:5px 0 5px 40px;
    display: inline-block;
}
 

.content-input input + i{
 background: #f0f0f0;
 border:2px solid rgba(0,0,0,0.2);
 position: absolute; 
 left: 15px;
 top: 5px;
 height: 20px;
 width: 20px;
 border-radius: 100%;
 transition: all ease 0.25s;
}
 
.content-input input[type=radio] + i:before{
	content: '';
	display: block;
	height: 10px;
	width: 10px;
	background: red;
	border-radius: 100%;
	position: absolute;
	z-index: 1;
	top: 3px;
	left: 3px;
	transition: all 0.25s ease; /* Todas las propiedades | tiempo | tipo movimiento */
	transform: scale(0) /* Lo reducimos a 0*/ ;
	opacity: 0; /* Lo ocultamos*/
}


.content-input input[type=radio]:checked + i:before{
	transform: scale(1);
	opacity: 1;
}

.more,.less{
    width: 34px;
    height: 34px;
    text-align: center;
    border-radius: 100%;
    border:2px solid rgba(0,0,0,0.2);
    background:rgba(255,255,255,1);
    display: inline-block;
    text-align: center;
    line-height: 28px;
    font-style: normal;
    font-weight: 600;
    color: rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all ease 0.25s;
    position: relative;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
         -o-user-select: none;
            user-select: none;
}

.more.disabled, .less.disabled {
    cursor: default;
    background-color: #bbbbbb;
}

/* TAB REDES SOCIALES */
#rrss svg{
    position: absolute;
    top: 0px;
    left:0px;
}

#rrss p{
    padding-left: 25px;
    position: relative;
}

#rrss input[type="text"]{
    text-align: left;
    padding-left: 6px;
}

#rrss span{
    opacity: 0.5;
}


#rrss p,
#pictures p{
    margin-bottom: 5px;
    margin-top: 15px;

}

/* PICTURES */
#pictures p{
    position: relative;
    margin-bottom:10px;
    
}
#pictures .image-cropper-cont > img{
    border-radius:5px;
    border:1px solid rgba(0,0,0,0.1);
    padding:5px;
    width:100%;
    cursor: pointer;
    transition:all ease 0.25s;
}

#pictures div[name="logo"] > img{
    padding:30px;

}

#pictures .image-cropper-cont > img:hover{
   -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
}

#pictures .image-cropper-cont label{
    cursor: pointer;
    opacity: 0.3;
}

#pictures label:hover{
    cursor: pointer;
    opacity: 1;
}

#pictures .on-off{
    opacity: 1;
}

.on-off{
    cursor: pointer;
}

.on-off input{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    visibility: hidden;
    position: absolute;
    right: 0;
    background: #f0f0f0;
    border: 2px solid rgba(0,0,0,0.2);
    position: absolute;
    left: 0;
    opacity: 1;
}

.on-off input[type=checkbox] + i:before{
    content: '';
    width: 15px;
    height: 15px;
    border:1px solid rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    top: 3px;
    left: 4px;
    -webkit-box-shadow: 3px 0 3px 0 rgba(0,0,0,0.2);
    box-shadow: 3px 0 3px 0 rgba(0,0,0,0.2);
    transition: all ease 0.25s;
}


.on-off input[type=checkbox ] + i{
    width: 40px;
    height: 24px;
    border-radius: 15px;
    background: #f0f0f0;
    border: 1px solid rgba(28,38,88,0.2);
    position: absolute;
    right:0px;
    top: 0px; 
    margin-left: 10px;
}

.on-off input[type=checkbox]:checked + i{
  background-color: var(--main-color);
}

.on-off input[type=checkbox]:checked + i:before{
  left: 18px;
  -webkit-box-shadow: -3px 0 3px 0 rgba(0,0,0,0.2);
  box-shadow: 3px 0 -3px 0 rgba(0,0,0,0.2);
}

.on-off input[type=checkbox]:checked + i:after{
  opacity: 1;
}

.on-off span{
    opacity: 0.3;
}

.on-off:hover span{
    opacity: 1;
}

.on-off input[type=checkbox]:checked{
    display: block;
} 

@media (max-height: 815px){
    h1{
        top: 100px
    }
}

header, #main-contaimer{

}

#pop-up{
    position: fixed;
    top: 0px;
    left:0px;
    right: 0px;
    bottom: 0px;
    background:rgba(0,0,0,0.8);
    z-index:10;
}

#pop-up .form{
    width:850px;
    top: 50%;
    left:50%;
    display: block;
    position: absolute;
    z-index:11;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
    transform: translate(-50%, -50%);
}

#popup-siguenos {
    border-left: solid 1px #000;
    background-color: #DFDDDE;
    background-image: url('../images/imagen-creatividad.jpg');
    background-position: bottom;
    background-size: 300px;
    background-repeat: no-repeat;
}

#pop-up h2{
    font-size: 22px;
}

#pop-up .icon{
    background:#fff;
    border-radius: 100%;
    height:50px;
    width:50px;
    border:1px solid rgba(0,0,0,0.1);
    display: block;
    position: absolute;
    top: -25px;
    line-height: 50px;
    left: calc(50% - 25px);

}

#pop-up .icon i{
font-size: 20px
} 


.btn-dark{
    background:#424242;
}

.btn-dark:hover{
    background:rgba(0,0,0,0.9);
}

.btn-block{
    padding:15px;
    border-radius: 50px
}


#preloader{
    z-index: 20;
    position: fixed;
    top: 0px;
    bottom:0px;
    right: 0px;
    left:0px;
    /*display: none;*/
}

#preloader svg{
    max-width: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 21;
    transform: translate(-50%,-50%);
    animation: parpadeo 1.5s 4s alternate forwards;
    transform-origin:center center;
    display: none;
}

.loaded #preloader svg{
    display: block;
}

@keyframes parpadeo{
    0%{
        opacity: 1;
        transform:scale(1) translate(-50%,-50%);
    }
    100%{
        opacity:0;
        transform:scale(0.9) translate(-50%,-50%);
    }
}

#A-2, #C, #A-1, #T, #S, #D, #imagen{
    opacity: 0;
}



#E-imago{    
    animation:mostrar 3s forwards;
    transform-origin:25%;
}

@keyframes mostrar{
    0%{
       transform: translate(50px, -20px) scale(0.3);

    }

    70%{
        transform: translate(50px, 0px) scale(1) rotate(0deg);
    }

    100%{
        transform: translate(0px, 0px) rotate(-360deg);
    }
}

@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

#D{
    animation:fadeIn 0.25s 2s ease-in forwards;
}

#S{
    animation:fadeIn 0.25s 2.3s ease-in forwards;
}

#T{
    animation:fadeIn 0.25s 2.6s ease-in forwards;
}

#A-1{
    animation:fadeIn 0.25s 2.8s ease-in forwards;
}


#C{
    animation:fadeIn 0.25s 2.9s ease-in forwards;
}

#A-2{
    animation:fadeIn 0.25s 3.1s ease-in forwards;
}

#imagen{
    animation:fadeIn 0.25s 3.3s ease-in forwards;
}


.preload-1 {
    width:50%;
    top: 0px;
    bottom: 0px;
    left: 0px;
    position: absolute;
    z-index:19;
    transition: all 2s;
    transition-delay: 3s;
    background-color: white;
    transform: translateX(0);
}

.preload-2 {
    width:50%;
    top: 0px;
    bottom: 0px;
    right: 0px;
    position: absolute;
    z-index:19;
    transition: all 2s;
    background-color: white;
    transform: translateX(0);
}

.book .preload-1 {
    border-right: solid 1px #c1c1c1;
    transition: all 2s;
    transform: translateX(-100%);
}

.book .preload-2 {
    border-left: solid 1px #c1c1c1;
    transform: translateX(100%);
    transition: all 2s ;
}

.ist0{fill:#FFF;}
.st0{fill:#231F20;}
.st1{fill-rule:evenodd;clip-rule:evenodd;fill:#231F20;}
.st2{fill:#EA262E;}
                

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}

.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}

.email-enter-active, .email-leave-active {
  transition: opacity 0.9s;
  transition-delay: .6s;
}

.email-enter, .email-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
  transition: opacity .5s;
}

#main-container:not(.personalizar) .email-template {
    cursor: pointer;
}

.first-step-control a {
    width: 150px;
}

.input-control.color-input {
    position: absolute;
    right: 0;
    left: 50px;
    top: 18px;
}

.input-control.color-input input {
    padding: 8px 6px 8px 6px;
}

#block-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 19;
    background-color: white;
}

#block-layer .bloquer-img {
    width: 50%;
    margin-left: 25%;
    margin-top: 5%;
    max-width: 650px;
}

#block-layer p {
    font-size: 22px;
    text-align: center;
    padding: 20px 0;
    width: 50%;
    margin-left: 25%;
}

#block-layer .logo {
    position: absolute;
    bottom: 5%;
    left: 50%;
    margin-left: -100px;
    width: 200px;
}

@media(max-width: 1444px) {
    footer {
        width: 25%;
    }
    aside {
        width: 25%;
    }
    .email-template {
        zoom: 0.75;
    }
    /*#content-wrapper {
        transform: scale(.8);
    }*/

    .email-template:first-child:not(.back) {
        transform: translateX(-5%);
    }

    .email-template:last-child:not(.back) {
        transform: translateX(5%);
    }
}