/*
Theme Name: Vantage Child
Author: SiteOrigin
Author URI: http://siteorigin.com/
Theme URI: http://siteorigin.com/theme/vantage
Description: Vantage Child Theme
Version: 1.0.0
Template: vantage
Text Domain: vantage
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

body.responsive.layout-full #footer-widgets.full-container {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

body.woocommerce #primary {
    float: left;
    width: 71.287%;
}

body.woocommerce #secondary {
  float: right;
  width: 23.762%;
}

a {
    color: #e72b91;
}

a:hover, a:focus, a:active {
    color: #005f81;
}

a.anchor {
  padding-top: 70px;
}

h1, h2, h3, h4, h5 {
    color: #005f81;
}

#masthead .hgroup .support-text {
    max-width: 70%;
    overflow: auto;
}

#masthead.masthead-logo-in-menu .main-navigation {
  border-bottom: solid 1px #ddd;
/*  align-items: center;*/
/*  display: flex;*/
/*  vertical-align: middle;*/
/*  height: 100px;*/
}

header .support-text .header-widget {
    float: left;
    margin: 10px 0 10px 20px;
    font-style: normal;
}

header .support-text .header-widget .header-widget-icon {
    float: left;
    width: 40px;
    height: 40px;
}

header .support-text .header-widget .header-widget-icon span {
    font-size: 38px;
    color: #e72b91;
}

header .support-text .header-widget .header-widget-text {
    float: left;
    text-align: left;
    margin: 0 0 0 10px;
}

header .support-text .header-widget .header-widget-text .header-widget-title {
    font-weight: bold;
    text-align: left;
}

header .support-text .header-widget .header-widget-text .header-widget-sub {
    text-align: left;
}

header .support-text .header-widget-slogan {
  clear: both;
  float: left;
  text-align: center;
  font-style: normal;
  width: 100%;
  margin-top: 10px;
  color: #005f81;
}

.main-navigation ul li a {
    font-weight: normal;
}

.navbar__top {
    background-color: #005f81;
}

.navbar__top ul, ol {
    margin: 0 0 0 0;
    list-style-type: none;
}

.main-navigation ul li a, #masthead.masthead-logo-in-menu .logo {
    padding-left: 0 !important;
    padding-right: 20px;
}

.navbar__top .container {
    max-width: 1080px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar__top .row {
    min-height: 40px;
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
}

.navbar__top-left {
    align-items: center;
    display: flex;
}

.navbar__top-left li+li {
    margin-left: 60px;
}

.navbar__top a {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.navbar__top a:visited {
  color: #fff;
}

.navbar__top a:hover {
  color: #00B7CC;
}

.navbar__top-right, .navbar__top-right li {
    align-items: center;
    display: flex;
}

.navbar__top-right {
    margin-left: auto !important;
}

.navbar__top-right li+li:before {
    background-color: #fff;
    content: "";
    display: inline-block;
    height: 21px;
    margin: 0 30px;
    width: 1px;
}

.navbar__top-right li a+a {
    margin-left: 20px;
}

#colophon {
    background: #005f81;
}

.layout-full #colophon {
    padding-top: 50px;
    padding-bottom: 30px;
}

.footer-logo {
    display: table;
    margin-bottom: 20px;
}

.footer-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.6428571429;
    margin-bottom: 25px;
}

#colophon h2.footer-title,
#colophon h3.widget-title,
#footer-widgets .widget .widget-title {
    color: #00b7cc;
    font-size: 16px;
    margin-bottom: 29px;
}

.footer-social {
    margin-left: -15px;
    margin-top: -29px;
}

.footer-social a {
    align-items: center;
    display: inline-flex;
    display: -webkit-inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

#colophon .widget_nav_menu .menu-item a {
    display: block;
    padding-bottom: 0;
    margin-bottom: 3px;
    border-bottom: 0;
    font-size: 16px;
}

.footer ul li a {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5625;
}

.footer-item {
    display: flex;
    margin-bottom: 4px;
}

.footer-item-icon {
    flex-basis: 33px;
    max-width: 33px;
    margin-top: 5px;
}

