/****************************/
/***     CSS Document     ***/
/*** author Ruben Akhayan ***/
/****************************/

body {
	font-family: Arial, Helvetica, sans-serif, Verdana, Geneva;
	font-size: 17px;
	color: #283232;
	margin: 0;
	padding: 20px;
	background: #96D250;
	height: 100%;
}
body a:link, body a:visited  {
	outline: none;
}
a:link, a:visited { 
	text-decoration:none;
	color: #50642D;
}
a:hover {
	text-decoration:underline;
	color: #648C3C;
}
a:active {
	text-decoration:none;
	color: #648C3C;
}
h1 {
	color: #000;
	font-size: 17px;
}
h2 {
	color: #000;
	font-size: 15px;
	font-weight: 600;
	padding: 20px 0 0 0;
}

img {
	border: none;
}
li, ol {
	padding: 5px 0;
}

li {
	color: #283232;
}

@font-face {
	font-family: Oswald-Regular;
	src: url(fonts/Oswald-Regular.ttf) format("truetype");
}

h1.logo {
	background:url("images/a_logo.png") no-repeat scroll 0 0 transparent;
	border: none;
	float: left;
	margin: 0;
	padding: 0;
	width: 84px;
	height: 84px;
    background-size: contain;
}
h2.slogan {
	float: inherit;
	text-align: center;
	padding: 20px 0 0 0;
	font-size: 12px;
	color: white;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
.top-menu {
	width: 100%;
	height: 65px;
}
.line_ {
	display: block;
	float: inherit;
	width: 100%;
	height: 1px;
	border-top: 1px solid #648C3C;
	padding: 0;
	margin: 15px 0 5px 0;
}
nav a:link, nav a:visited { 
	text-decoration:none;
	color: #506932;
}
nav a:hover	{
	text-decoration:none;
	color: #648C3C;
}
nav a:active {
	text-decoration:none;
	color: #506932;
}
nav ul { 
	margin: 0;
	padding: 10px 0 0 0;
	text-align: center;
	font-family: Oswald-Regular, Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 26px;
	font-weight: bold;
	height: 34px;
}
nav li {
	display:inline;
	padding: 0 10px;
}
nav li.m_active {
	color: #283232;
}

figure {
	margin: 0;
	padding: 0;
}
.div-marketing_alemon {
	width: 100%;
	
}
.img-marketing_alemon {
	display: block;
	margin: auto;
	width: 80%;
	height: 80%;
	max-width: 300px;
	max-height: 300px;
}

.extras section:last-child nav ul {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.extras section:last-child nav ul li {
    display: inline-block;
    padding: 0 10px;
    line-height: 30px;
}
.extras section:last-child nav ul li:last-child {
    padding-right: 0;
}
aside {
    font-family: Oswald-Regular, Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 13px;
}
aside nav ul {
    font-family: Oswald-Regular, Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-align: right;
}
.extras {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
}
.extras section {
    display: flex;
    align-items: center;
    min-height: 30px;
    padding: 0;
    margin: 0;
}

.extras section p,
.extras section nav ul {
    margin: 0;
    padding: 0;
}

.apps {
	text-align: center;
	margin: 50px 0;
}

@media screen and (min-width: 0px) and (max-width: 599px) {
	nav ul { 
		font-size: 14px;
	}
}
@media screen and (min-width: 600px) and (max-width: 700px) {
	nav ul { 
		font-size: 16px;
	}
}
@media screen and (min-width: 700px) and (max-width: 880px) {
	nav ul { 
		font-size: 18px;
	}
}

/* iPad [portrait + landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
}
/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 480px) {

}

.extras nav a:link, .extras nav a:visited {
    text-decoration: none;  
    color: #648C3C;
}
.extras nav a:hover {    
	text-decoration: underline;   
	color: #648C3C;
}

.mobile-header-left {
    display: none;
}

.lang-menu {
    position: relative;
    float: right;
    margin-top: 20px;
    z-index: 100;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: bold;
    color: #50642D;
    user-select: none;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: #648C3C;
}

.lang-toggle .lang-flag {
    width: 24px;
    height: 24px;
    clip-path: circle(50%);
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-toggle .arrow-down {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-toggle .arrow-down.open {
    transform: rotate(180deg);
}

.lang-dropdown {
	overflow: hidden;
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s ease;
    transform-origin: top right;
}

.lang-dropdown.open {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    text-decoration: none;
    color: #283232;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lang-dropdown a:hover {
    background: #f0f7ea;
    border-left-color: #648C3C;
    text-decoration: none;
}

.lang-dropdown a.active {
    background: #e8f0e0;
    border-left-color: #50642D;
    font-weight: bold;
    color: #50642D;
}

.lang-dropdown .lang-flag {
    width: 22px;
    height: 22px;
    clip-path: circle(50%);
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lang-dropdown.open {
    animation: dropdownFadeIn 0.25s ease forwards;
}

@media screen and (max-width: 700px) {
    .lang-toggle {
        font-size: 12px;
        padding: 5px 12px 5px 8px;
    }
    .lang-toggle .lang-flag {
        width: 20px;
        height: 20px;
    }
    .lang-dropdown {
        min-width: 100px;
        right: 0;
    }
    .lang-dropdown a {
        font-size: 12px;
        padding: 6px 14px;
    }
    .lang-dropdown .lang-flag {
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 480px) {
    .lang-toggle {
        font-size: 11px;
        padding: 4px 10px 4px 6px;
    }
    .lang-toggle .lang-flag {
        width: 18px;
        height: 18px;
    }
    .lang-dropdown {
        min-width: 90px;
        right: 0;
        padding: 6px 0;
    }
    .lang-dropdown a {
        font-size: 11px;
        padding: 5px 12px;
    }
    .lang-dropdown .lang-flag {
        width: 16px;
        height: 16px;
    }
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
}

.flex-row {
    display: flex;
    justify-content: center;
    align-items: center;
    /*width: 14.285%;*/        /* 100% / 7 = 7*/
    width: 11.111%;        /* 100% / 9 = 9 */
    box-sizing: border-box;
    padding: 5px;
}

.img-in-flex {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 25px 5px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.img-in-flex:hover {
    transform: scale(1.08);
}

.description-text {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 25px 0;
    padding: 10px;
    border-radius: 30px;
    color: white;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 700px) {
    .flex-container {
        gap: 20px;
        padding: 0 20px;
        justify-content: center;
    }
    .flex-row {
        padding: 0;
    }
    .img-in-flex {
        width: 100%;
        max-width: 100%;
    }
    .description-text {
        font-size: 14px;
    }
    .extras section:last-child {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }
}

@media screen and (min-width: 481px) and (max-width: 700px) {
    .flex-row {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 480px) {
    .flex-row {
        width: 100%;
        padding: 0;
    }
    .flex-container {
        gap: 20px;
        padding: 0 20px;
        justify-content: center;
    }
    .img-in-flex {
        width: 100%;
        max-width: 100%; 
        display: block;
        margin: 0 auto;
    }
    .description-text {
        font-size: 12px;
    }
    
    .img-in-flex:hover {
        transform: scale(1) !important;
        transition: none !important;
    }
}

@media screen and (max-width: 480px) {
    h1.logo {
        width: 42px;
        height: 42px;
        background-size: contain;
        float: left;
        margin: 0;
    }

    .mobile-header-left {
        display: flex;
        align-items: center;
        float: left;
        height: 42px;
        gap: 10px; 
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        width: 30px;
        height: 30px;
    }
    
    .current-page {
        font-size: 14px;
        font-weight: bold;
        color: #283232;
        font-family: Oswald-Regular, Verdana, Geneva, Arial, Helvetica, sans-serif;
        white-space: nowrap;
    }
    
    .header-right {
        float: right;
        display: flex;
        align-items: center;
        height: 42px;
    }
    
    .lang-menu {
        float: none;
        margin-top: 0;
        position: relative;
        display: inline-block;
    }
    
    .top-menu {
        clear: both;
        height: auto;
        padding-top: 5px;
        width: 100%;
    }
    
    #top-nav {
        position: relative;
    }
    
    #top-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        margin: 0;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 200;
        list-style: none;
        height: auto;
    }
    
    #top-nav ul.open {
        display: flex;
        height: auto;
    }
    
    #top-nav li {
        display: block;
        padding: 10px 15px;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
        font-size: 13px;
        font-weight: bold;
        font-family: Oswald-Regular, Verdana, Geneva, Arial, Helvetica, sans-serif;
        border-bottom: 1px solid #f0f0f0;
        color: #50642D;
        cursor: pointer;
        background: transparent;
    }
    
    #top-nav li:last-child {
        border-bottom: none;
    }
    
    #top-nav li:hover {
        background: #f0f7ea;
    }
    
    #top-nav li a {
        color: #50642D;
        text-decoration: none;
        display: block;
        width: 100%;
    }

    #top-nav li.m_active {
        background: #e8f0e0;
        color: #283232;
        border-radius: 8px;
    }

    #top-nav li.m_active a {
        color: #283232;
    }
}

@media screen and (max-width: 880px) {
    #footer-nav li {
        display: inline-block;
        width: 30px;
        height: 30px;
        padding: 0 8px;
        position: relative;
    }

    #footer-nav li:last-child {
        padding-right: 0;
    }

    #footer-nav li span,
    #footer-nav li a {
        font-size: 0;
        display: block;
        width: 30px;
        height: 30px;
        text-indent: -9999px;
    }

    #footer-nav li::before {
        display: block;
        width: 30px;
        height: 30px;
        position: absolute;
        top: 0;
        left: 8px;
        pointer-events: none;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #footer-nav li:first-child::before {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
        transform: scale(1.2);
        transform-origin: center;
    }

    #footer-nav li:nth-child(2)::before {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z'/%3E%3C/svg%3E");
        transform: scale(1.0);
        transform-origin: center;
    }

    #footer-nav li:last-child::before {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
        transform: scale(1.0); 
        transform-origin: center;
    }

    #footer-nav li.m_active::before {
        opacity: 0.5;
    }
}