/*
Theme Name: My Theme
Author: Ppanayiotou2
Description: My custom theme by ppanayiotou2
Version: 1.0.0
Tags: bootstrap
*/

.elementor-widget.elementor-widget-image{
    overflow-x: hidden;
}

.elementor-element-71220ee .attachment-full.size-full, .elementor-element-e1724b2 .elementor-image{
    position: relative;
    right: 50px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}

html {
    height: 100%;
}

body {
    position: relative;
    min-height: 100%;
    font-size: 15px;
    overflow-x: hidden;
}


.top-nav-desktop {
    background: white;
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.10), 0 3px 3px rgba(0, 0, 0, 0.10);
    width: 100%;
    position: relative;
    z-index: 999;
}

.top-nav-desktop ul {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    justify-content: space-between;
    margin: 0;
    width: 100%;

}

.top-nav-desktop ul li {
    position: relative;
    flex: 1;
    text-align: center;
    border-right: 1px solid #d6d6d6;
}


.top-nav-desktop ul li a {
    position: relative;
    display: block;
    text-decoration: none;
    color: #363635;
    padding: 1.6em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Sintony', sans-serif;
}

.top-nav-desktop.smaller ul li a {
    padding: .5em;
    font-size: .8em;
}

.top-nav-desktop .current-menu-item {
    border-bottom: 4px solid #d8a818;
}

.menu-top-menu-small-container .current-menu-item {
    border-bottom: 0;
}

.menu-top-menu-small-container .current-menu-item a {
    color: #d8a818;
}


#logo {
    background-image: url("/wp-content/uploads/2018/12/FOODRAM_logo.jpg");
    background-size: 250px;
    background-position: center;
    background-repeat: no-repeat;
    min-width: 290px;
    background-color: white;
    position: relative;
    z-index: 999;
    cursor: pointer;
}

#logo::after {
    content: " ";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.10), 0 3px 3px rgba(0, 0, 0, 0.10);
    z-index: 999;
}

.menu-top-menu-desktop-container,
.menu-top-menu-small-container {
    width: 100%;
    position: relative;
}

/* Remove padding from search box (desktop) */
.menu-top-menu-small-container ul li:last-child a {
    padding: 0;
}

.menu-top-menu-desktop-container .sub-menu {
    display: none;
    position: absolute;
    top: 73px;
    box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.7);
    width: 100%;
    height: auto;
    flex-direction: column;
}


.menu-top-menu-desktop-container .sub-menu li {
    border: 0;
    background: white;
}

.menu-top-menu-desktop-container .sub-menu li a {
    padding: 1.2em;
    border-bottom: 1px solid #e3e3e3;
}

.full-width {
    width: 100%;
}

.full-height {
    min-height: 55vh;
}

.custom-h {
    min-height: 100px !important;
}

.custom-header {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.custom-header::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 1px;
    bottom: 0;
    left: 0;
    border-bottom: 3px solid #d8a818;
}

.footer {
    height: 70px;
    border-top: 1px solid grey;
    background: #fbfbfb;
}



#searchform {
    position: absolute;
    right: 0;
}

#searchform #searchsubmit {
    background: #d8a818;
    color: white;
    outline: none;
    border: 0;
    padding: 5px 15px;
    max-height: 31px;
    cursor: pointer;
}

#searchform input[type=text] {
    min-height: 30px;
    background: rgb(252, 252, 252);
    position: relative;
    outline: none;
    border: 0;
    border: 1px solid #d1d1d1;
    border-bottom-color: transparent;
    min-width: 250px;
    margin-right: -4px;
}

div.asl_w .probox .promagnifier {
    min-width: 50px;
}

div.asl_r.vertical {
    border: rgba(210, 210, 210, 0.8) !important;
}

#ajaxsearchlite1.asl_m .probox .proinput input.orig,
#ajaxsearchlite1.asl_m .probox .proinput input.orig::placeholder {
    color: black !important;
}

.card-title {
    min-height: 80px;
    position: relative;
    display: block;
}

.card-title.main{
    height: 70px;
}

.card-info.main{
    padding-top: 25px;
    min-height: 210px;
}


