/*
Theme Name: eco
Description: Eco Diving Theme
Author: Joinweb
Author URI: http://www.joinweb.gr
Template: JoinwebBasic
Version: 1.0.0
*/

body,
html
{
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
}


@media screen and (max-width: 767px) {
    body,
    html
    {
        font-size: 8px;
    }
}

body{
    font-size: 1.8rem;
}

a{
 text-decoration: none;
}
.outerWrapper {
    padding: 40px;
}
.textWrapper {
    width: 900px;
    margin: 0 auto;
}
.center{
    text-align: center;
}
.black
{
    color: rgba(0,0,0,1);
}
.white
{
    color: rgba(255,255,255,1);
}

.button {
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    padding: 15px 30px;
    font-size: 2rem;
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 600;
    transition: 0.5s;
}
.blackBtn{
    background-color: #000;
    color: #fff;
}
.whiteBtn
{
    background-color: #fff;
    color: #000;
    font-family: 'Arimo', sans-serif;
}
.button:hover {
    background: #4BC7D5;
    color: #fff;
}
@media screen and (max-width: 992px){
    .textWrapper {
        width: 100%;
        padding: 15px;
    }
}

a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}
a.skip-main:focus, a.skip-main:active {
    color: #fff;
    background-color: #000;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow: auto;
    margin: 6px 35%;
    padding: 5px;
    border-radius: 15px;
    border: 2px solid yellow;
    text-align: center;
    font-size: 1.4rem;
    z-index: 99999;
}

/**************************************** Header *****************************************
*****************************************************************************************/
.espa {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
    max-width: 100%;
    padding: 0 20px;
    border-radius: 0 0 20px 20px;
    background: #fff;
}
.espa img {
    max-width: 100%;
}

.header {
    width: 100%;
    position: absolute;
    color: #fff;
    left: 0;
    top: 0;
    z-index: 9;
    display: block;
}
.headerGrid {
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "logo icons";
}
.header_logo {
    grid-area: logo;
    z-index: 10;
}
.header_icons {
    grid-area: icons;
    justify-content: flex-end;
    position: relative;
    align-items: center;
}
.header_logo svg{
    height: 90px;
    transition: 0.5s;
    fill: #fff;
    width: auto;
}



/************************************ Home ***********************************************
*****************************************************************************************/
.sectionHome
{
    margin: 100px 0;
}

h2.sectionTitle
{
    font-size: 6.8rem;
    font-weight: 600;
    line-height: 1;
    font-family: 'Arimo', sans-serif;
}
.border
{
    position: relative;
    width: 220px;
    margin: 50px auto 50px auto;
    border: 3px solid #4BC7D5;
}

.titleWrapper
{
    display: inline-block;
}

/*Hero*/

.hero{
    position: relative;
    grid-template-columns: 1fr;
    background-position: bottom center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000;
}
.ios .hero {
    background-attachment: scroll;
}
.page-template-template-allCoursesType .hero,
.archive .hero,
.page-template-contact .hero,
.page-template-book .hero,
.page-template-ecology .hero {
    height: 70vh;
}

.hero::after {
    content: "";
    display: block;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background-image: -moz-linear-gradient(to bottom,rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0, 0.1) 100%);
    background-image: -webkit-linear-gradient(to bottom,rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0, 0.1) 100%);
    background-image: -o-linear-gradient(to bottom,rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0, 0.1) 100%);
    background-image: -ms-linear-gradient(to bottom,rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0, 0.1) 100%);
    background-image: linear-gradient(to bottom,rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
}

.hero_title
{
    font-size: 6.8rem;
    color: rgba(255,255,255,1);
    font-weight: 600;
    line-height: 1;
    font-family: 'Arimo', sans-serif;
}

