/*
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>.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: 30px;
    margin-bottom: 30px;
}


@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: static;
    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: #3f70b7;
    text-transform: uppercase;
    padding: 1ex 15px;
}

.current-page-tile .feature-tile-background h4.feature-tile-title,
.feature-tile-background:hover h4.feature-tile-title,
.feature-tile-background:active h4.feature-tile-title,
.feature-tile-background:focus h4.feature-tile-title {
    color: #8BC441;
}

.feature-tile--button {
        margin: 0 0 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-background .feature-tile-content {
    opacity: 0.5;
}

.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 {
    opacity: 1;
}

.feature-tile-background .feature-tile--image-icon svg path {
    fill: #3f70b7;
}

.current-page-tile .feature-tile-background .feature-tile--image-icon svg path,
.feature-tile-background:hover .feature-tile--image-icon svg path,
.feature-tile-background:active .feature-tile--image-icon svg path,
.feature-tile-background:focus .feature-tile--image-icon svg path {
    fill: #8BC441;
}

svg, img[src*=".svg"] {
    width: 100%;
    height: auto;
}

.feature-tile-background .feature-tile--image-icon svg {
    width: 100px;
    height: auto;
}*/

/*
* ----------------------------------------------------------
*
* Default
*
* ----------------------------------------------------------
*/

.feature-tile-default {

}

.id-feature-pages-wrapper {
    background-color: rgba(0,0,0,0.05);
}

.feature-tile-wrapper {
    position: relative;
    z-index: 0;
    background-color: transparent;
}


.feature-tile--default {
    background-position: center center;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

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

.feature-tile--default .feature-tile-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


.feature-tile--default .feature-tile-background .feature-tile-content {
    background-color: rgba(0,0,0,0.15);
    background-image: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 80%);
    background-image: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.5) 80%);
    background-image: radial-gradient(ellipse at center, rgba(0,0,0,0.05) 0%,rgba(0,0,0,0.5) 80%);
    -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;
}

.feature-tile--default .current-page-tile .feature-tile-background .feature-tile-content,
.feature-tile--default .feature-tile-background:hover .feature-tile-content,
.feature-tile--default .feature-tile-background:active .feature-tile-content,
.feature-tile--default .feature-tile-background:focus .feature-tile-content {
    background-color: #685DA4;
    background-image: none;
    -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;
}

.feature-tile-content h4 {
    /*color: #fff;*/
    text-transform: uppercase;
}

/*
* ----------------------------------------------------------
*
* Shared
*
* ----------------------------------------------------------
*/


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

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

.feature-tile-content {

    position: static;
    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;
}