/*
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 : Feb 7, 2017, 1:46:37 PM
    Author     : Manh Ha Hoang
*/

/* Luôn ẩn from tìm kiếm */
#search-form {
    display: none;
    padding: 15px 5px 0 5px;
}

@media (min-width: 1025px) {
    .button-float {
        position: absolute;
        top: 25px;
        right: 15px;
        z-index: 1;
    }
}
@media (max-width: 1024px) {
    .vertical.list-store {
        width: 100px;
    }
    .offer-item-content {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
    }
    .coupon-content-wrap {
        width: calc(100% - 70px);
        padding-left: 15px;
    }
}
@media (min-width: 768px) {
    .site-header .container--full {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}
@media (min-width:769px) {
    .site-header .search-form {
        -moz-box-flex: 1;
        -moz-box-ordinal-group: 2;
        flex: 1 5 0;
        margin: 0;
        order: 1;
        width: auto;
    }
    .site-header .site-nav {
        -moz-box-flex: 1.6;
        -moz-box-ordinal-group: 3;
        flex: 1.5 1 0;
        text-align: right;
        margin-right: 40px;
    }

    .show-search, .close-search {
        top: 16px;
        right: 12px;

    }

}

@media (max-width:740px) {
    #site-main {
        padding-top: 50px;
    }
    .page-full-width {
        padding-bottom: 5px;
        margin-bottom: 15px;
    }
    .caption-header {
        font-size: 27px;
    }
    .navbar-brand {
        padding: 5px 0;
    }
    .offer-content {
        margin-right: 0;
        margin-left: 0;
    }
    .offer-meta-details {
        padding-left: 15px;
    }
    .offer-meta-details .offer-meta-exclusive,
    .offer-meta-details .offer-meta-promoted,
    .offer-meta-details .offer-meta-verified {
        display: block;
    }
    .has-separator-dot:before {
        display: none;
    }
    .has-separator-dot {
        margin-left: 0;
    }
    .offer-title {
        clear: both;
        font-size: 19px;
        color: #005baa;
        line-height: 1em;
    }
    .expired-coupons .offer-title,
    .expired-coupons .offer-details{
        clear: inherit;
    }
    .expired-coupons .offer-feedback {
        clear: both;
        margin-top: 7px;
        margin-left: -15px;
        margin-right: -15px;
        border-top: 1px solid #ccc;
        padding:5px 15px 0 15px
    }
    .site-nav[role=navigation] {
        position: fixed;
        display: block;
        background: #fff;
        top: 0;
        left: 0;
        z-index: 9;
        height: 100%;
        width: 300px;
        -webkit-transform: translateX(-110%);
        -ms-transform: translateX(-110%);
        transform: translateX(-110%);

        -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .175);
        box-shadow: 0  2px 4px rgba(0, 0, 0, .175);

        transition: all 250ms ease-out;
        -webkit-transition: all 250ms ease-out;
        -ms-transition: all 250ms ease-out;
    }
    .darkness:before {
        font-family: 'FontAwesome';
        content: "\f00d";
        position: absolute;
        top: 0;
        right: 0;
        font-size: 25px;
        padding: 10px 15px;
        display: inline-block;
        cursor: pointer;
    }
    .darkness {
        background: rgba(0, 0, 0, 0.5);
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 5;
        -webkit-transform: translateX(-110%);
        -ms-transform: translateX(-110%);
        transform: translateX(-110%);

        transition: all 250ms ease-out;
        -webkit-transition: all 250ms ease-out;
        -ms-transition: all 250ms ease-out;
    }

    .open-menu .site-nav[role=navigation],
    .open-menu .darkness {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    .open-menu {
        overflow: hidden;
    }

    .open-menu .navbar-toggle {
        display: none !important
    }


    .navbar-nav > li > a:active,
    .navbar-nav > li > a:hover,
    .navbar-nav > li > a {
        color: #0878bb;
        font-weight: 600;
        font-size: 17px;
    }

    .navbar-nav li.current a,
    .navbar-nav li.current a:hover {
        color: #f27123;
        cursor: default;
    }
    .navbar-nav li + li {
        border-top: 1px solid rgba(111, 111, 111, 0.2);
    }
    .dropdown-menu > li > a {
        color: #fff;
    }
    .blog-img-feature.vertical {
        height: 145px;
    }
    .blog-img-feature.vertical img {
        height: 145px;
        max-width: fit-content;
    }
    .blog-headings h1 {
        font-size: 17px;
    }
    .media.story .media-left,
    .media.story .media-body {
        display: inline-block;
        width: auto;
    }
    .media.story .media-body {
        padding-left: 0;
        margin: 15px auto 0;
    }
    .story-wrapper h2.media-heading {
        font-size: 17px
    }
    .media.story .media-left {
        margin: auto;
        display: block;
        vertical-align: middle;
        overflow: hidden;
        height: 120px;
    }
    .media.story .media-left img {
        height: auto;
        margin: 0 auto;
        position: relative;
        top:50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .story-wrapper .story {
        margin-bottom: 15px;
    }
    .read-more {
        margin: 0 auto;
    }
    .post-metadata {
        margin-bottom: 15px;
    }
    .sign-up, .realative-coupons {
        margin: 15px 0;
        padding: 0 15px;
    }
    h1.merchant-name {
        font-size: 23px;
        font-weight: 400;
    }
    .blog-listing + .blog-listing {
        margin-top: 25px;
    }
}
@media (max-width:480px) {
    .col-sm-7.copy-txt {
        text-align: center;
    }
    .offer-actions-form.pull-right {
        float: none!important;
        clear: both;
        text-align: left;
    }
    .list-products li:nth-child(2n+1) {
        clear: left;
    }
    .container .coupon-detail {
        margin-left: -15px;
        margin-right: -15px;
    }
}
@media (max-width:321px) {
    .category-link {
        display: block;
        width:  95px;
        height: 95px;
        overflow: hidden;
        text-decoration: none;
        text-align: center;
        padding: 2px;
        background: #fff;
        color: gray;
        font-size: 17px;
    }
    .category-card {
        margin: 8px;
    }
}
