/*------ Mailchimp  Extension -------*/

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

.pmagic .pg-mailchimp-box { 
    width: 100%;
    float: left;
    background-color: #f1f1f1;
    padding: 10px;
    border: 1px solid #e4e4e4;
    margin-bottom: -1px;
   /* -moz-box-shadow: inset 0px 1px 1px 0px #ffffff;
    -webkit-box-shadow: inset 0px 1px 1px 0px #ffffff;
    box-shadow: inset 0px 1px 1px 0px #ffffff;*/
    font-size: 12px;
}

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

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

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

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

.pmagic .pg-left-mailchimp-checkbox {
    float: left;
    margin-right: 20px;
}

.pmagic .pg-right-mailchimp-text {
    display: inline-block;
    width: 75%;
    float: left;
    color: #737272;
}

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

.pmagic .pg-mailchimp-toggle {
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 82px;
    height: 30px;
    background: #d21626;
    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);
    border: 1px solid rgb(216, 215, 215);
    overflow: hidden;
    webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    left: 0px;
}

.pmagic .pg-mailchimp-toggle:before,
.pmagic .pg-mailchimp-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-mailchimp-toggle:before {
 content:attr(data-on);
    left: 14px;
     color: #737272;
}

.pmagic .pg-mailchimp-toggle:after {
 content:attr(data-off);
    right: 8px;
    color: #fff;
}

.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-mailchimp-toggle {
    background: #66b317;
}

.pmagic input.pg-mc-checkbox-toggle:checked + .pg-mailchimp-toggle:before {
    color: #fff;
}

.pmagic input:checked + .pg-mailchimp-toggle:after {
    color: #737272;
}

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