﻿body {
}

#master {
    background-image: url('../images/article-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.footer-section {
    padding-top: 75px;
}

.nice-select.open .list {
    background-color: white;
}

.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus, #e-shop .nice-select .option:hover, #e-shop .nice-select .option.focus, #e-shop .nice-select .option.selected.focus {
    background-color: #ce9941;
    color: white;
}

.nice-select .list:hover .option:not(:hover), #e-shop .nice-select .list:hover .option:not(:hover) {
    color: #3f5764;
    background-color: white;
}

.nice-select .option, #e-shop .nice-select .option {
    background-color: white;
}

.nice-select:after {
    content: "";
    background: url(../images/ddl-arrow.png) no-repeat;
    background-size: contain;
    height: 25px;
    margin-top: -7.5px;
    width: 25px;
    transform: none;
    border: none;
}

.ddlSelection, .filtertxt {
    font-family: 'SourceSansPro-Regular';
    color: #ce9941;
    padding: 10px 35px;
    font-size: 16px;
    border: none;
    border: 1px solid #d4d4d4;
    border-radius: 5px;
    width: 80%;
    margin: 8px auto;
    box-sizing: border-box;
    display: block;
}

    .ddlSelection:before {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        height: 27px;
        margin-top: -7.5px;
        width: 20px;
        position: absolute;
        left: 5px;
        top: 38%;
        display: block;
        content: "";
    }

    .filtertxt.brand {
        background-size: 24px;
        background-repeat: no-repeat;
        background-position: left 5px center;
        background-image: url(../images/ddlbrands.png);
    }

    .ddlSelection.sort:before {
        background-image: url('../images/ddlsort.svg');
    }

    .ddlSelection:hover {
        color: black;
    }

    .ddlSelection.open:after {
        filter: sepia(1) drop-shadow(2px 4px 6px rgba(0,0,0,0.25));
    }

    .ddlSelection.open:after {
        transform: none;
    }

.article-top {
    width: 86%;
    padding: 20px 0;
    margin: 0px auto;
    padding-top: 30px;
}

.greyfont {
    text-align: center;
}

#article-listing {
    width: 90%;
    margin: 30px auto;
    margin-top: 0;
}

.article-item {
    width: 100%;
    display: block;
    -moz-transition: all 300ms;
    -webkit-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    margin-bottom: 10%;
}

    .article-item:hover {
        transform: scale(1.05);
    }

.article-item-image {
    width: 94%;
    margin: 0 auto;
    margin-bottom: -4px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

    .article-item-image img {
        width: 100%;
        opacity: 0;
        -moz-transition: all 300ms;
        -webkit-transition: all 300ms;
        -o-transition: all 300ms;
        transition: all 300ms;
    }

.article-item:hover .article-item-image img {
    opacity: 1;
}

.article-text {
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 50px;
}

.news-item p, .article-text a {
    color: #4e4e4e;
}

.article-section.single {
    width: 90%;
    margin: 0 auto;
}

.news-buttons {
    margin-top: 30px;
}

.article-section.single .article-item-image {
    margin-top: 30px;
    width: 100%;
}

.fb-icon {
    width: 27px;
}

.link-icon {
    width: 23px;
}

.black-icon {
    filter: brightness(0);
    -webkit-filter: brightness(0);
    opacity: 0.8;
    margin-left: 20px;
    margin-top: 16px;
}


@media Screen and (min-width:720px) {
    .ddlSelection, .filtertxt {
        display: inline-block;
        vertical-align: middle;
        padding: 10px 35px;
        width: 47%;
        margin: 0 1%;
        margin-bottom: 1%;
    }

    .article-item {
        width: 47%;
        margin: 1%;
        display: inline-block;
        height: 370px;
        vertical-align: middle;
    }
}

@media Screen and (min-width:920px) {

    .article-item {
        height: 400px;
    }
}

@media Screen and (min-width:1180px) {

    .article-item {
        height: 440px;
    }
}

@media Screen and (min-width:1280px) {

    .article-item {
        height: 460px;
    }
}

@media Screen and (min-width:1600px) {

    .article-item {
        height: 28.750vw;
    }
}

@media Screen and (min-width:1024px) {
    .ddlSelection, .filtertxt {
        display: inline-block;
        width: 25%;
        margin: 0%;
        margin-right: 4%
    }

    .article-section.single {
        margin: 0 auto;
        max-width: 62.500vw;
        width: 90%;
    }

        .article-section.single .article-item-image {
            width: 100%;
        }
}

@media Screen and (min-width:1280px) {
    .black-icon:hover {
        -ms-transform: scale(1.25); /* IE 9 */
        -webkit-transform: scale(1.25); /* IE 9 */
        transform: scale(1.25);
    }
}



@media Screen and (min-width:1360px) {
    .footer-section {
        padding-top: 5.515vw;
    }


    .ddlSelection, .filtertxt {
        font-size: 1.171vw;
        padding: 0.732vw 2.574vw;
        border: 0.073vw solid #d4d4d4;
    }

        .ddlSelection:before, .filtertxt:before {
            height: 1.985vw;
            margin-top: -0.551vw;
            width: 1.471vw;
            left: 0.368vw;
        }

    .article-text {
        height: 3.676vw;
    }

    .article-top {
        padding: 1.5vw 0;
        padding-top: 3vw;
    }

    .filtertxt.brand {
        background-size: 1.765vw;
        background-repeat: no-repeat;
        background-position: left 0.368vw center;
        background-image: url(../images/ddlbrands.png);
    }


    .news-buttons {
        margin-top: 2.206vw;
    }

    .article-section.single .article-item-image {
        margin-top: 2.206vw;
    }

    .black-icon {
        margin-left: 1.471vw;
        margin-top: 1.176vw;
    }

    .fb-icon {
        width: 1.985vw;
    }

    .link-icon {
        width: 1.691vw;
    }
}