.footer-item-text {
    flex-basis: calc(100% - 33px);
    max-width: calc(100% - 33px);
    font-size: 14px;
}

.footer-item-text p {
    text-wrap: wrap;
}

.footer-item-text div {
    color: #00b7cc;
}

.footer-item-text a, .footer-item-text p {
    color: #fff;
    white-space: nowrap;
}

.footer-links {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;

    border-bottom: 1px solid #b2e9f0;
    border-top: 1px solid #b2e9f0;
    margin-top: 9px;
    padding: 22px 0;
}

.footer-links .row {
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-links .col-6 {
    flex-basis: 50%;
    max-width: 50%;
}

.footer-links nav {
    display: inline-flex;
}

#colophon #theme-attribution, #colophon #site-info {
    text-align: center;
    margin-top: 25px;
    color: #fff;
    font-size: 16px;
}

#colophon .widget_nav_menu .menu-item a:hover {
    color: #00b7cc;
}

#footer-widgets .widget a:hover {
    color: #00b7cc !important;
}

.footer-links nav {
    display: inline-flex;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.footer-links a:hover {
    color: #00b7cc;
}

.footer-links-left a+a:before {
    content: "|";
    display: inline-block;
    margin: 0 10px;
}

.text-right {
    text-align: right;
}

.sowb-button {
  background: #e72b91 !important;
  border: solid 1px #e72b91 !important;
}

.sowb-button:hover {
  background: #005f81 !important;
  border: solid 1px #005f81 !important;
}

.vantage-grid-loop article h3 {
  line-height: 1.2;
  margin-bottom: 15px;
}

.row-books img {
  border: solid 1px #ebebeb;
  border-bottom: solid 2px #c0c0c0;
  margin: 0 auto;
}

.row-books .so-panel {
  text-align: center;
}

/* front page - start */

/* ne legyen lapozó a híreknél a főoldalon */
.home .home-posts-loop .pagination {
  display: none;
}

.home .home-posts-loop .so-panel {
  margin-bottom: 0 !important;
}

/* front page - end */

#pg-20800-0, #pg-20800-1 {
  margin-bottom: 0 !important;
}

.row-prices .so-panel {
  margin-bottom: 0 !important;
}

.row-prices .price-title {
  background: #005f81;
  color: #fff;
  padding: 15px;
  font-weight: bold;
  font-size: 15px;
}

.row-prices .price-value {
  padding: 15px;
  font-size: 36px;
  font-weight: bold;
}

.row-prices .price-text {
  padding: 15px;
  background: #f4f4f4;
}

.row-service .row-service-image {
  margin-top: 7px;
  border: solid 1px #c0c0c0;
}

.row-service .row-service-text h3.widget-title {
  margin-bottom: 10px;
}

/* services */

#pg-19845-0, #pg-19845-1, #pg-19845-2, #pg-19845-3, #pg-19845-4, #pg-19845-5, #pg-19845-6, #pg-19845-7, #pg-19845-8, #pg-19845-9 {
  margin-bottom: 0 !important;
}

/* sidebar - start */

#secondary .widget .widget-title {
  border: solid 1px #ebebeb;
  background: #f4f4f4;
  font-weight: normal;
  padding: 5px 10px;
}

/* sidebar - end */

/* testimonials - start */

.testimonial-item {
    margin-bottom: 30px;
    width: 100%;
}

.testimonial-content {
    border: solid 1px #ebebeb;
    margin-bottom: 20px;
    background: #f4f4f4;
    display: table;
    position: relative;
    width: 100%;
}

.testimonial-content .testimonial-content-inner {
  padding: 15px;
}

.testimonial-content:after, .testimonial-content:before {
    content: '';
    position: absolute;
    font-family: fontAwesome;
    font-size: 30px;
    color: #005f81;
}

.testimonial-content:after {
    content: '\f10d';
    top: 0;
    left: 0;
    transform: translate(0, -50%);
}

.testimonial-content:before {
    content: '\f10e';
    bottom: 0;
    right: 0;
    transform: translate(0, 50%);
}

