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

.no-flexbox .id-pdf-catalogue-container {
    font-size: 0;
    display: block;
}

.no-flexbox .id-pdf-catalogue-item {
    display: inline-block;
    vertical-align: top;
    float: none;
    clear: none;
    font-size: 16px;
}


/*
* ----------------------------------------------------------
* 
* IOS flex container fix
* 
* ----------------------------------------------------------
*/

.id-flex-row {

}

.id-pdf-catalogue-container.container:before {
    display: inline;
}


.id-current-issue.fa {
    color: #f0ad4e;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 999;
    text-shadow: 0 0 3px rgba(0,0,0,0.3);
}


.id-pdf-catalogue-section {   
    background-color: rgba(0,0,0,0.05);
}

.id-pdf-catalogue-header {
    margin: 30px auto;
    text-align: center;
}

.id-pdf-catalogue-container {

    position: relative;
    margin: 0 auto;
    padding: 2em 15px;

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

    /* ms-flex */

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

    -ms-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;

    text-align: center;
}

.id-pdf-catalogue-item {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;

    -moz-flex: 1 0 100%;
    -ms-flex: 1 0 100%;
    -webkit-flex: 1 0 100%;
    flex: 1 0 100%;

    padding: 15px;
    /*background-color: rgba(0,0,0,0.05);*/
    /*background-color: rgba(255,255,255,0.25);*/
}



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


    .id-pdf-catalogue-item {
        max-width: 50%;
        -ms-flex: 0 0 50%;
        -moz-flex: 0 0 50%;
        -webkit-flex: 0 0 50%;
        flex: 0 0 50%;        
    }    
}

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

    .id-pdf-catalogue-item {
        max-width: 33.3%;
        /*margin-right: 30px;*/
        -ms-flex: 0 0 33.3%;
        -moz-flex: 0 0 33.3%;
        -webkit-flex: 0 0 33.3%;
        flex: 0 0 33.3%;        
    }    
    .id-pdf-catalogue-item {
        max-width: 25%;
        /*margin-right: 30px;*/
        -ms-flex: 1 1 25%;
        -moz-flex: 1 1 25%;
        -webkit-flex:1 1 25%;
        flex: 1 1 25%;        
    }    
}

.id-pdf-catalogue-item img {
    box-shadow: 0 0 3px rgba(0,0,0,0.15);
}


/* 
* ------------------------------------------------------------------------
* 
* Title
* 
* ------------------------------------------------------------------------
*/

h4.id-pdf-catalogue-title::before {
    content: '\25A0';
    color: #0080a2;
    position: absolute;
    top: auto;
    left: 0;
    right: auto;
    bottom: auto;
}

h4.id-pdf-catalogue-title {
    position: relative;
    font-size: 1em;
    margin-top: 1em;
    padding-left: 20px;
    text-align: left;
    /*margin-bottom: 1em;*/
    padding-top: 1ex;
    /*padding-bottom: 1ex;*/
    border-top: 1px dashed rgba(0,0,0,0.15);
    /*border-bottom: 1px dashed rgba(0,0,0,0.15);*/
    text-transform: uppercase;
}

/* 
* ------------------------------------------------------------------------
* 
* Excerpt Hover Effect 
* 
* ------------------------------------------------------------------------
*/
.id-pdf-catalogue-item {
    position: relative;
    overflow: hidden;
}

.id-pdf-catalogue-excerpt-title>a {
    color: #fff;
}
.id-pdf-catalogue-excerpt-title>a:hover {
    color: #5cb85c;
}
.id-pdf-catalogue-excerpt-title {
    color: #fff;
    padding-bottom: 1ex;
    margin-bottom: 1ex;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}


.id-pdf-catalogue-excerpt>* {
    max-width: 100%;
}

.id-pdf-catalogue-excerpt {
    display: block;
    border-top: 10px solid #20a0c2;
    font-size: 0.75em;
    width: 100%;
    min-height: 50%;
    background-color: transparent;
    color: #fff;
    padding: 15px;
    padding-bottom: 50px;
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: -100%;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: all 500ms ease-out .1s;
    -moz-transition: all 500ms ease-out .1s;
    -o-transition: all 500ms ease-out .1s;
    transition: all 500ms ease-out .1s;
}


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

    .id-pdf-catalogue-excerpt {
        min-height: 35%;   
    }
}

.id-pdf-catalogue-excerpt:focus,
.id-pdf-catalogue-excerpt:hover {
    text-decoration: none;
    color: #fff;
    background-color: #20a0c2;
    cursor: pointer;
    opacity: 1;
}

.id-touch-hover.id-ios-hover-effect .id-pdf-catalogue-excerpt,
.id-pdf-catalogue-item:hover .id-pdf-catalogue-excerpt {
    background-color: #0080a2;
    /*    left: 0;
        right: 0;*/
    bottom: 0;
    opacity: 1;
    -webkit-transition: all 500ms ease-out .1s;
    -moz-transition: all 500ms ease-out .1s;
    -o-transition: all 500ms ease-out .1s;
    transition: all 500ms ease-out .1s;
}

.id-pdf-btn {
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
}



.fa-cloud-download {
    color: rgba(255,255,255,0.25);

    -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;
}
.fa-cloud-download:focus ,
.fa-cloud-download:hover   {
    /*font-size: 2.5em;*/
    color: rgba(255,255,255,1);

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


/* 
* ------------------------------------------------------------
*
* iOS TOUCH 
*
* ------------------------------------------------------------
*/

.id-ios-touch-hover {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
/* 
* ------------------------------------------------------------------------
* 
* Curl Top Right 
* 
* ------------------------------------------------------------------------
*/

.id-pdf-catalogue-item img {
    max-width: 100%;
    width: 100%;
    box-shadow: 0 0 5px rgba(0,0,0,0.15);
}

.hvr-curl-top-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}
.hvr-curl-top-right:before {
    pointer-events: none;
    position: absolute;
    content: '';
    height: 0;
    width: 0;
    top: 0;
    right: 0;
    background: white;
    /* IE9 */
    background: linear-gradient(225deg, #1c2c33 45%, #aaaaaa 50%, #cccccc 56%, white 80%);
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: width, height;
    transition-property: width, height;
}

.id-touch-hover.id-ios-hover-effect .hvr-curl-top-right:before,
.hvr-curl-top-right:hover:before,
.hvr-curl-top-right:focus:before,
.hvr-curl-top-right:active:before {
    width: 25px;
    height: 25px;
    width: 35px;
    height: 35px;
}

