/*
 * @package        id-awesome-feature-thumbnails
 * Theme URI:      http://imagedirect.com.au/
 * Description:    Image Direct Landing Pages
 * Author:         Image Direct
 * Author URI:     http://www.imagedirect.com.au/
 * @copyright 2014 Image Direct Pty Ltd
 * 
*/
/* 
    Created on : 17/02/2015
    Author     : duncanc

/*
* ------------------------------------------------------------------
* 
* Thumbnail Blocks
*
* ------------------------------------------------------------------
*/

.id-awesome-feature-content-wrapper {
    padding: 2em 0;
}


.id-awesome-content-thumbnail-background-image {
    padding-bottom: 75%;
    -ms-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: none;
    background-position: center center;
}

a.id-awesome-content-thumbnail-image {
    display: block;
}

.id-block-icon {
    text-align: center;
    font-size: 5em;
    font-size: 5rem;
}

.id-block-icon i.fa[class*="fa-"] {
    background-color: #bbb;
    color: #fff;
    display: inline-block;
    border-radius: 50%;
    font-size: 1em;
    height: 2.5em;
    width: 2.5em;
    text-align: center;
    padding:  0.75em 0.5em;
    vertical-align: middle;
    margin: auto;
}

.id-awesome-thumbnail-caption > * > a {
    display:block;
}
/* 
* ------------------------------------------------------------------------------
*
* <-- // Default // -->
*
*------------------------------------------------------------------------------
*/


.id-awesome-thumbnail .id-block-icon > a > i.fa[class*="fa-"] {
    -webkit-transition: all 250ms ease-out .1s;
    -moz-transition: all 250ms ease-out .1s;
    -o-transition: all 250ms ease-out .1s;
    transition: all 250ms ease-out .1s;
    background-color: rgba(255,255,255,0.125);
    color: inherit;
    border: 2px solid rgba(255,255,255,0.0);
    text-shadow: 0 0 0 rgba(255,255,255,0.005);
}

.id-awesome-thumbnail:hover .id-block-icon > a > i.fa[class*="fa-"] {
    -webkit-transition: all 250ms ease-out .1s;
    -moz-transition: all 250ms ease-out .1s;
    -o-transition: all 250ms ease-out .1s;
    transition: all 250ms ease-out .1s;
    background-color: rgba(255,255,255,0.075);
    color: inherit;
    border: 2px solid rgba(255,255,255,0.095);
}

/* 
* ------------------------------------------------------------------------------
*
* <-- // Inverse // -->
*
*------------------------------------------------------------------------------
*/

.id-awesome-content-inverse .id-awesome-thumbnail .id-block-icon > a > i.fa[class*="fa-"] {
    background-color: rgba(0,0,0,0.125);
    color: inherit;
}
.id-awesome-content-inverse .id-awesome-thumbnail:hover .id-block-icon:hover > a > i.fa[class*="fa-"] {
    background-color: rgba(0,0,0,0.075);
    color: inherit;
}


/* 
* ------------------------------------------------------------------------------
*
* <-- // Zero Clearance // -->
*
*------------------------------------------------------------------------------
*/
.id-awesome-content-zero-clearance,
.id-awesome-content-zero-clearance.id-awesome-feature-content-block,
.id-awesome-content-zero-clearance .id-awesome-feature-content-block {
    margin: 0;
    padding: 0;
}
.id-awesome-content-zero-clearance .id-awesome-thumbnail-caption {
    padding-left: 15px;
    padding-right: 15px;
}


/* 
* ------------------------------------------------------------------------------
*
* <-- // Button // -->
*
*------------------------------------------------------------------------------
*/

.id-awesome-content-button i.fa {
    margin-left: 0.5ex;
    margin-right: 0.5ex;
    display: inline-block;
}

