/*
Primary colors: 
#C00000 Red
#007bff Blue
*/


* {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

body {
    padding: 0;
    margin:0;
    overflow-x:hidden;
    width:100%;
}

p {
    font-weight: 500;
    margin-top: 14px;
    margin-bottom: 14px;
}

a {
    color: #02060d; 
    text-decoration: none; 
}

a:hover {
    text-decoration: underline; 
    color: #C00000; 
    cursor: pointer;
}

ul {
    margin-top: 5px;
    margin-bottom: 5px;
}

ol {
    margin-bottom: 5px;
}

li {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
}

input{
  font-family: "Open Sans", sans-serif;
  line-height: 1.2em;
  letter-spacing: 1.2px;
}

input:focus, textarea:focus, select:focus {
  border-color: #007bff;
  box-shadow: 0 0 2px rgba(0, 123, 255, 0.5);
  outline: none;
}

input:disabled, textarea:disabled, select:disabled {
  background-color: #dfe0e1 ;
  outline: none;
}

button {
    font-family: "Open Sans", sans-serif;
    line-height: 1.2em;
    letter-spacing: 1.2px;
}

button:hover{
    cursor: pointer;
}

.myhrblack{
    width: 100%;
    background-color: #000;
    border: none;
}

.myhrwhite{
    width: 100%;
    background-color: #fff;
    border: none;
}

.myhrblue{
    width: 100%;
    background-color: #0F52BA;
    border: none;
}

.thinhr{
    height: 2px;
}

.thickhr{
    height: 3px;    
}

.fddiv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.fddiv.notify {
  display: flex;
  justify-content: center;
  opacity: 1; 
  background-color:000;
  z-index: 999;
}

.fdcontent {
    font-size: 13px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    letter-spacing: 1.5px;
}

.fdcontent.success {
  background-color: #023020;
  color: #fff;
}

.fdcontent.failure {
  background-color: #900C3F;
  color: #fff;
}

.fdcontent.wait {
  background-color: #007bff;
  color: #fff;
}

.maindiv{
    padding: 30px 80px;
    position: relative;
}

.bodyctr{
    display: flex;
    width: 100%;
    height: 100%;
    gap: 20px;
}

.halfcol{
    display: flex;
    flex-direction: column;
    width: 50%;
    min-height: 100%;
    padding: 20px;
}

.myrnlogo img{
    width: 180px;
    margin-bottom: 25px;
}

.pagelogo img{
    width: 100px;
    margin-bottom: 25px;
}

.logintitle{
    font-weight: bold;
    letter-spacing: 1.2px;
    line-height: 1.2em;
}

.pagetitle{
    font-weight: bold;
    letter-spacing: 1.2px;
    line-height: 1.2em;
    margin-bottom: 25px;
}

.pageheader{
    display: flex;
    width: 100%;
    align-items:center;
    gap: 25px;
}

.pagecontent p{
    font-size: 14px;
    text-align: justify;
    letter-spacing: 1.2px;
    line-height: 1.3em;
}

.pagecontent h4{
    margin-top: 20px;
    text-align: justify;
    letter-spacing: 1.2px;
    line-height: 1.3em;
}

.pageflex{
    display:flex;
    gap: 20px;
}

.pageflex p{
    font-size: 14px;
    text-align: justify;
    letter-spacing: 1.2px;
    line-height: 1.3em;
}

#titlebot{
    margin-bottom: 25px;
}

#sp-right{
    padding: 0;
    margin: 0;
    justify-content:flex-start;
}

#sp-left p{
    font-size: 14px;
    text-align: justify;
    letter-spacing: 1.2px;
    line-height: 1.3em;
}

#cpwd-left p, #cpwd-right p, #cpwd-right li{
    font-size: 14px;
    text-align: justify;
    letter-spacing: 1.2px;
    line-height: 1.3em;
}

#cpmain{
    height: 100vh;
}

#cpwd-left{
    height: 100%;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    align-items:center;
}

#cpwd-right{
    height: 100%;
}

#cpwdform{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    padding: 20px;
    min-width: 80%;
    min-height: 100%;
}

#loginform, #fpform, #femailform {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    padding: 40px;
    min-width: 80%;
    min-height: 100%;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

#contactusform{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.ftmenu-item{
    color: #007bff;
    letter-spacing: 1.2px;
    line-height: 1.2em;
}

.ftmenu-item:hover{
    color: #C00000;
    cursor: pointer;
}

#ftmenu{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px;
    gap: 20px;
    margin-top: 20px;
}

#ftbotmenu{
    display:flex;
    align-items:center;
    padding: 0px;
    background: #dfe0e1;
    width: 100%;
    margin-bottom: 25px;
}

.ftbotmenu-item{
    display:flex;
    align-items:center;
    padding: 10px 15px;
    border-right: 1px solid #b3b3b3;
    font-size: 13px;
    gap: 5px;
    cursor: pointer;
    letter-spacing: 1.2px;
    line-height: 1.2em;
}

