:root {
    --primary-color: #495380;
    --secondary-color: #67708A;
    --danger-color: #FF4400;
    --light-color: #EBEEFF;
    --dark-color: #0E111F;
    --shadow-color: #F5F5F5;
    --call-color: #25D366;
}

@font-face {
    font-family: 'MonalyseFont';
    src: url('../fonts/OpenSans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

* {font-family: 'MonalyseFont';}

/* Temporary disabled as it is too slow on Edge */
/*html{scroll-behavior: smooth;}*/

body{background-color:#66708B;margin:0px}
main{margin: 0.7em;}

#topbar {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 3em;
    z-index: 1;
    background-color: var(--primary-color);
    display:flex;
}

#logo-container {
    margin-left: 0.5em;
    flex: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.topbar-inverted #logo-container {
    margin-right: 0.5em;
    flex: 0;
}

#logo-container > img {
    max-height: 80%;
    margin: 0.2em;
}

#tools-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}

.topbar-inverted #tools-container {
    margin-left: 0.5em;
    flex: 1;
    justify-content: start;
}

#tools-container i {
    color: #fff;
    font-size: 1.5em;
    margin-right: 0.4em;
}

#tools-container > i:last-child {
    margin-right: 0.2em;
}

label {
    color: var(--secondary-color);
    margin-bottom: 0px;
}

.btn-primary{background-color:var(--primary-color)!important;border-color:var(--primary-color)!important;color:#fff}
.btn-primary:hover{background-color:var(--primary-color)!important;}
.label-select {
    font-size: 0.75em !important;
    font-weight: bold;
    color: #464444 !important;
}

.nav-link {
    display: block;
    padding: .3rem .5rem;
}

.md-pills .nav-link.active {
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.pills-rounded .nav-item .nav-link {
    border-radius: 10em;
}

.pills-outline-red .nav-item .nav-link {
    border: 2px solid #fff;
    color: #666;
    background-color: transparent;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: rgba(235, 238, 255, 0.93);
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    font-weight: 400;
    border-radius: .3rem;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}

.card>hr {
    margin-right: 0;
    margin-left: 0
}

.card>.list-group:first-child .list-group-item:first-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem
}

.card>.list-group:last-child .list-group-item:last-child {
    border-bottom-right-radius: .25rem;
    border-bottom-left-radius: .25rem
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem
}

.card-title {
    margin-bottom: .75rem
}

.card-subtitle {
    margin-top: -.375rem;
    margin-bottom: 0
}

.card-text:last-child {
    margin-bottom: 0
}

.card-link:hover {
    text-decoration: none
}

.card-link+.card-link {
    margin-left: 1.25rem
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125)
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
}

.card-header+.list-group .list-group-item:first-child {
    border-top: 0
}

.card-footer {
    padding: .75rem 1.25rem;
    background-color: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.125)
}

.card-footer:last-child {
    border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px)
}

.card-header-tabs {
    margin-right: -.625rem;
    margin-bottom: -.75rem;
    margin-left: -.625rem;
    border-bottom: 0
}

.card-header-pills {
    margin-right: -.625rem;
    margin-left: -.625rem
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem
}

.card-img {
    width: 100%;
    border-radius: calc(.25rem - 1px)
}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px)
}

.card-img-bottom {
    width: 100%;
    border-bottom-right-radius: calc(.25rem - 1px);
    border-bottom-left-radius: calc(.25rem - 1px)
}

.card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column
}

.card-deck .card {
    margin-bottom: 15px
}

.card-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column
}

.card-group .card {
    margin-bottom: 15px
}

.card .card-text {
    font-size: 0.9rem;
    color: #747373;
    font-weight: 400;
}

.badge-primary {background:var(--primary-color);border-color:var(--primary-color);}
.badge-dark {background:var(--dark-color);border-color:var(--dark-color);}
.btn-dark {background:var(--dark-color);border-color:var(--dark-color);}

#filters-container {
    position: fixed;
    padding: 1rem;
    z-index: 2;
    margin-bottom: 1em;
    -webkit-box-shadow: 2px 8px 15px -10px #000000;
    box-shadow: 2px 8px 15px -10px #000000;
    width: 100%;
    left: 0px;
    top: 7.5em;
    padding-bottom: 1em;
    border-radius: 10px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(245,245,245,1) 100%);
}
#topics-filter-container {margin-bottom: 1em;}
#articles-list-actions-container {
    position: fixed;
    top: 3em;
    z-index: 1;
    width: 100%;
    background: #fff;
    left: 0px;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
}
#spinner-articles {margin:1em 0em;text-align:center}
#floating-actions {
    position: fixed;
    bottom: 1em;
    z-index: 1;
    right: 1em;
}
#pagination-info {padding: .375rem .75rem;border: 1px solid transparent;}
.card-article {border-radius: 0px;box-shadow: none;border: 0px;margin-bottom:0.5em;}
.card-article .card-title i {margin-right:0.4em;}
.card-article .card-body{padding:1rem;}
.card-article .card-text{margin-bottom: 0px;}
.card-article .subtitle{font-size:0.6em}
.card-article .date-publication{margin-left:0.2em;}
.card-article .actions {float:right}
.card-article .actions .btn {border:0px;border-radius:3px;padding-left:1em;padding-right:1em;text-transform: uppercase;}
.card-article .actions .btn > i {margin-left:0.4em}
.card-article .actions .btn:last-child{margin-right:0px;}
.articles-container {
    margin-top: 7em;
    padding-top: 1em;
}

.select-dropdown span > label {
    top: 2px;
    color: #4285f4;
    font-size: .9rem;
    transform: none;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: container-rotate .75s linear infinite;
    animation: container-rotate .75s linear infinite;
}

.nav-tabs {display:flex;}
.nav-tabs li {flex: 1;text-align: center;}
.nav-tabs a.nav-link {
    color: var(--dark-color);
    padding: .6rem 1rem;
}
.nav-tabs a.nav-link.active,
.nav-tabs a.nav-link:hover
{
    background: var(--dark-color);
    color: #fff;
    border-color: transparent;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}

.nav-tabs li:first-child a.nav-link.active,
.nav-tabs li:first-child a.nav-link:hover {
    border-bottom-left-radius: 0em !important;
}

.nav-tabs li:last-child a.nav-link.active,
.nav-tabs li:last-child a.nav-link:hover {
    border-bottom-right-radius: 0em !important;
}

.switch label input[type=checkbox]:checked+.lever {
    background-color: var(--secondary-color);
}

.switch label input[type=checkbox]:checked+.lever:after {
    background-color: var(--primary-color);
}

.switch label input[type=checkbox]:checked:not(:disabled)~.lever:active:after {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.switch label input[type=checkbox]:not(:disabled)~.lever:active:after {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.picker__date-display {background:var(--primary-color)}