@import url('https://fonts.googleapis.com/css2?family=Macondo+Swash+Caps&display=swap');

body {
    background-color: rgba(241, 246, 248, 0.404);
    color: #3b4042;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    margin: 0;
    overflow-x: hidden;
}

.bg-white {
    background-color: #fff !important;
}

.bg-transp {
    background-color: transparent !important;
}

.arcoa {
    font-family: 'Macondo Swash Caps', cursive;
}

.mg-top {
    margin-top: 5%;
}

.padding-10 {
    padding: 10px;
}

main {
    margin: 0% 0% 4% 25%;
    width: 80%;
    overflow-x: hidden;
}

main .content {
    margin: 20vh 0 4% 0% !important;
}

main::after {
    display: block;
}

footer {
    border-top: solid 1px #d8e1e7;
    line-height: 30px;
    max-height: 40px;
    text-align: center; 
    padding: 1rem;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-footer .footer-container {
    padding-left: 220px;
}

/* @media screen and (min-width: 1024px) {

    .login-footer {
        margin-top: 22vh;
    }
} */

/* @media screen and (max-width: 1490px) {
    .home-footer {
        margin-top: 45vh;
    }   

    .login-footer {
        margin-top: 12vh;
    }
} */

.footer-no-brd {
    border-right: none !important;
}

footer div {
    display: inline-block;
    padding: 0.4rem 0.6rem;
    border-right:rgb(146, 153, 172) solid;
}

.footer-logos {
    display: block !important;
}

.content-area {
    width: 95%; 
    margin: 10px auto;
}

a {
    text-decoration: none;
    color: #2162a0;
}

.weight-700 {
    font-weight: 700 !important;
}

.medium-text {
    font-size: 1.1em;
    font-weight: 500;
}

.capital {
    text-transform: capitalize;
    padding: 10px 0;
    margin-top: 2%;
}

.hide {
    display: none !important;
}

.full-height {
    height: 100vh;
}

h1, h2 {
    margin: 3% 0 2% 0;
}

h3 {
    padding-top: 15px;
}

h1 > a {
    text-decoration: none;
    color: #636b6f;
    font-weight: 600;
    font-size: 1.2em
}

header {
    padding: 1%;
    text-align: center;
    width: 50%;
    margin: 0% 38% 5% 32%;
}

.position-ref {
    position: relative;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.content {
    text-align: center;
}

.text-center {
    text-align: center !important;
}

.title {
    font-size: 3rem;
    margin-left: 3%; 
    font-weight: normal;
    margin-bottom: 0;
}

.sidebar {
    bottom: 0;
    top: 0;
    position: fixed;
    background-color: #4287c7;
    width: 240px;
    padding: 2%;
    z-index: 1;
    overflow-y: scroll;
}

.first-nav-item {
    margin-top: 0 !important;
}

.paginate {
    bottom: 3rem;
    width: 80vw;
    margin: 1rem auto
}

.paginate-info {
    margin-left: 10vw;
}

.pagination {
    text-align: center;
    display: block;
    margin-left: 5vw;
}

.page-item {
    display: inline-flex;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.disabled .page-link {
    color: rgb(201, 194, 194);
}

.found {
    font-weight: 600 !important; 
    margin: 3% 0% 2% 2%
}

.h-login {
    font-size: 3.5rem;
    font-weight: 500;
}

.login {
    width: 20vw; 
    padding: 2em 2em;
    margin: 10vh auto; 
    border-radius: 8px;
    font-weight: 600;
    color: #404547;
    box-shadow: 2px 6px 6px 4px rgb(179, 185, 202);
    position: relative;
    background-color: #fff;
}

.login input {
    border: none;
    border-bottom: 1px #34657e solid;
    border-radius: 0;
    width: 90%; 
    padding: 12px 20px; 
    margin: 8px 0 15px 0;
    display: inline-block;
}

.login input:focus {
    border-radius: 5px;
    box-shadow: #d8e1e7 2px 2px;
    border-color: #5b79b1;
}
#eye {
    cursor: pointer;
    position: absolute;
    right: 50px;
    top: 170px;
}
#enter {
    width: 100%;
}
#menu {
    padding: 10px;
    color: #fff;
    background-color: #4287c7;
    width: 30px;
    cursor: pointer;
}
/**
* Large to medium screens
*/
@media screen and (min-width: 1220px) {
    .lm-hide {
    	display: none; 
    }
} 
/**
* Medium to small screens
*/
@media screen and (max-width: 1220px) {
    .home-footer {
        margin-left: 0;
        width: 100%;
    }  
    .login-footer {
        width: 100%;
    }
    .s-hide {
    	display: none; 
    }
    main {
        margin: 0% 0% 4% 10%;
        width: 100% !important;
    }
    .login {
        width: 40vw;
    }
    .navover {
        background-color: rgba(66,135,199,0.98);
        z-index: 2;
        height: 100%;
        width: 250px;
        position: fixed;
        top: 0;
        left: 0;
        overflow-x: hidden;
        padding-top: 60px;
    }
    .navover .close-btn {
        position: absolute;
        top: 2px;
        right: 25px;
        margin-left: 50px;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
      }
} 

