/* === General initialization ================================================ */ 

/* @import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,900;1,400;1,500&display=swap'); */

html, body {
   margin: 0;
   width: 100%;
   height: 100%;
   line-height: 1.15; /* Correct the line height in all browsers */
}

html {
  box-sizing: border-box;
/*  background: url(/localmedia/img/karo-380-g3.gif) center 5px repeat fixed; */
}

*, *:before, *:after {
  box-sizing: inherit;
}


a {
  color: #555;
  text-decoration: none;
}

a.geo {
   display: block-inline;
   padding-right: 1.5em;
   background: url(/localmedia/sketch/orange_marker.png) top right no-repeat;
   background-size: contain;
}

a.geo:after {
  text-decoration: none !important;
}

p a, a.inline, div.pagecontent ul li a {
  color: #005995;
  text-decoration: underline;
}


p a:not(.nomouseover):hover, a.inline:hover, div.pagecontent ul li a:hover {
  background-color: lightblue;
}

.clear {
  clear: both;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

/* =========================================================================== */ 





/* === Font definitions ====================================================== */ 



h1, h2, h3, h2 span, h1 *, h2 *, h3 *{
   font-family: ott_title !important;
   text-transform: uppercase;
   font-weight: normal;
}

h3 {
  margin-top: 0;
}

h4 {
  font-family: Barlow Condensed;
  font-weight: 600;
}

p, div, span, a {
   font-family: Barlow Condensed;
   font-weight: 400;
}



b, strong, span b, div b, a b, p b, b span {
   font-family: ott_bold !important;
   font-weight: normal;
   font-family: Barlow Condensed !important;
   font-weight: 600;
}

h2 label {
  display: inline-block;
  padding-right: 0.7em;
  color: #BBB;
}

.white {
  color: white;
} 

h1 {
   font-size: 3rem;
   display: inline-block;
   padding-bottom: 2rem;
   margin-bottom: 0.3rem;
   background: url(/localmedia/img/strich-schwarz-kurz.png) center bottom no-repeat;
   position: relative;
   background-size: 6em;
   text-align: center;
   display: block;
   padding-right: 4rem;
   padding-left: 4rem;
}


img.badge {
  position: absolute; ; width:128px; height:128px; z-index:999; top:20px; right: 120px   ;
}

@media (max-width: 720px) {
  img.badge { visibility: hidden; }
}


@media (max-width: 480px) {
  h1 { 
    font-size: 2rem;
  }
  div#footerbanderole {
     font-size: 0.8rem;
  }
}

h1.white, .darkbg h1, h2.white, .darkbg h2 {
   color: white;
   background: url(/localmedia/img/strich-weiss-kurz.png) center bottom no-repeat;
   background-size: 30%;
}


h2, h3.underline {
   font-size: 2rem;
   margin-bottom: 0.5rem;
   padding-bottom: 1rem;
   background: url(/localmedia/img/strich-schwarz-kurz.png) left bottom no-repeat;
   background-size: 8em;
}

h3.underline {
  font-size: 1.5rem;
  padding-left: 0;
  padding-right: 0;
}

h3.underline.center {
  text-align: center;
  background-position: center bottom;
}


h2.subtitle {
  background: none;
  text-align: center;
}


.ridertop h2 {
  background: none;
  border-bottom: 1px solid #CCC;
}


.scrolly {
  position: relative;
  transition: all 0.1s;
}


/* 
a.hm-button, input[type=submit] {
  font-family: ott_title !important;
  text-transform: uppercase;
  font-weight: normal;
  color: white;
  background-color: black;
  text-align: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.9rem; 
}
*/ 

/* =========================================================================== */ 


/* === Size breakpoints ===================================================== */


html {  
    font-size: 110%;
}


@media (min-width: 1000px) {
  html {
   /* font-size: 120%; */
  }
  div.fruittext {
   /*  padding-left: 4rem;  */
  }

  div.captionedgallerypage div.maintext {
    width: 55%;
    float: left;
    padding-right: 30px;
  } 


}

@media (min-width: 1600px) {
  html {
    font-size: 110%;
  }
}


@media (max-width: 768px) {
  html {
    nofont-size: 90%;
  }
  #contentpadding {
    padding: 20px !important;
    padding-top: 0px !important;
    padding-right: 0px !important;
    width: calc(100% - 20px) !important;
  }
  #contentpadding div.karodivider {
    width: calc(100% + 40px) !important;
    margin-left: -20px; /* to offset contentpadding */
  }
  #contentpadding div.sheetcontent {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 450px) {
  div.smallgallery {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  }
}


