/* Options Framework Admin Styles */

#optionsframework {
	max-width:840px;
	background:#fff;
}
#optionsframework h3 {
	cursor: default;
	background-color: #f1f1f1;
	border-bottom: 1px solid #ddd;
}
#optionsframework p {
	margin-bottom:0;
	padding-bottom:10px;
}
#optionsframework .section {
	padding:10px 10px 0;
}
#optionsframework .group {
	padding-bottom:40px;
}
#optionsframework .section .controls {
	float: left;
	min-width:350px;
	width: 54%;
	padding-right:2%;
}
#optionsframework .section .explain {
	max-width:38%;
	float: left;
	font-size: 12px;
	line-height:16px;
	color: #777;
}
#optionsframework .section-checkbox .controls {
	width: 98%;
}
#optionsframework .section-checkbox .explain {
	max-width:94%;
}
#optionsframework .controls input[type=text] {
	width:100%;
}
#optionsframework .controls input[type=text].wp-color-picker {
	width: 65px;
}
#optionsframework .controls select, #optionsframework .controls textarea {
	margin-bottom:10px;
	width:100%;
}
#optionsframework .section-radio label, #optionsframework .section-multicheck label {
	float:left;
	max-width:90%;
	line-height: 16px;
	margin-bottom: 5px;
}
#optionsframework input.checkbox, #optionsframework input.of-radio {
	margin: 0 10px 5px 0;
	float:left;
	clear:both;
}
#optionsframework .section-typography .controls {
	float:none;
	width:auto;
}
#optionsframework .section-typography .explain {
	float:none;
	width:auto;
}
#optionsframework .controls .of-typography-size {
	width:80px;
	float:left
}
#optionsframework .controls .of-typography-unit {
	width:50px;
	margin-left:5px;
	float:left
}
#optionsframework .controls .of-typography-face {
	width:100px;
	margin-left:5px;
	float:left
}
#optionsframework .controls .of-typography-style {
	width:80px;
	margin-left:5px;
	margin-right:5px;
	float:left
}
#optionsframework .section-typography .wp-picker-container {
	margin-top:2px;
}
#optionsframework .of-background-properties {
	clear:both;
	margin-top: 18px;
}
#optionsframework .controls .of-background-repeat {
	width:125px;
	margin-right:5px;
	float:left
}
#optionsframework .controls .of-background-position {
	width:125px;
	margin-right:5px;
	float:left
}
#optionsframework .controls .of-background-attachment {
	width:125px;
	margin-right:5px;
	float:left
}
#optionsframework .section-background .wp-picker-container {
	margin-bottom:10px;
}
#optionsframework .controls .of-radio-img-img {
	border:3px solid #f9f9f9;
	margin:0 5px 10px 0;
	display:none;
	cursor:pointer;
	float:left;
}
#optionsframework .controls .of-radio-img-selected {
	border:3px solid #ccc
}
#optionsframework .controls .of-radio-img-img:hover {
	opacity:.8;
}
#optionsframework .controls .of-border-width {
	width:80px;
	float:left
}
#optionsframework .controls .of-border-style {
	width:120px;
	float:left
}
#optionsframework .hide {
	display:none;
}
#optionsframework .of-option-image {
	max-width:340px;
	margin:3px 0 18px 0;
}
#optionsframework .mini .controls select, #optionsframework .section .mini .controls {
	width: 140px;
}
#optionsframework .mini .controls input, #optionsframework .mini .controls {
	min-width:140px;
	width: 140px;
}
#optionsframework .mini .explain {
	max-width:74%;
}

/* Editor */

#optionsframework .section-editor .explain {
	max-width: 98%;
	float:none;
	margin-bottom:5px;
}

/* Image Uploader */

