/*ADD*/
.autosubs {
    line-height: 1.4;
    font-size: 14px;
    color: #000;
}
.autosubs__submit:hover,
.autosubs__submit:focus {

}
.autosubs__pdn input {
	vertical-align:top;
    width: 17px;
    height: 17px;
}
.autosubs__pdntext {
	display: inline-block;
	width: calc(100% - 30px);
    font-size: 12px;
    color: #777;
  	padding-left: 7px;
}
#sidebar .autosubs__pdntext a {
	display: inline; 
  	padding: 0 !important;
}
.autosubs__success {
  color: green;
  text-align: justify;
}

#shop .plugin_autosubs_checkout {
  width: 23px;
  height: 23px;
}
#shop .wa-field-plugin_autosubs .wa-value span {
  font-size: 16px;
  vertical-align: top;
  margin-left: 5px;
}
/**/

.autosubs-field input[type="text"].autosubs-input-error {
  border: 2px solid #ca1615;
}
.autosubs-pdn-error {
  color: #ca1615;
}
.autosubs__error {
  color: #ca1615;
  flex: 100%;
  margin-bottom: 8px;
}


.autosubs__wrap {
  max-width: 600px;
    margin: 0 auto;
}
.autosubs__description {
    margin-bottom: 10px;
}
.autosubs__title {
    font-size: 16px;
    margin-bottom: 5px;  
}
.autosubs__fields {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.autosubs-field {
    margin-bottom: 7px;
    margin-right: 7px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.autosubs-field.autosubs__button {
    margin-right: 0px;
}
.autosubs-field input[type="text"] {
    border: 1px solid rgba(0,0,0,.2);
    padding: 6px;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 14px;
    background-color: #fff;
    color:#777;
    border-radius: 0;
}
.autosubs__submit {
    width: 100%;
    padding: 6px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #ffdb4d;
    background-color: #ffdb4d;
    color: #000;
    outline: 0;
    border-radius: 0;
    -webkit-transition: background-color .1s ease-out 0s;
    -o-transition: background-color .1s ease-out 0s;
    transition: background-color .1s ease-out 0s;
}

.autosubs__pdn input[type="checkbox"] {
    position: relative;
    top: 2px;
}
.autosubs-pdn-error .autosubs__pdntext,
.autosubs-pdn-error .autosubs__pdntext a {
    color: #ca1615;
}

.autosubs-field input[type="text"]::-webkit-input-placeholder       {opacity: 1; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; color:#bbb;}
.autosubs-field input[type="text"]::-moz-placeholder                {opacity: 1; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; color:#bbb;}
.autosubs-field input[type="text"]:-moz-placeholder                 {opacity: 1; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; color:#bbb;}
.autosubs-field input[type="text"]:-ms-input-placeholder            {opacity: 1; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; color:#bbb;}
.autosubs-field input[type="text"]:focus::-webkit-input-placeholder {opacity: 0; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; color:#bbb;}
.autosubs-field input[type="text"]:focus::-moz-placeholder          {opacity: 0; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; color:#bbb;}
.autosubs-field input[type="text"]:focus:-moz-placeholder           {opacity: 0; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; color:#bbb;}
.autosubs-field input[type="text"]:focus:-ms-input-placeholder      {opacity: 0; -webkit-transition: opacity 0.3s ease; -o-transition: opacity 0.3s ease; transition: opacity 0.3s ease; color:#bbb;}

.autosubs_name_false .autosubs-field input[type="text"] {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
.autosubs_name_false .autosubs__submit {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
.autosubs_name_false .autosubs-field.autosubs__button {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
        -ms-flex: 1;
            flex: 1;
    position:relative;
    left:-1px;
}
.autosubs_name_false .autosubs-field {
  margin-right: 0px;
    -webkit-box-flex: 2;
    -webkit-flex: 2;
        -ms-flex: 2;
            flex: 2;
}
.autosubs.autosubs_compact {
  max-width: 300px;
    margin: 0 auto;
}
.autosubs_compact .autosubs__fields {
     -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}
.autosubs_compact .autosubs-field,
.autosubs_compact .autosubs_name_false .autosubs-field {
      margin-right: 0;
      -webkit-box-flex: 100%;
      -webkit-flex: 100%;
          -ms-flex: 100%;
              flex: 100%;
}

@media (max-width:420px) {
    .autosubs__fields {
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
    }
    .autosubs-field,
    .autosubs_name_false .autosubs-field {
      margin-right: 0;
      -webkit-box-flex: 100%;
      -webkit-flex: 100%;
          -ms-flex: 100%;
              flex: 100%;
    }
    .autosubs_name_false .autosubs-field input[type="text"] {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }
    .autosubs_name_false .autosubs__submit {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }
}

.autosubs_popup_form .overlay {
  background: #000;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  opacity: .5;
}
.autosubs_popup_form .autosubs__wrap {
  position: fixed;
  left: 50%;
  top: 50%;
  overflow: hidden;
  z-index: 99999;
  width: 400px;
  margin-left: -200px;
  padding: 20px;
  color: #333;
  font-size: 14px;
  background-color: #eee;
  text-align: left;
  line-height: 1.4;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.15);
  -webkit-transform: translate(0, -50%);
      -ms-transform: translate(0, -50%);
          transform: translate(0, -50%);
}
.autosubs_popup_form .autosubs-close {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMzU3cHgiIGhlaWdodD0iMzU3cHgiIHZpZXdCb3g9IjAgMCAzNTcgMzU3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzNTcgMzU3OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQoJCTxwb2x5Z29uIHBvaW50cz0iMzU3LDM1LjcgMzIxLjMsMCAxNzguNSwxNDIuOCAzNS43LDAgMCwzNS43IDE0Mi44LDE3OC41IDAsMzIxLjMgMzUuNywzNTcgMTc4LjUsMjE0LjIgMzIxLjMsMzU3IDM1NywzMjEuMyANCgkJCTIxNC4yLDE3OC41IAkJIi8+DQo8L3N2Zz4=');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 12px;
  text-indent: -9999px;
  cursor: pointer;
  padding: 8px;
}

@media screen and (max-width: 768px) {
  .autosubs_popup_form .autosubs__wrap {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    left: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  
  .wa-field-plugin_autosubs .s-checkbox__element {
      width: 20px;
      height: 20px;
  }
  .wa-field-plugin_autosubs .s-checkbox {
      vertical-align: top;
      margin-top: 5px;
  }
  .wa-field-plugin_autosubs .wa-value span {
      display: inline-block;
      width: calc(100% - 30px);
  }
}
@media screen and (max-width: 630px) {
  .autosubs_popup_form .autosubs-close {
    box-shadow: none;
    background-color: transparent;
    top: 1px;
    right: -5px;
    
	width: 35px;
    height: 23px;
    background-size: 18px;
  }
}