/*
Theme Name: d-night_2018
Theme URI: http://d-night-studio.com
Description: Template for d-night-studio
Author: eighty
Author URI: http://eighty-music.com
*/


/***************************************************************
				GENERAL STUFF
***************************************************************/

/************ STRUCTURE ************/

* {
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  height: 100%;
  overflow-y: hidden;
}


body {
  height: 100%;
  background-color: #fff;
  background-image: url('/img/back.jpg');
  background-position: right;
  background-size: cover;
  background-attachment: fixed;
  overflow-y: scroll;
}

/************ FONTS ************/
.text {
  padding: 20px;
}

body {
  font-family: Helvetica;
}

h1 {
  font-weight: bold;
}

h2 {
  font-weight: bold;
  margin: 50px 0 50px 0;
  padding: 0 0 40px 20px;
}

h3 {
  font-weight: bold;
  padding: 30px 0 10px 20px;
}

h4 {
  margin: 20px 0 10px 0;
}

p {
  font-size: 1.1em;
  padding-bottom: 10px;
}

a {
  text-decoration: none;
}

a:hover {

}

li {
  list-style-type: none;
  text-decoration: none;
}

ul {
  list-style-type: none;
  text-decoration: none;
}

.whitetext {
  color: #ddd;
}

.whitetext a {
  color: #ddd;
  font-weight: bold;
}

.whitetext a:hover {
  color: #999;
}

.darktext {
  color: #333;
}

/*********** Alignments ************/

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}


/****************** classes ***************/

.window {
  max-width: 1200px;
	width: 80%;
	margin: 0 auto;
}

.windowsmall {
	width: 50%;
  margin: 20px auto;
	padding: 20px;
}

.fullpic {
  width: 100%;
  background-color: yellow;
}

.fullbox {
  width: 100%;
}

.textbox {
  padding: 80px 0 100px 0;
}

.darkbox {
  background-color: #282c32;

}

.borderLeft {
  border-left: solid 1px #aaa;
}
.borderRight {
  border-right: solid 1px #aaa;
}

.border {
  border: solid 1px #aaa;
}

/****************** social media ***************/

/*** youtube embed stuff ***/

.yt {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.yt iframe,
.yt object,
.yt embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*** general social media stuff **/

.footer-sm-icons {
	height: 100px;
  width: 100px;
  margin: 40px 0;
}

.footer-sm-icons img {
	visibility: hidden;
  height: 100px;
}

/*** facebook stuff ***/
.footer-fb {
	background: url('img/facebook-dadada.png') no-repeat;
	background-size: contain;
  float: left;
}

.footer-fb:hover {
	background: url('img/facebook.png') no-repeat;
	background-size: contain;
}

/*** instagram ***/
.footer-ig {
	background: url('img/instagram-dadada.png') no-repeat;
	background-size: contain;
  float: left;
}

.footer-ig:hover {
	background: url('img/instagram.png') no-repeat;
	background-size: contain;
}

/** youtube stuff ***/
.footer-yt {
	background: url('img/youtube-dadada.png') no-repeat;
	background-size: contain;
  float: left;
}

.footer-yt:hover {
	background: url('img/youtube.png') no-repeat;
	background-size: contain;
}



/****************** grids ***************/

/**************TwoGrid ****/
.twogrid-static {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-areas:
  "LeftGrid RightGrid"
}

.LeftGrid-static {
  grid-area: LeftGrid;
  margin: 10px 20px 5px 10px;
}
.RightGrid-static {
  grid-area: RightGrid;  margin-top: 50px;
  margin: 10px 5px 5px 20px;
}


.twogrid {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-areas:
  "LeftGrid RightGrid"
}
.LeftGrid {
  grid-area: LeftGrid;
}
.RightGrid {
  grid-area: RightGrid;
}

.twogridYT {
  padding: 0 10px;
}

/**************ThreeGrid ****/
.threegrid {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-template-areas:
  "LeftGrid MiddleGrid RightGrid"
}
.ThreeLeftGrid {
  grid-area: LeftGrid;
  padding: 10px;
}
.ThreeMiddleGrid {
  grid-area: MiddleGrid;
  padding: 10px;
}
.ThreeRightGrid {
  grid-area: RightGrid;
  padding: 10px;
}

/***************************************************************
				HEADER STUFF
***************************************************************/

header {
	height: 60px;
	width: 100%;
	background-color: #222;
	position: fixed;
  z-index: 666;
}

#headershadow {
	height: 60px;
}

nav {
  float: right;
  margin-top: 10px;
}

#nav-menu-icon {
  display: hidden;
  width: 35px;
  height: 35px;
  background: url(img/menu-256-white.png) center;
  background-size: contain;
}

a:hover#nav-menu-icon {
  border-radius: 4px 4px 0 0;
}

nav ul li {
  display: inline-block;
  float: left;    /*destroys mobile dropdown*/
}

nav ul li a {
	font-size: 1.1em;
	color: #fff;
	line-height: 40px;
	text-decoration: none;
	padding: 8px 20px;     /*padding top/bottom has to fit with div height*/
        /*background-color: #fff;*/
}