#optionsframework .controls input.upload {
	width:80%;
}
#optionsframework .screenshot {
	float:left;
	margin-left:1px;
	position:relative;
	width:344px;
	margin-top:3px;
}
#optionsframework .screenshot img {
	background:#fafafa;
	border-color:#ccc #eee #eee #ccc;
	border-style:solid;
	border-width:1px;
	float:left;
	max-width:334px;
	padding:4px;
	margin-bottom:10px;
}
#optionsframework .screenshot .remove-image {
	background:url("../images/ico-delete.png") no-repeat;
	border:medium none;
	bottom:4px;
	display:block;
	float:left;
	height:16px;
	padding:0;
	position:absolute;
	left:-4px;
	text-indent:-9999px;
	width:16px;
}
#optionsframework .screenshot .no_image .file_link {
	margin-left: 20px;
}
#optionsframework .screenshot .no_image .remove-button {
	bottom: 0px;
}
#optionsframework .reset-button {
	float:left;
	cursor:pointer;
}

/* Bottom Section */

#optionsframework-submit {
	padding: 7px 10px;
	border-top: 1px solid #ddd;
	background-color: #f1f1f1;
}
#optionsframework .button-primary {
	float:right;
}
#optionsframework .section:after {
	content: "";
	display: table;
}
#optionsframework .section:after {
	clear: both;
}

