$color-primary: rgb(188, 147, 70);
$color-accent: rgb(234, 170, 49);
$color-link: rgb(0, 140, 255);
$color-login-primary: rgb(218, 165, 68);
$color-surface: #fff;
$color-text: #333;
$color-text-body: #4e4e4e;
$color-text-heading: #2f2f2f;
$color-text-emphasis: #7d7d7d;
$color-heading-emphasis: #6b6b6b;
$color-text-muted: #777;
$color-text-subtle: #666;
$color-text-icon: #616161;
$color-text-link: #414141;
$color-text-on-dark: white;
$color-border: #ccc;
$color-border-strong: #aaa;
$color-sidebar: darken(whitesmoke, 60%);
$color-error: #a40000;
$color-danger: #9e4646;
$color-form-focus: #a16900;
$color-dropdown: #484848;
$color-dropdown-hover: #606060;
$color-dropdown-control: #5b5b5b;
$color-dropdown-border: #696969;
$color-pagination-active: rgb(188, 147, 70);
$color-pagination-border: rgb(255, 162, 0);
$color-shadow: rgba(0, 0, 0, .31);
$color-shadow-soft: rgba(0, 0, 0, .12);
$color-shadow-strong: rgba(0, 0, 0, .35);

html,body{
    padding: 0;
    margin: 0;
    font-family: "Lato", sans-serif;
    background-color: #FFFFF8; 
}

// Google Translate injects a fixed page banner and an inline body offset.
// Keep the in-sidebar selector, but prevent the banner from shifting the UI.
body {
    top: 0 !important;
}

body > .skiptranslate,
.goog-te-banner-frame.skiptranslate,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

@media (min-width: 1367px) and (max-width:1440px) {
    .menu-wraper {
        position: relative;
        left: 6%;
    }

    // html[lang="el"]{
    //     .menu-wraper {
    //         position: relative;
    //         left: 6%;
    //     }
    // }
}

@media (min-width: 1441px) and (max-width:1680px){
    
    .workspace-page .header .header-nav .logo {
        gap: 10px;
        margin-left: 5px;
        color: var(--workspace-ink);
        text-decoration: none;
        margin: 0 20px;
    }

    .header .header-nav .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0px;
    }
        
    .menu-wraper {
        position: relative;
        left:0;
    }

    html[lang="el"]{
        .header .header-nav .logo {
            margin-right: 45px;
            margin-left: 0px;
        }

    }



}
:root {
    --add-record-bar-height: 42px;
    --header-height: 58px;
    --header-content-gap: 20px;
    --page-top-offset: calc(var(--add-record-bar-height) + var(--header-height) + var(--header-content-gap));
}
.no-entries{
    text-align: center; margin-top: 2rem; margin-right: 125px; color: #2f2f2f;
}

@media (max-width:1366px){
    .no-entries{
        text-align: center; margin-top: 2rem; margin-right: 0; color: #2f2f2f; margin-left: 15px;
    }
}


*{
    box-sizing: border-box;
}
p,li{
    line-height: 25px;
}

p strong,p b{
     color: $color-text-emphasis !important;
}

h1 b, h1 strong,h2 b, h2 strong,h3 b, h3 strong,h4 b, h4 strong,h5 b, h5 strong,h6 b, h6 strong{
     color: $color-heading-emphasis !important;
}

