@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 22px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}
body.logged_in { padding-top: 60px; }
body > .container {
    background: #FFFFFF;
    min-height: calc(100vh - 80px);
}
.footer {
    text-align: center;
}
.sidebar-nav {
    padding: 9px 0;
}

a.navbar-brand {
    padding: 5px 15px;
}
a.navbar-brand > img{
    height: 40px;
}
.navbar-default .navbar-nav > li > a {
    color: #000000 !important;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.active> a {
    background: #053955 !important;
    color: #FFFFFF !important;
}
.navbar-default .navbar-nav > li > a:hover {
    background: #5c7589;
    color: #FFFFFF !important;
}
.text-branded {
    color: #1b3557;
}
/* Titles */
h1 {
    font-size: 30px;
    margin-bottom: 30px;
}
h1.bordered {
    background-color: #FAFAFA;
    padding: 9px 15px;
    border-left: 5px solid #1b3557;
}
h1.bordered.red { border-left-color: #a11a1e; }
h1.page-title {
    color: #1b3557;
}

/* Forms */
fieldset {
    background-color: #FAFAFA;
    margin-bottom: 21px;
    border: 1px solid #F0F0F0;
    border-radius: 10px;
    moz-border-radius: 10px;
    webkit-border-radius: 10px;
}
legend {
    background-color: #1b3557;
    color: #FFF;
    padding: 5px 0 5px 20px;
    border-radius: 10px 10px 0 0;
    moz-border-radius: 10px 10px 0 0;
    webkit-border-radius: 10px 10px 0 0;
}
fieldset .form-group {
}
label.required:after {
  color: red;
  content: "*";
}
label.one-required:after {
  color: red;
  content: "**";
}

/* Dashboard */
.dashboard-widget {
    border: 1px solid #dbdbdb;
    background: #FAFAFA;
    margin: 10px 0;
}
.dashboard-widget-title {
    padding: 20px;
    background: #1b3557;
    color: #FFFFFF;
}
.dashboard-widget-title h4 {
    margin: 0;
}
.dashboard-widget-content {
    padding: 20px;
}

/* keyword */
#exampleModal form .modal-body textarea {
    width: 100%;
}

#keyword-list .keyword {
    padding: 0;
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid #1b3557;
    color: #1b3557;
    font-weight: normal;
}
#keyword-list .keyword .remove-icon-wrapper {
    display: inline-block;
    width: 40px;
    background: #1b3557;
    padding: 3px;
    border-radius: .25em 0 0 .25em;
    moz-border-radius: .25em 0 0 .25em;
    webkit-border-radius: .25em 0 0 .25em;
    text-align: center;
}
#keyword-list .glyphicon-remove {
    color: red;
    font-size: 14px;
}
#keyword-list .keyword .text-wrapper {
    padding: 5px;
    overflow: auto;
    width: 80%;
}
#keyword-list .keyword .search-wrapper {
    display: inline-block;
    width: 40px;
    background: #1b3557;
    padding: 3px;
    border-radius: 0 .25em .25em 0;
    moz-border-radius: 0 .25em 0 .25em 0;
    webkit-border-radius: 0 .25em 0 .25em 0;
    text-align: center;
}
#keyword-list .glyphicon-search {
    color: #FFFFFF;
    font-size: 14px;
}
#keyword-list .keyword:hover {
    background: #1b3557;
    color: #FFFFFF;
}

#keyword-list div {
    font-size: large;
}

#content-keyword .btn.btn-primary{
    margin-top: -10px;
}

#keyword-list button {
    background-color: transparent;
    border: none;
}

/* Document */
.fao-document {
}
.fao-document h1 {
    font-weight: bold;
}
.fao-section {
    border: 1px solid #CCC;
    border-radius: 4px;
    margin-bottom: 5px;
}
.fao-section > h3 {
    font-weight: bold;
    padding: 20px;
    background: #1b3557;
    color: #FFF;
    margin: 0;
    border-radius: 4px 4px 0 0;
}
.fao-document .fao-subsections {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 10px;
}
.fao-subsection {
    flex: 1;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #F0F0F0;
    text-align: justify;
}
.fao-subsection:last-child {
    margin-bottom: 0;
}
.fao-subsection.search-result em {
    background-color: #FFFF00;
}
.fao-subsection h4 {
    font-weight: bold;
}
.fao-links {
    background: transparent;
    display: flex;
    justify-content: space-between;
}
.fao-links a {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    background: #1b3557;
    color: #FFFFFF;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
    text-decoration: none;
}
.fao-links a:hover {
    background: #264c7e;
}
.fao-links a.attachment_link {
    text-align: right;
}
.jumbotron {
    background: #FAFAFA;
}

/* login form */
.fao-login > .row,
.fao-login > .row > .col {
    min-height: 280px;
}

.login-form .panel-default {
    width: 80%;
    margin: 30px auto 0 auto;
}
.jumbotron.lead.fao-text {
    margin-top: 30px;
    padding: 10px;
    text-align: justify;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
}
.jumbotron.lead.fao-text .text {
    flex: 1;
    color: #000;
}
.fao-text .background-wrapper {
    display: block;
    position: absolute;
    top: calc(50% - 150px);
    right: calc(50% - 150px);
    width: 300px;
    height: 300px;
    background: transparent url(../img/logo_transparent.png) no-repeat center center;
    background-size: 400px;
    opacity: 0.25;
}

.fao-logo {
    text-align: center;
}

.fao-logo img {
     width: 80%;
}

.label.label-default {
    width: 100%;
    display: inline-block;
}

