/*MAIN*/
.appearance-palette,
.appearance-palette *,
.appearance-palette *:before,
.appearance-palette *:after{
	box-sizing: border-box !important;
}
.appearance-palette{
	position: fixed;
	z-index: 1000;
	top: 50px;
	left: -270px;
	max-width: 270px;
	height: 100%;
	font: 12px/16px 'Arial', sans-serif;
	color: #252525;
	background: #fff;
	transition: all .5s ease-in .5s;
}
.ap-is-open .appearance-palette{
	box-shadow: 0 0 10px #f1f1f1;
}
.ap-btn-main{
	position: absolute;
	z-index: 101;
	top: 0;
	right: -40px;
	width: 40px;
	cursor: pointer;
	box-shadow: 0 0 50px rgba(255,255,255,.5);
}
.ap-btn-main-pict{
	width: 40px;
	height: 40px;
	background-image: url('../images/ap_btn_pict.svg');
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: cover;
}
.ap-wrapper{
	position: relative;
	max-width: 600px;
	height: 100%;
}
.ap-draggable{
	position: relative;
}
.ap-menu{
	background: #f8f8f8;
}
.ap-body{
	padding: 10px;
}
/*END MAIN*/


/*GENERAL*/
.appearance-palette ul[class$='-list']{
	position: relative;
	z-index: 1;
	font-size: 0;
	line-height: 0;
	margin-bottom: 20px;
}
.ap-divider{
	margin: 0 0 25px;
	background: #f4f4f4;
}
.ap-title{
	color: #252525;
	font-size: 12.5px;
	line-height: 14px;
	font-weight: bold;
	margin-bottom: 10px;
}
ul[class$='-list']>li>span{
	cursor: pointer;
}
/*END GENERAL*/


/*TABS*/
.ap-tab{
	display: none;
}
.ap-tab.active{
	display: block;
}
/*END TABS*/


/*MENU*/
.ap-menu a{
	display: block;
	padding: 20px;
	line-height: 15px;
	font-weight: bold;
	color: #252525;
	border-bottom: 1px solid #f1f1f1;
}
.ap-menu a:hover,
.ap-menu a.active{
	color: #252525;
	background: #fff;
	border-bottom: 1px solid #f8f8f8;
}
/*END MENU*/


/*COLOR LIST*/
.ap-color-list>li{
	display: inline-block;
	vertical-align: middle;
	margin: 7.5px 7.5px;
    font-size: 0;
}
.ap-color-btn {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    /*cursor: pointer;*/
}
.ap-color-btn:before {
    position: absolute;
    z-index: -2;
    content: '';
    width: 38px;
    height: 38px;
    top: -5px;
    left: -5px;
    border-radius: 50%;
    background: #f1f0f0;
}
.ap-color-btn:after {
    position: absolute;
    z-index: -1;
    content: '';
    width: 36px;
    height: 36px;
    top: -4px;
    left: -4px;
    border-radius: 50%;
    background: #fff;
    transition: all .2s ease-out .2s;
}
.ap-color-btn.active:before,
.ap-color-btn:hover:before {
    background: inherit;
}
.ap-color-btn svg {
    display: inline-block;
    fill: #fff;
    vertical-align: middle;
}
/*END COLOR LIST*/


/*GRADIENT LIST*/
.ap-gradient-list>li>span{
	position: relative;
	display: block;
	height: 10px;
	margin-bottom: 20px;
	/*cursor: pointer;*/
}
.ap-gradient-list>li>span:before{
	position: absolute;
	z-index: -1;
	content: '';
	top: -3px;
	right: -3px;
	bottom: -3px;
	left: -3px;
	background: #ccc;
}
.ap-gradient-list>li>span:hover:before,
.ap-gradient-list>li>span.active:before{
	background: inherit;
	opacity: .5;
}
/*END GRADIENT LIST*/


/*GRADIENT CUSTOM LIST*/
.ap-custom-gradient-list>li {
	display: block;
	margin-bottom: 10px;
}
.ap-color-bar{
	position: relative;
	z-index: 0;
	height: 10px;
	display: block;
	top: -18px;
	left: 32px;
	width: calc(100% - 50px);
}
/*END GRADIENT CUSTOM LIST*/


/*FONT LIST*/
.ap-font-list{
	display: table;
	width: 100%;
}
.ap-font-list>li>*{
	display: inline-block;
	padding: 16px 0;
	margin: 0 5px;
	font-size: 12px;
}
.ap-font-list>li>div{
	width: 100%;
}
.ap-font-list>li>span{
	width: 20%;
	border: 2px solid #fff;
	background: #f8f8f8;
	text-align: center;
}
.ap-font-list>li>span.active,
.ap-font-list>li>span:hover{
	background: #0250af;
	color: #fff;
}
/*END FONT LIST*/