@media screen and (max-width: 800px) {

    .login {
        width: 90vw;
        background-color: transparent !important;
    }
} 

.sidebar > a {
    color: #f3fafa;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-transform: uppercase;
    display: block;
    float: none;
    text-align: left;
    width: 100%;
    margin: 1.5vw 0 1vw 0;
}

.entities {
    color: #eee !important; 
    padding: 5px 0px 3px 3px !important; 
    font-weight: 600;
}

.actions {
    padding-top: 10px;
}

.actions a {
    display: inline-block; 
    margin-left: 10px; 
    text-decoration: none; 
    color: #eee !important; 
    padding: 8px;
    font-size: 0.8em;
}

.dropdown {
    position: absolute;
    top: 0;
    right: 1.3em;
    vertical-align: middle;
    margin-top: 2% !important;
    background-color: transparent;
    scroll-behavior: auto;
}

#account {
    text-transform: none;
    font-size: 0.9rem;
}

.drop-content {
    position: relative;
    margin-top: 0.2em;
    text-align: right;
    padding: 15px 20px;
    border: 1px solid rgb(146, 153, 172); 
    background-color: #fff;
    z-index: 99;   
}

.drop-content > a {
    border-bottom: 1px solid lightgrey;
    text-align: left;
    padding: 10px !important;
}

#logout {
    border-bottom: none;
}

.list-links > a {
    color: #636b6f;
    padding: 7px 25px 0px 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
    margin: 0;
    display: block;
}

.list-links {
    margin-top: 3%;
}

.records-index {
    color: #636b6f;
    padding: 7px 25px 0px 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-transform: uppercase;
    margin: 0;
    vertical-align: top;
}

.records-index a {
    color: #636b6f;
    text-decoration: none;
}

.page-centered {
    width: 60%; 
    margin: 4vh 0 5vh 4vh;
}

.boxes-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15vh;
    font-weight: 700;
    font-size: 1.2rem;
}

.boxes-container a {
    text-decoration: none;
    color: inherit;
}

.home-box {
    max-width: 50%;
    box-shadow: 2px 6px 6px 4px rgba(179, 185, 202, 0.45);
    border-radius: 1rem;
    padding: 30px 50px;
    margin: 30px;
}

.home-box img {
    display: block;
    padding-top: 10px;
}

.vocabs {
    /*width: 30vw;*/
    line-height: 35px;
}

.vocabs > a:hover {
    background-color: rgba(221, 229, 241, 0.493);
}

.vocabs > a {
    vertical-align: middle;
    /*border-bottom: 1px solid rgba(42, 46, 53, 0.664);*/
}

.index-bg {
    background-color: rgba(221, 229, 241, 0.493);
}

.list-links > ul {
    padding-inline-start: 10px; 
    list-style-type: none;
}

.m-b-md {
    margin-bottom: 30px;
}

.mg-top-5 {
    margin-top: 5%;
}

.search-p {
    width: 60vw;
}

.logos {
    padding: 40px;   
}

.logos img {
    width: 100%;
    height: auto;
}

/**** Modals ****/
.modal {
    max-width: 300px;
    max-height: 400px;
    padding: 1rem;
    position: absolute;
    top: 50;
    z-index: 99;
    border: 2px solid black;
    background-color: #fff;
    cursor: move;
}

#size-error {
    background-color:  #f12a34;
    color: #fff;
    border: none;
    padding: 1rem;
    text-align: center;
}

.modal h1 {
    font-size: 1.5rem;   
}