.header{
    // background-color: black;
    padding: 15px;
    // border-bottom: 1px solid black;
    background-color: $color-text;
    background-color: $color-primary;
    background-color: darken($color-primary, 5%);
     position: fixed;
     top: var(--add-record-bar-height);
     width: 100%;
     z-index: 100;
    -webkit-box-shadow: 2px -1px 15px 5px $color-shadow;
    box-shadow: 2px -1px 15px 5px $color-shadow;

    .header-nav{
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 0 80px;

            .logo-icon {
                width: 38px;
                height: 38px;
                object-fit: contain;
            }

            p{
                font-family: "Tangerine", cursive;
                font-weight: 400;
                font-style: normal;
                font-size: 45px;
                margin: 0;
                line-height: 30px;
                color: $color-text-on-dark;
                white-space: nowrap;
            }
        }

        .menu-toggle,
        .hamburger,
        .sidebar-toggle {
            display: none;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        .header-menu{
            display: flex;
            justify-content: center;
            list-style: none;
            padding: 0;
            margin: 0;
            position: relative;
            // left: 12.5%;

            li a:link,li a:visited{
                text-decoration: none;
                font-size: 18px;
                color: $color-text;
                text-transform: uppercase;
                color: whitesmoke;
                &:hover{
                    color: white;
                }


            }

            li:not(:last-of-type){
                margin-right: 40px;
            }
        }



        .logout {
            position: absolute;
            top: 50%;
            right: 30px;
            transform: translateY(-50%);

            a {
                padding: 5px 20px 10px 20px;
                text-decoration: none;
                border-radius: 4px;
                color: $color-text-on-dark;
    
                i{
                    font-size: 30px;
                    // color: rgb(48, 48, 48);
                    color: $color-text-on-dark;
                    transition: all .4s;
                    &:hover{
                        font-size: 31px;
                    }
                }
            }
        }
    }
}

.grid{
    display: flex;
    min-height: calc(100dvh - var(--page-top-offset));
    margin-top: var(--page-top-offset);
    align-items: stretch;

    
    &-left{
        width: 20%;
        min-height: calc(100dvh - var(--page-top-offset));
        background-color: $color-link;
          background-color: $color-sidebar;
        // background-color: #a7d3f8;
        // background-color: rgb(33, 119, 189);

        //  background-color: rgb(0, 140, 255);
        //  background-color: rgb(76, 103, 134);
        //  background-color: orangered;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        overflow-y: auto;
        // background-color: #282828;
        color: $color-text-on-dark;

        .menu-navigator{
            position: sticky;
            top: 160px;
            width: 94%;
            margin: 0 auto;
            margin-left: 20px;
            height: 78vh;
            overflow-y: auto;
            .language-selector {
                width: 90%;
                margin: 0 auto 0 auto;
                padding: 0;
                position: relative;
                top: 20px;

                p {
                    margin: 0 0 8px;
                    color: $color-accent;
                    font-size: 17px;
                    font-weight: bold;
                }

                .goog-te-gadget {
                    color: $color-text-on-dark;
                }

                .goog-te-combo {
                    width: 100%;
                    max-width: 220px;
                    min-height: 20px;
                    margin: 0;
                    padding: 5px;
                    border: 1px solid rgba(255, 255, 255, 0.35);
                    border-radius: 6px;
                    background-color: white;
                    color: #333;
                    font: inherit;
                }
            }

            a{
                font-size: 18px;

                &:hover{
                    // color: rgb(235, 154, 4) !important;
                    text-decoration: none !important;
                }
            }
        }
        .categories{
            width: 90%;
            margin: 0 auto;
            padding: 0;
            // background-color: #0099ff;
            // text-align: center;
            list-style: none;
            margin-top: 50px;
            // margin-left: 70px;
            font-size: 17px;
            
            h2{
                color: $color-link;
                // color: rgb(0, 97, 182);
                color: $color-text-on-dark;
               color: $color-accent;
            }
            li{
                margin-bottom: 5px;    
                margin-left: 10px; 
                
            }
            li a:link,li a:visited{
                text-decoration: none;
                color: $color-link;
                // color: rgb(0, 97, 182);
                color: $color-text-on-dark;
                font-weight: bold;
                &:hover{
                    // color: rgb(0, 88, 166);
                    // color: whitesmoke;
                    color: $color-accent;

                }


            }

            .sub-categories{
                list-style: none;
                // margin-right: 50px;
                padding: 0;
               
                li{
                    margin-bottom: 5px;    
                    margin-left: 10px; 
                }
                li a:link,li a:visited{
                    text-decoration: none;
                    color: $color-text-on-dark;

                    &:hover{
                      
                        color: $color-accent !important;
                    }


                }

                
            }
        }

        .tags{
            width: 90%;
            margin: 0 auto;
            padding: 0;
            // background-color: #0099ff;
            // text-align: center;
            list-style: none;
            margin-top: 25px;
            // margin-left: 70px;
            font-size: 17px;

            h2{
                color: $color-accent;
            }
            .tags-wraper{
                display: flex;
                justify-content: flex-start;
                flex-wrap: wrap;
                width: 90%;
                margin-left: 10px;
                margin-top: 30px;
                li{
                     margin-bottom: 25px;
                }
                li a{
                    color: $color-text-on-dark;
                    text-decoration: none;
                    padding: 10px;
                    background-color: $color-primary;
                    // background-color: #cd6b03;
                    // background-color: orangered;
                    font-size: 14px;
                    border-radius: 8px;

                    &:hover{
                        background-color: darken($color-primary, 10%);
                    }
                   

                    

                }

                li:not(:last-of-type){
                    margin-right: 5px;
                }
                // &>* a:not(:last-of-type){
                   

                // }
            }
        }
    }

    &-right{
        position: relative;
        width: 80%;
        margin-left: 20%;
        // background-color: #303030;
        // color: white;
        // background-color: ;
        // background-color: cornsilk;
        &-wraper{
            width: 80%;
            margin: 0 auto;
            // background-color: #333;
            // color: white;
            
            margin-left: 0 auto;
            padding: 40px 0 80px 0;

            h1,h2,h3,h4{
                font-weight: 300;
                color: $color-text-heading;
            }
            .post-type-title{
                text-align: center;
                margin-right: 150px;
                font-weight: 300;
            }

            .article-title{
                text-align: center;
                margin-right: 150px;
                font-weight: 300;
                margin-bottom: 40px;
            }

            .preview{
                display: flex;
                justify-content: space-evenly;
            
                &:not(:last-of-type){
                    margin-bottom: 40px;
                }
                .icon{
                    align-self: center;
                }
                .icon i{
                    font-size: 100px;
                    color: $color-text-icon;
                    margin-right: 50px;
                }

                .content{
                    
                    h2{
                        margin-bottom: 0;
                        font-weight: 300;
                        // color: royalblue;
                        font-size: 23px;
                        // color: white;
                        
                    }

                    p{
                        margin: 5px 0 10px 0;
                        font-size: 17px;
                        font-weight: 300;
                        font-size: 19px;
                        width: 85%;
                        color: $color-text-body;
                    }

                   

                    .view-single-btn:link,.view-single-btn:visited{
                        background-color: $color-link;
                        // background-color: rgb(82, 118, 226);
                       background-color: $color-sidebar;
                        background-color: $color-primary;
                     
                        color: $color-text-on-dark;
                        padding: 10px 20px;
                        border-radius: 8px;
                        transition: all .4s;
                        text-decoration: none;
                        display: inline-block;
                        
                        &:hover{
                            background-color: darken($color-link, 10%);
                            background-color: royalblue;
                             background-color: $color-text;
                             background-color: darken($color-primary, 10%)
                           
                        }
                    }
                }
            }


        }
    }
}

