.al-img {
    position: relative;
    width: 100%;
    height: 100%;
}

.al-img img {
    opacity: 0;
    width: 100%;
    transition: ease .5s;
    -webkit-transition: ease .5s;
    -moz-transition: ease .5s;
    -ms-transition: ease .5s;
    -o-transition: ease .5s;
}

.al-loader {
    z-index: 999;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
}

.al-loader--element {
    position: absolute;
    left: 0;
    right: 0;
    top:0;
    bottom:0;
    margin: auto; 
    border: 5px solid #d2d2d2;
    border-radius: 25px;
    border-top: 5px solid #3498db;
    width: 35px;
    height: 35px;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
