

/*----------------------------------tpl_toolbar-----------------------------*/
.tpl_toolbar div[data-tp-code].active{
	border: 2px solid rgba(255,134,0,1.00);
	position: relative;
}
.tpl_toolbar div[data-tp-code].active .tp_tools{
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	background-color: #fff;
}
.tpl_toolbar div[data-tp-code].active .tp_tools .item{
	width: 30px;
	height: 30px;
	background-color:rgba(255,134,0,1.00);
	display: inline-block;
	margin: 0 1px 1px 1px;
	cursor: pointer;
	background-size: 20px;
	background-position: center center;
	background-repeat: no-repeat;
}
.tpl_toolbar div[data-tp-code].active .tp_tools .edit{
	background-image:url(../../templates/tmpl_modern01/images/ic_tp_edit.png);
}
.tpl_toolbar div[data-tp-code].active .tp_tools .delete{
	background-image:url(../../templates/tmpl_modern01/images/ic_tp_delete.png) ;
}
.tpl_toolbar div[data-tp-code].active .tp_tools .add{
	background-image:url(../../templates/tmpl_modern01/images/ic_tp_add.png) ;
}
.tpl_toolbar .empty{
	min-height: 20px;
	width: 80%;
	margin: 10px auto;
}
.tpl_toolbar .empty .add,
.tpl_toolbar .empty .delete{
	display: none!important;
}


#tpl_popup{
	position: fixed;
	background-color: rgba(0,0,0,0.70);
	width: 100%;
	height: 100%;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	z-index: 200;
	padding: 30px 100px;
    box-sizing: border-box;
	
}
#tpl_popup .loading{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 60px;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
}
#tpl_popup form .close{
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 20;
}

#tpl_popup form .close:after,
#tpl_popup form .close:before{
    content: "";
    width: 30px;
    height: 3px;
    background-color: #003A6F;
    display: block;
    position: relative;
	transform: rotate(45deg) translateY(-50%);
    -webkit-transform: rotate(45deg) translateY(-50%);
    -moz-transform: rotate(45deg) translateY(-50%);
	top: 40%;
}
#tpl_popup form .close:before {
    transform: rotate(-45deg) translateY(-50%);
    -webkit-transform: rotate(-45deg) translateY(-50%);
    -moz-transform: rotate(-45deg) translateY(-50%);
		top: 50%;

}

#tpl_popup form{
	background-color: #f8f8f8;
    padding: 30px 0 30px 30px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	position: relative;
}
#tpl_popup form.delete{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	width: 50%;
	height: 120px;
	text-align: center;
}
#tpl_popup form.delete .status{
	margin-bottom: 20px;
	color: #003A6F;
}
#tpl_popup form .tb{
	width: 100%;
	height: 100%;
}
#tpl_popup form .tb .cell{
	vertical-align: top;
	padding: 0 10px;
	height: 100%;
	box-sizing: border-box;
}
#tpl_popup form .tb .tpl_img{
	width: 100%;
	display: inline-block;
}
#tpl_popup form .tb[data-status=true] .tpl_img{
	width: 30%;
	border-left: 1px solid #003A6F;
}
#tpl_popup form .tb .tpl_img .tit{
    color: #003A6F;
    font-weight: 500 !important;
    font-size: 22px;
    padding: 0 40px 10px 0;
}
#tpl_popup form .tb .tpl_img .images{
	direction: ltr;
	padding: 10px 20px 10px 10px;
	overflow-y:scroll;
	height: 95%;
	font-size: 0;
}

