/*--------------------------------------------------------------
# Copyright (C) joomla-monster.com
# License: http://www.joomla-monster.com/license.html Joomla-Monster Proprietary Use License
# Website: http://www.joomla-monster.com
# Support: info@joomla-monster.com
---------------------------------------------------------------*/

/* ==========================================================================
	ANIMATED BUTTONS styles
   ========================================================================== */

/* video module*/

.view {
    cursor: default;
    display: block;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.view .mask,
.view .content {
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.view .mask span.space {
    height: 50%;
    display: block;
}

.view .mask .readmore {
    display: inline-block;
    margin: -15px 0 0;
}

.view-video {
   display: inline-block;
   max-width: 100%;
}

.view-video img {
    opacity: 1;
    filter: alpha(opacity="100");
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    -ms-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
    position: relative;
    display: inline-block;
}

.view-video .mask {
    opacity: 0;
    filter: alpha(opacity="0");
    -webkit-transform: rotate(0deg) scale(1);
    -moz-transform: rotate(0deg) scale(1);
    -o-transform: rotate(0deg) scale(1);
    -ms-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.view-video:hover img {
    opacity: 0;
    filter: alpha(opacity="0");
    -webkit-transform: rotate(720deg) scale(0);
    -moz-transform: rotate(720deg) scale(0);
    -o-transform: rotate(720deg) scale(0);
    -ms-transform: rotate(720deg) scale(0);
    transform: rotate(720deg) scale(0);
}

.view-video:hover .mask {
    opacity: 1;
    filter: alpha(opacity="100");
    -webkit-transform: translateY(0px) rotate(0deg);
    -moz-transform: translateY(0px) rotate(0deg);
    -o-transform: translateY(0px) rotate(0deg);
    -ms-transform: translateY(0px) rotate(0deg);
    transform: translateY(0px) rotate(0deg);  
    transition-delay: 0.4s;
}

/* image hovers */

.ch-item.ch-first {
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3) inset, 0 0 0 5px rgba(0, 0, 0, 0.05);
	-webkit-box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3) inset, 0 0 0 5px rgba(0, 0, 0, 0.05);
}	
	
.ch-item.ch-third .ch-info-front {
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3) inset;
	-webkit-box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3) inset;
}

.ch-item {
    position: relative;
    width: 154px;
    height: 154px;
    border: 5px solid transparent;
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.05);
    -moz-background-clip: padding-box !important; 
	-webkit-background-clip: padding-box !important; 
	background-clip: padding-box !important; 
}

x:-o-prefocus,
.ch-item {
	border: none; /* opera fix */
}

.ch-item .ch-info .ch-container {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
}

.ch-item .ch-info .ch-outer {
    display: table-cell;
    vertical-align: middle;
}

.ch-item .ch-info p {
    padding: 20px 5px 0;
    margin: 0;
    text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 18px !important;
    line-height: 30px;
    background: url("../images/badge_sep.png") no-repeat top center;
}

.ch-item .ch-info p a:link,
.ch-item .ch-info p a:visited {
	color: #fff;
	font-weight: 700;
}

.ch-item .ch-info p a:hover {
    text-decoration: none;
}

.ch-item .ch-info p span.smaller {
	font-size: 16px !important;
	line-height: 22px;
	font-weight: 300;
}

/* first */

.ch-item.ch-first {
    position: relative;
    cursor: default;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.ch-item.ch-first .ch-info {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 134px;
    height: 134px;
    opacity: 0;
	filter: alpha(opacity="0");
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-backface-visibility: hidden; /*for a smooth font */
}

.ch-item.ch-first:hover .ch-info {
    opacity: 1;
	filter: alpha(opacity="100");
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

/*second*/

.ch-item.ch-second {
    position: relative;
    cursor: default;
    overflow: hidden;
}

.ch-item.ch-second .ch-info-wrap {
    position: absolute;
    width: 134px;
    height: 134px;
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    -ms-perspective: 800px;
    perspective: 800px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    left: 10px;
    top: 10px;
	box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3);
	-webkit-box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3);
}

.ch-item.ch-second .ch-info {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
} 

.ch-item.ch-second .ch-info > div {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ch-item.ch-second .ch-info .ch-info-back {
    -webkit-transform: rotate3d(0,1,0,180deg);
    -moz-transform: rotate3d(0,1,0,180deg);
    -o-transform: rotate3d(0,1,0,180deg);
    -ms-transform: rotate3d(0,1,0,180deg);
    transform: rotate3d(0,1,0,180deg);
}

.ch-item.ch-second:hover .ch-info {
    -webkit-transform: rotate3d(0,1,0,-180deg);
    -moz-transform: rotate3d(0,1,0,-180deg);
    -o-transform: rotate3d(0,1,0,-180deg);
    -ms-transform: rotate3d(0,1,0,-180deg);
    transform: rotate3d(0,1,0,-180deg);
}


/** opera fix **/

x:-o-prefocus, .ch-item.ch-second .ch-info .ch-info-back {
    display: none;
}

x:-o-prefocus, .ch-item.ch-second:hover .ch-info .ch-info-back {
    display: block;
}

/** ie10 fix **/
    
@media screen and (min-width:0\0) {
    .ch-item.ch-second:hover .ch-info {
        -ms-transform: none;
        transform: none;
    }
    .ch-item.ch-second .ch-info .ch-info-back {
        display: none;
        -ms-transform: none;
        transform: none;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
        opacity: 0;
        filter: alpha(opacity="0");
    }
    .ch-item.ch-second:hover .ch-info .ch-info-back {
        display: block;
        opacity: 100;
        filter: alpha(opacity="100");
    }
}   

/*third*/

.ch-item.ch-third {
    position: relative;
    cursor: default;
    -webkit-perspective: 900px;
    -moz-perspective: 900px;
    -o-perspective: 900px;
    -ms-perspective: 900px;
    perspective: 900px;
}

.ch-item.ch-third .ch-info {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.ch-item.ch-third .ch-info > div {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    transition: all 0.4s linear;
    -webkit-transform-origin: 50% 0%;
    -moz-transform-origin: 50% 0%;
    -o-transform-origin: 50% 0%;
    -ms-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
}

.ch-item.ch-third .ch-info .ch-info-back {
    -webkit-transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    -moz-transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    -o-transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    -ms-transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    transform: translate3d(0,0,-220px) rotate3d(1,0,0,90deg);
    opacity: 0;
	filter: alpha(opacity="0");
}

.ch-item.ch-third:hover .ch-info-front {
    -webkit-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    -moz-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    -o-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    -ms-transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    transform: translate3d(0,280px,0) rotate3d(1,0,0,-90deg);
    opacity: 0;
	filter: alpha(opacity="0");
}

.ch-item.ch-third:hover .ch-info-back {
    -webkit-transform: rotate3d(1,0,0,0deg);
    -moz-transform: rotate3d(1,0,0,0deg);
    -o-transform: rotate3d(1,0,0,0deg);
    -ms-transform: rotate3d(1,0,0,0deg);
    transform: rotate3d(1,0,0,0deg);
    opacity: 1;
	filter: alpha(opacity="100");
}