.tnp-composer-heading {
    background-color: #0073aa;
    border-radius: 0px !important;
    border-top: 5px solid #ffffff;
}

.tnp-composer-heading h2 {
    display: inline-block;
    margin-left: 30px !important;
    text-transform: none !important;
    font-weight: 400 !important;
}

.tnp-composer-heading a {
    display: inline-block;
    margin-left: 30px;
}

.tnp-composer-heading form {
    display: inline-block;
    margin-left: 30px;
}

.tnp-composer-heading img {
    width: 50px;
    vertical-align: middle;
}

#newsletter-builder {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #FFFFFF;
}

.tnp-builder-column {
    overflow: auto;
    height: 85vh;
    float: left;
}

#newsletter-builder-sidebar {
    z-index: 1;
    width: 33.33%;
    background-color: #ECF0F1;
    position: relative;
}

#newsletter-builder-sidebar h4 {
    /* margin: 5px; */
    /* text-align: center; */
    color: #868686;
    /* margin-bottom: 20px; */
    font-family: Montserrat, sans-serif;
    font-weight: 300;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
}

/*#newsletter-builder-sidebar h4 span {
    background-color: #27AE60;
    padding: 2px 5px;
    border-radius: 3px;
}*/


#newsletter-builder-sidebar .newsletter-sidebar-add-buttons img {
    width: 150px;
    height: auto;
}

.newsletter-sidebar-add-buttons {
    border-radius: 4px;
    padding: 5px;
    margin: 5px;
}

.tnp-body-lite {
    background-color: #FFFFFF !important;
}

.newsletter-sidebar-buttons-content-tab {
    margin: 1px;
    position: relative;
    display: inline-block;
}
.newsletter-sidebar-buttons-content-tab:hover {
    cursor: move;
}
.newsletter-sidebar-buttons-content-tab:hover img{
    opacity: 0.8;
}
.newsletter-sidebar-buttons-content-tab:hover .newsletter-sidebar-buttons-content-tab-add{
    opacity: 0.5;
}
.newsletter-sidebar-buttons-content-tab-add {
    height: 100%;
    width: 100%;
    background-color: rgba(70,70,70,1);
    position: absolute;
    left: 0;
    top: 0;
    /*float: left;*/
    /*margin-top: -15px;*/
    /*margin-left: -50px;*/
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    z-index: 2;
    opacity: 0;
    text-align: center;
    line-height: inherit;
    color: white;
}
.newsletter-sidebar-buttons-content-tab-add:hover {
    background-color: rgba(0,0,0,1);
    /*    cursor: pointer;*/
}

#newsletter-builder-area {
    background-color: #fff;
    width: 66.66%;
    box-sizing: border-box;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 10px;
}



#newsletter-builder-area-center-frame-content {
    /*float: left;*/
    /*width: 730px;*/
    /*background-color: rgba(153,153,153,1);*/
    min-height: 50px;
    padding-bottom: 75px;
    background-color: #ECF0F1;
    padding-top: 30px;
    /*border: 1px dashed #eee;*/
}

#newsletter-mobile-preview-area {
    margin-left: 30px;
    box-sizing: border-box;
    margin-top: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}
#newsletter-mobile-preview-area input {
    width: 100px;
}

iframe#tnpc-mobile-preview {
    height: 500px;
    box-sizing: border-box;
    width: 320px;
    border-radius: 30px;
    margin-top: 20px;
    margin-left: 20px;
    background-color: #F6F8FD;
}

