/**
    *generate
 */

[v-cloak] {
    /* Hide un-compiled mustache bindings until the Vue instance is ready */
    display: none;
}

.tmpl_grid_layout {
    background: #EEE;
    counter-reset: grid-item;
}

/* clearfix */
.tmpl_grid_layout:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- grid-item ---- */

.grid-item {
    height: auto;
    float: left;
    width: 100%;
}

.grid-item img {
    width: 100%;
}

._box_category .grid-list {
    padding: 45px 0px;
}

.grid-list .heading {
    color: #7bb0e7;
    width: 100%;
    margin-bottom: 40px;
}

.grid-list .toolbar-title {
    position: relative;
}

.grid-list .toolbar-title:before {
    right: 100%;
    margin-right: 15px;
}

.grid-list .toolbar-title:after {
    left: 100%;
    margin-left: 15px;
}

.grid-list .toolbar-title:before, .grid-list .toolbar-title:after {
    content: "";
    position: absolute;
    height: 1px;
    border-bottom: 1px solid #579835;
    border-top: 1px solid #579835;
    top: 45%;
    width: 50vw;
}

.grid-list .middle {
    margin-bottom: 30px;
}

.btn-detail {
    display: inline-block;
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    border-color: #fff;
    border: solid 1px #fff;
    border-radius: 30px;
}

.btn-detail.view-all {
    font-size: 1.4rem;
}

.grid-list .btn-detail:hover {
    background: #fef502;
}

.grid-list .list .title {
    color: #ffc300;
    font-weight: 700;
}

/* The tool bar */
.toolbar {
    margin: 0 auto;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.toolbar a {
    cursor: pointer;
    display: inline-block;
    margin-right: 5px;
    text-decoration: none;
    padding: 6px 8px;
    color: #c2c2c2;
}

.toolbar a:hover {
    color: #000;
}

.toolbar a.active {
    color: #000;
}

.toolbar a.active:hover {
    cursor: default;
}

.toolbar .toolbar-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #7bb0e7;
    margin: 0px;
    display: inline-block;

}

.toolbar .hr {
    clear: both;
    display: block;
    width: 100%;
    height: 25px;
    line-height: 25px;
    position: relative;
    margin: 30px 0;
    color: #b0b0b0;
}

.toolbar .hr-short {
    height: 20px;
    line-height: 20px;
    margin: 30px 0;
    float: none;
    border-color: #5b646b;
}

.hr-short .hr-inner {
    width: 100%;
    position: absolute;
    height: 1px;
    left: 0;
    top: 50%;
    width: 100%;
    margin-top: -1px;
    border-top-width: 1px;
    border-top-style: solid;

}

.toolbar .hr-short .hr-inner {
    width: 32%;
    left: 50%;
    margin-left: -16%;
}

.toolbar .hr-short .hr-inner-style {
    border-radius: 20px;
    height: 9px;
    width: 9px;
    border-width: 2px;
    border-style: solid;
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -5px;
    margin-top: -5px;
    background-color: #2c353d;
}

/*  General  layout*/
.grid-list .grid .title {
    color: #ffc300;
    font-weight: 700;
    text-align: center;
    height: 37px;
    overflow: hidden;
    margin: 25px 0px 5px;
    font-size: 1rem;
}

.grid-list .grid .text {
    color: #999999;
    overflow: hidden;
    line-height: 20px;
    max-height: 99px;
    font-size: 0.8rem;
}

.grid-list .grid .btn-view {
    background: transparent;
    text-align: center;
    border: none;
    position: relative;
}

.grid .p5 {
    padding: 5px 5px 10px 5px;
}

/**
    * G4C
 */
.grid.g4c .card {
    background: #FFF;
    position: relative;
    margin-bottom: 25px;
}

.grid.g4c .card .svg-wrapper {
    position: absolute;
    width: calc(100% + 4px);
    height: calc(100% + 25px);
    top: 0px;
    left: 0px;
}

.grid.g4c .card .svg-wrapper svg {
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 4px);
    height: calc(100% + -17px);
}

