/*
Theme Name:   Tinydancer
Theme URI:    https://classicpress-themes/tinydancer
Author:       Tradesouthwest
Author URI:   https://tradesouthwest.com/
Description:  TinyDancer is a minimalistic tiny flex based theme templated for general website use. Has a Hero section template for a home (or any) page. Basic content sections are seventy-five percent and twenty-five percent widths. Footer is full width with three widget sections. Options include content padding; background-color; theme headings; hero section text, url for call to action and hero background image.
Requires PHP: 7.4
Requires CP:  1.4
Version:      1.0.9
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header,sticky-post, threaded-comments, translation-ready, blog
Text Domain:  tinydancer

This theme, like ClassicPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ===========================
    CSS Index
==============================
 *
 * 1.0 - Body/Page
 * 2.0 - Universal padding and margins and alignments
 * 3.0 - Site Header
 * * 3.1 - Navigation
 * 4.0 - Page
 * 5.0 - Wide Banner Top
 * 6.0 - Main
 * 7.0 - Content
 * 8.0 - Sidebar
 * 9.0 - Footer
 * 10.0 - Media Breakpoints
 */

/**
 * 1.0 - Body | Page
 * perf overhead. Anecdotal evidence suggests border-box isn’t significant*
 * @see *https://docs.google.com/spreadsheets/d/1jJUuSBQj6a3imkX_QYZDVW5eDyE5tXULTkqnI7rMLU8/edit#gid=0
 * ^from https://www.paulirish.com/2012/box-sizing-border-box-ftw/
 */
/* apply a natural box layout model to all elements, but allowing components to change */

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
    padding: 0;
    margin: 0;
    font-size: 100%;
    font-family: -apple-system, "BlinkMacSystemFont", "Avenir",
    "Avenir Next", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
.page{
    margin: 0 auto;
}
a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}
pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.42857143;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

