*, *::before, *::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #333;
  font-family: "Opan Sans";
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Opan Sans";
  letter-spacing: 1px;
  color: #333;
  line-height: 1.4;
  font-weight: normal;
  text-rendering: optimizelegibility;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/*h2 {
  font-size: 2.3125rem;
}

h3 {
  font-size: 1.6875rem;
}*/

/*h4 {
  font-weight: normal !important;
}*/


body {
  cursor: default;
  color: #333;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  overflow-x: hidden;
  position: relative;
  text-align: center;

  background-color: #fff;
  background-clip: border-box;
  background-attachment: scroll;
  background-image: none;
  background-origin: padding-box;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  background-size: auto auto;
  box-sizing: border-box;
}


/* GENERIC */

.white {
  color: #fff;
}

.green {
  color: #a6cf43;
}


.page-section {
}

.section-inner {
  margin:0 auto !important;
  max-width: 1280px;
}



/* HEADER */

section#header {
  position: relative;
  overflow: hidden;
}

#header-image {
  position: fixed;
  z-index: -1;
  /*z-index: 5;*/
}

div#header-image-clone {
  position: relative;
  z-index: -2;
}

#header-image img, div#header-image-clone img {
  width: 100%;
  height: auto;
  display: block;
}

div#header-logo {
  position: absolute;
  z-index: 10;
  top:30px;
}

div#header-logo img {
  width: 100%;
}

div#header-menu {
  position: absolute;
  z-index: 10;
  top: 70px;
  right: calc((100% - 1280px)/2);
}

div#header-menu-vertical-back {
  background-color: #fff;
  opacity: 0.7;
  position: absolute;
  width: 240px;
  height: 100%;
  right: 20px;
  top: 20px;
}

.menu-small {
  display: none;
}

div#header-back {
  position: absolute;
  z-index: 9;
  top: 20px;
  width: 100%;
  height: 150px;
  background-color: #f4f5f7;
  opacity: 0.7;
}

div#scroll-icon {
  display: none;
  position: absolute;
  left: 49%;
  bottom: 60px;
  z-index: 1;
}

div#header-video {
  position: absolute;
  left: calc(50% - 45px);
  /*left: 47%;*/
  bottom: 45px;
  z-index: 15;
}

li.menu-link {
  list-style-type: none;
  list-style-position: outside;
  line-height: 30px;
  letter-spacing: 1px;
  float: left;
  margin-left: 40px;
  font-weight: normal;
  text-shadow: 0px 0px 3px #888;
}

li.menu-link a {
  font-family: "Open Sans";
  display: inline;
  position: relative;
  overflow: hidden;
  color: #333;
}
li.menu-link a::after {
  content: "";
  position: absolute;
  z-index: 10;
  left: 0;
  width: 0;
  bottom: -5px;
  background: #9ec146;
  /*box-shadow: 0px -1px 1px #b3de47;*/
  height: 3px;
  transition-property: width;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}
li.menu-link a:hover:after,
li.menu-link a:focus:after,
li.menu-link a:active:after {
  left: 0;
  right: auto;
  width: 100%;
}

ul.submenu {
  padding: 0;
  position: absolute;
  /*right: 0px;*/
  min-width: 160px;
  z-index: 1;
  overflow: hidden;
  max-height:0;
  transition: max-height 0.7s ease-in;
  padding-bottom: 3px;
}

ul.submenu li {
  margin-left: 10px;
  font-size: 14px;
  line-height: 25px;
  float: left;
  clear: left;
}

li.dropdown-parent:hover > ul.submenu { 
  max-height: 200px;
}


@media screen and (min-width: 1181px) and (max-width: 1300px) {
  div#header-menu {
    right: 1%;
  }
}

@media screen and (min-width: 0px) and (max-width: 1180px) {
  div#header-logo img {
    width: 60%;
    float: left;
  }
  div#header-logo img {
    float: left;
  }
  div#scroll-icon {
    display: none;
  }
  div#header-back {
    height: 95px;
  }
  div#header-menu {
    top: 38px;
    right: 1%;
  }
}

@media screen and (min-width: 800px) and (max-width: 1080px) {
  div#header-menu {
  }
}

@media screen and (max-width: 1020px) {
  .menu-small {
    display: block;
  }
  div#header-menu-icon {
    position: absolute;
    top: 53px;
    right: 40px;
    z-index: 10;
  }
  div#header-menu {
    margin-top: 70px ;
  }
  li.menu-link {
    position: relative;
    line-height: 30px;
    float: right;
    margin-left: 0px;
    margin-right: 40px;
    width: 100%;
    text-align: right;
  }
  li.menu-link a {
    font-size: 16px;
    line-height: 30px;
  }

  ul.submenu {
    display: block;
    width: 100%;
    position: relative;
    float: right;
  }

  ul.submenu li {
    margin-right: 0px !important;
    display: block;
    float: right;
  }
}

@media screen and (max-width: 910px) {
  #header-image img, div#header-image-clone img {
    width: auto;
    height: 380px;
  }
}

@media screen and (max-width: 600px) {
  #header-image img, div#header-image-clone img {
    width: auto;
    height: 330px;
  }
  li.menu-link a {
    font-size: 14px;
    line-height: 24px;
  }
  li.menu-link {
    line-height: 24px;
  }
  div#header-menu-vertical-back {
    width: 210px;
  }
}



