/*
 Theme Name:   Workway
 Theme URI:    http://work-way.com/wp-workway-theme/
 Description:  Work-Way site WordPress theme
 Author:       El Gringo <elgringo@work-way.com>
 Template:     twentythirteen
 Version:      1.0.4
 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:  workway
*/

html {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
  font-family: Helvetica,sans-serif;
}

.widget {
  font-size: 10pt;
  background-color: rgba(247, 245, 231, 1.0);
}

.widget .widget-title {
  font-size: 10pt !important;
  font-weight: bold !important;
}

.widget-area hr {
  margin: 0 0 10px 0px;
}

.site-header {
  background-position: left top !important;
}

.site-header:before {
  content: "";
  display: block;
}
.site-header .site-header-top {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.site-header .site-header-top .search-form {
  /*width: 23.5%;*/
  display: none;
}
/*.site-header .site-header-top .search-field {
  width: 95%;
  border-width: 3.2px;
}*/

footer .site-info .copyright {
  font-style: italic;
  font-size: 80%;
  margin-left: 4.0em;
}

footer .search-form .search-submit {
  display: inline-block;
}

.sidebar .site-footer .widget.widget_search {
  width: auto;
}

.site-header .home-link {
  display: inline-block;
  padding: 0px 0px;
  margin-left: 26pt;
  min-height: 0px;
  max-width: none;
  width: auto;
}

.site-title {
  font-size: 40pt;
  padding: 0px;
}

.site-description {
  font-size: 18pt;
  padding-top: 5pt;
  padding-left: 18pt;
}

nav .search-form {
  display: none;
}

.menu-header-search .search-form {
  display: none;
  position: relative;
  top: auto;
  right: auto;
}

.menu-header-search .search-form .search-field {
  width: auto;
  /*height: auto;
  margin: 0px 0px;
  background-size: 1em 1em;*/
}

/*.site-header .site-header-top .search-form {
  display: block;
  position: relative;
  float: right;
  right: 0px;
  top: 0px;
  margin: 0px;
  padding: 0px;
}

.site-header .site-header-top .search-field {
  background-color: #B93207 !important;
  border-style: solid;
  border-color: #A80000; 
  border-radius: 5px;
  cursor: text;
  color: white;
  position: relative;
  margin: 10pt 10pt 0px 0px;
  padding: 5px 0px 5px 34px;
  transition: none !important;
  height: auto !important;
}

.site-header .search-field:focus {
  background-color: inherit;
}*/


/*.site-header .site-header-top .search-field::-webkit-input-placeholder {
   color: #fefefe;
}
.site-header .site-header-top .search-field:-moz-placeholder { 
   color: #fefefe;
}
.site-header .site-header-top .search-field::-moz-placeholder { 
   color: #fefefe;
}
.site-header .site-header-top .search-field:-ms-input-placeholder {
   color: #fefefe;
}*/


.main-navigation {
  max-width: 1480px;
  padding-left: 60pt;
  margin-left: 0px;
}

.main-navigation > div {
  margin-right: 8em;
}

ul.lang-selector {
  position: absolute;
  top: 0px;
  right: 0.5em;
  display: block;
  padding: 0px 0px;
  margin: 0px 0px;
}

ul.lang-selector > li {
  display: inline;
}
ul.lang-selector > li > a {
  display: inline;
  font-weight: bold;
  text-decoration: underline;
}

.menu-toggle {
  padding: 12px 0px 12px 0px;
}

ul.nav-menu {
  padding-top: 5pt;
}

.nav-menu li a {
  padding: 0.45em 0.5em 0.45em 0.5em;
}

.nav-menu li:hover > a,
.nav-menu li a:hover
{
  border-bottom: 1px solid #E05D22;
}

.nav-menu .sub-menu {
  width: 200px;
  box-sizing: content-box;
}
.nav-menu .sub-menu a {
  font-size: 75%;
  line-height: 1.5;
}


h1 {
  font-size: 22pt;
  margin: 16pt 0;
}
h2 {
    font-size: 16pt;
    margin-top: 2em;
    margin-bottom: 1em;
    clear: none;
}
h3 {
    font-size: 15pt;
    clear: none;
}
h4 {
    font-size: 14pt;
    clear: none;
}


.entry-content img.alignleft {
  margin-left: 0px;
}

.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta
{
  padding: 0px 366px 0px 80px;
  max-width: 1480px;
  margin: 0px 0px 0px 0px;
}
.sidebar .entry-content {
  padding-top: 1.5em;
}

.site-main .sidebar-container {
  text-align: right;
}
.site-main .sidebar-inner {
  margin: 0px 80px 0px 0px;
  display: inline-block;
  text-align: left;
}

.tags-links a {
  padding-left: 2.5pt;
}

.tags-links a:first-child {
  padding-left: 0px;
}

.site-main .sidebar-inner {
  max-width: 1340px;
}
.site-main .widget-area {
  margin-right: 0px;
}


.entry-content .wp-caption.alignleft {
    margin-left: 0px;
    float: left;
    clear: left;
}

.entry-content .wp-caption.aligninline {
  display: inline-block;
}

.entry-content .wp-caption.aligncenter {
  display: block;
  text-align: center;
}

.sidebar .digest-box {
  padding: 0px 366px 0px 80px;
  max-width: 1480px;
}

.digest-box {
  display: block;
  text-align: left;
}

.digest-box .post-boxes {
  padding: 0px;
  border: none;
  margin: 0px;
}

.digest-box .post-box {
  position: relative;
  padding: 5pt 0px 5pt 10pt;
  margin: 0px;
  box-sizing: border-box;
}

.digest-box .post-boxes .post-box {
  display: inline-block;
  float: left;
  width: 33%;
  vertical-align: top;
}

.digest-box .post-box > .see {
  position: absolute;
  display: none;
  right: 0px;
  bottom: 0px;
  font-size: 8pt;
  color: #BC360A;
  padding: 5pt 5pt;
}

.digest-box .post-box:hover {
  cursor: pointer;
  background-color: #FAF8EE;
}

.digest-box .post-box:hover > .see {
  display: block;
}

.digest-box .post-boxes .post-box:nth-child(2n+1) {
  clear: inherit;
}

.digest-box .post-boxes .post-box:nth-child(3n+1) {
  clear: left;
}

.digest-box .post-box .categories-links ul,
.digest-box .post-box .categories-links ul li
{
  list-style: none;
  margin: 2.5pt 0px 0px 0px;
  padding: 0px;
  line-height: 1.0;
  font-size: 10pt;
}

.digest-box .post-box .entry-meta {
  font-size: 12pt;
  width: auto;
  font-weight: normal;
}

.digest-box .post-box > .entry-meta {
  padding: 0px 10pt 0px 0px !important;
  font-size: 12pt;
  float: left;
  display: inline-block;
  width: auto;
  max-width: 112pt;
}

.digest-box .post-box .post-jump {
  color: inherit;
}

.digest-box .post-box .post-jump:hover,
.digest-box .post-box .post-jump:active
{
  text-decoration: none
}

.digest-box .post-box .entry-title > .entry-meta {
  display: inline;
  padding: 0px 10pt 0px 0px !important;
}

.digest-box .post-box .entry-meta > span {
  margin: 0px;
}

.digest-box .post-box .entry-title {
  display: inline-block;
}

.digest-box .post-box .entry-title h1 {
  font-family: Helvetica,sans-serif;
  font-size: 11pt;
  font-weight: normal;
  display: inline;
  color: #220E10;
}

/*.entry-title {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -o-hyphens: none;
  hyphens: none;
}*/

.digest-box .post-box > .entry-summary {
  padding: 0px 0px 0px 0px !important;
  font-size: 10pt;
}

.digest-box .post-box .entry-title {
  line-height: 1.0;
}

.digest-box .post-box .entry-title .date {
  font-size: 10pt;
}

.digest-box #news-post-boxes.post-boxes .post-box {
  padding: 0px 0px;
}
.digest-box #news-post-boxes.post-boxes .post-box .entry-title {
  margin: 0px 0px;
}
.digest-box #news-post-boxes.post-boxes .post-box .entry-title a {
  font-weight: bold;
  font-size: 90%;
}

