/* CSS Document for www.DouglasWTurner.com */
/* Photography by Doug Turner              */
/* Initially created - 2015-05-20          */


/* Common Style Rules */
* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  font-family: 'Raleway', sans-serif;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}

a:link {
    color: #F0F;
    text-decoration: underline;
}

a:visited {
    color: #C0F;
    text-decoration: underline;
}

a:hover {
    color: #06F;
    text-decoration: none;
}

a:active {
    color: #FF0;
    text-decoration: none;
}

article {
  width: 50%;
  margin: 0;
  padding-left: 0.75em;
  padding-right: 0.75em;
  float: left;
  font-size: 90%;
  color: #888;
}

aside {
  clear: both;
  font-size: 75%;
  text-indent: 1em;
  padding-left: 3em;
  padding-right: 3em;
}

header, nav, .nav_like {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;
  text-align: center;
}

header h1 {
  font-size: 2em;
  font-weight: 900;
}

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

nav ul {
  list-style-type: none;
  display: inline;
}

nav ul li {
  display: inline;
  padding-left: 15px;
  padding-right: 15px;
}

li.current {
  font-style: italic;
  font-size: larger;  
}

.level_2_nav {
  font-size: 90%;
}
  
figcaption {
  margin-left: auto;
  margin-right: auto;
}

phototitle {
  display: block;
  text-align: center;
  color: blue;
  margin-bottom: 1em;
  margin-top: 0.5em;
  font-style: italic;
}

phototitlereference {
  display: inline;
  color: blue;
  font-style: italic;
}

#rss_logo {
  margin-left: 10px;
}

.grey_text {
  color: #888;
}

.error {
  color: #930;
}

/* Needed to display html5 elements properly */
header, section, footer, aside, nav, main, article, figure {
  display: block;
}

/* CSS needed to shiv the <figure> <details> and <summary> tags */
figure {
  width: 100%;
  margin: 0px auto 0px auto;
}

figure img {
  margin: 0px auto 0px auto;
}

details, summary {
  display: block;
  border: none;
  width: 400px;
  margin: 0px auto;
}

details {
  text-align: left;
}
  
summary {
  cursor: pointer;
  text-align: center;
}

details p {
  width: inherit;
  text-indent: 1em;
  font-size: 85%;
}

summary:hover, summary:focus {
  background: #FCF;
}

#no-details details > * {
  display: none;
}

.no-details details > summary:before {
  float: left;
  width: 20px;
  color: blue;
  content: '► ';
}

.no-details details.open > summary:before {
  content: '▼ ';
}

.no-details details summary {
  display: block;
}

/* End of details and summary shiv */


/* Main Page Style Rules */
#main_page_image {
  width: auto;
  float: right;
  margin: 0px;
  min-width: 400px;
}

#main_logo {
  float: left;
}

/* Galleries Directory Page Style Rules */
.galleries_directory {
  width: 49%;
  margin-left: auto;
  margin-right: auto;
  color: #888;
/*  border: #CCC solid 1px; */
  font-size: 90%;
}

.float_left {
  float: left;
}

.float_right {
  float: right;
}
  
div.galleries_directory p {
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 1em;
  padding-top: 0;
}

.gallerythumbs {
  border: 1px solid #F9F;
  vertical-align: top;
  margin-bottom: 1em;
  margin-left: 0.25em;
  margin-right: 0.25em;
}

.thumb_slider_control_container {
  position: relative;
  left: 0;
  z-index: 1;
  float: left;
}

.thumb_slider_control {
  position: relative;
  left: 0px;
  z-index: 1;
}

#thumb_slider_outer {
  position: relative;
  z-index: 0;
  width: 650px;
  overflow: hidden;
  float: left;
}

#thumb_slider_inner {
  position: relative;
  z-index: 0;
  height: 106px;
  width: 3000px;
  overflow: hidden;
}

#thumb_slider_inner img {
  position: relative;
  z-index:0;
  float: left; 
  height: 100px;
  border: #888 solid 2px;
}

.private_gallery {
  margin-bottom: 2em;
}

/* About Page Style Rules */
.about_page_bio_image {
  width: auto;
  margin: 0px;
  margin-bottom: 2em;
  min-width: 400px;
}

.about_image_right_float {
  float: right;
  margin-left: 2em;
  margin-right: 0px;
}

.about_image_left_float {
  float: left;
  margin-right: 2em;
  margin-left: 0px;
}

#about_page_article {
  width: 100%;
}


/* Services Page Style Rules */
section {
  clear: both;
}

section p {
  text-align: left;
}

#download_button {
  display: inline;
  margin-left: auto;
  margin-right: auto;
}
  

#services_page_article {
  width: 100%;
}

.servicethumbs {
  padding: 3px;
  margin: 1em;
  float: right;
  border: 2px solid #F0F;
  margin-top: 0px;
}

.price_list_table {
  width: 40%;
  border: #999 solid 1px;
  float: left;
}

table.price_list_table th {
  font-weight: bold;
  text-align: right;
}

table.price_list_table td {
  text-align: right;
}

/* Photo Gallery Page Style Rules */
/*  SECTIONS  */
.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

/*  COLUMN SETUP  */
.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}

.col:first-child {
  margin-left: 0;
}

/*  GROUPING  */
.group:before, .group:after {
  content: "";
  display: table;
}

.group:after {
  clear:both;
}

.group {
  zoom:1; /* For IE 6/7 */
  min-width: inherit;
}

/*  GRID OF FOUR  */
.span_4_of_4 {
	width: 100%;
}

.span_3_of_4 {
	width: 74.6%;
}

.span_2_of_4 {
	width: 49.2%;
}

.span_1_of_4 {
	width: 23.8%;
}

div.section img {
  display: inline;
  margin: 0 auto;
 }

.thumbdiv {
 padding: 0.5em;
 border: 1px solid white;
 vertical-align: middle;
 text-align: center;
}

/* Large Private Viewer */

.single_med_image{
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
  margin-bottom: 2em;
}

main.single_med_image img {
  display: inline;
  vertical-align: middle;
}

main.single_med_image section p {
  text-align: center;
}

main.single_med_image section p input {
  vertical-align: middle;
}

/* Contact Page */


/*
dl.inline dd {
  display: inline;
  margin: 0;
}
dl.inline dd:after{
  display: block;
  content: '';
}
dl.inline dt{
  display: inline-block;
  min-width: 100px;
}
*/


/* dl{margin-top:0;margin-bottom:20px} */

dd {
  margin-left: 40%;
  font-style: normal;
  font-weight: 600;
}

dt, dd {
  line-height: 1.5;
  margin-bottom: 0.75em;
}

/* dt {
  font-weight: 600;
  padding-right: 0.2em;
} */



.dl-horizontal dt {
  float: left;
  width: 35%;
  clear: left;
  text-align: right;
/*  overflow: hidden;
  text-overf‌​low: ; 
  white-space: nowrap; 
  font-weight: 600; */
  padding-right: 0.5em;
}


/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4 { width: 100%; }
}
