body {
  background: url(images/bg.jpg) repeat-y 0 0;
  background-size: 100%;
  background-attachment: fixed;
  font-size: 16px;
font-family: 'Oswald', sans-serif;
  font-weight: normal;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  color: #fff;
  list-style: outside none none;
}

#home {
  position: absolute;
  width: 400px;
  height: 60px;
  z-index: 100000000;
  margin-top: -70px;
}

.top {
  width: 100%;
  margin: 0px auto;
  top:0px;
  position: relative;
  background: #231F20;
}

.inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

#num {
  width: 100%;
  max-width: 1000px;
  background: transparent;
  position: relative;
  text-align: right;
  z-index: 100;
margin: -80px auto 0px;
}

#num p{
  text-align: right;
  font-family: 'Oswald', sans-serif;
}

#num .inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}


main{
  width: 90%;
  max-width: 1000px;
  margin: 0px auto;
  top: 0px;
  position: relative;
  background-color: #231F20;
}

header{
  width: 100%;
  text-align: center;
  padding: 0px;
}


#social{position: relative; width: 100%; text-align:right; margin-top: -40px;}
#social img{padding: 0px 0px 10px 10px;}

#cont_info #social{
  position: relative; width: 100%; text-align: center; padding:15px 0px;
}

h1,h2,h3,h5,h6{
  text-transform: uppercase;
}

p{line-height: 1.5em; text-align: center; font-family: 'Open Sans', sans-serif; font-weight: 300; padding-bottom: 15px;}

a {
  text-decoration: none;
  color: #999;
  outline: 0;
}

a:hover {color: #111;}

.top h1 {
  text-align: left;
  padding: 20px 0px;
  margin: 0px;
}

h1{color:#fff;
  font-size: 30px;
  text-align: center;
  font-weight: 400;
}

h2{
  font-size: 20px;
  margin: 1px;
  text-align: center;
  font-weight: 700;
  background: url(images/hbg.jpg) repeat-y 0 0;
  background-size: 100%;
  color: #231F20;
  padding: 5px 0px;
  font-family: 'Montserrat', sans-serif;

}
h3{
  font-size: 16px;
  margin: 0 0 5px 0;
  color: #fff;
  font-weight: 400;
  border-top: 2px solid #fff;
}

.inner h3{
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 10px 0px;
}

h4 {
  font-size: 12px;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
    text-align: center;
}

h5{
  font-size: 20px;
  margin: 0px;
  font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

h6{
  color:#fff;
  font-size: 20px;
  text-align: center;
  font-weight: 400;
  margin: 20px 0;
}

button {
  background-color: #333;
  color: #666;
  padding: 10px 20px;
  border: none;
  text-transform: uppercase;
  margin: 10px 0 20px 0;
}

button:hover {
  opacity: .6;
}

#sub{
  width:60%;
  border-bottom: 3px solid #fff;
  border-top: 3px solid #fff;
  text-align: center;
  margin: 0 auto;
}
/* nav */

nav {
  position: relative;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  list-style-type: none;
  background-color: #231F20;
  border-top: 2px solid #fff;
  z-index: 10;
}

nav ul {
  margin: 0px;
  padding: 0px;
}

nav li {
  position: relative;
  display: inline;
  margin: 0 auto;
}

nav a{
  display: inline-block;
  padding: 10px 20px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 300;
  color: #fff;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}



nav li:first-child:before{
  content: none;
}

nav ul li ul li:before{
  content: none;
}

nav ul li ul li:first-child:before{
  content: none;
}

nav a:hover{
  background-color: ;
  color: #666;
}

nav ul ul{
  position: absolute;
  background-color: #231F20;
  visibility: hidden;
  opacity: 0;
  left: 0px;
  width: 0px;
  top: 30px;
  -webkit-transition: all .25s ease;
     -moz-transition: all .25s ease;
      -ms-transition: all .25s ease;
       -o-transition: all .25s ease;
          transition: all .25s ease;
}


nav ul li ul li a{
  padding: 10px 20px;
  min-width: 172px;
  background-color: #231F20;
  text-align: left;
  font-size: 12px;
  color: #fff;
}

nav ul li ul li a:hover{
  background-color: ;
}

nav li:hover ul {
  display:block;
  opacity: 1;
  visibility: visible;
  top: 25px;

}

/* mobile nav */

#nav2 {
  position: relative;
  margin: 0 auto;
  width: 100%;
  background-color: #231F20;
  text-align: center;
  list-style-type: none;
  display: none;
}

#nav2 a{
  display: inline-block;
  padding: 20px;
  text-transform: uppercase;
}

