body {
    text-rendering: optimizelegibility;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga", "kern";
    padding-top: 160px;
    background-color: #EcEcEc;
    font-weight: normal;
    font-style: normal;
    font-family: "Myriad Set Pro","Lucida Grande","Helvetica Neue","Helvetica","Arial","Verdana","sans-serif";
}

.spinner {
  margin: 100px auto 0;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}


.grid {
  width:100%;
  max-width: 940px;
  margin: 0px auto;
}

.grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  width: 300px;
  float:left;
}

article {
    margin: 10px 0px;
    min-width: 300px;
    border-radius: 5px;
    border: 1px solid #e1e8ed;
    padding: 20px;
}

article.display_one {
    visibility: visible !important;
    border-radius: 5px;
    width:auto;
    border: 1px solid #e1e8ed;
    padding: 20px;
    margin-bottom:25px;
}

#content-container {
    padding-top: 2em;
    padding-bottom: 2em;
    background-color: #fff;
}

#footer-container {
    background-color: #fff;
}

.icon-container {
    width: auto;
}

@media (max-width: 560px) {
    .icon-container{
        width: 280px;
    }
}
@media (max-width: 325px) {
    .icon-container{
        width: 128px;
    }
}

.start-icon {
    height: 128px;
    width: 128px;
    border-radius: 35px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.logo-container::after {
    content: '';
    display: block;
    clear: both;
}

.logo {
    height: 60px;
    width: auto;
    margin: 20px 20px 0 0;
}

.logo img {
    width: auto;
    height: 60px;
}

.navbar-toggle {
    position: absolute;
    margin: 0;
    right: 15px;
    left: auto;
    top: 50%;
    transform: translate(0,-50%);
}

.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    max-height: 300px;
}

.navbar-brand {
    padding: 20px;
}

.navbar-nav > li > a {
    padding: 0 15px;
    vertical-align: middle;
    line-height: 100px;
}

.navbar-default .navbar-nav > li > a {
    color: #05355c;
}

@media (max-width: 1069px) {
    .navbar-nav > li > a {
        line-height: 40px;
    }
}

#sidebar .list-group, #sidebar .list-group-item {
    background-color: transparent;
}

/* for list-groups nested within a list-group-item, reset the bottom margin */
.list-group-item > .list-group {
    margin-bottom: 0px;
}

/* for list-group-items nested within a list-group-item, reset the bottom
   padding of the last item, b/c the containing item has paddimg already
 */
.list-group-item .list-group-item:last-child {
    padding-bottom: 0px;
}

.list-group-item {
    border: none;
}

.tag-0 {
    font-size: 16pt;
}

.tag-1 {
    font-size: 13pt;
}

.tag-2 {
    font-size: 10pt;
}

.tag-3 {
    font-size: 8pt;
}

.tag-4 {
    font-size: 6pt;
}

#aboutme {
    padding-top: 0px;
    padding-bottom: 5px;
    -ms-word-break: normal;
    word-break: normal;
}

#sidebar {
    padding-top: 0px;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#sidebar a {
    color: inherit;
}

.icon-label {
    margin-left: 10px;
}

/* Example for how to control spacing between icon and label in specific
   lists in the sidebar. To change, override in your CUSTOM_CSS           */
#sidebar #social i {
    margin-right: 3px;
}

a, a:hover {
    color: #08C;
}

.entry-content a {
    text-decoration: none;
    color: #08C;
}

.entry-content a:hover {
    text-decoration: none;
    border-bottom: 1px solid;
    color: #08C;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-content figcaption, .caption {
    font-size: small;
    margin-bottom: 2px;
}

.summary img {
    max-width: 100%;
    height: auto;
}


.floatright, .align-right {
    float: right;
}

.floatleft, .align-left {
    float: left;
}

.floatcenter, .align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figure.floatright, .align-right {
    margin-left: 4px;
}

figure.floatleft, .align-left {
    margin-right: 4px;
}

figure.floatcenter, .align-center {
    margin-bottom: 11px;
}

.highlighttable pre {
    /* Removes bootstrap default margin-bottom */
    margin-bottom: 0px;
}

.highlighttable {
    /* Adds them margin-bottom to highlightable instead of <pre> */
    margin-bottom: 11px;
}

.highlighttable {
    width: 100%;
}

