/* Overwrite CAB styles */

li {
    text-align: justify;
    line-height: 2.0;
}

#home {
    overflow: initial !important;
    display: flex;
    align-items: center;
}

#cover-main-ada {
    height: 100%;
    padding: 0px;
    text-align: center;
    background-image: url( '../../images/cover/cover.jpg' );
    background-size: cover;
    background-position: center center;
}

#cover-overlay-ada {
    height:100%;
    padding-top: 5%;
    padding-bottom: 15%;
    padding-left: 0px !important;
}

#cover-overlay {
    background-color: rgb(0,0,0,0.45);
    height: 100%;
}

.btn-overwrite-ada-menu:active {
    color: #ffffff !important;
}

.btn-overwrite-ada-menu:visited {
    color: #ffffff !important;
}

.btn-overwrite-ada-menu-central {
    padding: 2% 4% !important;
    border-radius: 5px;
}

.dropdown-item:hover {
    background-color: #314757 !important;
}

.dropdown-menu {
    margin: auto;
}

 .dropdown-menu {
     background-color: #87A77B;
}
 .dropdown-menuA-ADA {
     background-color: #6d8f60;
}

 .diA-ADA {
     padding: 12px !important;
}
 .diB-ADA {
     padding: 12px !important;
}
 .diA-ADA:hover {
     background-color: #87A77B !important;
}
 .diB-ADA:hover {
     background-color: #6d8f60 !important;
}

/* ADA styles */

.titlebox {
    text-decoration: none;
}

.title-boxada   {
    padding-top: 0px;
}

.menu-boxada{
   text-align: center;
   padding-top: 15px;
}

.logo-boxada {
    text-align: center;
    padding-top:1%;
}

.berlin-logo {
    width: 20%;
    text-align: right;
    padding-bottom: 20px;
}

.salamanca-logo {
    width: 24%;
    text-align: right;
    padding-bottom: 20px;
}

.nav-title {
    padding-left: 10%;
    font-size: 32px !important;
}

.nav-title_paragraph {
    font-size: 22px !important;
}

.nav-title_section {
    font-size: 18px !important;
}

.nav-subtitle {
    padding-left: 10%;
    font-size: 20px !important;
}

.nav-secondary-dividers {
    width: 92%;
    margin-left:auto;
    margin-right:auto;
}

.nav-show-button {
    text-align:right;
    margin-right:50px;
    margin-bottom:20px;
}

.nav-divider-one {
    height: 5px;
    width: 100%;
    background-color: #f3f0e3;
}

.nav-divider-secondary-one {
    height: 3px;
    width: 100%;
    background-color: #f3f0e3;
    margin-top: 20px;
}

.nav-divider-two {
    height: 10px;
    width: 100%;
    background-color: #6d8f60;
}

.nav-divider-lower-ada {
    width: 100%;
    background-color: #6d8f60;
    height: 40px;
    color: #fff;
    float: left;
    white-space: nowrap;
}

.nav-divider-secondary-two {
    height: 6px;
    width: 100%;
    background-color: #436278;
    margin-bottom:20px;
}

.nav-divider-lower-center-ada {
    padding-left: 35px;
    padding-right: 35px;
    margin-left: 120px;
    width: auto;
    background-color: #87A77B;
    height: 40px;
    padding-top: 10px;
    color: #fff;
    float: left;
}

.diB {
    display: block;
    padding: 3px;
    color: #ffffff;
}

.diB:hover {
    color: #ffffff !important;
}

.diB:focus {
    color: #ffffff !important;
}

.diB:active {
    color: #ffffff !important;
}

.indiv_decoration {
    background-image: url( "https://cab.geschkult.fu-berlin.de/exist/apps/ada/images/vintage-corner.png" );
    background-repeat: no-repeat;
    background-size: 10%;
    background-origin: content-box;    
}

.indiv_paragraph {
    padding-top:   90px;
    padding-left:  230px !important;
    padding-right: 270px !important;
    font-size:      20px !important;
}

.indiv_deco {
    float: inline-start;
    width: 7%;

    margin-right: 40px;
}

.text_paragraph {
   padding-bottom: 10px;
}

.nav-title_paragraph {
    font-size: 24px !important;
   
}

.indiv_paragraph_ada {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 90px;
    margin-bottom: 60px;
}

.indiv_paragraph_viewer {
    margin-bottom:50px;
}


.viewer_messages {
    text-align: center;
}

.nav-divider-ada {
    height: 5px;
    width: 100%;
    background-color: #f3f0e3;
}

.geldner-button-box {
    padding-right: 17px;
    display: inline;
    float: left;
}