#mobnav a:hover{
  background-color: #999;
}

#mobnav {
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000000000000;
  display: none;
}

#mobnav a {
  color: #333;
}

#mobnav ul{
  margin-top: 30px;
}
#mobnav ul ul{
  margin-top: 5px;
}

#mobnav li{
  list-style-type: none;
  padding: 2px 0px;
}

#mobclose {
  float:right;
  padding: 20px;
}

#mobclose a:hover{
  background-color: transparent !important;
}



/* section content */

section{
  padding: 40px 100px 80px 100px;
  height: auto;
}

article{
  padding: 5px 0px;
  text-align: center;
}

article iframe{
margin-bottom: 20px;
    width: 100%;
    max-width: 800px;
    height: 400px;
}

.fifth {
width: 20%;
display: inline-block;
text-align: center;
font-size: 12px;
vertical-align: top;
padding: 0px 10px;
}

.half {
width: 40%;
display: inline-block;
text-align: center;
vertical-align: middle;
padding: 20px 0px;
}

.half img {
  width: 100%;
  padding: 0px 40px;
}

.third {
width: 33%;
display: inline-block;
text-align: center;
vertical-align: bottom;
}

.thirdtop img{
  border: 5px #666 solid;
}

.thirdbot {
  padding: 10px 0px;
  background-color: #555;
  margin: 0 auto;
  width: 205px;;
  color: #231F20;
}

.thirdbot:hover {
  opacity: 0.8;
}

.thirdbot a {
  color: #111;
}

.drop {
  display: none;
}

#bio {cursor:pointer;}
#education {cursor:pointer;}
#training {cursor:pointer;}
#hospital {cursor:pointer;}
#activities {cursor:pointer;}
#cervical {cursor:pointer;}
#lumbar {cursor:pointer;}
#bio2 {display: none;}
#education2 {display: none;}
#training2 {display: none;}
#hospital2 {display: none;}
#activities2 {display: none;}
#cervical2 {display: none;}
#lumbar2 {display: none;}



/* products */

.product {

  border-top: 3px solid #fff;
  padding: 40px 0px;
}

.prod_btn {
  font-size: 10px;
  display: inline-block;
  margin: 0 5px;
  padding: 5px 10px;
  background-color: #fff;
}

.prod_details a{
  color: #111 !important;
}

.prod_details a:hover{
  color: #666 !important;
}

/* events */

.events {
  border-top: 3px solid #fff;
  padding: 40px 0px 0px;
  text-align: center;
}

.events li{
  display:inline-block;
  padding: 0px 40px;
}

.events a{color:#FFCA41; }

.events p{padding-bottom: 20px;}

#form{
  display: inline-block;

  width 70%;
  position: relative;
}
#cont_info{
text-align: center;
}

/* footer */

footer{
  padding: 0px 0px 20px 0px;
  text-align: center;
  background-color: #231F20;
  color: #fff;
}

footer h6 {
  font-size: 10px;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 1px;
}

#socialfoot{width: 100%; text-align: center; display:none;}
#socialfoot img{padding: 10px 5px;}

@media screen and (max-width: 1200px) {
  .third {width: 32%;}
}

@media screen and (max-width: 860px) {
    nav{display:none;}
    #nav2{display:block;}
    main{width:100%;}
    section{padding:0px 20px 40px 20px;}
    #cont_info{
      display: block;
    float: none;
      width 100%;
      position: relative;
      padding-right: 0px;
    }
    .third {dislay: block; width: 100%; padding-bottom: 20px;}
    .third img {width: 200px;}
    .half {dislay: block; width: 100%; padding-bottom: 20px;}
    .half img {width: 200px;}
    .fifth {dislay: block; width: 100%; padding-bottom: 20px;}
    article iframe{
        height: 300px;
    }
}

@media screen and (max-width: 600px) {
    #num {
      position: relative;
      text-align: center;
      margin: 0 auto;
    }
    #num p {
      text-align: center;
    }

    .top h1 {
      text-align: center;
    }
    #cont_info #social {display:block;}
    h2 {
      font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
  article iframe{
      height: 200px;
  }
  #home {
    width: 90%;
    margin-top: -90px;
  }
}