/*-------------- RESET --------------- */

html, body, div, span, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, a, article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

* {
    box-sizing: border-box;
}

main {
    display: block;
}


/* ------------- LAYOUT -------------*/

main {
    padding-top: 0.5em;
}

.musician {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#musicianPhotos {
    flex-basis: auto;
    min-width: 18em;
}

#biography {
    flex-basis: auto;
    min-width: 18em;
}

#biographyp {
    max-width: 34em;
    margin: 0 auto;
}

.wrapper{
   min-width: 18em;
    margin: 0 auto;
    padding: 0 1em;
}

#headerLead {
    display: flex;
    justify-content: space-between;
}

header {
    padding:  0;
}

#albumns {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.albumn-details {
    flex-basis: 18em;
    margin-bottom: 1em;
    padding: 1em;
    border: 1px solid #ccc;
    background-color: #fff;
}

 #HamptonPhotos {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 1em;
    }

.recordings {/*recording page*/

    width: 20em;
    margin: 0 auto 0.5em;
}

.video_details {  /*recording page*/
    width: 20em;
    display: flex;
    flex-direction: column;
    background: #fff;
    margin-bottom: 1em;
    border: 1px solid #ccc;
}

.video_photos {
    flex-basis: auto;
    padding: 0.5em;
}

.video_info {
    flex-basis: auto;
    padding: 0.5em;
    font-size: 0.9em;
}

.flexslider {
    max-width: 56em;
    margin: 0 auto 2em;
}

/*-------------- TYPOGRAPHY --------------*/

body {
    font-family: "Lucida Sans", Arial, sans-serif;
    color: #444;
    line-height: 1.5;
}

h1 {
    font-family: 'Lobster', Georgia, serif;
    font-size: 1.8em;
}

h2 {
   font-size: 1.3em;
    margin-bottom: 0.5em;
}

h3 {
    font-weight: bold;
    text-align: center;
}

main p {
    margin-bottom: 1em;
}

.title {
    font-style: italic;
}

.author_name {
    font-weight: bold;
    color: #0c4286;
}

.recordings h3, .videos_content h3 {
     text-align: left;
}

.flex-nav-prev, .flex-nav-next {
    line-height: normal;
}

#dummytext {
    max-width: 56em;
    margin: 0 auto;
}

#dummytext h1 {
    color: #333;
}
#dummytext p, #dummytext h1{
    margin: 0.5em;

}


/*--------- COLOUR SCHEME & BORDERS -------- */

body {
    color: #222;
    background: #efefef;
}

