.cssjs {
    display: none;
}

.mdev {
    position: relative;
    margin: 0;
}

.clear {
    clear: both;
}

.mdev a {
    text-decoration: none;
    box-shadow: none;
}

.mdev-left {
    float: left;
}

.mdev-right {
    float: right;
}

.mdev-table {
	display: table;
    width: 100%;
    height: 100%;
}

.mdev-cell {
	display: table-cell;
	vertical-align: middle;
}

.mdev-notice {
    background: #2271b1;
    padding: 12px;
    border-radius: 3px;
    color: #FFF;
	margin-bottom: 25px;
}

.mdev-error {
    background: #f44336;
}

.mdev-success {
    background: #4caf50;
}

.err.mdev-error {
    color: #f44336;
    background: none;
    padding: 0;
    font-size: 13px;
    line-height: 13px !important;
    position: absolute;
    bottom: 5px;
    right: 5px;
    margin: 0;
}

.mdev-tab-ul {
    padding: 0 0 8px !important;
    margin: 0 0 -4px !important;
    overflow: hidden;
}

.mdev-tab-ul li {
    list-style: none;
    float: left;
	margin: 0;
}

.mdev-tab-ul a {
    display: block;
    background: #FFF;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    margin-right: 5px;
    border: 1px solid #ddd;
    font-weight: bold;
}

.mdev-tab-ul a:hover {
    background: #f9f9f9;
}

.mdev-tab-ul a.active {
    background: #FFF;
    border-radius: 5px 5px 0 0;
    border-bottom-color: transparent;
    position: relative;
}

.mdev-tab-ul a.active:after {
    content: "";
    position: absolute;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    left: -1px;
    right: -1px;
    background: #FFF;
    height: 8px;
    bottom: -4px;
}

.mdev-tab-panel {
    border: 1px solid #ddd;
    border-top: 4px solid #045081;
    background: #FFF;
    padding: 30px;
    box-shadow: rgb(0 0 0 / 8%) 0px 2px 4px;
    display: none;
	overflow: hidden;
}

.mdev-tab-panel.active {
    display: block;
}

.mdev-fields {
    margin: 0 -10px;
	position: relative;
}

.mdev-fields .mdev-message {
	margin:0 10px;
}

.mdev-field {
    margin-bottom: 25px;
	position: relative;
	clear: both;
}

.mdev-field.mdev-left {
    clear: none;
}

.mdev-field.mdev-medium, 
.mdev-field.mdev-small, 
.mdev-field .mdev-column {
    width: 50%;
    float: left;
	clear: none;
}

.mdev-field.mdev-small, 
.mdev-column-3 .mdev-column {
    width: 33.33%;
}

.mdev-field-container {
    position: relative;
    margin: 0 10px;
}

.mdev-column-2.mdev-field-container, 
.mdev-column-3.mdev-field-container {
    margin: 0;
}

.mdev-field-content {
	position: relative;
}

.mdev-column .mdev-field-content {
    margin: 0 10px;
}

.mdev-clone.mdev-field-content {
    margin-bottom: 5px;
    position: relative;
}

.mdev-clone.mdev-field-content label {
    display: none;
}

.mdev-clone.mdev-field-content:first-child label {
    display: block;
}

.mdev-clone .mdev-delete:before {
    content: "✖";
}

.mdev-field-action {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #c8e6c9;
    display: block;
    padding: 3px 6px;
    border-radius: 4px;
	display: none;
}

.mdev-checkbox .mdev-field-action {
    top: 0;
}

.mdev-checkbox .err.mdev-error, 
.mdev-radio .err.mdev-error {
    position: initial;
}

.mdev-p-ajax .mdev-field-action {
	display: block;
}

.mdev-field-action a {
    position: relative;
    display: inline-block;
    top: auto;
    right: auto;
    width: 20px;
    text-align: center;
}

.mdev-field:hover .mdev-field-action {
	display: block;
}

