@import url('include/variables.css');
@import url('include/components.css');
@import url('include/helpers.css');
@import url('include/header.css');
@import url('include/shared.css');
@import url('include/utilities.css');

body {
    background-color: var(--light-color);
    font-size: var(--x-medium-font);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap:1rem;
}

/*************
Posts
*************/
.posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.post {
    border: 1px solid var(--border-color-1);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: var(--medium-font);

}

.post .post-info {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    align-self: center;
    padding: 2rem 0;
}

.post .post-image {
    align-self: center;
}

.post .post-image img {
    max-height:150px;
}

.footer {
    background-color: var(--light-color);
    border-top: 1px solid var(--border-color-1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    font-size: var(--x-medium-font);
}

.footer-menu {
    list-style: none;
}

.footer-menu a:link, .footer-menu a:visited {
    color:var(--dark-color);
    text-decoration: none;
}

.footer-menu a:link:hover,
.footer-menu a:visited:hover
{
    color:var(--info-color);
    text-decoration: underline;
}

.full-post {
    font-size: var(--x-medium-font);
}

/***************
Profile
****************/
.profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 1rem;
    font-size: var(--large-font);
}


/************
Hero
************/
.m-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    background-color: var(--pink-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    font-size: var(--x-medium-font);
    border: 1px solid var(--border-color-1)
}

.m-hero-img {
    text-align: right;
}

.m-hero-img img {
    height: 300px;
}

/*************
Carousel
*************/
.slides {
    position: relative;
    max-height: 600px;
    height: 600px;
    border-radius: var(--border-radius);
    background-color: #00ABE7;
}

.slides-inner {
    width: 100%;
    height: 100%;
}

.slides-inner .slide-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slides-inner .slide-item img {
    width: 100%;
    max-height: 600px;
}

.slides-inner .slide-item .carousel-caption {
    position: absolute;
    bottom: 4.5em;
    width: 100%;
    text-align: center;
    font-size: var(--x-medium-font);
}


.slides-control button {
    position: absolute;
    background-color: transparent;
    border:none;
    height: 100%;
    top:0;
    font-size: 2rem;
    padding: 0 1rem;
    cursor: pointer;
    color: var(--dark-color);


}

.slides-control button:hover {
    background-color: var(--dark-color);
    opacity: 0.3;
    color: var(--light-color);
}

.slides-control button:first-child {
    left:0;
}

.slides-control button:last-child {
    right:0;
}

.slides-indicators {

    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap:1rem;
}

.slides-indicators button {
    background-color: var(--light-color);
    border:none;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    cursor: pointer;
}

.slides-indicators button.active {
    background-color: var(--dark-color);
}

/************ APP HEADER ***********/
.main-header {

}

.main-header .m-nav-collapsing {
    display: none;
}

@media (max-width: 1000px) {
    .main-header .m-nav-collapsing {
        display: block;
    }

    .nav-auth {
        text-align: right !important;
    }

    .m-nav-show {
        display: none;
    }

    .main-header .m-nav-menu {
        background-color: var(--light-color);
    }

    .main-header .m-nav-menu ul {
        flex-direction: column;
    }
}

/************ APP HEADER END ***********/

/************ Menus */
.m-nav-menu .nav-link:hover {
    font-weight: 500;
}

.m-submenu-parent {
    position: relative;
}

.m-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    padding: 8px 0;
    background: white;
    box-shadow: 0 1px 8px 2px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.m-submenu-parent:hover .m-submenu{
    display: block;
}

/*********** End Menus ***********/


/************ APP FOOTER ***********/
.footer-icons img {
    max-width: 120px;
}

footer .nav-link {
    color: white !important;
}

/************ APP FOOTER END ***********/


/************ JOBS LIST START ***********/
.job-item {
    padding-top: 50px;
    padding-bottom: 50px;
}

.job-item .location {
    text-wrap: nowrap;
}

@media (max-width: 1000px) {
    .job-item .location {
        text-wrap: wrap;
    }
}

.m-job-content {
    flex-direction: column;
}

/************ JOBS LIST END ***********/


/*********** Employer Page ***********/

.employer-container {

}

.employer-container .employer-logo {
    max-height: 170px;
}

.employer-container .employer-banner {
    max-height: 250px;
}

.employer-container .label {
    width:150px;
}

/*********** End Employer Page ***********/


/*********** HEADER ***********/


/*********** END HEADER ********/


/*********** WIDTHS *******/

@media (min-width: 1050px) {
    .w-md-80 {
        width: 80% !important;
    }
}

@media (max-width: 600px) {
    .m-container {
        padding: 0px !important;
    }

    .m-container .job-item {
        padding: 10px;
    }
}

/*********** End Widths *******/
