/*
Theme Name: Social WiFi
Theme URI: https://www.crowdpolicy.com/
Description: Social WiFi WordPress Theme
Requires at least: WordPress 5.0.0
Author: Louis
Author URI: https://www.crowdpolicy.com/meet-the-team/
Version: 1.0
Text Domain: social-wifi
Domain Path: /languages
*/

/*-------------------------------------------------------------------
 GENERAL MARKUP
-------------------------------------------------------------------*/
:root {
    --color-white: #fff;
    --color-white2: #fafafa;
    --color-blue: #244773;
    --color-blue-lighter: #2960a6;
    --color-yellow: #ffd516;
    --color-text: #424242;
    --color-btn-border: #444;
    --color-btn: #4d4d4d;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%; /* 1rem = 10px, 10px/16px = 62.5% */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', Arial, sans-serif;
    box-sizing: border-box;
    position: relative;
    line-height: 1.4;
    text-align: center;
    color: var(--color-text);
    font-size: 18px;
	margin: 0;
	padding: 0;
}

section {
    padding: 5rem 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 700;
}

a {
	color: #254E82;
}

section h1 {
    font-size: 40px;
    padding-bottom: 5rem;
}
section p {
    text-align: left;
    max-width: 780px;
    margin: auto;
}

/* Boxes for overflowing text
=================================== */

/**
 * https://css-tricks.com/almanac/properties/l/line-clamp/ 
 */
 .one-line-box {
    display: -webkit-box !important;
    box-sizing: border-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.two-line-box {
    display: -webkit-box !important;
    box-sizing: border-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.three-line-box {
    display: -webkit-box !important;
    box-sizing: border-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-no-overflow {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/*-------------------------------------------------------------------
 LOGOS
-------------------------------------------------------------------*/
#wifi4eulogo {
	display: block;
	height: auto;
	width: auto;
	max-height: 95vh;
	max-width: 100%;
	margin: 0 auto;
}

#logo-forea {
	max-width: 100%;
	max-height: 250px;
}

@media all and (max-width: 600px) {
	#logo-forea {
		max-height: 150px;
	}
}

/*-------------------------------------------------------------------
 WELCOME SECTION
-------------------------------------------------------------------*/

/** languages */
#languages-container {
	text-align: center;
	margin-bottom: 20px;
}

#languages-container > a:not(:last-child) {
	margin-right: 10px;
}

#english_button {
	background: none;
	display: inline-block;
    height: 44px;
    width: 64px;
    border: none;
}
#english_button img {
	display: inline-block;
	height: auto;
    width: 100%;
	object-fit: cover;
}

#greek_button {
	background: none;
	display: inline-block;
    height: 44px;
    width: 64px;
    border: none;
}
#greek_button img {
	display: inline-block;
	height: auto;
    width: 100%;
	object-fit: cover;
}

.selected-language img {
	border: 2px solid #3B99FC !important;
	outline: 0;
}
.selected-language:focus {
	outline: 0;
}

section#welcome {
    padding-top: 5rem;
}

/*-------------------------------------------------------------------
 PAGE CONTENT SECTION
-------------------------------------------------------------------*/
#page-content {
    padding-top: 0;
}

#page-content > h2 {
    font-size: 28px;
    margin: 40px auto;
}

/*-------------------------------------------------------------------
 3 BUTTONS
-------------------------------------------------------------------*/

#municipality-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
    grid-gap: 50px 50px;
    justify-content: center;
    margin-top: 60px;
    margin-bottom: 60px;
    padding-top: 60px;
    border-top: 1px solid #274872;
}

.municipality-grid-item-link {
    display: block;
    position: relative;
    max-width: 100%;
}

.municipality-grid-item-link > img {
    max-width: 100%;
}

.municipality-grid-item {
    position: relative;
    width: 250px;
    height: auto;
    /* background-color: #999; */
    border-radius: 4px;
    font-size: 1.2em;
}

.municipality-grid-item-link > span {
    display: inline-block;
    margin-bottom: 20px;
    height: 60px;
}

/* .municipality-grid-item-link > span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: rgb(174, 52, 52);
    padding: 15px;
} */

/*-------------------------------------------------------------------
 FOOTER
-------------------------------------------------------------------*/
footer .row {
    text-align: center;
    flex-direction: column;
}

footer > div {
    background: -webkit-linear-gradient(
        20deg,
        var(--color-blue),
        var(--color-blue-lighter)
    );
    background: -o-linear-gradient(
        20deg,
        var(--color-blue),
        var(--color-blue-lighter)
    );
    background: linear-gradient(
        70deg,
        var(--color-blue),
        var(--color-blue-lighter)
    );
    color: var(--color-white);
    padding: 5rem 0;
}

footer * {
    margin: auto;
}

.tech,
.line {
    margin-bottom: 2rem;
}

footer a {
    color: var(--color-white);
}

footer a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

footer .line {
    max-width: 100%;
    width: 360px;
    border-bottom: 1px solid var(--color-white);
}

.cp {
    margin-top: 2rem;
}

#logo-crowdpolicy {
	max-width: 100%;
	width: 30px;
    height: 30px;
}
