283376283376/*
 * Theme Name: Pixel Perfect Portfolio
 * Author: Pixel Perfect
 * Author URI/Mail: pixelperfectmk@gmail.com
 * Version: 1.0
 */


/* CUSTOM RESETS
================================================== */
a, button {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  outline: 0 none;
}

a:hover, a:focus {
    outline: 0 none;
    text-decoration: none;
    font-size: 16px;
}

/* LAYOUT
================================================== */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    color: #000000;
    background-color: #000000;
}

/* 
 * Background colors 
 */
.blue-bg {
  background-color: #283376;
}

/* 
 * Button
 */
.btn {
  font-family: "Varela", sans-serif;
  background-color: #283376;
  padding: 0 15px;
  color: #ffffff;
  height: 44px;
  line-height: 42px;
  border-radius: 0;
  border: 1px solid #196fc2;
  text-transform: uppercase;
}

.btn-inverted {
  color: #ffffff;
  background-color: transparent;
  border-color: #ffffff;
}

.btn:hover,
.btn:focus {
  color: #ffffff;
  background-color: transparent;
  border-color: #ffffff;
}

.btn-inverted:hover,
.btn-inverted:focus {
  color: #ffffff;
  background-color: #283376;
  border-color: #283376;
}

/* 
 * Rectangle 
 */
.rectangle,
.big-rectangle {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 1px solid #dddddd;  
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-box-shadow: 4px 4px 0px 0px #dddddd;
  -o-box-shadow: 4px 4px 0px 0px #dddddd;
  -moz-box-shadow: 4px 4px 0px 0px #dddddd;
  box-shadow: 4px 4px 0px 0px #dddddd;
}

.rectangle i,
.big-rectangle img,
.rectangle span,
.rectangle img {
    position: absolute;
    top: -7px;
    left: 2px;
    font-size: 22px;
    transform: translate(-50%, -50%) rotate(-45deg);
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -moz-transform: translate(-50%, -50%) rotate(-45deg);
    -o-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    bottom: -4px;
	
}

.big-rectangle {
  position: absolute;
  right: auto;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  width: 230px;
  height: 230px;
  background-color: #283376;
  border: 0;
  transform: translate(-50%, -50%) rotate(45deg);
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -moz-transform: translate(-50%, -50%) rotate(45deg);
  -o-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  -webkit-box-shadow: 10px 10px 0px 0px #dddddd;
  -o-box-shadow: 10px 10px 0px 0px #dddddd;
  -moz-box-shadow: 10px 10px 0px 0px #dddddd;
  box-shadow: 10px 10px 0px 0px #dddddd;
}

.medium-rectangle {
  width: 75px;
  height: 75px;
}

/*
 * Slick Slider
 */