#categories ul, #tags ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.docutils.footnote td.label {
    display: table-cell;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    text-align: inherit;
    white-space: inherit;
    border-radius: inherit;
}

.categories-timestamp {
    color: #AAAAAA;
    font-size: 0.9em;
    margin-right: 10px;
}

.tagcloud li {
    padding: 0px;
}

.pdfContainer {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 7px;
    border: 1px solid rgba(0, 0, 0, 0);
    resize: vertical;
    overflow: auto;
    width: 100%;
    height: 80vh;
}

/* CSS classes for theses formatting */

div.thesis-overview > h3 {
    margin-left: 15px;
    margin-bottom: 8px;
    font-size: 20px;
}

div.thesis-overview > h3 a:link, div.thesis-overview > h3 a:visited {
    color: inherit;
}

div.thesis-overview > h3 a:hover, div.thesis-overview > h3 a:active {
    color: #333;
    text-decoration: none;
    border: 0;
}

div.thesis-tabview {
    margin: 0 15px 35px 15px;
    padding: 0;
    border: 0;
}

div.thesis-tabview > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #666;
    height: 25px;
}

div.thesis-tabview > ul::after {
    content: "";
    display: block;
    clear: both;
}

div.thesis-tabview > ul > li {
    float: left;
    position: relative;		/* for ::after element position */
    bottom: 0;
    margin-right: 15px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

div.thesis-tabview > ul > .thesis-active-tab::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 1px;
    border-bottom: 2px solid white;	/* active tab seems to be in the foreground */
    width: 118px;
}

div.thesis-tabview .thesis-details a:link, div.thesis-tabview .thesis-details a:visited, div.thesis-tabview .thesis-no-details a:link, div.thesis-tabview .thesis-details a:visited {
    display: block;
    width: 120px;
    color: rgb(5, 53, 92);
    background-color: white;
    border: 0;
    border-bottom-left-radius: 7px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    text-align: center;
    padding: 2px;
    margin: 0;
    margin-bottom: -1px;
    outline: none;
    position:relative;
    top: 0px;
    bottom: 0px;
}

div.thesis-tabview .thesis-details a:hover {
    text-decoration: none;
    background-color: rgb(245, 245, 245);
}

div.thesis-tabview .thesis-no-details {
    margin-right: 30px;
    display: none;
}

div.thesis-tabview .thesis-no-details a {
    padding: 2px;
    margin: 0;
    margin-bottom: -1px;
    position:relative;
    top:0px;
    bottom:0px;
}

div.thesis-tabview .thesis-no-details a:hover {
    text-decoration: none;
    background-color: rgb(245, 245, 245);
}

div.thesis-tabview > ul > .thesis-details::before, div.thesis-tabview > ul > .thesis-no-details::before {
    content: "";
    position: absolute;
    left: 0px;
    bottom: -2px;
    border-bottom: 2.2px solid white;	/* white line to cut the edge before the rounded corner */
    width: 7px;
    z-index: 1;
}

div.thesis-tabview > ul > .thesis-details::after, div.thesis-tabview > ul > .thesis-no-details::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 0px;
    height: 25px;
    border: 1px solid #666;		/* draw the border above the white line (see before-element) */
    border-bottom-left-radius: 7px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

div.thesis-tabview .thesis-tab {
    display: none;
}

div.thesis-tabview .thesis-tab a:link, div.bar .thesis-tab a:visited, div.thesis-tabview .thesis-active-tab a:link, div.bar .thesis-active-tab a:visited {
    display: block;
    width: 120px;
    background-color: white;
    border: 1px solid #666;
    border-bottom: 0;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    text-align: center;
    padding: 2px;
    padding-bottom: 1px;
    margin: 0;
    outline: none;
}

div.thesis-tabview .thesis-tab a:link, div.bar .thesis-tab a:visited {
    color: rgb(5, 53, 92);
}

div.thesis-tabview .thesis-tab a:hover {
    text-decoration: none;
    background-color: rgb(245, 245, 245);
}

div.thesis-tabview .thesis-active-tab a {
    color: #666;
    background-color: white;
}

div.thesis-panel {
    margin: 0;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid #666;
    display: none;
}

div.thesis-panel > div {
    margin-top: 0;
    margin-bottom: 0;
}

div.thesis-panel .well {
    text-align: justify;
}

