/**********************ak_switch*********************/
.ak_switch{
	width: 60px;
	height: 25px;
	display: inline-block;	
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.ak_switch.disabled{
	opacity: 0.5;
	cursor: inherit;
}

.ak_switch_content{
	width: 60px;
	position: relative;
	left: -32px;
	height: 30px;
	transition: 500ms;
}

.ak_switch_content.on{
	left: 0px;
}

.ak_switch_left{
	width: 32px;
	height: 30px;
	float: left;
}

.ak_switch_center{
	width: 22px;
	height: 22px;
	float: left;
	border-radius: 50%;
	background: rgba(236,236,236,1);
	background: -moz-radial-gradient(center, ellipse cover, rgba(236,236,236,1) 0%, rgba(251,251,251,1) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(236,236,236,1)), color-stop(100%, rgba(251,251,251,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(236,236,236,1) 0%, rgba(251,251,251,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(236,236,236,1) 0%, rgba(251,251,251,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(236,236,236,1) 0%, rgba(251,251,251,1) 100%);
	background: radial-gradient(ellipse at center, rgba(236,236,236,1) 0%, rgba(251,251,251,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ececec', endColorstr='#fbfbfb', GradientType=1 );
	border: 1px solid #cbcbcb;
}

.ak_switch_right{
	width: 32px;
	height: 30px;
	float: left;
}

.ak_switch_bg{
	background-color: #c8c8c8;
	border-radius: 10px;
	width: 50px;
	position: absolute;
	height: 18px;
	top: 3px;
	left: 3px;
	transition: 500ms;
}

.ak_switch_bg.on{
	background-color: #79dfd1;
}


/*****************ak_toggle**********************/
.ak_toggle input{
	display: none;
}

.ak_toggle span{
	border: 1px solid #ab96db;
	border-radius: 25px;
	box-sizing: border-box;
	width: 25px;
	height: 25px;
	display: inline-block;
	cursor: pointer;
	position: relative;
	top: 7px;
	overflow: hidden;
}

.ak_toggle.checkbox span{
	border-radius: 0px;
}

.ak_toggle span span.inside{
	border: 0px;
	display: inherit;
}

.ak_toggle.on span span.inside{
	background-color: rgba(171, 150, 219, 0.6);
	box-sizing: border-box;
	width: 19px;
	height: 19px;
	display: inline-block;
	position: absolute;
	top: 2px;
	left: 2px;
}

.ak_toggle.disabled{
	opacity: 0.5;
}
/**********************popover***************/
#ak_popover_div{
	position: absolute;
	background-color: #fff;
	border-radius: 8px;
	color:#949494;
	font-family: 'Avenir','AvenirMedium', arial;
	font-size: 12px;
	padding: 4px 10px;
	margin-top: -20px;
	line-height: 20px;
	border: 1px solid #949494;
	min-width: 100px;
	text-align: center;
	top: 0px;
}

#ak_popover_div::before{
	width: 6px;
    height: 6px;
    transform: rotate(-135deg);
    position: absolute;
    bottom: -4px;
    left: 50%;
    border: 1px solid #949494;
    margin-left: -3px;
    border-bottom: 0px;
    border-right: 0px;
    content: '';
    background-color: #fff;
}

.section #ak_popover_div{
	margin-top: -37px;
}

/*******************modal********************/

body.noscroll{
	overflow: hidden;
	margin-right: 15px;
}

.modal{
	width: 500px;
	min-height: 50px;
	background-color: #fff;
	position: absolute;
	left: 50%;
	margin-left: -250px;
	top: -1000px;
	opacity: 0;
	transition: 750ms;
	z-index: 10001;
	font-family: 'Avenir','AvenirMedium', arial;
    font-size: 15px;
    margin-bottom: 50px;
}

.modal.narrow{
	width: 930px;
	margin-left: -465px;
}

.modal.visible{
	top: 50px;
	opacity: 1;
}

#ak_overlay{
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.6);
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 10000;
	opacity: 0;
	transition: 500ms;
	overflow-y: scroll;
}

#ak_overlay.visible{
	opacity: 1;
}

