/**
 * Custom style for librarybuildings.info
 *
 */

/* GLOBAL ********************************* */

.navbar.container {
  max-width: 1170px;
}

.front .col-sm-9 {
  width: 585px;
}
.front .col-sm-3 {
  width: 585px;
}
/*
.region-sidebar-second {
  margin-top: 1em;
}
*/

/* ----- Header ------------------------ */
.navbar {
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.container > .navbar-header {
  margin-bottom: 1em;
}

div#navbar-collapse {
  margin: 0 -15px 0 -15px;
}

.navbar-nav {
  border-bottom: 1px dotted #444;
  border-top: 1px dotted #444;
}

.navbar ul.nav {
  display: table;
  table-layout: auto;
  width: 100%;
}

.dropdown-menu > li > a {
  font-size: 1.2em;
}

.navbar ul.nav > li {
  display: table-cell;
  float: none;
  text-align: center;
}

.navbar ul.nav > li > a {
  border-right: 1px dotted #444;
  color: #666;
  font-size: 20px;
  padding: 10px 10px;
  text-shadow: none;
}

.navbar ul.nav > li.last > a {
  border-right: 0;
}

/* Top region: .login-box, .block-search-api-page */
.region.region-top  {
  float: right;
  text-align: right;
}
/* login */
.login-box a.label {
  font-size: 13px;
  padding: 3px 5px;
}
/* search */
.block-search-api-page {
  margin-top: 1em;
}
#block-search-api-page-site-search input {
  width: 12em;
}
#block-search-api-page-site-search input[type="text"] {
  background: url(/sites/all/themes/librarybuildings_2018/img/searchbutton.png) no-repeat scroll right center transparent;
}
#block-search-api-page-site-search button {
  display: none;
}

/* ----- Logo -------------------------- */
.name.navbar-brand {
  font-size: 3em;
  font-weight: normal;
  margin-left: 0.5em;
  text-transform: uppercase;
}
a.name.navbar-brand {
  color: #777;
  padding: 35px 30px;
  text-shadow: 1px 1px 3px #DDD;
}

/* ----- Body ------------------------ */

body {
  color: #111;
  font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1 {
  font-size: 2.25em;
}
h2 {
  font-size: 1.75em;
}
h3 {
  font-size: 1.5em;
}
h4 {
  font-size: 1.25em;
}

a {
  color: #058;
}

.block h2 {
  text-transform: uppercase;
}

/* ----- Elements -------------------- */

.welcome {
  color: #333;
  font-style: italic;
  margin-bottom: 2em;
  padding: 0.5em 1em;
}

.welcome-header {
  font-size: 25px;
  line-height: 1;
  padding-right: 10px;
  text-transform: uppercase;
}


.block-footer-link {
  float: right;
  font-size: 20px;
}

.library-list h3,.node-article h3,.node-recommend-library h3,.front-three-motives h3,.map-popup h3 {
  border-bottom: 1px solid #DDD;
  font-family: Museo;
  font-weight: normal;
  letter-spacing: -1px;
  margin-top: 1em;
}

.front .library-list h3,.front-three-motives h3,.map-popup h3 {
  margin-top: 0;
}

.map-popup h3 {
  border-bottom: 0;
}

.library-list h3 a,.node-article h3 a,.front-three-motives h3 a {
  color: #666;
}

.library-list h3 a,.node-article h3 a,.node-recommend-library h3 a {
  font-size: 28px;
}

/* three motives front */

.front-three-motives .table {
  margin-bottom: 5px;
}

.front-three-motives h2 {
  margin-top: 0.3em;
}

.front-three-motives .table-hover > tbody > tr {
  background-color: white;
}

td.views-field.views-field-field-front-of-building,
td.views-field.views-field-field-interior,
td.views-field.views-field-field-special-features-intern-0 {
  width: 130px;
}

.front-three-motives .view-footer {
  border-top: 1px solid #DDD;
  padding: 15px 15px 0;
  text-align: right;
}

/* front motive + advanced search selectors */
.front-three-motives-links-list {
  margin-right: 7px;
}
.view-3-motives-on-front- select, .front .block-facetapi select {
  background-color: white;
  margin: 0 0 5px;
  border: 1px solid #efefef;
  padding: 2px 15px 2px 5px;
}

.motive-list .view-filters {
  display: none;
}

.motive-list .views-row {
  float: left;
  clear: none !important;
}

.motive-list .views-field {
  border-bottom: 1px solid #EEE;
  height: 250px;
  line-height: 1.1;
  padding: 0 20px 0 20px;
  width: 240px;
}

.motive-list .views-label {
  display: none;
}

.motive-list img {
  border: 1px solid #EEE;
  margin: 0 0 10px;
}

.motive-list a {
  font-size: 16px;
}

.current-motive {
  background-color: #999;
  border: 1px solid #AAA;
  border-radius: 3px;
  font-weight: bold;
  padding: 0 5px;
}

a.current-motive {
  color: #FFF;
}

#cboxPrevious {
  bottom: -37px;
  right: 45px;
  background: url(/sites/all/themes/librarybuildings_2018/img/colorbox-controls.png) no-repeat 0 -90px;
  width: 37px;
  height: 37px;
}