.ftbotmenu-item a{
    color: #000;
    text-decoration: none;
}

.ftbotmenu-item i{
    color: #000;
    margin-right: 5px;
}

.ftbotmenu-item:hover, .ftbotmenu-item:hover.ftbotmenu-item a, .ftbotmenu-item:hover.ftbotmenu-item i{
    background-color: #007bff;
    color:#fff;
    cursor: pointer;
}


.fieldcontainer{
    display:flex;
    width: 100%;
    padding: 5px;
    align-items:center;
}

.formlabel{
    width: 25%;
    letter-spacing: 1.2px;
    line-height: 1.2em;
}

.formfield{
    width: 75%;
}

.cpformlabel{
    width: 50%;
    letter-spacing: 1.2px;
    line-height: 1.2em;
}

.cpformfield{
    width: 50%;
}

.loginfield{
    width: 100%;
    padding: 5px;
}

.loginbutnb{
    width: 100%;
    background-color: #007bff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border-radius: 3px;
    margin-top: 30px;
    letter-spacing: 1.2px;
    line-height: 1.2em;
}

.loginbutnb:hover{
    background-color: #C00000;
    cursor: pointer;
}

#ftcopyright{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 25px;
}

#ftcopyright p {
    font-size: 13px;
    text-align:center;
    letter-spacing: 1.2px;
    line-height: 1.2em;
}

#ftcopyright a {
    font-size: 13px;
    text-decoration: none;
}

#sp-forgotemail{
    display:none;   
    padding: 0;
    margin: 0;
    justify-content:flex-start;
}

#sp-forgotpw{
    display:none;
    padding: 0;
    margin: 0;
    justify-content:flex-start;
}

.sptitle{
    font-weight: bold;
    letter-spacing: 1.2px;
    line-height: 1.2em;
    margin-bottom: 25px;
}

.closeform{
    display:flex;
    justify-content: flex-end;
    width: 100%;
}

.closeform:hover{
    color: #C00000;
    cursor: pointer;
}

.invalid {
    border-color: red !important;
    background-color: #FFF5EE !important;
}

.valid {
    border-color: green !important;
    background-color: #ECFFDC !important;
}

#femtext, #fptext, #cptext{
    margin-top: 40px;
}

#showpw{
    margin-left: -30px;
}

#showpw i:hover{
    color: #007bff;
    cursor: pointer;
}

#logout-left{
    background-image: url("https://www.owners.avagroup.com.my/contents/media/logoutscreen.jpg");
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    
}

#logout-right{
    align-items: center;
    justify-content:center;
    background-color: #fff;
}

.logoutmsg, #backtohp{
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.2em;
    letter-spacing: 1.2px;
    text-decoration: none;
}

.logoutactions{
    display: flex;
    justify-content: center;
}

#logoutmain{
    height: 100vh;
    padding: 0;
}



/************************************************************************/

@media screen and (max-width: 800px) {

.maindiv{
    padding: 20px;
}

.bodyctr{
    flex-direction: column;
}

.halfcol{
    width: 100%;
}

#loginform, #fpform, #femailform, #cpwdform{
    padding: 10px;
}

.fieldcontainer{
    flex-direction:column;
    width: 60%;
    padding: 10px;
}

.myrnlogo{
    margin-top: 25px;
}

.formlabel{
    width: 100%;
    text-align:center;
    margin-bottom: 5px;
}

.formfield{
    width: 100%;
    text-align:center;
    margin-bottom: 5px;
}

.cpformlabel{
    width: 100%;
    text-align:center;
    margin-bottom: 5px;
}

.cpformfield{
    width: 100%;
    text-align:center;
    margin-bottom: 5px;
}

.loginfield{
    text-align:center;
}

.loginbutnb{
    width: 80%;
}

}


/************************************************************************/

@media screen and (max-width: 480px) {

.maindiv{
    padding: 10px;
    width: 100%;
}

.bodyctr{
    flex-direction: column;
    width: 100%;
}

.halfcol{
    padding: 10px;
    width: 100%;
}

#loginform, #fpform, #femailform, #cpwdform{
    padding: 10px;
}

.myrnlogo{
    margin-top: 25px;
}

.fieldcontainer{
    flex-direction:column;
    width: 100%;
}

.formlabel{
    width: 100%;
    text-align:center;
    margin-bottom: 5px;
}

.formfield{
    width: 100%;
    text-align:center;
    margin-bottom: 5px;
}

.cpformlabel{
    width: 100%;
    text-align:center;
    margin-bottom: 5px;
}

.cpformfield{
    width: 100%;
    text-align:center;
    margin-bottom: 5px;
}

.pageflex{
    flex-direction: column;
}

.loginfield{
    text-align:center;
}

.loginbutnb{
    width: 100%;
}


    
}