/*
 Theme Name:     Nextt-Child
 Theme URI:      http://advertek.gr;
 Description:    Advertek
 Author:         Advertek
 Author URI:     http://advertek.gr
 Version:        1.0.0
*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700&subset=greek);

/***************************************************************************************************************
* GENERAL
***************************************************************************************************************/

* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

body {
    background: #fff;
    /*background: #f0eeea !important;*/
    color:#333;
    font-family: 'Open Sans', sans-serif;
    height: 100%;
}

html:lang(el-GR) div, span, p, h1, h2, h3, h4, h5, h6, label, input, a {
    font-family: 'Open Sans', sans-serif !important;
}

div, span, p, h1, h2, h3, h4, h5, h6, label, input, a {
    /*font-family: 'Open Sans', sans-serif;*/
}

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

a {
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
/*    text-decoration: none !important;*/
}

button {
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

/********* BUTTON ANIMATIONS ********** */

a:before,
a:after {
    z-index: -1;
    box-sizing: border-box;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

h3:before {
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.btn-animate {
    position: relative;
    display: inline-block;
    overflow: hidden;
    z-index: 0;
}

.btn-animate:before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    left: 0;
    border-right: 50px solid transparent;
    border-bottom: 80px solid #333;;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.btn-animate:hover {
    color: #fff;
}

.btn-animate:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

/********* // BUTTON ANIMATIONS ********** */

.nooverflow {
    overflow: hidden;
}

.nopad {
    padding: 0;
}

.grid3, .grid4{
    list-style: none;
    display: block;
    padding: 0;
}

ul.grid3 > li:nth-child(3n+1){
    clear: left;
}

ul.grid4 > li:nth-child(4n+1){
    clear: left;
}

.center {
    text-align:center;
}

.spacing{
    padding: 80px 0;
}

._margin40{
    margin: 40px 0;
    display: block;
}


._margin20{
    margin: 20px 0;
    display: block;
}

._margin_0_20{
    margin: 0 0 20px 0;
    display: block;
}


._margin_0_40{
    margin: 0 0 40px 0;
    display: block;
}


.slick-next {
    right: 20px;
}

.slick-prev {
    left: 20px;
}

.slick-prev:before, .slick-next:before {
    font-size: 30px;
}

.slick-arrow {
    z-index: 99;
    width: 50px;
    height: auto;
}

.slick-prev:before {
    content: url('./images/arrow_left.png');
}

.slick-next:before {
    content: url('./images/arrow_right.png');
}

.background-featured-image, .background-thumbnail-image {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

.background-featured-image img, .background-thumbnail-image img {
    visibility: hidden;
}

.overlay {
    overflow: hidden;
}

.post-list.animation .background-thumbnail-image {
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -o-transition: transform 0.5s;
    transition: transform 0.5s;
}

.post-list.animation .background-thumbnail-image:hover {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}


.rt-reading-time{
    display: block;
    text-align: center;
    margin: 10px auto 30px auto;
    font-weight: 900;
    font-size: 15px;
    color: #ccc;
}

body.single-post .rt-reading-time{
    text-align: left;
}

.page-template-page-contact .rt-reading-time{
    display: none !important;
}


.wpcf7-form {
    margin: 0;
    padding: 0;
    text-align: center;
}



/*------------------------------------------------------------

#HEADER

--------------------------------------------------------------*/

.header-wrapper {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 1px 4px 0 #ddd;
}

.navbar-brand {
    max-width: 250px;
    margin-top: 15px;
}

.header-right {
    float: right;
    text-align: right;
}

.socials, .information {
    display: inline-block;
}

.socials {
    margin: 0 20px;
}

.socials .fa {
    font-size: 30px;
    margin: 0 5px;
}

.socials a {
    color: #444;
    text-decoration: none;
}

.information, .information a {
    color: #444;
}

.contact-info span {
    margin-right: 8px;
}

/*------------------------------------------------------------

#MENUS

--------------------------------------------------------------*/

.mobile_more {
    display: none;
}

.navbar-collapse {
    margin-top: 5px;
    padding: 0;
}


/*------------------------------------------------------------

#HOMEPAGE

--------------------------------------------------------------*/

.slider-wrapper {
    margin-top: 30px;
}

.post-list {
    padding: 0;
    list-style-type: none;
}

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

.post-item:first-child .singular-post {
    margin-top: 0;
}

.post-title-link {
    color: #111;
    text-decoration: none !important;
}

.post-title-link:hover, .post-title-link:focus {
    color: #111;
}

.post-title {
    color: #111;
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0px;
    text-align: left;
    max-width: 75%;
}


.single_post_wrapper{
    margin: 40px auto 20px auto !important;
}


.single_post_wrapper .post-info{
    text-align: center !important;
    margin: 5px auto 5px auto !important;
}

.single_post_wrapper .post-date{
    text-align: center !important;
    margin: 5px auto 5px auto !important;
}




.single_post_wrapper .post-title {
    margin: 0px auto;
    text-align: center;
    max-width: 75%;

}


.post-info {
    color: #666;
    margin: 10px 0;
}

.post-date {
    font-style: italic;
}

.post-info-title {
    color: #111;
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    margin: 25px 0 5px;
}

.post-categories a, .post-tags a {
    background: #111;
    color: #fff;
    font-size: 13px;
    border-radius: 20px;
    display: inline-block;
    padding: 4px 16px;
    margin: 6px 2px;
    text-decoration: none;
}

.more_posts_thumb{
    -webkit-border-radius: 400px;
    -moz-border-radius: 400px;
    border-radius: 400px;
    width: 200px;
    height: 200px;
    background-size: cover !important;
    margin: 20px auto;
}


.more_posts_thumb .background-thumbnail-image{
    width: 200px;
    height: 200px;
}



.post-categories a:hover, .post-categories a:focus,
.post-tags a:hover, .post-tags a:focus {
    background: #111;
    padding: 4px 26px;
}

.entry-content {
    color: #333;
    line-height: 24px;
    margin: 25px 0;
    font-size: 15px;
    text-align: left;
}

.read-more-btn {
    color: #333;
    border: 1px solid #333;
    margin-top: 20px;
    padding: 7px 10px;
    text-decoration: none !important;
    display: inline-block;
}

.post-list hr {
    display: inline-block;
    width: 100%;
    border-top: 1px solid #333;
}

.post-list hr:last-child {
    display: none;
}

.post-single {
    text-align: center;
    margin: 0;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.page-title {
    display: inline-block;
    border-bottom: 3px solid #444;
    padding-bottom: 5px;
    margin: 20px 0 40px;
}

/*------------------------------------------------------------

#SINGLE

--------------------------------------------------------------*/

.products-container {
    margin-top: 40px;
}

.products-wrapper {
    text-align: center;
}

.product-title-container {
    background: #f8f8f8;
    padding: 10px;
}

.singular-product-title {
    margin: 0;
}

/*------------------------------------------------------------

#SIDEBAR

--------------------------------------------------------------*/

ul.sidebar {
    list-style: none;
    padding: 0 10px;
}

ul.sidebar li a {
    color: #333;
}

.sidebar .widget {
    margin-bottom: 40px;
}

.widgettitle {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: solid 2px;
    padding-bottom: 10px;
    margin: 0 0 25px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.search-form label {
    float: left;
}

.search-field {
    display: inline-block;
    background: transparent;
    border: 1px solid #444;
    outline: none;
    padding: 3px;
    max-width: 150px;
}

.search-submit {
    background: #111;
    color: #fff;
    border: 1px solid #111;
    padding: 3px 5px;
    float: left;
}

.cat-item a {
    background: #f8f8f8;
    display: block;
    padding: 5px;
    margin: 10px 0;
    text-decoration: none;
}

.cat-item a:hover {
    color: #fff;
    background: #111;
}

.sidebar-posts-title {
    text-align: center;
}

.sidebar .singular-post {
    background: #fff;
}

.sidebar .post-item:not(:last-child) .singular-post {
    border-bottom: 1px solid;
}

.sidebar .post-title-wrapper {
    padding: 7px;
}

.sidebar .post-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
}

.sidebar .post-excerpt {
    padding: 7px;
}

.sidebar .post-excerpt p {
    margin: 0;
    font-size: 13px;
}

.sidebar .read-more-btn {
    padding: 6px 10px;
    margin: 15px 0 10px;
}



.desktop_header{
    display: flex;
    align-items: center;
    flex-direction: column;
}



/*------------------------------------------------------------

#PRODUCTS

--------------------------------------------------------------*/



/*------------------------------------------------------------

#CONTACT

--------------------------------------------------------------*/

.wpcf7-email, .wpcf7-tel {
    max-width: 100%;
}

.entry-content .wpcf7-form input, .entry-content .wpcf7-form textarea {
    padding: 5px 8px;
}

.wpcf7-form input, .wpcf7-form textarea {
    border: 2px solid #444;
}

.wpcf7-form label {
    font-size: 16px;
    letter-spacing: 1px;
}

.entry-content .wpcf7-submit {
    background: #111;
    color: #fff;
    font-weight: normal;
    box-shadow: none;
    border: 1px solid #111;
    padding: 10px 20px;
    -webkit-transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

.entry-content .wpcf7-submit:hover {
    background: transparent;
    color: #111;
}


/*------------------------------------------------------------

#FOOTER

--------------------------------------------------------------*/

.footer-wrapper {
    background: #f0eeea;
}

.footer-title {
    font-size: 20px;
    letter-spacing: 1px;
    margin: 10px 0 40px;
}

.contact-info.footer {
    list-style: none;
    padding: 0;
}

.contact-info.footer li {
    margin: 5px 0;
    padding-bottom: 5px;
    border-bottom: 1px dashed #aaa;
}

.socials.footer {
    margin: 0;
}

.copyright-wrapper {
    background: #fff;
    padding: 10px 0;
}

.widget {
    list-style: none;
}


.mobile_header{
    display: none;
}

/*------------------------------------------------------------

#MEDIA

--------------------------------------------------------------*/

    /*==========  CUSTOM  ==========*/

    
    /*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {

        ul.sidebar {
            padding: 0 5px;
        }
    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {

        .post-title {
            font-size: 22px !important;
        }

        .mobile_header {
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }

        .desktop_header{
            display: none;
        }

        .header-wrapper {
            padding: 5px 0;
        }
        
        .navbar-toggle {
            background:transparent;
            float:none;
            display:inline-block !important;
            margin:0;
        }

        .navbar-toggle .icon-bar {
            width:40px;
            height:1px;
            border-top:1px solid #A1A1A1;
            padding: 3px 0;
        }

        .mobile-item-wrap {
            text-align: center;
        }

        .mobile-item-wrap .fa {
            font-size:36px;
            margin-top: 5px;
            color: #444;
        }

        .navbar-brand {
            width: 129px;
            margin-top: 0px;
            margin-left: 30px;
        }

        #main-menu-container {
            position: fixed;
            top: 60px;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            z-index: 999;
            background: #f1f1f1;
            box-shadow: inset 0 1px 1px #ccc;
        }

        .navbar-collapse {
            margin-top: 0;
        }

        .navbar-nav {
            float: none;
        }

        .navbar-nav > li {
            text-align: center;
            float: none;
            position: relative;
        }

        .navbar-nav li a {
            width: 60%;
            padding: 18px 0;
            margin: 0 auto;
            border-bottom: 1px solid #ccc;
        }

        .mobile_more {
            display: block;
            position: absolute;
            right: 40px;
            top: 10px;
            padding: 4px 8px;
            border: 2px solid #bbb;
        }

        .dropdown-menu {
            position: static;
            float: none;
            box-shadow: none;
            padding: 0;
        }

        .dropdown-menu li {
            text-align: center;
        }

        .dropdown-menu li.current-menu-item a {
            background: transparent;
            color: #9BB7D4;
        }

        .dropdown-menu li.current-menu-item a:hover {
            background: transparent;
            color: #9BB7D4;
        }
        
        .button-lang {
            background:transparent;
            border:none;
            outline:none;
        }

        .lang-switch {
            /*position: fixed;*/
            /*top: 60px;*/
            /*bottom: 0;*/
            /*left: 0;*/
            /*right: 0;*/
            /*width: 100%;*/
            /*z-index: 999;*/
            /*background: #f1f1f1;*/
            /*box-shadow: inset 0 1px 1px #ccc;*/
            display: none;
        }

        .wpml-ls-legacy-list-horizontal li {
            display: block !important;
            text-align: center;
            border: none;
            width: 60%;
            margin: 0 auto !important;
        }

        .wpml-ls-legacy-list-horizontal li a {
            padding: 20px 0;
        }

        .footer-wrapper {
            text-align: center;
        }

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

        .footer-title {
            margin: 40px 0 20px;
        }

        ul.sidebar {
            padding: 0;
        }

        .sidebar .read-more-btn {
            padding: 6px 10px;
            margin: 20px 0 10px;
        }

        .sidebar .post-title-wrapper {
            padding: 10px;
        }

        .singular-product img {
            max-height: 400px;
        }

        .read-more-btn {
            margin: 20px 0;
        }

        .product-title-container {
            background: transparent;
        }

        .singular-product {
            margin: 40px 0;
        }

        .products-container div:not(:last-child) .singular-product:after {
            content:"";
            background: #444;
            height: 1px;
            width: 40%;
            margin: 0 auto;
            display: block;
        }

        .search-form {
            width: 100%;
        }

        .search-form label {
            width: 90%;
        }

        .search-field {
            width: 100%;
            max-width: none;
            padding: 7px;
        }

        .search-submit {
            padding: 7px 5px;
        }

        .widgettitle.posts {
            margin-top: 60px;
        }

        .cat-item a {
            padding: 10px;
        }
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {

        .search-form label {
            width: 85%;
        }
    }

    /* Extra Small Devices, Phones */
    @media only screen and (max-width : 480px) {

        .mobile-item-wrap .fa {
            font-size: 27px;
            margin-top:10px;
        }

        .navbar-toggle .icon-bar {
            width:34px;
        }

        .mobile-item-wrap .fa-map-marker {
            margin-top: 9px;
        }

        .mobile-item-wrap .fa-globe {
            margin-top:8px;
        }

        .navbar-brand {
            max-width: 90px;
            width: 90px;
        }

        .search-form label {
            width: 75%;
        }

    }

    /* Custom, iPhone Retina */
    @media only screen and (max-width : 320px) {

    }


    /*==========  Mobile First Method  ==========*/

    /* Custom, iPhone Retina */
    @media only screen and (min-width : 320px) {

    }

    /* Extra Small Devices, Phones */
    @media only screen and (min-width : 480px) {

    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {

    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {

        .menu-item-has-children:hover .dropdown-menu {
            display: block; /* TODO */
        }
    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {

    }

    @media only screen and (min-width : 1300px) {
        .container {
            width: 1250px;
        }
    }

