html {
  box-sizing: border-box;
}
html, body{
    height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
/* colors */:root {
  --primary: #2196F3;
  --box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  --text-color: rgb(41, 41, 41);
  --red: rgb(255, 65, 65);
  --green: rgb(84, 210, 87);
  --yellow: #FEC809;
}
body {
	margin: 0;
	font-family: Nunito, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji !important;
	font-weight: 300;
	color: var(--text-color);
	font-size: 1rem;
}
div {
	box-sizing: border-box;
    cursor: default;
}
h1,h2,h3,h4,h5 {
	margin: 1.5rem 0 1rem 0;
    margin-top: 0;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-color);
    cursor: default;
}
h3 {
    margin-bottom: 1rem;
}
p {
    cursor: default;
}
form p {
    margin: 0;
}
span {
    cursor: default;
}
a {
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
}
table {
	width: 100%;
	border-collapse: collapse;
}

.col-1 {width: 8.33% !important;}
.col-2 {width: 16.66% !important;}
.col-3 {width: 25% !important;}
.col-4 {width: 33.33% !important;}
.col-5 {width: 41.66% !important;}
.col-6 {width: 50% !important;}
.col-7 {width: 58.33% !important;}
.col-8 {width: 66.66% !important;}
.col-9 {width: 75% !important;}
.col-10 {width: 83.33% !important;}
.col-11 {width: 91.66% !important;}
.col-12 {width: 100% !important;}
[class*="col-"] {
    transition: all 0.4s;
}

.col {
	padding: 1rem;
}

