html {
    scroll-padding-top: 120px;
}
.btn-outline-info {
    border-color: #17a2b8 !important;
    color: #17a2b8;
}

.btn-outline-info:hover,
.btn-info:hover {
    background-color: #148394;
    color: #fff;
}

.btn-info {
    border-color: #17a2b8 !important;
    background-color: #17a2b8;
    color: #fff;
}

.btn-info:active,
.btn-info:focus {
    border-color: #17a2b8 !important;
    background-color: #17a2b8 !important;
    color: #fff;
}

.btn-primary {
    border-color: #495daa !important;
    background-color: #495daa;
    color: #fff;
}

.btn-outline-primary:hover,
.btn-primary:hover {
    background-color: #425499;
    color: #fff;
}

.btn-info:active,
.btn-info:focus {
    border-color: #495daa !important;
    background-color: #495daa !important;
    color: #fff;
}

.text-theme {
    color: #495daa;
}

.badge {
    background-color: #495daa;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}


#sidebar {
    min-width: 220px;
    max-width: 220px;
    /* margin-left: -220px; */
    background: #495daa;
    color: #fff;
    transition: all 0.3s;
    position: fixed;
    z-index: 1;
    top: 50px;
    left: 0;
    height: 100%;
    overflow-x: hidden;
}

#sidebar.active {
    margin-left: -220px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #425499;
}

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

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: rgba(255, 255, 255, 0.75);
}

#sidebar ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.192);
}

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

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}


.menu {
    left: -80px !important;
}

#works,
#pricing {
    margin-top: 100px !important;
}

.project-div a:hover {
    background-color: rgba(255, 255, 255, 0.24);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    margin-top: 35px;
}

.main-container {
    min-height: 100vh;
    transition: all 0.3s;
    padding: 50px;
    margin-left: 220px;
}

.main-container.fullwidth {
    margin-left: 0px;
}

/* ---------------------------------------------------
    DELETE BUTTONS
----------------------------------------------------- */

.delete-container {
	background: #eeeeee;
	display: block;
	padding: 20px;
	border-radius: 10px;
	border: solid #d7d7d7 2px;
}

.delete-container p {
	font-weight: 600;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -220px;
    }

    #sidebar.active {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }

    .main-container {
        margin-left: 0px;
    }
}

.primary-header {
    background-color: #17a2b8 !important;
}

.secondary-header {
    background-color: #495daa !important;
}

.text-info {
    color: #17a2b8 !important;
}

.second-text {
    font-size: 22px;
}

.navbar {
    padding: 10px !important;
}

.link-bar {
    margin-right: 30px;
    font-size: 17px;
}





.content-container {
	display: flex;
	justify-content: space-between;
}

