#popup-onload.modal {
    width: 40%;
}

#plugin-cp {
    position: fixed;
    right: 0;
    bottom: 0;
    padding-left: 10px;
    width: 400px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    background-color: #fff;
    z-index : 25;
    box-sizing: border-box;
    transform-origin: 0 0;
    -webkit-transform: translate(220px,200px);
    -moz-transform: translate(220px,200px);
    -ms-transform: translate(220px,200px);
    -o-transform: translate(220px,200px);
    transform: translate(220px,200px);
}
#popup-onload #plugin-cp {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 0 10px;
    width: 100%;
    border: none;
    color: #5c6c7d;
    transform-origin: 0 0;
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}

#plugin-cp .wrapper {
    padding: 15px 0 15px 10px;
    vertical-align: middle;
    line-height: 1.2;
}
#popup-onload #plugin-cp .wrapper {
    padding: 15px 10px;
}
#plugin-cp img {
    margin-bottom: 15px;
    max-width: 100%;
}
#plugin-cp .sticky {
    background-color: #F1F3F5;
    margin-left: -20px;
    margin-top: -15px;
    padding: 0 10px;
    height: 50px;
    line-height: 50px;
    font-weight: bold;
    border-bottom : 1px solid #aaaaaa;
    cursor: pointer;
}
#plugin-cp .title {
    font-weight: bold;
    font-size: 1.125em;
}
#plugin-cp .notice {
    font-size: 0.75em;
}
#plugin-cp p {
    padding: 10px 0;
}
#plugin-cp label {
    display: block;
    padding: 10px 0;
    font-weight: bold;
}
#popup-onload #plugin-cp label {
    display: inline-block;
}
#plugin-cp label span {
    font-size : 0.75em;
}
#plugin-cp .input-style {
    display: inline-block;
    padding: 5px;
    width: 40%;
}
#popup-onload  #plugin-cp .input-style {
    width: 20%;
}
#plugin-cp input[type="submit"] {
    display: inline-block;
    padding: 5px 10px;
    border: 0;
    outline: 0;
    color: #fff;
    background-color: #EE7F01;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#plugin-cp input[type="submit"]:hover {
    background-color: rgba(238, 127, 1, 0.87);
}
#plugin-cp button[type="button"] {
    border: none;
    outline: none;
    padding: 0;
    margin: 35px 0;
    background-color: transparent;
    color: #368bbe;
    font-weight: bold;
    font-size: 0.875em;
    text-align: left;
    cursor: pointer;
}
#plugin-cp .msg-error-valid {
    padding: 5px 0;
}
#plugin-cp.display-cp-form {
   transform-origin: 0 0;
   -webkit-transform: translate(0,0);
   -moz-transform: translate(0,0);
   -ms-transform: translate(0,0);
   -o-transform: translate(0,0);
   transform: translate(0,0);
}

@media only screen and (max-width: 980px) {
   /* popup */
  #popup-onload.modal {
      width: 80%;
  }
  #popup-onload .popup-content {
      padding: 5px 0;
  }
  #popup-onload #plugin-cp .wrapper {
      padding-right: 0;
      padding-left: 0;
  }
  #popup-onload  #plugin-cp .input-style {
      width: 50%;
  }
  #plugin-cp button[type="button"] {
      margin: 15px 0;
  }
  
}

@media only screen and (max-width: 400px) {
    #plugin-cp {
        width: 350px;
        -webkit-transform: translate(170px,230px);
        -moz-transform: translate(170px,230px);
        -ms-transform: translate(170px,230px);
        -o-transform: translate(170px,230px);
        transform: translate(170px,230px);
    }
    #plugin-cp .sticky {
        background-color: #564444;
        color: #fff;
    }
}

@media only screen and (max-width: 320px) {
    #plugin-cp {
        width: 250px;
        -webkit-transform: translate(70px,250px);
        -moz-transform: translate(70px,250px);
        -ms-transform: translate(70px,250px);
        -o-transform: translate(70px,250px);
        transform: translate(70px,250px);
    }
}