#page .container {
  max-width: 1170px;
}

/* pagination */
.pagination-wrap {
  display: flex;
  margin: 50px 0 0 0;
  justify-content: center;
  align-items: center;
}
.pagination-wrap .pagination {
  display: inline-block;
}
.pagination-wrap .pagination .nav-links {
  margin: 0;
}
.pagination .nav-links {
  display: flex;
  margin: 50px 0 0 0;
  justify-content: center;
  align-items: center;
}
.news-wrap .pagination .nav-links {
  margin-top: 20px;
}
.pagination svg {
  height: 18px;
  width: 18px;
}
.pagination a,
.pagination span {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin: 0 20px;
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.pagination a:hover {
  color: #009ae5;
}
.pagination span.dots {
  color: #000;
  border-bottom: 2px solid transparent;
}
.pagination a svg {
  fill: #000;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.pagination a:hover svg {
  fill: #009ae5;
}
.pagination-start .nav-links a:first-child,
.pagination span {
  color: #009ae5;
  border-bottom: 2px solid #009ae5;
}

/* contact form popup */
.pcf__popup-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  z-index: 100;
}
.pcf__popup {
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  box-shadow: 0 4px 38px 3px #edf1f5;
  border-radius: 8px;
  padding: 50px 50px;
  text-align: center;
  font-size: 24px;
}

.pcf__popup__icon .dashicons {
  font-size: 50px;
  width: 50px;
  height: 50px;
}

.pcf__input-errortxt,
.pcf__input-errortxtem {
  margin-top: 0;
  position: absolute;
  bottom: -19px;
  font-size: 12px;
}
.pcf-wrap textarea + .pcf__input-errortxt {
  bottom: -13px;
  margin-top: 0;
}
.pcf__popup-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  color: #4a4a4a;
  font-weight: 700;
  font-size: 12px;
}
.pcf__popup-close:hover {
  background: #ccc;
  cursor: pointer;
}