@media (max-width: 1000px) {
  ul.topmenuitems li span.inner, .level_2 a {
    font-size: 15px !important;
  }
}

@media (max-width: 800px) {
  ul.topmenuitems li span.inner, .level_2 a {
    font-size: 14px !important;
  }
}


/* === Main page elements ==================================================== */ 



div#sheet, div#fixedheader, div#fixedfooter {
/*   width: calc(100% - 60px);
   max-width: 1140px;
   min-width: 320px;
*/
   width: 100%;
   min-width: 320px;
}


/* div#contentpadding, div#nocontentpadding { */
div.sheetcontent {
   max-width: 1140px;
   min-width: 320px;
   margin-left: auto;
   margin-right: auto;
}


@media (max-width: 1280px) { 
  div#sheet, div#fixedheader, div#fixedfooter {
     width: 100%;
  }
}

div#sheet {
   background-color: white;
   min-height: 100%;
   border: 0px solid red;
   margin: auto;
   box-shadow: 0px 0px 24px 1px #CCC;

}



div#fixedheader {
   position: fixed;
   top:0;
   height: 207px;
   border: 0px solid red;
   background: url(/localmedia/img/headershade-70.png) left bottom repeat-x;
   notransition: all 0.1s;
   z-index: 100;
}



div#fixedheader.shrunk {
   height: 37px;
}

div#fixedheader.shrunk ul.topmenuitems li:hover span.outer {
  background: none;
}

div#headerspace {
   height: 200px;
}



div#fixedheader.shrunk #topkaro {
    height: 30px;
}

#fixedheader.shrunk #usermenu, #fixedheader.shrunk #burger {
  top: 3px;
}

#fixedheader.shrunk #usermenu div.item, #fixedheader.shrunk #burger {
  width: 24px;
  height: 24px;  
  marging: 0px 2px;
  border: none;
}

#fixedheader.shrunk #usermenu div.item img, #fixedheader.shrunk #burger img {
  width: 20px;
  height: 20px;
  margin: 2px;
}

div#topkaro {
  width: 100%;
  height: 200px;
  background: url(/localmedia/img/karo-380-d.gif) center 5px repeat;
  position: relative;
  notransition: height 0.1s;
}



div#banderole {
  position: absolute;
  bottom: 0px;
  width: calc(100% + 10px);
  margin-left: -5px;
  height: 130px;
  background: url(/localmedia/img/banderole.gif) center top repeat-x;
  background-size: auto 130px;
}

@media( max-width: 1160px) {
  div#banderole {
     width: 100%;
     margin-left: 0;
  }
}

@media( max-width: 1200px) {
  img.fruit, img.fruit.slightlyhigher {
    right: 0px !important;
  }
}



#logo {
   display: block;
   margin: auto;
   background: white url(/localmedia/img/logo-full.gif) center top no-repeat;
   background-size: contain;
   width: 165px;
   height: 95px;
}




#languagemenu {
  position: absolute;
  right: 30px;
  bottom: 4px;
  width: auto;
  margin: 0;
  font-size: 0.9em;
  z-index: 800;
}

#languagemenu a {
  background-color: white;
  padding: 0px 3px;
  margin: 0px 4px;
  font-family: ott_title;
  text-transform: uppercase;
  font-size: 12px;
}


@media(max-width: 1090px) {
  #languagemenu {
     bottom: auto;
     top: 1px;
  }
}

#fixedheader.shrunk #languagemenu {
   display: none;
}


div#fixedfooter { /* , div#fixedfooter.shrunk:hover { */
   position: fixed;
   bottom: 0px;
   height: 157px;
   border: 0px solid red;
   background: url(/localmedia/img/headershade-bottom-70.png) left top repeat-x;
   notransition: all 0.1s;
}

div#footer { /* ,  div#fixedfooter.shrunk:hover #footer{ */
  height:150px;
  width: 100%;
  background-color: white;
  background: url(/localmedia/img/karo-380-d.gif) center -1px repeat;
  position: absolute;
  bottom: 0px;
  notransition: all 0.1s;
  text-align: center;
}

div#fixedfooter.shrunk {
   height: 27px;
}

div#fixedfooter.shrunk #footer {
    height: 20px;
}

