/**
 * Combine styles for Customizer Controls.
 *
 * @package Purenote
 */

/*--------------- Radio Image ----------------------*/
	.customize-control-mt-radio-image > .image {
		display: flex;
		flex-wrap: wrap;
	}

	.customize-control-mt-radio-image label {
		position: relative;
		display: inline-block;
	}

	.customize-control-mt-radio-image input {
		display: none;
	}

	.customize-control-mt-radio-image input img {
		border: 1px solid transparent;
	}

	.customize-control-mt-radio-image input:checked + label img {
		-webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
		box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
		border: 1px solid #3498DB;
	}

	.customize-control-mt-radio-image .image label img {
		border: 3px solid transparent;
		padding: 2px;
	}

	.customize-control-mt-radio-image .image label img:hover {
		border: 3px solid #A6A6A6;
	}

	.customize-control-mt-radio-image input:checked + label img:hover {
		border: 3px solid #00a0d2;
	}

	.customize-control-mt-radio-image input:checked + label img {
		box-sizing: border-box;
		max-width: 100%;
		height: auto;
		padding: 2px;
		border: 3px solid transparent;
	}

	.customize-control-mt-radio-image input:checked + label img {
		border-color: #00a0d2;
		display: block;
	}

	.customize-control-mt-radio-image .image label {
		margin-right: 10px;
		vertical-align: top;
	}

	.customize-control-mt-radio-image input:checked + label img {
		box-shadow: none;
	}

	.customize-control-mt-radio-image > .image {
		display: block;
	}

	.customize-control-mt-radio-image .image label:hover .tooltip-text {
		opacity: 1;
		visibility: visible;
		top: -32px;
	}

	.customize-control-mt-radio-image .radio-label {
		display: block;
		font-size: 9px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: .4px;
		text-align: center;
	}

	.tooltip-text {
	    position: absolute;
	    display: block;
	    top: -36px;
	    background: #333;
	    color: #fff;
	    padding: 4px 0;
	    font-size: 10px;
	    border-radius: 3px;
	    opacity: 0;
	    visibility: hidden;
	    left: 50%;
	    width: 80px;
	    text-align: center;
	    margin-left: -40px;
	    box-sizing: border-box;
	    transition: all .5s ease;
	}

	.tooltip-text::before {
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-top: 5px solid #333;
		content: "";
		position: absolute;
		left: 50%;
		bottom: -5px;
		margin-left: -2px;
	}

/*--------------- Toggle ---------------------------*/
	.customize-control-mt-toggle .toggle--wrapper {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		flex-direction: row;
		-webkit-box-direction: normal;
		-webkit-box-orient: horizontal;
		-webkit-box-pack: start;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		-ms-flex-pack: start;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
	}

	.customize-control-mt-toggle .toggle--wrapper .customize-control-title {
		font-weight: 400;
		margin-bottom: 7px;
		vertical-align: middle;
		-webkit-box-flex: 2;
		-webkit-flex: 2 0 0;
		-ms-flex: 2 0 0;
		flex: 2 0 0;
	}

	.customize-control-mt-toggle .toggle--wrapper input[type=checkbox] {
		display: none;
	}

	.customize-control-mt-toggle {
		margin-bottom: 0
	}

	.customize-control-mt-toggle .toggle--wrapper label {
		background-color: #555d66;
		border-radius: 14px;
		cursor: pointer;
		display: inline-block;
		height: 20px;
		outline: none;
		position: relative;
		right: 0px;
		top: 2px;
		-webkit-transition: background 0.2s ease;
		transition: background 0.2s ease;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		width: 34px;
	}

	.customize-control-mt-toggle .toggle--wrapper label::after, .customize-control-mt-toggle .toggle--wrapper label::before {
		content: "";
		display: block;
		position: absolute;
	}

	.customize-control-mt-toggle .toggle--wrapper label::after {
		border: 2px solid #555d66;
		border-radius: 50%;
		box-sizing: border-box;
		height: 12px;
		left: 4px;
		top: 4px;
		-webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
		transition: background 0.2s ease, -webkit-transform 0.2s ease;
		transition: transform 0.2s ease, background 0.2s ease;
		transition: transform 0.2s ease, background 0.2s ease, -webkit-transform 0.2s ease;
		width: 12px;
	}

	.customize-control-mt-toggle .toggle--wrapper label::before {
		background-color: #eee;
		border-radius: 60px;
		bottom: 2px;
		left: 2px;
		right: 2px;
		top: 2px;
		-webkit-transition: background 0.2s ease;
		transition: background 0.2s ease;
	}

	.customize-control-mt-toggle .toggle--wrapper input[type=checkbox]:checked + label {
		background-color: #4ABBD5;
	}

	.customize-control-mt-toggle .toggle--wrapper input[type=checkbox]:checked + label::after {
		background-color: #4ABBD5;
		border: 2px solid #fff;
		-webkit-transform: translateX(14px);
		-ms-transform: translateX(14px);
		transform: translateX(14px);
	}

	.customize-control-mt-toggle .toggle--wrapper input[type=checkbox]:checked + label::before {
		background-color: #4ABBD5;
	}

	.customize-control-mt-toggle:hover .toggle--wrapper label::before {
		background-color: #d9dcdf;
	}

	.mt-toggle {
		border-bottom: 1px dashed #979797;
		padding-bottom: 5px;
		margin-bottom: 10px;
	}

