/*
Theme Name: Laofanaim New
Author: Rotem Shmueli
Description: Why do you read this?!
Version: 1.0
*/

html, body {
    margin:  0px;
    text-align:  right;
    color:  #383838;
    background-color: white;
    font-family: 'Nachlieli CLM', Arial;
    font-size: 17px;
}

img {
    border:  0px;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

@font-face {
    font-family: 'Nachlieli CLM';
    font-weight: 200;
    font-style: normal;
    src: url('addons/fonts/200.woff') format('woff');
}

.header {
    width: 100%;
    height: 65px;
    background-color: white;
    border-bottom: 1px solid #DCDCDC;
}

.wrap {
    width: 1200px;
    margin: auto;
}
.logo {
    float: right;
    color: white;
    background-color: #7AC142;
    padding: 0px 5px;
    text-decoration: none;
    font-size: 45px;
    margin-top: 12px;
    line-height: 0.9;
    transition: 0.2s;
}

.logo:hover {
    background-color: #5CA723;
}

.menu-site {
    float: left;
    margin-top: 12px;
}

.menu-site ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.menu-site ul li {
    float: right;
}

.menu-site a {
    float: left;
    color: #383838;
    text-decoration: none;
    padding: 10px;
    margin-right: 20px;
}

.menu-site a:hover {
    color: #7AC142;
}

.page {
    float: right;
    width: 100%;
    padding: 15px;
}

.right {
    float: right;
    width: 70%;
    border-left: 1px solid #DCDCDC;
    padding-left: 25px;
}

.left {
    float: right;
    width: 30%;
    padding-right: 25px;
}

.skip-link {
    position: absolute;
    top: -40px;
    right: 10px;
    background: #383838;
    color: white;
    padding: 8px 12px;
    z-index: 9999;
    text-decoration: none;
    font-size: 14px;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 5px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    background-color: #7AC142;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    line-height: 44px;
    text-align: center;
    padding: 0;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #5CA723;
}

.index-article {
    float: right;
    width: 100%;
    background-color: #7AC142;
    color: white;
    padding: 10px;
}

.index-article a {
    color: white;
}

.list {
    float: right;
    width: 100%;
}

.title {
    float: right;
    background-color: #383838;
    color: white;
    font-size: 20px;
    padding: 2px 6px 1px 6px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.entry-title a {
    color: #7AC142;
}

.article-box {
    float: right;
    width: 100%;
    border-bottom: 2px solid #7AC142;
    padding: 15px 0px;
}

.article-box:nth-last-child(1) {
    border-bottom: 0px;
}

.article-title {
    float: right;
    width: 100%;
    font-size: 27px;
    color: #7AC142;
    transition: 0.2s;
    text-decoration: none;
}

.article-title:hover {
    text-decoration: underline;
    color: #5CA723;
}

.article-short {
    float: right;
    margin-top: 5px;
    width: 100%;
}

.article-short p {
    margin: 0px;
}

.home-tag-box {
    float: right;
    width: 100%;
    margin-bottom: 10px;
    background-color: #f5f5f5;
    border: 1px solid #DCDCDC;
    border-radius: 5px;
    padding: 12px 15px;
    text-decoration: none;
    transition: 0.3s;
}

.home-tag-box:hover {
    background-color: #7AC142;
    border-color: #7AC142;
}

.home-tag-name {
    display: block;
    color: #383838;
    font-size: 16px;
    font-weight: bold;
}

.home-tag-count {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 2px;
}

.home-tag-box:hover .home-tag-name,
.home-tag-box:hover .home-tag-count {
    color: white;
}

.chan {
    float: right;
    margin: 10px 0px;
    width: 100%;
}

.chan img {
    float: right;
    width: 80%;
}

.about {
    float: right;
    width: 100%;
    padding: 10px;
}

.about a {
    color: #7AC142;
}

.about a:hover {
    color: black;
}

.tags {
    float: right;
    width: 100%;
    list-style-type: none;
    padding: 0px;
}


.tags a {
    color: #383838;
    float: right;
    border-right: 2px solid #383838;
    width: 100%;
    padding: 10px;
    text-decoration: none;
}

.related-posts {
    float: right;
    width: 100%;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.related-posts li {
    float: right;
    width: 100%;
}

.related-posts a {
    color: #383838;
    float: right;
    border-right: 2px solid #383838;
    width: 100%;
    padding: 10px;
    text-decoration: none;
    font-size: 15px;
}

.related-posts a:hover {
    color: #7AC142;
}

.footer {
    float: right;
    width: 100%;
    border-top: 1px solid #DCDCDC;
    padding: 15px;
    text-align: left;
}

.footer a {
    color: #7AC142;
}

.menu-mobile {
    float: left;
    margin: 15px;
    background-color: #383838;
    color: white;
    cursor: pointer;
    display: none;
    padding: 10px 12px;
    font-size: 20px;
    line-height: 1;
    user-select: none;
    border-radius: 3px;
}

.menu-mobile:hover {
    background-color: #5CA723;
}

.menu-mobile-open {
    position: absolute;
    left: 0px;
    background-color: #383838;
    top: 65px;
    right: 0%;
    z-index: 999;
    display: none;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
}

.menu-mobile-open ul {
    padding: 0px;
    list-style-type: none;
    margin: 0px;
}

.menu-mobile-open .menu > li > a {
    color: white;
    float: right;
    text-decoration: none;
    width: 100%;
    border-bottom: 1px solid #555;
    padding: 12px 15px;
}

.menu-mobile-open .menu > li:last-child > a {
    border-bottom: 0px;
}

.menu-mobile-tags {
    float: right;
    width: 100%;
    border-top: 2px solid #7AC142;
    margin-top: 5px;
    padding-top: 5px;
}

.menu-mobile-tags-title {
    color: #7AC142;
    padding: 10px 15px 5px;
    font-weight: bold;
    font-size: 15px;
    float: right;
    width: 100%;
}

.menu-mobile-tags a {
    color: #aaa;
    float: right;
    text-decoration: none;
    width: 100%;
    border-bottom: 1px solid #555;
    padding: 10px 20px;
    font-size: 14px;
}

.menu-mobile-tags a:last-child {
    border-bottom: 0px;
}

.menu-mobile-tags a:hover {
    color: white;
}

/* inside pages */

.title-inside-page {
    color: #7AC142;
    font-size: 27px;
}

.entry-content {
    line-height: 1.5;
    float: right;
    text-align: justify;
    width: 100%;
}

.entry-content a {
    color: #7AC142;
max-width:100%;
}

.entry-content a:hover {
    color: black;
}


.entry-content > img {
max-width:100%;
height: auto;
}

.entry-content img {
max-width: 100%;
height: auto;
}

.navigation a {
    color: #7AC142;
    text-decoration: none;
}

.products {
    float: right;
    width: 100%;
}

.single-product {
    float: right;
    width: 32%;
    margin-left: 2%;
    opacity: 0.8;
    margin-top: 15px;
    transition: 0.2s;
}

.single-product:hover {
    opacity: 1;
}

.single-product:nth-last-child(1) {
    margin-left: 0px;
}

.imgborder {
    width: 100%;
    height: 165px;
    overflow: hidden;
    position: relative;
    float: right;
}

.single-product img {
     position: absolute;
      left: 50%;
      top: 50%;
      height: 100%;
      width: auto;
      -webkit-transform: translate(-50%,-50%);
          -ms-transform: translate(-50%,-50%);
              transform: translate(-50%,-50%);
}

.imgborder img.portrait {
  width: 100%;
  height: auto;
}

.product-name {
    background-color: #7AC142;
    color: white;
    padding: 10px;
    float: right;
    width: 100%;
}

.page-title {
    background-color: #383838;
    color: white;
    padding: 5px;
    float: right;
}

.entry-title {
    float: right;
    width: 100%;
}

.tocategory {
    background-color: #5CA723;
    color: white;
    padding: 8px 8px 5px 8px;
    float: left;
    text-decoration: none;
    margin-top: 15px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

figure {
max-width:100% !important;
}

figure > img {
max-width:100% !important;
height: auto !important;
}

figure img {
max-width:100% !important;
height: auto !important;
}

.wp-caption-text {
    font-size: 15px;
    color: gray;
max-width:100%;
    border-bottom: 1px solid #DCDCDC;
    padding: 0px 5px 5px 5px;
}

.pagination {
    float: right;
    width: 100%;
}

.navigation.pagination {
    float: right;
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    color: #383838;
    text-decoration: none;
    border: 1px solid #DCDCDC;
    border-radius: 3px;
    font-size: 14px;
    transition: 0.2s;
}

.page-numbers:hover {
    background-color: #7AC142;
    color: white;
    border-color: #7AC142;
}

.page-numbers.current {
    background-color: #383838;
    color: white;
    border-color: #383838;
}

.page-numbers.prev,
.page-numbers.next {
    border: none;
    color: #7AC142;
    font-weight: bold;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: none;
    color: #5CA723;
    border: none;
}

.page-numbers.dots {
    border: none;
    color: #999;
}

.hide {
display: none;
}

.single-product:empty {
display:none;
}

#breadcrumbs a {
color: #7AC142; 
}

.archive-list {
    float: right;
    width: 100%;
}

.archive-item {
    float: right;
    width: 100%;
    padding: 15px 0;
    border-bottom: 2px solid #7AC142;
}

.archive-item:last-child {
    border-bottom: none;
}

.archive-item-title {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: normal;
    float: right;
    width: 100%;
}

.archive-item-title a {
    color: #7AC142;
    text-decoration: none;
}

.archive-item-title a:hover {
    text-decoration: underline;
    color: #5CA723;
}

.archive-item-excerpt {
    float: right;
    width: 100%;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.archive-item-excerpt p {
    margin: 0;
}

.toc-highlight {
    animation: tocFlash 2.5s ease-out;
}

@keyframes tocFlash {
    0%   { background-color: rgba(122, 193, 66, 0.3); }
    100% { background-color: transparent; }
}

.laofanaim-toc {
    float: right;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #DCDCDC;
    border-radius: 5px;
    background: #f9f9f9;
    padding: 10px 15px;
    direction: rtl;
}

.laofanaim-toc-title {
    font-weight: bold;
    font-size: 18px;
    color: #383838;
    cursor: pointer;
    padding: 5px 0;
    user-select: none;
}

.laofanaim-toc-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.laofanaim-toc-list li {
    padding: 4px 0;
}

.laofanaim-toc-list a {
    color: #7AC142;
    text-decoration: none;
    font-size: 15px;
}

.laofanaim-toc-list a:hover {
    text-decoration: underline;
    color: #5CA723;
}

@media screen and (max-width: 1200px) {

    .wrap {
    width: 100%;
    padding: 0 15px;
}

.logo {
    margin-right: 15px;
}

.menu-site {
    display: none;
}

.menu-mobile {
    display: block;
}
}



@media screen and (max-width: 700px) {

.left {
    display: none;
}

.single-product {
    width: 100%;
    margin-left: 0px;
}

.right {
    width: 100%;
    border-left: 0px;
    padding-left: 0px;
}

}

