/*************************
Battlefield Surgeon Styles
**************************/


/* Colors */
/******

black: #18130A;
gold: #B49977;
khaki: #3A362F;
blue: #B1C1BF;
ivory: #F9FCF5f;
gray: #A1A3A6;

********/

/* Global Styles */
html, body {
  line-height: 150%;
  background-color: #18130A;
  font-family: 'playfair_displayregular', Garamond, Times, serif;
  color: #F9FCF5;
}
hr {
  border: 0;
  color: #B49977;
  background-color: #B49977;
  height: 1px;
  margin: .5em 0;
}
img {
  display:inline-block;
}
a {
  text-decoration: none;
  color: #B49977
}
a:hover {
  color: #E4D2BC;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
h1 {
  color: #B1C1BF;
  font-size: 2em;
  margin-bottom:1em;
}
p {
  font-size: 1.05em;
  font-family: 'PT Serif', Garamond, Times, serif;
}
p.intro:first-letter {
    float: left;
    font-size: 45px;
    line-height: 1;
    font-weight: bold;
    margin-right: 9px;
    color: #B49977;
}
.button {
  background-color: #B49977;
  color: #18130A; 
  padding: .2em .5em;
  font-family: 'playfair_displayblack_italic', Garamond, Times, serif;
  text-transform: none;
}
.button:hover {
  background-color: #E4D2BC;
  color: #4E4E4C;
}
.margintop {
  margin-top: 1em;
}
.marginbot {
  margin-bottom: 1em;
}
.marginright {
  margin-right: 1em;
}
.marginleft {
  margin-left: 1em;
}
.left {
  float: left;
}
.right {
  float: right;
}
.clearfix:after {
    display:block;
    clear:both;
}
.text-right {
  text-align: right
}
.text-center {
  text-align: center
}
.text-left {
  text-align: left
}
.small-text {
  font-size: .85em;
}
a.readmore {
  font-family: 'playfair_displaybold', Garamond, Times, serif;
  border: 1px solid #B49977;
  padding: .5em 1em;
  cursor: pointer;
}
a.readmore:hover {
  background-color: #B49977;
}
.globalheader-container {
  margin-top: 2em;
}
.globalheader-container hr{
  margin: .3em 0;
}
.globalheader {
  background-color: #3A362F;
  margin: 0;
  padding: .5em 0;
}
.globaltitle {
  color: #B1C1BF;
  font-size: 1.6em;
  font-family: 'playfair_displaybold', Garamond, Times, serif;
  padding-top:.25em;
}
.globaltitle img.star-circle {
  display: inline-block;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  width: 1.2em;
  height: 1.2em;
  line-height: 1.2em;
  color: #B49977;
  padding: .125em;
  border: 2px solid #B49977;
  margin-top: -2px;
  vertical-align: middle;
}
nav {
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  color: #B49977;
  text-transform: uppercase;
  letter-spacing: .01em;
  position: relative;
  display: inline-block;
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
nav ul li{
  display: inline-block;
  margin-right: .5em;
}
nav ul li a.current, nav ul a li.has-dropdown a.current, nav ul li.has-dropdown a.current:first-child  {
  border-bottom: 3px solid #E4D2BC;
  color: #E4D2BC;
}
nav ul li:hover{
  color: #E4D2BC;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
nav ul a {
  transition:all linear 0.15s;
}
nav ul li .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    left: 0px;
}
.dropdown-content a {
    color: black;
    padding: .75em 1em;
    text-decoration: none;
    display: block;
}
nav ul li .dropdown-content a.current {
  border: none;
}
.dropdown-content a:first-child {
  display: none;
}
.dropdown-content a:hover {
  background-color: #A08565
}
nav ul li:hover .dropdown-content {
  display: block;
  background: #B49977;
  text-align: left;
}
nav ul li.buybook {
  background-color: #B49977;
  padding: .25em .35em;
  font-family: 'playfair_displayblack_italic', Garamond, Times, serif;
  text-transform: none;
}
nav ul li.buybook a {
    color: #18130A; 
}
nav ul li.buybook span{
  text-transform: uppercase;
  font-size: .8em;
}
nav ul li.buybook:hover {
  background-color: #E4D2BC;
  color: #4E4E4C;
}
.main {
  min-height: 5em;
  padding-top: 3em;
  padding-bottom: 3em;
}
.footer p{
  font-family: 'playfair_displayblack_italic', Garamond, Times, serif;
  color: #B1C1BF
}
.footer a{
  color: #B1C1BF
}
.footer hr {
  width: 50px;
  display: block;
  margin: 0 auto 0;
}
.footer .designcredit {
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  font-size: .85em;
}


/* Homepage Styles */
.homepage {
  padding: 2em 0;
}
.homepage .home-img {
  display: block;
  margin: 0 auto 0;
  max-width: 1400px;
  width: 95%
}
.homepage h1 {
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  color: #B49977;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1.5em;
  line-height: 1.5em;
  text-align: center;
}
.homepage hr {
  width: 75px;
  display: block;
  margin: 2em auto;
}
.homepage p {
  line-height: 1.65em;
}
.homepage .photo-nav-container {
  margin-top: 3em;
  margin-bottom: 3em;
  width: 70%;
}
.homepage .photo-nav {
  width: 250px;
  height: 250px;
  position: relative;
  margin: 0 auto 0;
}
.homepage .photo-nav.offset {
  margin-top: 3em;
}
.homepage .photo-nav-img {
  width:250px;
  height:250px;
  background-size:cover; 
  background-position:center center; 
  background-repeat:no-repeat; 
  display: block;
  margin: 0 auto 0;
}
.homepage .photo-nav-img.one {
  background-image:url('../images/home-1.jpg');
}
.homepage .photo-nav-img.two {
  background-image:url('../images/home-2.jpg');
}
.homepage .photo-nav-img.three {
  background-image:url('../images/home-3.jpg');
}
.homepage h2{
  text-align: center;
  background: #A1A3A6;
  margin: 0 auto 0;
  color: #3A362F;
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding-top: 1em;
  font-size: 1.2em;
  line-height: .7em;
}
.photo-nav .overlay{
    position:absolute; 
    top:0px;   
    left:0px;  
    width:100%;
    height: 100%;  
    background-color:#332A20;  
    font-size:15px;  
    color:white;  
    opacity:0; 
    filter:alpha(opacity=90); 
    padding: 2em 1em; 
    text-align: center;
}  
.photo-nav .overlay p{  
    margin:1em 0 2em;
    font-size: 1em;  
}
.photo-nav .overlay span.plus {
  font-size: 1.4em;
  display: inline-block;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  width: 1em;
  height: 1em;
  line-height: .8em;
  color: #B49977;
  padding: .125em;
  border: 1px solid #B49977;
}
.photo-nav .overlay span {
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  color: #B49977;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: .02em;
}  
.photo-nav:hover .overlay {
  opacity: .9;
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
}
.photo-nav:hover h2 {
  background-color: #B49977;
}

/* Photographs Styles */
.photographs hr {
  height: 3px;
}
.photographs ul.photographs-nav {
  list-style-type: none;
  margin: 1em 0 1.5em;
  padding: 0;
}
.photographs ul.photographs-nav li{
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  color: #B49977;
  font-size: 1.75em;
  text-transform: uppercase;
  letter-spacing: .01em;
  display: inline-block;
  margin-right: 1em;
  border: 1px solid #B49977;
  padding: .35em 1em;
}
.photographs ul.photographs-nav li:hover{
  background-color: #E4D2BC;
  color: #4E4E4C;
}
.photographs ul.photographs-nav li span{
  font-family: 'playfair_displayitalic', Garamond, Times, serif;
  text-transform: none;
  font-size: .85em;
}
.photographs ul.photographs-nav li.current{
  background-color: #675642;
  color: #B49977
}

/* Gallery Styles */
.photo-gallery {
  margin: 3em 0 0;
}
.photo-gallery .photo {
  position: relative;
}
.photo-gallery img {
  display: block;
  width: 100%;
}
.photo-gallery .overlay{
    position:absolute; 
    top:0px;   
    left:0px;  
    width:100%;
    height: 100%;  
    background-color:#332A20;  
    font-size:15px;  
    color:white;  
    opacity:0; 
    filter:alpha(opacity=90); 
    padding: 2em 1em; 
    text-align: center;
}  
.photo-gallery .overlay p{  
    margin:1em 0 2em;
    font-size: 1em;  
}
.photo-gallery .overlay span.plus {
  font-size: 1.4em;
  display: inline-block;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  width: 1em;
  height: 1em;
  line-height: .8em;
  color: #B49977;
  padding: .125em;
  border: 1px solid #B49977;
}
.photo-gallery .overlay span {
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  color: #B49977;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: .02em;
}  
.photo-gallery .photo:hover .overlay {
  opacity: .9;
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
}

/* Fancybox Styles */
.photo-gallery .row .columns {
  margin: 0 0 1em;
}
.photo-gallery .row .column:last-child:not(:first-child), .photo-gallery .row .columns:last-child:not(:first-child) {
  float:left !important;
}
.fancybox-skin {
  background-color: #3A362F;
  border-radius: 0;
  webkit-border-radius:0;
  moz-border-radius:0;
  padding: 3.5em !important;
}
.fancybox-nav span {
    visibility: visible;
}
.fancybox-next {
    right: -3.5em;
}
.fancybox-prev {
    left: -3.5em;
}
.fancybox-close {
  top: 5px;
  right:5px;
}
.fancybox-title {
  color: white;
  font-family: 'playfair_displayregular', Garamond, Times, serif;
  font-size: 1.1em;
  line-height: 1.5em;
  margin: 1em 0 0;
}
.fancybox-overlay .fancybox-title span {
  color: #B49977;
  padding: 0 .25em;
}


/* Surgical Cases Styles */
.surgical .surgical-container {
  margin: 4em 0 0;
}
.surgical .surgical-thumb {
  display: block;
  border: 1px solid #B49977;
  padding: 2em;
  margin: 0 2em 0 0;
}
.surgical .surgical-thumb:hover {
  background: #675642;
}
.surgical .surgical-thumb h2{
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  font-size: 1.4em;
  margin-top: 0;
  color: #ffffff;
}
.surgical .surgical-thumb p {
  color: #ffffff;
}
.surgical .surgical-thumb span{
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  color: #B49977;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.surgical .surgical-thumb span.plus {
  font-size: 1.4em;
  display: inline-block;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  width: 1em;
  height: 1em;
  line-height: .8em;
  color: #B49977;
  padding: .125em;
  border: 1px solid #B49977;
  text-align: center;
}

/* Surgical Case Pages */
.cases h2 {
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  font-size: 1.4em;
  margin-top: 0;
  color: #ffffff
}
.cases table {
  width: 100%;
  border: 1px solid #18130A;
  background: #D8D8D8;
  color: #18130A;
  font-family:"Lucida Console", "Courier New", monospace;
  font-weight: 600;
  font-size: .95em;
  line-height: 1em;
}
.cases table tr{
  border-bottom:1px solid #18130A;
}
.cases table.headertable tr:first-child{
  background: #9E8B75;
  font-weight: bold;
}
.cases table tr td{
  border-right:1px solid #18130A;
  padding: .5em .5em;
}
.cases table tr td:first-child{
  text-align: left;
}
.cases table.twocol tr td:first-child {
  width: 130px;
}
.cases img.left {
  margin: 1.5em 1.5em 1.5em 0;
}
.cases img.right {
  margin: 1.5em 0 1.5em 1.5em;
}
.cases img.center {
  display: block;
  margin: 1.5em auto 1.5em;
}
.cases .letter {
  background-color: #F6F5EA;
  color: black;
  border-top: 10px solid #B1C1BF;
  border-bottom: 10px solid #B1C1BF;
}
.cases .button {
  display: block;
  width: 220px;
  margin: 0 auto 0;
}
/* Contact Styles */
.contact h1 {
  color: #B1C1BF;
  margin-bottom:1em;
}
.contact .contact-text {
  padding-right: 4em;
}
.contact .contact-details {
  border: 1px solid #B49977;
  padding: 2em;
}
.contact .contact-details p{
  margin: 0;
}
.contact .contact-details p span{
  font-family: 'oswalddemibold', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #B49977
}
.contact .button {
  font-size: 1.35em;
  margin-bottom:2em;
}


@media only screen and (max-width: 1000px) {
  .homepage .photo-nav-container {
    width: 100%;
  }
  .homepage .photo-nav {
    width: 200px;
  }
  .homepage .photo-nav-img {
    width: 200px;
    height: 200px;
  }
  .homepage .photo-nav .overlay {
    width: 200px;
    height: 200px;
  }
  .surgical .surgical-thumb {
    margin-right: 0;
  }
}
@media only screen and (max-width: 960px) {
  .globaltitle {
    font-size: 1.25em;
  }
  nav {
    font-size: .95em;
  }
}

@media only screen and (max-width: 768px) {
  .main {
    padding-right: 1em;
    padding-left: 1em;
  }
  .photo-gallery .photo{
    margin-bottom: 1em;
  }
}
@media only screen and (max-width: 640px) {
  .hide-for-small {
    display: none !important;
  }
  .globalheader {
    box-shadow: 0 4px 20px 0px black;
    padding: 0;
    z-index: 8000;
  }
  .globalheader .columns{
    padding: 0;
  }
  .globalheader-container {
      margin: 0;
  }
  .globalheader-container hr {
    display: none;
  }
  .globaltitle {
    margin: 0;
    padding: .5em .5em;
    text-align: center;
  }  
  .main {
      padding-right: .5em;
      padding-left: .5em;
      padding-top: 1em;
      padding-bottom: 1em;
  }
  nav {
    text-transform: none;
    letter-spacing: 0;
    font-size: .95em;
    background-color: #5F5140;
    padding: .5em .5em;
    text-align: center;
    width: 100%;
  }
  nav ul li.buybook {
    padding: .15em .25em;
    margin: .25em 0 0;
  }
  nav ul li a.current, nav ul a li.has-dropdown a.current, nav ul li.has-dropdown a.current:first-child {
    border: none;
  }
  .footer p {
    font-size: .8em;
  }
  h1 {
    font-size: 1.5em;
    margin-bottom:.5em;
  }
  .text-right {
    text-align: left;
  }
  .homepage h1 {
    font-size: 1em;
  }
  .homepage .photo-nav.offset {
    margin-top: 0;
  }
  .homepage .photo-nav {
    width: 275px;
    margin-bottom: 1em;
  }
  .homepage .photo-nav-img {
    width: 275px;
  }
  .homepage .photo-nav .overlay {
    width: 275px;
  }
  .photo-gallery .photo{
    margin-bottom: 1em;
  }
  .surgical .surgical-thumb {
    margin-bottom: 1em;
  }
  .photographs ul.photographs-nav li {
    font-size: 1em;
    margin-right: .35em;
    padding: .25em .5em
  }
  .photographs ul.photographs-nav:last-child {
    margin-right: 0;
  }
  .fancybox-skin {
    padding: 1em .5em 1em !important;
    margin: 0 !important;
  }
  .fancybox-close {
    top: -15px;
    right: -15px;
  }
  .fancybox-nav {
    position: absolute;
    bottom: 0;
    height: auto;
  }
  .fancybox-next {
    right: 0px
  }
  .fancybox-prev {
    left: 0px
  }
  .fancybox-title {
    margin-top: .25em;
    font-size: .8em;
  }
  .photo-gallery .row .columns {
    margin-bottom: 0;
  }
  .cases table {
    font-size: .85em;
  }

}