/*SITE BLOCKS*/
.ap-blocks-list label{
	margin-bottom: 8px;
}
input[type="checkbox"] + label.ap-element-switcher{
	position: relative;
	display: block;
	width: 67px;
	height: 32px;
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
}
input[type="checkbox"] + label.ap-element-switcher:before{
	position: absolute;
	content: '';
	z-index: 100;
	top: 0px;
	left: 0px;
	width: 67px;
	height: 32px;
	border: 2px solid #d0d0d0;
	border-radius: 16px;
}
input[type="checkbox"] + label.ap-element-switcher:after{
	position: absolute;
	content: '';
	z-index: 100;
	top: 3px;
	left: 3px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid #d0d0d0;
	background: #fff;
}
input:checked + label.ap-element-switcher:before{
	content: none;
}
input:checked+label.ap-element-switcher:after{
	border: 2px solid #fff;
	left: auto;
	right: 3px;
}
input:checked+label.ap-element-switcher{
	border: none;
	background: -moz-linear-gradient(top, #0087e2, #0165d3);
	background: -webkit-linear-gradient(top, #0087e2, #0165d3);
	background: linear-gradient(top, #0087e2, #0165d3)
}
/*END SITE BLOCKS*/


/*SITE WIDTH*/
.ap-site-width-list>li{
	display: inline-block;
	margin-right: 4px;
}
.ap-site-width-list>li>span{
	display: inline-block;
	padding: 9px 5px;
	font-size: 14px;
	line-height: 14px;
	background: #f8f8f8;
}
.ap-site-width-list>li>span.active,
.ap-site-width-list>li>span:hover{
	color: #fff;
	background: #0250af;
}
/*END SITE WIDTH*/


/*BUTTONS*/
.ap-btn-wrapper{
	text-align: center;
	margin-bottom: 20px;
}
.ap-btn-wrapper:last-child{
	margin-bottom: 0;
}
.ap-btn{
	display: inline-block;
	padding: 6px 20px;
	line-height: 18px;
	font-weight: normal;
	color: #fff;
	background: #e70202;
}
.ap-btn:hover,
.ap-btn:focus{
	color: #fff;
	background: #cf0202;
}
.ap-btn-loader{
	position: relative;
	display: inline-block;
	width: 23px;
	height: 23px;
	vertical-align: middle;
	background: url('../images/ap_btn_loader.svg') no-repeat 0 0;
}
.active .ap-btn-loader{
	-webkit-animation-name: rt;
	-webkit-animation-duration: 1s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: rt;
	-moz-animation-duration: 1s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;
	-ms-animation-name: rt;
	-ms-animation-duration: 1s;
	-ms-animation-iteration-count: infinite;
	-ms-animation-timing-function: linear;

	animation-name: rt;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
/*END BUTTONS*/


/*AP MEDIA*/
@media (min-width: 768px){
	.appearance-palette{
		left: -600px;
		top: 10%;
		max-width: 600px;
		height: 80%;
		font: 14px/20px 'Arial', sans-serif;
	}
	.ap-btn-main{
		width: 60px;
		right: -60px;
	}
	.ap-btn-main-pict{
		width: 60px;
		height: 60px;
	}
	.ap-menu{
		float: left;
		width: 180px;
	}
	.ap-menu:before{
		position: absolute;
		z-index: -1;
		width: 180px;
		content: '';
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: #f8f8f8;
	}
	.ap-body{
		padding: 20px 40px;
	}
	.ap-menu + .ap-body{
		margin-left: 180px;
	}
	.ap-title{
		font-size: 14.5px;
	}
	.ap-btn{
		padding: 16px 30px;
		font-size: 16.5px;
	}
	.ap-font-list>li{
		display: table-row;
	}
	.ap-font-list>li>*{
		display: table-cell;
		font-size: 14px;
	}
	.ap-font-list>li>div{
		width: 40%;
	}
	.ap-font-list>li>span{
		width: 20%;
	}
	.ap-custom-gradient-list>li {
		display: inline-block;
		margin-bottom: 0;
		width: 50%;
	}
}
/*END AP MEDIA*/


/*ANIMATION*/
@-ms-keyframes rt {
	from { -ms-transform: rotate(0deg); }
	to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes rt {
	from { -moz-transform: rotate(0deg); }
	to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes rt {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(360deg); }
}
@keyframes rt {
	from {
		transform:rotate(0deg);
	}
	to {
		transform:rotate(360deg);
	}
}
/*END ANIMATION*/

/*PLUGINS*/
.sp-replacer.sp-light {
    position: absolute;
    z-index: 5000;
    opacity: 0;
    width: 28px;
    height: 28px;
}
/*END PLUGINS*/