/**
* This is main css file. Don't edit the file if you want to update module in future.
* 
* @author    Globo Jsc <contact@globosoftware.net>
* @copyright 2016 Globo., Jsc
* @link	     http://www.globosoftware.net
* @license   please read license in file license.txt
*/

.ginstemplate_2 .g_load_more {
    display: none !important;
}
.ginstagram_w .g_l_i .g_bo_link { 
    max-height: 1000px !important;
    overflow: hidden;
}
.ginstagram_w .g_l_i img { 
    max-height: 1000px !important;
}
.caption_g {
    border-top: 1px solid #F0F1F8;
}
/*.caption_g p{
    max-height: 150px;
    overflow: auto;
}*/
.ghashtag {
    color: #07C;
}
.ins_caption {
    max-width: 100%;;
    clear: both;
    font-size: 14px;
    line-height: 22px;
    word-wrap: break-word;
    margin-top: 20px;
}
.ginstagramproduct {
    width: 100%;
    float: left;
}
.ginstemplate_1 .gitem_ {
    width: 20%;
    float:left;
    /*padding: 5px;*/
}
.ginstagramproduct .gitem_ img {
    max-width: 100%;
    margin: 0 auto !important;
}
.ginstagramproduct .gitem_ .gHoverimg {
    transition: transform 3.525s ease-out .01s,background-color .725s ease-in-out,opacity 3.525s ease-out;
}
.ginstagramproduct {
    margin-bottom: 10px;
    clear: both;
}
.ginstagramproduct .gitem_ a {
    cursor: pointer;
    display: block;
}
.ginstagramproduct .giconins {
    display: block;
    margin: auto;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    background: url('../../img/front/ginstagram_icon_2.png') no-repeat center;
    background-size: cover;
}
.ginstagramproduct .gtxtshopit {
    color: #fff;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 14px;
    background: rgb(0, 0, 0);
}
.ginstagramproduct .gtxtshopit:hover {
    opacity: 0.9;
}
.ginstagramproduct .gitem_ .g_l_i {
    position: relative;
    text-align: center;
    overflow: hidden;
}
.ginstagramproduct .gitem_ .g_l_i .g_btn_ins {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}
.ginstagramproduct .gitem_ .g_l_i:hover .g_btn_ins {
    opacity: 1;
    visibility: visible;
}
.ginstagramproduct .gitem_ .g_l_i .g_btn_ins > div {
    position: absolute;
    width: 100%;
    top: 45%;
    z-index: 2;
}
.g_bg_hover {
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    background: rgb(255, 255, 255);
    z-index: 1 !important;
    opacity: 0;
}
.ginstagramproduct .gitem_ .g_l_i:hover .g_bg_hover {
    opacity: 0.9;
}
.gmainpopup_ins img {
    width: 100%;
    max-width: 100%;
}
.gmainpopup_ins .gimg_ins {
    width: 60%;
    float: left;
    padding-right: 20px;
    text-align: center;
}
.gmainpopup_ins .gproduct_ins {
    width: 40%;
    float: left;
}
.gproduct_ins ul {
    padding: 0;
}
/*.gproduct_ins ul li {
    margin-bottom: 10px;
}*/
.gproduct_ins ul li .g_pro_selected_change {
   overflow: hidden;
    border: 1px solid #e6e5e5;
    padding: 5px;
    border-radius: 3px; 
}
.gproduct_ins ul li .g_pro_selected_change:hover {
    box-shadow: 0px 0px 3px #b1b1b1;
    -webkit-box-shadow: 0px 0px 3px #b1b1b1;
    -moz-box-shadow: 0px 0px 3px #b1b1b1;
    -ms-box-shadow: 0px 0px 3px #b1b1b1;
}
.gproduct_ins ul li .g_pro_selected {
    padding: 5px;
}
.gproduct_ins .gimgleft {
    float: left;
    max-width: 70px;
    margin-right: 10px;
    position: relative;
    min-width: 20px;
    min-height: 20px;
}
.gproduct_ins .gmetaright b{
    color: #FF4562;
}
.gproduct_ins .gmetaright a {
    display: block;
    font-size: 13px;
    color: #000;
}
.gproduct_ins .gmetaright .g_name_tag {
    color: #5d3017;
    font-size: 14px;
    display: block;
    float: left;
    width: 100%;
}
.gproduct_ins .gmetaright .g_name_tag:hover {
    color: #000;
}
.gproduct_ins .gmetaright .gaddcartins {
    border: 1px solid;
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
    background:#febf04;
    color: #fff;
    border-radius: 3px;
}
.gproduct_ins .gmetaright .gaddcartins:hover {
    background: #febf04;
    color: #fff;
    border: 1px solid #3AB59E;
}
.gproduct_ins h4 {
    margin: 0;
    margin-bottom: 10px;
    color: #000;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 1px solid #e6e5e5;
    padding-bottom: 10px;
}
.gproduct_ins .g_list_tag {
}
/* Style cart scroll */
.g_maxheight_ins {
    max-height: 500px;
    overflow-x: hidden;
    padding: 10px 0;
}
.g_maxheight_ins::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
    -ms-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}