div.header-btn {
  position: absolute;
  bottom: 80px;
}
div.header-btn button {
  background-color: #9ec146;
  border: none;
  border-radius: 6px;
  color: #333;
  padding: 10px 18px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
}
div.header-btn button:hover {
  background-color: #e5e5e5;
}
div#header-appointment {
  left: calc((100% - 1280px)/2);
  z-index: 15;
}
div#header-reminder {
  right: calc((100% - 1280px)/2);
  z-index: 15;
}

@media screen and (min-width: 0px) and (max-width: 800px) {
  div.header-btn {
    bottom: 60px;
  }
  div#appointment img {
    height: 220px;
    width: auto;
  }
}
@media screen and (min-width: 1021px) and (max-width: 1300px) {
  div#header-appointment {
    left: 20px;
  }
  div#header-reminder {
    right: 20px;
  }
}
@media screen and (min-width: 0px) and (max-width: 1020px) {
  div#header-appointment {
    left: 20px;
    bottom: 80px;
  }
  div#header-reminder {
    right: auto;
    left: 20px;
    bottom: 20px;
  }
  div#header-video {
    bottom: 25px;
  }
}

@media screen and (min-width: 0px) and (max-width: 600px) {
  div.header-btn button {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0px;
    cursor: pointer;
  }
  div#header-appointment {
    bottom: 65px;
  }
  div#header-video {
    bottom: 100px;
    left: 20px;
  }
}

@media screen and (max-width: 380px) {
  div#header-appointment, div#header-reminder {
    display: none;
  }
  div#header-video {
    bottom: 20px;
    left: 20px;
  }
}
/*  div#header-appointment {
    left: calc(50% - 98px);
    bottom: 150px;
  }
  div#header-reminder {
    right: auto;
    left: calc(50% - 113px);
    bottom: 50px;
  }*/






/* HIGHLIGHTS */

section#highlights {
  background-color: #f4f5f7;
}

div#highlights:after { 
    content: ""; 
    display: block;
    clear: both;
}

div.highlights-parts {
  display: block;
  text-align: left;
  width: 33.33%;
  height: 140px;
  float: left;
}

div.highlights-icon {
  padding: 44px 30px 34px 5px;
  height: 100%;
  min-width: 52px;
  float: left;
}

div#highlights-address {
  padding-left: 25px;
}

div.highlights-text {
  padding: 42px 0px 0px 0px;
  height: 100%;
  width: 70%;
  display: inline-block;
  float: left;
}


@media screen and (min-width: 800px) and (max-width: 1020px) {
  div#highlights {
    font-size: 14px;
    line-height: 24px;
  }
  div.highlights-icon {
    padding: 44px 10px 34px 10px;
  }
}
@media screen and (max-width: 799px) {
  div.highlights-parts {
    width: 100%;
    height: 100px;
    padding-left: 40px !important;
  }
  div.highlights-icon {
    padding: 30px 10px 20px 10px;
  }
  div.highlights-text {
    padding: 25px 0px 0px 20px;
    font-size: 14px;
    line-height: 24px;
  }
}




/* TOP SERVICES */

section#top-services {
  background-color: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
}

table#top-services-small {
  display: none;
}

div#top-services table td {
  width: 20%;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 15px;
  line-height: 25px;
}

tr.top-services-img td {
  padding: 0px 0px 10px 0px;
}

tr.top-services-text td {
  vertical-align: top;
}

tr.top-services-btn button {
  background-color: #f4f5f7;
  border: none;
  color: #333;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

tr.top-services-btn button:hover {
  background-color: #e5e5e5;
}

td.top-services-title h3 {
  font-family: "Open Sans";
}


@media screen and (max-width: 1020px) {
  div#top-services table td {
    font-size: 14px;
    line-height: 24px;
  }
}
@media screen and (min-width: 800px) and (max-width: 923px) {
  td.hide-if-small {
    display: none;
  }
}
@media screen and (max-width: 799px) {
  td.hide-if-small {
    display: table-cell;
  }
  table#top-services-large {
    display: none;
  }
  table#top-services-small {
    display: table;
    width: 60%;
    margin-left: 20%;
  }
  td.top-services-btn {
    padding-bottom: 60px;
  }
  td.top-services-img {
    padding-bottom: 0px !important;
  }

}





/* APPOINTMENT */

section#appointment {
  background-color: #fff;
}

div#appointment {
  position: relative;
  display: block;
}

div#appointment img {
  width: 100%;
  height: auto;
}




/* SERVICES */

section#services {
  background-color: #fff;
  padding-top: 120px;
}

div.section-title-centered, div.section-title-left {
  width: 100%;
  display: block;
  position: relative;
  margin-bottom: 80px;
}

div.section-title-left {
  text-align: left;
}

div.section-title-centered h2, div.section-title-left h2 {
  font-family: "Open Sans";
}

div.section-title-centered h2:after {
  content: "";
  position: absolute;
  display: inline-block;
  z-index: 10;
  left: calc(50% - 50px);
  bottom: -25px;
  background: #9ec146;
  height: 3px;
  width: 100px;
}

div.section-title-left h2:after {
  content: "";
  position: absolute;
  display: inline-block;
  z-index: 10;
  left: 0px;
  bottom: -25px;
  background: #9ec146;
  height: 3px;
  width: 100px;
}

div#services-main {
  position: relative;
}

div#services-main ul {
  display: inline-block;
}

div#services-main li {
  position: relative;
  display: inline-block;
  width: 320px;
  height: 460px;
  padding: 0 10px 0 10px;
  z-index: 8;
  text-align: center;
}