::selection { background: transparent; }
::-moz-selection { background: transparent; }
input::selection,
.ql-editor *::selection,
textarea::selection { background: #B5DCFF; }
input::-moz-selection,
.ql-editor *::-moz-selection,
textarea::-moz-selection { background: #B5DCFF; }

/* menu */
.sidebar {
	width: 220px;
    height: 100%;
    padding-bottom: 3rem;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    user-select: none;
    transition: transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 0.99);
    background-color: var(--text-color);
    color: #ffffff;
}
.menu-container {
	overflow: auto;
    flex: 1;
    padding: 1rem;
}
.menu-separator {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	list-style-type: none;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.menu {    
	margin: 0;
    padding: 0;
    list-style-type: none;
    color: rgb(215,215,215);
}
.menu-title {
	font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.5rem 0 1rem 0rem;
    color: rgb(132,136,139);
}
.menu-item {
	display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    padding: 0.5rem;
    font-size: 0.9rem;
    border-radius: 4px;
    outline: 0 none;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}
.menu-item:hover {
	background-color: rgb(58, 58, 58);
}
.menu-selected, .menu input[type="radio"]:checked+label {
	background-color: rgb(66, 66, 66);
}
.menu a {
    color: rgb(215,215,215);
    text-decoration: none;
}
.content {
	display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-height: 100vh;
    position: fixed;
    height: 100%;
    width: calc(100% - 220px);
    transition: all 0.4s;
    top: 0;
    right: 0;
    z-index: 2;
    box-shadow:rgba(0, 0, 0, 0.2) 0px 7px 29px 0px;
}
.brand {
    height: 3.5rem;
	text-decoration: none;
	color: #ffffff;
	text-align: center;
    display: block;
    outline: 0 none;
    padding: 1rem;
    transition: background-color 0.2s, box-shadow 0.2s;
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
	background: linear-gradient(40deg, rgba(16,93,162,1) 0%, rgba(31,140,227,1) 100%);
}

/* topbar */
.topbar {
    background: #ffffff;
    height: 4rem;
    padding: 0 2rem 0 0.5rem;
    box-shadow: var(--box-shadow);
    z-index: 10;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color: #495057;
}
.topbar-left {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.topbar-right {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.name {
    height: 2.2rem;
    padding: 0 0.7rem;
    display: flex;
    align-items: center;
    margin-right: 1rem;
    border-radius: 4px;
    transition: all 0.2s;
}
.name:hover {
    background: rgb(230,230,230);
}
.name span {
    font-weight: 400;
    transform: rotate(90deg) scale(1,1.5);
    margin-left: 0.8rem;
}
.dropdown {
    position: absolute;
    top: 2.8rem;
    right: 3rem;
    width: 11rem;
    text-align: right;
    line-height: 2.2rem;
    padding: 1rem !important;
    display: none;
    z-index: 100;
}
.name:hover .dropdown {
  display: block;
}
.logout {
    color: var(--red) !important;
}
.logout:hover {
    background-color: var(--red) !important;
    color: #fff !important;
}
.admin-btn {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0.3rem;
    transition: all 0.2s;
    border-radius: 4px;
    margin-left: 0.5rem;
    display: none;
}
.admin-btn:hover {
    background: rgb(230,230,230);
}
.admin-btn img {
    width: 1.6rem;
}
.close {
    background: white;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.close:hover {
    background: #EBEBEB;
}
.close:active {
    background: #DCDCDC;
}
.menu-icon {
    width: 1.5rem;
    height: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    cursor: pointer;
}
.menu-icon div {
    background-color: var(--text-color);
    width: 100%;
    height: 3px;
    border-radius: 10px;
    cursor: pointer;
}
.topbar-separator {
    display: block;
    width: 1px;
    border-left: 1px solid #dee2e6;
    align-self: stretch;
    margin: 0 1rem;
}
.title {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0.3rem 0 0.3rem 1rem;
    border-left: 1px solid #E6E6E6;
}

/* content */
.layout-content {
	padding: 1rem;
    flex: 1 1 auto;
	background-color: rgb(246,246,250);
	display: flex;
    flex-wrap: wrap;
    height: 100%;
    overflow-y: auto;
}
.card {
	background: #ffffff;
    padding: 1.25rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    border-radius: 10px;
}
.green-border {
    border-left: 4px solid var(--green);
}
.yellow-border {
    border-left: 4px solid var(--yellow);
}
.red-border {
    border-left: 4px solid var(--red);
}
.card-btn {
    margin-left: 0;
    padding: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.card-btn:hover {
    color: #2196F3;
}
.title-link {
	text-decoration: none;
	transition: all 0.4s;
	color: rgb(76,83,90);
    cursor: pointer;
}
.title-link:hover {
	color: #2196F3;
}

/* footer */
.footer {
    background: #ffffff;
    height: 4rem;
    z-index: 10;
    box-shadow: var(--box-shadow);
    padding: 0 2rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100vw;
    position: fixed;
    bottom: 0;
}
.footer-left {
    text-transform: uppercase;
    font-weight: 300;
    display: flex;
}
.footer-brand {
    border-right: 1px solid rgb(180,180,180); 
    padding-right: 1rem; 
    text-decoration: none !important;
}
.footer-right {
    font-size: 0.9rem;
    color: rgb(132,136,139);
}
.footer span {
    text-decoration: underline;
    cursor: pointer;
}
.footer a {
    color: rgb(132,136,139);
}

/* tables */
.row{
	background: #ffffff;
    color: #495057;
    transition: box-shadow 0.2s;
    outline-color: #a6d5fa;
    border: none;
    transition: background 0.4s;
    border-top: 1px solid rgb(233,236,239);
    border-bottom: 1px solid rgb(233,236,239);
}
.row:hover {
	background-color: rgb(233,236,239);
}
.row td {
    padding: 1rem;
}
.row .col-9,
.row .col-3 {
    cursor: pointer;
} 
.handle {
    cursor: default;
}
.drag_col {
    width: 3rem;
}
.drag_col div {
    background: #CCCCCC;
    height: 3px;
    margin-bottom: 3px;
    border-radius: 2px;
}

/* badges */
.badge {
	border-radius: 2px;
    padding: .25em .5rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .3px;
    transition: all 0.4s !important;
}
.badge-warning {
    background-color: var(--yellow);
    color: #212529;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.badge-b {
    background-color: rgba(27, 113, 214, 0.2);
    color: #1B71D6;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 400;
}
.success {    
	background: #c8e6c9;
    color: #256029;
}
.danger {
	background: #ffcdd2;
    color: #c63737;
}
.warning {
	background: #ffd8b2;
    color: #805b36;
}

/*forms*/
input, textarea {
    font-family: 'Nunito';
    font-size: 1rem;
    font-weight: 300;
    color: #495057;
    background: #ffffff;
    padding: 0.5rem 0.5rem;
    border: 1px solid #ced4da;
    transition: all 0.2s;
    appearance: none;
    border-radius: 4px;
    outline: none;
    color: var(--text-color);
    resize: none;
}
input:hover, textarea:hover {
    border-color: #2196F3;
}
input:focus, textarea:focus {
    border-color: #2196F3;
}
/* textarea {
    padding: 
} */
input[type="checkbox"] {
    border-radius: 5px;
    width: 1rem !important;
    height: 1rem;
    border: 3px solid white;
    outline: 1px solid #ced4da;
    cursor: pointer;
    margin: 0.5rem 0 0.5rem 0.5rem !important;
}
input[type="checkbox"]:hover,
input[type="checkbox"]:checked:hover {
    outline: 1px solid var(--primary);
}
input[type="checkbox"]:checked {
    background: var(--primary);
    outline: 1px solid #ced4da;
}
select {
    font-family: 'Nunito';
    font-size: 1rem;
    font-weight: 300;
    color: #495057;
    background: #ffffff;
    padding: 0.5rem 0.5rem;
    border: 1px solid #ced4da;
    transition: all 0.2s;
    appearance: none;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
}
select:hover {
    border-color: #2196F3;
}
option {
    font-family: 'Arial';
}

/* buttons */
.primary {
	color: #ffffff;
    background: #2196F3;
    border: 1px solid #2196F3;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    border-radius: 4px;
    cursor: pointer;
}
.primary:hover {
	background: rgb(13,137,236);
}
.primary:active {
	background: rgb(0,117,215);
}
.disabled,
.disabled:hover,
.disabled:active {
    background: #CCCCCC; 
    border: none;
    cursor: auto;
}
.outlined-primary {
	background-color: transparent;
    color: #2196F3;
    border: 1px solid;
    cursor: pointer;
}
.outlined-primary:hover {
	background: rgb(246,251,255);
}
.link {
	text-decoration: none !important;
    color: #2196F3;
    background: #ffffff;
	transition: all 0.4s;
	padding: 0.3rem 0.5rem;
	border-radius: 4px;
    cursor: pointer;
}
.link:hover {
    background: var(--primary);
    color: white;
}

/* landing page */
.bg {
    width: 100%;
    height: 30rem;
    background: linear-gradient(40deg, rgba(16,93,162,1) 0%, rgba(31,140,227,1) 100%);
}
.landing {
    width: 100%;
    height: 100%;
    padding: 40px 8% 0;
    text-align: center;
    background: url("../../static/img/background.png");
    background-position: top;
    background-size: 1920px;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}
.landing h1 {
    font-size: 3rem;
    margin-top: 4rem;
}
.landing h2 {
    color: #ffffff;
    margin-bottom: 0
}
.mt {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.6rem;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.change-language {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.1rem;
    color: #ffffff;
    color: #ffffff;
    transition: all 0.4s;
    opacity: 0.8;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.change-language:hover {
    opacity: 1;
}
.change-language img {
    width: 1.5rem;
    margin-left: 0.5rem;
}
.footer .change-language {
    filter: invert(60%);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 1rem;
    font-weight: 300
}
.footer .change-language img {
    width: 1.3rem;
}
.container {
    background-color: rgb(246,246,246);
    /* height: calc(100% - 30rem); */
    height: 60%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    -webkit-box-shadow: 0px 0px 20px -7px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 20px -7px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 20px -7px rgba(0,0,0,0.5);
}
.landing-btn {
    color: rgb(20,104,176);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    background: #ffffff;
    padding: 8px 35px;
    border: 1px solid #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}
.landing-btn:hover {
    background-color: rgb(185,222,255);
    border-color: rgb(185,222,255);
}
.landing-btn-outlined {
    background: none;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    padding: 8px 35px;
    border: 1px solid #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
    margin-left: 1rem;
}
.landing-btn-outlined:hover {
    background-color: rgb(25,125,205);
}
.btn {
    background: none;
    color: rgb(26,126,207);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    padding: 8px 35px;
    border: 1px solid rgb(26,126,207);
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn:hover {
    background-color: rgb(230,230,255);
}
.goals {
    display: flex;
    justify-content: space-between;
    padding: 1rem 5rem;
}
.goals h2 {
    color: rgb(76,83,90);
    margin: 0
}
.goals .card {
    padding: 2rem 2rem 3rem 2rem;
    height: auto;
}
.bg2 {
    background: rgba(25,25,25,0.8);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bg2 .card {
    width: 70%;
    height: 90%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.popup-content {
    padding: 1rem;
    overflow-y: auto;
    height: 95%;
    width: 100%;
    overflow-x: hidden;
}
.bg2 .card div a {
    text-decoration: underline;
}
.bg2 .card h3 {
    width: 70%;
}
.bg2 .card span {
    width: auto;
    text-align: right;
}
.logos {
    text-align: center;
    height: auto;
}
.logos img {
    width: 12rem;
    margin: 2rem 4rem;
    vertical-align: middle;
}
.logos img:nth-child(7) {
    width: 9rem;
}
.tutorials {
    display: flex;
    flex-wrap: wrap;
    overflow-y: hidden !important;
    max-height: none !important;
    justify-content: center;
}
.tutorials div {
    width: 50%;
    min-width: 35rem;
    margin-bottom: 1rem;
}

/* login/sigup page */
.login, .signup {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.login .card {
    width: 30%;
}
.signup {
    position: absolute;
    top: 5rem;
    left: 0;
    
}
.signup .card {
    width: 40%;
    padding: 1rem 0 1rem 0;
    margin-top: 2rem;
}
.form input {
    margin-bottom: 1rem;
    width: 100%
}
.signup div div {
    padding: 0 0.5rem 0 0.5rem;
}
.form div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.form span {
    display: inline-block;
    color: var(--red);
    margin-bottom: 0.5rem;
}
.form .col-12 {
    font-size: 0.9rem;
    padding-bottom: 1rem;
}
.form .programming {
    text-align: center;
    display: block;
}
.form .programming select {
    display: inline-block;
    margin-top: 0.5rem;
    width: 5rem;
    text-align: center;
}
.form .terms {
    display: block;
    text-align: right;
}
.form .terms div {
    display: flex;
    justify-content: flex-end;
}
.form .terms input {
    display: inline-block;
    margin-left: 0.5rem
}
.form .terms a {
    display: inline-block;
    margin-left: 0.3rem
}
.form p {
    text-align: left;
}
.form a {
    text-decoration: underline;
    cursor: pointer;
    display: inline;
}
.form .course {
    margin-bottom: 1rem;
    width: 100%
}

/* problem page */
.statement div {
    display: flex;
    flex-wrap: wrap;
}
.statement div div {
    display: flex;
    justify-content: flex-end;
}
.statement span {
    cursor: default;
}
.statement h3 {
    margin: 0
}
.statement img {
    max-width: 100%;
}
code {
    padding: 0.1rem 0.2rem;
    background: #F5F8F8;
    border: 1px solid #E6E6E6;
    border-radius: 2px;
}
.loader {
    width: 50%;
    min-width: 10rem;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    height: 6px;
    background: #E6E6E6;
}
.loader div {
    background: var(--primary);
    width: 0;
    height: 100%;
    border-radius: 4px;
}
.result {
    display: none;
    justify-content: space-between;
    align-items: center;
}
.result h3 {
    width: 8rem;
}
.result div {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 300
}
#outcome {
    width: calc(100% - 18rem);
}
.result .task-progress2 {
    width: calc( 100% - 3rem); 
    background: var(--red);
    margin: 1rem
}
#outcome div:nth-child(1) {
    color: var(--green);
}
#outcome div:nth-child(3) {
    color: var(--red);
}
.test-case {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    white-space: pre;
    overflow-x: auto;
}
.test-case h3 {
    margin: 0;
}
.test-case table {
	width: 100%;
	margin-top: 1rem;
}
.test-case table td {
    border-top: 1px solid rgb(233,236,239);
    padding: 0.5rem;
    font-family: monospace;
    font-size: 15px;
}
.test-case table td:nth-child(2) {
    color: #333;
}
.test-case table tr:nth-child(1) td:nth-child(2) {
    color: #A9ABAB;
}
.args {
    color: #333;
}
.task-progress2 {
    width: 100%;
    height: 0.4rem;
    border-radius: 10px;
    background: #dee2e6;
    margin-top: 1rem;
    display: flex;
}
.task-progress2 div {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
}
.task-progress2 .passed {
    background: var(--green);
    border-radius: 10px;
}
.task-progress2 .skipped {
    background: var(--yellow);
}
.task-progress2 .failed {
    background: var(--red);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.percent {
    text-align: right;
    padding-top: 1rem;
    font-size: 2rem;
}
.options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.option-label {
    width: calc(50% - 0.5rem);
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 1rem;
    cursor: pointer;
    padding: 0 1rem;
    transition: all 0.2s;
}
.option-label:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.options input:checked+label {
    border-color: var(--primary);
    color: var(--primary);
}
.options p {
    cursor: pointer;
}
.option {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: calc(50% - 1rem);
}
.option textarea {
    display: block;
    padding: 1rem;
    width: calc(100% - 3.5rem);
    height: 8rem;
}
.option div {
    padding: 0.5rem;
    text-align: center;
    width: 100%;
}
.option div .link {
    color: var(--red)
}
.option div .link:hover {
    background-color: #FEE4E0
}
.option div .link:active {
    background-color: #FEC5BC;
}
#label {
    display: block;
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
    border: 1px solid #ced4da;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.3rem;
}
#label:hover {
    border-color: var(--primary);
}
#label div {
    transition: all 0.2s;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 100%;
    cursor: pointer;
}
#label:hover div {
    background-color: var(--primary);
}
.option input:checked+label div {
    background-color: var(--primary);
}
#text {
    width: 100%;
    height: 3.5rem;
    font-size: 1.3rem;
    padding: 1rem;
    display: block;
}
.primary.col-2 {
    height: 3rem;
}


/* chapters page */
#search {
    width: 100%;
    font-size: 1.2rem;
    border: none;
}
.task-progress {
    border-radius: 4px;
    height: 0.4rem;
    width: 30%;
    background: #dee2e6;
    margin-bottom: 1rem;
}
.task-progress div {   
    background: var(--primary);
    height: 0.4rem;
    border-radius: 4px;
    opacity: 0.7;
}
.add form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.add .col-4 {
    text-align: right;
}
.add .col-8 {
    text-align: left;
}
.add .col-12 {
    text-align: center;
    margin-top: 1rem;
}
.add input {
    width: calc(100% - 0.5rem);
}

/* show chapter */
.chapter-list {
    display: flex;
    flex-wrap: wrap;
}
.chapter-list .col-4 {
    text-align: right;
}
.deadline {
    margin-left: 1rem;
    border-left: 4px solid var(--yellow);
}
.deadline h1 {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem
}
.deadline h2 {
    margin-bottom: 0;
    font-weight: 300
}


/* outcomes page */
.outcomes-form td .card {
    margin-left: 1rem;
    text-align: center;
}
.outcomes-form h4 {
    display: inline;
    margin-right: 1rem
}
.outcomes-form select {
    width: 15rem;
}
.search {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    margin-bottom: 1rem
}

/* diff table */
.diff {
    display: flex;
    flex-wrap: wrap;
}
.diff-table td .card {
    height: 30rem;
}
.card-diff {
    background: #ffffff;
    padding: 1.25rem !important;
    padding-bottom: 4rem !important;
    border: 0 none;
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    position: static !important;
    width: 50% !important;
    height: 330px !important;
}
#mergely-editor-rhs {
    margin: 0 0.5rem 0 0;
}
#mergely-editor-lhs {
    margin: 0 0 0 0.5rem;
}
#mergely {
    width: 100% !important;
    display: flex;
    flex-direction: row-reverse;
}
.diff .col-6 {
    display: flex;
}
.diff .card-btn {
    width: 5rem;
    height: 5rem;
    margin-bottom: 0
}
.diff .card-btn div {
    font-size: 3rem;
    font-weight: 500
}
.log {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
    width: calc(100% - 6rem)
}

/* past problems table */
td .task-progress2 {
    margin: 0;
}
.dataTable {
    text-align: left !important;
}
.dataTable th {
    border-bottom: none !important;
    padding: 1rem !important;
    font-weight: 400 !important;
    background: rgb(248,249,250) !important;
    border-top: 1px solid rgb(233,236,239) !important;
    transition: all 0.2s !important;
    font-size: 0.9rem !important;
    color: rgba(0,0,0,0.6) !important;
}
.dataTable th:hover {
    background: rgb(233,236,239) !important;
}
.dataTable th:nth-child(1) {
    text-align: left !important;
}
.dataTable td {
    padding: 1rem !important;
    cursor: pointer !important;
    border-top: 1px solid rgb(233,236,239) !important;
    background: none !important;
    cursor: auto !important;
}
.dataTable td:nth-child(2),
.dataTable td:nth-child(3),
.dataTable td:nth-child(4),
.dataTable td:nth-child(5),
.dataTable td:nth-child(6),
.dataTable td:nth-child(7) {
    text-align: center !important;
}
.dataTable th:nth-child(2),
.dataTable th:nth-child(3),
.dataTable th:nth-child(4),
.dataTable th:nth-child(5),
.dataTable th:nth-child(6),
.dataTable th:nth-child(7) {
    text-align: center !important;
}
.dataTable tr {
    background: #ffffff !important;
    color: #495057 !important;
    transition: box-shadow 0.2s !important;
    outline-color: #a6d5fa !important;
    border: none !important;
    transition: all 0.4s !important;
}
#past-problems_wrapper {
    position: relative !important;
    top: -3rem !important;
}
#past-problems_length {
    display: none !important;
}
#past-problems_filter {
    width: 100% !important;
    margin-bottom: 1rem !important;
    color: transparent !important;
}
#past-problems_filter input {
    font-family: 'Nunito' !important;
    font-size: 1rem !important;
    font-weight: 300 !important;
    color: #495057 !important;
    background: #ffffff !important;
    padding: 0.5rem 0.5rem !important;
    border: 1px solid #ced4da !important;
    transition: all 0.2s !important;
    appearance: none !important;
    border-radius: 4px !important;
    outline: none !important;
    color: var(--text-color) !important;
    resize: none !important;
    width: 20rem !important;
}
#past-problems_filter input:hover {
    border-color: #2196F3 !important;
}
#past-problems_filter input:focus {
    border-color: #2196F3 !important;
}
.dataTables_paginate {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    float: none !important;
}
.dataTables_wrapper
.dataTables_paginate
.paginate_button {
    text-decoration: none;
    color: #2196F3 !important;
    background: #ffffff;
    transition: all 0.4s;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    float: none;
    height: auto;
    border: none !important;
    box-shadow: none !important;
    margin: 0.5rem !important;
}
.dataTables_wrapper
.dataTables_paginate
.paginate_button:hover {
    background: rgb(39,152,243,0.15);
    color: #2196F3 !important;
}
.dataTables_wrapper
.dataTables_paginate
.paginate_button:active {
    background: rgb(39,152,243,0.3);
    color: #2196F3 !important;
}
.dataTables_wrapper 
.dataTables_paginate 
.paginate_button.current, 
.dataTables_wrapper 
.dataTables_paginate 
.paginate_button.current:hover {
    background: rgb(39,152,243,0.3) !important;
    font-weight: 300 !important;
    color: #2196F3 !important;
}
table.dataTable.no-footer {
    border: none !important;
}
.dataTables_paginate {
    border: none !important;
}
.paginate_disabled_next, 
.paginate_disabled_previous {
    background: #ffffff;
    padding: 0.3rem 0.5rem;
    cursor: auto;
}
.filter {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    width: 500px;
    position: relative;
    z-index: 10;
}
.filter input {
    display: none;
}
.filter label {
    margin-left: 1rem;
}
.filter label span {
    cursor: pointer !important;
    transition: all 0.2s;
}
.filter label span:hover {
    background: rgb(39,152,243,0.15);
    color: var(--primary);
}