.thumbnail-wrapper
{
  display: block;
  width: 102pt;
  height: 72pt;
  background-size: 102pt;
  background-repeat: no-repeat;
  border-radius: 5px;
}


.hentry:first-child {
  /*padding: 0px 0px;*/
}

.single .hentry:first-child {
  padding-top: 40px;
}


.decorated {
  overflow: hidden;
  text-align: center;
  padding: 0px 0px 10pt 0px;
  margin: 0px;
  color: #220E10;
  position: relative;
}
.decorated:first-child {
  padding: 25pt 0px 10pt 0px;
}
h4.decorated {
  font-weight: normal;
  font-style: italic;
  font-size: 12pt;
  font-family: inherit;
}
.decorated > span:first-child {
  position: relative;
  display: inline-block;
}
.decorated > span:first-child:before,
.decorated > span:first-child:after
{
  content: '';
  position: absolute;
  top: 50%;
  border-bottom: 1px solid;
  border-color: #220E10;
  width: 592px; /* half of limiter */
  margin: 0 20px;
}
.decorated > span:first-child:before {
  right: 100%;
}
.decorated > span:first-child:after {
  left: 100%;
}

.digest-toggle {
  position: absolute;
  display: inline;
  top: 50%;
  right: 0px;
  padding: 0px 5pt 0px 10pt;
  margin: 0px 0px;
  background: white;
  font-size: 10pt;
  font-style: normal;
  color: #CA3C08;
  cursor: pointer;
}