div#services-main li.clicked:after {
  height: 250px;
}
div#services-main li.clicked:hover:after {
  background: #000;
}

div#services-main li:after {
  content: "";
  position: absolute;
  display: inline-block;
  z-index: 10;
  left: 10px;
  bottom: 0;
  background: #000;
  height: 80px;
  width: 300px;
  opacity: 0.4;
}

div.services-text {
  position: absolute;
  display: table-cell;
  vertical-align: middle;
  bottom: 0px;
  width: calc(100% - 20px);
  height: 80px;
  z-index: 11;
}

div#services-main li p, div#services-main li a {
  line-height: 24px;
  font-size: 20px;
  color: #fff;
  width: 100%;
  display: block;
  padding-top: 27px;
}
a.full_height {
  height: 100%;
}

div.services-text-two-lines a {
  padding-top: 15px !important;
}

div#services-main li p {
  word-wrap: break-word;
  white-space: normal;
  text-align: left;
  font-size: 16px;
  line-height: 30px;
  padding: 0 20px 0 20px;
  display: none;
}

div#services-main li:hover:after {
  background: #fff;
}

.slide-frame {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  width: 1280px;
}

.slides {
  padding-left: 0px !important;
}

.slide-prev, .slide-next {
  position: absolute;
  top: calc(50% - 52px);
  display: block;
  cursor: pointer;
}

.slide-next {
  right: -120px;
}

.slide-prev {
  left: -120px;
}


@media screen and (max-width: 1540px) {
  div#services-main li {
    width: 210px;
    height: 290px;
  }
  div#services-main li:after {
    height: 50px;
    width: 190px;
  }
  div.services-text {
    height: 50px;
  }
  div#services-main li p, div#services-main li a {
    left: 0;
    font-size: 16px;
    padding-top: 12px;
  }
  div#services-main li img {
    width: 100%;
    height: auto;
  }
  div#services-main .slide-frame {
    margin: auto;
  }
  div#services-main .slide-next {
    right: 2%;
  }
  div#services-main .slide-prev {
    left: 2%;
  }
  div#services-main li p {
    font-size: 14px;
    line-height: 24px;
    padding: 0 10px 0 10px;
  }
  div.services-text-two-lines a {
    padding-top: 3px !important;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1540px) {
  div#services-main .slide-frame {
    width: 840px;
  }
}

@media screen and (min-width: 800px) and (max-width: 999px) {
  div#services-main .slide-frame {
    width: 630px;
  }
}

@media screen and (min-width: 540px) and (max-width: 799px) {
  div#services-main .slide-frame {
    width: 420px;
  }
}

@media screen and (max-width: 539px) {
  div#services-main .slide-frame {
    width: 210px;
  }
}


div#services-bullets {
  display: flex;
  width: 150px;
  margin: auto;
  justify-content: space-between;
}
div.services-bullets {
  width: 8px;
  height: 8px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #ccc;
}



/* WHY MEGA KTEO */

section#whyus {
  padding-top: 140px;
  background-color: #fff;
}

div#whyus {
  background-color: #f4f5f7;
  width: 100%;
  min-height: 575px;
}

div#whyus-img {
  width: 40%;
  height: 575px;
  background-image: url("../images/whyus.jpg");
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: top;
  text-align: center;
  background-size: cover;
  float: left;
}

div#whyus-img img {
  width: 100%;
  height: 100%;
}

div#whyus-text {
  padding: 50px 15% 35px 80px;
  float: left;
  width: 60%;
}

div#whyus-title {
  text-align: left;
  position: relative;
  margin-bottom: 60px;
}

div#whyus-text {
  text-align: left;
}

div#whyus-text table {
  line-height: 24px;
}

td.whyus-first-letter {
  padding-right: 20px;
  text-align: center;
  font-weight: 900;
  color: #9ec146;
  text-shadow: 0px 0px 1px #9ec146;
}

@media screen and (min-width: 812px) and (max-width: 1160px) {
  div#whyus-text {
    padding: 50px 5% 35px 60px;
    width: 60%;
    float: left;
    font-size: 14px;
  }
}

@media screen and (max-width: 811px) {
  div#whyus-img {
    width: 100%;
    height: 300px;
  }
  div#whyus-text {
    width: 100%;
    font-size: 14px;
  }
  div#whyus {
    float: left;
    margin-bottom: 100px;
  }
}





/* THEY SAY FOR US */

section#feedback {
  padding-top: 100px;
  padding-bottom: 80px;
  background-color: #fff;
}

div#feedback-main {
  position: relative;
}

div#feedback-main li {
  position: relative;
  display: inline-block;
  width: 52%;
  height: 200px;
  padding: 0 60px 0 0;
  z-index: 8;
  text-align: center;
}

span.feedback-text-title {
  text-align: left;
  width: 100%;
  display: block;
  padding: 15px 0 0 20px;
}

div.feedback-text-back {
  background-color: #f7f7f7;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  float: left;
}

div.feedback-text img {
  display: block;
  float: left;
  padding: 20px;
}

div.feedback-text p {
  font-style: italic;
  display: block;
  float: left;
  text-align: left;
  width: 70%;
  white-space: normal;
}

div#feedback-main .slide-frame {
  margin: auto;
}

div#feedback-main .slide-prev {
  top: calc(50% - 15px);
  left: -80px;
}

div#feedback-main .slide-next {
  top: calc(50% - 15px);
  right: -40px;
}

