/*====================================================
AVFU ePORTALS
====================================================*/


/*====================================================
HEADER
====================================================*/

.portal-header{

    position:relative;

    width:100%;

    height:320px;

    overflow:hidden;

}

.portal-header img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.portal-header .overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(10,33,75,.92),
        rgba(10,33,75,.55),
        rgba(10,33,75,.15)
    );

}

.portal-header h1{

    position:absolute;

    left:70px;

    bottom:120px;

    color:#fff;

    font-size:3rem;

    font-weight:800;

    

    line-height:1.2;

    z-index:2;

    text-shadow:0 3px 12px rgba(0,0,0,.35);

}


/*====================================================
CONTENT
====================================================*/

.portal-page-content{

    background:#fff;

    padding:70px 0;

}

.portal-container{

    max-width:1700px;

    padding:0 40px;

    margin:auto;

}


/*====================================================
INTRODUCTION
====================================================*/

.portal-intro{

    font-size:17px;

    color:#333;

    line-height:1.9;

    text-align:justify;

    margin-bottom:55px;

    font-weight:500;

}

.portal-intro h2{

    color:#4A1F74;

    font-size:2rem;

    font-weight:700;



    margin-bottom:10px;

}

.portal-intro .line{

    width:65px;

    height:5px;

    margin:0 0 28px;

    background:linear-gradient(
        90deg,
        #4A1F74,
        #F59E0B
    );

}

.portal-intro p{

    color:#222;

    margin-bottom:20px;

    line-height:2;

}


/*====================================================
PORTAL LIST
====================================================*/

.portal-list{

    width:100%;

}


/*====================================================
PORTAL ITEM
====================================================*/

.portal-item{

    display:flex;

    align-items:flex-start;

    gap:30px;

    padding:35px 0;

    border-top:1px solid #ececec;

    transition:.3s;

}

.portal-item:last-child{

    border-bottom:1px solid #ececec;

}


/*====================================================
PORTAL ICON
====================================================*/

.portal-icon{

    flex:0 0 65px;

    width:65px;

    height:65px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#4A1F74;

    font-size:2rem;

    border-left:4px solid #F59E0B;

    transition:.3s;

}


/*====================================================
PORTAL CONTENT
====================================================*/

.portal-item .portal-content{

    padding:0;

    margin:0;

    flex:1;

}

.portal-item .portal-content h3{

    color:#4A1F74;

    font-size:1.5rem;

    font-weight:700;



    margin:0 0 12px;

    transition:.3s;

}

.portal-item .portal-content p{

    max-width:1100px;

    color:#333;

    font-size:17px;

    font-weight:500;

    line-height:1.9;

    margin:0 0 15px;

}


/*====================================================
ACCESS LINK
====================================================*/

.portal-link{

    display:inline-flex;

    align-items:center;

    gap:9px;

    color:#4A1F74;

    font-size:15px;

    font-weight:700;



    letter-spacing:.4px;

    text-decoration:none;

    transition:.3s;

}

.portal-link i{

    color:#F59E0B;

    font-size:13px;

    transition:.3s;

}


/*====================================================
HOVER
====================================================*/

.portal-item:hover .portal-icon{

    color:#2FA88A;

    border-color:#2FA88A;

    transform:translateX(3px);

}

.portal-item:hover .portal-content h3{

    color:#2FA88A;

}

.portal-item:hover .portal-link{

    color:#2FA88A;

}

.portal-item:hover .portal-link i{

    color:#F59E0B;

    transform:translateX(4px);

}


/*====================================================
INFORMATION NOTE
====================================================*/

.portal-note{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-top:40px;

    padding-top:25px;

    border-top:1px solid #ececec;

    color:#555;

    font-size:15px;

    font-weight:500;

    line-height:1.8;

}

.portal-note i{

    margin-top:5px;

    color:#F59E0B;

    font-size:16px;

}

/*====================================================
CONTRACTOR REGISTRATION SYSTEM - CLOSED
====================================================*/

.portal-closed .portal-icon{

    color:#888;

    border-color:#aaa;

}

.portal-closed .portal-content h3{

    color:#555;

}

.portal-closed .portal-content p{

    color:#777;

}


/* Closed status */

.portal-closed-status{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:#888;

    font-size:14px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.4px;

}

.portal-closed-status i{

    color:#888;

    font-size:13px;

}


/* No active hover effect */

.portal-closed:hover .portal-icon{

    color:#888;

    border-color:#aaa;

    transform:none;

}

.portal-closed:hover .portal-content h3{

    color:#555;

}

/*====================================================
LARGE DESKTOP
====================================================*/