.hero_button {
    position: absolute;
    bottom: 80px;
    border-radius: 50%;
    border: 4px dashed #fff;
    display: block;
    height: 200px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    color: #fff;
    font-family: 'Arimo', sans-serif;
    transition: 0.5s;
}
.hero_button svg
{
    fill: #fff;
    width: 50px;
    height: auto;
    transition: 0.5s;
}
.hero_button div
{
    margin-top:4px;
    font-size: 2.1rem;
    line-height: 1;
    padding: 0 20px;
    color: #fff;
    font-weight: 400;
    transition: 0.5s;
}
.hero_button:hover {
    background: #fff;
    border-color: transparent;
}
.hero_button:hover svg {
    fill: #4BC7D5;
}
.hero_button:hover div {
    color: #4BC7D5;
}

.hero__content
{
    z-index: 2;
}

.absolute
{
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
}

/* Eco Day */
.eco-day svg
{
    height: 200px;
    fill: #4BC7D5;
    display: block;
    width: 200px;
    margin: 0 auto;
}
.eco-day-details {
    border-bottom:2px solid #E5E5E5;
    border-top:2px solid #E5E5E5;
    padding: 20px;
}

a.eco-day-date,
.eco-day-details  p.eco-day-date
{
    font-weight: bold;
    font-size: 4.2rem;
    /*color: rgba(75,199,213,1);*/
    color: #000;
}
.eco-day-details  p.eco-day-date
{
    margin: 0;
    line-height: 1;
}
.eco-day-details p
{
    font-weight: normal;
    font-size: 2.4rem;
    color: rgba(0,0,0,1);
}
.single .eco-day-details p
{
    margin-bottom: 0;
}
.single .eco-day-details
{
    padding: 28px 0;
}

/* Try Scuba */

.try-scubaGrid {
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;
}