div#feedback-main .slide-prev img, div#feedback-main .slide-next img {
  width: 20px;
  height: 30px;
}

@media screen and (min-width: 1000px) and (max-width: 1500px) {
  div#feedback-main li {
    width: 52%;
    height: 240px;
    padding: 0 60px 0 0;
  }
  div.feedback-text p {
    font-size: 14px;
  }
  div#feedback-main .slide-frame {
    width: 840px;
  }
  div#feedback-main .slide-next {
    right: 8%;
  }
  div#feedback-main .slide-prev {
    left: 2%;
  }
}

@media screen and (max-width: 999px) {
  div#feedback-main .slide-frame {
    width: 420px;
  }
  div.feedback-text p {
    font-size: 14px;
  }
  div#feedback-main li {
    width: 100%;
    height: 240px;
    padding: 0 0 0 0;
  }
  div#feedback-main .slide-next {
    right: 20%;
  }
  div#feedback-main .slide-prev {
    left: 20%;
  }
}

@media screen and (max-width: 519px) {
  div#feedback-main .slide-frame {
    width: 300px;
  }
}

@media screen and (max-width: 799px) {
  div#feedback-main .slide-next {
    right: 5%;
  }
  div#feedback-main .slide-prev {
    left: 5%;
  }
  div#feedback-main li {
    height: 320px;
  }
}




/* MAP */

section#map {
  margin-top: 240px;
  background-color: #fff;
}

div#map {
  width: 100%;
  min-height: 450px;
}

div#map-iframe {
  width:70%;
  height: 100%;
  position: relative;
  overflow: hidden;
  float: left;
  display: block;
  padding-bottom:0%;
}

div#map-iframe iframe {
  width: 100% !important;
}

div#map-img {
  width: 30%;
  height: 450px;
  background-image: url("../images/map-side.jpg");
  background-repeat: no-repeat;
  background-position-x: left;
  background-position-y: top;
  text-align: center;
  background-size: cover;
  float: right;
}

div#map-img img {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1180px) {
  div#map-iframe {
    width: 100%;
  }
  div#map-img {
    display: none;
  }
}



/* VEHICLES */

section#vehicles {
  background-color: #fff;
}

div#vehicles {
  clear: both;
  height: 240px;
  width: 100%;
  position: relative;
}

div.vehicles {
  float: left;
  position: relative;
  height: 100%;
  padding: 0 14px 0 14px;
}

div#vehicles-truck { width: 29%; }
div#vehicles-bus   { width: 22%; }
div#vehicles-van   { width: 12.5%; }
div#vehicles-taxi  { width: 13.5%; }
div#vehicles-car   { width: 13.5%; }
div#vehicles-moto  { width: 9%; }

div.vehicles img {
  position: absolute;
  padding-bottom: 2px;
  bottom: 0;
  left: 0;
}

@media screen and (max-width: 1180px) {
  div.vehicles img {
    width: 90%;
    height: auto;
  }
}
@media screen and (max-width: 800px) {
  div#vehicles {
    height: 140px;
  }
}



/* FOOTER LINKS */

section#footer-links {
  background-color: #2a2a2a;
  color: #fff;
}

table#footer-table-large {
  text-align: left;
  padding-bottom: 40px;
  width: 100%;
}

table#footer-table-small {
  display: none;
  text-align: left;
  padding-bottom: 40px;
  width: 100%;
}

td.footer-link-titles {
  padding: 90px 0 15px 0;
}

td.footer-link-col {
  width: 25%;
}

ul.footer-fast-links {
  padding: 0;
}

ul.footer-fast-links li {
  list-style: none;
  line-height: 25px;
}

ul.footer-fast-links li a {
  font-size: 15px;
  color: #a6cf43;
  font-family: "Open Sans";
  padding-left: 5px;
}

ul.footer-fast-links li a:hover {
  color: #fff;
}

ul.footer-fast-links li:before {
  content: ">";
  font-size: 13px;
  padding-right: 5px;
  color: #fff;
}

table#footer-contact {
  margin-top: -25px;
  width: 100%;
  height: 100%;
}

td.footer-contact-icons {
  width: 15%;
  padding-bottom: 20px;
}

td.footer-contact-icons img {
  vertical-align: middle;
}

td.footer-contact-text {
  font-size: 15px;
  line-height: 25px;
  width: 80%;
  vertical-align: top;
  width: 40px;
}

table#footer-schedule {
  font-size: 15px;
  margin-top: -10px;
  width: 100%;
  height: 100%;
  line-height: 25px;
}

td.footer-schedule-day {
  width: 32%;
}

td.footer-random a {
  display: block;
  font-size: 12px;
  line-height: 20px;
  font-family: "Open Sans";
}

td.footer-random img {
  display: block;
  padding: 0 0 20px 0;
}

td.footer-random a:hover {
  color: #a6cf43;
}


section#footer-lower {
  width: 100%;
  background-color: #151515;
  position: relative;
}

div#footer-lower {
  width: 100%;
  min-height: 55px;
  background-color: #151515;
  position: relative;
}

section#footer-lower:before {
  content: "";
  position: absolute;
  top:-1px;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: #454545;
}

div#footer-copyright {
  float: left;
  font-size: 13px;
  text-align: left;
  padding: 12px 0 12px 10px;
  min-width: 320px;
  width: 50%;
  display: inline-block;
  position: relative;
}

div#footer-icons {
  min-width: 50px;
  text-align: left;
  padding: 12px 0 12px 12px;
  display: inline-block;
}

