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

/*
* ----------------------------------------------------------
*
* Float Fix
*
* ----------------------------------------------------------
*/

.feature-tile-container {
    font-size: 0;
}

.feature-tile-container > .feature-tile-item {
    float: none;
}

.feature-tile-container > * {
    font-size: 16px;
    font-size: 1rem;
    float: none;
    display: inline-block;
    vertical-align: top;
    margin: 15px auto;
}

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

.feature-tile-default {

}

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

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

.sidebar .feature-tile-wrapper {
    margin: auto;
}


.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-background {
    display: block;
}

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


.sidebar .feature-tile-item {
    margin: auto;
    margin-bottom: 15px;
}

/*.sidebar .col-md-6.feature-tile--default .feature-tile-background {
    padding-bottom: 50%;
}*/

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

    .sidebar .feature-tile-item {
        width: 50%;
    }

}

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


    .sidebar .feature-tile-item {
        width: 100%;
    }

}

.feature-tile-default .feature-tile-container > * {
    padding: 0;
}

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


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

.feature-tile--fa-icon .feature-tile-content,
.feature-tile-default .feature-tile-content,
.feature-tile-thumbnail-overlay .feature-tile-content {

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



.feature-tile--thumbnail-overlay .feature-tile-background,
.feature-tile--thumbnail .feature-tile-background {
    position: relative;
    overflow: hidden;
    padding-bottom: 66%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    -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--thumbnail:hover .feature-tile-background,
.feature-tile--thumbnail:focus .feature-tile-background,
.feature-tile--thumbnail:active .feature-tile-background {
    /*opacity: 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;
}


.no-flexbox .feature-tile--thumbnail .feature-tile-background::before {
    padding-top: 20%;
}                                                               
                                                           
.feature-tile--thumbnail .feature-tile-background::before {
    content: '\f054';
    font-size: 3em;
    font-family: fontAwesome;
    color: transparent;
    background-color: rgba(0,0,0,0);
    width: 100%;
    display: table-cell;
    text-align: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
        -ms-flex-align: center;
    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    align-items: center;
        -ms-flex-pack: center;
    -o-justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
        -ms-flex-align: center;
    -o-align-content: center;
    -ms-align-content: center;
    -moz-align-content: center;
    -webkit-align-content: center;
    align-content: center;
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all 500ms ease-in-out .1s;
    -moz-transition: all 500ms ease-in-out .1s;
    -o-transition: all 500ms ease-in-out .1s;
    transition: all 500ms ease-in-out .1s;
}

.feature-tile--thumbnail:hover .feature-tile-background::before,
.feature-tile--thumbnail:focus .feature-tile-background::before,
.feature-tile--thumbnail:active .feature-tile-background::before {
    background-color: rgba(14, 7, 60,0.6);
        color: #fff;
    -webkit-transition: all 500ms ease-in-out .1s;
    -moz-transition: all 500ms ease-in-out .1s;
    -o-transition: all 500ms ease-in-out .1s;
    transition: all 500ms ease-in-out .1s;
}

.feature-tile--thumbnail .feature-tile--excerpt {
    font-size: 0.8em;
}



/*
* ----------------------------------------------------------
*
* feature-tile-thumbnail feature-tile-content-overlay
*
* ----------------------------------------------------------
*/

.feature-tile--thumbnail-overlay,
.feature-tile--thumbnail-overlay .feature-tile-container > * {
    margin: auto;
}

.feature-tile--thumbnail-overlay .feature-tile-content {
    position: absolute;
    top: 15%;
    left:  15%;
    right:  15%;
    bottom:  15%;  
    padding: 30px;    
    background-color: rgba(0,0,0,0.15);
}

/*
* ----------------------------------------------------------
*
* feature-tile--Icon
*
* ----------------------------------------------------------
*/

.feature-tile--fa-icon .feature-tile-background::before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.feature-tile--fa-icon .feature-tile-content {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(0,0,0,0.15);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
}

.feature-tile--fa-icon .fa {
    font-size: 72px;
}

.feature-tile-content h4 {
    color: inherit;
    text-transform: uppercase;
}

/*
* ----------------------------------------------------------
*
* feature-tile--SVG
*
* ----------------------------------------------------------
*/

.feature-tile-wrapper.svg-icon > .feature-tile-container > *, 
.feature-tile-wrapper.svg-icon > .feature-tile-container { 
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -ms-flex-wrap: nowrap;
    -ms-flex-direction: row;

    -ms-flex-flow: row nowrap;
    -moz-flex-flow: row nowrap;
    -webkit-flex-flow: row nowrap;
    flex-flow: row nowrap;
}


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

}


.feature-tile--svg-icon  {
    text-align: center;
}


.feature-tile--svg-icon .feature-tile-title {
    width: 100%;
}

.feature-tile--svg-icon .feature-tile-background > .feature-tile-content {
    width: 100%;
    display: block;
    -webkit-box-flex: 1;    
    -moz-box-flex: 1;  
    -ms-box-flex: 1;  
    -moz-flex:1 1 100%;
    -webkit-flex:1 1 100%;
    /*-ms-flex:1 1 100%;*/
    -ms-flex:1 1 auto;
    flex: 1 1 100%;
}

.feature-tile--svg-icon .feature-tile-background {
    width: 100%;
    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-background svg path {
    fill: #3f70b7;
}

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

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