/*--------------- Repeater -------------------------*/
	.mt-clearfix:after,
	.mt-clearfix:before{
	    content: "";
	    display: table;
	}

	.mt-clearfix:after{
	    clear: both;
	}

	.mt-repeater-field-control{
	    background: #FFF;
	    margin-bottom: 12px;
	    display: block;
	}

	.mt-repeater-footer{
	    margin-top: 15px;
	    text-align: right;
	}

	.mt-repeater-field-control:first-child .mt-repeater-footer{
	    display: none;
	}

	.mt-repeater-field-title{
	    padding: 13px 15px;
	    line-height: 1;
	    overflow: hidden;
	    white-space: nowrap;
	    text-overflow: ellipsis;
	    margin: 0;
	    font-size: 1em;
	    border: 1px solid #e5e5e5;
	    cursor: move;
	    position: relative;
	    border-bottom: 0;
	}

	.mt-repeater-field-title:after {
	    content: "\f142";
	    font: 400 20px/1 dashicons;
	    position: absolute;
	    right: 0;
	    top: 0;
	    padding: 1px 2px 1px 0;
	    margin-top: 10px;
	    margin-right: 10px;
	    -webkit-border-radius: 50%;
	    border-radius: 50%;
	    cursor: pointer;
	}

	.mt-repeater-field-control.expanded .mt-repeater-field-title:after{
	    content: "\f140";
	}

	.mt-repeater-fields{
	    padding: 0 10px 10px;
	    border-top: none;
	    line-height: 16px;
	    border: 1px solid #e5e5e5;
	    box-shadow: 0 1px 1px rgba(0,0,0,.04);
	    display: none;
	}

	.mt-repeater-fields .customize-control-title{
	    margin-top: 10px;
	}

	.mt-repeater-field-control.expanded .mt-repeater-fields{
	    display: block;
	}

	.mt-reapeater-add-control-field {
	    float: right;
	}

	.mt-reapeater-add-add-control-field:before {
	    content: "\f132";
	    display: inline-block;
	    position: relative;
	    left: -2px;
	    top: -1px;
	    font: 400 18px/1 dashicons;
	    vertical-align: middle;
	}

	.mt-repeater-type-icon{
	    overflow: hidden;
	}

	.mt-repeater-selected-icon{
	    background: #F6F6F6;
	    height: 45px;
	    line-height: 45px;
	    text-align: center;
	    border: 1px solid #EEE;
	    position: relative;
	    margin-right: 45px;
	    cursor: pointer;
	    font-size: 28px;
	}

	.mt-repeater-selected-icon span{
	    position: absolute;
	    background: #F6F6F6;
	    right: -45px;
	    top: -1px;
	    height: 45px;
	    width: 45px;
	    border: 1px solid #EEE;
	    font-size: 20px;
	}

	.mt-repeater-selected-icon i{
	    margin-top: 3%;
	}

	.mt-repeater-selected-icon span i {
	    margin-top: 24%;
	}

	.mt-repeater-icon-list{
	    height: 215px;
	    overflow-y: scroll;
	    font-size: 18px;
	    border: 1px solid #EEE;
	    border-right: 0;
	    border-top: 0;
	    padding-bottom: 4%;
	    display: none;
	    cursor: pointer;
	    box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    -webkit-box-sizing: border-box;
	}

	.mt-repeater-icon-list li{
	    float: left;
	    margin: 4% 3% 0;
	    height: 40px;
	    width: 16%;
	    text-align: center;
	    line-height: 40px;
	    border: 1px solid #EEE;
	}

	.mt-repeater-icon-list li:hover{
	    background: #333;
	    border: 1px solid #333;
	    color: #FFF;
	}

	.mt-repeater-icon-list li.icon-active{
	    background: #4ABBD5;
	    border: 1px solid #4ABBD5;
	    color: #FFF;
	}

	.customize-control-mt-repeater .mt-limit-msg {
	    display:  none;
	}

	.customize-control-mt-repeater span.mt-limit-msg:nth-of-type(2) {
	    display: block;
	    background: #fff;
	    padding: 10px 15px;
	    margin: 10px 0 10px;
	    border-left: 3px solid #ffb900;
	}

	button.mt-repeater-add-control-field {
	    float: right;
	}

	.mt-repeater-add-control-field i {
	    margin-right: 2%;
	}

	.mt-repeater-type-textarea textarea {
	    width: 100%;
	}

	.mt-repeater-type-checkbox label {
	    margin-top: 10px;
	    display: block;
	}

	/*---- toggle field --*/

	.repeater-toggle .toggle-wrapper {
	    display: -webkit-box;
	    display: -webkit-flex;
	    display: -ms-flexbox;
	    display: flex;
	    flex-direction: row;

	    -webkit-box-direction: normal;
	    -webkit-box-orient: horizontal;
	    -webkit-box-pack: start;
	    -webkit-flex-direction: row;
	    -ms-flex-direction: row;
	    -ms-flex-pack: start;
	    -webkit-justify-content: flex-start;
	    justify-content: flex-start;
	}

	.repeater-toggle .toggle-wrapper input[type=checkbox] {
	    display: none;
	}

	.repeater-toggle .toggle-wrapper label {
	    background-color: #555d66;
	    border-radius: 14px;
	    cursor: pointer;
	    display: inline-block;
	    height: 20px;
	    outline: none;
	    position: relative;
	    right: 0px;
	    top: 2px;
	    -webkit-transition: background 0.2s ease;
	    transition: background 0.2s ease;
	    -webkit-user-select: none;
	    -moz-user-select: none;
	    -ms-user-select: none;
	    user-select: none;
	    width: 34px;
	}

	.repeater-toggle .toggle-wrapper label::after,
	.repeater-toggle .toggle-wrapper label::before {
	    content: "";
	    display: block;
	    position: absolute;
	}

	.repeater-toggle .toggle-wrapper label::after {
	    border: 2px solid #555d66;
	    border-radius: 50%;
	    box-sizing: border-box;
	    height: 12px;
	    left: 4px;
	    top: 4px;
	    -webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
	    transition: background 0.2s ease, -webkit-transform 0.2s ease;
	    transition: transform 0.2s ease, background 0.2s ease;
	    transition: transform 0.2s ease, background 0.2s ease, -webkit-transform 0.2s ease;
	    width: 12px;
	}

	.repeater-toggle .toggle-wrapper label::before {
	    background-color: #eee;
	    border-radius: 60px;
	    bottom: 2px;
	    left: 2px;
	    right: 2px;
	    top: 2px;
	    -webkit-transition: background 0.2s ease;
	    transition: background 0.2s ease;
	}

	.repeater-toggle .toggle-wrapper input[type=checkbox]:checked + label {
	    background-color: #4ABBD5;
	}

	.repeater-toggle .toggle-wrapper input[type=checkbox]:checked + label::after {
	    background-color: #4ABBD5;
	    border: 2px solid #fff;
	    -webkit-transform: translateX(14px);
	    -ms-transform: translateX(14px);
	    transform: translateX(14px);
	}

	.repeater-toggle .toggle-wrapper input[type=checkbox]:checked + label::before {
	    background-color: #4ABBD5;
	}

	.repeater-toggle:hover .toggle-wrapper label::before {
	    background-color: #d9dcdf;
	}

	.mt-repeater-field-control .heading-wrapper {
	    display: flex;
	    flex-wrap: wrap;
	    align-items: center;
	    padding: 0px 15px;
	}

	.mt-repeater-field-title {
	    padding: 15px 0 15px 15px;
	    border: none;
	    flex: 1;
	}

	.mt-repeater-field-title::after {
	    margin-right: 0;
	}

	.mt-repeater-field-control .field-display:hover {
	    cursor: pointer;
	    color: #4ABBD5;
	}

	.mt-repeater-field-control.item-not-visible {
	    border: 1px dashed #aaa;
	    color: #aaa;
	}