#cboxPrevious:hover {
  background-position: 0 -216px;
}

#cboxNext {
  bottom: -37px;
  right: 5px;
  background: url(/sites/all/themes/librarybuildings_2018/img/colorbox-controls.png) no-repeat 0 -52px;
  width: 37px;
  height: 37px;
}

#cboxNext:hover {
  background-position: 0 -178px;
}

#cboxLoadingGraphic {
  background: url(/misc/throbber-active.gif) no-repeat center center;
}

#cboxClose {
  top: -25px;
  right: -25px;
  background: url(/sites/all/themes/librarybuildings_2018/img/colorbox-controls.png) no-repeat 0px -2px;
  width: 50px;
  height: 50px;
  text-indent: -9999px;
}

#cboxClose:hover {
  background-position: 0 -128px;
}

#cboxTitle {
  line-height: 1.1;
  padding-top: 3px;
}

/* library*/
/* left column */
.ds-2col-stacked.node-library > .group-left {
  padding-right: 2%;
}

.node-type-library .group-right img {
  float: left;
  padding: 0 10px 10px 0;
}

.node-type-library .group-right .field-label-above {
  clear: both;
}

.teaser-architect  {
  border-right: 2px solid #DDD;
  margin-right: 5px;
  padding-right: 5px;
}

/* advanced search */

.block-facetapi h2.adv-search-header {
  font-size: 22px;
  border-bottom: 1px solid #9DB6D1;
  padding: 0 0 10px;
}

.front .block-facetapi {
  background: #CAE7FE;
  border-bottom: 1px solid #DFF0FE;
  margin: 0;
  padding: 10px 20px 20px;
}

.block-facetapi h2 {
  font-weight: normal;
  font-size: 16px;
  line-height: 1;
}

.front .facetapi-limit-link {
  display: none;
}

.current-search-item-text h3 {
  background-color: #3C3;
  border-radius: 3px;
  color: #FFF;
  display: inline-block;
  font-weight: bold;
  padding: 2px 7px;
}

.views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 0;
}

.current-search-item-active ul li {
  list-style: none;
}

.current-search-item-active ul li a, a.facetapi-active {
  background-image: url(/sites/all/themes/librarybuildings_2018/img/btn_close.png);
  background-position: 0 3px;
  background-repeat: no-repeat;
  display: block;
  float: left;
  padding: 0px 0px 0 0;
  text-decoration: none;
  text-indent: -9999px;
  width: 20px;
}

ul.facetapi-facetapi-links {
  padding: 0;
}

.site-sidebar-second .min-max-slider h2 {
  padding-bottom: 5%;
}

.search-api-ranges-widget,.search-api-ranges-widget .range-box-left,.search-api-ranges-widget .range-box-right {
  position: relative;
}

.search-api-ranges-widget .text-range,.search-api-ranges-widget .form-submit,.search-api-ranges-widget .range-box-left label,.search-api-ranges-widget .range-box-right label {
  display: none;
}

.search-api-ranges-widget .form-item-range-from input,.search-api-ranges-widget .form-item-range-to input {
  float: left;
  padding: 0;
}