.try-scubaGrid::after{
    background: #000;
    content: "";
    display: block;
    opacity: 0.3;
    width: 100%;
    height: 100%;
    position: absolute;
}
.try-scubaGrid:after
{
    content: "";
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(135deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 15%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(135deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 15%, rgba(255,255,255,0) 100%);
    background: linear-gradient(135deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 15%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#ffffff",GradientType=1);
}
.try-scubaGrid
{
    padding: 60px 40px 100px 40px;
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "leftText .";
    position: relative;
}

.try-scuba-content
{
    z-index: 2;
    grid-area: leftText;
}
.try-scuba__content
{
    margin-bottom: 90px;
}

.try-scuba h2.sectionTitle
{
    text-align: left;
}
.try-scuba .border {
    margin-left: 0;
}

/*Certified diver*/

.diver.sectionHome {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
}
.diver-Grid:after
{
    content: "";
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(80deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(80deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
    background: linear-gradient(80deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

.diver-Grid
{
    padding: 180px 80px;
    position: relative;
    grid-template-columns: 6fr 1fr 3fr;
    grid-template-areas:
            ".  .  right"
            ".  img  right"
            ".  .  right";
    position: relative;
}

.diver-content
{
    grid-area: right;
    z-index: 2;
}
.diver-content .border
{
    margin: 50px 0 50px 0;
}

.diver-Grid .diver_img {
    grid-area:  img;
    width: 200px;
    margin: 0 auto;
    z-index: 2;
}
.diver-content .button{
    margin-top: 50px;
    display: inline-block;
}
.diver.sectionHome .bordered
{
    width: 30%;
    margin: 10px 0;
}

/*testominials*/

.testimonials{
    background-color: rgb(85, 85, 85);
    padding: 30px 0;
}

.testimonials .border.white{
    border: 3px solid #fff;
}

.testimonial-item p{
    font-style: italic;
    font-weight: normal;
    font-size: 3.2rem;
    color: rgba(75,199,213,1);
}

.testimonial-item h3{
    font-style: normal;
    font-weight: normal;
    font-size: 2.1rem;
    color: rgba(255,255,255,1);
    margin-bottom: 40px;
}
.slick-arrow
{
    display: none!important;
}

.slick-dots li button:before{
    content: '-'!important;
    font-size: 60px!important;
    opacity: 0.9 !important;
    color: #fff!important;
}
.slick-dots li.slick-active button:before {
    opacity: .75;
    color: rgba(75,199,213,1) !important;
}

/*Partners*/
.partner-list{
    flex-flow: wrap;
    justify-content: center;
}
.partner-list img {
    margin: 0 auto;
}

.partnersSection li{
    border: 1px solid rgb(229, 229, 229);
    padding: 25px 50px;
    margin: 20px 10px;
}


/************************************ Footer ***********************************************
*******************************************************************************************/
.footer{
    background-color: rgb(229, 229, 229);
    padding: 30px 0;
}

.footer_logo svg
{
    width: 100px;
    margin: 0 auto;
    display: block;
    height: auto;
}
.footer_logo img {
    width: 100px;
    margin: 0 auto;
}
.footer-menu,
.socialFooter,
.logoArea
{
    justify-content: center;
    margin: 35px 0;
}
.footer-menu
{
    flex-wrap: wrap;
}

.copyright
{
    margin-bottom: 30px;
    font-weight: 300;
    font-size: 1.3rem;
    color:  #000;
}
.copyright a{
    font-weight: bold;
    color:#000;
}

.footer-menu a
{
    font-size: 1.4rem;
    margin: 0 12px;
}

.developed {
    font-weight: 300;
    font-size: 1.3rem;
    color: rgba(85,85,85,1);
}
.developed a{
    font-weight: bold;
    color:rgba(85,85,85,1);
}
.socialFooter svg
{
    height: 35px;
}

.logoArea {
    border-radius: 5px;
    background: #fff;
    padding: 0;
    display: inline-flex;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    overflow: hidden;
}
.logoArea li
{
    background-color: #ffffff;
    padding: 20px;
}

.logoArea li img {
    display: block;
    width: auto;
    height: 40px;
    margin: auto;
}

/*********************************** Inner Pages *******************************************
*******************************************************************************************/
.innerImage
{
    margin-bottom: 20px;
}
.breadcrumbs {
    margin-bottom: 25px;
    font-size: 1.6rem;
}
.subTitle,
.subTitle a
{
    font-weight: normal;
    font-size: 5.8rem;
    color: rgba(0,0,0,1);
    text-align: center;
    margin: 0 0 80px;
    line-height: 1;
}
h2.subTitle:after {
    content: '';
    display: block;
    border: 3px solid rgb(75, 199, 213);;
    width:220px;
    margin: 50px auto 0 auto;
}
/* Book A dive */
.bookTitle
{
    font-weight: normal;
    font-size: 6.8rem;
    color: rgba(255,255,255,1);
}

.book_subTitle
{
    font-weight: normal;
    font-size: 3.8rem;
    color: rgba(255,255,255,1);
    margin-bottom: 60px;
}
.book_now:after
{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: #4BC7D5;
    opacity: 0.7;
    top: 0;
}
.book_now .book{
    z-index: 2;
    position: relative;
}
.book_now
{
    position: relative;
    grid-template-columns: 1fr;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 115px 0;
    margin: 100px 0 0;
    background-attachment: fixed;
    background-size: cover;
    background-color: #000;
}
.ios .book_now {
    background-attachment: scroll;
}
.gallery
{
    margin-top: 60px;
    margin-bottom: 150px;
}
.single .eco-day-details
{
    margin: 100px 0 55px 0;

}
.hero__content_eco svg {
    height: 200px;
    fill: #fff;
    display: block;
    width: 200px;
    margin: 0 auto;
}

/************************************ Contact **********************************************
*******************************************************************************************/
.wpcf7-form label {
    font-size: 1.6rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    color: #555555;
}
.wpcf7-form input,
.wpcf7-form textarea
{
    border: none;
    border-bottom: 2px solid rgba(85, 85, 85, 1);
    width: 100%;
    padding: 15px 0;
    font-size: 2.2rem;
    font-family: 'Open Sans', sans-serif;
    color: #555555;
}
.wpcf7-form textarea{
    height: 150px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus
{
    outline: none;
    border-color: #4BC7D5;
    color: #4BC7D5;
}
.wpcf7-form input.wpcf7-not-valid {
    border-color: #e42f66;
}
.wpcf7-form .wpcf7-not-valid-tip {
    color: #e42f66;
}
.wpcf7-form input[type="submit"]
{
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    padding: 15px 30px;
    font-size: 2rem;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: #000;
    color: #fff;
    margin: 70px auto 0 auto;
    display: block;
    width: auto;
}
input[type="checkbox"] {
    display: inline;
    width: auto;
}
.wpcf7 ::placeholder
{
    font-weight: normal;
    font-size: 2.2rem;
    color: rgba(85, 85, 85, 1);
    line-height: 1;
}

.wpcf7-form .inlineList {
    justify-content: space-between;
}

.contactUl {
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.contactUl li
{
    font-size: 1.4rem;
    color: rgba(0,0,0,1);
    margin: 5px 15px;
}
.contactUl a {
    color: #000;
}

.contactUl img
{
    width: 25px;
    height: auto;
    margin-right:20px;
}
.subTitle.location
{
    margin-bottom: 50px;
}


/***************************************** Archive *****************************************
******************************************************************************************/

.archive_container {
    flex-wrap: wrap;
    justify-content: center;
}
.archive_item {
    position: relative;
    overflow: hidden;
    margin: 10px;
    width: calc(100% * (1/3) - 20px);
    background: #000;
}
.archive_item:after
{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: #4BC7D5;
    opacity: 0.7;
    top: 0;
    transition: 0.5s;
}
.archive_item:hover:after {
    background: #000;
}
.archive_content {
    position: absolute;
    top: 40%;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 2;
}
.archive_title {
    font-weight: normal;
    font-size: 3.8rem;
    color: #fff;
    line-height: 1;
}
.archive_title:after {
    content: '';
    display: block;
    border: 3px solid #fff;
    width:220px;
    margin: 25px auto 0 auto;
}


.blogContainer {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "1 2 3";
}
.blog_item_title
{
    font-weight: normal;
    font-size: 3.8rem;
    color: rgba(255,255,255,1);
}
.blog_item_title:after {
    content: '';
    display: block;
    border: 3px solid #fff;
    width:220px;
    margin: 25px auto 0 auto;
}

.blog_item
{
    position: relative;
    margin-bottom: 40px;
}
.blog_item:after
{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    background: #4BC7D5;
    opacity: 0.7;
    top: 0;
}
.blog_item-content {
    position: absolute;
    top: 45%;
    display: block;
    width: 100%;
    text-align: center;
    z-index: 4;
    display: inline-block;
}


/**************************************** Archive Services *********************************
******************************************************************************************/

.postContentGrid {
    grid-template-columns: 1fr 1fr ;
    grid-template-areas: "figure text";
    grid-gap: 30px;
    position: relative;
    margin-bottom: 50px;
}
.postContentGrid figure{
    grid-area: figure;
}
.postContentGrid .postContentGrid_text
{
    grid-area: text;
}
.service_summary,
.service_summary a
{
    color: #000;
    margin-top: 0;
}
.service_summary {
    margin-bottom: 70px;
}

.serviceContainer
{
    grid-template-columns: 1fr 8fr 1fr;
    grid-template-areas: "f article n";
}
.articlesContainer
{
    grid-area: article;
}


.post-type-archive-partners .postContentGrid {
    grid-template-columns: 1fr 5fr;
}

/****************************** Menu  ************************************
***************************************************************************/

/***************** Menu Content  ***********************/
.mainMenu {
    z-index: 9;
    min-height: 100vh;
    opacity: 1;
}
.menu__content
{
    margin-bottom: 30px;
    min-height: calc( 100vh - 200px);
}
.menu__footer
{
    color: #fff;
    font-size: 1.6rem;
}

.menuFooterGrid {
    grid-template-columns: 2fr 1fr;
    grid-template-areas: "contact social";
}
.menu__footer_contactInfo
{
    grid-area: contact;
}
.menu__footer_socials
{
    grid-area: social;
}
.menu__footer .menu__footer_socials .socialFooter
{
    float: right;
    margin: 0;
}

.menu__footer .contactUl
{
    justify-content: left;
    margin-bottom: 0;
}
.headerLogo {
    transition: 0.5s;
}
.headerLogo.dark .fil701 {
    fill: #2B2929;
}
.headerLogoImage {
    height: 90px;
}

.footer-menu a,
.menu a,
.developed a,
.breadcrumbs a,
.copyright a
{
    background-image: linear-gradient(to right, #4BC7D5, #4BC7D5 50%, #000 50%);
    text-decoration: none;
    -webkit-background-clip: text;
    -webkit-text-fill-color:
            transparent;
    background-size: 200% 100%;
    background-position: 100%;
}
.footer-menu a:hover,
.footer-menu a:focus,
.menu a:hover,
.menu a:focus,
.footer a:hover,
.footer a:focus,
.breadcrumbs a:hover,
.breadcrumbs a:focus,
.copyright a:hover,
.copyright a:focus,
.menu__content .nav.navbar-nav li.current-menu-item > a,
.menu__content .nav.navbar-nav li.current-dive_courses-ancestor > a
{
    text-decoration: none;
    background-position: 0;
}
.footer-menu a,
.footer-menu a:hover,
.menu a,
.menu a:hover,
.developed a,
.developed a:hover,
.footer a,
.footer a:hover,
.breadcrumbs a,
.breadcrumbs a:hover,
.copyright a,
.copyright a:hover,
.menu__content .nav.navbar-nav li.current-menu-item > a,
.menu__content .nav.navbar-nav li.current-menu-item > a:hover
{
    transition: all 0.5s cubic-bezier(0.000, 0.000, 0.230, 1);
}
a svg {
    transition: 0.5s;
}
a:hover svg {
    fill: #4BC7D5;
}

/***************** Burger menu ***********************/

.menu-toggle {
    display: block;
    transition: 0.5s;
}
.menu-toggle span
{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #fff;
    border-radius: 3px;
    z-index: 10;
    transform-origin: 4px 0;
    transition:
        transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        background 0.5s,
        opacity 0.55s ease;
}
.menu-toggle span:first-child
{
    transform-origin: 0% 0%;
}
.menu-toggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}
.menu-toggle.checked span:nth-last-child(2)
{
    opacity: 1;
    transform: rotate(45deg) translate(-4px, -10px);

}
.menu-toggle.checked span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}
.menu-toggle.checked span
{
    opacity: 1;
    transform: rotate(-45deg) translate(0, 3px);
    background: #000000;
}

.mainMenuContainer {
    display: none;
}

/*Menu Links*/
.menu__content .nav.navbar-nav {
    list-style: none;
    padding: 150px 0 0;
    margin: 0;
}
.menu__content ul {
    list-style: none;
    text-align: right;
}
.menu__content .nav.navbar-nav .menu-item-has-children a span {
    width: 25px;
    height: 25px;
    content: "";
    display: inline-block;
    background: url("img/arrow-down.svg") no-repeat right;
    background-size: 25px;
    animation: none;
    margin-left: 15px;
}

.menu__content .nav.navbar-nav  .current-menu-ancestor a span,
.menu__content .nav.navbar-nav  .menu-item-has-children.active a span {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
.menu__content .nav.navbar-nav > li > a
{
    line-height: 1;
    font-weight: normal;
    font-size: 3.1rem;
    margin: 10px 0;
    display: inline-block;
}
.menu__content ul.sub-menu {
    display: none;
    margin: 5px 0;
}
.menu__content .current-menu-ancestor ul.sub-menu,
.menu__content .menu-item-has-children.active ul.sub-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.menu__content .nav.navbar-nav li ul.sub-menu li a
{
    font-weight: normal;
    font-size: 2.4rem;
    color: rgba(0,0,0,1);
    line-height: 1;
    margin-left: 25px;
}
.languageButton {
    color: #fff;
    margin-left: 40px;
    position: relative;
    z-index: 10;
}
.language {
    position: absolute;
    right: 0;
    top: 70px;
    visibility: hidden;
    z-index: 10;
    width: 300px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: #fff;
    padding: 3px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.language.visible {
    visibility: visible;
    width: 70px;
    list-style: none;
    padding: 0;
    margin: 0;
    height: auto;
    z-index: 10;
}
.language li {
    width: 100%;
    overflow: hidden;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
.language li:first-child {
    -webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
}
.language li:last-child {
    -webkit-border-radius: 0 0 8px 8px;
    -moz-border-radius: 0 0 8px 8px;
    border-radius: 0 0 8px 8px;
}
.language a {
    font-size: 1.8rem;
    border-bottom: 1px solid #ccc;
    display: block;
    width: 100%;
    padding: 25px;
    color: #000;
    text-transform: uppercase;
    transition: background 0.5s, color 0.5s;
    position: relative;
    z-index: 10;
}
.language a:hover {
    background: #4BC7D5;
    color: #fff;
}
.languageButton img {
    width: 24px;
    margin-top: -10px;
}

.page-template-contact iframe
{
	width: 100%;
}
/***************************************** Mobile *****************************************
******************************************************************************************/
@media screen and (max-height: 720px) {
    .hero_button {
        bottom: 40px;
    }
}

@media screen and (max-width: 1220px) {
    .partnersSection li{
        width: 45%;
    }
    .try-scubaGrid
    {
        grid-template-columns: 1fr;
        grid-template-areas:
                'leftText'
                '.';
        padding: 50px 20px 50px 20px;
    }
}

@media screen and (max-width: 992px) {
    .header {
        margin-top: 40px;
    }

    .diver-Grid
    {
        padding: 90px 20px;
        grid-template-columns: 1fr;
        grid-template-areas:
                "img"
                "right";
    }
    .diver-Grid:after {
        background: transparent;
    }
    .diver-Grid.sectionHome h2 {
        padding: 0;
        text-align: center;
    }
    .diver-content .border {
        margin: 50px auto 50px auto;
    }

    .postContentGrid,
    .post-type-archive-partners .postContentGrid {
        grid-template-columns: 1fr;
        grid-template-areas: "figure" "text";
    }

    .postContentGrid .button {
        position: relative;
    }

    .service_summary
    {
        margin: 20px 0 40px 0;
    }
    .menuFooterGrid {
        grid-template-columns: 1fr;
        grid-template-areas:
                "contact"
                "social";
    }
    .menu__footer .menu__footer_socials .socialFooter {
        float: none;
        margin: 20px auto;
    }
    .menu__footer .contactUl,
    .contactUl {
        justify-content: left;
    }
    .archive_item {
        width: calc(100% * (1 / 2) - 20px);
    }
}

@media screen and (max-width: 767px) {
    .espa {
        left: 0;
        transform: translate(0%, 0);
    }

    .outerWrapper {
        padding: 20px;
    }
    .hero_button {
        height: 160px;
        width: 160px;
        bottom: 10px;
    }
    .hero_button .absolute {
        top: 25px;
    }
    .hero_title {
        font-size: 5rem;
        padding: 0 5px;
    }
    .heroBtn h4
    {
        margin-top: 26px;
    }
    h2.sectionTitle {
        font-size: 5rem;
        padding-left: 0;
		word-wrap: anywhere;
    }
    .languageButton {
        margin-left: 10px;
    }
    .serviceContainer
    {
        grid-template-columns: 1fr;
        grid-template-areas: "article";
    }
    .blogContainer {
        grid-template-columns: 1fr;
        grid-template-areas: "1" "2" "3";
    }
    .menu__content ul {
        text-align: left;
    }
    .menu__content .current-menu-ancestor ul.sub-menu,
    .menu__content .menu-item-has-children.active ul.sub-menu
    {
        display: block;
    }
    .menu__content .nav.navbar-nav li ul.sub-menu li
    {
        margin-bottom: 20px;
    }
    .menu__content .nav.navbar-nav li ul.sub-menu li a {
        margin-left: 0;
    }
    .try-scuba__content {
        margin-bottom: 100px;
    }
    .subTitle,
    .subTitle a {
        font-weight: normal;
        font-size: 4.8rem;
    }
    .bookTitle {
        font-size: 5rem;
    }
    .book_subTitle {
        font-size: 3.2rem;
    }

}


@media screen and (max-width: 650px) {
    .archive_item {
        width: calc(100% - 20px);
    }
}
@media screen and (max-width: 480px) {
    .partnersSection li{
        width:100%;
    }
}