/* Switch CSS */
.switch_options{
	display: block;
}
.switch_options:before,
.switch_options:after{
	content:'.';
	display:block;
	overflow:hidden;
	visibility:hidden;
	font-size:0;
	line-height:0;
	width:0;
	height:0;
}
.switch_options:after{
	clear:both;
}
.switch_options span{
	display: inline-block;
	float: left;
	padding: 4px 9px;
	margin: 0;
	cursor: pointer;
	font-size: 12px;
	font-weight: normal;
	color: #555;
	border: 1px solid #aaa;
	text-transform: uppercase;
	line-height: 16px;
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */

}
.switch_options span:first-of-type{
	border-radius: 2px 0 0 2px;
	border-right: 0;
}
.switch_options span:last-of-type{
	border-radius: 0 2px 2px 0;
	border-left: 0;
}
.switch_options span:hover{
	background: #fafafa;
}
.switch_options span.selected{
	background: #00b7ea; /* Old browsers */
	background: -moz-linear-gradient(top,  #00b7ea 0%, #009ec3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(100%,#009ec3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #00b7ea 0%,#009ec3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #00b7ea 0%,#009ec3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #00b7ea 0%,#009ec3 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #00b7ea 0%,#009ec3 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b7ea', endColorstr='#009ec3',GradientType=0 ); /* IE6-9 */
	border-color: #0082A3;
	color: #fff;
}


/* Added by Roshan Bajracharya */
.apmag-themeoption .postbox, .apmag-themeoption .stuffbox{
	margin-bottom: 0;
}
.apmag-themeoption .theme-header {
    background: #808080;
    border: 1px solid #eee;
    border-left: none;
    border-right: none;
    padding: 20px;
}
.apmag-themeoption .accesspress-mag-logo {
	float: left;
}
.apmag-themeoption .theme-name{
	color: #EEE;
}
.apmag-themeoption .ak-socials {
    float: right;
    text-align: right;
}
.apmag-themeoption .ak-socials p{
	margin: 0.8em 0 1em;
}
.apmag-themeoption .ak-socials p, .apmag-themeoption .ak-socials a{
    color: #EEE;
    text-decoration: none;
}

.wrap.apmag-themeoption {
    width: auto;
    clear: both;
}
.apmag-themeoption #optionsframework{
	background: transparent;
}
.apmag-themeoption .notice, .apmag-themeoption div.error, .apmag-themeoption div.updated{
	margin-bottom: 20px;
}
.apmag-themeoption .heading-arrow {
    float: right;
    margin-right: 10px;
}
.apmag-themeoption h2{
	background-color: rgba(34, 34, 34, 0.3);
	border-bottom: 2px solid #383838;
	color: #fff;
	padding: 20px;
	width: 1095px;
}
.apmag-themeoption .nav-tab-wrapper{
	float: left;
	position: relative;
	width: 21.8%;
}
.apmag-themeoption .metabox-holder {
	background: none repeat scroll 0 0 #DEDEDE;
	float: left;
	min-height: 515px;
	padding: 2.2% !important;
	width: 72.8%;
}
.apmag-themeoption .static-layout-settings,
.apmag-themeoption .static-misc{
	background: #0074A2;
	border-bottom: 1px solid #ccc;
	color: #FFF;
	display: block;
	font-family: "Ubuntu",sans-serif;
	font-size: 13px;
	font-weight: bold;
	padding: 17px 23px;
	text-transform: uppercase;
}
.apmag-themeoption .nav-tab-wrapper a{
	background-color: #555;
	border-bottom: 1px solid #ccc;
	border-left: none;
	border-right: none;
	border-top: none;
	color: white;
	display: block;
	font-family: "Ubuntu",sans-serif;
	font-size: 13px;
	font-weight: bold;
	margin: 0;
	outline: 0 none;
	padding: 17px 23px;
	text-decoration: none;
	text-transform: uppercase;
}
.apmag-themeoption .nav-tab-wrapper a:first-child{
	
}
.apmag-themeoption .nav-tab-wrapper a.nav-tab-active{
	border-right: none;
	background: #DEDEDE;
	color: #555;
}
.apmag-themeoption .group-heading{
	color: #333333;
	font-family: "Ubuntu",sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 17px;
	margin-bottom: 0;
	margin-top: 0;
	position: relative;
	text-transform: uppercase;
	top: -3px;
}
.apmag-themeoption #optionsframework .section{
	padding: 0;
	margin-bottom: 20px;
}
.apmag-themeoption #optionsframework .section .section{
	padding: 0;
}
.apmag-themeoption .option .controls a{
	background-color: #555;
	color: #ffffff;
	display: inline-block;
	font-size: 13px;
	margin-bottom: 15px;
	padding: 9px 11px;
	text-decoration: none;
}
.apmag-themeoption .option .controls a:hover{
	background-color: #333;
}
.apmag-themeoption #optionsframework .group{
	padding-bottom: 0px;
}
.apmag-themeoption .section h4.heading{
	float: left;
	line-height: 28px;
	margin: 0;
	width: 180px;
	padding-right: 20px;
}
.apmag-themeoption .group h3{
	display: none;
}
.apmag-themeoption .postbox{
	border: none;
	box-shadow: none;
}
.apmag-themeoption .section .group-content{
	display: none;
	background-color: white;
	box-shadow: 0.5px 0.866px 1px 0 rgba(0, 0, 0, 0.1);
	padding: 18px 15px;
}
.apmag-themeoption #optionsframework .group-content .section{
	padding: 0;
	margin-bottom: 0px;
}
.apmag-themeoption .section h4.group-heading{
	background-color: white;
	box-shadow: 1px 0 1px 0 rgba(0, 0, 0, 0.1);
	cursor: pointer;
	margin-bottom: 2px;
	padding: 10px 10px 10px 15px;
	position: relative;
}
.apmag-themeoption .section .option{
	display: inline-block;
	width: 595px;
}
.apmag-themeoption #optionsframework .controls select, .apmag-themeoption #optionsframework .controls textarea{
	margin-bottom: 0;
}
.apmag-themeoption #optionsframework .section .explain{
	clear: both;
	padding-top: 7px;
	margin-bottom: 10px;
	max-width: 100%;
}
.apmag-themeoption #optionsframework .section .explain br{
	margin-bottom: 5px;
}
.apmag-themeoption #optionsframework .section .controls{
	width: 100%;
}
.apmag-themeoption #optionsframework .controls input.upload{
	width: 87%;
}
.sub-option .remove-file{
	display: inline-block;
}
.apmag-themeoption #optionsframework .section #more_info_footer{
	padding-bottom: 20px;
}
.apmag-themeoption #optionsframework-submit{
	background-color: #fff;
    border-top: 1px solid #CCC;
    box-shadow: 1px 0 4px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
}
.appearance_page_ap-theme-options div.error, 
.appearance_page_ap-theme-options div.updated{
	margin-left: 0;
}
.clearfix:after,
.clearfix:before{
	display: table;
	content: "";

}
.clearfix:after{
	clear: both;
}

@media(max-width: 782px){

	.apmag-themeoption .nav-tab-wrapper,
	.apmag-themeoption .metabox-holder{
		width: 100%;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
}