/*------ Mailpoet  Extension -------*/

.pmagic #pg-newsletter{   
    width: 65%;
    float: right;
}

.pmagic #pg-newsletter .pm-field-lable,
.pmagic #pg-newsletter .pm-form-field-icon {
    display: none;;
}

.pmagic #pg-newsletter .pm-field-input {
    width: 100%;
}

.pmagic #pg-newsletter .pg-mailpoet-box{  
      border-bottom: 1px solid #e1e1e1;
    }

.pmagic .pg-mailpoet-box { 
    width: 100%;
    float: left;
    padding: 25px 0px;
    font-size: 12px;
}

 .pmagic .pg-mailpoet-wrap { 
    margin-bottom: 50px;
    width: 98%;
    float: left;
    margin-left: 2%;
 }

.pmagic .pg-mailpoet-wrap .pg-mailpoet-box:first-child{
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.pmagic .pg-mailpoet-wrap .pg-mailpoet-box:last-child{
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

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

.pmagic .pg-left-mailpoet-checkbox {
    float: left;
    margin: 10px 20px 0px 0px;
    width: 76px;
}

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

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

.pmagic .pg-left-mailpoet-checkbox input {
    position: absolute;
    left: -99em;
}

.pmagic .pg-mailpoet-toggle {
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 76px;
    height: 34px;
    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;
}

.pmagic .pg-mailpoet-toggle:before,
.pmagic .pg-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);
}

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

.pmagic .pg-mailpoet-toggle:after {
    content: attr(data-off);
    right: 12px;
    color: #fff;
    font-size: 14px;
    top: 2px;
}

.pmagic .pg-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 );
}

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

.pmagic input.pg-mc-checkbox-toggle:checked + .pg-mailpoet-toggle:before {
    color: #fff;
    font-size: 14px;
    top: 2px;
}

.pmagic input:checked + .pg-mailpoet-toggle:after {
display: none;
}

/* .pmagic input.pg-mc-checkbox-toggle:checked + .pg-mailpoet-toggle .pg-toggle__handler {
    width: 38px;
    -webkit-transform: translateX(42px);
    transform: translateX(42px);
    border-color: #fff;
    border-radius: 0px;
  
} */

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

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