
.gifffer-container canvas {
    max-width: 100% !important;
}

@-moz-keyframes giffferSpin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes giffferSpin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes giffferSpin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.gifffer-play-button {
    background: rgba(51, 51, 51, 0.6);
    width: 66px;
    height: 66px;
    margin-left: -33px;
    margin-top: -33px;
    left: 50%;
    top: 50%;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    position: absolute;
}
.gifffer-play-button:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 61px;
    height: 61px;
    margin-left: -30.5px;
    margin-top: -30.5px;

    border-radius: 50%;
    border: 3px dashed #fff;
}
.gifffer-container {
    background: #000;
    cursor:pointer;
    display:inline-block;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.gifffer-container:hover .gifffer-play-button:before {
    -webkit-animation:giffferSpin 4s linear infinite;
    -moz-animation:giffferSpin 4s linear infinite;
    animation:giffferSpin 4s linear infinite;
}
.gifffer-play-button:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -15.5px;
    margin-left: -11px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 28px solid #fff;
}


.gifffer-container:not(.animation-active) img {
    /*filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */*/
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}


.gifffer-container:not(.animation-active) {
    opacity: 0.8;
}
.gifffer-container:not(.animation-active) .gifffer-shade {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    box-shadow: inset 0px 0px 10px 10px #fff;
}
.gifffer-loading {
    position: absolute;
    left: 0px;
    right: 0px;
    text-align: center;
    top: 50%;
    font-size: 24px;
    margin-top: -12px;
    color: #fff;
    text-shadow: 0px 0px 3px #000;
}
.gifffer-loading:after {
    content: '_';
    animation: blinker 0.2s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0.0; }
}
