/* 
    Created on : 23.04.2015, 13:53:18
    Author     : cosinex GmbH
    Version    : 1.0
*/

html{
  height:100%;
  min-height:100%;}

body{
  min-height:100%;
}

body {
  background-color: #f0eef0;
  font-family: 'Source Sans Pro', sans-serif, Arial;
  font-weight: 400;
  background-color: #f0eef0;}

body.body-start {
  background-image: url("../img/bg_graphic_big.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover; /* rescale */}

/* Font-Size > 767px */
body  {font-size:160%;}
.navbar-brand {font-size:130%;}
.navbar {font-size:180%;}
.footer {font-size:140%;}
h1 {font-size:190%;}
h2 {font-size:160%;}
.pic span {font-size:200%;line-height:100%;}

/* color */
h1,h2 {color: #808080;}
.footer a{color: #808080!important;}
a.navbar-brand, a.navbar-brand:hover {color: #808080!important;}
.navbar-nav > li > a {color: #808080!important;}
.navbar-nav > li > a:hover, 
.navbar-nav > li.active > a:hover,
.footer a:hover,
a.navbar-brand:hover {
  color: #44b3ea!important;}
.main-content {color: #808080;}
.pic span {color: #44b3ea;}
strong {color:#646464;}


.pic {
  margin: auto;
  max-width:520px;
  max-height:350px;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  width:100%;
  height:100%;
  z-index: 1;}

.pic span {
  font-weight: 300;
  position: absolute;
  left: 0; bottom: 30px; right: 0;
  text-align:center;}

/* Logo -Nav  */
#navbar {
  float:right;}

/* Logo Schriftzug */
a.navbar-brand,
a.navbar-brand:hover {
  margin-left:5px!important;
  padding-top:0;}

a.navbar-brand > .brand-container {
  background: #44b3ea;
  color:#fff;
  display:inline-block;
  padding:23px 10px 27px 10px;
  text-transform:lowercase;}

a.navbar-brand > .brand-container .brand-part-one {
  font-weight: 600;
  letter-spacing: -1px;}

a.navbar-brand > .brand-container .brand-part-two {
  font-weight: 300;
  letter-spacing: -1px;
  margin-left:-8px;}

.navbar-fixed-top {
  z-index:10000;}

.navbar {
  background-color: #fff;
  -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.1);
  border:none;
  float:right;}

.navbar-nav > li > a {
  padding-top:25px!important;
  padding-bottom:25px!important;}

.navbar-nav > li > a:hover {
  background:#44b3ea!important;
  color:#fff!important;}

.navbar-nav > li.active > a {
  background:#fff!important;
  color:#44b3ea!important;}

.navbar-nav > li.active > a:hover {
  background:#44b3ea!important;
  color:#fff!important;}

/*
.navbar-nav > li > a:hover:after,
.navbar-nav > li.active > a:after {
    content: '';
    position: absolute;
    left: 0%;
    right:0;
    margin:0 auto;
    top: 100%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #44b3ea;
    clear: both;
    -webkit-filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
    -moz-filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
    -ms-filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
    -o-filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}
*/
/* Main Content */
.main-content {
  background-color: #fff;
  margin: 0px auto; 
  max-width:1100px;}

.main-content a {
  color:#44b3ea;
  font-weight:bold;}

ul.tipps-list { 
  list-style: none;
  margin: 20px 0 25px -10px;}

ul.tipps-list li { 
  margin-bottom:10px;
  position: relative;}

ul.tipps-list li:before {
  position: absolute;  
  top: 4px;  
  left:-25px;
  margin: 0;    
  vertical-align: middle;
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #44b3ea;
  content: "";}

.footer {
  border-top: 1px solid #eee;
  background-color: #fff;
  bottom: 0;
  padding:10px 0px 10px 0;
  text-align:right;
  width: 100%;}

.footer a,
.footer a:hover{
  padding-left:10px;
  text-decoration:none;}


span.cpv-code-criterion {
  display:inline-block;
  height:30px;
  left:0;
  position: relative;
  top:8px;
  width:30px;
  margin: 0 3px;
  background-color: #eeeeee;
  background-image: url('../img/icon_nachhaltigkeit_blatt.png?v=1-1');
  background-repeat: no-repeat;
  background-position: 0 0;
  border-radius: 6px;
  border:1px solid #46B800;
  color: #46B800;
}

#Fristenrechner-Message-Overlay .alert {
  left: 20%;
  position: absolute;
  top: 35%;
  width: 60%;
}

/* Mobile */
@media (min-width: 500px) and (max-width: 640px) {
  .pic  {
    top:-50px;}

  body.body-start {
    background-position: center 40px;}
}

@media (min-width: 767px) and (max-width: 800px){
  .pic span {
    bottom: 40px;}

  body.body-start {
    background-image: url("../img/bg_graphic_small.png");}
}

@media (min-width: 810px) and (max-width: 1024px){
  .pic span {
    bottom: 0;}

  body.body-start {
    background-image: url("../img/bg_graphic_middle.png");}
}

@media (max-width: 767px) {
  /* Font-Size */
  .navbar-brand {font-size:150%;}
  .navbar {font-size:130%;}
  .footer {font-size:120%;}
  #cpv-code-search-container .font-size-140 {
    font-size:160%;}

  #cpv-code-search-container .cpv-code-placeholder {
    bottom:11px;}

  /* Header - Logo - Nav */
  a.navbar-brand,
  a.navbar-brand:hover{
    margin-left:0!important;
    padding:0;}

  a.navbar-brand > .brand-container {
    padding:15px 10px;}

  #navbar {
    border:none;
    float:none;}

  .navbar-nav {
    border:none;
    border-top:1px solid #000;;
    margin-bottom:0;
    margin-top:1px;}

  .navbar-nav > li > a {
    border-bottom:1px solid #000;
    padding-bottom: 22px!important;
    padding-top: 22px!important;}

  .navbar-nav > li > a:hover {
    background: #bbb!important;
    color:#fff!important;}

  .navbar-nav > li > a:hover:after,
  .navbar-nav > li.active > a:after {
    border:none;}

  /* Main Content */
  .main-content {
    margin: 60px auto 60px auto;}

  /* Footer */
  .footer {
    text-align:center;}

  /* Menuebutton mobile */
  .navbar-inverse .navbar-toggle,
  .navbar-inverse .navbar-toggle:hover {
    background: #44b3ea;
    border:1px solid #44b3ea;}

  .navbar-inverse .navbar-toggle:focus {
    background: #808080;
    border:1px solid #808080;}

  .navbar-nav > li.active > a,
  .navbar-nav > li.active > a:hover {
    background:#44b3ea!important;
    color:#fff!important;}

  /* CPVCode Suche */
  /* Hoehe Space */
  #cpv-code-search-container #cpv-code-search-header .space {
    height:60px;}

  /* 'top-space-position' entspricht Hoehe Space */
  #cpv-code-search-container #cpv-code-search-header .top-space-position {
    top:60px;}

  /* Hoehe des Spinners */
  #cpv-code-search-container #cpv-code-search-header .loading-anim-search {
    top:78px;}

  /* Ausrichtung 'cpv-content-total' - Container fuer Gesamtausgabe Abstand nach oben */
  #cpv-code-search-container .cpv-content-total {
    padding-top: 120px;}
}

@media (min-width: 768px) and (max-width: 1200px) { 
  a.navbar-brand > .brand-container {
    margin-left:-35px;}
}

@media (min-width: 700px) and (max-width: 768px){
  .pic  {
    bottom:-250px;}
}

@media print{
  a[href]:after {
    content: "";}

  #cpv-code-search-container {
    padding-top:125px;}

  .navbar-header button,
  .pic,
  .footer {
    display:none;}

  .navbar{
    display:block;
    position:relative;
    float:left;}

  .main-content {
    margin:0;
    padding:0;}

  .main-content:before {
    clear:both;
    content: "";}

  a.navbar-brand {
    margin-left:-10px!important;}

  .cpv-result-box {
    clear: left;
    padding:0!important;}

  .cpv-content-total {
    position: relative;
    top:-50px;}
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  background-color: #428bca;
  border-color: #357ebd;
  top: 0px;
  right: 0px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow:hover {
  background-color: #3276b1;
  border-color: #285e8e;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #fff transparent transparent;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #fff;
}
.date span.input-group-addon {
  background-color: #428bca;
  color: #fff;
  border-color: #357ebd;
}
.date span.input-group-addon:hover {
  background-color: #3276b1;
  border-color: #285e8e;
}
.tooltip-inner {
  max-width: 100%;
}

.spacing {
  height:20px;
}

/* Errorpage */
.spaceHeader {
  height: 70px;
}

.modalDialog {
  background: rgba(0, 0, 0, 0.10);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99999;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in; 
}

.modalDialog > div {
  background-color: #357ebd;
  border-radius: 5%;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.3);
  color:#fff;
  left:50%;
  margin:-100px 0 0 -82px;
  max-height:200px;
  padding: 10px 0;
  position:absolute;
  text-transform: uppercase;
  top:50%;
  width:164px;
  font-size:15px;
}

.modalDialog span {
  display: inline-block;;
  margin-left:50px;
}

.spinner {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  margin: auto;
  position: absolute;
  left: 11px;
  top: 5px;
}

.model-4 {
  background: #FFA500;
}
.model-4 .spinner {
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-bottom-color: #fff;
  -webkit-animation: rotate 1.2s linear 0s infinite;
  animation: rotate 1.2s linear 0s infinite;
}

#Fristenrechner-Loading-Overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  cursor: wait;
}

@-webkit-keyframes rotate {
  from {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}
to {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
}
@keyframes rotate {
  from {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}
to {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
}

@media only screen and (max-width: 767px) {
  .spacing {
    height:20px;
  }  

  .spaceHeader {
    display: none;
  }
}