#footer #buttons {
  text-align: right;
  top: -5px; right: 10px;
  position: absolute;
}


div.footermenu {
  font-size: 0.8em;
}

div.footermenu, div.footermenu a {
  color: #555;
}


#fixedfooter #footer #buttons a.button {
  height: 16px;
  line-height: 16px;
  font-size: 11px;
}

div#footerbanderole {
  position: relative;
  bottom: -27px;
  width: 100%;
  height: 100px;
  background: url(/localmedia/img/banderole.gif) center top repeat-x;
  background-size: auto 100px;
  padding: 20px;
}



div.footerspace {
  height: 150px;
}

/* =========================================================================== */ 






/* === Grid layout parts for reuse ========================================== */ 

div.grid {   /* default for 2 columns (div.grid.columns-2 add new definitions if needed */
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 */ grid-auto-rows: minmax(200, auto);
  grid-auto-rows: minmax(min-content, 1fr);
  grid-auto-rows: min-content max-content auto; */
  grid-auto-rows: min-content;
}

div.grid.columns-2 {
  grid-template-columns: repeat(2, minmax(200px, 1fr));
}

@media (max-width: 500px) {
  div.grid, div.grid.columns-2 {
    grid-template-columns: minmax(200px, 1fr);
  }
}



div.grid div.tile, div.tile {
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0px 0px 16px 1px #4442;
}

div.tile.over-gallery {
  background-color: white;
  position: absolute;
  top: 4em;
  box-shadow: 0px 0px 16px 1px #4446;
  padding: 1.5em;
  left: 10vw;
}

div.tile.over-gallery.right {
  left: auto;
  right: 10vw;
}


article.columns {
  column-count: 3;
  column-width: 300px;
}

article.columns.wide {
  column-count: 2;
  column-width: 350px;
}
 
article.columns .smallgallery.inline {
    -webkit-column-break-inside:avoid;
    -moz-column-break-inside:avoid;
    -o-column-break-inside:avoid;
    -ms-column-break-inside:avoid;
    column-break-inside:avoid;
}


section {
    -webkit-column-break-inside:avoid;
    -moz-column-break-inside:avoid;
    -o-column-break-inside:avoid;
    -ms-column-break-inside:avoid;
    column-break-inside:avoid;
}



div.tile.sidebar {
  float: right;
  max-width: 350px;
  min-width: 150px;
  width: 30%;
  margin-left: 20px;
  margin-bottom: 20px;
}



/* =========================================================================== */ 





/* === Menu at the top in the banderole ====================================== */ 



div#topmenu {
   width: 100%;
   height: 27px;
   bottom: 0px;
   position: absolute;
   text-align: center;
   white-space: nowrap;
}





ul.topmenuitems li span.inner {
  font-family: ott_title; text-transform: uppercase;
  font-size: 15px;
  color: black;
}

#shopmenuitems  li span.inner {
   color: white;
} 

#shopmenuitems > li {
   background-color: black;
}

li.shopmenu {
  position: relative;
}

ul.submenu.level_2.shop {
  right: 0px;
  nomin-width: 180px;
}

ul.submenu.level_2.shop li {
   text-align: right !important;

}


ul.submenu.level_2.shop li a {
  white-space: nowrap;
}

 .level_2 a {
  font-size: 18px;
}


ul.topmenuitems {
  list-style: none;
  margin: 0 auto;
  padding: 0 20px;
  background-color: white;
  overflow: auto;
  display: inline-block;
  border: 0px solid red;
}



ul.topmenuitems li {
  list-style: none;
  float: left;
  padding: 0px 10px;
  height: 27px;
  line-height: 24px;

}

ul#shopmenuitems {
   margin-left: calc(10vw - 70px);
   overflow: unset;
}


ul.topmenuitems li:nohover {
  background-color: black;
}

ul.topmenuitems li span.outer  {
  border: 0px solid red;
  height: 27px;
  display: block;
  cursor: context-menu;
}

ul.topmenuitems li:hover span.outer {
  background: url(/localmedia/img/black.gif) bottom -4px left 0px repeat-x;
}


ul.topmenuitems li:hover span.inner  {
  color: #888;
}


#topmenu .level_2 {
  display: none;
  position: absolute;
  margin: 0; padding: 0;
  margin-left: -10px;
  margin-top: 0px;
  list-style: none;
  background-color: white;
  box-shadow: 0px 0px 16px 1px #4442;
}