.card-title:not(.no-underline)::after {
    content: "";
    position: absolute;
    width: 35%;
    height: 1px;
    bottom: -6px;
    left: 32%;
    border-bottom: 2px solid #d8a818;
}

.card-info {
    min-height: 190px;
}

.hidden-categories {
    display: none;
}

.more-categories-btn {
    cursor: pointer;
    color: #d8a818 !important;
    border: 2px solid #d8a818;
    background: white !important;
    border-radius: 5px !important;
    max-width: 250px !important;
    padding: 9px 13px;
    margin: 0 auto !important;
    transition: .3s linear;
    font-weight: bold !important;
}

.more-categories-btn:hover {
    color: white !important;
    background: #d8a818 !important;
}

.more-categories-btn:hover .elementor-button-text {
    color: white !important;
    font-weight: bold !important;

}

.more-categories-btn .elementor-button-text {
    color: #d8a818 !important;
}


#menu-top-menu-mobile .current-menu-item,
.menu-top-menu-small-container .current-menu-item {
    border-left-color: #d8a818;
}

#menu-top-menu-mobile .current-menu-item a {
    color: #d8a818;
}

.custom-breadcrumb * {
    font-family: 'Sintony', sans-serif !important;
}

.custom-breadcrumb .breadcrumb_last {
    font-weight: bold !important;
}

.mobile-nav {
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.10), 0 3px 3px rgba(0, 0, 0, 0.10);
    width: 100%;
    background: white;
    height: 60px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.mobile-nav #logo-mobile {
    background-image: url("/wp-content/uploads/2018/12/FOODRAM_logo.jpg");
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    min-width: 200px;
    background-color: white;
    position: relative;
    margin-left: 20px;
}

.mobile-menu-toggle {
    position: relative;
    display: block;
    width: 30px;
    height: 26px;
    background: transparent;
    border-top: 4px solid;
    border-bottom: 4px solid;
    color: #3550a1;
    font-size: 0;
    transition: .3s ease-in-out;
    margin-right: 20px;
}

.mobile-menu-toggle:before,
.mobile-menu-toggle:after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #3550a1;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: -webkit-transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
}

.mobile-menu-toggle.is-active {
    border-color: transparent;
}

.mobile-menu-toggle.is-active:before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-toggle.is-active:after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

button {
    border: none;
    cursor: pointer;
    outline: none;
    box-shadow: none;
}

button:focus {
    outline: none;
}

.mobile-links-overlay {
    background: white;
    display: none;
}

.mobile-links-overlay li {
    border-left: 4px solid transparent;
}



.mobile-links-overlay li a {
    display: block;
    text-decoration: none;
    color: #363635;
    padding: 1.2em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Sintony', sans-serif;
    border-bottom: 1px solid lightgrey;
    position: relative;
}

.mobile-links-overlay li a.smaller {
    padding: .7em 1.2em;
    font-size: .8em;
}

.contact-us-form .submit-btn {
    background: #d8a818 !important;
    color: white !important;
    border: 0;
    outline: 0;
    padding: .5em !important;
    font-size: 1.22em !important;
    min-width: 200px !important;
    border-radius: 5px !important;
    letter-spacing: .1em !important;
}

.contact-us-form input:focus,
.contact-us-form textarea:focus {
    border-color: #c19100 !important;
}

.footer {
    position: relative;
    min-height: 100px;
    width: 100%;
    border-top: 1px solid #dddddd;
    margin-top: 80px;
}

.footer .light {
    color: #575757;
}

.card {
    box-shadow: 0 0 5px 1px rgba(43, 43, 43, .1), 0 11px 6px -7px rgba(43, 43, 43, .1);

}

@media screen and (max-width: 770px) {
    .card-info {
        min-height: 200px;
    }
}


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

    .page-title h1,
    .page-title h2,
    .page-title h3 {
        font-size: 2em !important;
    }

    .custom-header h1,
    .custom-header h2 {
        font-size: 2em !important;
    }

    .custom-header h3,
    .custom-header h4 {
        font-size: 1.4em !important;
    }

}
