/* RESPONSIVE 2016 */
@media screen
and (max-width: 360px) {

}

@media screen
and (min-width: 361px)
and (max-width: 768px) {

}

@media only screen
and (min-width : 769px) 
and (max-width : 993px) {
    div.catport_details div.ctg ul li {
        width: 50%;
        float: left;
    }
    div.catport ul {
        grid-gap: 1em;
        grid-template-columns: repeat(auto-fit, minmax(calc(50% - 1em), 1fr));

    }
}

@media only screen
and (min-width : 994px) 
and (max-width : 1169px) {
    div.catport_details div.ctg ul li {
        width: 50%;
        float: left;
    }
    div.catport ul {
        grid-gap: 1em;
        grid-template-columns: repeat(auto-fit, minmax(calc(50% - 1em), 1fr));
    }
}

@media only screen
and (min-width : 1170px) {
    div.catport_details div.ctg ul li {
        width: 25%;
        float: left;
    }
    div.catport ul {
        grid-gap: 1em;
        grid-template-columns: repeat(auto-fit, minmax(calc(50% - 1em), 1fr));

    }
}
/* --- */

div.catport_details {

}
div.catport_details div.ctg {
    -webkit-box-shadow: 1px 1px 5px 4px rgba(200, 200, 200, 0.3);
    -moz-box-shadow: 1px 1px 5px 4px rgba(200, 200, 200, 0.3);
    box-shadow: 1px 1px 5px 4px rgba(200, 200, 200, 0.3);

    background-color: rgba(255,255,255,0.5);
    padding-bottom: 1em;
}
div.catport_details div.ctg div.title {
    font-size: 2em;
    padding: 0.5em 0.5em;
    color: #963;
}
div.catport_details div.backlink {
    padding: 1em;
    text-align: right;
    overflow: hidden;
}
div.catport_details div.backlink a,
div.catport_details div.backlink a:hover {
    text-decoration: none;
}
div.catport_details div.ctg ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    overflow: hidden;

}
div.catport_details div.ctg ul li {
    padding: 0;
    margin: 0;
}
div.catport_details div.ctg ul li div.picture {
    position: relative;
    text-align: center;
    vertical-align: top;
    margin: 1em;
    padding: 0em;
    overflow: hidden;

    -webkit-box-shadow: 1px 1px 5px 2px rgba(200, 200, 200, 0.3);
    -moz-box-shadow: 1px 1px 5px 2px rgba(200, 200, 200, 0.3);
    box-shadow: 1px 1px 5px 2px rgba(200, 200, 200, 0.3);

    background-image: url(/system/images/wheel.svg);
    background-repeat: no-repeat;
    background-position: center center;
    /*	width: 100%; */
    padding-bottom: 50%;
    background-color: #FFF;
}
div.catport_details div.ctg ul li div.picture img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;

    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    transform: translate(-50%, -50%);
}

/* ---- */

div.catport {
    overflow: hidden;
}
div.catport ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    display: grid;
}
div.catport ul li {
    padding: 0;
    margin: 0;

    -webkit-box-shadow: 1px 1px 5px 4px rgba(200, 200, 200, 0.3);
    -moz-box-shadow: 1px 1px 5px 4px rgba(200, 200, 200, 0.3);
    box-shadow: 1px 1px 5px 4px rgba(200, 200, 200, 0.3);

}

div.catport ul li div.ctg {

    background-color: rgba(255,255,255,0.5);
    padding-bottom: 1em;
}
div.catport ul li div.ctg:hover {
    background-color: rgba(255,255,255,0.9);
}
div.catport ul li div.ctg div.title {
    font-size: 2em;
    padding: 0.5em 0.5em;
    color: #963;
}
div.catport ul li div.ctg div.desc {
    padding: 1em 1em;
    overflow: hidden;
    text-align: justify;
}	

div.catport ul li div.ctg div.pictures {
    position: relative;
    text-align: center;
    vertical-align: top;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    -webkit-box-shadow: 1px 1px 5px 2px rgba(200, 200, 200, 0.3);
    -moz-box-shadow: 1px 1px 5px 2px rgba(200, 200, 200, 0.3);
    box-shadow: 1px 1px 5px 2px rgba(200, 200, 200, 0.3);
    background-image: url(/system/images/wheel.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    padding-bottom: 50%;
    background-color: #FFF;
    border-top-width: 8px;
    border-top-style: solid;
    border-top-color: #963;
}
div.catport ul li div.ctg div.pictures img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;

    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, Opera */
    transform: translate(-50%, -50%);
}