/*--------------- Tabs Control ---------------------*/
	
	.section-tab-wrap {
		margin: -15px -10px -0-10px;
		background: #F5F7F9;
		padding: 15px 10px 0;
	}

	.section-tab-wrap ul {
		margin: 0 10px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.section-tab-wrap ul li {
		display: flex;
		padding: 10px 20px;
		flex: 1 1 0;
		justify-content: center;
		margin: 0 6px 0;
		font-weight: 600;
		cursor: pointer;
		border-top: 3px solid transparent;
	}

	.section-tab-wrap ul li.active, 
	.section-tab-wrap ul li:hover {
		background: #fff;
		box-shadow: 0 -3px 3px rgba(0,0,0,.01);
		border-radius: 3px;
		border-top: 3px solid #4ABBD5;
	}

/*--------------- Heading Toggle -------------------*/

	.mt-customizer-heading-toggle {
	    display: block;
	    margin: 0 -12px;
	    padding: 13px 12px;
	    background-color: #fff;
	    color: #555;
	    border: 1px solid #ddd;
	    border-left: 0;
	    border-right: 0;
	    font-size: 12px;
	    font-weight: 700;
	    letter-spacing: 1.3px;
	    line-height: 1;
	    text-transform: uppercase;
	}

	.customize-control-mt-heading-toggle .description {
	    margin-top: 10px;
	}

	.mt-customize-heading-toggle .toggle-button{
	    position: absolute;
	    top: 9px;
	    right: 2px;
	}

	li.customize-control.customize-control-mt-heading-toggle{
	    position: relative;
	}

/*--------------- Buttonset ------------------------*/

	.customize-control-mt-buttonset .buttonset {
	    display: flex;
	    flex-wrap: wrap;
	}
	.customize-control-mt-buttonset .buttonset .switch-label {
	    background: rgba(0, 0, 0, 0.1);
	    border: 1px rgba(0, 0, 0, 0.1);
	    color: #555d66;
	    margin: 0;
	    text-align: center;
	    padding: 0.5em 1em;
	    flex-grow: 1;
	}
	.customize-control-mt-buttonset .buttonset .switch-input:checked + .switch-label {
	    background-color: #00a0d2;
	    color: rgba(255, 255, 255, 0.8);
	}
	.customize-control-mt-buttonset .buttonset .switch-input {
	    display: none;
	}

/*--------------- Radio Icons ----------------------*/

	.customize-control-mt-radio-icons .radio-icons {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    -webkit-flex-wrap: wrap;
	    flex-wrap: wrap;
	    border: 1px solid #ddd;
	    max-height: 216px;
	}

	.customize-control-mt-radio-icons .radio-icons label {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    width: 20%;
	    -webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
	}

	.customize-control-mt-radio-icons .radio-icons .icon-select {
	    display: none;
	}

	.customize-control-mt-radio-icons .radio-icons .icon-select-label {
	    display: block;
	    width: 100%;
	    background-color: #f5f5f5;
	    color: #555;
	    border: 1px solid #ddd;
	    margin: 0;
	    font-size: 16px;
	    height: 53px;
	    line-height: 53px;
	    text-align: center;
	    transition: all .3s ease;
	    -webkit-transition: all .3s ease;
	    -moz-transition: all .3s ease;
	    -o-transition: all .3s ease;
	    -ms-transition: all .3s ease;
	}

	.customize-control-mt-radio-icons .radio-icons .icon-select-label:hover,
	.customize-control-mt-radio-icons .radio-icons .icon-select:checked + .icon-select-label {
	    background-color: #4abbd5;
	    color: #fff;
	    border-color: #4abbd5;
	}

/*--------------- Heading ------------------------*/
	
	.mt-customizer-heading {
	    display: block;
	    margin: 0 -12px;
	    padding: 13px 12px;
	    background-color: #fff;
	    color: #555;
	    border: 1px solid #ddd;
	    border-left: 0;
	    border-right: 0;
	    font-size: 12px;
	    font-weight: 700;
	    letter-spacing: 1.3px;
	    line-height: 1;
	    text-transform: uppercase;
	}

	.customize-control-mt-heading .description {
	    margin-top: 10px;
	}

/*--------------- Typography ------------------------*/
	
	.customize-control-mt-typography .typo-buttonset {
		display: flex;
		flex-wrap: wrap;
	}

	.customize-control-mt-typography .typo-buttonset .switch-label {
		background: rgba(0, 0, 0, 0.1);
		border: 1px rgba(0, 0, 0, 0.1);
		color: #555d66;
		margin: 0;
		text-align: center;
		padding: 0.5em 1em;
		flex-grow: 1;
	}

	.customize-control-mt-typography .typo-buttonset .switch-input:checked+.switch-label {
		background-color: #00a0d2;
		color: rgba(255, 255, 255, 0.8);
	}

	.customize-control-mt-typography .typo-buttonset .switch-input {
		display: none;
	}

	.customize-control-mt-typography ul li {
		display: flex;
		align-items: center;
		margin-top: 20px;
	}

	.customize-control-mt-typography ul li .customize-control-title {
		width: 100%;
	}

	.customize-control-mt-typography .select2-container {
		width: 350px !important;
	}

	.customize-control-mt-typography .select2-selection__arrow {
		height: 40px !important;
	}

	.customize-control-mt-typography .select2-container .select2-selection--single {
		padding: 4px 0;
		height: 40px;
	}

/*------------- upgrade --------------------------*/
	.customize-control-title.upgrade-title i {
		vertical-align: middle;
		margin-right: 5px;
		font-size: 18px;
	}

	.mt-upgrade-pro-wrapper .upgrade-title-wrap {
		color: #414141;
		font-weight: 600;
		margin-bottom: 10px;
	}

	.mt-upgrade-pro-wrapper .upgrade-title-wrap::before {
		content: "\f14c";
		font-family: dashicons;
		font-size: 20px;
		display: inline-block;
		vertical-align: bottom;
		margin-right: 5px;
	}

	.mt-upgrade-pro-wrapper .upgrade-item::before {
		content: "\f147";
		font-family: dashicons;
		font-size: 20px;
		display: inline-block;
		vertical-align: bottom;
		margin-right: 5px;
	}

	.mt-upgrade-pro-wrapper .upgrade-list-item {
		margin: 15px 0 15px;
	}

	.customize-control-mt-upgrade {
		background: #fff;
		padding: 15px 15px 15px;
		box-sizing: border-box;
		margin-top: 20px;
		border-top: 3px solid #4ABBD5;
	}

	.customize-control-title.upgrade-title i {
		vertical-align: middle;
		margin-right: 5px;
		font-size: 18px;
	}

	.upgrade-description {
	  	margin: 5px 0 10px;
	}

	.mt-upgrade-btn {
		background: #2271b1;
		color: #fff;
		padding: 7px 10px;
		display: inline-block;
		text-decoration: none;
		border-radius: 3px;
		line-height: 19px;
		text-transform: capitalize;
	}

	.mt-upgrade-btn:hover {
		background: #135E96;
		color: #fff;
	}