/*FB CARDS*/
.facebook-card{
    max-width: 480px;
    margin: 0 auto;
    border: 0.3px solid #ccc;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 1px 1px 9px rgba(0, 0, 0, 0.32);
}
.facebook-card-header{
    padding: 15px;
    align-items: center;
}
.facebook-card-user-image{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}
.facebook-card-user-name{
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #365899;
}
.facebook-dots{
    float: right;
    color: #90949c;
}
.date{
    text-align: middle;
    font-size: 12px;
    text-decoration: none;
    color: #90949c;
    padding-left: 4em;
}
.facebook-world{
    color: #90949c;
}
.description{
    font-size: 12px;
}
.facebook-card-usertag{
    font-size: 12px;
    text-decoration: none;
    color: #365899;
}
.facebook-card-image img{
    /*width: 96%;*/
    /*padding-left: 10px;*/
    /*padding-bottom: none;*/
}
.facebook-card-content{
    display: flex;
    align: center;
    font-size: 12px;
    text-decoration: none;
    padding: 0 15px;
}
.facebook-card-icon{
    font-size:14px;
    font-weight: bold;
    color: #90949c;
    text-decoration:none;
    margin-right: 15px;
}
hr{
    border: none;
    border-bottom: 1px solid #ccc;
    margin-right: 15px;
}

.azul{
    background: #f0f8ff;
    font-size: 14px;
    border-top: 1px solid #ccc;
    padding: none;
    margin: 0 auto;
    padding:15px;
    position: relative;
}
/*    Floating*/

#floating-button{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #8e0d0e;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.64);
}

.plus{
    color: white;
    position: absolute;
    top: 0;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 55px;
    font-size: 38px;
    font-weight: 300;
    animation: plus-out 0.3s;
    transition: all 0.3s;
}

/*Twitter Cards*/





/*THe Floating button*/

#container-floating{
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 30px;
    right: 30px;
    z-index: 50px;
}

#container-floating:hover{
    height: 400px;
    width: 90px;
    padding: 30px;
}

#container-floating:hover .plus{
    animation: plus-in 0.15s linear;
    animation-fill-mode: forwards;
}

.edit{
    position: absolute;
    top: 0;
    display: block;
    bottom: 0;
    left: 0;
    display: block;
    right: 0;
    padding: 0;
    opacity: 0;
    margin: auto;
    line-height: 65px;
    transform: rotateZ(-70deg);
    transition: all 0.3s;
    animation: edit-out 0.3s;
}

#container-floating:hover .edit{
    animation: edit-in 0.2s;
    animation-delay: 0.1s;
    animation-fill-mode: forwards;
}

@keyframes edit-in{
    from {opacity: 0; transform: rotateZ(-70deg);}
    to {opacity: 1; transform: rotateZ(0deg);}
}

@keyframes edit-out{
    from {opacity: 1; transform: rotateZ(0deg);}
    to {opacity: 0; transform: rotateZ(-70deg);}
}

@keyframes plus-in{
    from {opacity: 1; transform: rotateZ(0deg);}
    to {opacity: 0; transform: rotateZ(180deg);}
}

@keyframes plus-out{
    from {opacity: 0; transform: rotateZ(180deg);}
    to {opacity: 1; transform: rotateZ(0deg);}
}

.nds{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: fixed;
    z-index: 300;
    transform:  scale(0);
    cursor: pointer;
}

.nd1{
    background: #ffc107;
    right: 40px;
    bottom: 120px;
    animation-delay: 0.2s;
    animation: bounce-out-nds 0.3s linear;
    animation-fill-mode:  forwards;
}

.nd3{
    background: #3c80f6;
    right: 40px;
    bottom: 180px;
    animation-delay: 0.15s;
    animation: bounce-out-nds 0.15s linear;
    animation-fill-mode:  forwards;
}

.nd4{
    background: #ba68c8;
    right: 40px;
    bottom: 240px;
    animation-delay: 0.1s;
    animation: bounce-out-nds 0.1s linear;
    animation-fill-mode:  forwards;
}


@keyframes bounce-nds{
    from {opacity: 0;}
    to {opacity: 1; transform: scale(1);}
}

@keyframes bounce-out-nds{
    from {opacity: 1; transform: scale(1);}
    to {opacity: 0; transform: scale(0);}
}

#container-floating:hover .nds{

    animation: bounce-nds 0.1s linear;
    animation-fill-mode:  forwards;
}

#container-floating:hover .nd3{
    animation-delay: 0.08s;
}
#container-floating:hover .nd4{
    animation-delay: 0.15s;
}
#container-floating:hover .nd5{
    animation-delay: 0.2s;
}

.reminder{
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    line-height: 40px;
}


/*    Blinking Button*/

@-webkit-keyframes anim-glow {
    0% {
        box-shadow: 0 0 #8e0d0e;
    }
    100% {
        box-shadow: 0 0 10px 28px transparent;
        border-width: 2px;
    }
}
@keyframes anim-glow {
    0% {
        box-shadow: 0 0 #8e0d0e;
    }
    100% {
        box-shadow: 0 0 10px 28px transparent;
        border-width: 2px;
    }
}

.icon {
    border-radius: 50%;
    border: 2px solid #8e0d0e;
    width: 10px;
    height: 10px;
    text-align: center;
    position: relative;
    -webkit-animation: anim-glow 2s ease infinite;
    animation: anim-glow 2s ease infinite;
}
.icon i {
    border-radius: 50%;
    border: 2px solid #8e0d0e;
    width: 2px;
    height: 2px;
    display: inline-block;
    vertical-align: 6px;
    background-color: #61EF61;
}

/*    Tool tip*/
/* START TOOLTIP STYLES */
[tooltip] {
    position: relative; /* opinion 1 */
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
    text-transform: none; /* opinion 2 */
    font-size: .9em; /* opinion 3 */
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}
[tooltip]::before {
    content: '';
    border: 5px solid transparent; /* opinion 4 */
    z-index: 1001; /* absurdity 1 */
}
[tooltip]::after {
    content: attr(tooltip); /* magic! */

    /* most of the rest of this is opinion */
    font-family: Helvetica, sans-serif;
    text-align: center;

    /*
      Let the content set the size of the tooltips
      but this will also keep them from being obnoxious
      */
    min-width: 3em;
    max-width: 21em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1ch 1.5ch;
    border-radius: .3ch;
    box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
    background: #333;
    color: #fff;
    z-index: 1000; /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #333;
}
[tooltip][flow^="down"]::after {
    top: calc(100% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
    left: 50%;
    transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
    /*top: -50%;*/
    margin-top: 28em;
    border-right-width: 0;
    border-left-color: #333;
    left: calc(0em - 5px);
    transform: translate(-14.5em, -50%);
}
[tooltip][flow^="left"]::after {
    /*top: -50%;*/
    margin-top: 28em;
    right: calc(100% + 5px);
    transform: translate(-14.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #333;
    right: calc(0em - 5px);
    transform: translate(.5em, -50%);
}
[tooltip][flow^="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translate(0, -50%);
    }
}

/* FX All The Things */
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}
