/**
 *  Susan Zahraii 2017
 *  ----------------------------------------------------------
 *  
 *  color scheme
 *  ------------
 *  dkgreen = #3C534C
 *  medgreen = #495F58
 *  lgtgreen = #E2ECE9
 *  
**/

/** @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,600); **/

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 300;
  font-style: normal;
  src: url('../fonts/Source_Sans_Pro/SourceSansPro-Light.ttf') format('truetype');
}

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf') format('truetype');
}

@font-face {
  font-family: "Source Sans Pro";
  font-weight: 600;
  font-style: normal;
  src: url('../fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf') format('truetype');
}


html, 
body,
div,
p  {
  font-family: "Source Sans Pro", sans-serif;
}

body {
  background: #3C534C;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #E2ECE9;
  height: 100%;
}

h1 {
  font-size: 2.65em;
  margin-top: 10px;
}

@media only screen and (max-width:768px) {
  h1 {
    font-size: 2em;
  }
}

img {
  max-width: 100%;
}

.dkgreen {
  color: #3C534C;
}

.lgtgreen {
  color: #E2ECE9;  
}

a,
a:link,
a:visited {
  color: #E2ECE9;
  text-decoration: none;
  outline: none;
  transition: all linear .3s;
}

a:hover,
a:active {
  color: #fff;
  text-decoration: none;
  outline: none;
}

.btn-default {
  display: inline-block;
  padding: 5px 10px;
  background: #495F58;
  color: #E2ECE9;
  transition: all linear .4s;
  cursor: pointer;
}

.btn-default:hover {
  background: #E2ECE9;
  color: #495F58;
  cursor: pointer;
}


/* navbar */
.zahraii-nav {
  position: absolute;
  z-index: 998;
  bottom: 0;
  left: 0;
  right: 0;
  background: #3C534C;
  min-height: 32x;
  padding: 15px 15px 5px;
  text-align: center;
}

@media only screen and (max-width:768px) {
  .zahraii-nav {
    position: fixed;
    bottom: auto;
    top: 0;
  }
}

.zahraii-nav ul {
  width: 100%;
  list-style-type: none;
  margin-left: -20px;
}

.zahraii-nav ul li {
  display: inline-block;
}

.zahraii-nav ul > li > a {
  color: #E2ECE9;
  padding: 5px 15px;
  text-align: center;
}

.content-wrapper {
  /* box-shadow: 0 1px 4px #b3b3b3; */
}

@media only screen and (min-width:1280px) {
  .content-wrapper .content-panel {
    min-height: 800px;
  }
}

/* Home Panel 1 */
#home-panel-1 {
  background: #3C534C url('../img/bg_body.png') center bottom no-repeat;
  background-size: contain;
  text-align: center;
  padding: 8% 25%;
}

#home-panel-1 h1.susan-zahraii {
  font-size: 3.65em;
}

#home-panel-1 h3.rechtsanwaeltin {
  font-size: 2.5em;
}

#home-panel-1 .contact-line {
  font-size: .9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .6;
  -moz-opacity: .6;
  -webkit-opacity: .6;
  -o-opacity: .6;
}

/* Home Panel 2 */
#home-panel-2 {}

#home-panel-2 .welcome {
  padding: 5% 30px;
}

#home-panel-2 .welcome p {
  text-align: justify;
}

#home-panel-2 .contact {
  padding: 5% 15px;  
}

.google-maps {
  width: 100%;
}

.google-maps iframe.google-map {
  width: 100%;
  height: 400px;
  border: none;
}

@media only screen and (max-width:768px) {
  #home-panel-1 {
    padding: 30% 15px;
  }
  
  #home-panel-1 h1.susan-zahraii {
    font-size: 3em;
  }
  
  #home-panel-1 h3.rechtsanwaeltin {
    font-size: 1.5em;
  }  
}

/* Content layer */
.content-layer {
  background: rgba(60,83,76,.95);
  position: fixed;
  z-index: 9998;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
}

.content-layer .layered-content {
  overflow: auto;
  height: 600px;
  min-height: 600px;
}

@media only screen and (min-width:769px) {
  .content-layer {
    padding-top: 10%;
    padding-bottom: 10%;
  }
}

@media only screen 
and (max-width:768px)
and (orientation:portrait) {
  .content-layer .layered-content {
    overflow: auto;
    height: 900px;
    min-height: 900px;
  }
}

.open-content-layer,
.close-content-layer {
  cursor: pointer;
}

.close-content-layer {
  position: fixed;
  z-index: 9999;
  top: 20px;
  right: 20px;
  font-size: 1.65em;
  color: #fff;
}


/* contact form */
#contactform {}

#contactform input,
#contactform textarea {
  background: #495F58;
  color: #E2ECE9; 
  border-color: #3C534C;
  margin-bottom: 10px;
}

#contactform textarea {
  height: 200px;
}

#contactform #email-address {
  display: none;
}






/* Footer */
footer {
  color: #999;
  padding-top: 30px; 
  padding-bottom: 15px;
  letter-spacing: 1px;
}

footer a,
footer a:link,
footer a:visited {
  color: #999;
}

footer a:hover,
footer a:active {
  color: #E2ECE9;
}

.scroll-top {
  position: fixed;
  width: 40px;
  height: 40px;
  right: 20px;
  bottom: 15px;
  z-index: 999;
}

.scroll-top:hover {
  box-shadow: 0 0 4px #E2ECE9;
}






/** 
 *  iPad Retina Displays 
**/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2) { 

  .navbar-header {
    float: none;
  }
  
  .navbar-left,
  .navbar-right {
    float: none !important;
  }
  
  .navbar-right{
    margin-right: 0;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  
  .navbar-fixed-top {
    top: 0;
    /* border-width: 0 0 1px; */
  }
  
  .navbar-collapse.collapse {
    display: none!important;
  }
  
  .navbar-nav {
    float: none!important;
    margin-top: 7.5px;
  }
  
  .navbar-nav > ul {
    width:100%;
  }
  
  .navbar-nav > li {
    float: none;
  }
  
  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ddd;
    background-color: transparent;
  }
  
  .collapse.in{
    display:block !important;
  }
} 