div#footer-icons a {
  padding-right: 20px;
}

div#footer-wifi {
  float: left;
  min-width: 50px;
  text-align: left;
  padding-top: 8px;
  display: inline-block;
}

div#jump-to-top {
  position: absolute;
  right:-200px;
  top: -30px;
  z-index: 20;
/*  position: fixed;
  right:200px;
  bottom: 30px;*/
  /*opacity: 0.8;*/
}


@media screen and (max-width: 980px) {
  ul.footer-fast-links li a {
    font-size: 13px;
  }
  td.footer-contact-text {
    font-size: 13px;
  }
  table#footer-schedule {
    font-size: 13px;
  }
}
@media screen and (max-width: 753px) {
  table#footer-table-large {
    display: none;
  }
  table#footer-table-small {
    display: table;
  }
}
@media screen and (max-width: 410px) {
  div#footer-wifi {
    padding-left: 10px;
  }
}

@media screen and (min-width: 410px) and (max-width: 753px) {
  table#footer-table-small {
    padding-left: 10%;
    padding-right: 10%;
  }
}
@media screen (max-width: 409px) {
  table#footer-table-small {
    padding-left: 0%;
    padding-right: 0%;
  }
  table#footer-table-small td {
    width: 50%;
  }
}

@media screen and (max-width: 1700px) {
  div#jump-to-top {
    right:20px;
  }
}



/* POP UP WINDOWS */

div.popup-header {
  padding: 20px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background-color: #f2f2f2;
}
div.popup-header-tabs {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 10px 10px 0 10px;
  display: flex;
}
div.popup-header-tab {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: #e8e8e8;
  padding: 20px;
  margin-right: 1px;
  width: calc(50% - 1px);
  text-align: center;
  cursor: pointer;
}
div.popup-header-tab:hover, div.active-tab {
  background-color: #d2d2d2;
}
div#popup-potepernaw-main {
  margin: 0 10px 10px 10px;
  border: 10px solid #d2d2d2;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

div#calc-result {
  padding-top: 30px;
  display: none;
}
div#calc-result div.header-btn {
  position: relative !important;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  display: inline-block;
  margin-right: 20px;
}


div.popup-title {
  position: relative;
  width: 50%;
  display: inline-block;
}

div.popup-print {
  position: relative;
  width: 45%;
  display: inline-block;
  text-align: right;
}

div.popup-main {
  padding: 20px;
}

div.popup-main img {
  width: 100%;
  height: auto;
}

div.modal {
  max-width: 50%;
  z-index: 30;
}

div.modal > h2, h3, h4, h5, h6, a {
  font-family: "Open Sans";
}

div#popup-video {
  /*max-width: 960px;*/
  background-color: #000;
}

div#popup-video video {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 800px) and (max-width: 1200px) {
  div.modal {
    max-width: 70%;  
  }
}

@media screen and (min-width: 0px) and (max-width: 799px) {
  div.modal {
    max-width: 90%;
  }
  div.popup-main {
    font-size: 14px;
    line-height: 24px;
  }
}
@media screen and (min-width: 0px) and (max-width: 540px) {
  div.popup-header-tab {
    padding-left: 5px;
  }
  div.popup-header-tab div.popup-title {
    width: 100%;
  }
  div#calc-result div.header-btn {
    margin-bottom: 20px;
  }
}


div#popup-potepernaw-main table {
  border-collapse: collapse;
}

div#popup-potepernaw-main table thead {
  background-color: #9ec146;
}

div#popup-potepernaw-main table th {
  padding: 10px;
  width: 25%;
}

div#popup-potepernaw-main table td {
  padding: 10px;
  font-size: 14px;
  width: 25%;
}

div#popup-potepernaw-main table tr:nth-child(even) {
  background-color: #f2f2f2;
}


div#popup-updates div.popup-header {
  padding: 10px 20px 10px 20px;
}
div#popup-updates-text {
  padding: 20px;
}
span#popup-updates-text {
  float: left;
}
a.popup-close-button {
  background-color: #9ec146;
  border: none;
  border-radius: 6px;
  color: #333;
  padding: 3px 40px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  float: left;
  margin-top: 25px;
  margin-bottom: 20px;
  margin-left: calc(50% - 45px);
}
a.popup-close-button:hover {
  background-color: #ccc;
}



span#popup-appointment-text {
  display: block;
  width: 100%;
  padding: 20px;
}

div#popup-appointment div#contact-form {
  padding-left: 20px;
  padding-top: 10px;
  padding-bottom: 80px;
}

div.popup-service-main {
  display: flex;
}
div.popup-service-left-pane {
  text-align: left;
  padding: 0 20px 40px 20px;
  background-color: #ccc;
  width: 60%;
}
div.popup-service-right-pane {
  padding: 0 20px 40px 20px;
  background-color: #888;
  width: 40%;
}

div.popup-service-modal {
  max-width: 70%;  
}

/* Special treating for services pop-up, which has 2 panes */
@media screen and (min-width: 800px) and (max-width: 1200px) {
  div.popup-service-modal {
    max-width: 85%;  
  }
  div.popup-service-modal {
    font-size: 14px;
    line-height: 24px;
  }
  div.popup-service-left-pane {
    width: 70%;
  }
  div.popup-service-right-pane {
    width: 30%;
  }
}

