@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monserat:wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body {
    background-color: #ffffff;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

header.dark {
    background-color: #2895bb;
    color: white;
    padding: 15px 20px;
    font-family: 'Montserrat', sans-serif;
}
.dark a,
.dark a:visited {
    color:white;
    text-decoration: none;
}
.navbar-light a,
.navbar-light a:visited,
.module-subnav a,
.module-subnav a:visited {
    color: #432705 !important;
    text-decoration: none;
    font-weight: 400;
}
.navbar-light a.active,
.module-subnav a.active,
.navbar-light a:hover,
.module-subnav a:hover {
    color: #000000 !important;
}
h1,h2,h3,h4,h5 {
    font-family: 'Montserrat', sans-serif;
    color: rgb(36, 137, 173);
    font-weight: 700 !important;
}
header h1,
header h1 a,
header h1 a:active,
header h1 a:visited,
header h1 a:hover {
    color: white !important;
    font-weight: 700 !important;
    margin: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3em;
}

h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
}

.container {
    background-color: white;
    padding: 20px;
}
header .container {
    background-color: transparent;
    padding: 0 20px;
    position: relative;
}

.account-badge {
    position: absolute;
    top: 5px;
    right: 20px;
    text-align: right;
    z-index: 5000;
    background-color: #2895bb;
    padding: 10px 15px;
    border-radius: 8px;
    border: thin solid white;
}
.account-badge .profile {
    clear: both;
}
.account-badge .profile .username {
    float: right;
    padding-right: 15px;
    padding-top: 5px;
    font-size: 14px;
}
.account-badge .profile .pic {
    float: right;
    width: 30px;
    height: 30px;
    background-position: center;
    background-size: contain;
    border-radius: 20px;
}
.account-nav {
    list-style: none;
    clear: both;
    display: none;
    padding: 10px 0 0;
    width: 150px;
    border-top: thin dotted;
    margin-top: 40px;
}
.account-nav li {
    padding-left: 10px;
    text-align: right;
    margin: 0;
    padding: 5px 2px;
}
.account-nav li:hover {
    background-color: #2b9fc7;
}

.account-nav li a {
    width: 100%;
    display: block;
}

.module-subnav {
    background-color: #e8e8e8;
    padding: 0;
    margin: -20px -20px 20px;
}

.module-subnav li {
    display: inline-block;
    width: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.module-subnav li a {
    display: block;
    padding: 10px 20px;
    margin: 0;
}

.no-highlight-on-hover:hover {
    background-color: transparent !important;
}


footer {
    padding: 20px;
}

.internal-nav,
.internal-nav ul {
    padding: 0;
    list-style: none;
    margin: 20px 0 !important;
}

.internal-nav ul {
    margin: 0 0 0 10px !important;
}

.internal-nav li {
    padding: 5px;
    margin: 0;
    border-bottom: thin dotted #cccccc;
}
.internal-nav li:last-child {
    border: none;
}

.internal-nav li:hover {
    background-color: #e9e9e9;
}

.internal-nav li.subnav:hover {
    background-color: #fff;
}

.account-nav li a {
    color: #ffffff;
}

div.row.es-list {
    padding-top: 20px;

    border-top: thin solid #f3f3f3;
}

div.row.es-list:hover {
    background-color: #f3f3f3;
}

.es-header {
    background-color: #e0e0e0;
}

.es-header a {
    border-right: thin solid white;
    color: #0a6ebd;
    padding: 5px 15px;
    font-weight: 700;
}

.es-header div {
    color: #0a6ebd;
    padding: 5px 15px;
    font-weight: normal;
}

.container.navbar {
    padding: 10px;
}

nav li {
    list-style: none;
    font-size: 1.2em;
}

nav ul {
    padding-inline-start: 5px;
    margin: 5px !important;
}

.navbar ul>li.nav-item {
    border-right: thin solid #efefef;
}

.navbar ul>li:last-child {
    border-right: none;
}

.label-info {
    font-style: italic;
    margin-top: 5px;
    display: block;
}

.no-padding {
    padding: 0px;
}

.profile h1.name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300 !important;
    font-size: 3em !important;
    margin-bottom: 0px;
    margin-top: -5px;
}
.profile .title {
    font-size: 1.4em;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2895bb;
    font-variant: titling-caps;
}
.profile h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300 !important;
    font-size: 2em !important;
}

.cardish {
    padding-bottom: 40px;
    box-shadow: 0 0 3px 0px #d4d4d4;
    border: 0px;
    border-radius: 15px;
    overflow: hidden;
    min-height: 320px;
    position: relative;
}

.cardish:hover {
    padding-bottom: 40px;
    box-shadow: 0 0 6px 2px #c6c6c6;
}

.cardish:hover .card-body {
    transition-property: top;
    transition-duration: .3s;
    transition-timing-function: linear;
    transition-delay: .1s;
    top: 40px;
}


.card-body {

    border-radius: 20px 20px 0 0;
    background-color: white;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 210px;
    right: 0;
    left: 0;
    bottom: 0;
    transition-property: top;
    transition-duration: .5s;
    transition-delay: .1s;
    transition-timing-function: linear;
    padding: 5px;
    text-align: center;
}

.card-body a {
    color: #2895bb !important;
}

.cardish .btn-primary {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 0 !important;
    padding: 20px !important;
    background-color: #676767 !important;
    border: 0;
}

.btn-primary, a.btn-primary {
     color: #fff !important;
     background: none !important;
     background-color: #2895bb !important;
     border-color: #2895bb !important;
     text-shadow: none;
     cursor: pointer;
 }

.btn-warning {
    color: #000;
    background-color: #ffe69a;
    border-color: #ffe69a;
}

.btn-warning:hover {
    background-color: #ffcd2e;
    border-color: #ffcd2e;
}

.btn-danger {
    color: #000;
    background-color: #d17a33;
    border-color: #d17a33;
}

.btn-danger:hover {
    background-color: #D14533FF;
    border-color: #D14533FF;
    color:white !important;
}

/* forms */

label {
    margin: 20px 0 10px;
}

.single-checkbox {
    padding: 10px 15px;
    border: thin solid #e0e0e0;
    margin: 20px 0 10px;
}
.single-checkbox label {
    margin: 0 !important;
}

body.minimal  {
    background-color: white !important;
    font-size: .8em;
}

body.minimal  > .container {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
}

body.minimal  > header {
    font-size: .75em !important;
    padding: 5px !important;
}

body.minimal  > .site_message {
    font-size: 1em !important;
    padding: 5px !important;
}

footer {
    border-top: thin dotted #cccccc;
}

@media (max-width: 992px) {
    .container, .container-md, .container-sm {
        max-width: 100vw;
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 85%;
    }
}