.slick-slider {
  position: relative;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-slider.slick-track, .slick-slider.slick-list {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.slick-list {
  position: relative;
  overflow: hidden;
}

.slick-list:focus, .slick-list:hover {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-track:before, .slick-track:after {
  display: table;
  content: '';
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.carousel-control.left i,
.review-carousel .slick.rectangle.slick-prev i {
  padding-right: 3px;
}

.carousel-control.right i,
.review-carousel .slick.rectangle.slick-next i {
  padding-left: 3px;
}

/*
 * Social Network
 */
.social-icons.small {
  margin: 50px auto 0;
}

.social-icons.small .rectangle {
	top: -30px;
  margin: 0 4px;
  width: 30px;
  height: 30px;
  color: #fff;
}

.social-icons.small .rectangle i {
  font-size: 14px;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.social-icons.small .rectangle:hover {
  background-color: #fff;
}

.social-icons.small .rectangle:hover i {
  color: #196fc0;
}

.social-icons .rectangle {
  box-shadow: none;
  display: inline-block;
}

/* Image responsive */
.img-res {
  display: block;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Image responsive */
.img-res {
  display: block;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* HEADER
================================================== */
.site-header {
  height: 60px;
}

.site-logo {
  display: inline-block;
  position: relative;
  padding: 0 30px 0 15px;
  height: 60px;
  background-color: #004b91;
  z-index: 2;
}

.site-logo:before {
  content: '';
  position: absolute;
  width: 2000px;
  height: 100%;
  top: 0;
  right: 0;
  background-color: #004b91;
}

.site-logo a {
    position: relative;
    font-family: "Varela", sans-serif;
    display: inline-block;
    margin-top: 17px;
    font-size: 26px;
    line-height: 26px;
    color: #4A9AE7;
    text-transform: uppercase;
}

/* Navigation */
.site-navigation {
  background-color: #283376;
}

.site-navigation.affix {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1005;
}

.site-navigation .navbar-nav {
  padding-top: 23px;
}

.site-navigation .navbar-nav > li > a {
  padding: 0px 3px 21px;
  font-size: 14px;
  line-height: 14px;
  color: #ffffff;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-color 0.25s ease-in-out;
  -o-transition: border-color 0.25s ease-in-out;
  -moz-transition: border-color 0.25s ease-in-out;
  transition: border-color 0.25s ease-in-out;
}

.site-navigation .navbar-nav.navbar-right {
  margin-right: 0;
}

.site-navigation .navbar-nav > li + li > a {
  margin-left: 25px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a,
.nav > li > a:hover,
.nav > li.active > a {
  background-color: transparent;
  border-color: #ffffff;
}

.nav > li > a:focus {
  background-color: transparent;
}

@media only screen and (max-width: 1199px) {
  /* HEADER */
  .site-navigation .navbar-nav > li + li > a {
    margin-left: 15px;
  }
  .service p {
    bottom: 10px;
  }
}

@media only screen and (max-width: 991px) {
  /* HEADER */
  .site-navigation .navbar-nav > li + li > a {
    margin-left: 8px;
  }
}

@media only screen and (max-width: 767px) {
  /* HEADER */
  /* Navigation */
  .site-navigation .navbar-nav {
    padding-top: 0;
  }
  .site-navigation .navbar-toggle {
    margin: 0 5px 0 0;
    height: 60px;
    line-height: 60px;
    border: 0;
  }
  .site-navigation .navbar-toggle .icon-bar {
    position: relative;
    background-color: #fff;
    transition: top 0.25s ease-in-out;
    -moz-transition: top 0.25s ease-in-out;
    -webkit-transition: top 0.25s ease-in-out;
    -o-transition: top 0.25s ease-in-out;
    -ms-transition: top 0.25s ease-in-out;
  }
  .site-navigation .navbar-toggle .icon-bar:first-child {
    top: 6px;
  }
  .site-navigation .navbar-toggle .icon-bar:last-child {
    top: -6px;
  }
  .site-navigation .navbar-toggle.collapsed .icon-bar {
    top: 0;
  }
  .site-navigation .navbar-collapse {
    position: relative;
    background-color: #196fc0;
    z-index: 99;
    text-align: center;
    border-top: 0;
    box-shadow: none;
  }
  .site-navigation .navbar-nav {
    margin: 0;
  }
  .site-navigation .navbar-nav > li > a {
    display: inline-block;
    margin: 10px 0;
    padding-bottom: 5px;
  }
  .site-navigation .navbar-nav > li + li > a {
    margin-left: 0;
  }
}

/* HERO
================================================== */
.hero {
    background: url(../img/hero.jpg) center no-repeat;
    height: 100%;
    width: 100%;
    display: table;
    position: relative;
    background-size: cover;
    background-image: url(../img/hero.jpg);
	
}

.background-overlay:before {
  content: '';
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
	
}

.hero-content {
  color: #ffffff;
  display: table-cell;
  vertical-align: middle;
  position: relative;
}

.hero-content h1 {
  width: 100%;
  padding: 0 15px;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin: 0 auto;
  text-transform: uppercase;
}

.hero-content p {
  padding: 0 15px;
  margin: 30px auto 0;
  text-align: center;
  text-transform: uppercase;
}

.hero-content .hero-job {
  font-size: 18px;
}

.hero-content .hero-job span {
  padding-bottom: 5px;
  border-bottom: 1px solid #ffffff;
}

.hero-content .hero-job-desc {
  font-size: 14px;
  max-width: 700px;
}

.hero-arrow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  width: 20px;
  margin: 0 auto;
  text-align: center;
}

.hero-arrow a {
  font-size: 28px;
  color: #ffffff;
}

@-webkit-keyframes home-arrow-down {
  from {
    transform: translate3d(0, 0px, 0);
    -webkit-transform: translate3d(0, 0px, 0);
    -moz-transform: translate3d(0, 0px, 0);
    -o-transform: translate3d(0, 0px, 0);
    -ms-transform: translate3d(0, 0px, 0);
    filter: alpha(opacity=0);
    -webkit-filter: alpha(opacity=0);
    opacity: 0;
  }
  10% {
    transform: translate3d(0, 5px, 0);
    -webkit-transform: translate3d(0, 5px, 0);
    -moz-transform: translate3d(0, 5px, 0);
    -o-transform: translate3d(0, 5px, 0);
    -ms-transform: translate3d(0, 5px, 0);
    filter: alpha(opacity=100);
    -webkit-filter: alpha(opacity=100);
    opacity: 1;
  }
  to {
    transform: translate3d(0, 30px, 0);
    -webkit-transform: translate3d(0, 30px, 0);
    -moz-transform: translate3d(0, 30px, 0);
    -o-transform: translate3d(0, 30px, 0);
    -ms-transform: translate3d(0, 30px, 0);
    filter: alpha(opacity=0);
    -webkit-filter: alpha(opacity=0);
    opacity: 0;
  }
}

@keyframes home-arrow-down {
  from {
    transform: translate3d(0, 0px, 0);
    -webkit-transform: translate3d(0, 0px, 0);
    -moz-transform: translate3d(0, 0px, 0);
    -o-transform: translate3d(0, 0px, 0);
    -ms-transform: translate3d(0, 0px, 0);
    filter: alpha(opacity=0);
    -webkit-filter: alpha(opacity=0);
    opacity: 0;
  }
  10% {
    transform: translate3d(0, 5px, 0);
    -webkit-transform: translate3d(0, 5px, 0);
    -moz-transform: translate3d(0, 5px, 0);
    -o-transform: translate3d(0, 5px, 0);
    -ms-transform: translate3d(0, 5px, 0);
    filter: alpha(opacity=100);
    -webkit-filter: alpha(opacity=100);
    opacity: 1;
  }
  to {
    transform: translate3d(0, 30px, 0);
    -webkit-transform: translate3d(0, 30px, 0);
    -moz-transform: translate3d(0, 30px, 0);
    -o-transform: translate3d(0, 30px, 0);
    -ms-transform: translate3d(0, 30px, 0);
    filter: alpha(opacity=0);
    -webkit-filter: alpha(opacity=0);
    opacity: 0;
  }
}

.home-arrow-down {
  -moz-animation: home-arrow-down 2s infinite;
  -webkit-animation: home-arrow-down 2s infinite;
  animation: home-arrow-down 2s infinite;
  -webkit-animation-play-state: running;
  animation-play-state: running;
}

.home-arrow-down:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

@media only screen and (max-width: 767px) {
  /* HEADER */
  /* HERO */
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    margin: 20px auto 0;
  }
}

/* SITEMAIN
================================================== */
.site-main {
  background-color: #ffffff;
  z-index: 1;
}

/*
 * Sections
 */
.site-section {
  padding: 100px 0;
}

.site-section h2 {
    font-family: "Varela", sans-serif;
    margin: 0;
    font-size: 32px;
    color: #000000;
    text-align: center;
    text-transform: uppercase;
}

.section-subtitle {
  position: relative;
  font-family: "Varela", sans-serif;
  margin: 15px 0 0;
  font-size: 16px;
  line-height: 16px;
  color: #666;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.section-subtitle span {
  position: relative;
}

.section-subtitle span:before, .section-subtitle span:after {
  display: inline-block;
  content: '';
  height: 1px;
  background-color: #666;
  width: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.section-subtitle span:before {
  left: -30px;
}

.section-subtitle span:after {
  right: -30px;
}

.section-diff-title h2 {
    margin: 0;
    font-weight: 700;
    color: #000000;
    font-size: 40px;
}

.section-diff-title p {
  position: relative;
  font-family: "Varela", sans-serif;
  margin: 60px 0 0;
}

.section-diff-title p:before {
  content: '';
  display: block;
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 1px;
  width: 50px;
  background-color: #666;
}

@media only screen and (max-width: 991px) {
  /* Sections */
  .site-section {
    padding: 80px 0;
  }
}

@media only screen and (max-width: 767px) {
  /* Sections */
  .site-section {
    padding: 60px 0;
  }
  .site-section h2 {
    font-size: 24px;
  }
  .section-subtitle span {
    display: inline-block;
    max-width: 230px;
    font-size: 14px;
  }
}

/* Section: Hello */
.section-hello .row {
  margin-top: 70px;
}

.section-hello .col-sm-4 {
  min-height: 325px;
}

.main-service {
  position: relative;
  padding: 35px 0;
  min-height: 180px;
}

.main-service .rectangle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -o-transform: translateY(-50%) rotate(45deg);
  -ms-transform: translateY(-50%) rotate(45deg);
}

.main-service.text-right {
    padding-right: 90px;
    text-align: center;
    font-size: 16px;
}

.main-service.text-left {
  padding-left: 90px;
}

.main-service.text-left .rectangle {
  right: auto;
  left: 5px;
}

.main-service h3 {
  margin: 0;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
}

.main-service p {
  margin: 25px 0 0;
  font-size: 12px;
}

@media only screen and (max-width: 1199px) {
  /* Section: Hello */
  .main-service {
    padding: 25px 0;
  }
}

@media only screen and (max-width: 991px) {
  /* Section: Hello */
  .big-rectangle {
    height: 170px;
    width: 170px;
  }
  .main-service {
    padding: 20px 0;
  }
  .main-service h3 {
    font-size: 14px;
  }
  .main-service.text-right {
    padding-right: 75px;
  }
  .main-service.text-left {
    padding-left: 75px;
  }
}

@media only screen and (max-width: 767px) {
  /* Section: Hello */
  .section-hello .row {
    margin-top: 30px;
  }
  .section-hello .col-sm-4 {
    min-height: 240px;
  }
  .section-hello .main-service {
    min-height: 100%;
  }
  .section-hello .main-service p {
    margin-top: 15px;
  }
}

/* Section: About */
.section-about .row {
  margin-top: 70px;
}

.section-about .col-sm-3 {
  min-height: 250px;
}

.section-about .rectangle {
  margin: 15px auto 10px;
}

.section-about .rectangle i {
  font-size: 28px;
}

.feature-about h3 {
  margin: 50px 0 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-about p {
  margin: 30px 0 0;
}

@media only screen and (max-width: 767px) {
  .section-about .row {
    margin-top: 30px;
  }
  .section-about .col-xs-6:nth-child(n+3) .feature-about {
    margin-top: 20px;
  }
  .section-about .feature-about h3 {
    margin-top: 30px;
  }
  .section-about .feature-about p {
    margin-top: 15px;
  }
}

@media only screen and (max-width: 479px) {
  .section-about .col-xs-6 {
    width: 100%;
    min-height: 100%;
  }
  .section-about .col-xs-6:nth-child(n+2) .feature-about {
    margin-top: 20px;
  }
}

/* Section: Skills */
.section-skills {
  background-color: #f6f6f6;
}

.section-skills h2 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 40px;
  font-size: 18px;
  color: #000;
  text-transform: uppercase;
  text-align: left;
}

.section-skills h2:before {
  content: '';
  position: absolute;
  bottom: 0;
  display: block;
  width: 40px;
  height: 1px;
  background-color: #000;
}

.section-skills p {
  margin: 10px 0 0;
}

.progress-group p {
  margin: 0;
  text-transform: uppercase;
}

.progress-group + .progress-group {
  margin-top: 20px;
}

.progress {
  position: relative;
  margin: 10px 0 0;
  background-color: #666;
  border-radius: 0;
  height: 10px;
  box-shadow: none;
  overflow: visible;
}

.progress-bar {
  position: relative;
  background-color: #283376;
  height: 10px;
}

.progress-bar:before {
  content: '';
  position: absolute;
  right: 0;
  top: -10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 20px 15px;
  border-color: transparent transparent #283376 transparent;
  z-index: 2;
}

.progress-bar:after {
  content: '';
  position: absolute;
  right: -8px;
  top: -10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 20px 15px;
  border-color: transparent transparent #f6f6f6 transparent;
  z-index: 1;
}

.progress-bar span {
  width: 40px !important;
  position: absolute;
  top: -30px;
  right: -7px;
  color: #000;
  z-index: 3;
}

.progressbar-back-text {
  display: none;
}

@media only screen and (max-width: 767px) {
  /* Section: Skills */
  .section-skills .col-sm-6 + .col-sm-6 {
    margin-top: 40px;
  }
  .section-skills h2 {
    margin-bottom: 20px;
    font-size: 18px;
  }
}

/* Section: Counters */
.site-section.section-counters {
  padding-bottom: 0;
}

.site-section.section-counters .rectangle {
  margin: 15px auto 10px;
}

.site-section.section-counters .rectangle i,
.site-section.section-counters .rectangle span {
  font-size: 18px;
}

.site-section.section-counters .rectangle i {
  padding-bottom: 20px;
}

.site-section.section-counters .rectangle i + span {
  padding-top: 20px;
}

.site-section.section-counters .row p {
  margin: 30px 0 0;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  /* Section: Counters */
  .section-counters .col-sm-2:nth-child(n+3) {
    margin-top: 20px;
  }
  .section-counters .row p {
    margin-top: 15px;
  }
}

@media only screen and (max-width: 479px) {
  /* Section: Counters */
  .section-counters .col-sm-2 {
    width: 100%;
  }
  .section-counters .col-sm-2:nth-child(n+2) {
    margin-top: 20px;
  }
}

/* Section: Services */
.section-services.site-section {
  padding: 0;
  background-color: #f6f6f6;
}

.section-services .container-fluid {
  padding: 100px 15px 70px;
  background-color: #ffffff;
}

.section-services .container-fluid + .container {
  margin-top: 80px;
}

.section-services .col-sm-fifth {
  width: 20%;
  display: table;
}

.section-services .nav-tabs {
  position: relative;
  min-height: 160px;
  width: 100%;
  margin: 70px 0 0;
  bottom: 0;
  left: 0;
  border-bottom: 0;
}

.section-services .nav-tabs .col-sm-fifth {
  height: 160px;
  background: #ffffff;
  border-bottom: 3px solid #283376;
}

.section-services .carousel-inner {
  margin-top: 75px;
}

.section-services .carousel-inner img {
  border-radius: 10px 10px 0 0;
  -webkit-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
}

.section-services .item-controls {
  height: 45px;
}

.section-services .item-controls .carousel-control {
  margin: 7px 5px 0;
  position: relative;
  border: 1px solid #dddddd;
  background: #ffffff;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  opacity: 1;
}

.section-services .item-controls .carousel-control i {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #000;
  font-size: 18px;
  transform: translate(-50%, -50%) rotate(-45deg);
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -moz-transform: translate(-50%, -50%) rotate(-45deg);
  -o-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  text-shadow: none;
}

.section-services .item-controls .carousel-control:hover, .section-services .item-controls .carousel-control:focus {
  background-color: #196fc2;
  border-color: #196fc2;
}

.section-services .item-controls .carousel-control:hover i, .section-services .item-controls .carousel-control:focus i {
  color: #ffffff;
}

.section-services .item-controls.left i {
  padding-right: 3px;
}

.section-services .item-controls.right i {
  padding-left: 3px;
}

.service {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  color: #000;
}

.service .rectangle {
  margin: 0 auto 20px;
  box-shadow: none;
}

.service p {
    position: absolute;
    left: -11px;
    right: 0;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 12px;
    top: 108px;
}

.section-services .col-sm-7 {
  position: absolute;
  right: 0;
  bottom: 0;
}

.section-services .col-sm-5 {
  min-height: 390px;
}

.service-info h3 {
  font-size: 28px;
  margin: 20px 0 0;
}

.service-info p {
  margin: 30px 0 0;
}

.nav-tabs .col-sm-fifth,
.item-controls .carousel-control i,
.service .rectangle,
.service p,
.carousel-indicators .service .rectangle i {
  -webkit-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

.carousel-indicators .active .col-sm-fifth,
.carousel-indicators a:hover .col-sm-fifth {
  background-color: #196fc2;
}

.carousel-indicators .active .service p,
.carousel-indicators a:hover .service p {
    opacity: 0;
    visibility: hidden;
}

.carousel-indicators .active .service .rectangle,
.carousel-indicators a:hover .service .rectangle {
    background-color: #ffffff;
    height: 80px;
    width: 80px;
    margin-bottom: 0;
    background-image: url(../img/logo_kicsi.png);
}

.carousel-indicators .active .service .rectangle i,
.carousel-indicators a:hover .service .rectangle i {
  font-size: 32px;
}

.carousel-indicators .active .service .rectangle {
  color: #196fc2;
}

.carousel-indicators .active .service:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: #196fc2 transparent transparent transparent;
  z-index: 99;
}

@media only screen and (max-width: 991px) {
  /* Section: Services */
  .section-services .container-fluid {
    padding: 80px 15px 50px;
  }
  .section-services .container-fluid + .container {
    margin-top: 60px;
  }
  .section-services .nav-tabs {
    margin-top: 50px;
  }
  .section-services .carousel-inner {
    margin-top: 55px;
  }
  .section-services .service-info h3 {
    margin-top: 0;
  }
  .section-services img {
    margin: 30px auto 0;
  }
}

@media only screen and (max-width: 767px) {
  /* Section: Services */
  .section-services .container-fluid {
    padding: 60px 15px 30px;
  }
  .section-services .container-fluid + .container {
    margin-top: 40px;
  }
  .section-services .nav-tabs {
    margin-top: 30px;
    min-height: 70px;
  }
  .section-services .nav-tabs .col-sm-fifth {
    height: 70px;
  }
  .section-services .carousel-inner {
    margin-top: 35px;
  }
  .section-services .carousel-indicators .active .service .rectangle,
  .section-services .carousel-indicators a:hover .service .rectangle,
  .section-services .carousel-indicators .service .rectangle {
    margin-bottom: 0;
    height: 28px;
    width: 28px;
    background-image: url(../img/logo_kicsi.png);
  }
  .section-services .carousel-indicators .active .service .rectangle i,
  .section-services .carousel-indicators a:hover .service .rectangle i,
  .section-services .carousel-indicators .service .rectangle i {
    font-size: 14px;
  }
  .section-services .col-sm-5 {
    min-height: 100%;
  }
  .section-services .col-sm-7 {
    position: relative;
  }
  .section-services .service-info h3 {
    font-size: 22px;
  }
  .section-services .service-info p {
    margin: 15px 0 0;
  }
}

/* Section: Reviews */
.site-section.section-reviews {
  padding-bottom: 0;
}

.site-section.section-reviews .blue-bg {
  margin-top: 50px;
  padding: 70px 0px;
}

.review-carousel {
  padding: 0 50px;
}

.review-carousel .slick.rectangle {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  box-shadow: none;
  z-index: 99;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.review-carousel .slick.rectangle:hover {
  background-color: #ffffff;
  color: #196fc2;
}

.review-carousel .slick.rectangle.slick-next {
  right: 0;
}

.review-carousel .slick.rectangle.slick-prev {
  left: 0;
}

.review .rectangle {
  width: 80px;
  height: 80px;
  border: 0;
  margin: 20px auto 0;
  overflow: hidden;
  box-shadow: none;
}

.review .img-res {
  max-width: 150%;
  max-height: 150%;
}

.review p {
  margin: 45px auto 0;
  color: #ffffff;
  max-width: 1000px;
  overflow-x: hidden;
}

.review .review-author {
  position: relative;
  margin-top: 70px;
}

.review .review-author:before {
  content: '';
  position: absolute;
  top: -35px;
  left: 0;
  right: 0;
  display: block;
  height: 1px;
  width: 50px;
  background-color: #ffffff;
  margin: 0 auto;
}

.review .review-author h3 {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}

.review .review-author p {
  margin-top: 5px;
}

@media only screen and (max-width: 767px) {
  /* Section: Reviews */
  .section-reviews.site-section .blue-bg {
    margin-top: 30px;
    padding: 40px 0;
  }
  .section-reviews.site-section .review-carousel {
    padding: 0 15px;
  }
  .section-reviews.site-section .review-carousel .slick.rectangle {
    top: 45px;
  }
  .section-reviews.site-section .review-author {
    margin-top: 50px;
  }
  .section-reviews.site-section .review-author:before {
    top: -25px;
  }
}

/* Section: Team */
.team {
  margin-top: 50px;
}

.team-member {
  height: 600px; /* 560px -> 600px: a szétbontott bekezdés + a névsáv miatt kell a plusz hely */
	width: 100%;
	max-width: 400px;
  perspective: 1000;
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -o-perspective: 1000;
  -ms-perspective: 1000;
  transform: perspective(1000px);
  -webkit-transform: perspective(1000px);
  -moz-transform: perspective(1000px);
  -o-transform: perspective(1000px);
  -ms-transform: perspective(1000px);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
}

.team-member:hover .flipper {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
}

.team-member .flipper {
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  -moz-transition: 0.6s;
  transition: 0.6s;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  position: relative;
}

.team-member .team-member-front,
.team-member .team-member-back {
    height: 540px; /* 500px -> 540px: 60px puffer a .team-member 600px-es magasságához képest */
	width: 100%; /* fix 320px helyett a szülőt tölti ki, így keskeny mobilon sem lóg ki oldalra */
	margin: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    -moz-transition: 0.6s;
    transition: 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    position: absolute;
    background-color: #c8ae8d;
   
    
}

.team-member .team-member-front {
    z-index: 2;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
}

.team-member .team-member-front .team-member-thumb {
    height: 480px; /* 445px -> 480px: igazítva az új 540px-es front dobozhoz, ~60px marad a névnek */
    flex: 0 0 auto;
    border: 1px solid #cccccc;
    width: auto;
}

.team-member .team-member-front .team-member-thumb img {
  margin: 0 auto;
  object-fit: cover;
  object-position: top; /* A fejtető mindig teljesen látszódjon, inkább alulról vágjon a kép */
  width: 100%;
  height: 100%;
}

.team-member .team-member-front .team-member-front-name {
	background: #283376;
    text-align: center;
    margin: 0;
    font-weight: 600;
    color: #FFFFFF;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member .team-member-back {
	width: 100%;
    padding: 0 15px;
    display: table;
    background: #c8ae8d;
	border: 2px solid #cccccc;
    text-align: center;
    color: #ffffff;
    transform: rotateY(-180deg);
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    z-index: 5;
    overflow-y: auto; /* Biztonsági háló: ha a szöveg mégis hosszabb lenne, mint a doboz, görgethető legyen ahelyett, hogy kilógna és átfedné a szomszéd kártyát */
    box-sizing: border-box;
}

.team-member .team-member-back .team-member-info {
  display: table-cell;
  vertical-align: middle;
  margin: 0 auto;
}

.team-member .team-member-back .team-member-back-name {
	color: #283376;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.team-member .team-member-back .team-member-back-position {
    margin: 10px 0 0;
    font-size: 14px;
    text-align: center;
}

.team-member .team-member-back .team-member-back-info {
    position: relative;
    margin: 14px 0 0; /* Alap térköz a bekezdések között, ha egynél több <p> van */
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
}

.team-member .team-member-back .team-member-back-info:first-of-type {
    margin-top: 30px; /* Az első bekezdés elé kell a nagyobb térköz + elválasztó vonal */
}

.team-member .team-member-back .team-member-back-info:first-of-type:before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  display: block;
  height: 1px;
  width: 30px;
  background-color: #ffffff;
  margin: 0 auto;
}

@media only screen and (max-width: 991px) {
  /* Section: Team */
  .section-team .col-xs-6:nth-child(n+3) {
    margin-top: 30px;
  }
}

@media only screen and (max-width: 767px) {
  /* Section: Team */
  .team {
    margin-top: 30px;
  }
}

@media only screen and (max-width: 479px) {
  /* Section: Team */
  .section-team .col-xs-6 {
    width: 100%;
  }
  .section-team .col-xs-6:nth-child(n+2) {
    margin-top: 30px;
  }
}


/* Section: History */
.section-history {
  padding: 70px 0;
  background-color: #f6f6f6;
}

.section-history .section-diff-title h2 {
    color: #196fc2;
    font-size: 32px;
    font-style: normal;
    font-family: varela;
    font-weight: 400;
}

.section-history .section-diff-title p {
  text-transform: uppercase;
}

.timeline {
  margin: 50px 0 0;
  padding-left: 0;
  list-style: none;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 1px;
  background-color: #dddddd;
  left: 50%;
  margin-left: -0.5px;
}

.timeline > li {
  position: relative;
}

.timeline > li + li {
  margin-top: 50px;
}

.timeline > li:before, .timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
}

.timeline > li.timeline-start .rectangle, .timeline > li.timeline-end .rectangle {
  display: block;
  position: relative;
  left: 0.5px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: none;
}

.timeline > li.timeline-start .rectangle span, .timeline > li.timeline-end .rectangle span {
  font-size: 12px;
  text-transform: uppercase;
}

.timeline > li > .timeline-panel {
  width: 50%;
  float: left;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 2px;
  position: relative;
  padding-right: 10px;
}

.timeline > li > .timeline-panel:before {
  content: " ";
  position: absolute;
  top: 15px;
  right: 0px;
  background-color: #f6f6f6;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  z-index: 2;
}

.timeline > li > .timeline-panel .timeline-heading {
  background-color: #666;
  line-height: 50px;
  height: 50px;
}

.timeline > li > .timeline-panel .timeline-heading p {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
  color: #ffffff;
}

.timeline > li > .timeline-panel .timeline-heading .timeline-date,
.timeline > li > .timeline-panel .timeline-heading .timeline-position {
  display: inline-block;
}

.timeline > li > .timeline-panel .timeline-heading .timeline-date {
  padding: 0 10px;
  background-color: #196fc2;
}

.timeline > li > .timeline-panel .timeline-heading .timeline-position {
  padding-left: 5px;
}

.timeline > li > .timeline-panel .timeline-body {
  position: relative;
  padding: 20px 0;
  min-height: 140px;
}

.timeline > li > .timeline-panel .timeline-body .timeline-body-thumb {
  width: 100px;
  height: 100px;
  position: absolute;
  top: 20px;
}

.timeline > li > .timeline-panel .timeline-body p {
  padding-left: 120px;
  margin-bottom: 0;
}

.timeline > li .timeline-rectangle {
  position: absolute;
  margin: 0 auto;
  top: 15px;
  left: 0.5px;
  right: 0;
  background-color: #666;
  width: 20px;
  height: 20px;
  border: 0;
  box-shadow: none;
  z-index: 99;
}

.timeline > li.timeline-inverted .timeline-heading {
  text-align: right;
}

.timeline > li.timeline-inverted .timeline-panel {
  float: right;
  padding: 0 0 0 10px;
}

.timeline > li.timeline-inverted .timeline-panel .timeline-position {
  padding: 0 5px 0 0;
}

.timeline > li.timeline-inverted .timeline-panel:before {
  left: 0px;
  right: auto;
}

@media only screen and (max-width: 767px) {
  /* Section: History */
  .section-history {
    padding: 50px 0;
  }
  .section-history h2 {
    font-size: 22px;
  }
  .section-diff-title p {
    margin-top: 40px;
  }
  .section-diff-title p:before {
    top: -20px;
  }
  .timeline {
    margin: 30px 0 0;
  }
  .timeline:before {
    left: 88%;
  }
  .timeline > li + li {
    margin-top: 30px;
  }
  .timeline > li.timeline-start .rectangle, .timeline > li.timeline-end .rectangle {
    left: 38%;
  }
  .timeline > li > .timeline-panel {
    width: 88%;
  }
  .timeline > li > .timeline-panel .timeline-heading p {
    font-size: 12px;
  }
  .timeline > li > .timeline-panel .timeline-heading .timeline-date,
  .timeline > li > .timeline-panel .timeline-heading .timeline-position {
    padding: 0 8px;
  }
  .timeline > li > .timeline-panel .timeline-heading .timeline-date {
    float: left;
  }
  .timeline > li .timeline-rectangle {
    left: 76%;
  }
  .timeline > li.timeline-inverted .timeline-heading {
    text-align: left;
  }
  .timeline > li.timeline-inverted .timeline-date {
    float: left;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: left;
    padding: 0 10px 0 0;
  }
  .timeline > li.timeline-inverted > .timeline-panel:before {
    left: auto;
    right: 0;
  }
}

@media only screen and (max-width: 479px) {
  .timeline {
    margin: 30px 0 0;
  }
  .timeline:before {
    left: 50%;
  }
  .timeline > li.timeline-start .rectangle, .timeline > li.timeline-end .rectangle {
    left: auto;
  }
  .timeline > li > .timeline-panel {
    background-color: #f6f6f6;
    width: 100%;
    padding-right: 0;
  }
  .timeline > li .timeline-panel:before {
    content: none;
  }
  .timeline > li .timeline-rectangle {
    disply: none;
  }
}

/* Section: Portfolio */
.portfolio {
  margin-top: 50px;
}

.portfolio-sorting {
  margin: 0;
  border-top: 1px solid #f6f6f6;
  border-right: 1px solid #f6f6f6;
  border-bottom: 2px solid #196fc2;
  height: 47px;
}

.portfolio-sorting li {
  padding: 0;
  float: left;
}

.portfolio-sorting li a {
  position: relative;
  display: inline-block;
  padding: 0 30px;
  line-height: 44px;
  height: 44px;
  border-left: 1px solid #f6f6f6;
  border-right: 1px solid #f6f6f6;
  text-transform: uppercase;
}

.portfolio-sorting li a:hover, .portfolio-sorting li a.active {
  background-color: #196fc2;
  color: #ffffff;
  border-color: #196fc2;
}

.portfolio-sorting li a:hover:after, .portfolio-sorting li a.active:after {
  border-color: #196fc2;
}

.portfolio-sorting li a:after, .portfolio-sorting li a.acitve:after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  display: block;
  border-top: 1px solid #dddddd;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.portfolio-sorting li a.active:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #196fc2 transparent transparent transparent;
  z-index: 99;
}

.portfolio-sorting li + li a {
  border-left: 0;
}

.portfolio-sorting li + li a:after, .portfolio-sorting li + li a.active:after {
  left: 0px;
}

#grid {
  margin-top: 40px;
}

#grid .col-md-31 {
  padding: 0;
}

.portfolio-item {
  overflow: hidden;
}

.portfolio-item .portfolio-item-thumb {
  position: relative;
  height: 250px;
}

.portfolio-item .portfolio-item-thumb:after {
  content: '';
  background-color: #196fc2;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.portfolio-item .portfolio-item-thumb .rectangle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  margin: 0 auto;
  background-color: #ffffff;
  opacity: 0;
  visibility: hidden;
  -webkit-box-shadow: 4px 4px 0px 0px rgba(238, 238, 238, 0.5);
  -o-box-shadow: 4px 4px 0px 0px rgba(238, 238, 238, 0.5);
  -moz-box-shadow: 4px 4px 0px 0px rgba(238, 238, 238, 0.5);
  box-shadow: 4px 4px 0px 0px rgba(238, 238, 238, 0.5);
  z-index: 99;
}

.portfolio-item .portfolio-item-thumb,
.portfolio-item .portfolio-info {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.portfolio-item .portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px;
  padding: 0 10px;
  text-align: center;
  transform: translateY(75px);
  -webkit-transform: translateY(75px);
  -moz-transform: translateY(75px);
  -o-transform: translateY(75px);
  -ms-transform: translateY(75px);
  opacity: 0;
  visibility: hidden;
}

.portfolio-item .portfolio-info h3 {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.portfolio-item .portfolio-info h3 + p {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 300;
  color: #bbbbbb;
}

.portfolio-item:hover .portfolio-item-thumb {
  transform: translateY(-75px);
  -webkit-transform: translateY(-75px);
  -moz-transform: translateY(-75px);
  -o-transform: translateY(-75px);
  -ms-transform: translateY(-75px);
}

.portfolio-item:hover .portfolio-item-thumb:after {
  opacity: 0.8;
}

.portfolio-item:hover .portfolio-item-thumb .rectangle {
  opacity: 1;
  visibility: visible;
}

.portfolio-item:hover .portfolio-item-thumb .rectangle:hover {
  background-color: #196fc2;
  border-color: #196fc2;
  color: #ffffff;
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -o-transform: translateY(0);
  -ms-transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 991px) {
  /* Section: Portfolio */
  .portfolio-sorting li a {
    padding: 0 15px;
  }
}

@media only screen and (max-width: 767px) {
  /* Section: Portfolio */
  .portfolio {
    margin-top: 30px;
  }
  .portfolio-sorting {
    height: 100%;
    border-right: 1px solid #f6f6f6;
    border-left: 1px solid #f6f6f6;
  }
  .portfolio-sorting li {
    float: none;
    width: 50%;
  }
  .portfolio-sorting li:nth-child(even) {
    margin-left: -4px;
  }
  .portfolio-sorting li a {
    border: 0;
    width: 100%;
    padding: 0;
    text-align: center;
    font-size: 10px;
  }
  .portfolio-sorting li a.active:before, .portfolio-sorting li a:after, .portfolio-sorting li a:hover:after, .portfolio-sorting li a.active::after {
    content: none;
  }
}

@media only screen and (max-width: 479px) {
  /* Section: Portfolio */
  .section-works .col-xs-6 {
    width: 100%;
  }
}

/*
 * Sections: Background;
 */
.section-background {
    position: relative;
    background-size: cover;
    padding: 150px 0;
    width: 100%;
    text-align: center;
    visibility: visible;
    background-image: url(assets/img/quote.jpg);
}

.section-background p {
    position: relative;
    margin: 10px 0 0;
    color: #ffffff;
    background-image: url(assets/img/quote.jpg);
}

.section-background .btn {
  position: relative;
  margin-top: 50px;
}

/* Sections background: Quote */
.section-quote {
  background: url(../img/quote.jpg) center no-repeat fixed;
}

.section-quote p {
    margin-top: 0;
    font-size: 24px;
    text-align: left;
}

.section-quote p span {
  color: #196fc2;
}

/* Sections background: Me */
.section-me {
  background: url(../img/portfolio-7.jpg) center no-repeat fixed;
}

.section-me h2 {
  margin: 0;
  color: #ffffff;
  position: relative;
}

/* Sections background: Twitter */
.section-twitter {
  background: url(../img/portfolio-8.jpg) center no-repeat fixed;
}

.section-twitter .container {
  max-width: 770px;
}

.section-twitter .rectangle {
  margin: 0 auto;
  box-shadow: none;
  display: inline-block;
}

.section-twitter .rectangle i {
  color: #ffffff;
}

.section-twitter .rectangle + p {
  margin-top: 60px;
}

.section-twitter .rectangle + p:before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
  width: 50px;
  height: 1px;
  background-color: #ffffff;
}

@media only screen and (max-width: 767px) {
  /*
     * Sections: Background;
     */
  .section-background {
    padding: 100px 0;
  }
  .section-background .btn {
    margin-top: 30px;
  }
  .section-quote p {
    font-size: 28px;
  }
  .section-twitter .rectangle + p {
    margin-top: 40px;
  }
  .section-twitter .rectangle + p:before {
    top: -20px;
  }
}

/* Section: Clients */
.section-clients {
  padding: 80px 0;
}

.client {
  height: 85px;
  line-height: 85px;
  text-align: center;
  margin: 0 15px;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.client:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
}

.client img {
  display: inline-block;
  height: 80px;
}

@media only screen and (max-width: 767px) {
  /* Section: Clients */
  .section-clients {
    padding: 40px 0;
  }
}

/* Section: Contact */
.section-contact .container {
  max-width: 770px;
}

.section-contact .container form {
  margin-top: 70px;
}

.section-contact .btn {
  margin-top: 50px;
  width: 100%;
  border-color: #dddddd;
  color: #000;
}

.section-contact .btn:hover {
  color: #ffffff;
  border-color: #196fc2;
}

.form-control {
  border: 0;
  border-bottom: 1px solid #dddddd;
  box-shadow: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-control:focus {
  box-shadow: none;
  border-bottom-color: #196fc2;
}

textarea.form-control {
  margin-top: 50px;
  min-height: 150px;
  resize: none;
}

@media only screen and (max-width: 767px) {
  /* Section: Contact */
  .section-contact .container form {
    margin-top: 30px;
  }
  .section-contact .btn {
    margin-top: 30px;
  }
  .form-control,
  textarea.form-control {
    margin-top: 15px;
  }
}

/* Section: Social Networks */
.section-networks {
    padding: 30px 0;
    text-align: left;
}

.section-networks .container {
  max-width: 350px;
}

.section-networks a {
  margin: 10px 8px 5px;
  color: #ffffff;
  box-shadow: none;
}

.section-networks a:hover, .section-networks a:focus {
    background-color: #ffffff;
    color: #196fc2;
    font-size: 12px;
}

/* FOOTER
================================================== */
.site-footer .container-fluid {
  position: relative;
  padding: 70px 15px;
  text-align: center;
  border-bottom: 1px solid #dddddd;
}

.site-footer .container {
  padding: 70px 15px 100px;
}

.site-footer ul {
  margin-bottom: 0;
}

.site-footer ul li {
  padding: 0 10px;
}

.site-footer ul a {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
}

.site-footer ul a:hover {
  color: #196fc2;
}

.site-footer a {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: #196fc2;
}

.site-footer .rectangle {
  position: absolute;
  bottom: -20px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 40px;
  height: 40px;
  background-color: #000;
  border: none;
  color: #ffffff;
  box-shadow: none;
}

.site-footer .rectangle:hover {
  background-color: #196fc2;
  color: #ffffff;
}

.site-footer .copyright {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  /* FOOTER*/
  .site-footer .container-fluid {
    padding: 40px 15px;
  }
  .site-footer .container {
    padding: 40px 15px 80px;
  }
}

/* MODALS 
================================================== */
.modal.fade-scale {
  transform: scale(0);
  opacity: 0;
  -webkit-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  transition: all 0.25s linear;
}

.modal.fade-scale.in {
  opacity: 1;
  transform: scale(1);
}

.modal.fade-scale .modal-dialog {
  margin-top: 50px;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  transform: translate(0, 0%);
  -webkit-transform: translate(0, 0%);
  -moz-transform: translate(0, 0%);
  -o-transform: translate(0, 0%);
  -ms-transform: translate(0, 0%);
}

.modal-header {
  height: 400px;
}

.modal-header .rectangle {
  position: absolute;
  right: -20px;
  top: -20px;
  height: 40px;
  width: 40px;
  background-color: #196fc2;
  color: #ffffff;
  box-shadow: none;
  border: 0;
  opacity: 1;
}

.modal-header .rectangle:hover {
  background-color: #ffffff;
  color: #196fc2;
  border-color: #196fc2;
}

.modal-header,
.modal-footer {
  padding: 0;
}

.modal-footer {
  border-top: 0;
}

.modal-footer .btn:hover {
  background-color: #ffffff;
  color: #196fc2;
  border-color: #196fc2;
}

.modal-content {
  padding: 0;
  border-radius: 0;
  border: 0;
}

.modal-content p {
  margin: 15px 0 0;
}

.modal-content .btn {
  width: 100%;
  border-width: 1px 0 0 0;
}

@media only screen and (max-width: 767px) {
  /* MODALS */
  .modal-dialog {
    margin: 30px 30px 10px 10px;
  }
  .modal-header .rectangle {
    right: -18px;
    top: -18px;
    height: 36px;
    width: 36px;
  }
}
.images {
  position: relative; }
  .images .img2 {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 500px;
    -webkit-box-shadow: -17px 10px 34px -18px rgba(0, 0, 0, 0.5);
    box-shadow: -17px 10px 34px -18px rgba(0, 0, 0, 0.5); }
    @media (max-width: 767px) {
      .images .img2 {
        position: relative;
        left: inherit !important;
        top: inherit !important;
        max-width: 100%; } }
  .images.right .img1 {
    position: relative;
    z-index: 2;
    -webkit-box-shadow: -17px 10px 34px -18px rgba(0, 0, 0, 0.5);
    box-shadow: -17px 10px 34px -18px rgba(0, 0, 0, 0.5); }
  .images.right .img2 {
    position: absolute;
    top: 50%;
    left: -40%;
    z-index: 1;
    max-width: 500px; }
    @media (max-width: 767px) {
      .images.right .img2 {
        position: relative;
        left: inherit !important;
        top: inherit !important;
        max-width: 100%; } }

@media (max-width: 767px) {
  .pb_testimonial_v1 .media {
    display: block !important; } }

.pb_testimonial_v1 .media img {
  max-width: 200px; }
  @media (max-width: 767px) {
    .pb_testimonial_v1 .media img {
      margin: 0 auto 20px auto !important; } }
.js .animate-box {
  opacity: 50;
}
.services2 h3 a {
  color: #000;
}
.services2 .icon {
  width: 90px;
  height: 90px;
  background: #fffff;
  display: table;
  text-align: center;
  margin: -75px auto 0 auto;
  margin-bottom: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (max-width: 992px) {
  .services2 .icon {
    margin: 0 auto 30px auto;
  }
}
.services2 .icon i {
  display: table-cell;
  vertical-align: middle;
  height: 90px;
  font-size: 40px;
  line-height: 40px;
  color: #fff;
}
.services2:hover, .services2:focus {
  -webkit-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  -ms-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  -o-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
}
.services2:hover .icon, .services2:focus .icon {
  background: #007CB9;
  -webkit-box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
  -moz-box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
  -ms-box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
  -o-box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
  box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
}
.services2:hover h3 a, .services2:focus h3 a {
  color: #ffffff;
}
@media only screen and (max-width: 767px) {
  /* Section: Counters */
  .section-counters .col-sm-2:nth-child(n+3) {
    margin-top: 20px;
  }
  .section-counters .row p {
    margin-top: 15px;
  }
}

@media only screen and (max-width: 479px) {
  /* Section: Counters */
  .section-counters .col-sm-2 {
    width: 100%;
  }
  .section-counters .col-sm-2:nth-child(n+2) {
    margin-top: 20px;
  }
}

.services2 {
    position: relative;
    padding: 30px;
    margin-bottom: 60px;
    background: #fff;
    border: 1px solid rgbs(#000, 0.2);
   -webkit-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.50);
  -moz-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.50);
  -ms-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.50);
  -o-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.50);
  box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.50);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    background-color: #E8DFDF;
}
.services2 h3 a {
  color: #000;
}
.services2 .icon {
  width: 90px;
  height: 90px;
  background: #283376;
  display: table;
  text-align: center;
  margin: -75px auto 0 auto;
  margin-bottom: 30px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.fh5co-heading {
  margin-bottom: 5em;
}
.fh5co-heading.fh5co-heading-sm {
  margin-bottom: 2em;
}
.fh5co-heading h2 {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #000;
}
.fh5co-heading p {
  font-size: 18px;
  line-height: 1.5;
  color: #828282;
}
.fh5co-heading span {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

@media screen and (max-width: 992px) {
  .services .icon {
    margin: 0 auto 30px auto;
  }
}
.services .icon i {
  display: table-cell;
  vertical-align: middle;
  height: 90px;
  font-size: 40px;
  line-height: 40px;
  color: #fff;
}
.services2:hover, .services2:focus {
  -webkit-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  -ms-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  -o-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
}
.services2:hover .icon, .services2:focus .icon {
  background: #007CB9;
  -webkit-box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
  -moz-box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
  -ms-box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
  -o-box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
  box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.13);
}
.services2:hover h3 a, .services2:focus h3 a {
  color: #F95959;
}


/* Section: Services */
.section-services2.site-section {
  padding: 0;
  background-color: #f6f6f6;
}

.section-services2 .container-fluid {
  padding: 100px 15px 70px;
  background-color: #f6f6f6;
}

.section-services2 .container-fluid + .container {
  margin-top: 80px;
}

.section-services2 .col-sm-fifth {
  width: 20%;
  display: table;
}

.section-services2 .nav-tabs {
  position: relative;
  min-height: 160px;
  width: 100%;
  margin: 70px 0 0;
  bottom: 0;
  left: 0;
  border-bottom: 0;
}

.section-services2 .nav-tabs .col-sm-fifth {
  height: 160px;
  background: #f6f6f6;
  border-bottom: 3px solid #283376;
}

.section-services2 .carousel-inner {
  margin-top: 75px;
}

.section-services2 .carousel-inner img {
  border-radius: 10px 10px 0 0;
  -webkit-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
}

.section-services2 .item-controls {
  height: 45px;
}

.section-services2 .item-controls .carousel-control {
  margin: 7px 5px 0;
  position: relative;
  border: 1px solid #dddddd;
  background: #dddddd;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  opacity: 1;
}

.section-services2 .item-controls .carousel-control i {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #000;
  font-size: 18px;
  transform: translate(-50%, -50%) rotate(-45deg);
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -moz-transform: translate(-50%, -50%) rotate(-45deg);
  -o-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  text-shadow: none;
}

.section-services2 .item-controls .carousel-control:hover, .section-services2 .item-controls .carousel-control:focus {
  background-color: #283376;
  border-color: #283376;
}

.section-services2 .item-controls .carousel-control:hover i, .section-services2 .item-controls .carousel-control:focus i {
  color: #ffffff;
}

.section-services2 .item-controls.left i {
  padding-right: 3px;
}

.section-services2 .item-controls.right i {
  padding-left: 3px;
}

.service2 {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  color: #000;
}

.service2 .rectangle {
  margin: 0 auto 20px;
  box-shadow: none;
}

.service p {
  position: absolute;
  left: 0;
  right: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  font-size: 12px;
}

.section-services2 .col-sm-7 {
  position: absolute;
  right: 0;
  bottom: 0;
}

.section-services2 .col-sm-5 {
  min-height: 390px;
}

.social-media {
    display: inline-block;
    text-align: center;
}
  .social-media p a {
    width: 40px;
    height: 40px;
    margin-right: 1px; }
    .social-media p a span {
      color: #cbb88c; }
    .social-media p a:hover {
      background: #cbb88c;
      border-color: #cbb88c; }
      .social-media p a:hover span {
        color: #fff; }
.social-media2 {
    display: inline-block;
    text-align: center;
}
  .social-media2 p a {
    width: 60px;
    height: 60px;
    margin-right: 1px; }
    .social-media2 p a span {
      color: #fff; }
    .social-media2 p a:hover {
      background: #fff;
      border-color: #fff; }
      .social-media2 p a:hover span {
        color: #020202; }
.justify-content-start {
  -webkit-box-pack: start !important;
  -ms-flex-pack: start !important;
  justify-content: flex-start !important; }

.justify-content-end {
  -webkit-box-pack: end !important;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important; }

.justify-content-center {
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important; }
 .justify-content-md-start {
    -webkit-box-pack: start !important;
    -ms-flex-pack: start !important;
    justify-content: flex-start !important; }
  .justify-content-md-end {
    -webkit-box-pack: end !important;
    -ms-flex-pack: end !important;
    justify-content: flex-end !important; }
  .justify-content-md-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important; }
  .justify-content-md-between {
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important; }
  .justify-content-md-around {
    -ms-flex-pack: distribute !important;
    justify-content: space-around !important; 
	  
	 }.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{
	margin-right: -15px;
	margin-left: -15px;
	font-size: 18px;
}.col-xs-6, .col-md-71,.col-md-31{
    position: relative;
    min-height: 1px;
    padding-right: 1px;
    padding-left: 1px;
    background-color: #F9F7F2; }
		 
.cookie-bar {
  position:fixed;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  height: 30px;
  text-align: center;
  line-height: 30px;
  background: #d9ceb4;
  color: white;
  font-size: 14px;
  font-family: "Lato", sans-serif;
  font-weight: 100;
  transition: .8s;
  animation: slideIn .8s;
  animation-delay: .0s;
  .message {
    white-space: nowrap;
    text-shadow: 0 1px 0 darken(red, 10%);
    @media (max-width: 767px){
      display: none;
    }
  }
  .mobile {
    display: none;
    @media (max-width: 767px){
      display: inline-block;
    }
  }
}
@keyframes slideIn {
  0% {
    transform: translateY(-50px);
  }
  100% {
    transform: translateY(0);
  }
}
.close-cb {
  border: none;
  color: white;
  background: darken(red, 20%);
  position: absolute;
  display: inline-block;
  right: 10px;
  top: 0;
  cursor: pointer;
  border-radius: 3px;
  box-shadow: inset 0 0 3px 0 rgba(0,0,0,.2);
  line-height: 30px;
  height: 30px;
  width: 30px;
  font-size: 16px;
  font-weight: bold;
  &:hover {
    background: darken(red, 10%);
  }
}
.checkbox-cb {
  display: none;
  &:checked + .cookie-bar {
    transform: translateY(-50px);
  }
}
.team-member-back .team-member-info p.team-member-back-info {
    text-align: justify !important;
    text-align-last: left !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}
.post-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
}
.post-table th {
    background: #283376;
    color: #ffffff;
    text-align: left;
    padding: 12px 15px;
}
.post-table td {
    border-bottom: 1px solid #e7e7e7;
    padding: 10px 15px;
    vertical-align: top;
    text-align: left; /* táblázatban NE legyen justify - keskeny celláknál csúnya */
}
.post-table tbody tr:nth-child(even) {
    background: #F9F7F2;
}
.post-table a {
    color: #a68b4c;
    word-break: break-word;
}
.post-content ol,
.post-content ul {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    padding-left: 25px;
    margin-bottom: 20px;
}
.post-content ol li,
.post-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}
/* ==========================================================
   KÖZÖS LAYOUT-SZABÁLYOK — egyetlen forrás minden oldalnak
   (index.html, blog.html, tarsashazak.html, blog-cikkek/*.php)
   Korábban ezek duplikálva, hiányosan voltak szétszórva
   az egyes HTML fájlok saját <style> blokkjaiban.
   ========================================================== */

/* --- TOPBAR FIX --- */
div.py-2.bg-black { background: #000000 !important; z-index: 11000 !important; position: relative; height: 45px; }

/* --- DESKTOP NAV FIX --- */
@media (min-width: 992px) {
    .ftco_navbar { position: absolute !important; top: 35px !important; background: transparent !important; background-color: transparent !important; z-index: 1000 !important; }
    .ftco_navbar.scrolled { position: fixed !important; top: 0 !important; background: #283376 !important; }
}

/* --- MOBIL NAV FIX (991px alatt) --- */
@media (max-width: 991.98px) {
    nav.ftco_navbar {
        background: transparent !important;
        position: fixed !important;
        top: 45px !important;
        width: 100% !important;
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        z-index: 100000 !important;
        left: 0 !important;
    }
    nav.ftco_navbar.scrolled {
        background: rgba(40, 51, 118, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        top: 0 !important;
        border-bottom: 1px solid rgba(203, 184, 140, 0.3) !important;
    }
    .navbar-toggler {
        display: flex !important;
        align-items: center !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 110000 !important;
        border: 1px solid rgba(203, 184, 140, 0.4) !important;
        background: rgba(40, 51, 118, 0.8) !important;
        padding: 8px 15px !important;
        border-radius: 30px !important;
    }
    .hamburger-icon { width: 20px; height: 14px; position: relative; display: block; }
    .hamburger-icon span {
        display: block; position: absolute; height: 2px; width: 100%;
        background: #cbb88c !important; border-radius: 2px; transition: .25s ease-in-out;
    }
    .hamburger-icon span:nth-child(1) { top: 0px; }
    .hamburger-icon span:nth-child(2) { top: 6px; }
    .hamburger-icon span:nth-child(3) { top: 12px; }
    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) { top: 6px; transform: rotate(135deg); }
    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) { opacity: 0; }
    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) { top: 6px; transform: rotate(-135deg); }
    .navbar-toggler::after { content: "Menü" !important; color: #cbb88c !important; font-size: 14px; margin-left: 10px; text-transform: none !important; }
    .navbar-toggler[aria-expanded="true"]::after { content: "Bezár" !important; }
    #ftco-nav.navbar-collapse {
        background: rgba(40, 51, 118, 0.98) !important;
        position: fixed !important;
        top: 75px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        border-radius: 20px !important;
        z-index: 99999 !important;
        padding: 20px 0 !important;
        text-align: center !important;
    }
}

/* --- ARANY GOMB (teljes, hiánytalan definíció) --- */
.btn-custom-gold {
    width: auto !important;
    min-width: 280px !important;
    max-width: 320px !important;
    min-height: 65px !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px 25px !important;
    text-align: center !important;
    background: #cbb88c !important;
    border: 2px solid #cbb88c !important;
    color: #283376 !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: 0.3s ease-in-out !important;
    box-sizing: border-box !important;
}
.btn-custom-gold:hover {
    background: rgba(40, 51, 118, 0.8) !important;
    color: #a88f4e !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 15px rgba(203, 184, 140, 0.25);
}
.hero-buttons .btn-custom-gold {
    justify-content: flex-start !important;
    padding-left: 30px !important;
}

/* --- BLOG KÁRTYA komponens (eddig csak index.html-ben létezett) --- */
.blog-card {
    background: #ffffff !important;
    border: 1px solid rgba(40, 51, 118, 0.1) !important;
    padding: 60px 25px 30px 25px !important;
    transition: all 0.4s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    border-radius: 15px !important;
    position: relative !important;
    margin-top: 40px;
    width: 100%;
    flex: 1;
    cursor: pointer;
}
.icon-circle {
    width: 60px !important;
    height: 60px !important;
    background-color: #283376 !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: -30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s ease-in-out !important;
    z-index: 10;
    border: 5px solid #F9F7F2 !important;
}
.icon-circle::before {
    content: "" !important;
    width: 15px !important;
    height: 15px !important;
    background-color: #a68b4c !important;
    border-radius: 50% !important;
    display: block !important;
    transition: all 0.4s ease-in-out !important;
}
.blog-card h3 a {
    color: #283376 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.blog-card h3 a::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5;
}
.blog-card:hover {
    border-color: #a68b4c !important;
    box-shadow: 0px 15px 30px rgba(166, 139, 76, 0.15) !important;
}
.blog-card:hover .icon-circle {
    background-color: #a68b4c !important;
    transform: translateX(-50%) scale(1.1) !important;
}
.blog-card:hover .icon-circle::before {
    background-color: #283376 !important;
}
.blog-card:hover h3 a {
    color: #a68b4c !important;
}
.blog-card .desc p {
    color: #666 !important;
    margin-top: 15px;
    text-align: justify !important;
    text-align-last: left !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}
/* --- CIKK-SZÖVEGEN BELÜLI LINKEK - sima, kiszámítható stílus ---
   (a globális "a { color: rgb(92,242,255); }" szabály törölve lett,
   mert minden linket lefestett az oldalon; helyette itt egy scope-olt,
   csak a blogcikkekre vonatkozó stílus van) */
.post-content a {
    color: #a68b4c !important;
    text-decoration: underline !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    transition: none !important;
}
.post-content a:hover {
    color: #283376 !important;
    font-size: inherit !important;
}

/* ==========================================================
   BLOG KÁRTYA - CÍM-ALAPÚ VÁLTOZAT (kép helyett szöveg)
   A régi .blog-entry/.block-20 szerkezetet követi (dátum-jelvény
   + nagy kattintható blokk), de a fotó helyén márkaszínű
   gradiens + a cikk címe jelenik meg.
   ========================================================== */

.blog-entry {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.title-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    height: 280px;
    width: 100%;
    padding: 25px;
    border-radius: 6px;
    background: linear-gradient(135deg, #283376 0%, #3D6098 100%);
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.title-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(40, 51, 118, 0.3);
}

/* Dátum-jelvény - egységes pill, csak hónap + év */
.title-block .topper {
    position: absolute;
    top: 20px;
    left: 20px;
}
.title-block .topper .mos-yr {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* Kategória-címke */
.title-block .cat-tag {
    display: inline-block;
    color: #283376;
    background: #cbb88c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

/* A cikk címe - ez váltja ki a fotót */
.title-block .title-block-heading {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
}

/* Leírás a kártya alatt (fehér sáv, a régi .text p-4 mintájára) */
.blog-entry .text {
    background: #ffffff;
    border-radius: 0 0 6px 6px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.05);
}
.blog-entry .text p {
    color: #666;
    margin: 0;
    text-align: justify !important;
    text-align-last: left !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
}

@media (max-width: 767.98px) {
    .title-block {
        height: 220px;
    }
    .title-block .title-block-heading {
        font-size: 19px;
    }
}
/* --- VISSZA A TETEJÉRE GOMB --- */
.back-to-top {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
    background: #cbb88c !important;
    color: #283376 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 20px, 0);
    z-index: 2147483647 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.4) !important;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
}
/* 1. HONLAPTÉRKÉP - Kicsi és finom */
.ftco-footer-widget .list-unstyled li a {
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: 0.3s;
}
.ftco-footer-widget .list-unstyled li a:hover {
    color: #cbb88c !important;
    padding-left: 5px;
}

/* 2. KAPCSOLAT (Cím, Tel, Email) - Nagy és egységes */
.block-23 ul li, 
.block-23 ul li a, 
.block-23 ul li span {
    font-size: 20px !important; /* Itt állítsd a szöveg méretét */
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
}

/* Kifejezetten a telefon és email ikonjai */
.block-23 ul li .icon {
    font-size: 28px !important; /* Az ikonok mérete */
    min-width: 40px !important;
    color: #cbb88c !important;
    display: inline-block;
}

/* 3. SOCIAL IKONOK - Egymás mellett és normál méretben */
.ftco-footer-social {
    display: flex !important;
    padding: 0;
    margin-top: 20px;
}
.ftco-footer-social li {
    list-style: none;
    margin-right: 10px;
}
.ftco-footer-social li a {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}
.ftco-footer-social li a:hover {
    background: #cbb88c !important;
    transform: translateY(-3px);
}
.ftco-footer-social li a span {
    font-size: 20px !important;
    color: #fff !important;
}
	/* --- NYITVATARTÁS SZÖVEGMÉRET JAVÍTÁSA --- */
.opening-hours h4, 
.opening-hours p, 
.opening-hours p span {
    font-size: 20px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Egy kis hely az alcímek felett, hogy ne legyen zsúfolt */
.opening-hours h4 {
    margin-top: 15px !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
}	 
/* --- FEJLÉC MENÜ JAVÍTÁS (Konzisztens színek) --- */

/* Alaphelyzetben minden menüpont legyen tiszta fehér vagy enyhén áttetsző fehér */
.navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: 0.3s ease;
}

/* Ha az egér felette van, váltson aranyra */
.navbar-nav .nav-item .nav-link:hover {
    color: #cbb88c !important;
}

/* Csak az az egy menüpont legyen fixen arany, ami éppen AKTÍV */
.navbar-nav .nav-item.active .nav-link {
    color: #cbb88c !important;
    font-weight: 600 !important;
}