
/*Variables*/


/*colors*/
@deep-dark: #727d83;
@normal-gray: #d0d4d6;
@light-gray: #fcfcfc;
@light-blue: #e3e6f0;
@border-color: #ddd;
@border-radius: 5px;


/* main wrapper */
#gc-app{
	background: #f8f8f8;
	color: #616161;
}
/* The left sidebar */
.gc-left-sidebar{
	width: 210px;
	height: 100%;
	padding: 15px 20px;
	float: left;
	background: @light-gray;
	border-right: 1px solid @border-color;
	box-sizing: border-box;
}
/* Main Grid Container */

.gc-center{
	float: left;
	background: #f8f8f8;
	width: ~"calc(100% - 420px)"; 
	max-width: ~"calc(100% - 420px)";
	padding:20px 30px;
	height:100%;
	max-height: 100%;
	box-sizing: border-box;
}

.gc-center-content{
	width:100%;
	height: 100%;
}

/* Right Sidebar */
.gc-right-sidebar{
	width: 210px;
	padding:20px;
	padding-left: 0;
	float: left;
	box-sizing: border-box;
	height: 100%;
	max-height: 100%;
	position: relative;
}

/* toolabar options menu */

/* options selector wraper */
.gc-options {
    padding: 20px;
    padding-top: 10px;
    margin-bottom: 20px;
    background: @light-gray;
    border: 1px solid @border-color;
    border-radius: @border-radius;
    position: relative;
    box-sizing: border-box;
}
.gc-option-select{
    text-align: center;
    cursor: pointer;
}
.gc-option-select-arrow{
	margin-top: -3px;
    margin-left: 5px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-top-color: @deep-dark;
    border-width: 4px 4px 0;
    width: 0;
    height: 0;
	position: absolute;
	top: 53px;
	right: 10px;
	cursor: pointer;
	-webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
    transition: transform 0.2s ease-out;
}
/* rotate arrow on open menu */
.gc-option-list-visible .gc-option-select-arrow{
	-webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.gc-options-list{
	border-top: 1px solid @border-color;
	box-sizing: border-box;
	width: 100%;
	height: 0;
	overflow: hidden;
	-webkit-transition: height 0.5s ease;
	transition: height 0.5s ease;
	opacity: 0;
	box-sizing: border-box;
	text-align: center;
}
.gc-option-list-visible .gc-options-list{
	height: auto;
	opacity: 1;
	margin-top: 10px;
	padding-top: 10px;
	display: block;
}
.gc-size-options .gc-options-list{
	-webkit-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 0;
	column-gap: 0;
}
.gc-options-list.gc-area {
    background: @border-color;
    transition: background 0.2s ease;

}
.gc-options-list .gc-grid-item:hover .gc-area{
	background: @light-blue;
}

/* grid size selector */
.gc-size-item{
	text-align: center;
	cursor: pointer;  
	font-size: 9px; 
	display: inline-block;
	vertical-align: middle;
	break-inside: avoid;
	padding: 4px;
}
.gc-size-content{
    border: 2px solid @deep-dark;
    background-color: @light-blue;
	box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	transition: background 0.2s ease;
}
.gc-options-list .gc-size-content:hover{
	background-color: #fff;
}
.gc-option-select .gc-size-content{
	background-color: #fff;
}
.gc-size-preview{
	padding-top: 5px;
}

/* grid sizess for social networks */

.gc-size-content{
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: center center;
}
.gc-size-pinterest{
	background-image: url(../images/social-pinterest.svg);
}
.gc-size-instagram{
	background-image: url(../images/social-instagram.svg);
}
.gc-size-facebook{
	background-image: url(../images/social-facebook.svg);
}
.gc-size-facebook-twitter{
	background-image: url(../images/social-twitter.svg);
}
/* image selector container wrapper */
.gc-image-list {
	overflow-y: hidden;
	max-height: ~"calc(100% - 74px)";
}
	
.gc-image-list:hover {
	overflow-y: auto;
}

#gc-image-options {
    max-height: 100%;
	height: 100%;
}

#gc-image-options .gc-image {
    display: inline-block;
	margin-bottom: 10px;
	width: 150px;
	cursor: move;
}

/*Generate button container*/
.gc-sidebar-footer{
	border-top: 1px solid @border-color;
	padding-top: 20px;
}

/* Generate Button */

#gc-generate{
	background: #E61859;
	color: #fff;
	border-radius: @border-radius;
	padding: 12px 35px;
	font-size: 15px;
	border: 0px transparent;
	outline: none;
	line-height: 1em;
	cursor: pointer;
	display: inline-block;
}
#gc-generate:hover{
	opacity: 0.9;
}

.gc-image-option-title {
    height: 30px;
    display: inline-block;
	color: @deep-dark;
	font-size: 13px;
}

.gc-sidebar-footer {
    height: 50px;
    position: absolute;
    bottom: 0;
}

.gc-toolbar{
	height:~"calc(100% - 50px)";
	max-height:~"calc(100% - 50px)";
	overflow: hidden;
}

.gc-toolbar:hover{
	overflow: auto;
}

/* main image wrapper */
.gc-canvas-wrap{
	overflow: hidden;
	position: relative;
}

/* main image grid wrapper */
#gc-canvas{
	position: relative;
	background: #e6e6e6;
}

/* predefined grid cell*/
.gc-area{
   position: absolute;
   top:0;
   left: 0;
   box-sizing: border-box;
}

#gc-canvas .gc-area{
	background-size: cover;
	border:2px solid #fff;
	overflow: hidden;
	background-color: #ececec;
}
/* grid selector grid wrapper*/
.gc-grid-item {
    width: 50px;
    height: 60px;
    display: inline-block;
    margin: 5px;
	cursor: pointer;
	position:relative;
	border:1px solid @deep-dark;
	box-sizing: border-box;
}

.gc-grid-item .gc-area{
	border: 1px solid @deep-dark;
	background: #fff;
}

/* enables the drag and drop effect for a background image */
.gc-position-overlay{
	position: relative;
	left: 0;
	top:0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.gc-has-image{
	cursor: move;
}

.gc-grid-btn{
	display: inline-block;
    float: left;
    margin: 0 10px 10px 0;
}

/* improves the image drag and drop functionality */
.gc-drop-hover{
	opacity: 0.3;
}

#gc-canvas .gc-area.gc-drop-hover{
	transition: all 0.1s ease;
}

#gc-canvas .gc-area.gc-drop-hover {
    background-color: #bbb;
    /*transform: scale(1.1);*/
}

.gc-image.ui-draggable-dragging{
	transform:scale(0.7);
	transform-origin: top left;
}


.gc-add-images-btn{
	display: inline-block;
	width: 150px;
	height: 34px;
	background: #0D102C;
	color: #fff;
	text-align: center;
	border-radius: @border-radius;
	line-height: 34px;
	margin:  10px 0;
	font-size: 15px;
	cursor: pointer;
}
.gc-add-images-btn:before{
	content: "Add images";
}
.gc-add-images-btn:hover{
	opacity: 0.9;
}
.gc-option-title{
	text-align: center;
	font-size: 13px;
	margin-bottom: 7px;
	color: @deep-dark;
}