.help {
    font-weight: 400;
    cursor: pointer;
}

.close-mod {
    position: absolute; 
    top: 0.8rem; 
    right: 1rem;
    cursor: pointer;
}

/**** Forms ****/
.flex-center {
    align-items: center;
    display: flex;
    /*justify-content: center;*/
}

.form-container {
    margin: 2% 40% 2% 0;
    width: 70%;
    padding: 0em 2em 2em 2em;
    border-radius: 8px;
    background-color: rgba(231, 236, 241, 0.842);
    font-weight: 600;
    color: #404547;
}

.filter-container {
    margin: 0% 25% 3% 0%;
    width: 80%;
    padding: 2em;
    font-weight: 600;
    color: #404547;
    font-size: 0.85em;
    border-radius: none; 
    border-bottom: 2px solid #2162a0;
}

.filter-container h2 {
    margin-top: 5px !important;
}

.filter-block {
    width: 42%; 
    display: inline-block;
    vertical-align: top;
}

.filter-block-2 {
    margin-left: 11%;
    vertical-align: top;
}

.src-imm {
    width: 70%; 
    margin: 0 auto !important; 
    border-bottom: none !important;
}

/* #resForm {
    background-color: #fff !important;
} */

.form-row {
    display: flex;
    justify-content: flex-end;
    padding: .5em;
}

.choose-action {
    display: flex;
    justify-content: left;
    padding: .5em;
}

.choose-action a {
    text-align: center;
    width: 15%;
}

.choose-action button {
    width: 15%;
}

.form-container .form-row {
    color: #404547;
}

.form-row > label {
    padding: .5em 1em .5em 0;
    flex: 2;
    font-weight: 600;
}

.form-row > input {
    flex: 3;
}

.form-row > input,
.form-row > button {
    padding: .5em;
}

.form-row > span {
    text-align: center;
    flex: 3;
}

.form-row span > img {
    max-width: 100%;
}

input[type="text"]:disabled, textarea:disabled  {
    background-color: #fff;
    border: none;
    border-radius: 0;
    border-bottom: solid 2px #2162a0;
    color: #333;
}

textarea:disabled {
    resize: none;
    height: fit-content;
}

.rel-show {
    cursor: pointer;
    padding: 5px;
}

/**** Tabular data ****/

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 80%;
    overflow-x: scroll;
}

td {
    padding: 10px
}

.bordered tr {
    border-bottom: 1px solid #3c6d85;
}

.view-tab {
    margin-top: 2%;
    width: 100%;
}

.view-tab td {
    font-weight: 400;
    vertical-align: top;
}

.view-tab-td {
    width: 70%;
    padding-left: 20px;
}

.inserted {
    margin: 0% 0 0 14%;
}

.inserted table {
    margin-top: 30%;
    min-width: 200px;
    width: 100%;
}

td input[type="checkbox"] {
    width: inherit !important;
}
/*
* Horizontal scroll
* for search results table 
* (doesn't work...)
*/
#results {
    overflow-x: scroll !important;
    text-align: center;
}

.results {
    margin-top: 5%;
    width: 100%;
}

.results td {
    border: none;
    font-weight: 600;
    /*background-color: rgb(233, 239, 247);*/
    padding: 20px;
    text-align: center;
}

.results th {
    text-align: center;
    padding: 25px;
}

.sort-results {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    width: 80%;
}

#sort-by {
    margin: 2.5% 0 2% 0;
    min-width: 45%;
    padding: 0;
    display: inline-flex;
    justify-content: space-evenly;
}

#sort-by label {
    flex: 1;
    font-weight: 600;
    margin: inherit;
}

#sort-by select {
    width: 65%;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: #2162a0 1px solid;
    background: transparent;
    border-radius: 0;
}

.mod-rels {
    width: 95%;
    text-align: center;
}

.rels-bordered {
    border: 1px solid lightblue;
}

.rels-bordered td {
    width: 16% !important;
}

.mod-rels tr {
    border-bottom: 1px solid lightblue;
}

.mod-rels th {
    padding: 10px;
}

.mod-rels tr {
    background-color: rgb(255, 255, 255);
}

.mod-rels td {
    /*color: #636b6f;*/
    padding: 10px;
    font-weight: 500;
    width: 20%;
}

.mod-rels td:first-child {
    width: 10%;
} 

