:root {
    --blue: #00A9E7;
    --green: #509E2F;
    --darkblue: #3D5265;
    --gradient: linear-gradient(to right, #00A9E7, #2160AF);
    --textGradient: linear-gradient(to right, #78B22B, #255BA2, #00A2DB);
}
html,body,div,a,span,h1,h2,h3,h4,h5,h6,p,ul,li {
    font-family: 'Manrope', sans-serif;
    color: var(--darkblue);
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex-grow: 1;
}

.maxgridrow {
    width: 95vw;
    margin: 0 auto;
    padding: 20px 30px;
}
.inner-maxgridrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 30px;
}
@media screen and (max-width: 768px) {
    footer .maxgridrow {
        width: 100%;
        padding: 0;
    }
}
.prel {position: relative;}
.w-400 {font-weight: 400;}
.w-600 {font-weight: 600;}
.w-700 {font-weight: 700;}
.w-800 {font-weight: 800;}
.is-white {color: white;}
.is-black {color: var(--darkblue);}

.cosmote-colors {
    background: var(--textGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 230px;
    line-height: 0.9;
}

.image-wrap {
    line-height: 0;
	padding-bottom: 66%;
	height: 0;
	position: relative;
}
.image-wrap .imagefit {
    object-fit: cover;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.inner-page-title-bg {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.inner-page-title-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center 67%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}
.inner-page-title-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
.inner-page-title {
    text-align: center;
    font-size: 30px;
    color: white;
    z-index: 1;
}

section {
    margin-bottom: 100px;
}

/*===Header===*/
header {
    padding: 20px 30px;
}
.head-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.head-wrap a {
    color: var(--blue);
}
.head-wrap li a {
    color: var(--darkblue);
}
.head-wrap li a:hover {
    border-bottom: 2px solid var(--blue);
    color: var(--blue);
}
.header-logo, .header-c2a {
    font-size: 25px;
    line-height: 1.2;
    
}
.header-nav ul {
    display: flex;
    align-self: center;
    font-size: 16px;
}
.header-nav ul li:not(:last-child) {
    margin-right: 15px;
}
.header-nav ul.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 20px;
}
.header-nav .dropdown:hover .dropdown-menu {
    display: block;
}
.header-nav ul.dropdown-menu li {
    padding: 10px 0;
}


/*===Burger===*/
.burger {
    padding: 0;
    color: #f9f9f9;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    z-index: 10;
    padding-bottom: 10px;
}
.burger.open-burger {
    display: none;
}
.burger .close-menu {
    display: none;
}
body.open .burger .open-menu {
    display: none;
}
body.open .burger .close-menu {
    display: block;
}
.burger.close-burger {
    position: absolute;
    top: 10px;
    right: 10px;
}
.bg-overlay {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgb(27 32 44 / 70%);
    visibility: hidden;
    opacity: 0;
    backdrop-filter: blur(6px);
    transition: 0.3s;
}
body.open .bg-overlay {
    visibility: visible;
    opacity: 1;
}
aside {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 260px;
    height: 100%;
    padding: 18px 20px 20px;
    background: var(--blue);
    box-shadow: 0 0 20px rgb(0 0 0 / 70%);
    translate: 100% 0;
    transition: 0.3s;
}      
body.open aside {
    translate: 0;
}
  
.head-wrap aside a,.head-wrap aside a:visited,.head-wrap aside a:hover,.head-wrap aside li {
    display: flex;
    align-items: center;
    /* height: 50px; */
    font-size: 20px;
    color: white;
    padding: 7px 0;
}
.head-wrap aside li.dropdown {
    flex-direction: column;
    align-items: flex-start;
}
aside .padding-follow a {
    height: 30px;
}
html.hidden {
    overflow: hidden;
}
aside .dropdown-menu.drop-it {
    display: block;
    position: relative;
}
aside .dropdown .has-dropdown {
    display: flex;
    align-items: center;
}
aside .dropdown .has-dropdown h4 {
    padding-right: 10px;
}

/*===End Burger===*/

@media screen and (max-width: 1200px) {
    .header-nav {
        display: none;
    }
    .header-c2a h1 {
        display: none;
    }
    .burger.open-burger {
        display: block;
    }
}


/*===Hero Section===*/
.hero-section {margin-top: 30px;}
.hero-section .image-wrap {
    padding-bottom: 80%;
}
.hero-text.cosmote-colors {
    font-size: 185px;
    line-height: 0.9;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}
.hero-section .slick-slide .over-image {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 25px;
    width: 60%;
}
.hero-section .slick-dots li button {
    font-size: 0;
    line-height: 0;
    background: transparent;
    border: none;
}
.hero-section .slick-dots li button:before {
    font-size: 15px;
    line-height: 15px;
    color: white;
    content: '○';
}
.hero-section .slick-dots li.slick-active button:before {
    color: white;
    content: '●';
}
.hero-section .slick-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
}

@media screen and (max-width: 1500px) {
    .hero-text.cosmote-colors {
        font-size: 155px;
    }
}
@media screen and (max-width: 1200px) {
    .hero-text.cosmote-colors {
        font-size: 110px;
    }
}

@media screen and (max-width: 768px) {
    .hero-wrap .hero-slider-wrapper {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

/*===Text Section===*/
.text-section .text-section-container {
    text-align: left;
    max-width: 900px;
}
.text-section .text-section-container p {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}
.text-section .text-section-container p:not(:last-child) {
    padding-bottom: 20px;
}
.text-section .text-section-title {
    font-size: 100px;
    color: var(--blue);
}
.text-section .circle-text p {
    font-weight: 600;
    color: white;
}

.circle-wrap {
    width: 350px;
    height: 350px;
}
.bg-circle {
    background: var(--blue);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.circle-text {
    width: 150px;
    margin: 0 auto;
    color: white;
}
@media screen and (max-width: 768px) {
    .text-section .text-section-title {
    font-size: 60px;
    }
}

/*===Boats Section===*/
.text-slide-wrap {
    max-width: 660px;
    margin: 0 auto;
}
.boat-text-wrap {
    height: 100%;
    background: var(--blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 30px;
}
.boat-image-wrap .image-wrap {
    padding-bottom: 80%;
}
.boat-text {
    color: white;
    font-size: 18px;
}
.boat-text .b-value {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}
.boat-text:not(:last-child) {
    padding-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .boat-section-title.cosmote-colors {
        font-size: 120px;
    }
    .text-slide-wrap {
        margin: 0;
    }
    .boat-text .b-value {
        font-size: 28px;
    }
}

/*===Sailing Section===*/
.sailing-team-video {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.sailing-team-video .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.sailing-team-video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.sailing-section-title {
    text-align: center;
    margin-bottom: -30px;
    z-index: 10;
    position: relative;
}

@media screen and (max-width: 1200px) {
    .sailing-section-title.cosmote-colors {
        font-size: 200px;
    }
}
@media screen and (max-width: 1000px) {
    .sailing-section-title.cosmote-colors {
        font-size: 170px;
    }
}
@media screen and (max-width: 768px) {
    .sailing-section-title.cosmote-colors {
        font-size: 70px;
        margin-bottom: -20px;
    }
}

/*===Latest News Section===*/
.images-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.images-container .big-image {
    width: 60%;
    margin-right: 10%;
}
.images-container .small-image {
    width: 30%;
}
.latest-post-container .read-more {
    display: flex;
    align-items: center;
}
.latest-post-container .post-title {
    font-size: 30px;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 20px;
}
.latest-post-container .post-content {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 20px;
}
.latest-post-container .read-more p {
    color: var(--blue);
    font-size: 16px;
}
.all-news a {
    font-size: 18px;
    color: var(--darkblue);
}
.post-content-text-wrap {
    width: 95%;
}
.latest-news-wrap {
    padding-top: 20px;
}
.latest-news-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.all-news {
    display: flex;
    align-items: center;
}
.all-news a {
    color: var(--blue);
    font-size: 18px;
}

@media screen and (max-width: 1000px) {
    .latest-news-title.cosmote-colors {
        font-size: 170px;
    }
}
@media screen and (max-width: 768px) {
    .latest-news-title.cosmote-colors {
        font-size: 60px;
    }
}

/*===Footer===*/
footer {
    background: var(--darkblue);
    color: white;
    padding: 20px 30px;
}
footer h4 {
    font-size: 20px;
    margin-bottom: 20px;
}
.footer-logo {
    font-size: 30px;
    line-height: 1.2;
}
.footer-logo h1 {color: white;}
.footer-nav a, .footer-nav h4 {
    color: white;
}
.footer-nav a:hover {color: white;text-decoration: underline;}
.footer-contact h4, .footer-contact p {
    color: white;
}

.map-wrap {
    margin: 0 auto;
    width: inherit;
}


/*===Contact Page===*/
.contact-title-bg::before {
    background-image: url("../imgs/IMG_0858 2.jpg");
}

.contact-form-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-text-wraps:not(:last-child) {
    margin-bottom: 20px;
}
.contact-form-text h4 {
    font-size: 20px;
    color: var(--blue);
}
.contact-form-text p {
    font-size: 18px;
    line-height: 1.4;
}
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 40%;
    height: 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 768px) {
    .map-container {
        padding-bottom: 100%;
    }
}

/*===Photo Gallery===*/
.grid-gallery-bg::before {
    background-image: url("../imgs/IMG_0841.jpg");
}
.grid-gallery {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    gap: 20px;
}
.grid-gallery .grid-item {
    position: relative;
    overflow: hidden;
    background-color: red;
}
.grid-gallery .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.grid-gallery .grid-item:hover img {
    cursor: zoom-in;
    transform: scale(1.1);
}
.grid-gallery .grid-item:nth-child(3n - 2) {
    grid-row: span 2;
}
@media screen and (max-width: 768px) {
    .grid-gallery .grid-item:nth-child(3n - 2) {
        grid-row: unset;
    }
}

/*===Seminaria===*/
.seminaria-bg::before {
    background-image: url("../imgs/IMG_0853.jpg");
}

.seminaria-content {
    max-width: 900px;
    margin: 0 auto;
}
.seminaria-content .image-wrap {
    padding-bottom: 89%;
}
.seminaria-content p {
    padding: 10px 0;
}
.seminaria-content p a {
    color: var(--blue);
}

/*===Anakoinwseis===*/
.anakoinwseis-content-wrap {
    margin-bottom: 30px;
}
.anakoinwseis-bg::before {
    background-image: url("../imgs/IMG_0858 2.jpg");
}
.anakoinwseis-item .image-wrap {
    height: 100%;
}
.anakoinwseis-content-wrap .page-numbers {
    font-weight: 700;
    color: var(--blue);
}

/*===Basic Page===*/
.basic-page-bg::before {
    background-image: url("../imgs/IMG_0853.jpg");
}
.basic-page-content {
    margin-bottom: 30px;
}
.basic-page-content p,.basic-page-content li {
    padding: 5px 0;
    list-style: disc inside;
}
.card-image .imagefit {
    object-fit: contain;
}
.basic-page-content .card-image {
    padding: 40px;
}
.basic-page-content .card-content h2 {
    font-size: 26px;
    min-height: 100px;
}
.basic-page-content .card-content button {
    width: 100%;
    font-size: 20px;
}

.card-content button {
    border: 2px solid var(--blue);
    border-radius: 5px;
    background: white;
    color: var(--blue);
    position: relative;
    overflow: hidden;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.card-content button:hover {
    background: var(--gradient);
    color: white;
    border: none;
}


/*===Single Page===*/
.single-content-wrap .single-content-title {
    font-size: 24px;
    text-align: center;
    padding-bottom: 30px;
}
.single-content-wrap .post-thumbnail {
    margin-bottom: 30px;
}
.single-content-wrap .post-content p,.single-content-wrap .post-content li {
    padding-bottom: 10px;
}
.single-content-wrap ul {
    list-style: disc inside;
}

.single-content-wrap .post-content p img{max-width:100%;height:auto}