.tnpc-row {
    -webkit-transition: box-shadow 0.5s;
    -moz-transition: box-shadow 0.5s;
    -o-transition: box-shadow 0.5s;
    transition: box-shadow 0.5s;
    position: relative;
}
.tnpc-row:hover {
    cursor: move;
    /*border: 2px dashed #999;*/
    -webkit-box-shadow:  0px 0px 20px 0px rgba(0,0,0,0.2);
    -moz-box-shadow:  0px 0px 20px 0px rgba(0,0,0,0.2);
    box-shadow:  0px 0px 20px 0px rgba(0,0,0,0.2);
}
.tnpc-row.ui-sortable-helper {
    max-width: 700px!important;
}
.tnpc-row-delete, .tnpc-row-edit-block, .tnpc-row-clone {
    height: 30px;
    width: 30px;
    top: 0px;
    background-color: rgba(255,255,255,0.5);
    z-index: 5;
    position: absolute;
    color: rgba(102,102,102,1);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    opacity: 0;	
    text-align: center;
    font-size: 18px;
}
.tnpc-row-delete i, .tnpc-row-edit-block i, .tnpc-row-clone i {
    line-height: 30px;	
}
.tnpc-row-delete:hover {
    background-color: #E74C3C;
    cursor: pointer;
    color: rgba(255,255,255,1);
}
.tnpc-row:hover .tnpc-row-delete, .tnpc-row:hover .tnpc-row-edit-block, .tnpc-row:hover .tnpc-row-clone {
    opacity: 1;
}
.tnpc-row-delete {
    right: 0px;
    z-index: 5;
}
.tnpc-row-edit-block {
    right: 60px;
}
.tnpc-row-edit-block:hover {
    background-color: #e0e0e0;
    cursor: pointer;
    color: rgba(0, 0, 0, 1);
}

.tnpc-row-clone {
    right: 30px;
}
.tnpc-row-clone:hover {
    background-color: #e0e0e0;;
    cursor: pointer;
    color: rgba(0,0,0,1);
}

.tnpc-row-edit {
    position: relative;
}		
.tnpc-row-edit-hover {
    height: 100%;
    width: 100%;
    background-color: rgba(63,141,191,0.8);
    position: absolute;
    left: 0px;
    top: 0px;
    cursor: default;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.tnpc-row-edit-hover i {
    position: absolute;
    height: 30px;
    width: 30px;
    line-height: 30px;
    left: 50%;
    top: 50%;
    text-align: center;
    margin-top: -15px;
    margin-left: -15px;
    color: rgba(255,255,255,1);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    font-size: 16px;
}
.tnpc-row-edit-hover i:hover {
    background-color: rgba(0,0,0,0.5);
    cursor: pointer;
}

.tnpc-drop-here {
    padding:10px;
    text-align: center;
}

.tnpc-edit {
    height: 100vh;
    width: 100vw;
    z-index: 10;
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
}

.tnpc-edit-box-title {
    /*float: left;*/
    width: 100%;
    font-size: 29px;
    color: #666666;
    font-weight: 300;
    margin-bottom: 40px;
}

.tnpc-edit-box-content {
    /*float: left;*/
    width: 100%;
    margin-top: 10px;
}
.tnpc-edit-box-content-text {
    /*float: left;*/
    width: 100%;
    font-size: 15px;
    color: #666666;
    font-weight: 600;
    margin: 15px 0px 10px;
    text-transform: uppercase;
}

.tnpc-edit-box-content-text span {
    font-size: 11px;
    color: #95A5A6;
    background-color: #D3EADC;
    padding: 2px 5px;
    text-transform: none;
    border-radius: 5px;
}

.tnpc-edit-box-content-field {
    /*float: left;*/
    width: 100%;
}

.tnpc-edit-box-content-field-input {
    height: 33px;
    width: 380px;
    border: none !important;
    outline: none;
    font-family: inherit;
    padding-right: 10px;
    font-size: 15px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    color: rgba(102,102,102,1);
    margin-bottom: 10px;
}
.tnpc-edit-box-content-field-input:focus {
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
    box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);	
}
.tnpc-edit-box-content-field-textarea {
    /*float: left;*/
    height: 180px;
    width: 380px;
    border: 1px solid rgba(204,204,204,1);
    outline: none;
    font-family: inherit;
    font-size: 15px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    color: rgba(102,102,102,1);
    resize: none;
    padding: 10px;
}
.tnpc-edit-box-content-field-textarea:focus {
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);
    box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.2);	
}
.tnpc-edit-box-content-icons {
    /*float: left;*/
    height: 388px;
    width: 388px;
    border: 1px solid rgba(204,204,204,1);
    margin-top: 15px;
    overflow-y: scroll;
}
.tnpc-edit-box-content-icons i {
    line-height: 50px;
    background-color: rgba(225,225,225,1);
    /*float: left;*/
    height: 50px;
    width: 50px;
    margin-top: 10px;
    margin-left: 10px;
    text-align: center;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    font-size: 28px;
    color: rgba(51,51,51,1);
}
.tnpc-edit-box-content-icons i:hover {
    cursor: pointer;
    background-color: rgba(153,153,153,1);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    color: rgba(0,0,0,1);
}