.search-api-ranges-widget .range-box-left .form-item,.search-api-ranges-widget .range-box-right .form-item {
  margin-top: 0;
}

.search-api-ranges-widget .range-box-left,.search-api-ranges-widget .range-box-right {
  position: absolute;
  top: -30px;
}

.search-api-ranges-widget .range-box-left {
  left: 0;
}

.search-api-ranges-widget .range-box-right {
  right: 0;
}

.search-api-ranges-widget .range-box-right .form-item-range-to input {
  text-align: right;
}

.search-api-ranges-widget .range-slider-box {
  display: block;
  margin-top: 30px;
  padding: 0 10px;
}

.search-api-ranges-widget .form-item-range-from input,.search-api-ranges-widget .form-item-range-to input {
  background: none repeat scroll 0 0 transparent;
  border: none;
  box-shadow: none;
  font-size: 16px;
  width: auto;
}

#login-box {
  float: right;
  margin-top: -15px;
}

#login-box a.label {
  font-size: 13px;
  padding: 3px 5px;
}

.ie7 #login-box,.ie8 #login-box {
  margin-top: -25px;
}

#block-search-api-page-site-search form,#block-search-api-page-site-search .form-item {
  margin: 0;
}

#block-search-api-page-site-search input[type="text"] {
  background: url("/sites/all/themes/librarybuildings_2018/img/searchbutton.png") no-repeat scroll right center transparent;
}

#block-search-api-page-site-search input[type="submit"] {
  display: none;
}

#search-api-page-search-form .form-type-textfield {
  float: left;
}

#search-api-page-search-form .form-type-textfield label {
  display: none;
}

#search-api-page-search-form #edit-submit-1 {
  margin: 1em 1em 0 1em;
}

.search-performance {
  background-color: #3C3;
  border-radius: 3px;
  color: #FFF;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  padding: 2px 7px;
}

.dropdown-menu {
  left: auto;
}

div#toolbar div.toolbar-shortcuts ul li a {
  background: #080;
  font-size: 15px;
}

div#toolbar div.toolbar-shortcuts ul li a:focus,div#toolbar div.toolbar-shortcuts ul li a:hover,div#toolbar div.toolbar-shortcuts ul li a.active:focus {
  background: #3BB33B;
}

.admin-menu div#toolbar div.toolbar-shortcuts ul li a {
  background: #666;
}

.admin-menu #toolbar .toolbar-shortcuts ul li a:focus,.admin-menu #toolbar .toolbar-shortcuts ul li a:hover,.admin-menu #toolbar .toolbar-shortcuts ul li a.active:focus {
  background: #555;
}

#admin-menu {
  font-size: 15px;
}

#footer {
  background: #272727;
  border-top: 1px solid #555;
  box-shadow: -1px -1px 4px rgba(0,0,0,0.27);
  color: #EEE;
  margin-top: 40px;
  padding: 20px 0 10px;
  text-align: center;
}

.print_html {
  float: right;
}

ul.inline > li.statistics_counter {
  display: none;
}

.tooltip-link {
  font-size: 13px;
}

.tooltip {
  font-size: 15px;
}

.library-motive-anchor {
  background-color: #F5F5F5;
  display: none;
  float: right;
  padding: 10px 15px 0;
  border-radius: 4px;
}

.library-motive-anchor a {
  display: block;
  height: 100px;
}

.motives-anchor-img,.motives-anchor-text {
  float: left;
}

.motives-anchor-text {
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  width: 180px;
}

.field-label {
  font-weight: bold;
}

/* front latest libraries */
.front .ds-2col-stacked {
  margin-top: 2em;
}

.ds-2col-stacked.library-list > .group-left,.ds-2col-stacked.node-article > .group-left,.ds-2col-stacked.node-recommend-library > .group-left {
  width: 25%;
}

.ds-2col-stacked.library-list > .group-right,.ds-2col-stacked.node-article > .group-right,.ds-2col-stacked.node-recommend-library > .group-right {
  width: 72%;
}

.map-popup h3 {
  font-size: 24px;
}

