/**
 * Element Icons
 */
.vc_element-icon.fa {
	background-image: none;
	text-align: center;
	line-height: 32px;
	font-size: 14px;
	border-radius: 32px;
	color: #fff;
	background: #428bca;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.vc_helper .vc_element-icon.fa {
	color: #afd23e;
	background: #fff;
}

/**
 * VC Bootstrap Five Columns
 */
.vc_col-md-five {
	width: 20% !important;
	float: left;
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}

.vc_col-md-6.vc_column {
	width: 50% !important;
}

.vc_col-md-4.vc_column {
	width: 33.33333333% !important;
}

.vc_col-md-3.vc_column {
	width: 25% !important;
}

.vc_no_top_padding {
	padding-top: 0 !important;
}

/**
 * Add Element Modal
 */
.wpb-elements-list-modal .wpb-content-layouts li {
	width: 200px;
}

.wpb-elements-list-modal .wpb-content-layouts a {
	width: 100%;
}

.vc_shortcodes_container > .wpb_element_wrapper > .vc_container_for_children {
	margin: 0 10px;
	padding: 10px;
}

/**
 * Nested Shortcodes
 */
.vc_shortcodes_container {
	position: relative;
}

.vc_shortcodes_container > .controls_column {
	height: 32px;
	padding: 6px;
}

.vc_shortcodes_container .cc-container-title {
	text-align: right;
	position: absolute;
	right: 8px;
	top: 6px;
	z-index: 0;
}

/**
 * Fix Tabs Issue
 */
.wpb_vc_tabs > .wpb_element_wrapper .ui-tabs .ui-tabs-nav li.add_tab_block {
	padding: 10px;
}

/**
 * Composer Switch
 */
.wpb_switch-to-composer:last-child {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

/**
 * display:none for uneccessary things
 */
.wpb_cc_cta .add_tab_block,
.vc_navbar-header {
	display: none;
}

/**
 * VC UPLOAD
 */
.wpb_el_type_vc_cc_upload .cc-button-remove,
.wpb_el_type_vc_cc_upload .cc-add-media {
	height: 32px;
	line-height: 32px;
	margin-left: 5px;
}

/**
 * VC IMAGE SELECT
 */
.wpb_edit_form_elements .vc_image_select {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpb_edit_form_elements .vc_image_select li {
	display: inline-block;
	padding: 5px 5px 5px 0;
	cursor: pointer;
}

.wpb_edit_form_elements .vc_image_select li img {
	vertical-align: bottom;
	border: 3px solid #e1e1e1;
}

.wpb_edit_form_elements .vc_image_select li.selected img {
	border: 3px solid #444;
}

/**
 * VC ON OFF
 */
.wpb_edit_form_elements .cc_field_on_off .switch-active .switch-label {
	background: #4fb845;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.wpb_edit_form_elements .cc_field_on_off .switch-active .switch-label:before {
	opacity: 0;
}

.wpb_edit_form_elements .cc_field_on_off .switch-active .switch-label:after {
	opacity: 1;
}

.wpb_edit_form_elements .cc_field_on_off .switch-active .switch-handle {
	left: 40px;
	box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.cc_field_on_off .cc-text-desc {
	display: inline-block;
	margin-left: 5px;
	margin-top: 3px;
}

.cc_field_on_off .switch {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 56px;
	height: 20px;
	padding: 3px;
	background-color: white;
	border-radius: 18px;
	box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	background-image: -webkit-linear-gradient(top, #eeeeee, white 25px);
	background-image: -moz-linear-gradient(top, #eeeeee, white 25px);
	background-image: -o-linear-gradient(top, #eeeeee, white 25px);
	background-image: linear-gradient(to bottom, #eeeeee, #ffffff 25px);
}

.cc_field_on_off .switch-input {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}

.cc_field_on_off .switch-label {
	position: relative;
	display: block;
	height: inherit;
	font-size: 10px;
	text-transform: uppercase;
	background: #eceeef;
	border-radius: inherit;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
	-webkit-transition: 0.15s ease-out;
	-moz-transition: 0.15s ease-out;
	-o-transition: 0.15s ease-out;
	transition: 0.15s ease-out;
	-webkit-transition-property: opacity background;
	-moz-transition-property: opacity background;
	-o-transition-property: opacity background;
	transition-property: opacity background;
}

.cc_field_on_off .switch-label:before, .cc_field_on_off .switch-label:after {
	position: absolute;
	top: 50%;
	margin-top: -.5em;
	line-height: 1;
	-webkit-transition: inherit;
	-moz-transition: inherit;
	-o-transition: inherit;
	transition: inherit;
}

.cc_field_on_off .switch-label:before {
	content: attr(data-off);
	right: 11px;
	color: #aaa;
	text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}

.cc_field_on_off .switch-label:after {
	content: attr(data-on);
	left: 11px;
	color: white;
	text-shadow: 0 1px rgba(0, 0, 0, 0.2);
	opacity: 0;
}

.cc_field_on_off .switch-input:checked ~ .switch-label {
	background: #47a8d8;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.cc_field_on_off .switch-input:checked ~ .switch-label:before {
	opacity: 0;
}

.cc_field_on_off .switch-input:checked ~ .switch-label:after {
	opacity: 1;
}

.cc_field_on_off .switch-handle {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 18px;
	height: 18px;
	background: white;
	border-radius: 10px;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
	background-image: -webkit-linear-gradient(top, white 40%, #f0f0f0);
	background-image: -moz-linear-gradient(top, white 40%, #f0f0f0);
	background-image: -o-linear-gradient(top, white 40%, #f0f0f0);
	background-image: linear-gradient(to bottom, #ffffff 40%, #f0f0f0);
	-webkit-transition: left 0.15s ease-out;
	-moz-transition: left 0.15s ease-out;
	-o-transition: left 0.15s ease-out;
	transition: left 0.15s ease-out;
}

.cc_field_on_off .switch-handle:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -6px;
	width: 12px;
	height: 12px;
	background: #f9f9f9;
	border-radius: 6px;
	box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
	background-image: -webkit-linear-gradient(top, #eeeeee, white);
	background-image: -moz-linear-gradient(top, #eeeeee, white);
	background-image: -o-linear-gradient(top, #eeeeee, white);
	background-image: linear-gradient(to bottom, #eeeeee, #ffffff);
}

.cc_field_on_off .switch-input:checked ~ .switch-handle {
	left: 40px;
	box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.cc_field_on_off .switch-green > .switch-input:checked ~ .switch-label {
	background: #4fb845;
}

/**
 * VC CHOSEN
 */
.wpb_el_type_vc_cc_chosen .chosen-container {
	min-width: 100%;
}

.wpb_el_type_vc_cc_chosen .search-field input {
	width: 200px !important;
}

.wpb_el_type_vc_cc_chosen .search-field input {
	height: 25px !important;
}

.wpb_edit_form_elements .vc-tabs > ul li a:focus {
	box-shadow: none;
}

.metabox-composer-content a {
	outline: none;
}

/**
 * UI Fixes
 */
.vc_shortcodes_container .wpb_content_element > .wpb_element_wrapper,
.wpb_vc_accordion .wpb_content_element > .wpb_element_wrapper,
.wpb_vc_tabs .wpb_content_element > .wpb_element_wrapper,
.wpb_vc_row_inner .wpb_content_element > .wpb_element_wrapper {
	border: 1px solid #f2f2f2;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.025);
}