/* 
* ------------------------------------------------------------------------------
*
* <-- // HOVER FADED EFFECTS // -->
*
*------------------------------------------------------------------------------
*/
.thumbnail-overlay-icon-hover:hover .id-block-icon > a > i.fa::before {
    content: '\f0a9';   
    -webkit-transition: all 250ms ease-out .1s;
    -moz-transition: all 250ms ease-out .1s;
    -o-transition: all 250ms ease-out .1s;
    transition: all 250ms ease-out .1s;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-name: iscale-hover;
    animation-name: rotated-hover;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    color: rgba(255,255,255,.75);

}

/* Pulse */
@-webkit-keyframes iscale-hover {
    50% {
        color: inherit;
    }
}

@keyframes iscale-hover {
    50% {
        color: inherit;
    }
}


.thumbnail-overlay-icon-hover a.id-awesome-content-thumbnail-background-image {
    position: relative;
}

.thumbnail-overlay-icon-hover a.id-awesome-content-thumbnail-background-image::before {
    content: '\f0a9';
    font-family: fontAwesome;
    font-size: 0em;
    color: transparent;
    position: absolute;
    top: 0; 
    right: 0; 
    left: 0; 
    bottom: 0;
    height: 100%;
    width: 100%;
    /*line-height: 3.1;*/
    padding: 15.5% 22.5%;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: rgba(255,255,255, .0);
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    -webkit-transition: all 250ms ease-out .1s;
    -moz-transition: all 250ms ease-out .1s;
    -o-transition: all 250ms ease-out .1s;
    transition: all 250ms ease-out .1s;
    border: 1px solid transparent;
}

.thumbnail-overlay-icon-hover:hover a.id-awesome-content-thumbnail-background-image::before {
    background-color: rgba(255,255,255, .75);
    font-size: 5em;
    color: inherit;
    -webkit-transition: all 250ms ease-out .1s;
    -moz-transition: all 250ms ease-out .1s;
    -o-transition: all 250ms ease-out .1s;
    transition: all 250ms ease-out .1s;
}

.thumbnail-overlay-icon-hover:hover a.id-awesome-content-thumbnail-background-image::before {
    font-size: 5em;
}
@media screen and (min-width: 480px) {
    .thumbnail-overlay-icon-hover:hover a.id-awesome-content-thumbnail-background-image::before {
        font-size: 7.5em;
    }
}
@media screen and (min-width: 580px) {
    .thumbnail-overlay-icon-hover:hover a.id-awesome-content-thumbnail-background-image::before {
        font-size: 10em;
    }
}
@media screen and (min-width: 768px) {
    .thumbnail-overlay-icon-hover:hover a.id-awesome-content-thumbnail-background-image::before {
        font-size: 5em;
    }
}
@media screen and (min-width: 992px) {
    .thumbnail-overlay-icon-hover:hover a.id-awesome-content-thumbnail-background-image::before {
        font-size: 3.5em;
    }
}

@media screen and (min-width: 1200px) {
    .thumbnail-overlay-icon-hover:hover a.id-awesome-content-thumbnail-background-image::before {
        font-size: 4em;
    }
}
/*.id-awesome-content-inverse/*/

.id-awesome-content-inverse .thumbnail-overlay-icon-hover a.id-awesome-content-thumbnail-background-image::before {
    background-color: rgba(0,0,0, .0);
}

.id-awesome-content-inverse .thumbnail-overlay-icon-hover:hover a.id-awesome-content-thumbnail-background-image::before {
    background-color: rgba(0,0,0, .75);
    border-color: #000;
}


/* 
* ------------------------------------------------------------------------------
*
* <-- // HOVER ROTATED EFFECTS // -->
*
*------------------------------------------------------------------------------
*/

.thumbnail-rotated-hover:hover .id-block-icon > a > i.fa::before,
.thumbnail-rotated-hover:hover a.id-awesome-content-thumbnail-background-image {
    -webkit-transition: all 500ms ease-out .1s;
    -moz-transition: all 500ms ease-out .1s;
    -o-transition: all 500ms ease-out .1s;
    transition: all 500ms ease-out .1s;

    -webkit-animation-name: rotated-hover;
    animation-name: rotated-hover;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;

}

