/*
 Theme Name:     Actes Child Theme
 Description:    Child Theme for Actes
 Author:         I.L
 Template:       Divi
 Version:        1.0.0
*/
 /* Απόκρυψη μεταδεδομένων και υποσέλιδου */
.entry-meta,
.entry-footer,
.et_pb_post .post-meta,
.home .entry-meta,
.home .entry-footer {
    display: none !important;
}

/* Custom κουμπί 1 */
.custom_button_1:after {
    background-color: #e00b00;
    padding: 5px 12px;
    top: 0;
    right: 0;
    bottom: 0;
    border-left: 1px solid #c0232e;
    content: "";
    position: absolute;
}
.custom_button_1:hover {
    box-shadow: 1px 10px 25px -10px rgba(0,0,0,0.3);
}
.custom_button_1:hover:after {
    background-color: #e00b00;
}

/* Custom κουμπί 2 */
.custom_button_2_up {
    overflow: hidden;
    backface-visibility: hidden;
    position: relative;
}
.custom_button_2_up:hover {
    padding: 0.3em 1em !important;
}
.custom_button_2_up:after {
    content: "";
    left: 0 !important;
    top: -100%;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #e09900;
    text-align: center;
    transition: all 0.3s;
}
body #page-container .custom_button_2_up:hover:after {
    line-height: 1.6em;
    font-size: 30px !important;
}
.custom_button_2_up:hover:after {
    top: 0;
    left: 0;
}

/* Sub-menu styling */
#top-menu .sub-menu {
    background-color: #3c5464;
    border-top: 3px solid #25313a;
    padding: 0;
}
#top-menu .sub-menu li {
    width: 100%;
    padding: 0;
}
#top-menu .sub-menu li a {
    font-size: 14px;
    width: 100%;
    color: #fff;
    border-bottom: 1px solid #768792;
    padding: 10px 0 8px;
}
.sub-menu li:hover,
.sub-menu .current_page_item {
    background-color: #25313a;
}
.nav ul li a:hover {
    opacity: 1;
    background-color: transparent;
}

/* CN button */
.cn-button.wp-default {
    color: #000 !important;
    background: #ffcc00 !important;
}

/* Custom bullets */
.custom_bullets_yan ul li {
    padding-left: 30px;
    list-style: none;
    margin-bottom: 10px;
    position: relative;
}
.custom_bullets_yan ul li::before {
    content: '';
    display: inline-block;
    margin-right: 7px;
    margin-left: -30px;
    padding-right: 5px;
    font-family: 'ETmodules';
    font-size: 1.2em;
    vertical-align: middle;
}
.custom_bullets_yan--check ul li::before {
    content: '\52';
}

/* Mobile menu */
.mobile_menu_bar:after {
    content: 'MENU';
    position: relative !important;
    bottom: 9px;
    left: 10%;
    color: #363636;
}

@media (max-width: 980px) {
    .et_non_fixed_nav.et_transparent_nav #main-header,
    .et_non_fixed_nav.et_transparent_nav #top-header,
    .et_fixed_nav #main-header,
    .et_fixed_nav #top-header {
        position: fixed;
    }
}

.et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh;
    border-top: 3px solid #074b99;
    background: #333 !important;
    padding: 1% 5%;
}

.et_mobile_menu li a,
.et_mobile_menu li ul li:last-child a {
    border-bottom: 1px solid #0F669D !important;
    color: #ffffff !important;
}

.et_mobile_menu li:last-child a {
    border-bottom: none !important;
}

.et_mobile_menu .fas {
    color: #13635b !important;
    padding-right: 7px;
}

/* Επιλογές hover και active στο menu */
#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a,
.mobile_menu_bar:after,
.mobile_menu_bar:before {
    color: #fff !important;
}

#top-menu li.current-menu-ancestor > a,
#top-menu li.current-menu-item > a,
.mobile_menu_bar:hover:after,
.mobile_menu_bar:hover:before {
    color: #fff !important;
}

/* Σύνδεσμοι στο main area */
#et-main-area a {
    text-decoration: underline;
}

#et-main-area a:hover {
    text-decoration: none;
}

#et-main-area a:focus {
    color: #fff !important;
    background: #0C5797;
}

/* Anchor menu underline */
.dl-anchor-menu a {
    position: relative;
}

.dl-anchor-menu a::before {
    content: '';
    width: 100%;
    height: 3px;
    background: #fff;
    display: block;
    position: absolute;
    bottom: -20px;
    opacity: 0;
    transition: all 0.3s;
}

.dl-anchor-menu a.active::before {
    bottom: 0;
    opacity: 1;
}

.dl-anchor-menu.et_pb_menu a.active {
    color: yellow !important;
}
