/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 14/06/2016, 4:50:31 PM
    Author     : duncanc
*/

/*-----------------------------*/
/* @feature-tile-item */
/*-----------------------------*/
.feature-tile-wrapper {
    position: relative;
    z-index: 1;
    background-color: #222;
}
.feature-tile-wrapper>.container-fluid {
    padding: 0;
}

.feature-tile-item .feature-tile--default {
    padding: 0;    
}

.feature-tile-item {
    padding: 0;
    position: relative;
    background-position: center center;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/*
@media screen and (min-width: 768px) {
    .feature-tile-item {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}*/


.feature-tile-background {
    display: block;
    padding-bottom: 100%;
    background-position: center center;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: rgba(0,0,0,0.65);
    background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.75) 100%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.25) 60%,rgba(0,0,0,0.75) 100%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 60%,rgba(0,0,0,0.75) 100%);
}


@media screen and (min-width: 992px) {

    .feature-tile-background {
        display: block;
        padding-bottom: 50%;
    }

}




.no-flexbox .feature-tile-content {
    display: inline-block;
    padding: 40px 15px;
}

.no-flexbox .feature-tile-content > * {
    /*display: inline-block;*/
}

.feature-tile-content {
    
    color: #fff;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    text-align: center;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -ms-flex-wrap: nowrap;
    -ms-flex-direction: column;
    -ms-flex-align: center;
    -ms-flex-pack: center;

    -ms-flex-flow: column nowrap;
    -moz-flex-flow: column nowrap;
    -webkit-flex-flow: column nowrap;
    flex-flow: column nowrap;

    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    align-items: center;

    -o-align-content: center;
    -ms-align-content: center;
    -moz-align-content: center;
    -webkit-align-content: center;
    align-content: center;

    -o-justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

/*.feature-tile-item:nth-child(odd) .feature-tile-content {    
    background-color: #85449a;
    background-color: rgba(133,68,154,0.75);
}

.feature-tile-item:nth-child(even) .feature-tile-content {
    background-color: #96cfae;
    background-color: rgba(150,207,174,0.75);
}*/



.feature-tile-background .feature-tile-content {
    background-color: transparent;
}
.current-page-tile .feature-tile-background .feature-tile-content,
.feature-tile-background:hover .feature-tile-content,
.feature-tile-background:active .feature-tile-content,
.feature-tile-background:focus .feature-tile-content {
    background-color: rgba(236,130,39,0.75);
    -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;
}




h4.feature-tile-title {
    font-size: 2em;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 100%;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding: 1ex 15px;
}

.current-page-tile .feature-tile-background .feature-tile--button,
.feature-tile-background:hover .feature-tile--button,
.feature-tile-background:active .feature-tile--button,
.feature-tile-background:focus .feature-tile--button {
        background-color: #172149;
}

.feature-tile--button {
    margin: 15px auto;
}

/*
* --------------------------------------------------------------
* 
* 
* feature-tile--image-icon-wrapper
* 
* --------------------------------------------------------------
*/

.id-featured-page-tiles-wrapper {
    background-color: #294F9C;
}

/*.id-featured-page-tiles {
    padding-top: 40px;
    padding-bottom: 40px;
}*/

.feature-tile--image-icon-wrapper .feature-tile-background {
    padding-bottom: 75%;
}

.feature-tile--image-icon-wrapper h4.feature-tile-title {
    font-size: 1.1em;
    letter-spacing: 1px;
    padding: 0 15px; 
}


.feature-tile--image-icon > img {
    max-width: 80px;
}


