/*** Mailpoet css starts ***/

.ep-mailpoet-box{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: stretch;
    align-items: flex-start;
    align-content: stretch;
}


.emagic .ep-mailpoet-box {
    border-bottom: 1px solid #e1e1e1;
    font-size: 80%;
    padding: 14px 0px;
}

.emagic .ep-left-mailpoet-checkbox {
  margin: 10px 20px 0px 0px;
  width: 76px;
}

.emagic .ep-right-mailpoet-text {
    display: inline-block;
    width: calc(100% - 98px);
    float: left;
    color: #737272;
}

.emagic .ep-mailpoet-box .ep-mailpoet-list-name {
    width: 100%;
    float: left;
    font-weight: bold;
    margin-bottom: 5px;
}

.emagic .ep-left-mailpoet-checkbox input[type=checkbox] {
    visibility: hidden;
}

.emagic .ep-left-mailpoet-checkbox input {
    position: absolute;
    left: -99em;
}

.emagic .ep-mailpoet-toggle {
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 68px;
    height: 28px;
    background: #bdc1c8;
    border-radius: 3px;
    -webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    overflow: hidden;
    left: 0px;
    border-radius: 100px;
    font-size: 10px;
}

.emagic .ep-mailpoet-toggle:before,
.emagic .ep-mailpoet-toggle:after {
    position: absolute;
    line-height: 30px;
    font-size: 10px;
    z-index: 2;
    -webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.emagic .ep-mailpoet-toggle:before {
 content:attr(data-on);
    left: 14px;
    color: #737272;
    font-size: 0px;
}

.emagic .ep-mailpoet-toggle:after {
    content: attr(data-off);
    right: 12px;
    color: #fff;
    font-size: 12px;
    top: 0px;
}

.emagic .ep-toggle__handler {
    display: inline-block;
    position: relative;
    z-index: 0;
    background: #fff;
    width: 42px;
    height: 28px;
    top: 0px;
    left: 0px;
    -webkit-transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    transition: all 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    background: #fcfcfc;
    background: -moz-linear-gradient(top, #fcfcfc 0%, #e8e8e8 100%);
    background: -webkit-linear-gradient(top, #fcfcfc 0%,#e8e8e8 100%);
    background: linear-gradient(to bottom, #fcfcfc 0%,#e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#e8e8e8',GradientType=0 );
}

.emagic input.ep-mc-checkbox-toggle:checked + .ep-mailpoet-toggle {
    background: #66b317;
}

.emagic input.ep-mc-checkbox-toggle:checked + .ep-mailpoet-toggle:before {
    color: #fff;
    font-size: 12px;
    top: 0px;
}

.emagic input:checked + .ep-mailpoet-toggle:after {
    display: none;
}



.emagic input.ep-mc-checkbox-toggle:checked + .ep-mailpoet-toggle .ep-toggle__handler {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

.emagic .ep-toggle__handler{  
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
    top: 4px;
    left: calc(0% - -5px);
}

.emagic .em-tabmenu-container .em-tab-nav .ep-mailpoet-tab svg {
    vertical-align: bottom;
    display: inline;
    height: 24px;
    margin-right: 5px;
}

/****Mailpoet css ends****/