#topmenuitems > li:hover .level_2, #shopmenuitems  > li:hover .level_2 {
  display: block;
}

#topmenu .level_2 li {
  display: block;
  float: none;
  margin: none;
  text-align: left;
  list-style: none;
}

#topmenu .level_2 li a {
  color: black;
  display: block;
}

#topmenu .level_2 li:hover a {
  color: #888;
}

#usermenu {
  position: absolute;
  top: 12px;
  right: 10px;
  border: 0px solid red;
  z-index: 101;
}

#usermenu div.item, #burger, #pagecart {
  display: inline-block;
  height: 48px;
  width: 48px;
  background-color: white;
  margin: 0px 5px;
  border: 1px solid #2467a3;
  border: 1px solid #000;
  border-radius: 8px;
  nobox-shadow: 2px 2px 6px #fff;
  float: right;
}

#burger {
  position: absolute;
  top: 12px;
  left: 10px;
  z-index: 101;
  display: none;
}

#pagecart {
  background: url(/localmedia/sketch/cart.png)  no-repeat;
  background: url(/files/layout/korb.png) center bottom no-repeat;
  background-size: 36px 36px;
  background-color: white;
}

#usermenu div.item img, #burger img, #pagecart img {
  width: 36px;
  margin: 5px
}

#searchbar {
   float: right;
}

#searchicon {
  background: url(/files/layout/search-2.png) center no-repeat;
  background-size: 90%;
  z-index: 20;
  position: relative;
}

#searchfield {
   border: 1px solid #000;
   width:  0px;
   height: 0px;
   position: relative;
   right: -15px;
   top: 6px;
   transition: all 0.1s;
   z-index: 10;
   border-radius: 8px;
   font-size: 1.1em;
   color: #AAA;
   text-align: center;
}

form {
  display: inline;
}

#searchfield.active {
  width: 150px;
   display: inline;
   height: 36px;
   visibility: visible;
}

/* =========================================================================== */ 





.sheetcontent {
   padding: 30px; 
   padding-top: 10px;
   position: relative;
}


#contentpadding {
  padding: 0px;
  padding-top: 0px;
}

#contentpadding.padded {
  padding: 40px;
  padding-top: 0px;
}


div.fullwidthpadding {
  padding: 40px;
}


#contentpadding.breakout {
  padding: 0;
}