.mdev-label {
    display: block;
    margin-bottom: 5px;
    line-height: 1.5em;
	overflow: hidden;
}

.mdev-clone.mdev-field-container .mdev-label {
    display: none;
}

.mdev-clone.mdev-field-container:first-child .mdev-label {
    display: block;
}

.mdev-icon {
    margin-top: -1px;
}

.mdev-label em {
    color: #e91e63;
}

.mdev-description {
    display: block;
	margin-bottom: 5px;
	margin-top: -2px;
}

.mdev-label .mdev-description {
    display: inline;
	margin-bottom: 0;
}

.mdev-description-icon {
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
    font-family: sans-serif;
    line-height: 14px;
    border: 1px solid;
    height: 14px;
    width: 14px;
    text-align: center;
    border-radius: 10px;
    color: #777474;
}

.mdev-description:hover .mdev-description-icon {
    z-index: 11;
    position: relative;
    background: #1496bb;
    color: #FFF;
}

.mdev-description-content {
    position: absolute;
    background: #1496bb;
    color: #FFF;
    padding: 20px;
    z-index: 1;
    margin: -18px 0 0 -8px;
    border-radius: 5px;
	display: none;
	min-width: 300px;
}

.mdev-description:hover .mdev-description-content {
	display: inline-block;
}

.mdev-description-content a {
	color: #FFF;
	font-weight: bold;
	text-decoration: underline;
}

.nl.yi .mdev-icon {
    position: absolute;
    margin: 14px;
	font-size: 19px;
}

.nl.yi .mdev-field-base {
    text-indent: 28px;
}

.nl.yd .mdev-description {
    position: absolute;
    right: 0;
    margin: 14px;
}

.nl.yd .mdev-description-content, 
.yl.dr .mdev-description-content {
    right: 0;
    margin-right: 8px;
}

.yl.dr .mdev-description {
    float: right;
}

.mdev-radio .mdev-choice {
    display: inline-block;
    margin-right: 20px;
}

.mdev-radio .mdev-choice .mdev-label {
	margin-bottom: 0;
}

.mdev-field-base,
.mdev-submit,
.mdev-btn {
    width: 100%;
    padding: 12px !important;
    border: 1px solid #666 !important;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    margin: 0;
    height: 48px;
	background: #FFF;
}

select.mdev-field-base {
    min-width: 100% !important;
}

textarea.mdev-field-base {
 	height: 200px;
    padding: 15px 12px !important;
}

input[type=checkbox].mdev-field-base,
input[type=radio].mdev-field-base {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 10px;
    position: relative;
}

input[type=radio].mdev-field-base {
	border-radius: 50px;
}

input[type=checkbox].mdev-field-base:before {
    content: "✘";
    display: block;
    font-weight: bold;
    position: absolute;
    left: 6px;
    top: 1px;
    font-size: 15px;
    color: #666;
}

input[type=checkbox].mdev-field-base:checked:before {
    content: "✔";
    color: #4caf50;
}

input[type=radio].mdev-field-base::before, 
input[type=radio].mdev-field-base:checked::before {
    content: "" !important;
    font-size: 20px;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    margin: 0;
    line-height: 14px;
    float: none;
}

input[type=radio].mdev-field-base:checked::before {
    content: "" !important;
    background: #4caf50;
    width: 15px;
    height: 15px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    border-radius: 30px;
}

.mdev-submit,
.mdev-btn {
    width: auto;
    padding: 12px 30px !important;
    color: #FFF !important;
    background: #036aab;
    border-color: #036aab !important;
    cursor: pointer;
}

.mdev-submit:hover,
.mdev-btn:hover {
    background: #045081;
    border-color: #045081 !important;
}

.mdev-submit i {
	margin-right: 8px;
}

.mdev-btn {
    display: inline-block;
    background: #333;
    border-color: #333 !important;
}

.mdev-clone-a {
    float: right;
    border-radius: 1000px;
	position: relative;
	z-index: 1;
}

.mdev-filetype {
    margin-top: 5px;
    color: #056259;
	font-size: 13px;
}

