/*
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 */
/*-----------------------------*/

/*
* -----------------------------------------------------------------------------
*
* #id-feature-pages-wrapper
*
* -----------------------------------------------------------------------------
*/

.id-feature-pages-wrapper {
    background-color: #f0f0f0;
    background-color: #fff;
}



.feature-tile-wrapper {
    position: relative;
    z-index: 1;
    background-color: transparent;
}
.feature-tile-wrapper>.container-fluid {
    padding: 0;
}

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

.feature-tile-item {
    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;
    margin-top: 15px;
    margin-bottom: 15px;
}


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


.feature-tile-background {
    display: block;
    padding-bottom: 66%;
    background-position: center center;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}




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

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

.feature-tile-content {

    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;
}

.feature-tile-background:hover .feature-tile-content,
.feature-tile-background:active .feature-tile-content,
.feature-tile-background:focus .feature-tile-content {
    background-color: transparent;
    background-image: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 50%);
    background-image: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 50%);
    background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 50%);
    -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;
}

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

/*
* --------------------------------------------------------------
* 
* 
* 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;
}

.feature-tile--thumbnail .feature-tile-background  {
    opacity: 1;
}

/*.current-page-tile .feature-tile-background,*/
.feature-tile--thumbnail:hover .feature-tile-background ,
.feature-tile--thumbnail:active .feature-tile-background ,
.feature-tile--thumbnail:focus .feature-tile-background {
    opacity: 0.5;
}


.feature-tile--button-inner {
    display: block;
    color: #fff;
    background-color: #b21e26;
    text-transform: uppercase;
    text-align: center;
    padding: 30px;
    font-weight: 600;
}


.feature-tile--button-inner:hover,
.feature-tile--button-inner:active,
.feature-tile--button-inner:focus {
    background-color: #222;
    color: #fff;
}