
.mmtl-header:before,
.mmtl-header:after,
.mmtl-controls:before,
.mmtl-controls:after,
.mmtl-controls > ul:before,
.mmtl-controls > ul:after,
.mmtl-preview-header:before,
.mmtl-preview-header:after,
.mmtl-preview-header:before,
.mmtl-layout:after
{
    content: '';
    display: table;
}

.mmtl-header:after,
.mmtl-controls:after,
.mmtl-controls > ul:after,
.mmtl-preview-header:after,
.mmtl-layout:after
{
    clear: both;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Reset
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-editor ul
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.mmtl-editor li
{
    margin: 0;
    padding: 0;
}

.mmtl-editor *
{
    box-sizing: border-box;
}

/*
------------------------------------------------------------------------------------------------------------------------
 General
------------------------------------------------------------------------------------------------------------------------
*/

body.mmtl-active #postdivrich,
body.mmtl-active .mmtl-activate,
body.mmtl-inactive .mmtl-deactivate 
{
    display: none
}

body.mmtl-debug.mmtl-active #postdivrich 
{
    display: block!important
}

#poststuff .mmtl-editor 
{
    margin-top: 20px
}

.mmtl-editor .ui-sortable-handle 
{
    cursor: move
}


.mmtl-header,
.mmtl-content,
.mmtl-footer
{
    padding: 0 15px;
}

.mmtl-header
{
    padding-top: 15px;
    padding-bottom: 15px;
}

.mmtl-header-stuck .mmtl-header 
{
    border-bottom: 1px solid #dedede;
    background-color: rgba(255, 255, 255, .98);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    z-index: 999
}

.mmtl-footer
{
    margin-bottom: 15px;
}

#poststuff .mmtl-header .mmtl-title,
.mmtl-header .mmtl-title
{
    float: left;
    margin: 0;
    padding: 0 5px 0 0;
    line-height: 30px;
}

.mmtl-header .mmtl-controls
{
    float: right;
    margin-left: 100px;
}

.mmtl-media,
body.mmtl-full-screen 
{
    overflow: hidden
}

.mmtl-add-component-button 
{
    display: block;
    border: 1px dashed #CCC;
    text-align: center;
    padding: 15px;
    color: inherit;
    outline: 0;
    opacity: .75;
    text-decoration: none
}

.mmtl-add-component-button:hover 
{
    color: inherit;
    opacity: 1
}

.mmtl-add-component-button:before
{
    display: block;
    margin: 0 auto;
    margin-bottom: 3px;
}

.mmtl-box 
{
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}

.mmtl-is-sorting .mmtl-control-add_before-wrap,
.mmtl-is-sorting .mmtl-control-add_after-wrap
{
    display: none !important;
}

.mmtl-editor .dashicons-before:before
{
    line-height: inherit;
    font-size: inherit;
    width: inherit;
    min-width: inherit;
    height: inherit;
    margin: 0;
    padding: 0;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Components
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-component
{
    margin-bottom: 5px;
}

.mmtl-component:last-child
{
    margin-bottom: 0;
}

.mmtl-component-inner
{
    position: relative;
    
}

.mmtl-component-header
{
    background-color: #F5F5F5;
}

.mmtl-component-inner
{
    position: relative;
    background-color: #fff;
}

.mmtl-component > .mmtl-component-inner > .mmtl-component-header
{
    position: absolute;
    right: 0;
    display: none;
    background-color: rgba( 255, 255, 255, .95 );
}

.mmtl-component:hover > .mmtl-component-inner > .mmtl-component-header
{
    display: initial;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner,
.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner
{
    background-color: transparent;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header,
.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-header
{
    position: static;
    display: block;
}

/* Row */

.mmtl-component[data-type="mmtl-row"]
{
    margin-bottom: 0;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-content
{
    min-height: 15px;
}

.mmtl-component[data-type="mmtl-row"].mmtl-closed
{
    margin-bottom: 15px;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header
{
    background-color: #32373c;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header:before,
.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header:after
{
    content: '';
    display: table;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control:hover
{
    color: #fff;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header:after
{
    clear: both;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header > .mmtl-controls,
.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header > .mmtl-component-meta
{
    clear: none;
    float: left;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-component-meta
{
    padding: 0;

}

/* Column */

.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-header
{
    background-color: #F5F5F5;
}

.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-content
{
    padding: 0 5px 5px 5px;
    min-height: 30px;
}

.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner
{
    background-color: #F5F5F5;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Controls
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-controls > ul
{
    float: left;
    width: 100%;
}

.mmtl-controls > ul > li
{
    float: left;
    display: inline-block;
    text-decoration: none;
}

.mmtl-control
{
    display: inline-block;
    text-decoration: none;
    color: #a0a5aa;
    text-align: center;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
}

.mmtl-control.dashicons,
.mmtl-control.dashicons-before
{
    font-size: 18px;
}

.mmtl-control.glyphicons
{
    font-size: 15px;
}

.mmtl-control:before
{
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    width: inherit;
    min-width: inherit;
    height: inherit;
}

.mmtl-control:hover
{
    color: #000;
}

/*
------------------------------------------------------------------------------------------------------------------------
 add before/after
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-component .mmtl-control-add_before-wrap,
.mmtl-component .mmtl-control-add_after-wrap
{
    position: absolute;
    color: initial;
    display: none;
    z-index: 1;
}

.mmtl-component .mmtl-control-add_before,
.mmtl-component .mmtl-control-add_after
{
   font-size: 15px;
} 

.mmtl-component:hover > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_before-wrap,
.mmtl-component:hover > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after-wrap
{
    display: initial;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_before-wrap,
.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after-wrap
{
    left: 0;
    width: 100%;
    text-align: center;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_before-wrap .mmtl-control,
.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after-wrap .mmtl-control
{
    color: #a0a5aa;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_before-wrap .mmtl-control:hover,
.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after-wrap .mmtl-control:hover
{
    color: initial;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_before,
.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after
{
    height: 15px;
    line-height: 15px;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_before-wrap
{
    top: -15px;
}

.mmtl-component[data-type="mmtl-row"].mmtl-closed > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after-wrap
{
    bottom: -15px;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after-wrap
{
    bottom: 0;
}

.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_before,
.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after
{
    width: 15px;
    min-width: auto;
}

.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_before-wrap
{
    left: -15px;
}

.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-add_after-wrap
{
    right: -15px;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Fullscreen
------------------------------------------------------------------------------------------------------------------------
*/

body.mmtl-full-screen .mmtl-editor.postbox 
{
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 0
}

body.mmtl-full-screen .mmtl-header-stuck .mmtl-header 
{
    top: 0!important
}

body.mmtl-full-screen .mmtl-header-stuck .mmtl-content 
{
    margin-top: 15px
}

.mmtl-lightbox .mmtl-lightbox-inner,
body.mmtl-full-screen #mmtl-overlay 
{
    display: block
}

#mmtl-overlay 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    z-index: 99999;
    background-color: #fff;
    display: none
}

/*
------------------------------------------------------------------------------------------------------------------------
 Sorting
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-placeholder .mmtl-placeholder-inner
{
    border: 1px dashed #dedede;
}

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

.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-header .mmtl-controls > ul
{
    padding-right: 30px;
}

.mmtl-component[data-type="mmtl-row"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-toggle-wrap,
.mmtl-component[data-type="mmtl-col"] > .mmtl-component-inner > .mmtl-component-header .mmtl-control-toggle-wrap
{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    border-right: 0
}

.mmtl-component.mmtl-closed > .mmtl-component-inner .mmtl-component-header 
{
    min-height: 25px;
    margin-bottom: 0;
    border-bottom: 0;
}

.mmtl-component.mmtl-closed > .mmtl-component-inner .mmtl-component-meta 
{
    margin-bottom: 0;
    border-bottom: 0;
}

.mmtl-component.mmtl-closed > .mmtl-component-inner .mmtl-component-content 
{
    display: none;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Screen
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-screen 
{
    overflow: hidden;
}

.mmtl-screen-header,
.mmtl-screen-content,
.mmtl-screen p.submit
{
    margin: 0;
    padding: 15px;
}

.mmtl-screen p.submit
{
    text-align: right;
    padding-bottom: 30px;
}

.mmtl-screen-header
{
    color: #fff;
    background-color: #0073aa;
}

.mmtl-screen-header h2 
{
    margin: 0;
    padding: 0;
    
    color: inherit;
}

.mmtl-screen-content p
{
    margin: 0 0 15px 0;
}

.mmtl-screen-content h3:first-child
{
    margin-top: 0;
}

.mmtl-screen-content > *:last-child,
.mmtl-screen-content .ui-tabs-panel > *:last-child
{
    margin-bottom: 0;
}

.mmtl-screen-content.ui-tabs h3
{
    display: none;
}

.mmtl-screen input[type=text],
.mmtl-screen input[type=search],
.mmtl-screen select,
.mmtl-screen textarea 
{
    width: 100%;
    margin: 0
}

.mmtl-screen .mmtl-screen-footer 
{
    text-align: right;
    margin: 0;
    padding: 20px
}

.mmtl-screen .mmtl-screen-footer p.submit
{
    margin: 0;
    padding: 0;

    text-align: right;
}

.mmtl-screen .ui-tabs,
.mmtl-screen .ui-tabs .ui-tabs-nav 
{
    padding: 0
}

.mmtl-screen .ui-tabs-nav 
{
    border: 0;
    background-color: #eee
}

.mmtl-screen .ui-tabs .ui-tabs-panel 
{
    padding: 20px
}

.mmtl-screen .ui-tabs .ui-tabs-nav .ui-tabs-anchor 
{
    color: #333;
    cursor: pointer;
    padding: 15px;
    font-size: 13px;
    line-height: 15px;
    text-transform: uppercase
}

.mmtl-screen .ui-tabs .ui-tabs-nav > li 
{
    margin: 0;
    border: 0 solid #CCC
}

.mmtl-screen .ui-tabs .ui-tabs-nav li.ui-tabs-active 
{
    padding: 0
}

.mmtl-screen .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor 
{
    background-color: #FFF
}

.mmtl-screen .ui-tabs-panel > :first-child 
{
    margin-top: 0
}

.mmtl-screen .ui-tabs-nav a:focus 
{
    -webkit-box-shadow: none;
    box-shadow: none
}

/*
------------------------------------------------------------------------------------------------------------------------
 Component Picker Screen
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-component-picklist 
{
    background-color: #f5f5f5;
}

.mmtl-component-picklist h2 
{
    display: block;
}

.mmtl-component-picklist .mmtl-component 
{
    position: relative;
    background-color: #fff;
    padding: 15px;
    cursor: pointer;
    border: 1px solid #dedede;
    min-height: 70px;
    padding-left: 60px;
    margin-bottom: 15px;
}

.mmtl-component-picklist .mmtl-component:hover 
{
    border-color: #999;
}

.mmtl-component-picklist .mmtl-component > *:first-child 
{
    margin-top: 0;
}

.mmtl-component-picklist .mmtl-component > *:last-child 
{
    margin-bottom: 0;
}

.mmtl-component-picklist .mmtl-component-content
{
    padding: 0;
    margin: 0;
}

.mmtl-component-picklist .mmtl-component-title
{
    margin-top: -3px !important;
    margin-bottom: 0;
}

.mmtl-component-picklist .mmtl-component-icon
{
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    padding: 15px;
    text-align: center;
}

.mmtl-component-picklist .mmtl-component-icon > *
{
    display: block;
    line-height: 30px;
    font-size: 18px;
    color: #fff;
    width: 30px;
    height: 30px;
    background-color: #0073aa;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.mmtl-component-picklist .mmtl-component-icon > *:before
{
    padding: 0;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Media
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-media 
{
    position: relative;
    display: block;
    border: 1px solid #ddd;
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin: 0
}

.mmtl-meta[data-type=bg_image] 
{
    display: inline-block;
    height: 20px;
    width: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center
}

.mmtl-media-image,
.mmtl-media-image.mmtl-image-h 
{
    width: auto;
    height: 100%
}

.mmtl-media-image 
{
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto
}

.mmtl-media-image.mmtl-image-v 
{
    width: 100%;
    height: auto
}

.mmtl-media .mmtl-media-add,
.mmtl-media .mmtl-media-remove 
{
    color: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    text-decoration: none;
    background-color: rgba(255, 255, 255, .75);
    z-index: 99;
    font-size: 15px;
    line-height: inherit;
}

.mmtl-media .mmtl-media-add:before,
.mmtl-media .mmtl-media-remove:before
{
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    top: 0;
}

.mmtl-media-remove,
.mmtl-media.mmtl-has-image .mmtl-media-add 
{
    display: none
}

.mmtl-media.mmtl-has-image:hover .mmtl-media-remove 
{
    display: block
}

/*
------------------------------------------------------------------------------------------------------------------------
 Settings
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-field
{
    margin-bottom: 15px;
}

.mmtl-field label
{
    display: inline-block;
    margin-bottom: 3px;
}

.mmtl-field-title
{
    margin-bottom: 3px;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Preview
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-preview
{
    padding: 15px;
}
.mmtl-preview-header,
.mmtl-preview-content
{
    
}

.mmtl-preview-title
{
    font-weight: bold;
    box-sizing: border-box;
}

.mmtl-preview-title > span,
.mmtl-preview-title > span:before
{
    height: 100%;
    width: auto;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

.mmtl-preview-meta li[data-type="id"]:before
{
    content : '#';
}

.mmtl-preview-icon
{
    float: left;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    color: #fff;
    text-align: center;
    background-color: #0073aa;
     -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.mmtl-preview-icon > span,
.mmtl-preview-icon > span:before
{
    width: inherit;
    height: inherit;
    line-height: inherit;
    font-size: inherit;
    margin: 0;
    padding: 0;
}

.mmtl-preview-title,
ul.mmtl-preview-meta
{
    margin-left: 40px;
}

.mmtl-preview-content
{
    clear: both;
    font-size: 13px;
    line-height: 20px;
    
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dotted #dedede;
}

.mmtl-preview-content > *:first-child
{
    margin-top: 0;
}

.mmtl-preview-content > *:last-child
{
    margin-bottom: 0;
}

.mmtl-preview-content *
{
    max-width: 100% !important;
}

ul.mmtl-preview-meta
{
    font-size: 12px;
    line-height: 15px;
    margin-top: 3px;
    padding: 0;
    color: #999;
    list-style: none;
    font-style: italic;
}

ul.mmtl-preview-meta > li
{
    margin: 0;
    padding: 0;
    display: inline;
}

ul.mmtl-preview-meta > li:after
{
    content : ', ';
}

ul.mmtl-preview-meta > li:last-child:after
{
    content : '';
}

/*
------------------------------------------------------------------------------------------------------------------------
 Component Meta
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-component-meta 
{
    clear: both;
    text-align: center;
    color: #999;
    font-size: 10px;
    height: 30px;
    line-height: 27px;
    padding-left: 15px;
    padding-right: 15px;
}

.mmtl-component-meta .mmtl-meta 
{
    margin: 0 3px;
    color: #999;
    vertical-align: middle
}

.mmtl-component-meta .mmtl-meta[data-type=id]:before 
{
    content: '#'
}

.mmtl-component-meta .mmtl-meta[data-type=class]:before 
{
    content: '.'
}

.mmtl-component-meta .mmtl-meta[data-type=id],
.mmtl-component-meta .mmtl-meta[data-type=class] 
{
    font-family: monospace
}

.mmtl-component-meta .mmtl-meta[data-type=push] .glyphicons:before,
.mmtl-component-meta .mmtl-meta[data-type=pull] .glyphicons:before 
{
    position: relative;
    top: 1px
}

/*
------------------------------------------------------------------------------------------------------------------------
 Row Shortcode
------------------------------------------------------------------------------------------------------------------------
*/

ul.mmtl-layout 
{
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none
}

ul.mmtl-layout .mmtl-row 
{
    float: left;
    margin: 0;
    padding: 0
}

ul.mmtl-layout a
{
    float: left;
    display: block;
    width: 50px;
    padding: 2px;
    margin-right: 10px;
    border: 1px solid #dedede;
    background-color: #fff
}

ul.mmtl-layout li a.mmtl-active,
ul.mmtl-layout li a:hover 
{
    border-color: #999
}

ul.mmtl-layout li a.mmtl-active [class*=mmtl-col-],
ul.mmtl-layout li a:hover [class*=mmtl-col-] 
{
    background-color: #999
}

ul.mmtl-layout [class*=mmtl-col-] 
{
    height: 30px;
    padding: 0;
    border: 1px solid #FFF;
    background-color: #dedede
}

.mmtl-row
{
    margin-left: -7.5px;
    margin-right: -7.5px;
}

.mmtl-row .mmtl-col 
{
    padding-left: 7.5px;
    padding-right: 7.5px;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Column Shortcode
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-component[data-type="mmtl-col"]
{
    margin-bottom: 15px;
}

table.mmtl-responsive-table 
{
    border: 1px solid #dedede;
    border-collapse: collapse
}

table.mmtl-responsive-table td,
table.mmtl-responsive-table th 
{
    padding: 20px;
    border: 1px solid #dedede;
    text-align: center;
    vertical-align: middle
}

.mmtl-responsive-table td:nth-child(1) 
{
    background-color: #f5f5f5
}

/*
------------------------------------------------------------------------------------------------------------------------
 Text Shortcode
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-component[data-type="mmtl-text"] .mmtl-preview-content > *:first-child
{
    margin-top: 0 !important;
}

.mmtl-component[data-type="mmtl-text"] .mmtl-preview-content > *:last-child
{
    margin-bottom: 0 !important;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Shortcode Icon
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-icon-picker-content ul:before,
.mmtl-icon-picker-content ul:after
{
    content: '';
    display: table;
}

.mmtl-icon-picker-content ul:after
{
    clear: both;
}

.mmtl-icon-picker-content ul
{
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: scroll;
    max-width: 800px;
}

.mmtl-icon-picker-content li
{
    float: left;
    margin: 0;
    padding: 0;
    width: 45px;
    height: 45px;
    text-align: center;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor: pointer;
}

.mmtl-icon-picker-content li:hover,
.mmtl-icon-picker-content li.mmtl-active
{
    color: #fff;
    background-color: #0073aa;
}

.mmtl-icon-picker-content li > *,
.mmtl-icon-picker-content li > *:before
{
    font-size: 22px;
    line-height: 45px;
    margin: 0;
    padding: 0;
}

.mmtl-icon-picker-output
{
    display: none;
}

/*
------------------------------------------------------------------------------------------------------------------------
 Lightbox
------------------------------------------------------------------------------------------------------------------------
*/

.mmtl-lightbox 
{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    background: rgba(0, 0, 0, .8)
}

.mmtl-lightbox .mmtl-screen .ui-tabs .ui-tabs-nav 
{
    padding-right: 40px
}

.mmtl-lightbox:before 
{
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -.25em
}

.mmtl-lightbox .mmtl-lightbox-content 
{
    position: relative;
    text-align: left;
    vertical-align: middle;
    display: inline-block;
    overflow: auto;
    padding: 0;
    min-width: 30%;
    margin-left: 5%;
    margin-right: 5%;
    max-height: 95%;
    background: #fff;
    cursor: auto;
    white-space: normal
}

.mmtl-lightbox .mmtl-lightbox-inner
{
    display: block
}

.mmtl-lightbox .mmtl-lightbox-close-icon 
{
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    line-height: 25px;
    width: 25px;
    cursor: pointer;
    text-align: center;
    font-family: Arial, sans-serif;
    color: #fff;
}

.mmtl-lightbox .mmtl-lightbox-image 
{
    width: 100%
}

.mmtl-lightbox-iframe .mmtl-lightbox-content 
{
    border-bottom: 0;
    padding: 0
}

.mmtl-lightbox iframe 
{
    border: none
}

/*
------------------------------------------------------------------------------------------------------------------------
 Media Queries
------------------------------------------------------------------------------------------------------------------------
*/

@media only screen and ( max-width: 1024px ) 
{
    /* lightbox */
    
    .mmtl-lightbox .mmtl-lightbox-content 
    {
        margin-left: 10px;
        margin-right: 10px;
        max-height: 98%
    }
}

/*
------------------------------------------------------------------------------------------------------------------------
 debug
------------------------------------------------------------------------------------------------------------------------
*/

/*
.mmtl-debug .mmtl-component .mmtl-control-add_before-wrap,
.mmtl-debug .mmtl-component .mmtl-control-add_after-wrap
{
    background-color: rgba( 255, 192, 203, .50 );
    display: initial;
}
*/


