/*! gridster.js - v0.5.6 - 2014-09-25
* http://gridster.net/
* Copyright (c) 2014 ducksboard; Licensed MIT */

.gridster {
    position:relative;
}

.gridster > * {
    margin: 0 auto;
    -webkit-transition: height .4s, width .4s;
    -moz-transition: height .4s, width .4s;
    -o-transition: height .4s, width .4s;
    -ms-transition: height .4s, width .4s;
    transition: height .4s, width .4s;
}

.gridster .gs-w {
    z-index: 2;
    position: absolute;
	overflow: hidden;
	background-color: #ccc;
}

.ready .gs-w:not(.preview-holder) {
    -webkit-transition: opacity .3s, left .3s, top .3s;
    -moz-transition: opacity .3s, left .3s, top .3s;
    -o-transition: opacity .3s, left .3s, top .3s;
    transition: opacity .3s, left .3s, top .3s;
}

.ready .gs-w:not(.preview-holder),
.ready .resize-preview-holder {
    -webkit-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
    -moz-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
    -o-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
    transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
}

.gridster .preview-holder {
    z-index: 1;
    position: absolute;
    background-color: #fff;
    border-color: #fff;
    opacity: 0.3;
}

.gridster .player-revert {
    z-index: 10!important;
    -webkit-transition: left .3s, top .3s!important;
    -moz-transition: left .3s, top .3s!important;
    -o-transition: left .3s, top .3s!important;
    transition:  left .3s, top .3s!important;
}

.gridster .dragging,
.gridster .resizing {
    z-index: 10!important;
    -webkit-transition: all 0s !important;
    -moz-transition: all 0s !important;
    -o-transition: all 0s !important;
    transition: all 0s !important;
}


.gs-resize-handle {
    position: absolute;
    z-index: 1;
}

.gs-resize-handle-both {
    width: 20px;
    height: 20px;
    bottom: -8px;
    right: -8px;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=');
    background-position: top left;
    background-repeat: no-repeat;
    cursor: se-resize;
    z-index: 20;
}

.gs-resize-handle-x {
    top: 0;
    bottom: 13px;
    right: -5px;
    width: 10px;
    cursor: e-resize;
}

.gs-resize-handle-y {
    left: 0;
    right: 13px;
    bottom: -5px;
    height: 10px;
    cursor: s-resize;
}

.gs-w:hover .gs-resize-handle,
.resizing .gs-resize-handle {
    opacity: 1;
}

.gs-resize-handle,
.gs-w.dragging .gs-resize-handle {
    opacity: 0;
}

.gs-resize-disabled .gs-resize-handle {
    display: none!important;
}

[data-max-sizex="1"] .gs-resize-handle-x,
[data-max-sizey="1"] .gs-resize-handle-y,
[data-max-sizey="1"][data-max-sizex="1"] .gs-resize-handle {
    display: none !important;
}

/* Uncomment this if you set helper : "clone" in draggable options */
/*.gridster .player {
  opacity:0;
}
*/

li.gs-w{
	text-align:center;
}
.catalog-category-view .gs-w > h2 {
  bottom: 35px;
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  padding: 0 3%;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 1000;
  text-shadow:1px 2px 0 #333, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
}
.gridimg {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 99;
}
li.gs-w .catgrid_a {
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
  z-index: 1001;
}
.catalog-category-view .gs-w > h3 {
  bottom: 45px;
  color: #fff;
  font-size: 0.9em;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  z-index: 1000;
  text-shadow: 1px 1px 0 #333, -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333;
}
.catgrid-adminhtml-category-edit .gridster ul h5.warning {
    position: relative;
    top: -30px;
    text-align: center;
	color:#eb5e00
}
.catgrid-adminhtml-category-edit .gridster ul {
    margin-top: 40px;
}
.blink_me {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {  
  50% { opacity: 0.0; }
}



/*
=================================================================
							RESPONSIVE CSS
=================================================================
*/

@media only screen and (min-width:1024px) and (max-width:1325px)
{
	.gridster{max-width:910px; margin:0 auto;}
	.gridster ul{
    /*height: 550px!important;*/
    width:100%!important;
  }
	[data-sizex="1"]{width:150px;} [data-sizey="1"]{height:150px;}
	[data-sizex="2"] { width: 304px;}[data-sizey="2"] { height: 280px;}
	[data-sizex="3"] { width: 460px;}
	[data-row="2"] { top: 160px;}
	[data-row="3"]{ top: 290px;}
	[data-row="4"] { top: 444px;}
	[data-col="1"] { left:0;}
	[data-col="2"] { left: 154px;}
	[data-col="3"] { left: 309px;}
	[data-col="4"] { left: 464px;}
	[data-col="5"] { left:619px;}
	[data-col="6"] { left: 774px;}
	
	
}

@media only screen and (min-width:768px) and (max-width:1023px)
{
	.gridster{
    max-width:660px;
     margin:0 auto;}
	.gridster ul{
    width:100%!important; 
    height: auto !important;
  }
	.gridster .gs-w{left:0; top:0; float:left; position:relative;width:215px;  margin:0 5px 5px 0;  height:auto;    min-height: 215px;
    background-color: transparent;    max-height: 215px;}
	.gridster .gs-w:nth-child(3n){margin:0 0 1% 0;}
	.gridster .gs-w h2,.gridster .gs-w h3, .gridster .gs-w span{display:none;}
	.gridimg{position:relative;}
}

@media only screen and (min-width:480px) and (max-width:767px)
{
	.gridster{max-width:420px; margin:0 auto;}
	.gridster ul{width:100%!important; height:auto !important;}
	.gridster .gs-w{left:0; top:0; float:left; position:relative;width:207px;  margin:0 5px 5px 0;  height:auto;    min-height: 207px;   max-height: 207px; background-color:transparent;}
	.gridster .gs-w:nth-child(2n){margin:0 0 5px 0;}
	.gridster .gs-w h2,.gridster .gs-w h3, .gridster .gs-w span{display:none;}
	.gridimg{right: 0; bottom: 0; margin: auto;}
	li.gs-w .catgrid_a{min-height:207px;}
}
@media only screen and (min-width:320px) and (max-width:479px)
{
	.gridster{max-width:100%; margin:0 auto;}
	.gridster ul{width:100%!important; height:auto !important;}
	.gridster .gs-w{left:0; top:0; float:left; position:relative;width:100%;  margin:0 0 5px 0;  height:auto;  background-color:transparent;}
	.gridster .gs-w:nth-child(2n){margin:0 0 5px 0;}
	.gridster .gs-w h2,.gridster .gs-w h3, .gridster .gs-w span{display:none;}
	.gridimg{right: 0; bottom: 0; margin: auto; position:relative;}
	li.gs-w .catgrid_a{position:absolute;}
}
