/*=============================================================*/
/* Basic SOA Style [START] */
/*=============================================================*/
body {
  color: #505962;
  font-family: Georgia, Liberation Serif, Times New Roman;
  font-size: 1.2rem;
}

h1, h2, h3, button, input {
  font-family: Calibri, Carlito, Arial;
}

h1 {
  margin-top: 10px;
  font-size: 30px;
  font-weight: bold;
}

h2 {
  color: #56509b;
  font-weight: bold;
  font-size: 26px;
  margin: 30px 0px 15px 0px;
  line-height: 100%;
}

a svg, button svg {
  fill: #2b7bb9;
}

.btn-light  {
  color: #2b7bb9;
}
/*=============================================================*/
/* Basic SOA Style [END] */
/*=============================================================*/


/*=============================================================*/
/* General Control Style Customisation [START] */
/*=============================================================*/
.card-body {
  background-color: #e9e9e9;
}

span.field {
  font-weight: bold;
}

div#documentdisplayheader a.pdflink, div#documentdisplayheader a.tonormalmodelink {
  font-size: 90%;
}

div#sudanopenarchivepagelayouttoc h2 {
  margin-top: 0px;
}
/*=============================================================*/
/* General Control Style Customisation [END] */
/*=============================================================*/


/*=============================================================*/
/* Header Style Customization [START] */
/*=============================================================*/
header#header {
  display: flex;
  flex-direction: column;
  align-items: strech;
  background: #004600;
  border-bottom: 3px solid #fff203;
  padding-top: 10px;
}

header#header a {
  color: white;
  font-family: Calibri, Carlito, Arial;
}

header#header a svg, header#header button svg {
  fill: #fff203;
}

header#header div#headertopcell {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: -40px;
}

div#bannerlogo {
  margin: 20px 0px;
}

div#bannerlogo img {
  width: 500px;
}

div#bannerlogo.documentview {
  height: 100px;
}

div#bannerlogo.documentview img {
  width: 350px;
}

header#header div#headertopcell #sudanuserlinks a {
  color: white;
  font-size: 90%;
  border: 1px solid rgba(204,204,204,0.15);
  padding: 5px 10px;
  margin: 0px 5px;
}

header#header div#headertopcell #sudanuserlinks a:last-child {
  margin-right: 0px;
}

header#header div#headertopcell #sudanuserlinks a:hover {
  color: #004600;
  background-color: #fff203;
  text-decoration: none;
}

header#header div#headertopcell #sudanuserlinks a.active {
  color: #004600;
  background-color: #fff203;
  text-decoration: none;
}

header#header div#headertopcell #sudanuserlinks{
  margin-right: 10px;
  display: flex;
  justify-content: flex-end;
}

header#header div#headerbottomcell {
  display: flex;
  justify-content: flex-end;
  z-index: 500;
}

header#header div#headerbottomcell #navbar a {
  border-bottom: 5px solid transparent;
  margin-bottom: -5px;
}

header#header div#headerbottomcell #navbar a.active {
  color: #fff203;
  border-bottom: 5px solid #fff203;
}

header#header div#headerbottomcell #navbar a:hover {
  color: #fff203;
  border-bottom: 5px solid #fff203;
}

header#header div#headerbottomcell #navbar a.dropdown-item {
  color: #004600;
}

header#header div#headerbottomcell #navbar a.dropdown-item.active {
  background-color: #fff203;
}

header#header div#headerbottomcell #navbar a.dropdown-item:hover {
  background-color: #fff203;
}

header#header div#navbarcollapsed .dropdown-menu {
  width: 200px;
}

header#header div#navbarcollapsed .dropdown-menu a {
  color: #004600;
}

header#header div#navbarcollapsed .dropdown-menu a.active {
  background-color: #fff203;
}
/*=============================================================*/
/* Header Style Customization [END] */
/*=============================================================*/


/*=============================================================*/
/* Footer Style Customization [START] */
/*=============================================================*/
footer#footer {
  color: white;
  background-color: #004600;  /* Bootstrap's "gray-lightest" colour */
  border-top: 1px solid #ECEEEF;  /* Bootstrap's "gray-lighter" colour */
  font-size: 1rem;
}

footer#footer a {
  color: #fff203;
}

footer#footer #socialbookmarks a {
  color: white;
}
/*=============================================================*/
/* Footer Style Customization [END] */
/*=============================================================*/


/*=============================================================*/
/* Search Page Style Customization [START] */
/*=============================================================*/
#searchpagesearchresultfacets .card-body {
  font-size: 90%;
}

div.commentssearchsnippet, div.tagssearchsnippet, div.txtsearchsnippet {
  font-size: 90%;
}
/*=============================================================*/
/* Search PAge Style Customization [END] */
/*=============================================================*/


