div#header-funcion-container,
#simple-header{
  display: none;
}

header .navbar.navbar-default .navbar-collapse {
  box-shadow: none;
}

header #opac-header-column-wrapper{
  margin-bottom: 16px;
}

#header-main-row .dark-border-top,
#header-main-row .dark-border-right,
#header-main-row .dark-border-bottom,
#header-main-row .dark-border-left,
#header-main-row .light-border-top,
#header-main-row .light-border-right,
#header-main-row .light-border-bottom,
#header-main-row .light-border-left{
  border: none;
}

header .fa-question-circle:before{
  content: "\f128";
}

#header-main-row .light-background{
  background-color: #ddd2c0;
}

header #opac-header-column-1 i, 
header .own-color, 
header #selected-language,
header a, 
header a:hover, 
header a:focus {
  color: #701106;
}

header .header-button-row .header-button #selected-language{
  padding-top: 2px;
}

header #opac-header-column-1 .menu-block a:hover, 
header #opac-header-column-1 .menu-block a:focus, 
header #opac-header-column-1 .dropdown-menu a:hover, 
header #opac-header-column-1 .dropdown-menu a:focus{
  background-color: #ddd2c0;
}

header .header-button-row .header-button,
header .header-button-row .header-button:hover,
header .header-button-row .header-button:focus,
header .navbar.navbar-default .navbar-toggle:hover, 
header .navbar.navbar-default .navbar-toggle:focus, 
header .navbar.navbar-default .navbar-toggle{
  background: none;
  border: none;
  border-radius: 0;
}

header .navbar.navbar-default .navbar-toggle .icon-bar{
  background-color: #701106;
}

header .menu-block,
header .navbar.navbar-default .navbar-collapse{
  background: #ffffff;
  -moz-box-shadow: -4px -4px 4px rgba(255, 255, 255, .4), 4px 4px 4px rgba(0, 0, 0, .4);
  -webkit-box-shadow: -4px -4px 4px rgba(255, 255, 255, .4), 4px 4px 4px rgba(0, 0, 0, .4);
  box-shadow: -4px -4px 4px rgba(255, 255, 255, .4), 4px 4px 4px rgba(0, 0, 0, .4);
  border: 1px solid rgba(0, 0, 0, .4);
}

header .navbar.navbar-default .navbar-collapse{
  position: absolute;
  width: 100%;
  width: calc(100% - 16px);
}

header #opac-header-column-1 .navbar.navbar-default .navbar-collapse .catalog-menu a:hover, 
header #opac-header-column-1 .navbar.navbar-default .navbar-collapse .catalog-menu a:focus{
  background: none;
}

header #language-selector-wrapper #language-selector a, 
header #language-selector-wrapper #language-selector a:hover, 
header #language-selector-wrapper #language-selector a:focus{
  color: #701106 !important;
}

.left-navigation{
  position: relative;
  padding-right: 0px;
  margin-right: 0px;
  margin-left: 0px;
  padding-left: 0px;
}

header #language-selector-wrapper #language-selector{
  margin-top: 0px;
}

#sapientia-header-container {
  margin-bottom: 16px;
  font-family: Nyala;
}

#sapientia-header-container .sapientia-header-hole-wrapper{
  text-align: center;
  padding: 9px 2px 9px 0px;
}

#sapientia-header-container .sapientia-header-hole-wrapper .hole{
  width: 26px;
  height: 26px;
  background: #ffffff;
  margin: 0px 0px 0px auto;
  border-radius: 13px;
  -moz-box-shadow: inset -4px -4px 4px rgba(255, 255, 255, .6), inset 4px 4px 4px rgba(0, 0, 0, .6);
  -webkit-box-shadow: inset -4px -4px 4px rgba(255, 255, 255, .6), inset 4px 4px 4px rgba(0, 0, 0, .6);
  box-shadow: inset -4px -4px 4px rgba(255, 255, 255, .6), inset 4px 4px 4px rgba(0, 0, 0, .6);
  display: inline-block;
}

#sapientia-header-container .sapientia-header-wrapper{
}

#sapientia-header-container .sapientia-header-wrapper #logo-box{
}

#sapientia-header-container .sapientia-header-wrapper .string-box{
  height: 91px;
  z-index: 10;
  position: relative;
}

#sapientia-header-container .sapientia-header-wrapper .string-box.string-box-top{
  margin-top: -68px;
  margin-bottom: -14px;
}

#sapientia-header-container .sapientia-header-wrapper .string-box.string-box-between{
  margin-top: -18px;
  margin-bottom: -13px;
  background-image: url("../images/double_nod_vertical.png");
}

#sapientia-header-container .sapientia-header-wrapper  #catalog-box{
}

#sapientia-header-container .sapientia-header-wrapper #logo-box,
#sapientia-header-container .sapientia-header-wrapper #catalog-box{
  background: #ddd2c0;
  -moz-box-shadow: -4px -4px 4px rgba(255, 255, 255, .4), 4px 4px 4px rgba(0, 0, 0, .4);
  -webkit-box-shadow: -4px -4px 4px rgba(255, 255, 255, .4), 4px 4px 4px rgba(0, 0, 0, .4);
  box-shadow: -4px -4px 4px rgba(255, 255, 255, .4), 4px 4px 4px rgba(0, 0, 0, .4);
}

#sapientia-header-container .sapientia-header-wrapper #catalog-box #catalog-label{
  text-align: center;
  font-size: 40px;
  text-transform: uppercase;
  padding: 0px 20px;
}

#sapientia-header-container .sapientia-header-wrapper #logo-box #site-logo{
  background: url('../images/sitelogo.jpg') no-repeat left center; 
  background-size: contain;
  width: 70px;
  height: 70px;
  float: left;
  margin: 0px 10px;
}

