/*
    Name: action styles;
    by CRYCODE
*/

.action-item {
    display: block;
    position: relative;
    overflow: hidden;
}

.actin-item-text {
    padding: 10px 0 0 10px;
    color: #696666;
	background: #fff;
}

.action-item-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.action-item>span {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    padding-bottom: 50%;
}

html:not(.bx-touch) .action-item:hover>span,
html:not(.bx-no-touch) .action-item:active>span {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.action-item-name {
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
    display: block;
    opacity: 1;
    left: 20px;
    right: 20px;
    position: absolute;
    top: 15px;
}

.action-item-info strong {
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    opacity: 1;
}
    .sidebar .action-item-info strong {
        font-size: 18px;
    }

.action-item-title {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    margin: 0 auto;
    width: 200px;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%) scale(0.7);
    -moz-transform: translateY(-50%) scale(0.7);
    -ms-transform: translateY(-50%) scale(0.7);
    -o-transform: translateY(-50%) scale(0.7);
    transform: translateY(-50%) scale(0.7);
    opacity: 0;
}

html:not(.bx-touch) .action-item:hover .action-item-info strong,
html:not(.bx-no-touch) .action-item:active .action-item-info strong {
    -webkit-transform: translateX(85%);
    -moz-transform: translateX(85%);
    -ms-transform: translateX(85%);
    -o-transform: translateX(85%);
    transform: translateX(85%);
    opacity: 0;
}

html:not(.bx-touch) .action-item:hover .action-item-name,
html:not(.bx-no-touch) .action-item:active .action-item-name {
    -webkit-transform: translateX(-15%);
    -moz-transform: translateX(-15%);
    -ms-transform: translateX(-15%);
    -o-transform: translateX(-15%);
    transform: translateX(-15%);
    opacity: 0;
}

html:not(.bx-touch) .action-item:hover .action-item-title,
html:not(.bx-no-touch) .action-item:active .action-item-title {
    -webkit-transform: translateY(-50%) scale(1);
    -moz-transform: translateY(-50%) scale(1);
    -ms-transform: translateY(-50%) scale(1);
    -o-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.actions-item {
    float: left;
    width: 50%;
    margin: 0 15px 15px 0;
}

@media screen and (max-width: 1023px) {
    .actions-item {
        float: none;
        width: 100%;
        margin: 0 0 15px;
    }
}