/*=============================================================*/
/* Dynamic Classifier Customisation [START] */
/*=============================================================*/
div.list-group {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.list-group-item.active {
  background-color: #ccffcc;
  color: #004600;
  border: 1px solid rgba(0,0,0,.125);
}

button.dcl-item:hover {
  background-color: #fff203;
  color: #004600;
}

button.dcl-itemlevel0 {
  width: 100%;
  background-color: #006600;
  color: white;
}

button.dcl-itemlevel1 {
  width: 97%;
  background-color: #E8F6F3;
}

button.dcl-itemlevel1.active {
  background-color: #ccffcc;
  color: #004600;
  border: 1px solid rgba(0,0,0,.125);
}

div.sudanopenarchivepagelayouthlist button.dcl-itemlevel0 {
  width: auto;
}

div.sudanopenarchivepagelayouthlist button.dcl-itemlevel1 {
  width: auto;
}

div.browsedocument {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}

div.browsedocument>div {
  padding: 5px;
}

div.browsedocument img {
  border: 1px solid #808080;
}

div.vlist-item {
  border-bottom: 1px solid #B0B0B0;
  margin-bottom: 5px;
}

div.vlist-description {
  width: 100%;
}

@media (max-width: 800px) {
  div.vlist-item {
    font-size: 80%;
  }

  div.vlist-item img {
    width: 80%;
  }
}

/* Document Page Customisation */
div.metadatadisplay div div.label {
  text-align: left;
  white-space: normal;
}

div.dropdown-menu a.dropdown-item {
  white-space: nowrap;
}

div.dropdown-menu a.dropdown-item span {
  display: inline;
}


@media (max-width: 800px) {
  video {
    border: 1px solid #B0B0B0;
    width: 100%;
  }
}

/* Sudan Open Archive BasePage Style Customisation */
div#documentdisplayheader {
  margin-top: 5px;
  margin-bottom: 5px;
}

div#documentdisplayrightpaneheader {
  background-color: #e0e0e0;
}

div#sudanopenarchivepagelayout {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  margin-top: 10px;
  margin-bottom: 10px;
}

div.sudanopenarchivepagelayouthlist {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

div.sudanopenarchivepagelayouthlist .list-group {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

div.sudanopenarchivepagelayouthlist .list-group-item {
  margin-right:3px;
  margin-top:3px;
  margin-bottom: 0px;
  min-height: 50px;
  min-width: 60px;
}

div.sudanopenarchivepagelayouthlist .list-group-item:first-child {
  border-radius:0px 0px 0px 0px;
}

div.sudanopenarchivepagelayouthlist .list-group-item:last-child {
  border-radius:0px 0px 0px 0px;
}

div.sudanopenarchivepagelayouthlist div#sudanopenarchivepagelayouttoc {
  margin: 0px 0px 8px 0px;
}

div#sudanopenarchivepagelayouttoc {
  min-width: 300px;
  margin: 0px 8px 0px 0px;
}

div#sudanopenarchivepagelayoutbody {
  -webkit-box-flex: 10;
      -ms-flex-positive: 10;
          flex-grow: 10;
}

@media (max-width: 800px) {
  div#sudanopenarchivepagelayouttoc-small {
    width: 100%;
    margin: 0px 0px 8px 0px;
  }

  div#sudanopenarchivepagelayouttoc-small select {
    width: 100%;
    margin: 0px 0px 8px 0px;
  }

  div#sudanopenarchivepagelayouttoc-small div.card-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 10px;
  }

  div#sudanopenarchivepagelayouttoc-small label {
    white-space: nowrap;
    font-weight: bold;
    font-size: 80%;
    padding: 5px;
  }

  div#sudanopenarchivepagelayouttoc {
    margin: 0px 0px 8px 0px;
  }

  div#sudanopenarchivepagelayouttoc h2 {
    font-weight: bold;
    font-size: 80%;
  }

  div#sudanopenarchivepagelayouttoc ul {
    margin: 0px 0px 0px 0px;
  }

  div#sudanopenarchivepagelayout {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: stratch;
        -ms-flex-pack: stratch;
            justify-content: stratch;
  }

  div#sudanopenarchivepagelayout img {
    width: 100px;
  }
}
/*=============================================================*/
/* Dynamic Classifier Customisation [END] */
/*=============================================================*/



/*=============================================================*/
/* Media Style [START] */
/*=============================================================*/
/* For hiding some components of the UI on small screens */

@media (max-width: 875px)
{
  div#bannerlogo img {
    width: 350px;
  }

  header#header div#headertopcell {
    margin-bottom: 0px;
  }
}

@media (max-width: 740px)
{
  .hiddenwhensmall
  {
    display: none !important;
  }
  .hiddenwhennotsmall
  {
    display: block !important;
  }

  div#bannerlogo {
    margin: 0px;
    width: 80%;
  }

  div#bannerlogo.offsetbannerlogo {
    top: 0px;
    margin: 0px;
  }

  div#bannerlogo img {
    width: 100%;
  }

  div#navbarcollapsed {
    margin-top: -50px;
    margin-right: 20px;
    margin-bottom: 10px;
  }
}

/* For hiding some components of the UI that only apply to small screens */
@media (min-width: 741x)
{
  .hiddenwhennotsmall
  {
    display: none !important;
  }
  .hiddenwhensmall
  {
    display: block !important;
  }
}
/*=============================================================*/
/* Media Style [END] */
/*=============================================================*/
