/*
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 : 18/04/2017, 5:20:56 PM
    Author     : duncanc
*/

/*
* ----------------------------------------------------------------------
*
* No Flexbox
*
* ----------------------------------------------------------------------
*/

.no-flexbox .module-canvas,
.no-flexbox .module-inner {
    font-size: 0;
}

.no-flexbox .module-canvas > * {
    display: inline-block;
    float: none;
    vertical-align: top;
    font-size: 16px;
}

.no-flexbox .module-canvas > .owl-stage-outer {
    display: block;
}

.no-flexbox .module-inner > * {
    display: inline-block;
    float: none;
    vertical-align: top;
    font-size: 16px;
}



/*
* ----------------------------------------------------------------------
*
* Module Overlay
*
* ----------------------------------------------------------------------
*/


.no-flexbox .module-thumbnail {
    height: 100%;
}

.no-flexbox .factory-default .module-thumbnail::before {
    padding-bottom: 150%;
    min-height: 200px;
}

.no-flexbox .module-overlay {
    /*    font-size: 16px;*/
    height: 100%;
    width: 100%;
    display: inline-table;
    vertical-align: middle;
    border-collapse: collapse;
    table-layout: fixed;
}

.no-flexbox .module-overlay .fa::before {
    margin: auto;
}


.no-flexbox .module-overlay .fa,
.no-flexbox .module-overlay .module-feature-title {
    vertical-align: middle;
    height: auto;
    width: 100%;
}

.no-flexbox .module-overlay .module-feature-title {
    display: table-row;    
}

.no-flexbox .module-overlay .fa {
    display: table-cell;
}

.no-flexbox .accordion .module-overlay {
    direction: rtl;
    display: inline-table;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    font-size: 0;
    position: relative;
    border-collapse: separate;
    table-layout: initial;
}

.no-flexbox .accordion .module-overlay > * {
    display: table-cell;
    /*text-align: left;*/
    vertical-align: middle;
    font-size: 16px;
    position: relative;
}

.no-flexbox .module-overlay .accordion-feature-title {
    /*padding-left: 25%;*/
    padding-left: 15px;
    text-align: left;
    /*    text-indent: 15px;*/
}

.no-flexbox .accordion .module-overlay > .fa {
    width: auto;
    position: static;
    display: none;
}

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

    .no-flexbox .factory-grid .accordion .module-overlay {
        direction: ltr;
        height: 100%;
        width: 100%;
        display: inline-table;
        vertical-align: middle;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .no-flexbox .factory-grid .accordion .module-overlay > .fa {
        display: table-cell;
        vertical-align: middle;
        height: 100%;
        width: 100%;
        text-align: center;
        background: rgba(255,255,255,0.25);
        position: static;
    }

    .no-flexbox .factory-grid .accordion .module-overlay .module-toggle {
        position: absolute;
        top: auto;
        left: auto;
        right: 0;
        bottom: 0;
    }
}


/*
* ----------------------------------------------------------------------
*
* No Flexbox Showcase
*
* ----------------------------------------------------------------------
*/

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

    .no-flexbox .factory-showcase .module-inner > * {
        vertical-align: middle;
    }

    .no-flexbox .factory-showcase .module-item:nth-child(even) .module-inner {
        direction: rtl;
    }
    .no-flexbox .factory-showcase .module-item:nth-child(even) .module-content {
        text-align: right;
    }
}


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


    .no-flexbox .factory-showcase [data-grid="1"] .module-item:nth-child(4n+4) .module-inner,
    .no-flexbox .factory-showcase [data-grid="1"] .module-item:nth-child(4n+3) .module-inner,
    .no-flexbox .factory-showcase .module-item:nth-child(even) .module-inner {
        direction: ltr;
    }

    .no-flexbox .factory-showcase [data-grid="1"] .module-item:nth-child(even) .module-inner,
    .no-flexbox .factory-showcase .module-item:nth-child(4n+4) .module-inner,
    .no-flexbox .factory-showcase .module-item:nth-child(4n+3) .module-inner {
        direction: rtl;
    }


    .no-flexbox .factory-showcase [data-grid="1"] .module-item:nth-child(odd) .module-content,
    .no-flexbox .factory-showcase .module-item:nth-child(even) .module-content {
        text-align: left;
    }

    .no-flexbox .factory-showcase [data-grid="1"] .module-item:nth-child(even) .module-content,
    .no-flexbox .factory-showcase .module-item:nth-child(4n+4) .module-content,
    .no-flexbox .factory-showcase .module-item:nth-child(4n+3) .module-content {
        text-align: right;
    }

}
/*

/*
* ----------------------------------------------------------------------
*
* No Flexbox
*
* ----------------------------------------------------------------------
*/