.digest-toggle:hover {
  text-decoration: underline;
}

.digest-toggle:after {
  webkit-font-smoothing: antialiased;
  display: inline-block;
  font: normal 10pt Genericons;
  vertical-align: text-bottom;
  padding-left: 5pt;
}

.digest-toggle:after {
  content: "\f503";
}
.digest-toggle.hide:after {
  content: "\f502";
}

/* Flex digest */
.digest-box .flex-post-boxes {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  align-content: flex-start;
}

.flex-post-boxes .post-box {
  flex-basis: 20em;
  flex-grow: 1;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.flex-post-boxes.compact .post-box {
  padding-bottom: 0px;
  padding-top: 0px;
  margin-bottom: 0px;
}

.archive-link {
  display: block;
  margin-bottom: 1em;
  font-style: italic;
  padding: 0.25em 0.25em 0.25em 1.25em;
  background-color: #f7f5e7;
  text-align: left;
  width: 100%;
}

.archive-link a {
  display: block;
  width: 100%;
}

.archive-link a:after {
  content: "→";
}

.flex-post-boxes.compact .archive-link {
  margin-top: 1em;
}

h2.comments-title {
  font-size: 1.2em;
}

h2.comments-title > span {
  font-style: normal;
}

.post-navigation {
  background-color: #F7F5E7;
}

.social ul {
  padding: 0px 0px;
  margin: 0.5em 0px -0.5em 0px;
}

.entry-header .social ul {
  margin: 0.5em 0px -0.5em 0px;
}

.entry-meta .view-counts > .view-counts-value {
  color: #BC360A;
}

.view-counts .view-counts-value:before {
  content: "\f403";
  webkit-font-smoothing: antialiased;
  display: inline-block;
  font: normal 10pt Genericons;
  vertical-align: text-bottom;
}

.category-tree-item {
  margin-top: 0.8em;
  font-weight: bold;
}

.category-tree-item > ul {
  font-weight: normal;
}

.category-tree-item .more-in-category {
  font-style: italic;
  font-weight: bold;
}

.format-chat {
  background-color: #f5efd1;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.new-comments-count {
  color: #bc360a;
  font-weight: bold;
}

.format-chat .new-comments-count {
  color: #722d19;
}

.widget ul.discussions > li.chat.sticky {
  font-weight: bold;
}

.widget ul.discussions > li.chat > a.rsswidget::before {
  content: "\f108";
  margin-right: 2px;
  font: normal 16px/1 Genericons;
  vertical-align: text-bottom;
}

.widget ul.discussions > li .total,
.widget ul.discussions > li .today {
  color: #9f7466;
  font-size: 90%;
}
.widget ul.discussions > li .total::before {
  content: "\f300";
  font: normal 14px/1 Genericons;
  vertical-align: text-bottom;
}

.widget ul.discussions > li .today {
  font-weight: bold;
}
.widget ul.discussions > li .today::before {
  content: "+";
}

li.comment.todaycomment .comment-metadata time {
  color: #754b0c;
  font-weight: bold;
}

li.comment.todaycomment {
  background-color: #f7f5e7;
}

li.comment > article {
  padding-left: 1.0em;
  padding-right: 1.0em;
}

.wp-caption .wp-caption-text {
  font-size: 75%;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  padding-right: 1.0em;
  margin-top: 1.0em;
}

ul.dict_index {
  column-width: 200px;
  -moz-column-width: 200px;
  -webkit-column-width: 200px;

  -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
  -moz-column-gap: 40px; /* Firefox */
  column-gap: 40px;

  padding: 0px;
  margin: 0px;
}

ul.dict_index > li {
  display: inline-block;
  width: 100%;
  margin-top: 1.0em;
}

ul.dict_index > li > span {
  display: block;
  border-bottom: 2px solid lightgray;
  font-weight: bold;
  font-size: 120%;
}

.widget ul {
  line-height: 1.2;
}
.widget ul > li {
  padding: 0px 0px 0.5em 0px;
}
.widget ul .rss-date {
  display: inline;
  font-size: 80%;
}

blockquote, .entry-content blockquote {
  font-size: 100%;
  font-style: normal;
}
blockquote i, blockquote em {
  font-style: italic;
}
blockquote strong, blockquote b {
  font-weight: bold;
}
strong, b {
  font-weight: bold;
}

body.single.single-post .entry-content .single-hide {
  display: none;
}

ul.page-gallery {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
ul.page-gallery > li {
  display: inline-block;
  margin: 1.5em; 
  text-align: center;
  font-size: 80%;
  font-weight: bold;
}
ul.page-gallery > li img {
  display: block;
  margin-bottom: 0.5em;
  width: 200px;
  height: auto;
}
ul.page-gallery > li a {
  display: block;
}

div.entry-content > p, div.entry-content > blockquote > p {
  text-align: justify;
}

.wp-block-embed {
  clear: both;
  padding-top: 1em;
}

.entry-meta .author.vcard {
  display: none;
}

.comments-jump {
  cursor: pointer;
  font-style: normal; !important;
}

.comments-jump.jump-down {
  float: right;
}

.comments-jump.jump-down::before {
  content: "↓";
}

.comments-title-bottom {
  text-align: right;
  margin-top: 0px;
}

.comments-jump.jump-up::before {
  content: "↑";
}

#un-bottom-static {
  display: block;
  width: 100%;
  text-align: center;
  padding: 5px;
  background-color: burlywood;
}

#un-href-bottom {
  color: darkred;
  font-weight: bold;
  text-decoration: underline;
}