header {
    background: -webkit-linear-gradient(left,#11a47b 0%,#1f9a52 100%); /*Safari 5.1-6*/
    background: -o-linear-gradient(right,#11a47b 0%,#1f9a52 100%); /*Opera 11.1-12*/
    background: -moz-linear-gradient(right,#11a47b 0%,#1f9a52 100%); /* Firefox 3.6 to 15 */
    background: linear-gradient(to right, #11a47b 0%, #1f9a52 100%);/*Standard*/
}

h1 {
    color: #fff;
}

h2 {
    border-bottom: 1px solid #1f9a52;
    color: #1f9a52;
}

nav a {
    color: #fff;
}

h1 a {
    color: #fff;
}

footer {
    color: #fff;
}

.selected {
    color: #ddd;
}

a:hover {
    color: rgb(248, 114, 8);
}

footer {
    background-color: #333;
    padding: 0.5em 0;
    text-align: center;
}

/*-------- img mouse hover grow effect----- */

.video_photos {
    /* Preventing zoomed images to grow outside their elements */
    overflow: hidden;
}

.video_photos img {
    -webkit-transition: all 0.3s ease;
    -moz-transition:    all 0.3s ease;
    -o-transition:      all 0.3s ease;
    -ms-transition:     all 0.3s ease;
    transition:         all 0.3s ease;
}

.video_photos img:hover {
        /* Making images appear bigger and transparent on mouseover */
        opacity: 0.8;
        width:   105%;
 }

/* ------  NAVIGATION ---------*/

nav ul {
    display: flex;
    justify-content: center;
}

main ul, nav ul {
    list-style-type: none;
}

nav li {
    padding: 0.5em 0 0.5em 2.2em;;
}

main ul, nav a , h1 a, #general_info a, article a{
    text-decoration: none;
}

/* --------  IMAGES ------- */

img {
    width: 100%;
}

#musicianPhotos img {
    width: 18em;
}

#HamptonPhotos img {
    margin-bottom: 0.5em;
}

.pic_jazz {
    float: right;
    width: 12em;
    margin: 0 0 0.5em 0.5em;
}

.author_photo {
    float: left;
    width: 3em;
    border-radius: 1.5em;
    margin-right: 1em;
}

/*--------- media ---------*/

video {
    width: 100%;
}

.videos_content {
    display: flex;
    flex-direction: column;
    max-width: 36em;
    margin: 0 auto 0.5em;
    justify-content: space-between;
}

.videos_current {
    flex-basis: auto;
}

.videos_upnext {
    flex-basis: auto;
}

.videos_sidebar {
    background: #fff;
     border: 1px solid  #ccc ;
}

.video_next {
    display: flex;
    margin-top: 0.4em;
    max-width: 36em;
}

.video_nextphotos {
    padding:0.25em;
    flex:  1  12em;
}

.video_nextinfo {
    padding: 0.25em;
    flex:  2  24em;
}

.video_nextinfo h3 {
    font-weight: normal;
}

.video_currentinfo {
    background: #fff;
    margin: 1em 0;
    padding: 0.5em;
    border: 1px solid  #ccc ;
}

/*--------blog--------*/

.jazz_article {
    margin-bottom: 2em;
    background: #fff;
    padding: 1em;
    border-radius: 0.5em;
    border: 1px solid #ccc;
}

.blog_main {
    display: flex;
    justify-content: space-between;
}

.blog_sidebar {
    flex-basis: 14em;
    background: #fff;
    padding: 1em;
    margin-bottom: 2em;
    border-radius: 0.5em;
    border: 1px solid #ccc;
    order: 2;
}

.blog_sidebar p{
    border-bottom: 1px solid #ddd;
}

#newsletter p{
    border: none;
}

.blog_content{
    flex-basis: 40em;
    order: 1;
}

#newsletter{
    margin-top: 9.5em;
}

#newsletter a {
    text-decoration: none;
    color: firebrick;
}

/*--------contact us--------*/

#contact_content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#general_info {
   flex-basis: 16em;
}


#reach_us {
    flex-basis: 16em
}

#mail_us {
    flex-basis: 16em;
}

#general_info a {
    color: firebrick;
}

#general_info span {
    display: block;
    float: left;
    width: 3.5em;
}

form label, input, textarea {
    display: block;

}


/*----- floated form  ------*/

.controls {
  text-align: left;
  position: relative;
}

.controls input[type="text"],
.controls input[type="email"],
.controls input[type="tel"],
.controls textarea,
.controls button,
.controls select {
  padding: 1em 0.8em 0.8em 0.8em;
  font-size: 1em;
  border: 1px solid #c6c6c6;
  width: 100%;
  margin-bottom: 18px;
  color: #888;
  font-weight: 300;
  background-color: #fff;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.controls input[type="text"]:focus, .controls input[type="text"]:hover,
.controls input[type="email"]:focus,
.controls input[type="email"]:hover,
.controls input[type="tel"]:focus,
.controls input[type="tel"]:hover,
.controls textarea:focus,
.controls textarea:hover,
.controls button:focus,
.controls button:hover,
.controls select:focus,
.controls select:hover {
  outline: none;
  border-color: #9FB1C1;
}

.controls input[type="text"]:focus + label, .controls input[type="text"]:hover + label,
.controls input[type="email"]:focus + label,
.controls input[type="email"]:hover + label,
.controls input[type="tel"]:focus + label,
.controls input[type="tel"]:hover + label,
.controls textarea:focus + label,
.controls textarea:hover + label,
.controls button:focus + label,
.controls button:hover + label,
.controls select:focus + label,
.controls select:hover + label {
  color: #077ABC;
  cursor: text;
}

.controls .fa-sort {
  position: absolute;
  right: 10px;
  top: 17px;
  color: #999;
}

.controls select {
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.controls label {
  position: absolute;
  left: 8px;
  top: 12px;
  color: #999;
  font-size: 16px;
  display: inline-block;
  padding: 4px 10px;
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0);
  pointer-events: none;
  -moz-transition: color 0.3s, top 0.3s, background-color 0.8s;
  -o-transition: color 0.3s, top 0.3s, background-color 0.8s;
  -webkit-transition: color 0.3s, top 0.3s, background-color 0.8s;
  transition: color 0.3s, top 0.3s, background-color 0.8s;
}

.controls label.active {
  top: -11px;
  color: #555;
  background-color: white;
}

.controls textarea {
  resize: none;
  height: 6em;
}

.controls button {
  cursor: pointer;
  background-color: #11a47b;
  border: none;
  color: #fff;
  padding: 12px 0;
}

.controls button:hover {
  background-color: #08ccb7;
}


/*floated form end*/

#mail_us form {
    margin-top: 0.5em;
}