.mod-rels td:last-child {
    width: 30%;
}

.mod-rels td > a{
    font-weight: 700;
}

/**** Form elements and inputs ****/

select, input, textarea {
    width: 60%;
    padding: 5px;
    border-radius: 4px;
    border: lightblue solid 2px;
    position: relative;
    font-weight: 600;
    font-size: 0.9em;
    font-family: inherit;
}

textarea {
    width: 58.5%;
}

select {
    appearance: none;
    background: url("../img/down-arrow.png") 97% / 3% no-repeat #fff;
}

select:required:valid {
    border: lightblue solid 2px;
}

input:required:valid {
    border: lightblue solid 2px;
}

input[type="number"] {
    appearance: none;
}

input:required:invalid {
    border: red solid 2px;
}

select:required, input:required {
    border: red solid 2px;
}

textarea:required:invalid {
    border: red solid 2px;
}

textarea:required:valid {
    border: lightblue solid 2px;
}

select:focus, input:focus, textarea:focus  {
    border: rgb(0,0,139) solid 2px;
}

textarea {
    padding: 5px;
}

button:disabled {
    cursor: not-allowed;
}

.list-form {
    width: 250px
}

.submit {
    width: 250px;
    padding: 10px;
    border: none;
    position: relative;
    font-weight: 400;
    font-size: 1.1em;
    font-family: inherit;
    background-color: #2162a0;
    color: #fff;
    cursor: pointer;
}

.rel-btn {
    width: 20%;
    padding: 12px;
    margin: 20px;
    border: none;
    position: relative;
    font-weight: 400;
    font-size: 1.1em;
    font-family: inherit;
    background-color: #2162a0;
    color: #fff;
    cursor: pointer;
}

#rel-div {
    width: 95%;
    margin: 0 auto;
}

.search-rel-btn {
    width: 200px; 
    margin-right: 80px;
}

.edit-btn {
    padding: 6px;
    border: 1px solid transparent;
    border-radius: 5px;
    position: relative;
    font-weight: 400;
    font-family: inherit;
    font-size: 0.95em;
    background-color: #2162a0;
    color: #fff;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.del-btn {
    background-color: #db4213;
}

.sort-btn {
    background-color: transparent;
    margin-left: 10px;
    color: #2162a0; 
}

.view-btn, button:disabled {
    background-color: #73828d;
}

.ok-btn {
    background-color: #5bb378;
}

.td-del {
    min-width: 36px;
}

select > option {
    font-weight: 500;
}

/**** Status and info messages ****/

.alert {
    font-weight: 500;
    background-color: rgb(255, 227, 219);
    padding: 13px;
    margin: 1%;
    width: 40%;
    border-left: solid 7px rgb(235, 25, 18);
}

.alert a {
    color: rgb(54, 86, 228);
    text-decoration: underline;
}

.success {
    background-color: rgb(151, 245, 221);
    position: absolute;
    top: 1rem;
    left: 320px;
    padding: 13px;
    margin: 1%;
    width: 25%;
    text-align: center;
    border-left: solid 7px rgb(18, 94, 77);
}

.last-mod {
    font-weight: 500;
    background-color: rgb(255, 252, 209);
    padding: 13px;
    margin: 1%;
    width: 30%;
    border-left: solid 7px rgb(235, 166, 18);
}

.last-mod > span {
    font-weight: 600;
}

/**** Text colors ****/

.text-blue {
    color: rgb(11, 11, 150);
}

.text-red {
    color: rgb(235, 38, 71);
}

/**** Tabs ****/

.tab {
    overflow: hidden;
    border-bottom: 1px solid rgb(146, 153, 172);
    margin: 0;
  }
  
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
  }
  
  .tab button:hover {
    background-color: rgb(229, 233, 235);
  }
  
  .tab button.active {
    background-color: #2162a0;
    color: #fff;
    border-radius: 4px;
  }

/**** Alertify ****/
.del-alert {
    color:#ffd966;
}

.alert-title {
    display: inline-block; 
    vertical-align: top; 
    line-height: 35px; 
    padding: 10px 0;
    font-weight: 600;
}

/**** Virtual Keyboard ****/
.v-keyboard {
    cursor: pointer;
} 

.k-hlgt {
    box-shadow: rgb(104, 189, 149) 2px 2px 3px;
    border-color: rgb(104, 189, 149) !important;
}