.filter label span:active {
    background: rgb(39,152,243,0.3);
    color: var(--primary);
}
.filter input:checked+label span {
    background: rgb(39,152,243,0.15);
    color: var(--primary);
}

/* outcomes table */
#outcomes_length, #outcomes_filter {
    margin-bottom: 1rem
}
#outcomes {
    text-align: center !important;
}
#outcomes td:nth-child(1) {
    text-align: left !important;
    min-width: 12rem !important;
    border-right: none !important;
}
#outcomes td:nth-child(2) {
    min-width: 12rem !important;
}
#outcomes td:last-child {
    border-right: none !important;
}
#outcomes td {
    width: auto;
    min-width: 10rem !important;
    border-right: 1px solid #CCCCCC !important;
}
#outcomes th {
    color: var(--font-color) !important;
    background: white !important;
    cursor: default !important;
    font-size: 1rem !important;
    font-weight: 300 !important;
    border: none !important;
}
#outcomes .link {
    font-size: 1rem !important;
    font-weight: 200 !important;
}

/* solutions page */
.solutions {
    overflow-y: auto;
}
.solution {
    width: 35rem;
    padding: 1rem 2rem;
    border-right: 1px solid #CCCCCC;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.solution .CodeMirror {
    margin-top: 1rem;
}
/* dashboards */
.chapter-dashboard .card {
    height: 10rem;
    overflow: auto;
}

