.dashboard {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
}

.dashboard__main {
    padding: 40px;
    overflow-x: hidden;
}

.dashboard__main > div {
    display: none;
}

/*Sidebar*/
.dashboard__sidebar {
    height: 100%;
    padding: 60px 40px 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid lightgrey;
    background-color: white;
    cursor: pointer;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    display: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: white;
    border: 1px solid lightgrey;
    border-top: none;
    z-index: 10;
}

.mobile-dropdown-active .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dashboard__overview-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard__overview-intro img {
    width: 200px;
    height: auto;
}

/*Business*/
.dashboard__business-title {
    margin-bottom: 20px;
}

.dashboard__business form[id^="Form_DeleteBusinessForm"] fieldset {
    display: none;
}

.dashboard__business form[id^="Form_DeleteBusinessForm"] input[type="submit"] {
    position: relative;
    vertical-align: middle;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #E11545;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 27px;
    cursor: pointer;
}

.dashboard__business form[id^="Form_DeleteBusinessForm"] input[type="submit"]:hover {
    text-decoration: underline;
}

/*Watchlist*/
.dashboard__watchlist-title {
    margin-bottom: 20px;
}

.dashboard__watchlist-item {
    margin-bottom: 30px;
    border-radius: 24px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    clear: both;
}

.dashboard__watchlist-item > p {
    padding-left: 20px;
    padding-right: 20px;
}

.dashboard__watchlist-header {
    padding: 20px;
    background-color: #E11545;
    color: white;
}

.dashboard__watchlist-header h3 {
    margin: 0;
    color: white;
}

.dashboard__watchlist-header .btn--wrapper {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0;
    column-gap: 20px;
    margin-top: 0;
}

.dashboard__watchlist-header form[id^="Form_DeleteItemForm"] fieldset {
    display: none;
}

.dashboard__watchlist-header form[id^="Form_DeleteItemForm"] input[type="submit"] {
    position: relative;
    vertical-align: middle;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 27px;
    cursor: pointer;
}

.dashboard__watchlist-header form[id^="Form_DeleteItemForm"] input[type="submit"]:hover {
    text-decoration: underline;
}

.dashboard__watchlist-header a {
    color: white;
}

.dashboard__watchlist-parameters {
    display: flex;
    flex-wrap: wrap;
    column-gap: 60px;
    padding: 0 20px;
}

.dashboard__watchlist .glide.glide--posties {
    margin-left: 2%;
    margin-right: 2%;
    width: 96%;
}
.glide--posties {
    clear: both !important;
}

.watchlist-message img, .portal-message img, .posties-message img { float: left; }
.watchlist-message p, .portal-message p, .posties-message p { padding-top:50px; }

@media all and (max-width:900px) {
.watchlist-message p, .portal-message p, .posties-message p { clear:both; }
.portal-message img { display: none; }
}
@media all and (max-width:700px) {
.watchlist-message img, .posties-message img { float: right !important; margin-top:-160px; }
}

/*My Posties*/
.dashboard__posties form[id^="Form_DeletePostieForm"] fieldset {
    display: none;
}

.dashboard__posties form[id^="Form_DeletePostieForm"] input[type="submit"] {
    position: relative;
    vertical-align: middle;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #E11545;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 27px;
    cursor: pointer;
}

.dashboard__posties form[id^="Form_ResolvedPostieForm"] input[type="submit"]:hover {
    text-decoration: underline;
}

.dashboard__posties form[id^="Form_ResolvedPostieForm"] fieldset {
    display: none;
}

.dashboard__posties form[id^="Form_ResolvedPostieForm"] input[type="submit"] {
    position: relative;
    vertical-align: middle;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #E11545;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    line-height: 27px;
    cursor: pointer;
}

.dashboard__posties form[id^="Form_ResolvedPostieForm"] input[type="submit"]:hover {
    text-decoration: underline;
}

/*Table*/
.table-responsive {
    overflow-x: auto;
}

.table {
    border-collapse: collapse;
    margin-top: 10px;
}

.table th,
.table td {
    padding: 12px 24px;
    text-align: left;
    border-bottom: 1px solid lightgrey;
}

.table th {
    background-color: #EFEEEE;
    font-weight: bold;
}

/*Tabs*/
.tabs {
    display: flex;
    clear: both;
}

.tab-link {
    position: relative;
    vertical-align: middle;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    background-color: #EFEEEE;
    border: none;
    border-bottom: 1px solid grey;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    line-height: 27px;
    cursor: pointer;
    margin: 0;
}

.tab-link.active {
    background-color: white;
    border-bottom: 1px solid white;
    border-top: 1px solid grey;
    border-left: 1px solid grey;
    border-right: 1px solid grey;
}

.tab-content {
    display: flex;
    flex-direction: column;
    margin-top: -1px;
    padding-top: 20px;
    border: 1px solid grey;
}

.tab-panel {
    padding-left: 10px;
    padding-right: 10px;
}

.tab-panel.active {
    display: block;
}

.tab-panel .glide.glide--posties {
    margin-left: 2%;
    margin-right: 2%;
    width: 96%;
}

@media all and (min-width: 700px) {
    .dashboard {
        display: grid;
        grid-template-columns: 250px 1fr;
    }

    .dashboard__main {
        padding: 90px 40px 40px;
    }

    .dashboard__sidebar {
        padding: 90px 40px 40px;
    }

    .dropdown-menu {
        position: relative;
        display: block;
        border: none;
        z-index: 1;
    }

    .dropdown-menu li {
        padding-left: 0;
    }

    .dropdown-toggle {
        display: none;
    }

    .dashboard__overview-intro {
        flex-direction: row;
    }

    .dashboard__overview .btn--wrapper {
        flex-direction: row;
    }

    /*Business*/
    .dashboard__business-title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        column-gap: 20px;
    }

    .dashboard__business-title .btn {
        align-self: flex-start;
    }

    /*Watchlist*/
    .dashboard__watchlist-title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        column-gap: 20px;
    }

    .dashboard__watchlist-title .btn {
        align-self: flex-start;
    }

    .dashboard__watchlist-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        column-gap: 20px;
        padding: 20px;
        background-color: #E11545;
        color: white;
    }
}
