@import url(fonts.css);

html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
}

body p {
    font-size: 15px;
    line-height: 1.8em;
    color: #727272;
}

.text-roboto {
    font-family: "Roboto", sans-serif;
}

.text-montserrat {
    font-family: "Montserrat", sans-serif;
}

.text-poppins {
    font-family: "Poppins", sans-serif;
}

.text-open-sans {
    font-family: "Open Sans", sans-serif;
}

.text-brown {
    color: #6D0202;
}

.text-blue {
    color: #080833;
}

.font-300 {
    font-weight: 300;
}

.font-500 {
    font-weight: 500;
}

.font-600 {
    font-weight: 600;
}

.font-700 {
    font-weight: 700;
}

.font-800 {
    font-weight: 800;
}

.font-900 {
    font-weight: 900;
}

/* ID Card Styles */

.front-page {
    width: 100%;
    height: 100vh;
    position: relative;
}

.card-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 336px;
    height: 220px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    background: #faf6f6;
    overflow: hidden;
}

.card-area .bottom-right {
    position: absolute;
    bottom: -80px;
    right: -80px;
    background-image: url(../img/eict-logo-gray.png);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;
    width: 300px;
    height: 300px;
}

.top-design {
    width: 100%;
    height: 50px;
    position: relative;
    background: #faf6f6;
}

.hidden-slant {
    position: absolute;
    top: 10px;
    left: -20px;
    height: 35px;
    background: #6D0202;
    width: 85%;
    transform: skew(-30deg);
}

.logo-area {
    position: absolute;
    top: 0;
    left: 10px;
    width: 15%;
    height: 50px;
    background: white;
    transform: skew(-30deg);
    padding-top: 6px;
    padding-right: 5px;
    padding-left: 5px;
}

.logo-area img {
    width: 100%;
    transform: skew(30deg);
}

.school-name {
    color: white;
    transform: skew(30deg);
    margin-bottom: 0px;
    position: relative;
    margin-left: 75px;
    padding-right: 20px;
    padding-top: 5px;
    padding-left: 10px;
    text-transform: uppercase;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
}

.card-content {
    position: relative;
    padding: 15px;
}

.img-card {
    width: 100px;
    height: 120px;
    border-radius: 10px;
    border: 3px solid #6D0202;
}

.img-barcode {
    width: 170px;
    height: 30px;
    margin-top: 10px;
}

.card-content-text {
    padding-left: 20px;
}

.card-content-text h4 {
    font-size: 15px;
}

.main-content {
    padding-top: 0px;
}

.main-content p {
    font-size: 11px;
    margin-bottom: 0px;
    line-height: 1.6em;
}

.main-content p .title {
    font-weight: 600;
    color: #6D0202;
}

.main-content p .main-text {
    font-weight: 500;
    margin-left: 5px;
    color: rgb(29, 29, 29);
}

.card-sign {
    /* width: 60px; */
    max-width: 70px;
    max-height: 28px;
}

/* .bottom-left {
    width: 100%;
    height: 20px;
    position: relative;
    background: #faf6f6;
} */

.id-area {
    position: absolute;
    bottom: 5px;
    left: -20px;
    height: 18px;
    background: #6D0202;
    width: 50%;
    transform: skew(-30deg);
    padding: 5px 20px;
}

.id-area h6 {
    color: white;
    transform: skew(30deg);
    font-size: 8.2px;
    padding-left: 20px;
    font-weight: 500;
}

/* Back Page Styles */
.back-top-slant {
    left: -10px;
    width: 80%;
}

.school-name-back {
    margin-left: 45px;
    padding-right: 30px;
}

.img-logo-back {
    width: 30px;
    position: absolute;
    top: 2px;
    left: 20px;
    transform: skew(30deg);
}

.back-bottom-right {
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 40%;
    transform: skew(30deg);
    height: 15px;
    background: #6D0202;
    margin-right: -20px;
}

.card-area .center-overlay {
    position: absolute;
    top: 35px;
    left: 15px;
    /* right: -80px; */
    background-image: url(../img/eict-logo-gray.png);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;
    width: 300px;
    height: 300px;
}

.back-page-writeup p {
  margin-bottom: 0px;
  font-size: 10px;
  line-height: 1em;
  font-weight: 400;
  color: black;
}

.back-page-writeup p.with-margin {
    margin-top: 5px;
}

.back-page-writeup {
    padding: 9px;
}

.back-design {
    height: 45px;
}

.card-link {
    display: block;
    color: #6D0202;
    text-decoration: none;
    font-size: 8px;
    font-weight: 600;
}

.card-bottom-sign {
    max-width: 70px;
    max-height: 28px;
}

.rector-sign {
    font-weight: 600 !important;
}

/* End ID Card Styles */


/* Main Page Styles */
.body-bg {
    background: linear-gradient(#6d0202b7, #6d0202a8), url(../img/ecwa-students.jpg) no-repeat center fixed;
    /* background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url(../img/ecwa-students.jpg) no-repeat center fixed; */
    min-height: 100vh;
    background-size: cover;
}

.card-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: auto;
    min-height: 350px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    background: white;
    overflow: hidden;
    max-width: 500px;
    padding: 20px;
}

.money-info {
  font-size: 17px;
  line-height: 1.2em;
}

.account-info {
    margin-top: 15px;
}

.account-info span {
    font-size: 18px;
    font-weight: 700;
    display: block;
}

.account-info .accnum {
    font-size: 25px;
}

.btn-proceed {
    color: white;
    background: #6D0202;
    border-radius: 0px;
    padding: 10px 25px;
    border: 1px solid #6D0202;
    font-family: "Open Sans", sans-serif;
}

.btn-proceed:hover {
    color: #6D0202;
    border: 1px solid #6D0202;
    background: transparent;
}

.idcard-form .form-group label {
    font-size: 15px;
    font-weight: 500;
}

.idcard-form .form-group .form-control {
    font-size: 15px;
    border-radius: 0px;
    padding: 10px 15px;
}

.idcard-form .form-group .form-control:focus {
    color: #6D0202;
    border: 1px solid #6D0202;
    box-shadow: none;
}

.idcard-form .form-group .form-select {
    font-size: 15px;
    border-radius: 0px;
    padding: 10px 15px;
}

.idcard-form .form-group .form-select:focus {
    color: #6D0202;
    border: 1px solid #6D0202;
    box-shadow: none;
}

.form-div {
    border-radius: 5px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    background: white;
    padding: 20px;
}

/* End Main Page Styles */