/* Save and cancel buttons container on block options popup */
.tnpc-edit-box-buttons{
    margin-top: 10px;
    text-align: right;
    margin-right: 10px;
}

.tnpc-edit-box-buttons-save{
    height: 35px;
    text-align: right;
    line-height: 35px;
    color: #27AE60;
    font-weight: 600;
    font-size: 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
    cursor: pointer;
    /*float: left;*/
    /*padding-right: 25px;
    padding-left: 25px;
    width: 33%;*/
    display: inline-block;
}
.tnpc-edit-box-buttons-save:hover {
    color: #2ECC71;
}
.tnpc-edit-box-buttons-cancel{
    height: 35px;
    text-align: right;
    line-height: 35px;
    color: #666;
    font-weight: normal;
    font-size: 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
    cursor: pointer;
    /*float: left;*/
    /*padding-right: 25px;
    padding-left: 25px;
    width: 33%;*/
    display: inline-block;
    margin-right: 25px;
}
.tnpc-edit-box-buttons-cancel:hover {
    color: #E74C3C;
}

.tnpc-edit-box-content-field .iris-square {
    margin-right: 10px;
}

.tnpc-edit-box-content-field .iris-picker .iris-slider {
    height: 100% !important;
}



/* Tnp Composer Preview */


.tnpc-subject a {
    font-family: Source Sans Pro;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    background-color: #3498DB;
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: 0.1em;
}


.tnpc-preview {
    margin-top: 10px;
}

.tnpc-preview .fake-browser-ui iframe {
    width: 700px;
}

.tnpc-preview .fake-mobile-browser-ui iframe {
    width: 320px;
}

.fake-browser-ui {
    padding: 30px 0 0;
    border-radius: 3px;
    border-bottom: 10px solid #ccc;
    background: #ddd;
    display: inline-block;
    position: relative;
    line-height: 0;
    vertical-align: top;
    margin-left: 20px;
}

.fake-mobile-browser-ui {
    padding: 30px 10px 37px;
    border-radius: 10px;
    border-bottom: 10px solid #ccc;
    background: #ddd;
    display: inline-block;
    position: relative;
    line-height: 0;
    margin-left: 30px;
}

.fake-browser-ui .frame {
    display: block;
    height: 25px;
    position: absolute;
    top: 12px;
    left: 8px;
}

.fake-mobile-browser-ui .frame {
    display: block;
    height: 25px;
    margin-top: 10px;
}

.fake-browser-ui span {
    height: 12px;
    width: 12px;
    border-radius: 8px;
    background-color: #eee;
    border: 1px solid #dadada;
    float: left;
    margin: 0 0 0 4px;
}

.fake-mobile-browser-ui span {
    height: 50px;
    width: 50px;
    border-radius: 60px;
    background-color: #eee;
    border: 2px solid #ccc;
    display: block;
    margin: auto;
}

.fake-browser-ui .bt-1 {
    background-color: #ED594A;
}

.fake-browser-ui .bt-2 {
    background-color: #FDD800;
}

.fake-browser-ui .bt-3 {
    background-color: #5AC05A;
}


/* Tnp Html Editor */

#tnpc-html-editor {
    height: 600px;
    border-top: 20px solid #323232;
    border-radius: 8px;
}