@media screen and (min-width: 501px) and (max-width: 799px) {
  div.popup-service-modal {
    max-width: 95%;
  }
  div.popup-service-modal {
    font-size: 14px;
    line-height: 24px;
  }
  div.popup-service-main {
    flex-direction: column;
  }
  div.popup-service-left-pane {
    width: 100%;
  }
  div.popup-service-right-pane {
    width: 100%;
  }
}


@media screen and (max-width: 500px) {
  div.popup-service-modal {
    max-width: 98%;
  }
  div#popup-potepernaw-main table, div#popup-potepernaw-main thead, div#popup-potepernaw-main tbody, div#popup-potepernaw-main th, div#popup-potepernaw-main td, div#popup-potepernaw-main tr { 
    display: block; 
  }
  
  /* Hide table headers (but not display: none;, for accessibility) */
  div#popup-potepernaw-main thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  div#popup-potepernaw-main tr { border: 1px solid #ccc; }
  
  div#popup-potepernaw-main td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    /*padding: 0 !important;*/
    width: 100% !important;
    padding: 2px 3px 2px 50% !important; 
  }
  
  div#popup-potepernaw-main td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%; 
    padding-right: 10px; 
    white-space: nowrap;
    font-weight: 700;
  }
  
  /* Label the data */
  div#popup-potepernaw-main td:nth-of-type(1):before { content: "ΤΥΠΟΣ"; }
  div#popup-potepernaw-main td:nth-of-type(2):before { content: "ΑΡΧΙΚΟΣ"; }
  div#popup-potepernaw-main td:nth-of-type(3):before { content: "ΠΕΡΙΟΔΙΚΟΣ"; }
  div#popup-potepernaw-main td:nth-of-type(4):before { content: "Κ.Ε.Κ."; }
}






/* ABOUT PAGE */

section.non-main-page-header div#scroll-icon {
  display: none;
}

section.non-main-page-header div#header-image, section.non-main-page-header div#header-image-clone {
  height: 425px;
  width: 100%;
  overflow: hidden;
}
section.non-main-page-header div#header-image img, section.non-main-page-header div#header-image-clone img {
  width: 100%;
}
@media screen and (min-width: 0px) and (max-width: 920px) {
  section.non-main-page-header div#header-image, section.non-main-page-header div#header-image-clone {
    height: 380px;
  }
  section.non-main-page-header div#header-image img, section.non-main-page-header div#header-image-clone img {
    height: 100%;
    width: auto;
  }
}

section#about {
  background-color: #fff;
}

div#about {
  padding-top: 100px;
}

div.about-text {
  text-align: left;
  padding: 0 5% 0 5%;
  margin-bottom: 80px;
}


div.photo-gallery {
  margin-top: 50px;
  padding-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  /*justify-content: space-between;*/
}

div.photo-gallery div {
  position: relative;
  width: 10vw;
  height: 10vw;
  overflow: hidden;
  /*border: 8px solid #fff;*/
  margin-bottom: 20px;
  margin-right: 20px;
}

div.photo-gallery img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 18vw;
  max-height: 18vw;
  height: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
div#about-gallery-title {
  margin-top: 80px;
}

div#about-gallery {
  padding-bottom: 100px;
}

div.about-team {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
div.about-team-member {
  margin-bottom: 70px;
  width: 20%;
}
div.about-team-member img {
  /*border: 8px solid #f2f2f2;*/
  width: 100%;
  height: auto;
}
div.about-team-member span {
  display: block;
  width: 100%;
}
span.about-team-member-title {
  font-size: 15px;
  line-height: 22px;
  padding-bottom: 5px;
}
span.about-team-member-details {
  line-height: 22px;
  font-size: 15px;
}


@media screen and (max-width: 1280px) {
  div.about-team {
    padding-left: 20px;
    padding-right: 20px;
  }
  div.photo-gallery {
    padding-left: 20px;
    padding-right: 20px;
  }
  div.photo-gallery div {
    width: 13vw;
    height: 13vw;
  }
  div.photo-gallery img {
    max-width: 22vw;
    max-height: 22vw;
  }
}
@media screen and (max-width: 850px) {
  div.about-team-member {
    width: 23%;
  }
}
@media screen and (max-width: 750px) {
  div.about-team-member {
    width: 40%;
  }
  div.about-team {
    justify-content: space-evenly;
  }
  div.photo-gallery div {
    width: 18vw;
    height: 18vw;
  }
  div.photo-gallery img {
    max-width: 32vw;
    max-height: 32vw;
  }
}
@media screen and (max-width: 450px) {
  div.about-team-member {
    width: 60%;
  }
  div.photo-gallery div {
    width: 23vw;
    height: 23vw;
  }
  div.photo-gallery img {
    max-width: 40vw;
    max-height: 40vw;
  }
}



/* CONTACT PAGE */

section#contact-main { 
  background-color: #fff;
}

div#contact-main {
  padding-top: 100px;
  display: flex;
}

div#contact-details {
  flex: 0 0 50%;
}

div#contact-details-text {
  text-align: left;
}

div#contact-details-text h4 {
  font-family: "Open Sans";
}

div#contact-form {
  padding-bottom: 200px;
  flex: 1;
  padding-top: 50px;
}

div#contact-details-title {
  text-align: left;
  position: relative;
  margin-bottom: 60px;
}

div#contact-details-text p {
  color: #888;
}

div#contact-details-text h4 {
  padding-top: 20px;
}

div#contact-social {
  margin-top: 20px;
}

div#contact-social a {
  margin-right: 10px;
}