/* Pulse */
@-webkit-keyframes rotated-hover {

    25% {
        -webkit-transform:  rotateY(180deg);
        transform:  rotateY(180deg);
    }


    75% {
        -webkit-transform:  rotateY(0deg);
        transform:  rotateY(0deg);
    }
}

@keyframes rotated-hover {
    25% {
        -webkit-transform:  rotateY(180deg) scale(1.1);
        transform: scale(1.1) rotateY(180deg);
    }

    75% {
        -webkit-transform:  rotateY(0deg);
        transform:  rotateY(0deg);
    }
}

/* 
* ------------------------------------------------------------------------------
*
* <-- // HOVER Blink EFFECTS // -->
*
*------------------------------------------------------------------------------
*/

.thumbnail-blink-hover:hover .id-block-icon > a > i.fa,
.thumbnail-blink-hover:hover a.id-awesome-content-thumbnail-background-image {
    -webkit-transition: all 500ms ease-out .1s;
    -moz-transition: all 500ms ease-out .1s;
    -o-transition: all 500ms ease-out .1s;
    transition: all 500ms ease-out .1s;

    -webkit-animation-name: blink-hover;
    animation-name: blink-hover;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;

}

/* Pulse */
@-webkit-keyframes blink-hover {

    50% {
        opacity: 0.5;
    }
}

@keyframes blink-hover {
    50% {
        opacity: 0.5;
    }
}

/* 
* ------------------------------------------------------------------------------
*
* <-- // HOVER Pulse EFFECTS // -->
*
*------------------------------------------------------------------------------
*/
.thumbnail-pulse-hover:hover .id-block-icon > a > i.fa,
.thumbnail-pulse-hover:hover a.id-awesome-content-thumbnail-background-image {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transition: all 500ms ease-out .1s;
    -moz-transition: all 500ms ease-out .1s;
    -o-transition: all 500ms ease-out .1s;
    transition: all 500ms ease-out .1s;

    -webkit-animation-name: pulse-hover;
    animation-name: pulse-hover;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;

}

/* Pulse */
@-webkit-keyframes pulse-hover {
    25% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    75% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}

@keyframes pulse-hover {
    25% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    75% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}


/* 
* ------------------------------------------------------------------------------
*
* <-- // HOVER TEXT REVEAL EFFECTS // -->
*
*------------------------------------------------------------------------------
*/
.thumbnail-text-reveal-hover {
    overflow: hidden;
    position: relative;
}


.thumbnail-text-reveal-hover .id-awesome-thumbnail-caption > .id-block-text {
    display: none;
}

.thumbnail-text-reveal-hover .id-awesome-thumbnail-caption > * {
    padding: 0;
    margin: 0;
    padding: 10px;
}

.thumbnail-text-reveal-hover .id-awesome-thumbnail-caption {
    position: absolute;
    bottom: 0;
    left: -100%;
    background-color: transparent;
    color: transparent;
    width: 100%;
    overflow: hidden;
    -webkit-transition: all 500ms ease-out .1s;
    -moz-transition: all 500ms ease-out .1s;
    -o-transition: all 500ms ease-out .1s;
    transition: all 500ms ease-out .1s;
}


.thumbnail-text-reveal-hover:hover .id-awesome-thumbnail-caption {
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.85);
    color: inherit;
    -webkit-transition: all 500ms ease-out .1s;
    -moz-transition: all 500ms ease-out .1s;
    -o-transition: all 500ms ease-out .1s;
    transition: all 500ms ease-out .1s;

}

.id-awesome-content-inverse .thumbnail-text-reveal-hover:hover .id-awesome-thumbnail-caption {
    background-color: rgba(0,0,0,0.75);
}