.map-popup a {
  color: #39F;
}

.map-popup img {
  float: left;
  padding: 5px 8px 0px 0;
}

.map-popup .teaser-architect {
  border-color: #555;
}


/* openlayers - fix for map getting grids */
.openlayers-views-map img {
  -webkit-box-sizing: initial;
  -moz-box-sizing: initial;
  box-sizing: initial;
}

.openlayers-popup {
  min-height: 180px !important;
}

.more-link {
  font-size: 16px;
  margin: 1em 0;
}

.node-article img {
  float: left;
  padding: 5px 5px 0 0;
}

.not-logged-in .olControlMousePosition {
  display: none;
}

.flexslider {
  border: 0;
}

/* front slideshow align left margin */
.slideshow-front.span7 {
  padding-left: 0;
}

.flex-slideshow {
  position: relative;
}

.flex-caption {
  background: none repeat scroll 0 0 white;
  bottom: 45px;
  font-family: Impact;
  font-size: 36px;
  font-weight: normal;
  left: 0;
  line-height: 40px;
  max-width: 85%;
  opacity: 0.85;
  padding: 10px 20px;
  position: absolute;
  text-transform: uppercase;
}

.flex-caption a {
  color: #08C;
}

.view-country-list table,.view-architect-list table {
  width: 100%;
}

.view-country-list td,.view-architect-list td {
  border: none;
  line-height: 1.6;
  width: 32%;
}

.block-box {
  border: 4px solid #FFF;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.front .adv-search-country, .front .adv-search-category {
  width: 50%;
  float: left;
}

.front .min-max-slider {
  display: none;
}

.span6.adv-search-architect {
  width: 100%;
}

.front .block-facetapi.adv-search-category {
  margin-bottom: 1em;
}

.front-big-map img {
  max-width: 100%;
}

@media (max-width: 480px) {
  #site-name {
    font-size:22px;
    margin-left: 0.2em;
  }

  .motives-anchor-text {
    font-size: 14px;
    width: 80px;
  }
}

@media (min-width: 481px) and (max-width:767px) {
  #site-name {
    font-size:25px;
  }
}

@media (max-width: 767px) {
  .navbar ul.nav > li {
    display:block;
    text-align: left;
  }

  .navbar ul.nav > li > a {
    border-right: none;
    font-size: 16px !important;
  }

  #footer {
    margin-right: -20px;
    margin-left: -20px;
    padding-left: 20px;
  }

  .footer-content .block {
    width: 100%;
  }

  .front .sidebar.span3.site-sidebar-second,.front .span6,.front .span4 {
    margin-left: 0;
    width: 100%;
  }

  .adv-search-architect select {
    width: 220px;
  }
}

@media (min-width: 768px) and (max-width:979px) {
  #site-name {
    font-size:28px;
  }
}

@media (max-width: 979px) {
  #login-box {
    margin-top:-25px;
  }

  .navbar ul.nav > li > a {
    font-size: 14px;
  }

  .navbar .nav>li>a {
    padding-right: 0;
  }

  #block-views-slideshow-block .flex-caption {
    bottom: 25px;
    font-size: 25px;
    line-height: 26px;
    padding: 5px 10px;
  }

  .main-upper .block[class*="span"],.front .mc-content.span9 {
    margin-left: 0;
    width: 100%;
  }

  .site-sidebar-second .block.front-big-map {
    width: 100%
  }

  .ds-2col-stacked.library-list > .group-left,.ds-2col-stacked.library-list > .group-right,.ds-2col-stacked.node-article > .group-left,.ds-2col-stacked.node-article > .group-right,.ds-2col-stacked.node-recommend-library > .group-left,.ds-2col-stacked.node-recommend-library > .group-right {
    float: none;
    width: 100%;
  }

  .ds-2col-stacked.node-library > .group-left {
    padding-right: 0;
    width: 100%;
  }

  .ds-2col-stacked.node-library > .group-right {
    width: 100%;
  }

  .library-motive-anchor {
    display: block;
  }
}

@media (min-width: 980px) and (max-width:1199px) {
}

@media (min-width: 768px) and (max-width:1200px) {
}