div.thesis-panel .bibtex-copy-button {
    float: right;
    width: 170px;
    margin-bottom: 5px;
    padding: 2px;
    border: 1px solid #666;
    border-radius: 5px;
    color: rgb(5, 53, 92);
    background-color: white;
    outline: none;
}

div.thesis-panel pre.bibtex-code {
    margin: 0;
    clear: both;
}


/* CSS classes for the zoomable-images plugin */

a.zoomable-image-link {
    cursor: pointer;
}

div.zoomable-image-modal .modal-dialog {
    width: auto;
}

div.zoomable-image-modal .close {
    margin-top: -11px;
}


/* CSS classes used by TextLayerBuilder to style the text layer divs */

/* This stuff is important! Otherwise when you select the text,
   the text in the divs will show up! */
::selection { background:rgba(0,0,255,0.3); }
::-moz-selection { background:rgba(0,0,255,0.3); }

.textLayer {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	color: #000;
	font-family: sans-serif;
	overflow: hidden;
}

.textLayer > div {
	color: transparent;
	position: absolute;
	line-height: 1;
	white-space: pre;
	cursor: text;
}
.pdfHeader {
	display: inline-block;
	position: absolute;
	z-index:2;
	left: 50px;
	top: 20px;
}
.pdfNum {
	font-size: 20pt;
	opacity: 1;
	display: inline-block;
	transition: opacity .5s;
	-webkit-transition: opacity .5s;
	background-color: rgba(255,255,255,.75);
}

.pdfDownload, .pdfDownload:visited, .pdfDownload:link{
  border:none;
  outline:none;
  text-decoration:none;
  color:inherit;
  -webkit-tap-highlight-color: white;
}

.pdfDownload:hover,
.pdfDownload:focus {
  color: #08C;
  text-decoration: none;
}

@media (max-width: 349px) {
	.pdfNum {
		display: none;
	}
	.pdfDownload {
		display: none;
	}
}

@media (max-width: 764px) {
	.pdfHeader {
		left: 20px;
		top: 5px;
	}
	.pdfNum {
		font-size: 15pt;
	}
	.pdfDownload > div {
		font-size: 15pt;
	}
}

.pdfButton {
	display: inline-block;
	position:absolute;
	width:50px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-ms-user-select: none;
	z-index:2;
}

.pdfInvisible {
    display: none !important;
    visibility: hidden;
}

.pdfLoading {
    border: 2px solid;
    border-radius: 10px;
    text-align: center;
    display:table;
}

.loadingIcon{
    top: 45%;
    position: absolute;
}


.carousel-outer-container{
    height: 450px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
  width: 210px;
  height: 200px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  top: 100px;
  -webkit-perspective: 1100px;
  -moz-perspective: 1100px;
  -o-perspective: 1100px;
  -ms-perspective: 1100px;
  perspective: 1100px;
}

#carousel {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;

  -webkit-transition: -webkit-transform 1s;
  -moz-transition: -moz-transform 1s;
  -o-transition: -o-transform 1s;
  -ms-transition: -ms-transform 1s;
  transition: transform 1s;
}

#carousel div {
    transform-style: preserve-3d;
    height: 200px !important;
    width: 200px !important;
    display: block;
    position: absolute;
}

#carousel img {
  display: block;
  position: absolute;
  height: 200px !important;
  width: 200px !important;
  border-radius: 35px;
  margin-top: 2px;
  margin-bottom: 2px;
  outline: 1px solid transparent;
  opacity: 0;

  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -ms-transition: opacity 1s;
  transition: opacity 1s;
}

#carousel a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;

}

.carousel-description {
    position: absolute;
    width : 200px;
    top: 250px;
    left: 0px;
    text-align: center;
    opacity: 0;
    z-index: 0;

    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    -ms-transition: opacity 1s;
    transition: opacity 1s;
}

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}

.formula {
    margin-bottom: 10px;
}

table {
    margin-bottom: 5px;
}

td, th {
    padding: 5px;
}

#cookie-info {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 20px;
    width: 100%;
    background-color: #023d6b;
    color: white;
    font-weight: bold;
}

#cookie-info-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#cookie-info-container > * {
    vertical-align: middle;
}

#cookie-info-container > button {
    float: right
}

#legal-links > a {
    min-width:6em;
    display: inline-block;
    margin:0.5em;
}
