body {
	padding-bottom: 40px;
	padding-top: 50px;
}

.thumbnail {
    margin-bottom: 0px;
    background-color: rgba(255, 255, 255, 0.6);
    border-style: none;
}

.fill{
    width:100%;
    height:100%;
    min-height:600px;
    /* background-color: rgba(255,0,0,0.7); */
}

.navbar-nav>li>a.profile-image {
  padding-top: 10px;
  padding-bottom: 10px;
}

h1>.badge, h2>.badge, h3>.badge {
    vertical-align:middle;
    margin-top: -0.5em;
}

p {
    margin-top: 10px;
    margin-bottom: 5px;
}

pre {
      white-space: pre-wrap;
      word-break: normal;
}

#spinner {
    display: none;
    width:100px;
    height: 100px;
    position: fixed;
    top: 50%;
    left: 50%;
    text-align:center;
    margin-left: -50px;
    margin-top: -100px;
    z-index:2;
    overflow: auto;
}

#isotopecontainer .item {
    padding-top: 6px;
    padding-right: 6px;
}

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
	#isotopecontainer .item {
  		width: 100%;
	}
    #isotopecontainer .item-width2 {
  		width: 100%;
	}
}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
	#isotopecontainer .item {
  		width: 100%;
	}
    #isotopecontainer .item-width2 {
  		width: 100%;
	}
}

/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
	#isotopecontainer .item {
  		width: 100%;
	}
    #isotopecontainer .item-width2 {
  		width: 100%;
	}
}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
	#isotopecontainer .item {
  		width: 33.3333%;
	}
    #isotopecontainer .item-width2 {
  		width: 66.6666%;
	}
}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
	#isotopecontainer .item {
  		width: 33.3333%;
	}
    #isotopecontainer .item-width2 {
  		width: 66.6666%;
	}
}

/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
	#isotopecontainer .item {
  		width: 50%;
	}
    #isotopecontainer .item-width2 {
  		width: 100%;
	}
}

/* CO Desktop kleines Fenster */
@media only screen
and (min-width : 640px) {
  #isotopecontainer .item {
      width: 50%;
  }
  #isotopecontainer .item-width2 {
      width: 100%;
  }
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1024px) {
	#isotopecontainer .item {
  		width: 33.3333%;
	}
    #isotopecontainer .item-width2 {
  		width: 66.6666%;
	}
}

/* Desktops and laptops larger ----------- */
@media only screen
and (min-width : 1224px) {
	#isotopecontainer .item {
  		width: 25%;
	}
    #isotopecontainer .item-width2 {
  		width: 50%;
	}
}

/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
	#isotopecontainer .item {
  		width: 20%;
	}
    #isotopecontainer .item-width2 {
  		width: 40%;
	}
}

/* message carousel */

#containersingle {
    width: auto;
}

.placeholder {
    height: 500px;
}

#message-carousel .style1 {
    /* Variante 2: Höhe fix, Breite auto, Bild zentriert, Randränder */
    display: block;
    width: auto;
    height: 500px;
    max-height: 500px;
    margin: auto;
}

#message-carousel .style2 {
    /* Variante 3: Höhe auto, Breite 100%, verzerrt */
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
}

#message-carousel .style3 {
    /* Variante 1: Aspect Ratio erhalten, abschneiden */
    width: 100%;
    height: 500px;
    max-height: 500px;
    object-fit: cover;
    overflow: hidden;
    /* http://stackoverflow.com/questions/17290701/maintain-image-aspect-ratio-in-carousel */
}

#message-carousel .carousel-inner {
    border-radius: 15px;
}

#message-carousel .media-body {
    color: lightgray;
}

#message-carousel a {
    color: white;
}

#message-carousel .carousel-caption {
  background-color: rgba(0,0,0,.6);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 0 0 10px 25px;
  color: #fff;
  text-align: left;
  text-shadow: none;
}

#ticker li {
    background-color: rgba(0,0,0,.6);
    color: #fff;
}

#ticker .media-body {
    color: lightgray;
}

#ticker a {
    color: white;
}

/* Codemirror */

.CodeMirror {
    /* Bootstrap Settings */
    box-sizing: border-box;
    margin: 0;
    font: inherit;
    overflow: auto;
    font-family: inherit;
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    /* Code Mirror Settings */
    font-family: monospace;
    position: relative;
    overflow: hidden;
}

.CodeMirror-focused {
    /* Bootstrap Settings */
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.jumbotron {
    margin-bottom: 0px;
}

.btn-toolbar {
    margin-bottom: 5px;
    margin-top: 5px;
}

/* smaller Jumbotron Header sizes for Voting page */
@media only screen
and (max-width: 700px)
{
    .jumbotron h1 {
        font-size: 1.5em;
    }
    .jumbotron h2 {
        font-size: 1.25em;
    }
    .jumbotron h3 {
        font-size: 1.0em;
    }
}

.dynamictile .col-lg-4.col-md-6.col-sm-6.col-xs-12, .col-lg-2.col-md-3.col-sm-3.col-xs-6 {
    padding: 0px;
}

.tilecenter {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin:0!important;
    text-align: center;
}

#metrocontainer .tile {
    padding-left: 0px;
    padding-right: 0px;
}

#metrocontainer .item {
    overflow: hidden;
}

#metrocontainer h4 {
    margin: 5px;
    color: white;
}

#metrocontainer .media {
    margin: 5px;
    color: white;
}

#metrocontainer a {
    color: lightgray;
}

#metrocontainer .fullimg {
    width: 100%;
    height: 100%;
    /* max-height: 500px; */
    object-fit: cover;
    /* overflow: hidden; */
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
    #metrocontainer h4 {
        font-size: 10px;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
    #metrocontainer h4 {
        font-size: 12px;
    }
}

/* CO Desktop kleines Fenster */
@media only screen
and (min-width : 640px) {
    #metrocontainer h4 {
        font-size: 12px;
    }
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1024px) {
    #metrocontainer h4 {
        font-size: 14px;
    }
}

/* Desktops and laptops larger ----------- */
@media only screen
and (min-width : 1224px) {
    #metrocontainer h4 {
        font-size: 16px;
    }
}

/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
    #metrocontainer h4 {
        font-size: 20px;
    }
}

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

.tab-content>.tab-pane {
    visibility: visible;
}

.footer {
    mix-blend-mode: luminosity;
}