.testimonial-content p {
    margin: 0;
}

.testimonial-person-name {
    font-weight: bold;
    font-size: 12px;
    text-align: right;
}

.testimonial-person-position {
    text-align: right;
    font-size: 12px;
}

.testimonial-company-name {
    font-size: 12px;
    text-align: right;
}

/* testimonials - end */

/* employees - start */

.employees-list {
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
}

.employee-item {
  border-radius: 5px;
  flex-grow: 0;
  margin: 0 20px 30px 0;
  border: solid 1px #ebebeb;
  border-bottom: solid 2px #c0c0c0;
  background: #f4f4f4;
  padding: 15px 20px 20px 20px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  width: 40%;
}

.employee-item .employee-photo {
  float: left;
  margin: 7px 20px 0 0;
  width: 150px;
}

.employee-item .employee-photo img {
  border-radius: 5px;
  border: solid 1px #ebebeb;
}

.employee-item .employee-content .employee-name h3 {
  margin: 0 0 15px 0;
}

.employee-item .employee-content .employee-position {
  font-weight: bold;
  color: #e72b91;
}

.employee-item .employee-content .employee-text {
  text-align: justify;
}

.employee-item .employee-content .employee-contact {
  overflow: auto;
  margin-top: 20px;
  text-align: center;
}

.employee-item .employee-content .employee-contact .employee-contact-item {
  float: left;
  background: #e72b91;
  margin: 0 10px 0 0;
  border-radius: 5px;
  border: solid 1px #ebebeb;
  width: 30px;
  height: 30px;
}

.employee-item .employee-content .employee-contact .employee-contact-item:hover {
  background: #005f81;
}

.employee-item .employee-content .employee-contact .employee-contact-item a {
  text-decoration: none;
}

.employee-item .employee-content .employee-contact .employee-contact-item span {
  width: 30px;
  height: 30px;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
}

/* employees - end */

/* documents - start */

.document-item {
  overflow: auto;
  padding-bottom: 10px;
  border-bottom: solid 1px #ebebeb;
  margin-bottom: 10px;
}

/*.document-item:hover {*/
/*  background: #f4f4f4;*/
/*  padding: 10px;*/
/*}*/

.document-item .document-title {
  vertical-align: middle;
}

.document-item .document-title a {
  vertical-align: middle;
}

.document-item .document-content p {
  margin: 5px 0;
}

.document-item .document-date {
  font-size: 12px;
}

.document-item .document-date span {
  font-weight: bold;
}

/* documents - end */

.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}

/* responsive settings - start */

@media (max-width: 1000px) {
    header .support-text .header-widget {
        font-size: 12px;
    }

    header .support-text .header-widget .header-widget-icon {
        float: left;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 991px) {
  .navbar__top {
    display: none;
  }
}

@media (max-width: 990px) {
  .employee-item {
    padding: 20px;
  }
  .employee-item .employee-photo {
    float: none;
    margin: 0 auto;
    margin-bottom: 20px;
    width: auto;
    text-align: center;
  }

  .employee-item .employee-content .employee-contact {
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
  }
}

@media (max-width: 767px) {
  .employee-item {
    width: 100%;
  }
}

@media (max-width: 680px) {
    #masthead .hgroup .support-text {
        display: none !important;
    }

    .footer-links .col-6 {
        flex-basis: 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-links-right {
        margin-top: 15px;
    }

    .footer-map {
        text-align: center;
    }

    .footer-links nav {
        display: inline-block;
    }
}

@media (max-width: 640px) {
    #colophon .widget {
        border-bottom: solid 1px #007aa2;
        text-align: center;
    }

    #colophon .widget:nth-child(4) {
        border-bottom: none;
    }

    #colophon .widget .footer-logo {
        margin: 0 auto;
        margin-bottom: 20px;
    }

    #colophon .widget .footer-item {
        display: block;
        margin-bottom: 20px;
    }

    #colophon .widget .footer-item .footer-item-icon {
        max-width: none;
    }

    #colophon .widget .footer-item .footer-item-text {
        max-width: none;
    }
}

/* responsive settings - end */