@media (max-width:1400px){

    .portal-header{

        height:300px;

    }

    .portal-header h1{

        left:60px;

        bottom:105px;

        font-size:2.8rem;

    }

    .portal-container{

        padding:0 35px;

    }

}


/*====================================================
LAPTOP
====================================================*/

@media (max-width:1200px){

    .portal-header{

        height:280px;

    }

    .portal-header h1{

        left:50px;

        bottom:95px;

        font-size:2.5rem;

    }

    .portal-page-content{

        padding:60px 0;

    }

    .portal-container{

        padding:0 30px;

    }

    .portal-item{

        gap:25px;

    }

    .portal-item .portal-content p{

        font-size:17px;

    }

}


/*====================================================
TABLET
====================================================*/

@media (max-width:992px){

    .portal-header{

        height:240px;

    }

    .portal-header h1{

        left:35px;

        bottom:75px;

        font-size:2.1rem;

    }

    .portal-page-content{

        padding:50px 0;

    }

    .portal-container{

        padding:0 25px;

    }

    .portal-intro{

        font-size:17px;

    }

    .portal-item{

        gap:22px;

        padding:30px 0;

    }

    .portal-icon{

        flex:0 0 60px;

        width:60px;

        height:60px;

        font-size:1.8rem;

    }

    .portal-item .portal-content h3{

        font-size:1.35rem;

    }

}


/*====================================================
MOBILE LANDSCAPE
====================================================*/

@media (max-width:768px){

    .portal-header{

        height:200px;

    }

    .portal-header h1{

        left:25px;

        bottom:55px;

        font-size:1.8rem;

    }

    .portal-page-content{

        padding:40px 0;

    }

    .portal-container{

        padding:0 20px;

    }

    .portal-intro{

        font-size:16px;

        line-height:1.85;

        margin-bottom:40px;

    }

    .portal-intro h2{

        font-size:32px;

    }

    .portal-intro p{

        line-height:1.85;

    }

    .portal-item{

        gap:18px;

        padding:28px 0;

    }

    .portal-icon{

        flex:0 0 52px;

        width:52px;

        height:55px;

        font-size:1.6rem;

    }

    .portal-item .portal-content h3{

        font-size:1.25rem;

    }

    .portal-item .portal-content p{

        font-size:16px;

        line-height:1.85;

    }

}


/*====================================================
MOBILE PORTRAIT
====================================================*/

@media (max-width:576px){

    .portal-header{

        height:180px;

    }

    .portal-header h1{

        left:20px;

        right:20px;

        bottom:45px;

        font-size:1.5rem;

        line-height:1.3;

    }

    .portal-page-content{

        padding:35px 0;

    }

    .portal-container{

        padding:0 15px;

    }

    .portal-intro{

        font-size:15px;

        line-height:1.8;

        margin-bottom:30px;

    }

    .portal-intro h2{

        font-size:28px;

        margin-bottom:10px;

    }

    .portal-intro .line{

        width:50px;

        height:4px;

        margin-bottom:22px;

    }

    .portal-intro p{

        line-height:1.8;

    }

    .portal-item{

        gap:15px;

        padding:25px 0;

    }

    .portal-icon{

        flex:0 0 45px;

        width:45px;

        height:48px;

        font-size:1.4rem;

        border-left-width:3px;

    }

    .portal-item .portal-content h3{

        font-size:1.1rem;

        margin-bottom:10px;

    }

    .portal-item .portal-content p{

        font-size:15px;

        line-height:1.8;

        margin-bottom:12px;

    }

    .portal-link{

        font-size:13px;

    }

    .portal-note{

        font-size:14px;

        line-height:1.7;

    }

}


/*====================================================
EXTRA SMALL DEVICES
====================================================*/

@media (max-width:400px){

    .portal-header{

        height:160px;

    }

    .portal-header h1{

        left:20px;

        bottom:35px;

        font-size:1.3rem;

    }

    .portal-container{

        padding:0 15px;

    }

    .portal-item{

        gap:12px;

    }

    .portal-icon{

        flex:0 0 40px;

        width:40px;

        height:44px;

        font-size:1.2rem;

    }

    .portal-item .portal-content h3{

        font-size:1rem;

    }

    .portal-item .portal-content p{

        font-size:14px;

    }

    .portal-link{

        font-size:12px;

    }

}


/*====================================================
VERY LARGE DESKTOP
====================================================*/

@media (min-width:1600px){

    .portal-intro{

        font-size:18px;

    }

    .portal-intro h2{

        font-size:44px;

    }

    .portal-item .portal-content h3{

        font-size:1.55rem;

    }

    .portal-item .portal-content p{

        font-size:18px;

    }

}