body {
    background: white;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


/* ---------------------------------------------------
    FORM STYLE
----------------------------------------------------- */

:root {
    --input-padding-x: 1.5rem;
    --input-padding-y: .40rem;
}

.card-signin .card-title {
    margin-top: 2rem;
    margin-bottom: .25rem;
}

.card-title > img {
    padding: var(--input-padding-y) var(--input-padding-x);
    max-width: 100%;
    height: auto;
}

.card-signin .card-body {
    padding: 2rem;
}

.form-signin {
    width: 100%;
}

.form-signin .btn {
    border-radius: 0.5rem;
}

p.footer {
    font-size: 75%
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebar {
    width: 260px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    transition: all 0.3s;
}

#sidebar .sidebar-header {
    padding: 1rem 0.5rem;
    font-size: 1.2rem;
}

#sidebar .sidebar-header img{
    margin: auto;
    max-width: 100%;
    height: auto;
}

#sidebar ul.components {
    padding: 0px 0px 0px 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    background: whitesmoke;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 20px !important;
}

/* ---------------------------------------------------
NEWS STYLE
----------------------------------------------------- */
.news {
    width: 1025px;
    position: relative;
    top: 0;
    height: auto;
}

.f_news {
    font-size: 2.5em;
}

div.content_news {
    white-space: nowrap; 
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------------------------------------------
    NEWS DETAILS STYLE
----------------------------------------------------- */
.news_details {
    width: 1025px;
    position: relative;
    top: 0;
    height: auto;
}

.f_news_details {
    font-size: 2.5em;
}

p.content_news_details {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------------------------------------------
    JOB VACANCY STYLE
----------------------------------------------------- */
.job {
    width: 1025px;
    position: relative;
    top: 0;
    height: auto;
}

.f_job {
    font-size: 2.5em;
}

p.content_job{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Fallback for Edge
-------------------------------------------------- */

@supports (-ms-ime-align: auto) {
    .form-label-group>label {
        display: none;
    }
    .form-label-group input::-ms-input-placeholder {
        color: #777;
    }
}

/* Fallback for IE
-------------------------------------------------- */

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .form-label-group>label {
        display: none;
    }
    .form-label-group input:-ms-input-placeholder {
        color: #777;
    }
}

/* Dekstop 1281px to higher resolution desktops
-------------------------------------------------- */
@media (min-width: 1281px) {
    .card-signin {
        left: 100%;
        height: auto;
        max-width: 65%;
        border: 0;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
    }

    #navmobile {
        display: none;
    }
}

/* Laptops, Desktops 1025px to 1280px
-------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1280px) {
    .card-signin {
        left: 100%;
        height: auto;
        max-width: 65%;
        border: 0;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
    }

    #navmobile {
        display: none;
    }

}

/* Tablets, Ipads (portrait) 768px to 1024px
-------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
    .card-signin {
        left: 70%;
        height: auto;
        max-width: 60%;
        border: 0;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
    }

    #navmobile {
        display: none;
    }
}

/* Tablets, Ipads (landscape) 768px to 1024px
-------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .card-signin {
        left: 90%;
        height: auto;
        max-width: 75%;
        border: 0;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
    }

    #sidebar {
        display: block;
    }
}

/* Low Resolution Tablets, Mobiles (Landscape) 481px to 767px
-------------------------------------------------- */
@media (min-width: 481px) and (max-width: 767px) {
    .res-text {
        font-size: 2rem;
    }
    
    .card-signin {
        margin: auto;
        height: auto;
        max-width: 60%;
        border: 0;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
    }

    #sidebar {
        display: none;
    }
}

/* Most of the Smartphones Mobiles (Portrait) 320px to 479px
-------------------------------------------------- */
@media (min-width: 320px) and (max-width: 480px) {
    .res-text {
        font-size: 2rem;
    }

    .card-signin {
        margin: auto;
        height: 85%;
        max-width: 100%;
        border: 0;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
    }

    #sidebar {
        display: none;
    }
}