.mdev-filetype span {
	font-weight: bold;
}

.mdev-files {
    margin-top: 10px;
}

.mdev-files .mdev-file {
    float: left;
    margin: 0 10px 10px 0;
	border-radius: 5px;
	position: relative;
	background: #f4f4f4;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 10%);
}

.mdev-files .mdev-file img {
    width: auto;
    height: 100px;
	display: block;
	border-radius: 5px;
}

.mdev-files .mdev-file strong {
    display: block;
    height: 100px;
    width: 100px;
    text-align: center;
    font-family: sans-serif;
    font-size: 18px;
    padding-top: 35px;
}

.mdev-files .mdev-file span {
    -webkit-transition: .25s;
    -o-transition: .25s;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow: hidden;
    max-height: 100%;
    word-wrap: break-word;
    text-align: center;
    font-weight: 600;
    background: rgba(255,255,255,.8);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 15%);
    line-height: 1.3em;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 5px;
    display: none;
}

.mdev-files .mdev-file:hover span {
	display: block;
}

.mdev-do-ajax, 
.mdev-do-ajax .mdev-submit {
    position: relative;
}

.mdev-load {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.mdev-do-ajax:after, 
.mdev-do-ajax .mdev-submit:after, 
.ild.mdev-do-ajax i:after {
    content: "";
    width: 13px;
    height: 13px;
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
	background: url(../assets/blue-spinner.png) no-repeat;
    background-size: 100% !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    z-index: 2;
}

.wht.mdev-do-ajax:after, 
.wht.ild.mdev-do-ajax i:after, 
.mdev-do-ajax .mdev-submit:after, 
#mdev-field-list .mdev-do-ajax i:after {
	background: url(../assets/spinner.png) no-repeat;
}

.blk.mdev-do-ajax:after, 
.blk.mdev-do-ajax .mdev-submit:after, 
.blk.ild.mdev-do-ajax i:after {
	background: url(../assets/black-spinner.png) no-repeat;
}

form.mdev-do-ajax:after, 
.ild.mdev-do-ajax:after, 
.ild.mdev-do-ajax .mdev-submit:after {
	display: none !important;
}

.mdev-do-ajax .mdev-submit span, 
.ild.mdev-do-ajax i:before, 
.mdev-do-ajax .vhdn  {
	visibility: hidden;
	opacity: 0;
}

.ild.mdev-do-ajax i {
    position: relative;
}


.ild.mdev-do-ajax .mdev-submit span {
    visibility: visible;
    opacity: 1;
}

.mdev-selected {
	position: relative;
}

.mdev-selected:after {
    content: "✔";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    font-size: 50px;
    line-height: 20px;
    color: #4caf50;
    border: 2px solid #FFF;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: #FFF;
    z-index: 1;
    font-family: sans-serif;
    box-shadow: 10px 10px 50px #000;
}

.mdev-dn,
.mdev-tab-ul a.mdev-dn {
    display: none;
}

.mdev-db,
.mdev-dn.active {
    display: block;
}

.mdev-dn.active {
    display: block !important;
}

.mdev-delete, 
.mdev-edit {
    position: absolute;
    right: 5px;
    top: 5px;
    font-weight: bold;
    color: #f44336;
    cursor: pointer;
}

.mdev-edit {
    right: 20px;
	color: #2271b1;
}

.mdev-delete:hover, 
.mdev-edit:hover {
    color: #333;
}

.mdev-modal-open {
    overflow: hidden;
}

.mdev-modal-open #et-main-area, 
.mdev-modal-open #main-content {
    position: relative;
    z-index: 9999999;
}

.mdev-modal {
    background: #0000008c;
    filter: alpha(opacity=70);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    height: 100%;
    width: 100%;
	overflow: auto;
	display: none;
}

.mdev-modal.in {
	display: block;
}

.mdev-modal-container {
    display: table;
    height: 100%;
    width: 100%;
}

