/*@font-face {font-family: 'yorkville';src: url('../font/yorkville.woff') format('woff'),url('../font/yorkville.eot');font-weight: normal;font-style: normal;}*/

* {
    font-family: "Avenir", "Myriad Pro", "Arial", "san-serif", "yorkville";
    box-sizing: border-box;
}
div#contenido {
    min-width: 300px;
    width: 100%;
    margin: auto;
    height: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.logo {
    width: 80%;
    font-family: "yorkville";
    overflow: hidden;
    /* font-size: 104px; */
    text-align: center;
    margin: auto;
    margin-bottom: 25px;
}
input.enlace {
    padding: 15px 10px;
    width: 100%;
    background: #ffffff;
    box-shadow: 0px 1px 3px rgb(204, 204, 204, 0.75);
    border: 1px solid #cccccc;
    -webkit-appearance: none;
    outline: none;
    color: #444444;
    border-radius: 3px;
}
.text-logo {
    font-family: "yorkville";
    font-size: inherit;
    color: #777777;
    margin-top: -0.22em;
}
::placeholder {
    color: #888888;
}
.advertencia {
    color: #b3b3b3;
    width: 100%;
    text-align: center;
}
.opcion {
    color: #309041;
    width: 100%;
    margin-bottom: 1em;
    text-align: center;
}
.centrar {
    margin: 15% auto auto auto;
    width: 50%;
    max-width: 600px;
}
.resultado {
    padding: 15px 10px;
    width: 100%;
    background: #ffffff;
    box-shadow: 0px 1px 3px rgb(204, 204, 204, 0.75);
    border: 1px solid #cccccc;
    color: #309047;
    position: relative;
}
.contendor-enlace {
    width: 100%;
    height: 7em;
}
body {
    background: #fafafa;
    font-size: 16px;
}
.advertencia span {
    text-decoration: underline;
    cursor: pointer;
}
input#autocopiar {
    margin-right: 0.5em;
    width: 1em;
    height: 1em;
    border: 2px solid #CCCCCC;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}
[type="checkbox"]:checked:before {
    content: 'x';
    font-family: yorkville;
    top: -4px;
    left: 2px;
    position: relative;
    font-weight: bold;
    color: #309041;
}
#autocopiar+label {
    cursor: pointer;
    position: relative;
}
.resultado a {
    color: #309047;
    max-width: calc(100% - 40px);
    text-overflow: ellipsis;
    width: initial;
    overflow: hidden;
    display: block;
}
.terminos-de-uso {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.texto {
    max-width: 40%;
    height: 165px;
    min-width: 300px;
    max-height: 50%;
    background: #fff;
    padding: 15px 50px 15px 15px;
    border-radius: 10px;
    position: absolute;
    left: 0px;
    margin: auto;
    bottom: 0px;
    right: 0;
    text-align: center;
    top: 0px;
}
.close_terms {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    background: #cecdcd;
    cursor: pointer;
    z-index: 3;
}
.close_terms:hover {
    background: #309041;
    color: #fff;
}
.terminos-de-uso a {
    color: #309041;
    text-decoration: none;
}
#autocopiar[disabled], #autocopiar[disabled]+label {
    opacity: 0.5;
}
#autocopiar[disabled]:hover+label:before, #autocopiar[disabled]+label:hover:before {
    content: 'No compatible con su navegador';
    position: absolute;
    top: 17px;
    left: -90px;
    width: 300px;
    font-size: 14px;
    color: red;
}
.terminos-de-uso {
    display: none;
}
.acortar-enlace {
    background: #309041;
    margin: auto;
    width: 150px;
    position: relative;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    line-height: 30px;
    margin-top: 0.5em;
    border-radius: 3px;
    border: 2px solid #309041;
}
.acortar-enlace img {
    width: 26px;
    position: absolute;
    top: 13px;
    left: 22px;
}
.acortar-enlace span {
    vertical-align: middle;
    margin-left: 20px;
    -webkit-user-select: none;
    user-select: none;
}
.acortando.acortar-enlace {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}
.acortando.acortar-enlace span {
    margin-left: 40px;
}
.acortar-enlace:hover {
    background: #41b355;
}
.resultado, .copiar-icon {
    display: none;
}
.terminos-de-uso.visible, .resultado.visible, .resultado.visible .copiar-icon {
    display: block;
}
@media only screen and (max-width: 480px) {
    .centrar {
        margin-top: 20%;
        width: 70%;
    }
    .contendor-enlace {
        height: 6.5em;
    }
    input.enlace, .resultado {
        padding: 12px;
    }
    .resultado a {
        max-width: 93%;
    }
}
img.logo-cacalinks {
    width: 80%;
    margin: 0px auto;
}
.copiar-icon {
    width: 24px;
    position: absolute;
    top: 7px;
    right: 12px;
    cursor: pointer;
}
.contenedor-qr {
    position: relative;
    width: 84px;
    margin: auto;
    text-align: center;
}
.label-qr {
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 15px;
}
.qr {
    text-align: center;
    margin: auto;
}
.qr img {
    margin: auto;
    width: 64px;
}
.compartir {
    width: 18px;
    height: 20px;
    position: relative;
    cursor: pointer;
}
.c-c {
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 100%;
    position: absolute;
    bottom: 6px;
    left: 0;
}
.c-c:after {
    content: '';
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 100%;
    position: absolute;
    bottom: -6px;
    left: 11px;
}
.c-c:before {
    content: '';
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 100%;
    position: absolute;
    top: -6px;
    left: 11px;
}
.c-l {
    width: 13px;
    height: 2px;
    background: #000;
    position: absolute;
    bottom: 12px;
    left: 4px;
    transform-origin: bottom center;
    transform: rotate(-27deg);
}
.c-l:before {
    content: '';
    width: 13px;
    height: 2px;
    background: #000;
    position: absolute;
    top: 6px;
    left: -4px;
    transform-origin: bottom center;
    transform: rotate(59deg);
}
.opcione-qr {
    position: absolute;
    bottom: 0;
    right: -13px;
    width: 18px;
}
.descargar-qr {
    width: 18px;
    height: 18px;
    position: relative;
    cursor: pointer;
}
.descargar-qr:before {
    content: '';
    width: 4px;
    height: 12px;
    background: #000;
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.descargar-qr:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 7px 0 7px;
    border-color: #000000 transparent transparent transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.opcione-qr>div {
    margin-top: 5px;
}
.avisos {
    max-width: 320px;
    height: 200px;
    max-height: 50%;
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    position: absolute;
    left: 0px;
    margin: auto;
    bottom: 0px;
    right: 0;
    text-align: center;
    top: 0px;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 3px #949494;
}
.boton-ok {
    width: 100px;
    height: 50px;
    margin: 30px auto;
    background: #309041;
    color: white;
    line-height: 2.5;
    font-size: 20px;
    border-radius: 3px;
    border: 2px solid #309041;
    cursor: pointer;
}
.boton-ok:hover {
    background: #41b355;
}