nav ul li a:hover {
	color: #aaa;
	text-decoration: none;
	/*background-color: #000000;*/
}

.current {
  color: #666;    /*current site in nav darker*/
}

#flags {
  float: right;
  padding-top: 25px;
  margin-left: 30px;
}


#flags img {
  visibility: hidden;
  width: 20px;
}

#flags a {
  padding: 0;
}

.flag {
  background-color: purple;
}


.flag-icon-de {
  background: url('img/de-flag-grey.png') no-repeat;
  background-size: contain;
}

.flag-icon-de:hover {
  background: url('img/de-flag.png') no-repeat;
  background-size: contain;
}


.flag-icon-en {
  background: url('img/en-flag-grey.png') no-repeat;
  background-size: contain;
}

.flag-icon-en:hover {
  background: url('img/en-flag.png') no-repeat;
  background-size: contain;
}
/***************************************************************
				CONTENT STUFF
***************************************************************/

#mainwrap {
  padding: 0 0 80px 0;
}

#bannerpic {
  background-color: #282c32;
}

#studiotext {
  text-align: left;
  padding-left: 20px;
}

#studiotext p {
  margin-bottom: 20px
}


#studiopic {
  background-color: transparent;
}

#randallbox {
  background-image: url('img/randall.jpg');
  background-size: cover;
  background-position: center;
}

#techtext {
}

#randallrighttext {
  background-image: url('img/black66perc.png');
  margin: 900px 0 0 100px;
  padding: 80px 20px;
  border-radius: 20px;
  text-align: center;
  font-size: 1.3em;
}

#randallrighttext a {
  color: yellow;
}

#randallrighttext a:hover {
  color: white;
}

#dbxbox {
  background-image: url('img/dbx.jpg');
  background-size: cover;
  background-position: right;
}


/*************** Guide to Goodness *************/
#GTGnav ul {
  text-align: center;
}

#GTGnav li {
  display: inline-block;
}

#GTGnav ul li a {
	font-size: 1.3em;
	color: #000;
	line-height: 40px;
	text-decoration: none;
  font-weight: bold;
	padding: 8px 20px;     /*padding top/bottom has to fit with div height*/
}



#GTGnav ul li a:hover {
	color: #666;
	text-decoration: none;
}

#GTGText a {
  font-size: 1.1em;
  color: #000;
  line-height: 40px;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 15px;     /*padding top/bottom has to fit with div height*/
}

#GTGText h3 {
  margin-top: 30px;
}


#GTGText p {
  text-align: justify;
}


/***************************************************************
				FOOTER STUFF
***************************************************************/

footer {
	width: 100%;
	min-height: 500px;
}

footer a {
  color: #aaa;
}

footer a:hover {
  color: #fff;
}

#overfooter {
  min-height: 200px;
  padding: 20px 0;
  margin-bottom: 60px;
  /*border-top: solid 1px #aaa;*/
}

#copyrightfooter {
  margin: 0 auto;
  padding-top: 30px;
  text-align: center;
  border-top: solid 1px #aaa;
}

#copyrightfooter p {
  padding: 30px 0;
  color: #666;
}

#copyrightfooter a {
  color: #666;
  font-weight: bold;
}

#copyrightfooter a:hover {
  color: #aaa;
}

/***************************************************************
				RESPONSIVE STUFF
***************************************************************/

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

  header {
          height: 40px;
          position: relative;
  }

  #headershadow {
	  height: 0px;
  }

  #nav-menu-icon {
          display: inline-block;
          height: 32px;
  }

  nav {
          margin-top: 3px;
  }

  nav ul, nav:active ul {
          position: absolute;
          display: none;
          z-index: 1000;
          padding: 20px;
          background: #222;
          right: 20px; /*sonst dropdown außerhalb fenster!!!*/
          top:40px;
          border: solid 1px #fff;
          border-radius: 10px 0 10px 10px;
          width: 35%;
          min-width: 200px;
  }

  nav ul li {
          float: none;
  }

  nav ul li a {
          line-height: 40px; /*darstellung noch nciht schön */
          font-size: 1.5em;
  }

  nav:hover ul {
          display: block;
  }

  nav li {
          text-align: center;
          width: 100%;
          padding: 10px 0;
  }



  #flags {
    width: 100%;
    height: 35px;
    padding-top: 0px;
  }

  #flags img {
    width: 50px;
  }

  .flag {
    width: 50px;
    margin: 0 10px;
  }



  .borderLeft {
    border-right: solid 1px #aaa;
  }

  .borderRight {
    border-left: solid 1px #aaa;
  }

  .twogrid {
    grid-template-columns: 100%;
    grid-template-areas:
    "LeftGrid"
    "RightGrid";
  }

  .threegrid {
    grid-template-columns: 100%;
    grid-template-areas:
    "LeftGrid"
    "MiddleGrid"
    "RightGrid";
  }


  #studiotext {
    text-align: justify;
    padding: 40px 0 0 0;
  }


  #randallrighttext {
    margin: 100px 0 0 0;
  }

}