html[lang="el"] {
    .header .header-nav {
        .logo {
            // margin-right: 45px;
            // margin-left: 45px;
            // margin: 0 10px;
        }

        .header-menu {
            flex-wrap: wrap;
            row-gap: 8px;

            li a:link,
            li a:visited {
                font-size: 18px;
                white-space: normal;
            }

            li:not(:last-of-type) {
                margin-right: 5px;
            }
        }
    }

    .grid-left {
        width: 20%;

        .categories,
        .tags {
            overflow-wrap: anywhere;
        }
    }

    .grid-right {
        width: 80%;
        margin-left: 20%;

        .view-single-btn {
            white-space: normal;
        }
    }

    .grid-right-wraper .preview .content p {
        margin: 5px 0 10px 0;
        font-size: 17px;
        font-weight: 300;
        font-size: 19px;
        width: 90%;
        color: #4e4e4e;
    }

    @media (max-width: 500px) {
        .grid-right-wraper .preview .content p {
            margin: 0 auto 14px;
            font-size: 17px;
            line-height: 1.55;
            height: 135px;
            overflow-y: hidden;
            width: 90%;
        }
    }

    
}

.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 12px;
  border: 1px solid $color-border;
  color: $color-text;
//   color: #ccc;;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.pagination a:hover {
    background-color: $color-pagination-active;
    color: $color-text-on-dark;
    border-color: $color-pagination-border;
}

.pagination .current {
  background-color: $color-text;
  color: $color-text-on-dark;
  font-weight: bold;
  border-color: $color-pagination-border;
   background-color: $color-pagination-active;
}
/* end pagination */