.geldner-button {
    padding-top: 0px;
    width: 100%;
    padding-left: 15px;
}

.label-general {
    float: none;
    color: #25511E !important;
}

.label-particular {
    color: #557D99;
    font-size:22px;
}

.label-separator {
    color: #333;
    font-size:20px;
}

.backend_main {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 30px; 
    margin-bottom: 60px;
}

.backend_divider {
    height: 5px;
    width: 100%;
    background-color: #f3f0e3;
}

.backend_menu {
    float: left;
    width: 20%;
}

.backend_cursor {
    cursor: pointer;
}

.backend_cursor_red {
    color: #c6654d;
}

.backend_right {
    float: right;
    width:80%;
}

#cerem-list {
    width: 47%;
    float: left;
}

#cerem-inst {
    display:none;
    float: left;
    width: 53%;
    padding: 10px;
    padding-left: 50px;
    margin-top: 40px;
    font-size: 16px;
}

.backend_border {
    border-style: double;
    border-color: rgba(0,0,0,0.05);
    border-left: bisque;
    border-right: bisque;
}

.edit_section {
    width: 50%;
    float:right;
}

.edit_add {
    float: right;
    padding: 10px;
}

.ceremony_paragraph_list {
    columns:6;
    cursor:pointer;
    font-size:10px;
}

ul li:hover {
 color: #c6654d !important;


}

.btn-success {
    font-size: 20px;
}

.btn-danger {
    font-size: 20px;
    float: right;
}

.btn-warning {
    font-size: 20px;
    float: left;
}

.btn-overwrite-ada-menu {
    color: #fff;
    background-color: #436278;
}

.btn-overwrite-ada-menu:hover {
     color: #000;
     background-color: #557d99;
}

.container {
    width: 100% !important;
}

.man_highlight {
    font-size: 22px;
    color: #F77474;
}

.menu_nav {
    font-size:25px;
}

select[multiple], select[size] {

  margin-bottom: 60px !important;
}

#mega-selector-khordeh-type {
  display: none;
}

#mega-selector-ceremony {
  display: none;
}

#mega-selector-numbering {
  display: none;
}

#manuscript_box_indivpage {
  background-color: #f5e075;
  box-shadow: 0px 5px #314757;
  margin-top: 0px;
  line-height: 2.0;
  font-size: 15px;
}

#viewer_display {
    display: none;
}

.manuscript_viewer {
    padding: 10px;
    overflow:scroll;
}

.btn-default {
    color: #557D99 !important;
    border-color: #fff !important;
    margin-left:45px;
}

.btn-alt {
    color: #F77474 !important;
    border-color: #fff !important;
    margin-left:45px;   
}

.dropdown-item.active {
    color: #fff !important;
    background-color: #314757 !important;
}

.bootstrap-select.btn-group .dropdown-menu li a:selected {
    color: #fff !important;
    background-color: #314757 !important;
 }
 
.btn-overwrite-ada {
     float:right;
     color: #fff;
     background-color: #557d99;
     margin-top:10px;
     margin-right:50px;

}

.btn-overwrite-ada:hover {
     color: #fff;
     background-color: #6d8f60;
}

#ada_image {
    padding-bottom: 5%;
}

.container_bottom {
    text-align:center;
    height:320px;
    background-color: #f0c19880;
}

.ada-lower-image {
     width: 165px;
     height: 165px;
     border-radius:100% !important;
}

.ada-gallery-entry {
  display: flex;
  flex-wrap: wrap;
}

.ada-gallery-entry img {
  transform: scale(1.0);
  transition: transform 0.4s ease;
  height: 250px;
}

.ada-img-box {
  box-sizing: content-box;
  margin: 10px;
  margin-left: 0px;
  margin-bottom: 0px;
  height: 250px;
  overflow: hidden;
  display: inline-block;
  color: white;
  position: relative;
  background-color: white;
}

.ada-caption {
  position: absolute;
  bottom: 5px;
  left: 20px;
  opacity: 0.0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ada-transparent-box {
  height: 250px;
  width: 100%;
  background-color:rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
}

.ada-img-box:hover img { 
  transform: scale(1.1);
}

.ada-img-box:hover .ada-transparent-box {
  background-color:rgba(0, 0, 0, 0.5);
}

.ada-img-box:hover .ada-caption {
  transform: translateY(-20px);
  opacity: 1.0;
}

.ada-img-box:hover {
  cursor: pointer;
}

.ada-caption > p:nth-child(2) {
  font-size: 0.8em;
}

.opacity-low {
  opacity: 0.5;
}

.travel_title {
    color: #6d8f60;
}

.ol_padded {
    margin-left: 82px;
}