.g_maxheight_ins::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}
.g_maxheight_ins::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.3);
    -moz-box-shadow: inset 0 0 3px rgba(0,0,0,.3);
    -ms-box-shadow: inset 0 0 3px rgba(0,0,0,.3);
	background-color: #cecece;
}
/* #Style cart scroll */

.gindex_ins {
    background: linear-gradient(to bottom,  #ffd65e 0%,#febf04 100%);
    color: #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 16px;
    font-size: 11px;
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid transparent;
}
.gwrapimgins {
    width: 100%;
    position: relative;
    display: inline-block;
}
.g_list_tag_pro .g_item_tag {
    background: #FF4562;
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    position: absolute;
    border: 2px solid #fff;
}
.g_list_tag_pro .g_item_tag.gactive {
    color: #fff;
    background-color: #FF4562;
    border-color: #fff;
}
/*.g_list_tag .gactive_listtag {
    box-shadow: 0px 0px 5px #b1b1b1;
    -webkit-box-shadow: 0px 0px 5px #b1b1b1;
    -moz-box-shadow: 0px 0px 5px #b1b1b1;
    -ms-box-shadow: 0px 0px 5px #b1b1b1;
}*/
.ginstagram_w .g_title_ins {
    text-align: center;
    position: relative;
    margin: 20px;
}
.ginstagram_w {
    clear: both;
    padding: 10px 0;
    margin-bottom: 10px;
    position: relative;
}
.wrap_g_ins.gtemplateFul {
}
.gloadmoreins {
    /*background: url(../../img/front/ginsloadmore.png) no-repeat center; */
    /* background-size: cover; */
    width: 140px;
    height: 40px;
    display: block;
    margin: auto;
    cursor: pointer;
}
.gloadmoreins:hover {
}
.g_load_more {
    clear: both;
    text-align: center;
    padding: 10px 0;
    display: none;
}
.gwaitingloadmore.gload {
    display: block;
    width: 64px;
    height: 64px;
    display: block;
    margin: auto;
    background: url('../../img/front/ajax-loader2.gif') no-repeat center;
}
.g_waiting_load {
    clear: both;
    text-align: center;
}
.g_waiting_load span {
    width: 64px;
    height: 64px;
    display: block;
    margin: auto;
    background: #fff url(../../img/admin/ajax-loader2.gif) no-repeat center;
    border-radius: 3px;
}
.ginstagramproduct .gwraperins {
    width: 64px;
    height: 64px;
    display: block;
    margin: auto;
    background: #fff url(../../img/admin/ajax-loader2.gif) no-repeat center;
    border-radius: 3px;
}
.ginstagram_w .bx-controls-direction a {
    top: 45% !important;
    z-index: 9;
    width: 30px !important;
    height: 30px !important;
}
.ginstagram_w .bx-prev {
    left: 10px;
}
.ginstagram_w .bx-next {
    right: 10px;
}
.ginstagram_w .bx-wrapper {
    position: relative;
}
.ginstemplate_3 .giconins {
    display: none !important;
}
.ginstagramproduct h5 {
    text-align: center;
}
.ginstagram_w .bx-controls-direction a:before {
    font-size: 30px !important;
    line-height: 30px !important;
    color: #000 !important;
}
.ginstagram_w .bx-controls-direction a:hover:before {
    color: #737373;
}
.globofancyboxins .fancybox-inner {
    height: auto !important;
}
.globofancyboxins .fancybox-skin{
    padding:0px !important;
    border-radius:0px;
    -webkit-border-radius: 0px;
    -moz-border-radius:0px;
}
.ginstemplate_2 .g_l_i {
    min-height: inherit !important;
}
.giconins_ .gicon_ins:before {
    content: "\f16d";
    font-family: "FontAwesome";
}
.giconins_ {
    display: block;
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 10px;
    color: #000;
}
.ginstagramproduct .gitem_ .g_l_i .g_btn_ins .gicon_ins {
    font-style: normal !important;
}
.ginstagramproduct.ginsshowicon .gitem_ .g_l_i .g_btn_ins > div {
    top: 35%;
}
.gtxtshopit.notshowbgbtn {
    background: none !important;
}
.fs-overlink-text {
    font-family: 'gt', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}
.fs-overlink-text {
    padding: 5px 10px;
    color: white;
    z-index: 10;
    margin-left: 10px;
    margin-top: 12px;
    background-color: rgba(0, 0, 0, 0.75);
    min-width: 250px;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transition: transform 0.25s, opacity 0.25s;
    -webkit-transition: -webkit-transform 0.25s, opacity 0.25s;
    -ms-transition: transform 0.25s, opacity 0.25s;
}
/*thai*/

.g_item_tag_bo {
    position: absolute;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 8px;
    line-height: 15px;
    font-weight: bold;
}
.globofancyboxins .fancybox-close{
    right: -10px;
    top: -30px;
    line-height: 22px;
    color: #fff;
    width: 19px;
    height: 25px;
    background: none !important;
}
/*.globofancyboxins .fancybox-close:before{
    font-family: snpt-ico!important;
    speak: none;
    font-style: normal;
    font-weight: 600;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    content: '\00D7';
    display: block;
    font-size: 35px;
    padding: 0;
}*/
.gfancybox-load{
    cursor: pointer;
    position: absolute;
    top: 147px;
    margin-top: -10px;
    color: #fff;
}
.globofancyboxins .prev-gload {
    left: -40px;
    padding: 20px 10px 20px 20px;
    font-size: 20px;
}
.globofancyboxins .prev-gload:hover {
    left: -45px;
}
.globofancyboxins .next-gload:hover {
    right: -35px;
}
.globofancyboxins .next-gload{
    right: -30px;
    padding: 20px 10px 20px 20px;
    font-size: 20px;
}
/* Responsive */
@media (min-width:1221px){
    .ginstemplate_3 .gitem_, .ginstemplate_1 .gitem_  {
        width:25%;
    }
}
@media (max-width:1200px){
    .ginstagramproduct .gtxtshopit {
        font-size:12px;
    }
    .ginstemplate_3 .gitem_, .ginstemplate_1 .gitem_  {
        width:25%;
    }
}
@media (max-width:991px){
    .ginstemplate_3 .gitem_, .ginstemplate_1 .gitem_  {
        width:25%;
    }
    .ginstagramproduct .gitem_ .g_l_i .g_btn_ins {
        display: none !important;
    }
}
@media (max-width:767px){
    .ginstemplate_3 .gitem_, .ginstemplate_1 .gitem_ {
        width:33.33333333%;
    }
}
@media (max-width:479px){
    .ginstemplate_3 .gitem_ , .ginstemplate_1 .gitem_{
        width:50%;
    }
    .gmainpopup_ins > div {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 10px;
    }
}
.gitem_{
    box-sizing: border-box;
}
.author_instagram{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F1F8;
}
.list .gproduct_ins .author_instagram .follow,
.grid .gproduct_ins .author_instagram .follow{
    position: relative;
    margin-left: 75px;
    transform: inherit;
    right: 0;
    display: table;
}
.author_instagram .author_thumb{
    padding: 2px;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 2px solid #FF38A3;
    border-radius: 100%;
    -ms-flex-preferred-size: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 60px;
    margin-right: 15px;
}
.author_instagram .author_name{
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.author_instagram .author_thumb a{
    display: block;    
    border-radius: 100%;
    overflow: hidden;
}
.author_instagram .follow{
    background: #FF4562;
    color: #fff;
    padding: 7px 15px;
    border-radius: 50px;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}
.gmainpopup_ins .gproduct_ins{
    padding: 10px 0;
    padding-right: 20px;
}
.date_like i{
    margin-right: 10px;
}
.date_like span{
    margin-left:  10px;
}
.grid ul{
    margin: 0 -5px;
}
.grid ul li{
    width: 50%;
    float: left;
}
.grid ul li .g_pro_selected_change .gindex_ins{
    display: none;
}
.grid ul li .g_pro_selected_change .gimgleft{
    width: 100%;
    margin: 0;
    max-width: 100%;
}
.grid ul li .g_pro_selected_change .gimgleft img{
    width: 100%;
}
.grid ul li .g_pro_selected_change .gmetaright a.g_name_tag{
    color: #575784;
    margin: 10px 0
}
.grid ul li .g_pro_selected_change .gmetaright b{
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
    float: left;
    width: 100%;
}
.item2 .gimg_ins,
.item2 .gproduct_ins,
.item .gproduct_ins,
.item .gimg_ins{
    width: 100%;
    padding-right: 0;
}
.item2 .gproduct_ins,
.item .gproduct_ins{
    padding: 20px;
}
.item2 .gmetaright .g_name_tag,
.item2 .gmetaright span,
.item2 .gmetaright b{
    width: 100%;
    display: block;
    float: inherit;
}
.item ul{
    margin: 0 -5px;
}
.item2 ul li{
    width: 100%;
}
.item ul li{
    width: 33.3333%;
    float: left;
}
.item ul li .g_pro_selected_change .gindex_ins{
    display: none;
}
.item ul li .g_pro_selected_change .gimgleft{
    width: 100%;
    margin: 0;
    max-width: 100%;
}
.item ul li .g_pro_selected_change .gimgleft img{
    width: 100%;
}
.item ul li .g_pro_selected_change .gmetaright a.g_name_tag{
    color: #575784;
    margin: 10px 0
}
.item ul li .g_pro_selected_change .gmetaright b{
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
    float: left;
    width: 100%;
}
.count_like{
    float: left;
    margin-right: 5px;
}
.date_like i{
    float: left;
}

@media(min-width:1200px){
    .gmainpopup_ins {
        max-width: 1000px;
        width: 1000px;
        max-height: 700px;
    }
}

.ginstemplate_4 {
    counter-reset: grid-item;
}
.ginstemplate_4 .gitem_ {
    float: left;
}
.grid .caption_g,
.list .caption_g{
    max-width: 320px;
}
.listimages #gitemp .g_proimg_link img{
    width: 100%;
}
.ginstagram_p .listimages .g_proimg_link{
    cursor: pointer;
}
#gitemp{
    float: left;
}
.ginstagram_p{
    margin: 15px 0;
    width: 100%;
    float: left;
}
#x2 {
    grid-column-end: span 2;
    grid-row-end: span 2;
}