/* new problem page*/
#id_form {
    display: flex;
    width: 100%
}
#id_title {
    font-size: 1.17em;
    font-weight: 400;
    width: 100%;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s;
    margin-bottom: 1rem;
    box-sizing: border-box;
}
#id_question_type {
    width: calc(100% - 1rem);
    margin-left: 1rem;
}
#content {
    border: 1px solid #ced4da;
    border-radius: 4px;
    height: auto;
    transition: all 0.2s;
}
#content:hover {
    border-color: var(--primary);
}
#editor1 {
    width: 100%;
    height: 20rem;
    display: block;
}
#id_chapter {
    width: 15rem;
    margin-right: 1rem;
}
#id_order {
    width: 6rem;
}
#id_header {
    width: 100%
}
#id_tip {
    width: 100%;
    height: 8rem;
    margin: 1rem 0;
    box-sizing: border-box;
    font-family: monospace;
}
#id_cluster {
    width: 100%;
}
.menssage {
    margin-bottom: 1rem;
    text-align: right;
}
#error {
    color: var(--red);
}
#success {
    color: var(--green);
}
/* dashboards */
.times, .errors {
    height: calc(50% - 2rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.times h3, .errors h3, .chapters h3 {
    margin-bottom: 0
}
.times .student h1 {
    text-align: center;
    margin: 0;
    font-size: 2.2rem;
}
.times .student h2 {
    text-align: center;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 200;
}
.times .class h1 {
    text-align: center;
    margin: 0;
    font-size: 1.5rem;
}
.times .class h2 {
    text-align: center;
    margin: 0.2rem 0 0 0;
    font-size: 1.1rem;
    font-weight: 200;
}
.chapters {
    height: 25rem;
}
.chapters table tr:nth-child(1) td {
    padding: 0.5rem 1rem;
}
.errors {
    border-left: 4px solid var(--red);
}
.errors h1 {
    text-align: center;
    margin: 0;
    font-size: 2.5rem;
}
.errors h2 {
    text-align: center;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 200;
}
.modebar{
    display: none !important;
}
/* edit profile */
.edit-profile {
    text-align: center;
}
.edit-profile span {
    margin-bottom: 1rem;
}
.edit-profile input {
    width: 100%;
    margin-bottom: 1rem;
}
.classes {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding-right: 0;
    padding-left: 0;
    margin-left: -1rem;
}
.class {
    position: relative;
}
.class .class_btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}
.class .class_code {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    cursor: text !important;
}
.class_code::selection { background:  #81C7F4 !important; }

.students .row:hover {
    background: white;
}
.link.del {
    color: var(--red);
}
.link.del:hover {
    background: var(--red);
    color: #fff;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.class_active {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
}
.problem_solution {
    height: 100%;
    width: calc(50% - 2rem);
    margin-right: 2rem;
    position: relative;
}
.problem_solution .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.heatmap .cursor-pointer {
    cursor: default !important;
}



.progress-bar {
    border-radius: 0.5rem;
    height: 1rem;
    width: 100%;
    background: #dee2e6;
    margin-bottom: 1rem;
    margin-top: 2rem;
    overflow: hidden;
    display: flex;
}
.progress-bar .p {
    height: 100%;
    background: var(--green);
}
.progress-bar .s {
    height: 100%;
    background: var(--yellow);
}
.progress-bar .f {
    height: 100%;
    background: var(--red);
}















.zopim {
    left: 15px !important;
    font-family: 'Nunito' !important;
}


.logos-row {
    display: flex; 
    flex-direction: row; 
    width: 100%; 
    justify-content: space-around;
}






/* media queries */
@media only screen and (max-width: 1500px) {
}
@media only screen and (max-width: 900px) {
    .bg {
        height: auto;
    }
    .header{
        flex-wrap: wrap;
        justify-content: center;
    }
    .mt {
        margin-bottom: 1rem;
        width: 100%
    }
    .landing {
        padding: 40px 0;
    }
    .landing h1 {
        font-size: 35px;
        margin: 2rem;
    }
    .landing button {
        width: calc(100% - 4rem);
        height: 3rem;
        margin: 0.5rem 2rem;
    }
    .landing p {
        margin-bottom: 0;
    }
    .landing h2 {
        margin-bottom: 2rem;
    }
    .goals {
        display: block;
        padding: 0
    }
    .goals .col {
        width: 100% !important;
    }
    .goals .card {
        margin: 1rem;
        width: calc(100% - 2rem);
        padding: 2rem;
    }
    .container {
        height: 12rem;
    }
    .container button {
        margin-top: 2rem;
        width: calc(100% - 4rem);
        height: 3rem;
    }
    .container div {
        padding: 0 !important;
    }
    [class*="col-"] {
        width: 100% !important;
    }
    .layout-content {
        padding-top: 1rem;
    }
    .col {
        padding: 0;
    }
    .card {
        margin-bottom: 1rem;
    }
    .card .col-1 {width: 8.33% !important;}
    .card .col-2 {width: 16.66% !important;}
    .card .col-3 {width: 25% !important;}
    .card .col-4 {width: 33.33% !important;}
    .card .col-5 {width: 41.66% !important;}
    .card .col-6 {width: 50% !important;}
    .card .col-7 {width: 58.33% !important;}
    .card .col-8 {width: 66.66% !important;}
    .card .col-9 {width: 75% !important;}
    .card .col-10 {width: 83.33% !important;}
    .card .col-11 {width: 91.66% !important;}
    .card .col-12 {width: 100% !important;}

    .topbar-right span {
        display: none;
    }
    .zopim {
        display: none;
    }
    .close:hover {
        background: none;
    }
    .close:active {
        background: none;
    }
    .topbar-right .link {
        font-size: 1.2rem;
        font-weight: 400;
        background-color: var(--primary);
        color: white;
        padding: 0.3rem 1rem;
    }
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
        padding: 1rem 2rem;
        height: 4.5rem;
        z-index: 100;
    }
    .footer .footer-brand {
        border: none;
    }
    .footer .change-language {
        display: none;
    }
    .footer-left {
        margin-right: 2rem;
    }
    .footer-right {
        display: none;
    }

    /* popup */
    .bg2 {
        align-items: flex-start;
    }
    .bg2 .card {
        height: calc(100% - 8rem);
        margin: 1.5rem;
        width: 80%;
        border-radius: 0;
        padding: 1rem 1rem;
    }

    /* chapter page */
    .chapter-list .link {
        display: none;
    }
    .dashboard-line {
        flex-wrap: wrap;
    }
    .dashboard-item {
        width: 100% !important;
        margin: 0 0 1rem 0;
    }
    .dashboard-item .card {
        margin: 0 !important;
    }

    .bg2 table tr {
        display: flex;
        flex-direction: column;
        margin: 15px 0;
    }

    .logos-row{
        flex-direction: column;
        align-items: center;
    }
}
@media only screen and (max-width: 1200px) {
    .signup{
        height: 100vh;
    }

    .signup .card {
        width: 70%;
        height: fit-content;
        /* padding: 10px; */
        font-size: 24px;
    }

    .form {
        display: flex;
        flex-direction: column;
        /* justify-content: space-around; */
        /* align-items: center; */
        font-size: 30px;
        width: 100%; 
        height: 100%;
        
    }

    .form div{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    
        justify-content: space-around;
        align-items: center;
    }


    .signup  .form .col-6{
        width: 90% !important;
    }

    .signup  .form .col-12{
        width: 90% !important;
        font-size: 20px;
    }

    .signup .form input{
        width: 500px;
        height: 40px;
        font-size: 25px;
        margin-top: 20px;
    }

    .signup .form select{
        width: 500px;
        height: 45px;
        font-size: 25px;
        margin-top: 20px;
    }

    .signup .form #text {
        width: 100%;
        height: 45px;

    }

    .signup .form div #text {
        width: 100%;
        height: 50px;
        margin-top: 20px;
        font-size: 30px;
    }

    .signup  .form .programming{
        width: 90% !important;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .form .programming select {
        width: 40%;
    }

    .signup  .form .terms{
        width: 90% !important;
        display: flex;
        flex-direction: column;
    }

    .signup .terms div {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
    }

    .signup .terms div input{
        margin: 100px;
    }

    .login .card {
        height: 40vh;
        width: 80vw;
    }

    .login form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .login form input {
        width: 80%;
        height: 10%;
        margin-top: 40px;
        font-size: 32px;
    }
    .login form button {
        width: 70%;
        margin-top: 40px;
        height: 150%;
    }

    .container a button {
        margin-top: 40px;
    }

}