select.form-select {
  padding-left: 24px;
  width: 80%;
  position: relative;
  font-family: "Open Sans";
  font-size: 15px;
  border: none;
  border-bottom: 1px solid #a6a6a6;
  color: #333;
  outline: none;
  height: 70px;
  margin-bottom: 20px;
  -moz-appearance:none; /* Firefox */
  -webkit-appearance:none; /* Safari and Chrome */
  appearance:none;
}
div.contact-form-select:before {
  position: relative;
}

div.contact-form-select:before {
  content: url('../images/icons/dropdown.png');
  position: absolute;
  padding-top: 20px;
  width: 10px;
  z-index: 50;
}


select.form-select option {
  width: 100%;
  border: none;
  position: relative;
  font-family: "Open Sans" !important;
  font-size: 15px;
  border: none;
  color: #333;
  outline: none;
}
select.form-select option:first {
  color: #000;
}


div.contact-form-input {
  width: 80%;
  min-height: 80px;
  border-bottom: 1px solid #a6a6a6;
  position: relative;
}

input.contact-form-input, textarea.contact-form-input {
  font-family: "Open Sans";
  font-size: 15px;
  border: none;
  width: 100%;
  padding: 30px 10px 10px 10px;
  color: #333;
  outline: none;
  height: 70px;
  float: left;
}
input.contact-form-input::placeholder, textarea.contact-form-input::placeholder {
  color: #a6a6a6;
}

div#contact-form-message {
  min-height: 140px;
}

textarea.contact-form-input {
  height: 130px;
  resize: none;
}

span.contact-form-input-error-msg {
  /*float: right;*/
  font-size: 10px;
  color: #ff0000;
  position: absolute;
  right: 0;
  bottom: 0;
  display: none;
}

div#contact-form-btn {
  padding-top: 30px;
}

button.contact-form-btn {
  background-color: #9ec146;
  color: #333;
  height: 60px;
  width: 180px;
  font-size: 16px;
  border-radius: 4px;
  float: left;
  letter-spacing: 1px;
  border: none;
  text-decoration: none;
  cursor: pointer;
}

div#potepernaw-form {
  position: relative;
}
div#potepernaw-form button.contact-form-btn {
  float: none;
}


button.contact-form-btn:hover {
  background-color: #ddd;
}

a.contact-form-gdpr {
  float: left;
  margin-top: 30px;
  margin-bottom: 20px; 
  display: block;
  width: 100%;
  font-size: 14px;
  line-height: 24px;
}
a.contact-form-gdpr:hover {
  color: #999;
}




@media screen and (min-width: 0px) and (max-width: 1300px) {
  div#contact-main {
    padding-left: 20px;
  }
}
@media screen and (max-width: 800px) {
  div#contact-main {
    display: block;
  }
  div#contact-details {
    display: block;
    flex: none;
  }
  div#contact-form {
    display: block;
    padding-top: 120px;
    flex: none;
  }
}

@media screen and (min-width: 0px) and (max-width: 540px) {
  select.form-select {
    width: 100%;
  }
}



/* CONTACT PAGE MAP */

section#contact-map {
  /*margin-top: 240px;*/
  background-color: #fff;
  padding-top: 30px;
}

div#contact-map {
  width: 100%;
  position: relative;
  min-height: 450px;
  overflow: hidden;
  padding-bottom: 80px;
}

div#contact-map-iframe {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  float: left;
  display: block;
  padding-bottom:0%;
}

div#contact-map-iframe iframe {
  width: 100% !important;
}

div#contact-map-img {
  width: 270px;
  height: 450px;
  background-image: url("../images/map-custom.jpg");
  background-repeat: no-repeat;
  background-position-x: left;
  background-position-y: top;
  text-align: center;
  background-size: cover;
  position: absolute;
  right: calc((100% - 1280px) / 2)
}

div#contact-map-img img {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 641px) and (max-width: 1400px) {
  div#contact-map-img {
    position: relative;
    right: 0;
    float: right;
  }
  div#contact-map-iframe {
    width: calc(100% - 270px);
  }
}

@media screen and (max-width: 640px) {
  div#contact-map-iframe {
    width: 100%;
  }
  div#contact-map-img {
    width: 270px;
    margin-left: 20px;
    margin-top: 40px;
    clear: both;
    position: relative !important;
    left: 0%;
  }
}



/* KTEO CHECK PAGE */

section#kteocheck-select {
  background-color: #fff;
}

div#kteocheck-select {
  padding: 80px 0 0px 0;
  min-height: 420px;
}

div#kteocheck-categories {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: nowrap;
  /*align-items: stretch;*/
  align-items: flex-start;
  width: 100%;
}

div.kteocheck-category, div.kteocheck-category-top {
  /*min-height: 120px;*/
  /*border-radius: 8px;*/
  border: 5px solid #f2f2f2;
  cursor: pointer;
}
div.kteocheck-category {
  width: 23%;
  /*box-shadow: 2px 2px 2px #999;*/
  position: relative;  
  cursor: default;
}
div.kteocheck-category-top {
  background-color: #fff;
  font-family: "Open Sans";
  width: calc(100% + 10px);
  position: absolute;
  top: -5px;
  left: -5px;
  display: table;
  height: 180px;
}
div.kteocheck-category-top img {
  padding-top: 10px;
}
div.kteocheck-category-top span {
  font-family: "Open Sans";
  letter-spacing: 0px;
  display: block;
  width: 100%;
  line-height: 24px;
  padding-top: 20px;
  padding-bottom: 10px;
  /*font-weight: 700;*/
  /*vertical-align: middle;*/
  /*display: table-cell;*/
}
div.kteocheck-category-top:hover {
  background-color: #f2f2f2;
}