.mdev-modal-base {
    display: table-cell;
    vertical-align: middle;
}

.mdev-modal-content {
    position: relative;
    background: #FFF;
    padding: 30px;
    margin: 0 auto;
    width: 800px;
    -webkit-box-shadow: 0 3px 6px rgb(0 0 0 / 30%);
    box-shadow: 0 3px 6px rgb(0 0 0 / 30%);
}

.mdev-modal-close {
    position: fixed;
    font-family: sans-serif;
    font-size: 15px;
    line-height: 25px;
    top: 10px;
    left: 10px;
    background: #f44336;
    width: 25px;
    height: 25px;
    color: #FFF;
    font-weight: bold;
    border-radius: 20px;
	text-align: center
}

.mdev-modal-close:before {
    content: "✖";
}

.mdev-modal-close:hover {
    background: #FFF;
    color: #f44336;
}

#mdev-preview-fields .mdev-field-container {
    min-height: 30px;
}

#mdev-preview-fields .mdev-field:hover .mdev-field-container:before {
    content: "";
    background: #4caf5040;
    position: absolute;
    left: -15px;
    right: -15px;
    top: -15px;
    bottom: -15px;
	border-radius: 3px;
}
 
#mdev-preview-fields .mdev-field:hover .mdev-column-2.mdev-field-container:before, 
#mdev-preview-fields .mdev-field:hover .mdev-column-3.mdev-field-container:before {
    left: -5px;
    right: -5px;
}

/**end**/

.mdev-field-setting {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 380px;
    background: #e9e9e9;
    border-right: 1px solid #ddd;
}

.mdev-field-setting .mdev-tabs {
    position: sticky;
    top: 0;
    height: 100%;
    max-height: calc(100vh - 0px);
    overflow-y: auto;
    z-index: 1 !important;
}

.mdev-field-setting .mdev-tab-ul {
    position: absolute;
    left: 30px;
    top: 30px;
    z-index: 1;
    position: sticky;
    top: 0;
    max-height: calc(100vh - 32px);
    background: #e9e9e9;
    padding: 30px 30px 20px !important;
}

.mdev-field-setting .mdev-tab-ul a {
    padding: 0;
    border: 0;
    color: #1d2327;
    background: none !important;
}

.mdev-field-setting .mdev-tab-ul a.active:after {
    display: none;
}

.mdev-field-setting .mdev-tab-ul li:last-child a.active {
    margin-left: 10px;
    position: relative;
    color: #2271b1;
}

.mdev-field-setting .mdev-tab-ul li:last-child a.active:before {
    content: "/";
    color: #1d2327;
    margin-right: 15px;
}

.mdev-field-setting .mdev-tab-panel {
    border: 0;
    background: #e9e9e9;
    box-shadow: none;
    padding-top: 5px;
}

.mdev-field-setting #mdev-field-options {
	transition: width .4s;
	-moz-transition: width .4s;
	-webkit-transition: width .4s;
	transition: width .4s;
	padding: 0;
    width: 0;
    display: block;
    overflow: hidden;
    position: absolute;
    background: #e9e9e9;
    top: 0;
    left: 0;
}

.mdev-field-setting #mdev-field-options .mdev-base {
    padding: 78px 30px 30px;
}

.mdev-field-setting #mdev-field-options.active {
    width: 100%;
}


#mdev-field-list ul {
    padding: 0;
    margin:  -3px;
}

#mdev-field-list li {
    list-style: none;
    width: 50%;
    float: left;
	margin: 0;
}

#mdev-field-list a {
    display: block;
    text-decoration: none;
    background: #2271b1;
    color: #FFF;
    padding: 12px 15px;
    margin: 3px;
    border-radius: 3px;
}

#mdev-field-list a i {
    margin-right: 8px;
}

#mdev-field-list a:hover {
    background: #045081;
}

#mdev-field-list a.mdev-do-ajax i {
    color: #FFF !important;
}

#mdev-field-list a.mdev-do-ajax {
    background: #1d2327;
}