#roadmap {
    max-width: 56em;
}

#map {
    background-color: grey;
    height: 28em;
    width: 100%;
    margin-bottom: 1em;
}


/*--------privacy--------*/

#privacy_img, #privacy_content {
    max-width: 34em;
    margin: 0 auto;
    font-size: 1.2em;
}

/*-------------------- MEDIA QUERIES ------------------*/

@media screen and (max-width: 39.99999em) {
    #headerLead {
        display: block;
        padding: 0;
    }

    nav ul{
        flex-direction: column;
    }

    nav li {
        padding: 0.5em 4em;
        border-top: 1px solid #eee;
    }

    nav li:hover{
        background-color: #333;
        color: #fff;
    }

    nav a {
        display: block;
    }

    nav a:hover {
        color: #fff;
    }

    h1{
        padding: 0 0.5em;
    }


    .pic_jazz {
        width: 10em;
    }

    .nav-toggle {
		/* I've used absolute positioning. The demo uses float: right - you can't mix both approaches.
           Absolute positioning is technically the proper method. */
		position: absolute;
		top: 0 ;
		right: 0.5em;
		font-size: 2em; /* This size is for the text character used for the hamburger "icon". See the HTML. */
		text-decoration: none;
		color: #fff;
	}

    /*----blog----*/
    .blog_sidebar {
        display: none;
    }

}

@media screen and (min-width: 40em)  {

    .js .nav-collapse {
		position: relative;
    }

    .js .nav-collapse.closed {
		max-height: none;
    }

    .nav-toggle {
		display: none;
    }

	.nav-collapse ul {
		/* Make the menu items appear in a horizontal line. */
		display: flex;
	}

     /*--recording page--*/
    .recordings {

        width: 41em;

    }

    .video_recordings {
        width: 41em;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* recordings1*/
    .video_nextinfo {
    padding: 0.25em;
    flex-basis: 16em;

    }

      /*-----about us--------*/

    #miles_photo {
        width: 21em;
        float: left;
        padding: 0 1em 0.5em 0;
    }

    /*----- blog-----*/
     .blog_sidebar {
        margin-left: 2em;
    }

}

@media screen and (min-width: 58em)  {

    .wrapper{
        width: 56em;
        margin: 0 auto;
        padding: 0;
    }

    .musician {
        flex-direction: row;
    }

    #biography {
        flex-basis: 34em;
    }

    #musicianPhotos {
        flex-basis: 18em;
    }

    #albumns {
        justify-content: space-between;
    }

      /*-- recording page --*/
    .recordings {
        width: 56em;
    }

    .video_recordings {
        width: 56em;
    }

    .video_details {
        flex-basis: 27.5em;
        flex-direction: row;


    }

    .video_photos {
        flex-basis: 14em;
        padding: 0.5em;
    }

    .video_info {
        flex-basis: 13.5em;
        padding: 0.5em 0 ;
    }


    /*--- recording1 --*/
    .videos_content {
        min-width: 56em;
        flex-direction: row;
        justify-content: space-between;
    }

    .videos_current {
        flex-basis: 34em;
    }

    .videos_upnext {
        flex-basis: 21em;
    }

    /*-------contact us---------*/
    #contact_content {
    justify-content: space-between;
    }

    /*---------about us---------------*/

    #about_content{
        display: flex;
        justify-content: space-between;
    }

    #miles_photo {
        flex-basis: 29em;
        padding: 0;
    }

    #miles_text {
        flex-basis: 26em;
    }

}



