/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* ปิด grayscale filter */
body.no-grayscale,
body.no-grayscale * {
    -webkit-filter: grayscale(0%) !important;
    -moz-filter: grayscale(0%) !important;
    -ms-filter: grayscale(0%) !important;
    -o-filter: grayscale(0%) !important;
    filter: grayscale(0%) !important;
}

body.no-grayscale img,
body.no-grayscale picture,
body.no-grayscale video,
body.no-grayscale canvas,
body.no-grayscale svg {
    -webkit-filter: grayscale(0%) !important;
    filter: grayscale(0%) !important;
}

.black-ribbon {
    position: fixed;
    top: 0;
    left: 0;
    width: 132px;
    z-index: 99999;
}

.admin-bar .black-ribbon {
    top: 32px;
}

.remove-filter {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
}

.admin-bar .remove-filter {
    top: 32px;
}

.btn-remove-filter {
    display: block;
    padding: 6px 20px;
    margin-top: 18px;
    margin-right: 20px;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-remove-filter:hover {
    background-color: #555;
}

 /* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    .black-ribbon {
        width: 96px;
    }
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
    .black-ribbon {
        width: 64px;
    }
    .admin-bar .black-ribbon {
        top: 46px;
    }
    .admin-bar .remove-filter {
        top: 46px;
    }
}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
    .black-ribbon {
        width: 64px;
    }
    .admin-bar .black-ribbon {
        top: 46px;
    }
    .admin-bar .remove-filter {
        top: 46px;
    }
}