/* home page "News" */
.home .news-wrap {
  padding: 75px 15px;
  background: #f6f8f9;
  box-shadow: -500px 0 0 0 #f6f8f9, 500px 0 0 0 #f6f8f9;
  margin-bottom: 0;
}
.home .news-wrap::before,
.home .news-wrap::after {
  content: "";
  display: block;
  clear: both;
}
.home .news-wrap h2 {
  font-size: 40px;
  margin-bottom: 40px;
}
.home .news-wrap .row {
  margin-bottom: 20px;
}
.view-all-news {
  font-size: 20px;
  text-decoration: none;
  float: right;
}
.partners .view-all-news {
  margin-top: 12px;
}
.view-all-news svg {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
  fill: #009ae5;
  margin-left: 15px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.view-all-news:hover {
  color: #000;
}
.view-all-news:hover svg {
  fill: #000;
}

/* news slider */
.news-slider-wrap {
  position: relative;
  margin-top: 40px;
  padding: 0 40px;
}
.news-slider-wrap_photo {
  padding: 0;
}
.news-slider .owl-stage {
  display: flex;
}
.news-slider .owl-item,
.news-slider .owl-item a {
  display: flex;
  align-items: stretch;
}
.news-slider .owl-item img {
  opacity: 0!important;
  max-width: 100%;
}
.news-slider .owl-item div {
  background-size: cover;
  max-height: 195px;
  background-position: center;
  max-width: 370px;
}
.news-slider-nav svg {
  fill: #000;
}
.news-slider-nav {
  width: calc(100% + 30px)
}
.news-slider-nav div {
  opacity: 0.3;
}
.desktop-app .news-slider-nav div:hover,
.mobile-app .news-slider-nav div:active {
  opacity: 0.6;
}
.news-slider-nav .newsPreviousBtn {
  transform: rotate(180deg);
}

/* parners */
.home .partners {
  padding-top: 40px;
}
.home .partners:before,
.home .partners:after {
  content: "";
  display: block;
  clear: both;
}
.home .partners h2 {
  font-size: 40px;
  margin-bottom: 30px;
}
.page-id-235 {

}

/* footer */
.site-footer {
  margin: 80px -30px 0 -30px;
  width: calc(100% + 60px);
  background: #f6f8f9;
  border-top: 1px solid #eaeced;
  padding: 50px 0 60px 0;
  font-size: 14px;
  color: #545555;
}
.site-footer a {
  color: #545555;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.home .site-footer {
  margin-top: 35px;
}
.footer-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  user-select: none;
}
.site-footer p,
.site-footer .p {
  margin-bottom: 20px;
}
.page-id-24 .footer-title,
.page-id-24 .footer-contact {
  display: none;
}
.site-footer .valute-wrap {
  margin-top: 20px;
  position: relative;
}
.site-footer iframe {
  width: 100%;
}
.valute-footer {
  position: absolute;
  background: white;
  padding: 3px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  top: 5px;
  left: 7px;
}
#menu-social_links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#menu-social_links li {
  display: block;
  margin-right: 25px;
  margin-left: 0;
}
#menu-social_links li:nth-child(3) {
  margin-left: -4px;
}
#menu-social_links a {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  color: #000;
  font-size: 16px;
  text-decoration: none;
}
#menu-social_links a:hover {
  text-decoration: underline;
}
#menu-social_links svg {
  width: 21px;
  height: 21px;
  margin-right: 10px;
}
#menu-social_links svg.icon-youtube {
  width: 24px;
  height: 24px;
}
#menu-social_links svg.icon-skype {
  width: 27px;
  height: 27px;
}
#menu-social_links svg.icon-instagram {
  width: 27px;
  height: 27px;
}
.footer-logo {
  padding: 40px 0 70px 0;
  border-bottom: 1px solid #dddfe0;
}
.footer-logo .textwidget {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo .textwidget > div {
  flex-grow: 1;
  text-align: center;
  width: 25%;
}
.footer-logo svg{
  width: 135px;
  height: 85px;
}
.site-info {
  font-size: 16px;
  padding-top: 45px;
  color: #000;
}

/* cookie popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 1170px;
  max-width: 100%;
  padding: 0 15px;
  z-index: 100;
}
.cookie-popup-row {
  background: #536177;
  color: #fff;
  padding: 30px;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-popup-row div {
  padding-right: 15px;
}
.cookie-popup button {
  background: #fff;
  color: #536177;
  height: 40px;
  line-height: 39px;
  padding: 0 30px;
  border-radius: 4px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  display: block;
}
.cookie-popup button:hover {
  background: #d8d8d8;
}

/* mfp popup */
body img.mfp-img {
  max-width: 100%
}

@media (max-width: 1200px) {
  .site-footer .footer-info,
  .site-footer .footer-widgets {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .site-footer .footer-info {
    margin-bottom: 20px;
  }
  .footer-contact > div {
    text-align: left;
  }
  .site-footer .footer-widgets {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
  }
  .site-footer .footer-widgets > div {
    max-width: 358px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-logo {
    border-bottom: 0;
    padding-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .partner-slider-wrap .partner-slider-nav {
    width: 100%;
  }
  .partners .owl-buttons-wrap div {
    left: -30px;
    position: relative;
    width: 22px;
  }
  .partners .owl-buttons-wrap div:nth-child(2) {
    left: auto;
    right: -30px;
  }
  .site-footer {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}

@media (max-width: 991px) {
  .home .news-wrap {
    padding-left: 0;
    padding-right: 0;
  }
  .news-slider-wrap {
    padding: 0 30px;
  }
  .pagination a,
  .pagination span {
    margin: 0 15px;
  }
}

@media (max-width: 767px) {
  .home .news-wrap h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .home .news-wrap {
    padding: 30px 0 35px 0;
  }
  .home .news-wrap .row {
    margin-bottom: 5px;
  }
  .view-all-news {
    margin-top: 0;
  }
  .news-wrap .row > div {
    margin-bottom: 20px;
  }

  .home .partners h2 {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .site-footer {
    padding: 35px 0;
    margin-top: 40px;
  }
  .footer-logo {
    border-bottom: 1px solid #dddfe0;
  }
  .site-footer .footer-widgets {
    display: none;
  }
  .footer-contact .col-md-4 {
    margin-bottom: 20px;
    margin-top: 10px;
  }
  .footer-logo {
    padding-top: 20px;
    padding-bottom: 10px;
  }
  .cookie-popup-row {
    padding: 25px 20px 20px 20px;
    display: block;
    font-size: 12px;
  }
  .cookie-popup-row div {
    padding: 0 0 10px 0;
  }
  .site-info {
    padding-top: 15px;
  }
  .site-footer .footer-info {
    margin-bottom: 0;
  }
  .footer-logo .textwidget {
    flex-wrap: wrap;
  }
  .footer-logo .textwidget > div {
    width: 50%;
    margin-bottom: 5px;
  }
  .footer-logo .textwidget img {
    max-height: 70px;
    width: auto;
  }
  #menu-social_links {
    justify-content: center;
  }

  .news-slider .owl-item div {
    max-width: 100%;
  }

  .pagination-wrap {
    margin: 30px 0 0 0;
  }

  .pagination .page-numbers {
    display: none;
    width: 32px;
    margin: 0 5px;
  }
  .pagination .prev,
  .pagination .next,
  .pagination .current,
  .pagination .dots {
    display: block;
  }
  .pagination a.page-numbers:nth-child(1),
  .pagination a.page-numbers:nth-child(2),
  .pagination a.page-numbers:nth-last-child(1),
  .pagination a.page-numbers:nth-last-child(2) {
    display: block;
  }
}

@media (max-width: 550px) {
  .home .news-wrap {
    box-shadow: -100px 0 0 0 #f6f8f9, 100px 0 0 0 #f6f8f9
  }
  #menu-social_links {
    justify-content: flex-start;
  }
}

/* IE hack */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
   .cookie-popup button {
     min-width: 120px;
   }
   .home-links .home-links-block {
     padding-top: 20px;
   }
   select::-ms-expand {
       display: none;
   }
}

/* show load blocks */
#main,
.site-footer {
  opacity: 1;
}
#primary::before {
  display: none;
}

/* print */
@media print {
  body {
    margin-bottom: 20px;
    -webkit-print-color-adjust: exact !important;
  }
  #page .container {
    padding: 0;
  }
  .custom-header .widget_search,
  .custom-header .widget_custom_html,
  .custom-header .nav-wrap,
  .before-slider, .slider-wrap,
  .breadcrumb {
    display: none;
  }

  .site-content {
    margin-top: 20px;
  }
  .custom-header .logo-row {
    padding: 0!important;
  }

  .calc-input-info,
  .calc-hint-wrap,
  .input-wrap > span,
  .calc-button,
  .calculator-page .calc-buttons,
  #page #main .credits-ch a {
    display: none;
  }
  .calc-form {
    margin-top: 20px;
    margin-bottom: 5px;
  }
  .custom-header.sticky{
    position: static;
    box-shadow: none;
    padding: 0;
  }
  .calc-form .l-data {
    margin-bottom: 0;
    font-size: 16px!important;
  }
  .calc-form input[type="text"], .calc-form input[type="number"], .calc-form select {
    padding-left: 0!important;
    line-height: normal;
    background: none;
    border: 0;
  }
  .calc-form .row > div {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .calculator-page .col-lg-9 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .calculator-page .col-lg-3 {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    min-width: 100%;
    margin-left: 0;
  }
  .calc-res,
  .credits-ch {
    box-shadow: none;
    width: 50%;
    flex-grow: 1;
  }
  .calc-res li {
    padding: 0 0 23px 0;
  }
  .calc-res li::before {
    display: none;
  }
  .calc-form .l-type {
    background: none!important;
    color: #000;
    padding: 0;
    display: none;
    font-size: 14px!important;
  }
  .calc-form input:checked + label {
    display: block;
  }
  .calculator-page .table-tenders tfoot td {
    background-color: #f6f8f9!important;
  }
  .calc-res li:nth-child(5)::after {
    width: 100%;
    left: 0;
  }
  .calculator-page .col-lg-3 .calc-descr {
    display: block;
    margin: 0;
  }
  .calc-form  + .row {
    flex-direction: column-reverse;
  }
  .calc-form .l-data {
    display: block;
  }
  .site-footer {
    display: none;
  }
  .calc-input-end {
    position: static;
    display: inline-block;
    line-height: 40px;
    font-size: 14px!important;
  }
  .calc-input-end span {
    display: inline-block;
    margin-right: 7px;
  }
  .calc-gratie-res,
  .calc-finantare-res,
  .calc-suma-res {
    display: inline-block;
    line-height: 40px;
    vertical-align: top;
    font-size: 14px!important;
  }
  #calc-finantare,
  #calc-gratie,
  #calc-suma {
    display: none;
  }
  .table-tenders td {
    padding: 17px 10px;
  }
  #calculate-result {
    display: flex;
    flex-direction: column;
  }
  .calc-form .row {
    margin-top: 10px;
  }
  #calculate-result .col-lg-9 .calc-descr {
    display: none;
  }
  #calculate-result .col-lg-3 {
    margin-top: 20px;
  }
  .calc-form .row {
    display: inline;
    margin: 0;
  }
  .cr-type-row,
  .calc-form .row > div {
    display: inline-block;
    width: 49%;
    padding-left: 0;
    box-sizing: border-box;
    padding-right: 0;
    vertical-align: top;
  }
  .calc-form select{
    line-height: 40px;
    height: 40px;
    font-size: 14px;
  }
}
