/* Allows padding to be added to elements without affecting the width.*/
* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  background-color: #000000;
  position: relative;
}

@media screen and (orientation: portrait) {
  #wrapper {
    transform: rotate(90deg);
    transform-origin: center;
    width: 100vh;
    height: 100vw;
    overflow-y: auto;
  }
}

/* Background image added to div instead of body */
.main-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent url(../img/bg.jpg) no-repeat bottom 40% center;
  background-size: cover;
  z-index: 1;
}

/* Container added as a main wrapper for all the content*/
.container {
  max-width: 835px;
  margin: 15px auto;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

}

.logo {
  max-height: 100px;
  margin: 0 auto;
}

/* The panels are stacked above each other. The use of absolute positioning the panels has been removed. */
.panel {
  border-radius: 10px;
  position: relative;
  z-index: 2;
  padding: 25px;
  margin-bottom: 10px;
  color: #FFFFFF;
  background-color: #0D0D0D;
}

.main-header {
  padding: 15px;
  margin-top: 2px;
}

.main-header .panel {
  margin-bottom: 0;
}

/* Originally xflex below was flex */

.main-content {
  padding: 0 15px;
  height: 100%;
  position: relative;
  xflex: 1 0 auto;
}

/* Margin-top set to 0 as padding-top set on main-header */

.frame2 {
  margin-top: 15px;  
}

.frame3 {
  margin-top: 28px;  
}

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

.frame4 {
  margin-top: 28px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  padding: 10px;   
  color: #FFFFFF;
  background-color: #0D0D0D;    
}

/* Add wrapper around iframe if used and set a width on the iframe element */

.iframe-border iframe {
    border: 0px;
	height: 94px;
	width: 430px;
	margin-bottom: 10px;
}


/* HTML5 Radio player set to spread across container */
.radio-player {
  width: 100%;
}


.img-responsive {
  max-width: 100%;
  display: block;
}

.tag {
  margin: 0 auto;
}

.profile .img {
  min-height: 100px;
  position: relative;
  background: transparent url(../img/header.jpg) no-repeat 0 0;
  background-size: cover;
}

/* @media screen and (min-width) tells the browser to use these CSS properties on a screen and when the
  overall width of the screen is a maximum of 768px */
@media screen and (min-width: 768px) {
  .profile .img {
    width: 403px;
    margin: 0 auto;
  }
}

/* CUT HERE */

.profile .img {
min-height: 100px;
background: transparent url(../locker/+wakeup.jpg) no-repeat 0px 0px;
background-size:cover;
-webkit-background-size: cover;
-o-background-size: cover;
-ms-background-size: cover;
-moz-background-size: cover;
min-height: 105px;
position:relative;
}
.profile-img2{
background:url(../locker/+mornings.jpg) no-repeat 0px 0px;
background-size:cover;
-webkit-background-size: cover;
-o-background-size: cover;
-ms-background-size: cover;
-moz-background-size: cover;
min-height: 105px;
position:relative;
}
.profile-img3{
background:url(../locker/+lunchtime.jpg) no-repeat 0px 0px;
background-size:cover;
-webkit-background-size: cover;
-o-background-size: cover;
-ms-background-size: cover;
-moz-background-size: cover;
min-height: 105px;
position:relative;
}
.profile-img4{
background:url(../locker/+afternoons.jpg) no-repeat 0px 0px;
background-size:cover;
-webkit-background-size: cover;
-o-background-size: cover;
-ms-background-size: cover;
-moz-background-size: cover;
min-height: 105px;
position:relative;
}
.profile-img5{
background:url(../locker/+evenings.jpg) no-repeat 0px 0px;
background-size:cover;
-webkit-background-size: cover;
-o-background-size: cover;
-ms-background-size: cover;
-moz-background-size: cover;
min-height: 105px;
position:relative;
}
.profile-img6{
background:url(../locker/+nighttime.jpg) no-repeat 0px 0px;
background-size:cover;
-o-background-size: cover;
-ms-background-size: cover;
-moz-background-size: cover;
min-height: 105px;
position:relative;
}

/* CUT HERE */

/* Flexslider styling to mimic original design*/
.flexslider {
  background-color: #0D0D0D;
  border-radius: 0;
  border: none;
  margin-bottom: 0;
}

@media screen and (min-width: 768px){
  .flexslider {
    width: 403px;
    margin: 0 auto;
  }
}

.flexslider .flex-direction-nav a,
.flexslider:hover .flex-direction-nav a {
  display: block !important;
  opacity: 1 !important;
}

.flexslider .flex-direction-nav .flex-prev,
.flexslider:hover .flex-direction-nav .flex-prev{
  left: -46px;
}

.flexslider .flex-direction-nav .flex-next,
.flexslider:hover .flex-direction-nav .flex-next {
  right: -60px;
}

.flex-direction-nav {
  display: none;
}

.flex-direction-nav a {
  transition-property: none;
  display: block;
}

.flex-direction-nav .flex-prev {
  left: 0;
}

.flex-direction-nav .flex-nav-prev a::before {
  background: transparent url(../img/previous.png) no-repeat 0 0;
  display: block;
  width: 36px;
  height: 40px;
  content: "";
  opacity: 1;
}

.flex-direction-nav .flex-nav-next a::before {
  background: transparent url(../img/next.png) no-repeat 0 0;
  display: block;
  width: 36px;
  height: 40px;
  content: "";
  opacity: 1;
}

@media screen and (min-width: 768px){
  .flex-direction-nav {
    display: block;
  }
}

.pro-details {
  width: 100%;
  background-color: rgba(0,0,0,0.5);
  color: #FFFFFF;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 1.2;
  padding: 9px 0;
}

.pro-details h5,
.pro-details p {
  text-align: center;
}

.pro-details h5 {
  margin: 0;
}

.pro-details p {
  font-size: 12.5px;
  margin: 5px 0 0 0;
}

.footer {
  margin-bottom: 0px;
}
