/*
 Theme Name:   PODC Twenty Sixteen 
 Theme URI:    http://www.markrtuttle.com
 Description:  PODC mobile-friendly theme
 Author:       Mark R Tuttle
 Author URI:   http://www.markrtuttle.com
 Template:     twentysixteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  podc-twenty-sixteen
*/

/* Undo normalization code */

table, td, tr {
  border-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  text-align: center;
  clear: none;
}

.aligncenter {
    clear: none;
}

/* masthead */

#masthead .site-branding {
  margin: auto;
  padding-left: .25em;
  padding-right: .25em;
  text-align: center;
}

#masthead .site-description {
	font-size: 1rem;
	font-weight: 400;
	margin: 0.538461538em 0 0;
}

#masthead .site-header-main {
  justify-content: flex-end;  /* keep menu button on the right */
}

#masthead .site-header-menu {
  margin: 1em;
  padding-left: .25em;
  padding-right: .25em;
}

#masthead .header-image {
  margin: 1em 0em 1em 0em;
} 

#masthead.site-header {
  padding: 0;
}

/* content */

/* don't display page title on site home page */
.home #content .entry-header {
  display: none;
}

/* repair mangled list formatting */
#content .entry-content ul {
    list-style: outside disc;
    margin-left: 1em;
}
#content .entry-content ol {
    list-style: outside decimal;
    margin-left: 1em;
}
#content .entry-content ul li,
#content .entry-content ol li {
    position: relative;
    left: 1em;
    padding-right: 1em;    
}

#content .entry-footer {
  margin-top: 0;
  margin-bottom: 0;
}

/* don't display the edit link at the bottom of pages */
#content .entry-footer .edit-link {
  display:none;
}

.entry-content a img.alignnone, 
.entry-summary a img.alignnone, 
.page-content a img.alignnone, 
.comment-content a img.alignnone, 
.textwidget a img.alignnone {
    display: inline;
}

.entry-content blockquote:not(.alignleft):not(.alignright), 
.entry-summary blockquote, 
.page-content blockquote, 
.comment-content blockquote {
    margin-left: 0px;
}

/* colophon */

#colophon {
  padding-top: 0;
  padding-bottom: 0;
}

#colophon .site-info {
  display:none;
}

article.page { 
  padding-bottom: 0;
}

.site-content {
    padding: 0.5em;
}

.widget {
	border-top: none;
	padding-top: 0;
	margin-bottom: 1em;
}

/* set margin to 0px from default .7em */
.entry-header,
.entry-summary,
.entry-content,
.entry-footer,
.page-content {
	margin-right: 0;
	margin-left: 0;
}

/* set maximum page width to 1000px */
@media screen and (min-width: 1000px) {
 .site-inner {
    width: 1000px;
 }
}
/* surround maximum page with blue on sides */
.site-inner {
  background-color: #fff;
}
body, div#page {
  background-color: #9CF;
}
.site {
  margin-right: 0;
  margin-left: 0;
}
@media screen and (min-width: 1000px) {
  .site {
    margin-right: auto;
    margin-left: auto;
  }
}

/* undo style setting img to display:block in widgets */
.textwidget a img {
  display: inline-block;
}

/**********************************************/

/*
h1{
  font-size:large;
  text-align:center;
}
h2{
  font-size:large;
  text-align:center;
}
h3, h4, h5, h6 {
  font-size:medium;
  text-align:center;
}
*/

a:link   {color:DarkBlue; text-decoration:none}
a:visited{color:DarkBlue; text-decoration:none}
a:active {color:brown;  text-decoration:underline }
a:hover  {color:brown;  text-decoration:underline; cursor:pointer}

.entry-content a, .entry-summary a, .page-content a, .taxonomy-description a, .logged-in-as a, .comment-content a, .pingback .comment-body > a, .textwidget a, .entry-footer a:hover, .site-info a:hover {
    box-shadow: none;
}

img {
  border:0px;
}

/* 
   Force conference name to display over drop-down menu. 

   The menu switches from a single button to a full drop-down menu at 56.875em.
   2016 displays class site-header-main as a flexible block, packing the
   church name in class site-branding and drop-down menu in class 
   site-header-menu in a single line with a wide browser. 
*/
@media screen and (min-width: 56.875em) {
  .site-header-main {
    display: block;
  }
  .main-navigation ul {
      text-align: center;
  }
  .main-navigation li {
      float: none;
      display: inline-block;
  }
  .main-navigation ul ul {
      text-align: left;
  }

  /* parent theme update appears to have added "float:left" overriding "float:none" above */
  .main-navigation .primary-menu > li {
    float: none;
  }

}

/* remove 21px margin at top and bottom of the body */
body:not(.custom-background-image):before,
body:not(.custom-background-image):after {
	height: 0px;
}
.site {
	margin-top: 0px;
        margin-bottom: 0px;
}

/* equalize sidebar margins until sidebar moves left at 910px */
@media screen and (max-width: 56.875em) {
  .sidebar {
    padding-left: 25%;
    padding-right: 25%;
  }
}
@media screen and (max-width: 640px) {
  .sidebar {
    padding-left: 15%;
    padding-right: 15%;
  }
}
@media screen and (max-width: 480px) {
  .sidebar {
    padding-left: 0;
    padding-right: 0;
  }
}

/* remove enormous margin at bottom of content and sidebar */
.sidebar {
  margin-bottom: 1em;
}
.site-main {
  margin-bottom: 1em;
}

/* @media queries */

@media screen and (max-width: 640px) {
  #masthead, #content, #colophon {
    padding-left: 5px;
    padding-right: 5px;
  }
  #content .entry-content {
    border-width: 2px;
    padding: 2px;
  }
}

@media screen and (max-width: 480px) {
  #masthead, #content, #colophon {
    padding-left: 5px;
    padding-right: 5px;
  }
  #content .entry-content {
    border-width: 0;
    padding: 0;
  }
}

/* Widening width of drop-down menu items so long workshop names are easier to read. Mark Tuttle, January 2016 */
@media screen and (min-width: 56.875em) {
  .main-navigation ul ul a { width: 15em; }
}

.podc2017proceedings h1, 
.podc2017proceedings h2 {
    text-align: left;
    margin-left: 16px;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 20px;
}

.podc2017proceedings h3,
.podc2017proceedings h4,
.podc2017proceedings h5,
.podc2017proceedings h6 {
    text-align: left;
    margin-left: 16px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
}

.podc2017proceedings h1 p, 
.podc2017proceedings h2 p, 
.podc2017proceedings h3 p,
.podc2017proceedings h4 p,
.podc2017proceedings h5 p,
.podc2017proceedings h6 p {
    margin-bottom: 0;
}

.podc2017proceedings .DLauthors li{
	display: inline;
	list-style-type: none;
	}
	
.podc2017proceedings .DLauthors li:after{
	content:",";
	}
.podc2017proceedings .DLauthors li.nameList.Last:after{
	content:"";
	}		

.podc2017proceedings .DLlogo {
	vertical-align:middle; 
	padding-right:5px;
	border:none;
	display: inline;
	}
	
#content .entry-content .podc2017proceedings ul li,
#content .entry-content .podc2017proceedings ol li {
    position: static;
    padding-right: 0px;
}
 
