/* alisguggenheim.com */

/*=== Fonts ==========================================*/

@font-face {
    font-family: ost_tt_r;
    src: url(../fonts/oldstandardtt-regular.ttf);
}

/* not used */
@font-face {
    font-family: ost_tt_b;
    src: url(../fonts/oldstandardtt-bold.ttf);
}

@font-face {
    font-family: osa_tt_r;
    font-weight: 400;
    font-style: normal;
    src: url(../fonts/opensans-regular.ttf);
}
/*=== General ========================================*/

body {
    background-color: #FFFFFF;
}

body, td, th {
	/* font-family: Verdana, Arial, Helvetica, sans-serif; */
	font-family: osa_tt_r;
	font-size: 14px;
	line-height: 22px;
	color: #000000;
}

/* not used? */
.cleaner {
    font-size: 1px;
    clear: both;
    height: 1px;
}

.text-center{
    text-align: center; 
}

div.link_language {
    float: right;
    padding-right: 10px;
    margin-top: 17px;
}

div.navright {
    font-family: ost_tt_r;
    font-size: 25px;
}

@media (max-width: 875px) {
    /* div.navright {
        margin-left: 20px;
        margin-right: 20px;                    
        line-height: 38px;
    } */

    div.navright {
        display: none;
    }
	
	#left {
        float: left;
        width: 100%;
        padding-bottom: 10px;
    }
}

@media (min-width: 876px) {
	div.navright {
        margin-left: 20px;                    
        line-height: 30px;
    }
	
    #left {
        float: left;
        width: 150px;
        padding-right: 50px;
    }
}

#right {
    float: left;
    width: 100%;
    max-width: 660px;
}

@media (min-width: 670px) and (max-width: 875px) {
    #right {
        float: none;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: auto;
        margin-right: auto;
    }
}

#content {
    margin-top:15px;
    padding-top: 19px;
    /* line-height: 19px; */
    /* line-height: 20px; */
    margin-bottom: 53px;
}

/*=== Hamburger menu ===============================*/

/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

/* ...and modified by Markus Angst */

/* body {
  margin: 0;
  padding: 0;
  background: #232323;
  color: #cdcdcd;
  font-family: "Avenir Next", "Avenir", sans-serif;
} */

#menuToggle {
  display: block;
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 15px;
  position: relative;
  /* top: 50px;
  left: 50px; */
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: tomato;
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/* Transform all the slices of hamburger into a crossmark. */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/* But let's hide the middle one. */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/* Ohyeah and the last one should go the other direction */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/* Make this absolute positioned at the top left of the screen */
#menu {
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li {
  padding: 10px 0;
  font-family: ost_tt_r;
  font-size: 25px;
}

/* And let's slide it in from the left */
#menuToggle input:checked ~ ul {
  transform: none;
}

@media (min-width: 876px) {
    #menuToggle {
        display: none;
    }
}

/*=== Links ========================================*/

a:link {
    text-decoration: none;
	/* color: #999999; */
	color: #000000;
}

a:visited {
	text-decoration: none;
    /* color: #999999; */
    color: #000000;
}

a:hover {
	text-decoration: none;
	/* color: #000000; */
	color: #ed0978;
}

a:active {
	text-decoration: none;
    /* color: #000000; */
    color: #ed0978;
}

/* a[href^="http"] {
    background: url(../fonts/outline_open_in_new_black_18dp.png) center right no-repeat;
    padding-right: 20px;
    margin-right: 7px;
} */

div.navright a {
	padding-right: 35px;
}

/*=== Titles ========================================*/

h1 {
    /* font-family: ost_tt_b; */
    font-family: ost_tt_r;
    font-size: 25px;
    color: #000000;
    /* font-weight: bold; */
    font-weight: 400;
}

h2 {
    font-size: 14px;
    color: #000000;
    font-weight: bold;
}

h3 {
    font-size: 13px;
    color: #000000;
    font-weight: bold;
}

/*=== Images ========================================*/

img.home {
	float: right;
	margin: 12px 0 15px 15px;
	max-width: 100%;
}

@media (max-width: 590px) {
    img.home {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
	}
	
	p.home-first {
	   clear: right;
	}
}
img.bio1 {
	float: right;
	padding-top: 12px;
	padding-bottom: 12px;
	max-width: 100%;
}

img.bio2 {
    display: block;
    padding-top: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

img.photo {
    max-width: 100%;
}

/*=== Tables ========================================*/

@media (max-width: 710px) {
    table.tbresult, tr.trresult, td.tdresult {
        display: block;
    }

    table.tbresult {
        width: 100%;
    }
    
    td.tdresult {
        float: left;
        min-width: 230px;
        max-width: 250px;
        height: 290px;
        padding-right: 7px;
        padding-bottom: 20px;
    }
    
    td.line {
        display: none;
    }
    
    td.lightbox {
        line-height: 25px;
    }

}

@media (max-width: 535px) {
    td.tdresult {
        height: auto;
    }
}

@media (min-width: 711px) {
	table.tbresult {
        width: 700px;    
    }

    td.tdresult {
        width: 33%;
        padding-right: 7px;
        vertical-align: top;
    }
}

table.bio, table.pub {
    width: 100%; 	
}

table.bio td, table.pub td {
    vertical-align: top;
    padding-bottom: 12px;    
}

table.bio td:first-child {
    width: 12%;    
}

table.pub td:first-child {
    width: 88%;    
}

td.line {
	border-top-width: 1px;
	border-top-style: dashed;
	border-top-color: #000000;
}

td.titelbalken {
    font-size: 16px;
    color: #FF0000;
    background-color: #000000;
    font-weight: bold;
    line-height: 30px;
    padding: 10px;
}

td.grey {
    background-color: #CCCCCC;
}

td p:first-child {
	margin-top: 0;
}

td p:last-child {
    margin-bottom: 0;
}

/*=== Forms ========================================*/

@media (max-width: 600px) {
    #search_form {
       display: none;
    }
}

@media (min-width: 601px) {
    #search_form_mobile {
	   display: none;
    }
}

.eingabe {
	font-size: 11px;
	color: #000000;
	width:150px;
	background-color: #FFFFFF;
}

.eingabeshort {
	font-size: 11px;
	color: #000000;
	background-color: #FFFFFF;
}

.button1 {
    font-size: 11px;
    color: #000000;
    width:150px;
    height: 20px;
    margin-bottom: 20px;
    background-color: #FFFFFF;
}

textarea {
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