/* List Block Styles */ *

.tnp-select2-option {
    /* background-color: red; */
}

.tnp-select2-option img {
    height: 15px;
    margin-right: 5px;
    vertical-align: middle;
    background-color: rgba(234, 234, 234, 0.25);
    padding: 10px;
    border-radius: 5px;
}

/* ************************************************************************** */
/* Block options layer over the sidebar */

/* Main container */
#tnpc-block-options {
    height: 100vh;
    z-index: 10;
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0;
    right: 0;
    background-color: #ECF0F1;
    padding: 0;
}

/* Form */
form#tnpc-block-options-form {
    background-color: #fff;
    padding: 15px;
    margin-top: 50px;
}

#tnpc-block-options-form, #tnpc-block-options-form p {
    color: #444;
    background-color: #ECF0F1 !important;
}


#tnpc-block-options-form h3 {
    color: #000;
}

#tnpc-block-options-form table.form-table th {
    /*background-color: #f4f4f4;*/
    width: 100%;
    vertical-align: top;
    float: left;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 13px;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 0;

}

#tnpc-block-options-form table.form-table td {
    float: left;
    padding: 0;
    margin: 0;
    border: 0;
    width: 100%;
}

#tnpc-block-options-form table.form-table {
    margin: 0px;
    border-collapse: separate!important;
    border-spacing: 1px!important;
} 

#tnpc-block-options-form table.form-table table.tnp-button-colors {
    border: 0;
    border-collapse: collapse;
}
#tnpc-block-options-form table.form-table table.tnp-button-colors td {
    border: 0;
    padding-top: 0;
}

/* Save and cancel button container */
#tnpc-block-options-buttons {
    padding: 20px;
    text-align: right;
    background-color: #ecf0f1;
    width: 31%;
    position: fixed;
    height: 70px;
    border-bottom: 1px solid #ffffff;
    z-index: 9999999;
}

#tnpc-block-options-save{
}

#tnpc-block-options-save:hover {
}

#tnpc-block-options-cancel{
}

#tnpc-block-options-cancel:hover {
}


/* Style the tab */
.tnpc-tabs {
    overflow: hidden;
    background-color: #fff;
    font-family: Montserrat, sans-serif;
}

/* Style the buttons that are used to open the tab content */
.tnpc-tabs button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    color: #6a8ba0;
}

/* Change background color of buttons on hover */
.tnpc-tabs button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tnpc-tabs button.active {
    background-color: #ECF0F1;
    color: #3498DB;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

/* Style Reset, Save, Save & Preview footer */

.tnpc-controls {
    text-align: right;
}

.tnpc-logo {
    float: left;
}

.tnpc-logo p {
    font-family: Montserrat, Sans-serif;
    color: #fff !important;
    font-size: 16px;
    margin-left: 20px !important;
    margin-top: 5px !important;
}

/* Style Subject Area */
/* No influenza anche il contenuto della mail */
#newsletter-builder-area p {
    /*background-color: #ECF0F1;
    padding: 15px;*/
}

/* Global Options elements style */

#tnpc-general-options select {
    box-shadow: none;
    border-radius: 0px;
    border: none;
    margin-right: 5px;
}

/* Blocks options global styles */

.tnpc-block-options-warning {
    background-color: #def9e9;
    padding: 10px 15px;
}

/* Presets */

.tnpc-presets-title {
    padding: 0px 20px 25px;
    font-size: 21px;
    margin-bottom: 30px;
    color: #484848;
    border-bottom: 3px solid white;
}

.tnpc-preset {
    float: left;
    margin: 15px;
    cursor: pointer;
    width: 150px;
    height: 263px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 2px 0px #dee3e4;
    position: relative;
}

.tnpc-preset:hover {
    box-shadow: 0 0 8px 8px #dee3e4;
}

.tnpc-preset-label {
    position: absolute;
    top: 200px;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    font-size: 14px;
    width: 80%;
}