/* 
    Document   : footer.csser
    Created on : 24.10.2013, 09:32:00
    Author     : liebsche
*/


.lower_footer {
	display: grid;
	grid-column-gap: .5em;
	grid-template-columns: 5fr 2fr;
}


#footer_ { 
   background-color: #f4f4f4;
  	font-size:0.9em;
	line-height:1.8em;
	margin: 0.6rem 0 0.45rem 0;
   padding: 0.75rem 0 0.75rem 0.95rem;
   border: solid #cfd3d6 1px;
	border-radius: 0.2rem;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
   
   
}

#footer1,
#footer2 { 
  	font-size:0.7rem;
	line-height:1rem;
   display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
}

#footer1 > div,
#footer2 > div { 
    -webkit-flex: 1 1 230px;
    -ms-flex: 1 1 230px;
    flex: 1 1 230px;
}
#footer1 { 
   background-color: #f4f4f4;
   padding: 0.75rem 0;
	margin: 0;
	border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;
}
#footer1 p {
   padding: 0 0 0.4rem 0;
}
#footer1 h4 {
   background-color: inherit;
}
#footer_social {
    margin: 0 0.5rem 0 1rem;
}
#footer_kontakt,
#footer_campus_plan {
    margin: 0 0.5rem 0 0.5rem;
}
#footer_campus_links {
    margin: 0 1rem 0 0.5rem;
	line-height:1.4rem;
}
#footer_campus_plan div {
	display: table-cell;
	width: 100%;
}
#footer_campus_plan_img {
	width: 100%;
   height: auto;
}
#footer_campus_links p {
   padding: 1.5rem 0 0 0;
}

#footer2 { 
	line-height:1.1rem;
   color: white;
   background-color: #7A003F;
   padding: 1rem 0 1rem 0;
	margin: 0 0 0.45rem 0;
	border-bottom-left-radius: 0.3rem;
	border-bottom-right-radius: 0.3rem;
}
#footer_linkblock1 { 
    margin: 0 0.5rem 0 1rem;
}
#footer_linkblock2,
#footer_linkblock3 { 
    margin: 0 0.5rem 0 0.5rem;
}
#footer_funktionen { 
    margin: 0 1rem 0 0.5rem;
}
#footer2 h5 {
   color: white;
   background-color: inherit;
}
#footer2 p,
#footer2 a,
#footer2 span { 
   color: white;
   background-color: inherit;
}
#footer2 a:before {
   color: white;
}
#footer2 a:hover,
#footer2 a:focus,
#footer2 a:active {
   color: #7A003F !important;
   background-color: white;
   border-bottom: none;
}
#footer2 a:hover:before,
#footer2 a:focus:before,
#footer2 a:active:before {
   color: #7A003F !important;
}

.f1_tel:before,
.f2_tel:before,
.map_link:before {
   content: '' !important;
}

.f1_mail:before,
.f2_mail:before {
	display: inline-block;
	width: 1.05rem;
	height: 0.95rem;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 1rem;
	line-height: 1rem;
	font-family: 'Genericons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: bottom;
	content: '\f410';
}


a.mailto:before {
	display: inline-block;
	width: 1.05rem;
	height: 0.95rem;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 1rem;
	line-height: 1rem;
	font-family: 'Genericons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: bottom;
	content: '\f410';
	color: #7A003F;
}
a.mailto {
	padding-left: 0;
}

a.mailto:hover:before {
	content: '\f410';
	color: white;
	padding: 0;
}


/* #social_block {
}*/

.permalink_block {
	position: relative;
}
.permalink_overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #7A003F;
  visibility: hidden;
}
.permalink_overlay:target {
  visibility: visible;
}

.permalink_popup {
  margin: 0.75rem auto;
  padding: 0.5rem;
  background: #7A003F;
  color: white;
  border-radius: 5px;
  width: 100%;
  position: relative;
  bottom: 50px;
  border: 1px solid white;
}

.permalink_popup .permalink_close {
  position: relative;
  top: 0;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: white !important;
}
.permalink_popup .permalink_close:hover {
  color: orange;
}
.permalink_popup .permalink_content {
  max-height: 30%;
  overflow: auto;
  color: white;
}




@media screen and (max-width: 700px) {

#footer1,
#footer2 { 
   -webkit-flex-wrap: wrap;
   -ms-flex-wrap: wrap;
   flex-wrap: wrap;  
   }     
   
#footer1 > div,
#footer2 > div{ 
    -webkit-flex: 1 1 35%;
    -ms-flex: 1 1 35%;
    flex: 1 1 35%;
}


#footer_social {
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    margin: 0 0.5rem 0.5rem 1rem;
}
#footer_kontakt {
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    margin: 0 0.5rem 0.5rem 1rem;
}
#footer_campus_plan {
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    margin: 0 1rem 0.5rem 0.5rem;
}
#footer_campus_links {
    -webkit-order: 4;
    -ms-flex-order: 4;
    order: 4;
	line-height:1.3rem;
    margin: 0 1rem 0.5rem 0.5rem;
}
#footer_campus_links p {
   padding: 0.3rem 0 0 0;
}

#footer_linkblock1{ 
    margin: 0 0.5rem 0.75rem 1rem;
}
#footer_linkblock2 { 
    margin: 0 1rem 0.75rem 0.5rem;
}
#footer_linkblock3 { 
    margin: 0 0.5rem 0 1rem;
}
#footer_funktionen { 
    margin: 0 1rem 0 0.5rem;
}
   
}


/*   Einstellungen für Bildschirmauflösung unter 480 Pixel  - z.B. Smartphones im Hochformat  */ 

@media screen and (max-width: 450px) {

#footer1 > div,
#footer2 > div { 
    -webkit-flex: 1 1 99%;
    -ms-flex: 1 1 99%;
    flex: 1 1 99%;
}

#footer_campus_links {
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
	line-height:1.2rem;
}

#footer_kontakt {
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    margin: 0 1rem 0.5rem 1rem;
}
#footer_social {
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    margin: 0 1rem 0.5rem 1rem;
}
#footer_campus_plan {
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    margin: 0 1rem 0.5rem 1rem;
}
#footer_campus_links {
    -webkit-order: 4;
    -ms-flex-order: 4;
    order: 4;
    margin: 0 1rem 0rem 1rem;
}
#footer_campus_links p {
   padding: 0 0 0.5rem 0;
}

#footer_linkblock1{ 
    margin: 0 1rem 0.75rem 1rem;
}
#footer_linkblock2 { 
    margin: 0 1rem 0.75rem 1rem;
}
#footer_linkblock3 { 
    margin: 0 1rem 0.75rem 1rem;
}
#footer_funktionen { 
    margin: 0 1rem 0 1rem;
}

   
}