.close_modal_btn{
	font-family: 'Avenir','AvenirMedium', arial;
	font-size: 25px;
	color: #384450;
	text-decoration: none;
	background-image: url(../img/close.png);
	background-size: cover;
	width: 14px;
	height: 14px;
}

.close_modal_btn.big{
	width: 25px;
	height: 25px;
}

.modal header label{
	float: left;
	padding: 15px;
	font-family: 'Avenir','AvenirMedium', arial;
	font-weight: bold;
}

.modal header .close_modal{
	position: absolute;
	top: 10px;
	right: 15px;
}

.modal div.body{
	clear: both;
	padding:15px;
}

.modal footer{
	padding:15px;
	text-align: right;
	height: auto;
}

.modal footer input[type="button"]{
	background-color: #3c444f;
	font-family: 'Avenir','AvenirMedium', arial;
	font-size: 15px;
	color: #fff;
	line-height: 40px;
	padding: 0px 20px;
	border: 0px;
}

/*******************autocomplete**********/
.ak_option_selected{
	background-color: #eee;
	border-left: 2px solid #eee!important;
}

.ak_email_address{
	padding: 5px 20px 3px 5px;
	background-color: #f5f5f5;
    border: 1px solid #d9d9d9;
	margin-right: 2px;
	position: relative;
	border-radius: 3px;
	font-size: 14px;
	display: inline-block;
	margin-bottom: 3px;
	line-height: 16px;
}

.ak_email_address span{
	position: absolute;
	top: 6px;
    right: 6px;
	font-size: 14px;
	line-height: 12px;
	cursor: pointer;
	color: #aeadad;
	margin-left: 8px;
	transition: 500ms;
}

.ak_email_address span:hover{
	color: #000;
}

.ak_autocomplete{
	margin-top: 5px;
}

#ak_autocomplete_ul{
	border: 1px solid #ccc;
	position: relative;	
	background-color: #fff;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.3);
	-moz-box-shadow:    0px 2px 5px 0px rgba(50, 50, 50, 0.3);
	box-shadow:         0px 2px 5px 0px rgba(50, 50, 50, 0.3);
	padding: 0px;
}

#ak_autocomplete_ul li{
	padding: 0 5px;
	cursor: pointer;
	border-left: 2px solid #fff;
	font-size: 14px;
	line-height: 30px;
}

#ak_autocomplete_ul li:hover{
	background-color: #eee;
	border-left: 2px solid #ac94de;
}

#ak_autocomplete_ul::before {
    width: 6px;
    height: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    transform: rotate(45deg);
    position: absolute;
    top: -5px;
    left: 50px;
    border-bottom: 0px;
    border-right: 0px;
    content: '';
}

#ak_autocomplete_ul li.department{
	font-style: italic;
	color: #7250b7;
}

/***************file input**********/
.ak_fileupload .btn{
	position: relative;
	overflow: hidden;
	display: inline-block;
	background-color: #ac94df;
    height: 45px;
    color: #fff;
    border-radius: 0px;
    margin-right: 0px;
    font-size: 14px;
    font-family: 'Avenir','AvenirMedium', arial;
    border: 0px;
    padding: 0 15px;
    text-decoration: none;
}

.ak_fileupload-exists .ak_fileupload-new, .ak_fileupload-new .ak_fileupload-exists{
	display: none;
}

.btn-file>input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translate(-300px,0) scale(4);
    font-size: 23px;
    direction: ltr;
    cursor: pointer;
}

.ak_fileupload-new.off{
	display: none;
}

.ak_fileupload-exists.on{
	display: inline-block;
}

.ak_fileupload_remove.on{
	display: inline-block;
	background-color: #3c444f;
}