#tpl_popup form .tb .tpl_img .images label{
	display: inline-block;
	width: 23%;
	margin: 5px 1.7% 10px 0;
	box-sizing: border-box;
	cursor: pointer;
	position: relative;
	border: 2px solid transparent;
}
#tpl_popup form .tb[data-status=true] .tpl_img .images label{
	width: 48%;
}
#tpl_popup form .tb .tpl_img .images label:hover,
#tpl_popup form .tb .tpl_img .images label.active{
	border: 2px solid #003A6F;
}
#tpl_popup form .tb .tpl_img .images label input[type=radio]{
	opacity: 0;
	position: absolute;
}
#tpl_popup form .tb .tpl_img .images label img{
	max-width: 100%;
	width: 100%;
}
#tpl_popup form .tb .tpl_img .images label .code{
	position: absolute;
	top: 5px;
	left: 5px;
	color: #eb8b20;
	font-weight: bold;
	font-size: 16px;
}
#tpl_popup form .tb[data-status=true] .tpl_opt{
	width:69%;
	display: inline-block;
}
#tpl_popup form .tb .tpl_opt{
	display: none;
}
#tpl_popup form .tb .tpl_opt label{
	width: 48%;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 20px;
}
#tpl_popup form .tb .tpl_opt .block label{
	display: block;
	position: relative;
	margin: 0;
}
#tpl_popup form .tb .tpl_opt label .title{
	color: #003A6F;
	margin-bottom: 5px;
	font-weight: 500px;
}
#tpl_popup form .tb .tpl_opt label select,
#tpl_popup form .tb .tpl_opt label input{
	width: 100%;
}
#tpl_popup form .tb .tpl_opt label input[type=checkbox]{
	width: 20px;
	display: inline-block;
}
#tpl_popup form .tb .tpl_opt label:nth-child(odd){
	margin-left: 3%;
}

#tpl_popup form input[type=submit]{
	background-color: #003A6F;
    width: 120px;
    margin: 0 auto;
    display: block;
    font-size: 16px;
    padding: 4px 6px 6px 6px;
}
#tpl_popup form .tb .tpl_opt .sobjid_glb.disable,
#tpl_popup form .tb .tpl_opt .sobjid.disable,
#tpl_popup form .tb .tpl_opt .pageid.disable{
	display: none;
}
#tpl_popup form .tb .tpl_opt .start_list_code{
	width: 100%;
    text-align: center;
    margin: 20px auto 0 auto;
	min-height: 30px;
}
#tpl_popup form .tb .tpl_opt .start_list_code input{
	width: 100%;
    text-align: center;
    border: 1px solid #003A6F;
    padding: 10px;
	color: red;
    font-size: 13px;
	letter-spacing: 2px;
}
#tpl_popup form .tb .tpl_opt .start_list_code a{
	color: red;
	margin-top: 5px;
}
/*-------tpl_toolbar-----*/

/*pages tpl*/
.page_new_tpl{
	font-weight: bold;
	color: #000;
	padding: 0 50px 0 10px; 
	position: relative;
}
.page_new_tpl:hover{
	opacity: .7;
}
.page_new_tpl:before{
	content: "";
	display: block;
	position: absolute;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	top: 50%;
	right: 10px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-image: url(./panel/images/ic_transform.png);
	width: 30px;
	height: 30px;
}

.tpl_categories{
	text-align: center;
	padding: 60px 0; 
	font-size: 0;
	background-color: #f2f2f2
}
.tpl_categories .items{
	display: inline-block;
	width: 28%;
	font-size: 16px;
	cursor: pointer;
}
.tpl_categories .items .icon{
	height: 100px;
	width: 100px;
	margin: 0 auto;
	background-color: #ddd;
	background-repeat: no-repeat;
	background-size: 50px;
	background-position: center;
	margin-bottom: 5px;
}
.tpl_categories .items.alb_sngl .icon{
	background-image: url(./panel/images/ic_page_single.png);
}
.tpl_categories .items.alb_list .icon{
	background-image: url(./panel/images/ic_page_list.png);
}
.tpl_categories .items.page_sngl .icon{
	background-image: url(./panel/images/ic_page_single.png);
}
.tpl_categories .items.page_list .icon{
	background-image: url(./panel/images/ic_page_list.png);
}
.tpl_categories .items:hover{
	opacity: .8;
}
.tpl_categories .items:nth-child(2){
	margin: 0 4%;
}
/*pages tpl*/