/*

@media screen and (min-width: 768px) {
    .no-flexbox .module-canvas .module-content,
    .no-flexbox .module-canvas .module-thumbnail,
    .no-flexbox .factory-card .module-content,
    .no-flexbox .factory-card .module-thumbnail {
        vertical-align: top;
        display: inline-block;
    }
    .no-flexbox .module-canvas .module-item {
        width: 49%;
        vertical-align: top;
        display: inline-block;
    }


    .no-flexbox .module-canvas .module-thumbnail {
        width: 100%;
    }

    .no-flexbox .module-canvas .module-content {
        width: 100%;
    }
}

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


    .no-flexbox .module-canvas .module-item,
    .no-flexbox .factory-card .module-item {
        vertical-align: top;
    }

    .no-flexbox .factory-card [data-grid="1"] .module-item  {
        width: 100%;
    }

    .no-flexbox .factory-card .module-item {
        width: 49%;
    }

    .no-flexbox .module-canvas .module-content,
    .no-flexbox .module-canvas .module-thumbnail,
    .no-flexbox .factory-card .module-content,
    .no-flexbox .factory-card .module-thumbnail {
        vertical-align: top;
        display: inline-block;
    }

    .no-flexbox .loop-default .module-thumbnail {
        width: 20%;
    }

    .no-flexbox .loop-default .module-content {
        width: 79%;
    }

    .no-flexbox .factory-card .module-thumbnail {
        width: 39%;
    }

    .no-flexbox .factory-card .module-content {
        width: 59%;
    }




    .no-flexbox .factory-showcase [data-grid="1"] .module-item {
        width: 100%;
        display: block;
    }



    .no-flexbox .factory-showcase .module-outer,
    .no-flexbox .factory-showcase .module-inner {
        min-height: 100%;
        height: 100%;
        width: 100%;
    }

    .no-flexbox .factory-showcase .module-outer {
        display: table;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .no-flexbox .factory-showcase .module-inner {
        display: table-row;
    }

    .no-flexbox .factory-showcase [data-grid="1"] .module-outer,
    .no-flexbox .factory-showcase [data-grid="1"] .module-inner {
        min-height: 100%;
        height: 100%;
        width: 100%;
        vertical-align: middle;
    }

    .no-flexbox .factory-showcase .module-thumbnail,
    .no-flexbox .factory-showcase .module-content {
        font-size: 16px;
        width: 50%;
        height: 100%;
        display: table-cell;
        vertical-align: middle;
    }

    .no-flexbox .factory-showcase .module-content {
        padding: 2em;
        text-align: left;
    }
}


@media screen and (min-width: 1200px) {
    .no-flexbox .factory-showcase [data-grid="1"] .module-item:nth-child(even) .module-content,
    .no-flexbox .factory-showcase .module-item:nth-child(4n+3) .module-content,
    .no-flexbox .factory-showcase .module-item:nth-child(4n+4) .module-content,
    .no-flexbox .factory-showcase .module-item:nth-child(4n+5) .module-content,
    .no-flexbox .factory-showcase [data-grid="1"] .module-item:nth-child(odd) .module-content,
    .no-flexbox .factory-showcase .module-item:nth-child(even) .module-content {
        text-align: left;
    }
}


.no-flexbox .module-overlay,
.no-flexbox .module-image  {
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 25px;
    width: 100%;
    height: 100%;
    text-align: center;
}

.no-flexbox .module-image > img {
    margin: 20px auto;
    display: inline-block;
}

.no-flexbox .module-overlay .fa {
    background: transparent;
    display: table-cell;
    text-align: center;
}

.no-flexbox .factory-card-block .module-overlay .fa {
    display: block;
}

.no-flexbox .module-overlay .fa::before {
    background-color: rgba(0,0,0,0.15);
    color: #fff;
    display: inline-block;
    border-radius: 50%;
    height: 2.5em;
    width: 2.5em;
    text-align: center;
    padding: 0.75em 0.5em;
    vertical-align: middle;
    margin: auto;
}



*/
