#{{table.view_id}} {
  {% if table.params.calc_width.val == 'table' %}
	width: {{ table.params.table_width.val }}{{ table.params.table_width_measure.val }};
  {% endif %}
  text-transform: uppercase;
}
#{{table.view_id}} .ptsCol {
  {% if table.params.calc_width.val == 'table' %}
  	{% if table.params.enb_desc_col.val and table.params.enb_desc_col.val != "0" %}
  		width: {{ 100 / (table.params.cols_num.val + 1) }}%;
  	{% else%}
  		width: {{ 100 / table.params.cols_num.val }}%;
  	{% endif %}
  {% else%}
	width: {{ table.params.col_width.val }}px;
  {% endif %}
  transition: box-shadow 0.25 ease 0;
}
#{{table.view_id}} p {
	margin: 0;
}
#{{table.view_id}} .ptsRows .ptsCell{
	padding: 12px;
	text-transform: none;
	
    border: 1px solid {{ adjBs(table.params.bg_color.val, 17) }};
    border-bottom: 1px solid {{ adjBs(table.params.bg_color.val, -34) }};
    border-right: 1px solid {{ adjBs(table.params.bg_color.val, -34) }};
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    text-shadow: 0 -1px rgba(0,0,0,0.6);
}
#{{table.view_id}} .ptsColHeader {
	padding: 15px;
}
#{{table.view_id}} .ptsColDesc {
	padding: 30px 15px;
}
#{{table.view_id}} .ptsRows .ptsCell:nth-child(odd) {
	background-color: {{ adjBs(table.params.bg_color.val, 0) }};
}
#{{table.view_id}} .ptsRows .ptsCell:nth-child(even) {
	background-color: {{ adjBs(table.params.bg_color.val, -12) }};
}
#{{table.view_id}} .ptsColFooter {
	background-color: {{ adjBs(table.params.bg_color.val, -23) }};
	padding: 20px;
	border: 1px solid {{ adjBs(table.params.bg_color.val, -51) }};
    box-shadow: inset 0 1px {{ adjBs(table.params.bg_color.val, 2) }},inset 0 0 0 1px rgba(255,255,255,0.1);
	
	/* gradient */
	background-image: linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='{{ adjBs(table.params.bg_color.val, -23) }}', endColorstr='{{ adjBs(table.params.bg_color.val, -44) }}'); /* IE5.5 - 7 */
	-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='{{ adjBs(table.params.bg_color.val, -23) }}', endColorstr='{{ adjBs(table.params.bg_color.val, -44) }}'); /* IE8 */
	background: -ms-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* IE9 */
	background: -moz-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* Firefox */ 
	background: -o-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* Opera 11  */
	background: -webkit-linear-gradient(top, {{ adjBs(table.params.bg_color.val, -23) }}, {{ adjBs(table.params.bg_color.val, -44) }}); /* Chrome 11  */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, {{ adjBs(table.params.bg_color.val, -23) }}), color-stop(1, {{ adjBs(table.params.bg_color.val, -44) }})); /* Chrome 10, Safari */
}
#{{table.view_id}} .ptsActBtn:hover {
	 background-color: {{ adjBs(table.params.bg_color.val, 110) }}; /* background color for non-css3 browsers */
}
#{{table.view_id}} .ptsActBtn {
	height: 50px;
	padding: 0 2em;
	cursor: pointer;
	font-weight: 400;
    font-size: 1.4em;
    text-decoration: none;
	display: inline-block;
  	padding: 4px 20px;
  	width: 100%;
  	border-radius: 3px;
}

#{{table.view_id}} .ptsActBtn .ptsEditArea {
  	text-decoration: none !important;
  	border: none !important;
	width: 100%;
	text-transform: none;
	line-height: 2em;
	color: #fff;
}
#{{table.view_id}} .ptsTableDescCol {
  {% if table.params.enb_desc_col.val == 0 %}
  	display: none;
  {% endif %}
}
#{{table.view_id}} .ptsCol .ptsTableElementContent,
#{{table.view_id}} .ptsCol .ptsTableElementContent span {
	transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;
  	-webkit-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;
    -moz-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;
    -ms-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;
    -o-transition: box-shadow 0.3s ease, margin 0.3s ease, font 0.3s ease;
}
#{{table.view_id}} .ptsCol.hover .ptsTableElementContent {
	z-index: 101;
  	box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
  	-webkit-box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
	margin-top: -20px;
}
#{{table.view_id}} .ptsCol.hover .ptsColHeader {
	border-top-left-radius: 5px;
  	border-top-right-radius: 5px;
}
#{{table.view_id}} .ptsCol.hover .ptsColFooter {
	border-bottom-left-radius: 5px;
  	border-bottom-right-radius: 5px;
}

/*start for desc col color */
#{{table.view_id}} .ptsCol.ptsTableDescCol  .ptsColHeader {
	background-color: #fff;
}
#{{table.view_id}} .ptsCol.ptsTableDescCol .ptsColDesc{
	background-color: #fff;
}
/*end for desc col color */

/*start for col color 1*/
#{{table.view_id}} .ptsCol-1 .ptsColHeader {
	background-color: #ed8000;
}
#{{table.view_id}} .ptsCol-1 .ptsColDesc,
#{{table.view_id}} .ptsCol-1 .ptsActBtn:hover {
	background-color: #f19300;
}
#{{table.view_id}} .ptsCol-1 .ptsActBtn {
	background-color: #ed8000;
}
/*end for col color 1*/

/*start for col color 2*/
#{{table.view_id}} .ptsCol-2 .ptsColHeader {
	background-color: #D85200;
}
#{{table.view_id}} .ptsCol-2 .ptsColDesc,
#{{table.view_id}} .ptsCol-2 .ptsActBtn:hover {
	background-color: #E06400;
}
#{{table.view_id}} .ptsCol-2 .ptsActBtn {
	background-color: #D85200;
}
/*end for col color 2*/

/*start for col color 3*/
#{{table.view_id}} .ptsCol-3 .ptsColHeader {
	background-color: #B5280B;
}
#{{table.view_id}} .ptsCol-3 .ptsColDesc,
#{{table.view_id}} .ptsCol-3 .ptsActBtn:hover {
	background-color: #C3350F;
}
#{{table.view_id}} .ptsCol-3 .ptsActBtn {
	background-color: #B5280B;
}
/*end for col color 3*/

/*Colors set*/
#{{table.view_id}} .ptsCol .ptsColHeader {
  	color: {{table.params.text_color_header.val}};
}
#{{table.view_id}} .ptsCol .ptsColDesc {
  	color: {{table.params.text_color_desc.val}};
}
#{{table.view_id}} .ptsCol .ptsRows {
  	color: {{table.params.text_color.val}};
}