.content-comment {
	position: relative;
	right: -60px;
	width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.comment {
	display: block;
	width: 300px;
	position: relative;
	margin-right: 10px;
	background: white;
	text-decoration: none;
	border-radius: .25rem;
}

.comment > * {
	display: block;
}

.comment .comment-text {
	padding: 10px 10px 0 10px;
	font-size: .75em;
	color: black;
}

.comment .badge {
	text-align: left;
    border-radius: .25rem;
}

.badge.status {
	background: white;
	color: #495daa;
}

.badge.badge-container.bg-secondary {
	margin-right: 10px;
	width: 300px;
}
.regulation-content {
	width: calc(100% - 320px);
}

.regulation-sidebar {
	width: 320px;
	position: fixed;
	right: 0;
	background: #eee;
	height: 100vh;
	display: block;
	z-index: -1;
	top: 0;
}

.text-decoration-none.text-dark.commented {
	background: #495daa40;
}

.badge.badge-container {
	text-align: left;
	border-radius: 0.3rem 0.3rem 0 0;
	display: flex;
	gap: 5px;
	justify-content: space-between;
	padding: .5rem;
}

.badge.badge-container.collapsed {
    border-radius: 0.3rem;
}

.badge-container > .badges {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	justify-content: end;
}

.badge-container > span:not(.badges) {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.comment-text > a {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
    margin: 0;
    color: #212529;
}


.comment.passive-project {
	order: 1;
}

.mobile {
    display: none;
}

table.mobile tbody tr > td:first-child {
	font-weight: 600;
}

table tr > td:last-child {
	word-break: break-all;
}

.comment-detail {
	background: #eeeeee;
	border-radius: 10px;
	margin-bottom: 20px;
}

.comment-detail > * {
	padding: 20px;
}

.comment-detail .project {
	padding: 10px 20px;
	background: #495daa;
	color: white;
	border-radius: 10px 10px 0 0;
}

.project.inactive {
	background: #6c757d;
}

.comment-detail .project p,
.comment-detail .comment p:last-child {
	margin: 0;
}

.comment-detail .badges {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
}






.arrow {
	display: inline-block;
	width: 12px;
	height: 12px;
	font-size: 12px;
	transform: translateY(2px);
}

.arrow span {
	top: 4px;
	position: absolute;
	width: 8px;
	height: 1.5px;
	background-color: white;
	display: inline-block;
	transition: all .2s ease;
}

.arrow span:first-of-type {
	left: 0;
	transform: scale(.9) rotate(-45deg);
}

.arrow span:last-of-type {
	right: 0;
	transform: scale(.9) rotate(45deg);
}

.collapsed .arrow > span:last-of-type {
	transform: scale(.9) rotate(-45deg);
}

.collapsed .arrow > span:first-of-type {
	transform: scale(.9) rotate(45deg);
}

.badge.badge-container > span:first-child {
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge.badge-container > span:first-child > span {
	display: flex;
	flex-direction: row;
	gap: 5px;
}

.comment * {
	text-decoration: none;
}

.comment .badge:hover {
	color: white;
	background: #39498a;
}

.comment .badge.bg-secondary:hover {
	background: #484f55 !important;
}

.btn-jump-cmt-first a {
	color: white;
	width: 100%;
}

.comment-detail .comment {
	width: 100%;
	background: #eeeeee;
}


/** Comment Jump Buttons **/
.btn-jump-comment {
    display: inline-block;
	color: #495daa;
	height: 16px;
	width: 16px;
}

.btn-jump-comment svg {
	width: 16px;
	height: 16px;
	transform: translateY(-40%);
}

.btn-jump-cmt-container {
	height: 16px;
	margin: 10px;
	display: flex;
	justify-content: flex-end;
	gap: 5px;
}

.btn-jump-cmt-first a {
    color: white;
} 
.btn-jump-cmt-first .badge.badge-container {
	border-radius: .3rem;
}
.comment.btn-jump-cmt-first {
	position: absolute;
	top: 90px;
	right: 0;
}

@media (max-width: 1499px) {
    .table.table-striped.table-sm.desktop {
        display: none;
    }

    .table.table-striped.table-sm.mobile {
        display: block;
    } 
}

@media (max-width: 899px) {
    html {
        font-size: 12px;
    }

    .main-container {
        padding: 20px;
        margin-top: 20px;
    }

    h2, h3, h4, li .text-theme {
        word-break: break-word;
    }

    .regulation-sidebar {
        width: 250px;
    }

    .comment,
    .badge.badge-container.bg-secondary {
        width: 230px;
    }

    .regulation-content {
        width: calc(100% - 250px);
    }

    .content-comment {
        right: -30px;
    }

    .table.table-striped.table-sm {
        width: 100%;
        overflow: scroll;
        display: block;
    }
}

@media (max-width: 499px) {
    .regulation-sidebar {
        display: none;
    }

    .regulation-content {
        width: 100%;
    }

    .content-container {
        flex-direction: column;
        gap: 10px;
    }

    .content-comment {
        position: static;
    }

    .content-comment, .comment, .badge.badge-container.bg-secondary {
        width: 100%;
    }

    .comment-text > p {
        -webkit-line-clamp: 2;
    }

    .comment {
        background: #eeeeee;
    }

    .comment .comment-text {
        padding: 5px;
    }
}