.break-out {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


.sheetcontent .inner {
   height: 100%;
}

.sheetcontent .claim {
   width: 30%;
   margin-left: 4%;
   line-height: normal;
   border: 0px solid red;
   text-align: center;
   position: relative;
   top: 50%;
   transform: translateY(-50%);
   text-align: center !important;
}

.sheetcontent .claim h1 {
   font-size: 3em;
}

div.gradientslider {
   height: 550px;
   width: 100%;
   background-color: purple;
   background-image: radial-gradient(circle 450px at 80% 70%, #6e6b8a,  #312241);
   color: white;
}

div.gradientslider.red {
   background-color: darkred;
   background-image: radial-gradient(circle 450px at 80% 70%, #cc6b8a,  #660033);
}

div.gradientslider.orange {
   background-color: orange;
   background-image: radial-gradient(circle 450px at 80% 70%, #de790f,  #9c4d16);
}


div.gradientslider a {
  color: white;
  text-decoration: underline;
}

/*  pizza: not needed I think? 
div.gradientslider a:hover {
  color: #CCC;
}
*/


div.fruittextholder {
   position: relative;
}

div.fruittext {
  padding-right: 14rem;
  font-size: 1.2em;
}


img.fruit {
   position: absolute;
   right: -30px;
   bottom: -70px;
   width: 14em;
   z-index: 99;
}

img.fruit.lower {
   bottom: -100px;
   right: -1em;
}

img.fruit.hanging {
   top: -80px;
   right: -50px;
}

img.fruit.hanging.lower {
   top: -20px;
   right: -50px;
}


img.fruit.hanging.higher {
   top: -130px;
}

img.fruit.slightlyhigher {
   bottom: -50px;
   right: -35px;
}


img.fruit.inline {
  position: relative;
  top: 0;
  lÃeft: 0;
  right: 0;
  bottom: 0; 
}

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


@media (max-width: 800px) {
  img.fruit { 
    width: 10em; 
    bottom: -50px;
  }
  img.fruit.slightlyhigher {
    bottom: -35px;
  }
  img.fruit.lower {
    bottom: -60px;
  }
  img.fruit.hanging {
     
  }
  div.fruittext { padding-right: 8rem; }
}


div.bgslider {
   nomax-height: 630px;
   noheight: 58vw;
   nomax-height: 700px;
   width: 100%;
   background: url(/localmedia/ambient/deckeln.webp) top left no-repeat;
   background-size: cover;
   background-position: center center;
   position: relative;
   no-background-size: auto 120%;
}


img.ratiofiller {
  width: 100%;
  display: block;
}

div.largegallery div.bgslider {
   margin-bottom: 2em;
   box-shadow: 0px 0px 8px 1px #4443;
}

div.largegallery div.bgslider:last-child {
   margin-bottom: 0;
}


div.smallgallery {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
}

div.smallgallery.inline {
  grid-template-columns: 1fr;
  margin-top: 1em;
  margin-bottom: 1em;
}

div.smallgallery div.bgslider {
  width: 100%;
  max-height: 400px;
  min-width: 300px;
  height: 0;
  padding-top: 60%;
  background-size: 105% !important;
  background-position: center center !important;
  transition: all 0.2s;
}

#contentpadding div.smallgallery div.bgslider {
  border-radius: 8px;
}

div.bgfixed {
   max-height: 500px;
   height: 40vw;
   width: 100%;
   background: url(/localmedia/ambient/deckeln.jpg) no-repeat fixed;
   background-position: left top;
   background-size: cover;
}

 div.bgcaption {
  position: absolute;
  bottom: 25px;
  width: 100%;
  color: black;
  text-align: center;
  padding-top: 17px;
  padding-bottom: 17px;
  opacity: 0.8;
  background: url(/localmedia/img/banderole-lang.gif) repeat-x;
  background: url(/files/layout/banderole-sehr-lang.gif) repeat-x;
  background-size: cover;
  background-repeat: repeat-x;
  font-size: 0.8em;
}

div.bgslider.sheetcontent div.bgcaption {
   margin-left: -30px;
}

div.bgcaption b, div.bgcaption b * {
   font-family: ott_title !important;
   font-weight: normal !important;
   text-transform: uppercase;
}

div.largegallery div.bgcaption {
  font-size: calc(10px + 1vw);
  bottom: 4em;
  padding-top: 1em;
  padding-bottom: 1em;
}

div.bgcaption span.moretext {
  display: none;
  padding-left: 3em;
  padding-right: 3em;
}


div.bgslider:hover div.bgcaption span.moretext,
div.bgslider:focus div.bgcaption span.moretext {
  display: block;
}

div.smallgallery div.bgslider:hover {
    background-size: 108% !important;
}

div.bgslider:hover div.bgcaption,
div.bgslider:hover div.bgcaption {
  opacity: 1;
  height: auto;
}



div.longcontent {
   height: 1980px;
}


div.videoholder {
  max-height: 300px; 
  height:50vw; 
  overflow: hidden; 
  position: relative; 
  background-color: darkred;
}

div.videoholder h1 {
  position: absolute; 
  top: 0px;
  width: 100%;
}




div.landingvideoholder {
  height:50vw;
  overflow: hidden;
  position: relative;

}


div.landingvideoholder h1 {
  position: absolute;
  top: 0px;
  width: 100%;
  color: white;
}


div.karodivider, div.greydivider {
  width: 100%;
  height: 80px;
  background: url(/localmedia/img/karo-380-d.gif) center 5px repeat;
  noposition: absolute;
  left: 0;
  notransition: height 0.1s;
  margin-bottom: 3em;
}

div.karodivider.with-zero-space, div.greydivider.with-zero-space {
  margin-bottom: 0px;
}

div.karodivider.without-space, div.greydivider.without-space {
  margin-bottom: 10px;
}
 
div.karodivider.small, div.greydivider.small {
   height: 40px;
}


div.greydivider {
  background: none;
  background-color: #EEE;
}



/*
#contentpadding div.karodivider {
  width: calc(100% + 80px);
  position: relative;
  left: -40px;
}
*/

div.whitedivider {
  width: 100%;
  height: 40px;
  background-color: white;
}


div.intro {
  padding-bottom: 2em;
  font-size: 1.3em;
}



/* === Small screens ========================================================= */ 




  #menu_82 {
    display: none;
  }

@media (max-width: 700px) { 

  div#topkaro {
    height: 140px;
    background-size: 250px;
  }
 
  div.karodivider {
    height: 50px;
    background-size: 250px;
  }

  div#fixedheader {
   height: 145px;
  }

  img.fruit {
     right: 0 !important;
  }

  div#headerspace {
   height: 140px;
  }


  div#banderole {
    height: 90px;
    background-size: auto 90px;
  }

  div#fixedheader.shrunk div#banderole {
    height: 130px;
    background-size: auto 130px;
  }



  #logo {
   width: 120px;
   height: 65px;
  }


