#options_grid {
	width      : 78%;
	float      : left;
}
.product-view.upload-product #options_grid {
	min-height : 200px;
}

.print_setup #options_grid .part {
	width            : 46.6%;
	margin-bottom    : 19px;
	float            : left;
	font-size        : 16px;
	color            : rgba(0, 0, 0, 0.67);
	border-right     : 1px solid #ffffff;
	text-transform   : capitalize;
	line-height      : 30px;
	text-align       : center;
	border-bottom    : 1px solid #eeeeee;
	background-color : #f5f5f5;
	font-family      : "Open sans";
	padding          : 3px;
	border           : 1px solid #e1e1e1;
	
}

#options_grid .part:hover {
	background-color   : #fff;
	cursor             : pointer;
	-webkit-transition : background-color 400ms linear;
	-moz-transition    : background-color 400ms linear;
	-o-transition      : background-color 400ms linear;
	-ms-transition     : background-color 400ms linear;
	transition         : background-color 400ms linear;
}

#options_grid .part.active {
	background-color : #fff;
	font-weight      : 600;
	color            : rgba(0, 0, 0, 0.67);
	border-top       : 3px solid #A0EBFF;
	padding-top: 1px;
}

#options_grid .attribute_tab {
	width : 200px;
}

#options_grid .inactive {
	position : relative;
	top      : 1000px;
	left     : 2000px;
	display  : none !important;
}

#options_grid .attribute_tab:hover {
	cursor : pointer;
}

#options_grid .active {
	display : block !important;
}

#options_grid .options_select {
	display : none;
	width: inherit;
}
#options_grid .options_select.active { 
	display: table-cell !important; display: -webkit-box !important; display: -ms-flexbox !important; display: -webkit-flex !important; display: flex !important;
	-webkit-box-lines: multiple; -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; flex-wrap: wrap;
}

#options_grid .options {
	width       : 100%;
	cursor      : pointer;
	font-family : "Open sans";
}

#options_grid .option, .custom_format {
	cursor                : pointer;
	float                 : left;
	text-align            : center;
	padding               : 10px;
	width                 : 130px;
	margin                : 10px 3px 3px 3px;
	font-size             : 100%;
	background            : #fff;
	border                : 5px solid #fff;
	border-radius         : 3px;
	-webkit-border-radius : 3px;
	-moz-border-radius    : 3px;
	margin                : 10px 15px 3px 3px;
	-webkit-border-radius : 3px;
	-moz-border-radius    : 3px;
	-webkit-box-shadow    : 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow       : 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
	box-shadow            : 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
	display: -webkit-inline-box; display: -ms-inline-flexbox; display: -webkit-inline-flex; display: inline-flex;
    -webkit-box-lines: multiple; -ms-flex-wrap: wrap; -webkit-flex-wrap: wrap; flex-wrap: wrap;
    -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center;
}

#options_grid .format {
	min-height       : 50px;
	min-width        : 50px;
	margin           : 30% auto;
	background-color : grey;
}

#options_grid .img-placeholder {
	min-height       : 50px;
	min-width        : 50px;
	background-color : rgba(0, 0, 0, 0.2);
	margin: 25px auto 10px;
	width: 100%;
	-ms-flex-align-self: end; -webkit-align-self: flex-end; align-self: flex-end;
}

#options_grid #format-a4p {
	width  : 20px;
	height : 70px;
}

#options_grid #format-a3l {
	width  : 70px;
	height : 20px;
}

#options_grid #format-dinlong_landscape {
	width : 100px;
}

#options_grid #format-a5l {
	width : 70px;
}

#options_grid .option:hover {
	font-weight           : 600;
	-webkit-box-shadow    : 0px 0px 20px 7px rgba(0, 0, 0, 0.09);
	-moz-box-shadow       : 0px 0px 20px 7px rgba(0, 0, 0, 0.09);
	box-shadow            : 0px 0px 20px 7px rgba(0, 0, 0, 0.09);
}

#options_grid .option.active {
	background-color : #ffffff;
	font-weight      : 600;
}

#options_grid .attribute_tab div {
	font-size        : 16px;
	color            : rgba(0, 0, 0, 0.67);
	border-right     : 1px solid #ffffff;
	text-transform   : capitalize;
	line-height      : 30px;
	text-align       : center;
	border-bottom    : 1px solid #eeeeee;
	padding          : 3px 0px 3px 0px;
	background-color : #f5f5f5;
	font-family      : "Open sans";
	border           : 1px solid #e1e1e1;
	
}

#options_grid .attribute_tab div:hover {
	background-color   : #FFF;
	-webkit-transition : background-color 400ms linear;
	-moz-transition    : background-color 400ms linear;
	-o-transition      : background-color 400ms linear;
	-ms-transition     : background-color 400ms linear;
	transition         : background-color 400ms linear;
}

#options_grid .attribute_tab div.active {
	/*font-size:17px;
	/*color: #ffffff;*/
	background-color : #FFF;
	padding          : 3px;
	border-top-width : 3px;
	border-top-style : solid;
	padding-top      : 1px;
}

.product-shop.grid12-5, .product-img-box, .product-secondary-column.grid12-3 {
	/*display:none !important;*/
}

#options_grid .btns span {
	margin-left : 1%;
}

#options_grid .btns { /*margin-left: 7%; */
}

.upload-table-row {
	text-align    : center;
	margin-bottom : 20px;
}

#s2id_select_custom_max_qty_custom_max_qty, #s2id_select_custom_min_qty_custom_min_qty, #s2id_select_pck_unit_pck_unit,
#s2id_select_enable_qty_enable_qty, #s2id_select_op_order_op_order, #s2id_select_live_preview_template_live_preview_template{display:none;}

#options_grid .qq-upload-button {
	background-color      : #fff !important;
	color: rgba(0,0,0,0.7) !important;
	line-height: 75px !important;
	height: 75px !important;
	width                 : 98%;
	border                : 9px solid #fff;
	border-radius         : 3px;
	-webkit-border-radius : 3px;
	-moz-border-radius    : 3px;
	-webkit-box-shadow    : 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow       : 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
	box-shadow            : 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
	margin: 10px 10px 10px 0px;
}

#options_grid .qq-upload-button .upload_text {
	display : none;
}

@media (max-width : 959px) {
	#options_grid {
		display : none;
	}
}

@media only screen and (max-width: 767px) {
	.product-view .product-shop,
	.product-view .product-shop-info {
		overflow: visible !important;
	}
}

#options_grid .product-view .product-img-box {
	width  : auto !important;
	height : auto !important;
}

#options_grid .product-img-box .product-image img {
	max-width : 494px /*!important*/;
	height    : auto;
}

@media screen and (max-width : 959px) {
	#side_product_upload {
		display : block;
	}
}