pre code,
pre {
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre-wrap;
  background-color: transparent;
  border-radius: 0;
}
pre code,
code{
  font-family: monaco, "Consolas", "Lucida Console", monospace;
  background: #efefef
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	border: 0 solid #1a1a1a;
	border-left-width: 4px;
	color: #686868;
	font-size: 19px;
	font-size: 1.1875rem;
	font-style: italic;
	line-height: 1.4736842105;
	margin: 0 0 1.4736842105em;
	overflow: hidden;
	padding: 0 0 0 1.263157895em;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote p {
	margin-bottom: 1.4736842105em;
}

blockquote cite,
blockquote small {
	color: #1a1a1a;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.75;
}

blockquote cite:before,
blockquote small:before {
	content: "\2014\00a0";
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

blockquote > :last-child {
	margin-bottom: 0;
}

address {
	font-style: italic;
	margin: 0 0 1.75em;
}

pre {
	border: 1px solid #d1d1d1;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.3125;
	margin: 0 0 1.75em;
	max-width: 100%;
	overflow: auto;
	padding: 1.75em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

abbr,
acronym {
	border-bottom: 1px dotted #d1d1d1;
	cursor: help;
}

mark,
ins {
	background: #007acc;
	color: #fff;
	padding: 0.125em 0.25em;
	text-decoration: none;
}

big {
	font-size: 125%;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}

hr {
	background-color: #d1d1d1;
	border: 0;
	height: 1px;
	margin: 0 0 1.75em;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dl {
	margin: 0 0 1.75em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 0 1.75em;
}

/**
 * ************************************************** 2.0 - Universal
 *
 */
/* Allow percentage-based heights in the application */

html, body {
  height: 100%;
}
/*
 Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6, div > :not([style]) {
  overflow-wrap: break-word;
  line-height: 1.674;
}
h1{
  font-size: xx-large
}
.page-header,
.section-content,
.section-sidebar,
.page-footer{
    box-sizing: border-box;
}
img {
  border: 0;
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
	vertical-align: middle;
}
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}
/* must have higher specificity than alternative color schemes inline styles */
.skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
	font-family: "Open Sans", sans-serif;
}

.skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}
a{
  background-color: transparent;
  text-decoration: none;
  color: #236aa7;

}
a:active,
a:hover {
    outline: 0;
}

table {
  background-color: transparent;
}

caption {
  padding-top: 8px;
  padding-bottom: 8px;
  color: #777;
}

th {
  text-align: left;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

table>thead>tr>th,
table>tbody>tr>th,
table>tfoot>tr>th,
table>thead>tr>td,
table>tbody>tr>td,
table>tfoot>tr>td {
  padding: 4px;
  line-height: 1.28;
  vertical-align: middle;
  border-top: 1px solid #ddd;
}
input[type="submit"]{
  background: #eee;
	box-sizing: inherit;
  color: #464646;
  padding: 6px 8px;
  width: fit-content;
  height: min-content;
  white-space: normal;
  text-align:center;
  margin: 0 0 0 auto;
  border-radius: 3px;
  font-size: .938em;
  background: rgba(242, 242, 242, .86);
  box-shadow: 0 1px 2px 1px #777;
  border: 0;
}
input[type="search"],
input[type="email"],
input[type="url"],
input[type="text"]{
  padding: 4px;
  line-height: 1.28;
  vertical-align: middle;

}
.tdnc-viewable{
  display: flex;
}
.tdnc-hidden{
  display:none;
}
/**
* ************************************************** 3.0 - Site Header
*/
.page-header {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding-top: .05em;
}
.site-title a{
  color: #494c4f;
  text-shadow: 0 .5px .5px rgba(0,0,0,0.12), 0 1px 1px rgba(240,240,240,0.4);
}
.site-description{
  font-size: 125%;
  font-weight: bolder;
  text-shadow: 0 .5px .5px rgba(0,0,0,0.12), 0 1px 1px rgba(240,240,240,0.24);
}
.page-header-inner{
  position: relative;
flex-direction: column;
width: 100%;
z-index: 100;
line-height: 1;
display: flex;
top: -1em;
}
.site-logo{
  z-index: 1;
  position: relative;
  width: 25%;
}
.site-logo img{
  position: relative;
  max-height: 148px;
  width: max-content;
  left: 33px;
}

/* ************************************************** 3.1 - Nav */
ul.page-nav{
  margin-left: 0;
}
.page-nav-wrapper{
  width: 100%;
  border-bottom: 3px solid #badae5;
  margin: 0;
  padding: .25em 0;
  max-width: 1440px;
  margin: 0;
}

.page-nav{
  list-style: none;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 999;
  align-items: flex-start;
}
.page-nav li{
  display: flex;
  align-items: flex-start;
  max-width: fit-content;
  position: relative;
  margin: 0;
  padding: 0;
}
.page-nav .menu-item-has-children{
  border-left: 2px dotted #ccc;
}
.page-nav .sub-menu {
  margin-left: -2.222em;
  position: relative; /* must change to absolut on wide screen */
}

.page-nav a {
  box-sizing: border-box;
  color: #464646;
  padding-left: .75em;
  padding-right: .75em;
  margin-right: 2px;
  display: flex;
  position: relative;
  white-space: pre;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.336em;
  text-align: center;
  background-image: linear-gradient(#f9f9f9, #fefefe, #f6f6f6);
  font-weight: inherit;
  text-shadow: 0 .5px .5px rgba(0,0,0,0.12), 0 1px 1px rgba(240,240,240,0.24);
  border: thin solid #eee
}
.page-nav a:hover,
.page-nav a:focus{
  color: olive;
}


#nav_button{
  display: none;
  height: inherit;
  position: relative;
}
.nav-button-top {
  transform:rotate(90deg);
  color: #000;
  font-size: xx-large;
  font-style: normal;
  left: .228em
}
.nav-button-top:hover{
  font-style: italic
}
.open-menu{
  height: 3.65em;
  width: 2.5em;
  display: flex;
  margin-top: -2.538em;
  border: thin solid transparent;
  background-image: none;
  margin-left: -3px;
  transform: rotate(-90deg);
  z-index: 2;
  position: relative;
  cursor: pointer;
}
.nav-button-top label{
  position: relative;
}
.nav-button-top span{
  position:relative;
  z-index:22;
  cursor: pointer;
  color: #506366;
}
.nav-button-wrapper{
  height: 4em;
  width: 4em;
  position: absolute;
  right: 2em;
  top: 9em;
  padding-top:2px;
  /* box-shadow: 0 1px 10px 0px #badae5; */
  border-radius: 0 20px 0px 20px;
  background: rgba(252,254,255,.8);
}

/**
 * ************************************************** 4.0 - Page
 * This is a wrapper for all content below the header.
 * Ends in the footer template just above footer.
 */
.page {
  overflow-x: initial;
}

.article-heading{
  margin-top: 1.444em;
  margin-right: 0px;
  margin-bottom: -10px;
  margin-left: 0px;
}
.home .inner_content h2{
  margin: 2em 0 1.674em 0;
}
.linked-attachment-container{
  margin-top: 1.222em;
}
/* Alignments */
.bypostauthor {
  color: inherit;
}

.alignleft {
  display: inline;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

.textcenter {
  clear: left;
  display: block;
  margin: 0 auto;
  text-align: center;
}
.comment-list .comment{
  margin-top: 1em;
}
.comment-form p label{
  display: flex;
  min-width: 5em;
  text-decoration:underline;
}
.maxheight-sm{
  max-height: 168px;
  overflow:hidden;
  display: flex;
}
.maxheight-sm img{
  max-height: 150px;
  width: auto;
  margin-top: 1.222em;
}
.after-content,
.inner_content .after-excrpt {
  margin-top: .4rem;
  min-height:1px;
  border-top: thin solid #ddd;
  display:flex;
  width: 100%;
}
.inner_content .after-excrpt p span small{
  font-size: x-small
}
p.after-cats{
  margin-top: .5em
}
.after-content .after-cats{
  opacity: .84
}
.pagination-nav a {
  padding: 6px 10px;
  background: #2d2d2d;
  color: white;
  border-radius: 50%
}
.pagination-nav {
  margin-top: 1em;
  width: 100%;
  display: flex;
}
.prenav{
  margin-right:1em;
  opacity: .64
}
/* 4.3 - Widgets */
.widget_tag_cloud,
.widget_archive,
.widget_categories{
  max-height: 21.475em;
  overflow-y: auto;
  margin-bottom: 1em;
  border-bottom: thin solid #ddd;
}
/**
* ************************************************** 5.0 - Wide Banner Top
* Set height in customzr
*/
.tinydancer-hero{
  z-index: 2;
  display: flex;
  position: relative;
}
.home-wide-top{
  margin: 0;
  width: 100%;
}
.hero-inner-content {
  /*height: calc(520px - 10vh );*/
  padding: 2.75em;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-title,
.hero-heading {
  background: rgba(252,252,252,.24);
  white-space: nowrap;
  border-radius: 2px;
  padding-left: 5px;
  padding-right: 5px;
  text-shadow: 0 .5px .5px rgba(0,0,0,0.12), 0 1px 1px rgba(240,240,240,0.4);
}
.hero-inner-content .hgroup{
  padding-left: 30px;
}
.cta-tinyd{
  font-size: 1.2em;
  background: rgba(242, 242, 242, .86);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 2px 1px #777;

}
.call-to-action span{
  background: transparent;
}
.call-to-action{
  position:relative;
  white-space: nowrap;
  height: fit-content;
}
/**
 * ************************************************** 6.0 Main
 */
main {
  display: flex;
  flex-direction: row;
  width: 100%;
}

/**
 * ************************************************** 7.0 - Content
 */
 .section-content {
  width: 75%;
  display: flex;
  flex-direction: column;
}
.section-content .post-content{
	margin-left: 23px;
	margin-right: 13px;
}
.dancer-loop {
  display: inherit;
}
.dancer-loop article{
  box-shadow: 0 1px 4px 0 rgba(21,29,34,.24);
  border: thin solid #dddedf;
  padding: 0 .5rem;
  margin-bottom: .825em;
}
.dancer-loop-horizontal .dancer-loop {
  display: flex;
  flex-wrap: wrap;
}
.dancer-loop-horizontal .dancer-loop article{
  flex-basis: 31%;
  margin: 1%;
   /*
  box-shadow: .5px .5px 3px 1px #dddedf; */

}
.dancer-loop-horizontal .dancer-loop article:last-child{
  margin-right: 1%;
}
.dancer-loop article.sticky{
  border-bottom: 3px solid #badae5;
  border-right: 3px solid #badae5
}
blockquote {
  border: 4px dotted #ccc;
  padding-left: .825em;
  padding-right: .825em;
  border-radius: 0 18px;
}
cite{
  width: 100%;
  display: block;
  opacity: .64
}
cite:before{
  content: "__";
  position: relative;
  top: -.4em;
  display: inline-flex;
  margin-right: .25em;
}
/* Gallery
 ---------------------------------------- */

 .gallery {
  margin: auto;
  /* gallery clearing*/
  overflow: hidden;
  width: 100%;
}

.gallery .gallery-item {
  float: left;
  margin-top: 10px;
  text-align: center;
}

.gallery.gallery-columns-1 .gallery-item {
  width: 100%;
}

.gallery.gallery-columns-2 .gallery-item {
  width: 50%;
}

.gallery.gallery-columns-3 figure {
  width: 33.33%;
}

.gallery.gallery-columns-4 .gallery-item {
  width: 25%;
}

.gallery.gallery-columns-5 figure {
  width: 20%;
}

.gallery.gallery-columns-6 figure {
  width: 16.66%;
}

.gallery.gallery-columns-7 figure {
  width: 14.285%;
}

.gallery.gallery-columns-8 figure {
  width: 12.5%;
}

.gallery.gallery-columns-9 figure {
  width: 11.111%;
}

.gallery img {
  box-shadow: 0px 0px 4px #999;
  border: 1px solid white;
  padding: 5px;
  background: #f9f9f9;
}

.gallery img:hover {
  background: white;
}

.gallery .gallery-caption {
  margin-left: 0;
}

.gallery dl,
.gallery dt {
  margin: 0;
}

.gallery br+br {
  display: none;
}

.gallery br {
  clear: both
}

/**
 * ************************************************** 8.0 - Sidebar
 */

.section-sidebar {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.section-sidebar .widget ul{
  list-style: none;
  padding: 0 1em 0 1em;
}
.inner-sidebar {
  padding: 1.938em 0 0 1.938em;
  box-sizing: border-box;
  width: 90%;
  margin-right: 1em;
  margin-left: 1em;
}
#wp-calendar {
  table-layout:fixed;

}
#wp-calendar td{
  padding: 3px 9px;
}
/**
 * ************************************************** 9.0 Footer
 */
.page-footer {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 30px
}
.page-footer > .section-third{
  flex: 1 1 0;
}
.footer-base{
  margin: 0;
  max-width: 1440px;
  height: 2.67em;
  background: #2d2d2d;
  padding: 14px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.footer-base a,
.footer-base{
  color: #ffffff;
  display:flex;
  align-items: center;
}
.upto{
  display: flex;
  align-items: center;
}
.upto a {
  font-size: larger;
  border: thin solid white;
  border-radius: 50%
}
.upto a sup{
  position:relative;
  top:11%;
  left: 28%;
  font-size: larger;
  font-weight: normal;
}
/* Back to Top button */

.back_to_top {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 2;
  cursor: pointer;
  position: relative;
}

.back_to_top:hover {
  background: #e9ebec;
  color: black;
}

.back_to_top-show {
  display: block;
}
/**
 * ************************************************** 10.0 - Media Breakpoints
 */
@media screen and (max-width: 799px) {

  .home .home-wide-top{
    color: inherit;
  }
  .page {
    overflow-x: visible;
  }
  .nav-container{
    min-height: 3em;
  }
  #nav_button,
  .nav-button-wrapper{
    display: flex;
  }
  .nav-wrapper{
    display:none;
  }

  main {
    display: flex;
    flex-direction: column;
  }
  .site-title, h1{
    text-align:center;
    font-size: x-large;
  }
  .site-description{
    font-size: 105%;
    text-align:center;
  }
  .site-logo img{
    left: 2px;
  }
  .hero-inner-content .hgroup{
    padding: 3em;
  }
  .hgroup{
    text-align: center;
    font-size: smaller;
    margin-left: -4em;
    width: 100vw;
  }
  .call-to-action{

    margin-top: 4em;
    margin-left: calc(22vw - 100%);
  }

  .page-footer,
  .section-content,
  .section-sidebar{
    width:100%;
    flex-direction: column;
  }
  #wp-calendar td{
    padding: 3px;
  }
}
@media screen and (max-width: 900px) {
  .dancer-loop-horizontal .dancer-loop{
    flex-direction: column
  }
}
@media screen and (min-width: 800px){
  #main__nav{
    display: flex;
  }
  #open_menu{
    display:none

  }
  .nav-button-wrapper{
    display: none
  }
  .nav-wrapper{
    position:relative;
    z-index: 990;
    display:flex;
  }
  .page-nav-wrapper{
    height: 4.5em;
  }
  .page-nav{
    flex-direction: row;
    height: 4em;
  }
  .page-nav .menu-item-has-children .sub-menu{
    opacity:0;
    top:2.5em;
	left: .15em;
    position:absolute;
  }
	.page-nav .sub-menu .sub-menu li {
		margin-left: .5em;
	}
  .page-nav .menu-item-has-children:hover .sub-menu{
    opacity: 1;

  }
  .page-nav li{
    margin: 0;
    align-items: center;
    min-width: calc( 5em + 1vw );
    height: 2.4444em;
  }
  .page-nav .menu-item-has-children:hover ~ .page-nav-wrapper{
    max-height: 100%;
    overflow: visible;
  }
}
@media screen and (min-width: 1025px){
  body{
    max-width: 1440px;
    margin: 0 auto;
  }
  .back_to_top {

    left: auto;
  }
}
}
@media screen and (min-width: 1440px){
	.page{
		padding: 0px 30px;
	}
	.page-nav{
		padding-left: 3em;
	}
}