#usermenu, #burger {
   top: 72px;
} 

div#fixedfooter {
   height: 105px;
}

div.footerspace {
  height: 100px;
}

div#footer {
    height: 100px;
    background-size: 250px !important;
}

div#fixedfooter.shrunk {
   height: 17px;
}

div#fixedfooter.shrunk #footer {
   height: 12px;
}

div#footerbanderole {
  bottom: -16px;
  height: 70px;
  background-size: auto 70px;
  padding: 14px;
}


div#sheet, div#fixedheader, div#fixedfooter {
   width: 100%;
}
  #burger {
   display: inline-block;
 }

  div#topmenu {
     width: 100%;
  } 
 
  ul.topmenuitems {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%; height: 100%;
    background-color: white;
    padding: 10px;
    padding-top: 30px;
  }
 
  ul.topmenuitems.shown {
    display: block;
  }
  
  #menu_82.shown {
    display: block;
  }

 
  #topmenu .level_2 {
    display: block;
    float: none;
    position: static;
    box-shadow: none;
    border: none;
    padding: 3px 10px; margin: 0;
  }  
  
  #topmenu .level_2 a {
  }

  ul.topmenuitems li {
    float: none;
    height: auto;
    text-align: left;
    padding: 3px 10px; margin: 0;
  }
 
  ul.topmenuitems li:hover,  #topmenu .level_2 li:hover a {
    background-color: white;
    color: black;
  }
  
  ul.topmenuitems li:hover span.inner {
    color: black;
  } 

  ul.topmenuitems span.inner {
    display: inline-block; 
    background-color: white;
    padding: 0px 10px;
    margin-left: 10px;
  }

  ul.topmenuitems span.outer {
    display: block; 
    background: url(/localmedia/img/banderole.gif) center top repeat-x !important;
    background-size: auto 100px !important;
    height: 14px;
    line-height: 14px;
    border: 0px solid red;
  }

  #topmenu .level_2 {
  }   
}


@media (max-width: 320px) { 

#logo {
   background-image: url(/localmedia/img/logo-nur-hm.gif);
}

/*
div#sheet, div#fixedheader, div#fixedfooter {
   width: 100%;
}
*/




}


/* =========================================================================== */ 


/* ==== LOGIN FORM =========================================================== */ 


div.loginpage div.tile {
   width: calc(50% - 30px);
   float: left;
}

div.loginpage div.tile:first-of-type {
  margin-right: 30px;
}

@media(max-width: 950px) {
  div.loginpage div.tile {
     width: 100%;
     float: none;
     margin-bottom: 30px;
  }

}

div.loginpage div.tile label {
  float: left;
  width: 110px;
  text-align: right;
}


/* ==== STATUS MESSAGES =========================================================== */ 

#status {
  text-align: center;
  position: fixed;
  z-index: 800;
  margin-left: 0px;
  margin-right: 0px;
  width: calc(100%);
  top: 104px;
}

#status SPAN {
  display: block;
  border-width: 1px;
  border-color: darkgreen;
  border-style: solid;
  border-left: 0px;
  border-right: 0px;
  background: #EFE url(/media/smallicons/accept.png) 30px center  no-repeat;
  padding: 20px;
}

#status SPAN.error {
  border-color: red;
  background: #FEF url(/media/smallicons/error.png) 30px center  no-repeat;
}

SPAN.success {
  color: darkgreen;
}

SPAN.error {
  color: darkred;
}

#fixedheader.shrunk #status {
   top: 0px;
}

#fixedheader.shrunk #status SPAN {
   border-top: 0px;
   padding: 10px;
}


@media (max-width: 700px) {
#status {
   top: 65px;
}

}




.shake {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

.shake.once {
  animation: shake 0.3s;
  animation-iteration-count: 1;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}



.flip {
  transform: rotateY(180deg);
  transition: transform 0.8s;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