#sapientia-header-container .sapientia-header-wrapper #logo-box #sapientia-label{
  text-transform: uppercase;    
  font-size: 40px;
  top: -10px;
  position: relative;
}

#sapientia-header-container .sapientia-header-wrapper #logo-box #sapientia-name{
  font-size: 16px;
  margin-top: -10px;
}

.string-box.string-box-top,
.string-box.string-box-between{
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.string-box.string-box-top{
  background-image: url('../images/nod_vertical.png');
}

.string-box.string-box-between{
  background-image: url('../images/nod_horizontal_beetwen.png');
}

.string-box.string-box-between{
  margin-top: -17px;
}

@media (min-width: 767px){  
  #sapientia-header-container .sapientia-header-hole-wrapper{
    padding: 10px 2px 4px 0px;
  }  
  
  header .fa-question-circle:before{
    content: "\f059";
  }

  #sapientia-header-container .sapientia-header-wrapper .string-box.string-box-between,
  .string-box.string-box-between{
    background-image: url('../images/nod_vertical.png');
  }
  
  #sapientia-header-container .sapientia-header-wrapper .string-box.string-box-between{
    margin-top: -16px;
  }
  
  header .navbar.navbar-default ul.navbar-nav li.dropdown{
    float: left;
  }

  header .menu-block,
  header .navbar.navbar-default .navbar-collapse{
    background: none;
    position: relative;
    width: auto;
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  header #opac-header-column-1 i, 
  header .own-color, 
  header #selected-language,
  header a, 
  header a:hover, 
  header a:focus {
    color: #231f20;
  }

  header #language-selector-wrapper #language-selector a, 
  header #language-selector-wrapper #language-selector a:hover, 
  header #language-selector-wrapper #language-selector a:focus{
    color: #231f20 !important;
  }

  header .header-button-row .header-button{
    background: none;
  }

  header .header-button-row .header-button:hover, 
  header .header-button-row .header-button:focus, 
  header .header-button-row button:hover, 
  header .header-button-row button:focus, 
  header #opac-header-column-1 a:hover, 
  header #opac-header-column-1 a:focus, 
  header .menu-block, header .dropdown-menu, 
  header .navbar.navbar-default ul.navbar-nav .portlet-body.open a, 
  header .navbar.navbar-default ul.navbar-nav .portlet-body:hover a,
  header .navbar.navbar-default ul.navbar-nav li.dropdown.open a, 
  header .navbar.navbar-default ul.navbar-nav li.dropdown:hover a,
  header #opac-header-column-1 .navbar.navbar-default .navbar-collapse .catalog-menu a:hover,
  header #opac-header-column-1 .navbar.navbar-default .navbar-collapse .catalog-menu a:focus{
    background: rgba(241, 230, 213, .8);
  }

  header #language-selector-wrapper #language-selector{
    margin-top: 7px;
  }

  #sapientia-header-container .sapientia-header-wrapper .string-box.string-box-top{
    margin-top: -16px;
  }

  #sapientia-header-container .sapientia-header-wrapper{
    display: flex;
  }

  #sapientia-header-container .sapientia-header-wrapper .sapientia-header-wrapper-1{
    flex: 1;
    margin-right: 8px;
  }

  #sapientia-header-container .sapientia-header-wrapper .sapientia-header-wrapper-2{
    margin-left: 8px;
  }

  #sapientia-header-container .sapientia-header-wrapper #logo-box{
    padding-bottom: 20px;
  }

  #sapientia-header-container .sapientia-header-wrapper #logo-box #site-logo{
    width: 90px;
    height: 90px;
  }

  #sapientia-header-container .sapientia-header-wrapper #logo-box #sapientia-name {
    font-size: 20px;
    margin-top: 0px;
  }
}

@media (min-width: 992px){  
}

@media (min-width: 1200px){  
  #sapientia-header-container .sapientia-header-wrapper .string-box.string-box-between{
    margin-top: -18px;
  }

  #sapientia-header-container .sapientia-header-wrapper  .string-box{
    height: 80px;
  }
  
  #sapientia-header-container .sapientia-header-hole-wrapper{
    text-align: center;
    padding: 7px 0px;
  }

  #sapientia-header-container .sapientia-header-wrapper #logo-box{
    padding: 10px 0px;
    display: flex;
  }
  
  #sapientia-header-container .sapientia-header-wrapper #logo-box .lg-flex-1{
    flex: 1;
  }

  #sapientia-header-container .sapientia-header-wrapper .string-box.string-box-between {
    margin-top: -16px;
    height: 126px;
    margin-left: -33px;
    margin-right: -27px;
    width: 400px;
    background-image: url('../images/nod_horizontal.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
  }

  #sapientia-header-container .sapientia-header-wrapper #catalog-box{
    display: flex;
  }

  #sapientia-header-container .sapientia-header-hole-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  #sapientia-header-container .sapientia-header-hole-wrapper .hole{
    margin: 0px 7px;
  }

  #sapientia-header-container .sapientia-header-wrapper .sapientia-header-wrapper-2{
    margin-top: 16px;
  }
  
  #sapientia-header-container .sapientia-header-wrapper .sapientia-header-wrapper-1{
    margin-top: -5px;
  }
  
  #sapientia-header-container .sapientia-header-wrapper-2 .sapientia-header-hole-wrapper .hole{
    margin: 0px 7px 0px 15px;
  }
  
  #sapientia-header-container .sapientia-header-wrapper-1 .sapientia-header-hole-wrapper .hole{
    margin: 0px 22px 0px 7px;
  }
  
  #sapientia-header-container .sapientia-header-wrapper  .string-box{
    border: none;
  }
}