.add-course {
    width: 30rem;
}
.add-course form {
    width: 100%; 
}
.add-course input,
.add-course select {
    width: 100%;
    margin-bottom: 1rem;
}
.add-course button {
    margin: auto;
}


.add-university {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.add-university .sub-section{
    display: flex;
    flex-direction: column;
    height: 30%;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.add-university input{
    width: 100%;
    height: 50%;
    margin-bottom: 1rem;
}



/* quill editor */



.ql-snow.ql-toolbar button:hover,
.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button:focus,
.ql-snow .ql-toolbar button:focus,
.ql-snow.ql-toolbar button.ql-active,
.ql-snow .ql-toolbar button.ql-active,
.ql-snow.ql-toolbar .ql-picker-label:hover,
.ql-snow .ql-toolbar .ql-picker-label:hover,
.ql-snow.ql-toolbar .ql-picker-label.ql-active,
.ql-snow .ql-toolbar .ql-picker-label.ql-active,
.ql-snow.ql-toolbar .ql-picker-item:hover,
.ql-snow .ql-toolbar .ql-picker-item:hover,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected {
  color: var(--primary) !important;
  transition: all 0.2s;
}
.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button:focus .ql-fill,
.ql-snow .ql-toolbar button:focus .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-fill,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,
.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {
  fill: var(--primary) !important;
  transition: all 0.2s;
}
.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button:focus .ql-stroke,
.ql-snow .ql-toolbar button:focus .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
.ql-snow.ql-toolbar button:hover .ql-stroke-miter,
.ql-snow .ql-toolbar button:hover .ql-stroke-miter,
.ql-snow.ql-toolbar button:focus .ql-stroke-miter,
.ql-snow .ql-toolbar button:focus .ql-stroke-miter,
.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,
.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {
  stroke: var(--primary) !important;
  transition: all 0.2s;
}

.ql-toolbar {
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Nunito' !important;
    transition: all 0.2s !important;
}
.ql-container {
    border: none !important;
    border-radius: 0 !important;
    transition: all 0.2s !important;
    font-family: 'Nunito' !important;
    font-size: 1rem !important;
    position: static;
}
.ql-editor {
    cursor: text !important;
}
.ql-snow .ql-tooltip,
.rs-tooltip-container {
    background: #ffffff;
    border: 0 none !important;
    margin-bottom: 2rem;
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12) !important;
    border-radius: 4px;
    padding: 0.8rem !important;
    white-space: nowrap !important;
    position: absolute !important;
}
.ql-tooltip::before {
    content: 'URL' !important;
}
.ql-action {
    text-decoration: none !important;
    color: #2196F3 !important;
    background: #ffffff;
    transition: all 0.4s;
    padding: 0.3rem 0.5rem !important;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 1rem;
    width: 2rem !important;
}
.ql-action:hover {
    background: rgb(39,152,243,0.15);
}
.ql-action:active {
    background: rgb(39,152,243,0.3);
}
.ql-action::after {
    margin: 0 !important;
}
.rs-tooltip-label {
    margin-right: 8px;
}
.rs-tooltip-input,
.ql-snow .ql-tooltip input {
    padding: 0.3rem 0.6rem !important;
    width: 220px !important;
    font-size: 1rem !important;
    height: auto !important;
}
.ql-snow .ql-tooltip input:hover {
    border-color: var(--primary) !important;
}
.rs-tooltip-container .link {
    margin-left: 0.5rem;
    color: var(--primary);
}
.ql-snow .ql-stroke {
    stroke: #999999 !important;
}
.ql-snow .ql-fill, .ql-snow .ql-stroke.ql-fill {
    fill: #999999 !important;
}

::-webkit-scrollbar{
    width: 6px;
    height: 6px;
    }
    ::-webkit-scrollbar-thumb{
    background: #919191;
    border-radius: 3px;
    margin-right: 3px;
    }
    ::-webkit-scrollbar-thumb:hover{
    background: #A6A6A6;
    }
    ::-webkit-scrollbar-track{
    background: rgba(0,0,0,0);
    box-shadow: inset 0px 0px 0px 0px #F0F0F0;
    }

.link-to-forms {
    color: white; 
    text-decoration: none; 
    font-size: 0.8rem; 
    width: 100%; 
    height: 30px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer;
    background-color: #1B71D6;

}

.card.chapterLinks a {
    color: #007bff; 
    text-decoration: underline; 
    font-weight: 600; 
    transition: color 0.3s ease, text-decoration 0.3s ease; 
}

.card.chapterLinks a:hover {
    color: #0056b3; 
    text-decoration: none; 
}

.card.chapterLinks h4 {
    margin: 0.5em 0; 
}

#filter-dropdown {
    background-color: rgb(85, 85, 85); /* Fundo cinza levemente mais claro */
    color: #fff; /* Texto branco */
    border: 1px solid #444; /* Borda */
    padding: 8px; /* Espaçamento interno */
    border-radius: 4px; /* Cantos arredondados */
    appearance: none; /* Remove o estilo padrão do select */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="%23fff"><path d="M7 10l5 5 5-5z"/></svg>'); /* Seta para o dropdown */
    background-repeat: no-repeat; /* Não repetir a imagem */
    background-position: right 15px center; /* Posição da seta */
    background-size: 12px; /* Tamanho da seta */
    width: 150px; /* Largura ajustada para o filter-dropdown */
}

#filter-classes {
    background-color: rgb(85, 85, 85); /* Fundo cinza levemente mais claro */
    color: #fff; /* Texto branco */
    border: 1px solid #444; /* Borda */
    padding: 8px; /* Espaçamento interno */
    border-radius: 4px; /* Cantos arredondados */
    appearance: none; /* Remove o estilo padrão do select */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="%23fff"><path d="M7 10l5 5 5-5z"/></svg>'); /* Seta para o dropdown */
    background-repeat: no-repeat; /* Não repetir a imagem */
    background-position: right 15px center; /* Posição da seta */
    background-size: 12px; /* Tamanho da seta */
    width: 200px; /* Largura ajustada para o filter-classes */
    white-space: nowrap; /* Impede a quebra de linha */
    overflow: hidden; /* Esconde o texto que excede */
    text-overflow: ellipsis; /* Adiciona reticências ao final */
}

/* Efeito ao passar o mouse sobre os selects */
#filter-dropdown:hover, #filter-classes:hover {
    background-color: rgb(100, 100, 100); /* Um pouco mais claro ao passar o mouse */
}