div.kteocheck-category-options {
  display: none;
  /*display: block;*/
  padding-top: 180px;
}

ul.kteocheck-category-options {
  text-align: left;
  /*list-style-type: none;*/
  /*list-style-type: circle;*/
  list-style-type: square;
}

li.kteocheck-category-option a {
  font-family: "Open Sans";
  font-size: 16px;
}

div#kteocheck-info {
  background-color: #f4f5f7;
  display: inline-flex;
  justify-content: space-between;
  /*align-items: stretch;*/
  width: 100%;
}

div#kteocheck-info-left-pane {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  width: 60%;
  padding-right: 20px;
  padding-left: calc((100% - 1280px)/2)
}

div#kteocheck-info-right-pane {
  position: relative;
  padding-top: 0px;
  padding-bottom: 0px;
  width: 40%;
  padding-right: calc((100% - 1280px) / 2)
}

div.kteocheck-dikaiologitika, div.kteocheck-diadikasia {
  display: none;
  position: relative;
  text-align: left;
}

div.kteocheck-dikaiologitika-title, div.kteocheck-diadikasia-title {
  position: relative;
}

div.kteocheck-dikaiologitika-text, div.kteocheck-diadikasia-text {
  padding-top: 10px;
}

div#kteocheck-info h4, h6 {
  font-family: "Open Sans";
}

div#kteocheck-info h4 {
  margin-top: 40px;
}


div.kteocheck-diadikasia {
  display: none;
}

div.kteocheck-info-img {
  padding-top: 150px;
  width: 100%;
  display: none;
}

div.kteocheck-info-img img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  box-shadow: 0px 0px 5px #333;
}


@media screen and (min-width: 0px) and (max-width: 1300px) {
  div#kteocheck-select, div#kteocheck-info {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 0px) and (max-width: 800px) {
  div#kteocheck-info {
    flex-direction: column; 
  }
  div#kteocheck-info-left-pane {
    width: 100%;
  }
  div#kteocheck-info-right-pane {
    width: 100%;
  }
  div.kteocheck-info-img {
    width: 70%;
    padding-top: 50px;
  }
}
@media screen and (max-width: 500px) {
  div.kteocheck-info-img {
    width: 100%;
  }
}
@media screen and (min-width: 651px) and (max-width: 1130px) {
  div#kteocheck-select, li.kteocheck-category-option a {
    font-size: 14px;
  }
  ul.kteocheck-category-options {
    padding-left: 10px;
  }
  div#kteocheck-select {
    padding-top: 60px;
  }
  div.kteocheck-category, div.kteocheck-category-top {
    min-height: 180px;
  }
  div.kteocheck-category-options {
    padding-top: 180px;
  }
  div.kteocheck-category {
    width: 23%;
  }
}


@media screen and (min-width: 651px) and (max-width: 850px) {
  div#kteocheck-categories {
    /*display: flex;*/
    /*flex-direction: row;*/
    flex-wrap: wrap;
    /*align-items: flex-start;*/
  }
  div.kteocheck-category {
    width: 48%;
    margin-bottom: 20px;
  }

}

@media screen and (min-width: 0px) and (max-width: 650px) {
  div#kteocheck-categories {
    flex-direction: column;
  }
  div.kteocheck-category {
    width: 100%;
    min-height: 200px;
    /*padding-bottom: 200px;*/
    margin-bottom: 20px;
  }
}



/* SOCIAL PAGES */

section#offers, section#social {
  background-color: #fff;
}
div#offers {
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
}

div.offers-left-pane {
  width: 60%;
}
div.offers-right-pane {
  width: 30%;
}
div.offers-text {
  text-align: left;
}
div.offers-text h2, h3, h4, h5, h6 {
  margin-top: 40px;
  font-family: "Open Sans";
}
div.offers-img img {
  width: 100%;
  height: auto;
}

div#social {
  padding: 80px 0;
}

div#offers-title {
  margin-top: 100px;
}


div.social-select-main {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

div.social-select {
  border: 5px solid #f2f2f2;
  padding: 25px 10px;
  width: 28%;
  cursor: pointer;
}
div.social-select:hover {
  background-color: #f2f2f2;
}

div.social-select span {
  display: block;
  padding-top: 20px;
  width: 100%;
}

div.social-select a {
  display: block;
  width: 100%;
  height: 100%;
}

div#social-select-subpage {
  margin-bottom: 50px;
}
div#social-select-subpage div.social-select {
}


div.social-main {
  display: flex;
  /*padding-left: 20px;*/
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
}
div.social-main div.offers-left-pane {
  padding-right: 40px;
}
div.social-main div.offers-right-pane {
  padding-left: 20px;
}

@media screen and (max-width: 1300px) {
  div.social-main {
    padding-left: 20px;
  }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  div.social-select {
    width: 25%;
  }
}
@media screen and (max-width: 600px) {
  div.social-select-main {
    flex-direction: column;
    align-items: center;

  }
  div.social-select {
    width: 80%;
    margin-bottom: 30px;
    padding: 10px 10px;
  }
  div.social-select span {
    padding-top: 0px;
  }
  div#social-select-subpage {
    margin-bottom: 0px;
  }

}


div#popup-timokatalogos-main {
  text-align: center;
}
div#popup-timokatalogos-main img {
  width: auto;
  max-width: 100%;
}