@media (max-width: 1599px) {
  .sidebar .entry-header,
  .sidebar .entry-content,
  .sidebar .entry-summary,
  .sidebar .entry-meta
  {
    padding: 0px 436px 0px 80px;
  }
  .sidebar .entry-content {
    padding-top: 1.5em;
  }
  .sidebar .digest-box {
    padding-right: 436px;
    padding-left: 80px;
  }
  .site-main .sidebar-inner {
    margin: 0px 80px 0px 0px;
  }
  .site-main .widget-area {
    margin-right: 0px;
  }
  .digest-box .post-boxes .post-box:nth-child(2n+1) {
    clear: inherit;
  }
  .digest-box .post-boxes .post-box:nth-child(3n+1) {
    clear: left;
  }
}

@media (max-width: 1380px) {
  .sidebar .entry-header,
  .sidebar .entry-content,
  .sidebar .entry-summary,
  .sidebar .entry-meta
  {
    padding: 0px 426px 0px 60px;
  }
  .sidebar .entry-content {
    padding-top: 1.5em;
  }
  .site-main .sidebar-inner {
    max-width: 1220px;
  }
  .sidebar .digest-box {
    padding-right: 426px;
    padding-left: 60px;
  }
  .site-main .sidebar-inner {
    margin: 0px 60px 0px 0px;
  }
  .site-main .widget-area {
    margin-right: 0px;
  }
  .digest-box .post-boxes .post-box {
    width: 50%;
  }
  .digest-box .post-boxes .post-box:nth-child(3n+1) {
    clear: inherit;
  }
  .digest-box .post-boxes .post-box:nth-child(2n+1) {
    clear: left;
  }
}