#mdev-field-options #options-field .mdev-clone label {
    display: none;
}

#mdev-field-options #options-field .mdev-clone:first-child label {
    display: block;
}

#mdev-field-options h4 {
    background: #036aab;
    color: #FFF;
    padding: 15px;
    display: block;
    margin: -10px -30px 30px;
    text-align: center;
    letter-spacing: 1px;
}

.mdev-form-setting {
    margin-left: 380px;
	min-height: 1000px;
}

.mdev-form-setting .mdev-shortcode, 
#mdev-form-settings #ajax-call-field code {
    display: block;
    margin: 0;
    background: rgba(0,0,0,.07);
    padding: 30px;
    color: #333;
}

.mdev-form-setting .mdev-tab-ul {
    background: #e9e9e9;
    padding: 0  !important;
    position: sticky;
    top: 32px;
    max-height: calc(100vh - 32px);
    margin: 0 1px !important;
    z-index: 1;
}

.mdev-form-setting .mdev-tab-ul:after {
    content: "";
    border-top: 4px solid #2271b1;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.mdev-form-setting .mdev-tab-ul a {
    border: 0;
    background: none;
    border-radius: 0;
    padding: 15px 20px;
}

.mdev-form-setting .mdev-tab-ul a.active {
    color: #FFF;
    background: #2271b1;
}

.mdev-form-setting .mdev-tab-ul a.active:after {
    display: none;
}

.mdev-form-setting .mdev-tab-panel {
    border: 0;
	padding: 50px;
}

.mdev-form-setting .mdev-shortcode {
    float: right;
    padding: 16px 15px;
    background: none;
}

#mdev-preview-fields .mdev-field {
    display: block !important;
}

#mdev-preview-fields .mdev-field-content, 
#mdev-preview-fields .mdev-column {
    position: relative;
}

#mdev-form-settings #ajax-call-field pre {
    margin: 0;
}

.post-php.post-type-mdevform #wpcontent {
    padding-left: 0;
    margin-bottom: -18px;
}

.post-php.post-type-mdevform #wpbody.mdev-do-ajax:after {
    top: 100px;
    bottom: auto;
    width: 30px;
    height: 30px;
}

.post-php.post-type-mdevform #wpbody-content {
	display: none !important;
}

.wrap.mdev {
    padding-right: 20px;
}

.wrap.mdev form {
    margin-top: 10px;
}

.post-php.post-type-mdevform #adminmenu a.wp-has-current-submenu:after {
    border-right-color: #e9e9e9;
}

.post-php.post-type-mdevform .mdev-field-setting .mdev-tabs {
    top: 32px;
    max-height: calc(100vh - 32px);
}

.post-php.post-type-mdevform input[type=checkbox].mdev-field-base:before {
    top: 8px;
    left: 4px;
    font-size: 13px;
}

.post-php.post-type-mdevform input[type=checkbox].mdev-field-base:checked:before {
    top: 12px;
    left: 3px;
}

.post-type-mdevform .page-title-action .mdev-load {
    position: inherit;
    margin-left: 5px;
    top: 4px;
}

.post-type-mdevform .page-title-action .mdev-load:before {
    position: inherit;
}

.wp-admin input[type=file] {
    padding: 12px; 
}

.wp-admin input[type=radio].mdev-field-base:checked::before {
    width: 10px;
    height: 10px; 
}

.wp-admin #translations-field .mdev-field {
    margin-bottom: 5px;
}


@media (max-width: 980px) {
	
	.mdev-modal-content {
		width: 90%;
	}
	
}
	
@media (max-width: 580px) {
	
	.mdev-field, 
	.mdev-field .mdev-column {
		width: auto !important;
		float: none !important;
	}
	
	.mdev-field .mdev-column {
		margin-bottom: 25px;
	}	
	
	.mdev-field .mdev-column:last-child {
		margin-bottom: 0;
	}
	
	.mdev-filetype span {
		display: block;
    	margin-top: -10px;
	}
	
}

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
