html, body {
    color: #666;
}

#top {
    -webkit-box-shadow: 0px 2px 21px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 2px 21px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 21px 4px rgba(0, 0, 0, 0.3);
}

#top-container {
    width: 50%;
    height: 140px;
}

#clt-logo {
    left: 0;
}

#mybenefit-logo {
    right: 0;
}

#content {
    margin-top: -4px;
    padding: 30px 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#reg-form-container {
    margin: 0 auto;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 15px;
    min-width: 350px;
}

#reg-form-content {
    margin: 30px;
}

#reg-form-top:not(:last-child) {
    border-bottom: solid 1px #ececec;
}

#reg-form-top-text p:first-of-type {
    margin-top: 0;
}

#reg-form-top-text p:last-of-type {
    margin-bottom: 0;
}

#reg-form-top-text {
    text-align: justify;
    font-size: 14px;
    box-sizing: content-box;
    padding: 30px;
}

#reg-form input[type="text"], #reg-form input[type="email"], #reg-form select {
    margin: 5px;
    padding: 6px 12px;
    border-radius: 5px;
    max-width: 250px;
    width: 100%;
    border: 1px solid lightgrey;
}

#agreement-container {
    width: 250px;
    font-size: 14px;
    position: relative;
}

.custom-checkbox {
  padding-left: 0px;
}

#reg-form-text {
    font-size: 12px;
    text-align: justify;
}

#reg-form label {
    display: inline-block;
    cursor: pointer;
    font-weight: 500;
}

#reg-form button, .mysubmit {
    padding: 10px;
    width: 100%;
    max-width: 270px;
    margin: 5px;
    border: 0px;
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: 0.5s
}

    #reg-form button:hover, .mysubmit:hover {
        cursor: pointer;
    }

#reg-form-bottom {
    border-top: solid 1px #ececec;
    display: flex;
    align-items: center;
}

#reg-form-bottom-text {
    display: inline-block;
    width: 100%;
    text-align: justify;
    padding: 30px;
    font-size: 12px;
}

#reg-form input[id="EmployeeNo"], #reg-form input[id="VerCode"] {
    margin-left: 29px;
}

#idinfo, #vcinfo {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 22px;
    height: 18px;
    background-image: url('/images/qicon.svg');
    background-repeat: no-repeat;
    top: 3px;
    background-size: 21px 19px;
}

#idinfo-text {
    visibility: hidden;
    position: absolute;
    width: 330px;
    text-align: justify;
    top: -111px;
    line-height: 106%;
    background-color: #3698D5;
    border-radius: 15px;
    padding: 12px 15px;
    color: white;
    left: -166px;
    opacity: 0;
    transition: 0.3s;
}

#idinfo:hover #idinfo-text, #vcinfo:hover #vcinfo-text {
   visibility: visible;
   opacity: 1;
}

#vcinfo-text {
    visibility: hidden;
    position: absolute;
    width: 330px;
    text-align: justify;
    top: -80px;
    line-height: 106%;
    background-color: #3698D5;
    border-radius: 15px;
    padding: 12px 15px;
    color: white;
    left: -166px;
    opacity: 0;
    transition: 0.3s;
}

#cpt-container {
    margin: 0 auto;
    width: 304px;
}

#footer {
    -webkit-box-shadow: 0px 2px 21px 4px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 2px 21px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 2px 21px 4px rgba(0, 0, 0, 0.5);
}

#footer-container {
    width: 50%;
    text-align: left;
}


#text-agm {
  overflow: hidden;
  height: 110px;
  position: relative;
  margin-left: 17px;

  top: -17px;
}

.fade-agm {
  -webkit-mask-image: linear-gradient(180deg, #fff 50%, transparent);
  mask-image: linear-gradient(180deg, #fff 50%, transparent);
}

#showhide {
  cursor: pointer;
  color: #004685;
  position: absolute;
  right: 0;
  bottom: 20px;
  text-transform: lowercase;
}

#showhide:hover {
  color: #ff152b;
}

.show-agm {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

#reg-rodo-text p:first-of-type {
    margin-top: 0;
}

#reg-rodo-text p:last-of-type {
    margin-bottom: 0;
}

#reg-rodo-text {
    text-align: justify;
    font-size: 13px;
    box-sizing: content-box;
    padding: 10px;
}

@media (max-width: 848px) {
    #reg-form input[id="VerCode"] {
        margin-left: 5px;
    }
}

@media (max-width: 875px) {
    #mybenefit-img {
        width: 130px;
    }
}

#content {
    background-color: #004685;
}

#clt-img {
    width: 150px;
    margin-left: 15px;
}

#reg-form button, .mysubmit {
    background-color: #255be3;
    color: #fff;
    border-radius: 50px;
    padding: 15px;
}

    #reg-form button:hover, .mysubmit:hover {
        background-color: #668ceb;
    }

@media (max-width: 848px) {
    #reg-form input[id="EmployeeNo"], #reg-form input[id="VerCode"] {
        margin-left: 5px;
    }
}

@media (max-width: 875px) {
    #mybenefit-img {
        width: 130px;
    }
    #clt-img {
        width: 100px;
    }
}