@media (max-width: 1320px) {
  .sidebar .entry-header,
  .sidebar .entry-content,
  .sidebar .entry-summary,
  .sidebar .entry-meta
  {
    padding: 0px 396px 0px 40px;
  }
  .sidebar .entry-content {
    padding-top: 1.5em;
  }
  .site-main .sidebar-inner {
    max-width: 1120px;
  }
  .sidebar .digest-box {
    padding-right: 396px;
    padding-left: 40px;
  }
  .site-main .sidebar-inner {
    margin: 0px 40px 0px 0px;
  }
  .site-main .widget-area {
    margin-right: 0px;
  }

  h2 { font-size: 14pt; }
  h3 { font-size: 13pt; }
  h4 { font-size: 12pt; }
}

@media (max-width: 1200px) {
  .site-main .sidebar-inner {
    max-width: 990px;
  }
  .site-main .widget-area {
    margin-right: 0px;
  }
  /*.site-header .site-header-top .search-field {
    border-width: 2.8px;
  }*/
}

@media (max-width: 999px) {
  .site-title {
    font-size: 32pt;
  }
  .site-description {
    font-size: 16pt;
  }
  /*.site-header .site-header-top .search-field {
    font-size: 95%;
    border-width: 2px;
  }*/
  .sidebar .entry-header,
  .sidebar .entry-content,
  .sidebar .entry-summary,
  .sidebar .entry-meta
  {
    padding: 0px 60px 0px 60px;
  }
  .sidebar .entry-content {
    padding-top: 1.5em;
  }
  .sidebar .digest-box {
    padding-right: 60px;
    padding-left: 60px;
  }
  .site-main .sidebar-container {
    text-align: center;
  }
  .site-main .sidebar-inner {
    margin: 0px 0px 0px 0px;
  }
  .site-main .widget-area {
    margin-right: 0px;
  }
  /*.site-header {
    background-image: url('images/workway-header-1000.png');
  }*/
  /*.site-header .site-header-top .search-form {
    width: 29%;
  }*/
  .menu-header-search .search-form {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .main-navigation {
    max-width: 1480px;
    padding-left: 20pt;
    margin-left: 0px;
  }
  .nav-menu li a {
    font-size: 10pt;
    padding: 0.45em 0.4em 0.45em 0.4em;
  }
  .site-header .home-link {
    margin-left: 18pt;
  }
  .site-title {
    font-size: 24pt;
  }
  .site-description {
    font-size: 12pt;
    padding-top: 4.2pt;
    padding-left: 12pt;
  }
  /*.site-header .site-header-top .search-field {
    margin: 17pt 10pt 0px 0px;
    font-size: 85%;
  }*/
  .sidebar .entry-header h1 {
    font-size: 20pt;
    font-weight: normal;
  }
  .site-main .widget-area {
    margin-right: 0px;
  }
  .digest-box .post-box > .entry-summary {
    font-size: 9pt;
  }
  .digest-box .post-box .entry-title h1 {
    font-size: 11pt;
  }
  div.entry-content {
    font-size: 96%;
  }
  div.comments-area {
    font-size: 92%;
  }
}

@media (max-width: 643px) {
  .site-header .home-link {
    margin-left: 16pt;
  }
  .site-title {
    font-size: 26pt;
  }
  .site-description {
    font-size: 10pt;
    padding-top: 3.6pt;
    padding-left: 10pt;
  }
  /*.site-header .site-header-top .search-form {
    display: none;
  }*/
  nav .search-form {
    display: block;
  }
  .sidebar .entry-header h1 {
    font-size: 20pt;
    font-weight: normal;
  }
  .sidebar .entry-header,
  .sidebar .entry-content,
  .sidebar .entry-summary,
  .sidebar .entry-meta
  {
    padding: 0px 5px 0px 5px;
  }
  .sidebar .entry-content {
    padding-top: 1.5em;
  }
  .sidebar .digest-box {
    padding-right: 5px;
    padding-left: 5px;
  }
  .site-main .widget-area {
    margin-right: 0px;
  }
  .digest-box .post-boxes .post-box {
    width: 100%;
    float: none;
  }
  .digest-box .post-boxes .post-box:nth-child(2n+1) {
    clear: none;
  }
  .digest-box .post-box .entry-meta {
    font-size: 11pt;
    width: auto;
    font-weight: normal;
  }
  .digest-box .post-box .entry-meta .date {
    font-size: 11pt;
  }
  .digest-box .post-box .entry-title h1 {
    font-size: 10pt;
    font-weight: bold;
  }
  .digest-box .flex-post-boxes.compact .post-box .entry-meta,
  .digest-box .flex-post-boxes.compact .post-box .entry-meta .date {
    font-size: 8pt;
  }
  .digest-box .flex-post-boxes.compact .post-box .entry-meta .date a::before {
    font-size: 8pt;
  }
  .digest-box .flex-post-boxes.compact .post-box .entry-title {
    margin-bottom: 0px;
  }
  .digest-box .flex-post-boxes.compact .post-box .entry-title h1 {
    font-size: 9pt;
  }
  .entry-content img.alignleft {
    max-width: 50%;
  }
  /*.site-header {
    background-image: url('images/workway-header-643.png');
  }*/
  /*.site-header:before {
    padding-top: 13.20%;
  }*/

  #un-button {
    display: none; !important;
  }
  
  ul.lang-selector {
    margin-left: 1.5em;
    left: 8em;
    padding-top: 10px;
  }

  h2 { font-size: 13pt; }
  h3 { font-size: 12pt; }
  h4 { font-size: 11pt; }
}

@media (max-width: 500px) {
  div.entry-content img.alignleft,
  div.entry-content figure.alignleft {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    float: none;
    clear: both;
    text-align: center;
  }
  div.entry-content figure.alignleft img {
    margin-bottom: 1em;
    width: 85% !important;
  }
  div.digest-box {
    display: none;
  }
}

@media print {
  /*.site-header .site-header-top .search-form {
    display: none;
  }*/

  .site-header::before {
    padding-top: 0px;
  }

  .site-main .widget-area {
    display: none;
    margin-right: 0px;
  }

  .social, .social * {
    display: none;
  }
  
  .sidebar .entry-content,
  .sidebar .entry-header,
  .sidebar .entry-meta
  {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    max-width: 100%;
  }

  #un-button {
    display: none; !important;
  }
}
