body {
    box-sizing: border-box;
}

/* login form */

.login-page {
    background: url(../images/bg.png);
    height: 1000px;
    padding: 150px 0;
}

.logo {
    background-color: #fff;
}

.logo img {
    width: 200px;
    padding-top: 10px;
}

.login-template {
    width: 350px;
    margin: auto;
    padding: 40px;
    background-color: #fff;
    box-shadow: 2px 2px 5px 0px #ccc;
    border: 1px solid #ccc;
}

.login-img {
    margin-bottom: 20px;
    text-align: center;
}

.login-img i {
    padding: 30px;
    border: 2px solid #bbb;
    border-radius: 50%;
    color: #555;
}

.login-txt {
    margin-bottom: 30px;
    font-size: 15px;
}

.login-form input {
    width: 100%;
    height: 40px;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 5px;
    margin-bottom: 15px;
}

input::-webkit-input-placeholder {
    font-size: 13px;
}

.checkbox-inline {
    position: relative;
    padding-left: 0;
    padding-right: 28px;
}

.checkbox-inline label {
    margin-bottom: 6px;
    font-weight: 400;
}

.checkbox-inline .checker {
    position: absolute;
    top: 1px;
    right: 0;
}

.login-form label {
    display: block;
    text-align: right;
    margin: 10px 0 3px 0;
}

.checker span {
    color: #455A64;
    border: 2px solid #607D8B;
    display: inline-block;
    text-align: center;
    position: relative;
    width: 18px;
    height: 18px;
}

.checkbox-inline input[type="checkbox"] {
    margin-right: 0;
    right: 0;
}

.checker input[type=checkbox]{
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.forget-pass {
    padding-top: 10px;
    font-size: 14px;
}

.forget-pass a {
    color: #666;
}

.submit-btn {
    text-align: center;
    margin-top: 25px;
}

.submit-btn .login-btn {
    background-color: #558B2F;
    border: 1px solid #558B2F;
    border-radius: 4px;
    color: #fff;
    padding: 8px 80px;
    margin-bottom: 15px;
    font-size: 16px;
    cursor: pointer;
}

.submit-btn .login-btn:hover {
    background-color: #EC5E50;
    border: 1px solid #EC5E50;
}

.submit-btn .reg-btn:hover {
    background-color: #3BA38D;
    border: 1px solid #3BA38D;
}

/* main page */

.main-page {
    min-height: 1500px;
    background-color: #e2e3e3;
    padding-top: 20px;
}

/* side menu */

.main-page .side-menu {
    background-color: #fff;
    padding: 20px;
    text-align: right;
    border: 1px solid #ccc;
}

.main-page .menu-item {
    margin-bottom: 20px;
}

.main-page .menu-item i {
    color: #828686;
}

.main-page .menu-item a {
    color: #222;
    font-size: 15px;
    font-weight: 700;
    margin-right: 10px;
}

/* users */

.main-page .users, .main-page .users-filter, .main-page .users-table {
    background-color: #fff;
    border: 1px solid #ccc;
}

.main-page .users .add-user {
    display: flex;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid #ccc;  
}

.main-page .btn-success {
    background-color: #437f28;
    border-color: #003664;
    padding: 0 0 0 6px;
}

.main-page .btn-success i {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 10px;
}

.main-page .users .user-info {
    text-align: center;
    padding: 30px 0;
}

.main-page .users .user-info p {
    margin-bottom: 0;
}

.main-page .users-filter {
    margin: 30px 0;
    padding: 20px;
}

.main-page .users-filter .user-filter select {
    padding: 4px 5px 9px 2px;
    border-color: #ccc;
    margin-right: 27px;
    margin-left: 20px;
}

.users-table h6 {
    padding: 18px;
    border-bottom: 1px solid #ccc;
}

.users-table .table-filter {
    display: flex;
    justify-content: space-between;
    padding: 30px 18px;
}

.users-table .table-filter .user-search input, .users-table .table-filter .user-filter select, .users-table .table-filter .table-btns .btn-default {
    border: 1px solid #ccc;
    border-radius: unset;
    padding: 5px;
}

.users-table .table-filter .user-search .fa-search {
    position: relative;
    left: 35px;
    color: #888;
}

.users-table .table th, .users-table .table td {
    text-align: right;
    font-size: 14px;
}

.users-table .table .user-data {
    display: flex;
    justify-content: right;
}

.users-table .table .user-data .user-info {
    padding-right: 10px;
    color: #444;
}

.users-table .table .user-data .fa-user {
    color: #444;
}

.users-table .table .user-data .user-info p {
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 700;
}

.users-table .table .user-data .user-info .user-email {
    color: #999;
}

.users-table .table td .active, .users-table .table td .suspended {
    color: #fff;
    padding: 3px;
    font-size: 11px;
}

.users-table .table td .active {
    background-color: #03A9F4;
    border-color: #03A9F4;
    
}

.users-table .table td .suspended {
    background-color: #5C6BC0;
    border-color: #5C6BC0;
}

.users-table .table .manage-user {
    position: relative;
}

.users-table .table .manage-user .fa-ellipsis-v, a {
    cursor: pointer;
}

/* dropdown edit user menu */ 
  
.dropdown-content {
    display: none;
    position: absolute;
    left: 62px;
    bottom: -60px;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content i {margin-right: 7px;}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}

/* .users-table .table .manage-user .dropdown-menu {
    top: 55%;
    left: 55px;
} */

.table-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 15px;
    border-top: 2px solid #ccc;
    font-size: 13px;
}

.pagination {
    display: inline-block;
}
  
  .pagination a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}
  
  .pagination a.active {
    background-color: #03A9F4;
    color: white;
}
  
  .pagination a:hover:not(.active) {background-color: #ddd;}

/* popup form */

/* The popup form - hidden by default */
.form-popup {
    display: none;
    position: fixed;
    bottom: 30%;
    right: 30%;
    direction: rtl;
    border: 3px solid #f1f1f1;
    z-index: 9;
}
  
  /* Add styles to the form container */
.form-container {
    width: 550px;
    padding: 10px;
    background-color: white;
    box-shadow: 5px 5px 5px 5px #ccc;
}
  
  /* Full-width input fields */
.form-container label{
    display: inline-block;
    font-size: 14px;
    text-align: right;
}

.form-container input[type=text], .form-container input[type=password], .form-container input[type=email], .form-container select, .form-container textarea{
    width: 75%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
    display: inline-block;
    text-align: left;
}

.form-container select {
    font-size: 13px;
}

input:-moz-placeholder {
    text-align: right;
}
input:-ms-input-placeholder {
    text-align: right;
}
input::-webkit-input-placeholder {
    text-align: right;
}
  
  /* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}
  
  /* Set a style for the submit/login button */
.form-container .btn {
    background-color: #4CAF50;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 49%;
    margin-bottom:10px;
    opacity: 0.8;
    display: inline-block;
}
  
  /* Add a red background color to the cancel button */
.form-container .cancel {
    background-color: red;
}
  
  /* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
    opacity: 1;
}

.countries-header {
    border-bottom: unset !important;
}

.main-page .add-entry {
    display: flex;
    justify-content: space-between;
}

/* syllabus */

#allSyllabus {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
}