.grid.g4c .card .svg-wrapper .shape {
    stroke-dasharray: 780px, 1170px;
    stroke-dashoffset: -1222px;
    stroke-width: 8px;
    fill: transparent;
    stroke: rgba(131, 202, 19, 1);
    border-bottom: 5px solid #000;
    transition: stroke-width 1s ease 0s, stroke-dashoffset 1s ease 0s, stroke-dasharray 1s ease 0s;
}

.grid.g4c .card:hover .shape {
    stroke-dasharray: 1330;
    stroke-dashoffset: 0;
    stroke-width: 5px;
}

.grid.g4c .card::after {

}

.grid.g4c .card:hover::before {
    right: 0%;
}

.grid.g4c .card:hover::after {
    left: 0%;
}

.grid.g4c .card:hover::before, .grid.g4c .card:hover::after {
    width: 100%;
    height: 100%;
}

.grid.g4c .card .g4c-img-thumbnail {
    height: 160px;
}

.grid.g4c .card .g4c-img-thumbnail > img {
    height: 100%;
    width: 100%
}

.grid.g4c .title {
    color: #000;
    margin-top: 15px;
    font-size: 0.9rem;
}

.grid.g4c .text {
    color: #333;
    height: 60px;
    margin-top: 15px;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.grid.g4c .text.with-date {
    height: 36px;
}

.grid.g4c .btn-detail {
    background-color: #8dc63f;
    border: none;
}

.grid.g4c .btn-detail:hover {
    color: #ffffff;
    background-color: #3e8e41;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19);
}

/**
    *tmp02
 */

.grid_gallery .t_2 {
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

figure.t_2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
}

figure.t_2.w_animated:before {
    display: none;
}

figcaption {
    display: block;
}

figure.effect-oscar figcaption {
    padding: 3em;
    background-color: rgba(58, 52, 42, 0);
    -webkit-transition: background-color 0.35s;
    transition: background-color 0.35s;
}

.grid_gallery figure figcaption, .grid_gallery figure figcaption .wrapper > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid_gallery figure figcaption .wrapper > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid_gallery figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid_gallery figure figcaption .wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

figure.effect-oscar:hover img {
    opacity: 0.4;
}

figure.effect-oscar:hover figcaption {
    background-color: rgba(58, 52, 42, 0.3);
}

figure.effect-oscar figcaption::before {
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: 1px solid #fff;
    content: '';
}

figure.effect-oscar figcaption::before, figure.effect-oscar p {
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(0);
    transform: scale(0);
}

figure.effect-oscar:hover figcaption::before, figure.effect-oscar:hover p {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

figure.effect-oscar .title {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    opacity: 0;
    color: #fff;
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}

figure.effect-oscar .title h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

figure.effect-oscar:hover .title {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

figure.effect-oscar .title .view-detail {
    text-transform: none;
    padding: 8px 12px;
    margin: 10px 0px 0px 0px;
    background: #579835;
    color: #fff;
    font-size: 0.8rem;
    line-height: 30px;

}

@media screen and (max-width: 992px) {
    ._box_category .grid-list {
        padding: 25px 0px;
    }

    .grid-list .heading {
        margin-bottom: 20px;
    }

}

@media screen and (max-width: 768px) {
    .grid.g4c .text {
        height: auto;
    }

    .grid.g4c .card .g4c-img-thumbnail {
        height: auto;
    }

    .grid.g4c .card .g4c-img-thumbnail > img {
        height: auto !important;
    }

    .grid.g4c .card svg {
        display: none;
    }
}

/* -------------------------------------------------- */
/*	Loader
/* -------------------------------------------------- */

.lazy-image {
    -webkit-transition: opacity .35s ease;
    transition: opacity .35s ease;
}

.img img {
    opacity: 0;

    -webkit-transition-delay: .5s;
    transition-delay: .5s;
}

.lazy {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 14px;
    margin-top: -7px;
    margin-left: -42px;
}

.G {
    position: absolute;
    background-color: #fff;
    width: 10px;
    height: 10px;

    -moz-animation-name: bounce_fountainG;
    -moz-animation-duration: 1.3s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: linear;
    -moz-transform: scale(.3);
    -moz-border-radius: 19px;
    -webkit-animation-name: bounce_fountainG;
    -webkit-animation-duration: 1.3s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: linear;
    -webkit-transform: scale(.3);
    -webkit-border-radius: 19px;
    -ms-animation-name: bounce_fountainG;
    -ms-animation-duration: 1.3s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-direction: linear;
    -ms-transform: scale(.3);
    -ms-border-radius: 19px;
    -o-animation-name: bounce_fountainG;
    -o-animation-duration: 1.3s;
    -o-animation-iteration-count: infinite;
    -o-animation-direction: linear;
    -o-transform: scale(.3);
    -o-border-radius: 19px;
    animation-name: bounce_fountainG;
    animation-duration: 1.3s;
    animation-iteration-count: infinite;
    animation-direction: linear;
    transform: scale(.3);
    border-radius: 19px;
}

.G_1 {
    left: 0;
    -moz-animation-delay: 0.52s;
    -webkit-animation-delay: 0.52s;
    -ms-animation-delay: 0.52s;
    -o-animation-delay: 0.52s;
    animation-delay: 0.52s;
}

.G_2 {
    left: 10px;
    -moz-animation-delay: 0.65s;
    -webkit-animation-delay: 0.65s;
    -ms-animation-delay: 0.65s;
    -o-animation-delay: 0.65s;
    animation-delay: 0.65s;
}

.G_3 {
    left: 20px;
    -moz-animation-delay: 0.78s;
    -webkit-animation-delay: 0.78s;
    -ms-animation-delay: 0.78s;
    -o-animation-delay: 0.78s;
    animation-delay: 0.78s;
}

.G_4 {
    left: 30px;
    -moz-animation-delay: 0.91s;
    -webkit-animation-delay: 0.91s;
    -ms-animation-delay: 0.91s;
    -o-animation-delay: 0.91s;
    animation-delay: 0.91s;
}

.G_5 {
    left: 40px;
    -moz-animation-delay: 1.04s;
    -webkit-animation-delay: 1.04s;
    -ms-animation-delay: 1.04s;
    -o-animation-delay: 1.04s;
    animation-delay: 1.04s;
}

.G_6 {
    left: 50px;
    -moz-animation-delay: 1.17s;
    -webkit-animation-delay: 1.17s;
    -ms-animation-delay: 1.17s;
    -o-animation-delay: 1.17s;
    animation-delay: 1.17s;
}

.G_7 {
    left: 60px;
    -moz-animation-delay: 1.3s;
    -webkit-animation-delay: 1.3s;
    -ms-animation-delay: 1.3s;
    -o-animation-delay: 1.3s;
    animation-delay: 1.3s;
}

.G_8 {
    left: 70px;
    -moz-animation-delay: 1.43s;
    -webkit-animation-delay: 1.43s;
    -ms-animation-delay: 1.43s;
    -o-animation-delay: 1.43s;
    animation-delay: 1.43s;
}

@-moz-keyframes bounce_fountainG {
    0% {
        -moz-transform: scale(1);
        background-color: #fff;
    }

    100% {
        -moz-transform: scale(.3);
        background-color: #fff;
    }
}

@-webkit-keyframes bounce_fountainG {
    0% {
        -webkit-transform: scale(1);
        background-color: #fff;
    }

    100% {
        -webkit-transform: scale(.3);
        background-color: #fff;
    }

}

@-ms-keyframes bounce_fountainG {
    0% {
        -ms-transform: scale(1);
        background-color: #fff;
    }

    100% {
        -ms-transform: scale(.3);
        background-color: #fff;
    }
}

@-o-keyframes bounce_fountainG {
    0% {
        -o-transform: scale(1);
        background-color: #fff;
    }

    100% {
        -o-transform: scale(.3);
        background-color: #fff;
    }

}

@keyframes bounce_fountainG {
    0% {
        transform: scale(1);
        background-color: #fff;
    }

    100% {
        transform: scale(.3);
        background-color: #fff;
    }

}

@media (max-width: 1366px) {
    figure.effect-oscar .title h5 {
        font-size: 0.95rem;
    }
}