/*   
Theme Name: Alex
Theme URI: www.alexpetrachkov.com
Description: Project
Author: Andrew M
Author URI: 
Template: 
Version: 1.0
*/
html {
  position: relative;
  min-height: 100%;
  height: 100%; }

body {
  font-family: 'Montserrat', sans-serif;
  height: 100%; }

#wrap-all {
  display: flex;
  flex-direction: column;
  height: 100%; }

header {
  padding-top: 50px;
  flex: 0 0 auto; }

main {
  background-color: #FFF;
  flex: 1 0 auto; }

a:link, a:visited, a:hover, a:active {
  color: #000;
  text-decoration: none;
  outline: none !important; }

.page-header {
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  padding-top: 15px; }

.navbar-light .navbar-toggler {
  border: none;
  outline: none; }

#main-menu-social {
  display: none; }

#menu-main-menu {
  padding-right: 100px; }

#lang-block {
  display: none; }

nav.navbar {
  padding-bottom: 40px;
  align-items: flex-start; }
  nav.navbar a.navbar-brand {
    padding: 0 0 0 0px;
    font-weight: bold;
    text-align: center;
    display: block;
    box-sizing: content-box;
    white-space: normal; }
  nav.navbar a.navbar-brand span#first-line {
    display: block;
    font-size: 32px;
    line-height: 40px; }
  nav.navbar a.navbar-brand span#second-line {
    display: block;
    font-size: 16px;
    line-height: 20px; }
  nav.navbar li.nav-item a.nav-link {
    padding: 0 20px 0; }
  nav.navbar #navbarNav {
    justify-content: flex-end; }
    nav.navbar #navbarNav ul#menu-social-menu {
      padding: 0;
      margin: 0; }
      nav.navbar #navbarNav ul#menu-social-menu li {
        display: inline-block; }
    nav.navbar #navbarNav a.nav-link {
      font-size: 18px;
      line-height: 50px;
      color: #000;
      font-weight: bold; }
  nav.navbar .wpm-language-switcher {
    margin: 0;
    padding-left: 0;
    text-align: center; }
    nav.navbar .wpm-language-switcher img {
      display: none; }
    nav.navbar .wpm-language-switcher li {
      display: inline-block;
      padding: 4px 10px; }
      nav.navbar .wpm-language-switcher li span[data-lang] {
        /*color:red;*/ }
      nav.navbar .wpm-language-switcher li span {
        font-size: 12px;
        line-height: 24px;
        font-weight: bold;
        display: inline-block; }

footer {
  flex: 0 0 auto;
  background-color: #000;
  color: #fff;
  margin-top: 120px;
  padding-bottom: 100px; }
  footer h2 {
    padding-top: 100px;
    padding-bottom: 240px; }
  footer .footer-info {
    font-size: 24px;
    line-height: 38px;
    font-weight: bold;
    color: #fff; }
    footer .footer-info ul {
      padding: 0; }
      footer .footer-info ul li {
        display: inline-block; }
    footer .footer-info a {
      color: #fff;
      padding-right: 30px; }
    footer .footer-info .mail {
      font-size: 32px; }
  footer .copyright {
    padding-top: 65px;
    font-size: 16px;
    line-height: 20px; }

.button {
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  background: #0B0505;
  height: 65px;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px; }

p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500; }

h1 {
  font-size: 62px;
  line-height: 78px; }

h2 {
  font-size: 62px;
  line-height: 78px; }

h3 {
  font-size: 40px;
  line-height: 48px; }

h4 {
  font-size: 32px;
  line-height: 40px; }

h5 {
  font-size: 24px;
  line-height: 28px;
  padding-bottom: 20px; }

h1, h2, h3, h4, h5 {
  font-weight: bold;
  margin: 0; }

.seeall {
  font-size: 16px;
  line-height: 16px;
  font-weight: bold;
  background: url("../assets/images/arrow-short.png") no-repeat;
  background-position: right 50%;
  padding-right: 50px;
  display: inline-block; }

a.back-button {
  display: inline-block;
  width: 165px;
  height: 20px;
  background: url("../assets/images/arrow-back.png") no-repeat;
  background-position: left 50%;
  padding-left: 45px;
  font-size: 16px;
  line-height: 20px;
  }

.arrow {
  background: url("../assets/images/arrow-middle.png") no-repeat;
  display: inline-block;
  width: 100%;
  height: 32px;
  line-height: 32px; }

.arrow-middle {
  background-position: 0 50%; }

.arrow-short {
  background-position: -80px 50%; }

/*---------------Images----------------------*/
.featured-img-caption {
  text-align: center;
  font-size: 12px;
  padding-top: 10px; }

.news-item {
  padding-bottom: 100px; }
  .news-item img {
    width: 100%;
    height: auto;
    padding-bottom: 40px; }

.news-item-text img,
.project-item-text img {
  padding-top: 145px; }

/*-----------Static page------------------*/
.row.post .post-thumbnail {
  text-align: center; }
  .row.post .post-thumbnail img {
    max-width: 85%;
    height: auto; }

/*------------Grid Structure--------------------------*/
h1 {
  padding-top: 90px;
  padding-bottom: 120px; }

h2 {
  padding-top: 50px;
  padding-bottom: 50px; }

h3 {
  padding-bottom: 30px; }

h4 {
  padding-bottom: 30px; }

.grid-item-projects,
.grid-item-news {
  padding-bottom: 100px; }
  .grid-item-projects h3,
  .grid-item-news h3 {
    padding-top: 40px;
    padding-bottom: 20px; }
  .grid-item-projects h5,
  .grid-item-news h5 {
    padding-top: 40px;
    padding-bottom: 20px; }
  .grid-item-projects p,
  .grid-item-news p {
    padding-bottom: 0px;
    margin-bottom: 0px; }
  .grid-item-projects .arrow-middle,
  .grid-item-news .arrow-middle {
    margin-top: 32px; }

.img-wrapper {
  display: block;
  text-align: center; }
  .img-wrapper img {
    max-width: 100%;
    height: auto; }

.carousel-item .img-wrapper-slider {
  display: flex; }
  .carousel-item .img-wrapper-slider img {
    margin: auto;
    max-width: 100%;
    max-height: 100%; }

/*------------Main Page  -------------------*/
#main-page h2 {
  display: flex;
  justify-content: space-between; }

#main-page h2#projects {
  padding-top: 100px; }

#main-page .grid-item-projects,
#main-page .grid-item-news {
  padding-bottom: 60px; }

/*---------Main Page Carousel--------------*/
#main-page-top #main-slider-text {
  display: flex;
  flex-wrap: wrap;
  align-content: center; }

#main-page-top h2 {
  padding-top: 0px;
  padding-bottom: 20px; }

#main-page-top .carousel-item .img-wrapper-slider {
  height: 525px;
  padding: 0 6%; }

#main-page-top .carousel-indicators {
  margin: 0; }
  #main-page-top .carousel-indicators li {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #000;
    margin: 0 12px;
    color: #000;
    display: inline-block; }
  #main-page-top .carousel-indicators li.active {
    background: #000; }

#main-page-top .carousel-control-next-icon {
  background: url("../assets/images/arrow-main.png") no-repeat;
  background-position: 100% 50%;
  width: 274px;
  height: 32px;
  position: relative; }

#main-page-top .carousel-control-next {
  width: 25%; }

/*------------Page Project-item-------------------*/
.row.project-item-page h5 {
  padding-top: 40px; }

.gallery-description p {
  padding-top: 40px; }

.project-item-slider {
  padding-top: 50px; }
  .project-item-slider .carousel-item .img-wrapper-slider {
    display: flex;
    height: 524px; }
    .project-item-slider .carousel-item .img-wrapper-slider img {
      margin: auto;
      max-width: 100%;
      max-height: 100%; }
  .project-item-slider .carousel-inner {
    max-height: 100%;
    max-width: 100%; }
  .project-item-slider .carousel-item {
    max-height: 100%;
    max-width: 100%; }
  .project-item-slider .carousel-item {
    text-align: center; }
    .project-item-slider .carousel-item img {
      max-height: 100%;
      max-width: 100%;
      display: inline-block; }
  .project-item-slider .carousel-control-prev,
  .project-item-slider .carousel-control-next {
    height: calc(100% - 36px); }
  .project-item-slider .carousel-control-prev-icon {
    background: url("../assets/images/arrow-left.png") no-repeat;
    background-position: 0 50%;
    width: 106px;
    height: 32px;
    position: relative;
    right: 70%; }
  .project-item-slider .carousel-control-next-icon {
    background: url("../assets/images/arrow-right.png") no-repeat;
    background-position: 100% 50%;
    width: 106px;
    height: 32px;
    position: relative;
    left: 70%; }
  .project-item-slider .carousel-caption p {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    min-height: 36px;
    box-sizing: content-box; }
  .project-item-slider .carousel-caption {
    min-height: 26px; }

.carousel-control-prev, .carousel-control-next {
  opacity: 1;
  transition: none; }

/*---------Contacts-----------*/
.contacts h4 {
  padding-top: 80px; }

.contacts h2 {
  padding-bottom: 40px; }

#ap-contact-form label, #ap-contact-form span, #ap-contact-form input {
  width: 100%; }

#ap-contact-form input {
  height: 48px;
  line-height: 48px;
  border: 1px solid #000;
  padding: 0 20px;
  box-sizing: border-box; }

#ap-contact-form textarea {
  height: 148px;
  width: 100%;
  border: 1px solid #000;
  padding: 18px 20px 18px; }

#ap-contact-form input[type="submit"] {
  margin-top: 20px;
  padding-right: 40px;
  height: 40px;
  width: 80%;
  max-width: 300px;
  line-height: 40px;
  background-color: #000;
  color: #fff;
  font-size: 16px;
  background: #000 url("../assets/images/arrow-short-white.png") 95% 50% no-repeat; }

#ap-contact-form p {
  margin: 0;
  margin-bottom: 20px; }

#ap-contact-form .wpcf7-response-output.wpcf7-mail-sent-ng {
  display: none; }

#ap-contact-form .wpcf7-response-output {
  display: none; }

/*---------Sticky footer------*/
/*-------------------------------------------------------------------*/
/*                                                                   */
/*               992 <  Large  < lg=1200                             */
/*                            container: 960px                       */
/*-------------------------------------------------------------------*/
@media (min-width: 0px) and (max-width: 1199.98px) {
  .project-item-slider {
    padding-top: 70px; }
    .project-item-slider .carousel-item .img-wrapper-slider {
      height: calc((930 / 1110) * 524px); }
  #main-page-top .carousel-item .img-wrapper-slider {
    height: calc((930 / 1110) * 524px); }
  #main-page-top h2 {
    font-size: 42px;
    line-height: 48px; } }

/*-------------------------------------------------------------------*/
/*                                                                   */
/*               0 <  Mobile and Middle < lg=992                     */
/*                            container: 720px                       */
/*-------------------------------------------------------------------*/
@media (min-width: 0px) and (max-width: 991.98px) {
  /*
#navbarNav.navbar-collapse.collapse{
min-height:calc(100vh - 40px);
}

nav.navbar a.navbar-brand{display:none;}
.navbar.navbar-expand-lg{justify-content:end;}
*/
  #lang-block-lg {
    display: none; }
  #lang-block {
    display: none;
    height: 60px; }
  header {
    padding-top: 30px; }
  #menu-main-menu {
    padding-right: 0px; }
  ul#menu-main-menu {
    margin-top: 75px; }
  .navbar-nav {
    text-align: center;
    font-weight: bold; }
  nav.navbar {
    padding-bottom: 20px; }
  nav.navbar a.navbar-brand {
    padding: 0 0 0 0px; }
  nav.navbar #navbarNav a.nav-link {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 100px; }
  #main-menu-social {
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 40px; }
    #main-menu-social a {
      padding: 0 10px 0; }
  .arrow {
    background: url("../assets/images/arrow-small.png") no-repeat;
    background-position: 0 50%;
    height: 32px;
    line-height: 32px; }
  .seeall {
    font-size: 12px;
    background: url("../assets/images/seeall-arrow-mobile.png") no-repeat;
    background-position: right 50%;
    padding-right: 30px;
    line-height: 48px; }
  a.back-button {
    display: inline-block;
    width: 165px;
    height: 20px;
    background: url("../assets/images/arrow-back-sm.png") no-repeat;
    background-position: left 60%;
    padding-left: 60px;
    font-size: 12px;
    line-height: 20px;
    margin: 0; }
  p {
    font-size: 12px;
    line-height: 18px; }
  h2 {
    font-size: 40px;
    line-height: 48px; }
  h3 {
    font-size: 24px;
    line-height: 28px; }
  h5 {
    font-size: 16px;
    line-height: 20px; }
  .gallery-description p {
    padding-top: 30px; }
  /*---------Middle Grid System----------*/
  h1 {
    padding-top: 20px;
    padding-bottom: 40px; }
  h2 {
    padding-top: 20px;
    padding-bottom: 40px; }
  .grid-item-projects h5, .grid-item-news h5 {
    padding-top: 30px;
    padding-bottom: 10px; }
  .grid-item-projects h3, .grid-item-news h3 {
    padding-top: 25px;
    padding-bottom: 15px; }
  .grid-item-projects, .grid-item-news {
    padding-bottom: 50px; }
  .grid-item-projects .arrow-middle, .grid-item-news .arrow-middle {
    margin-top: 16px; }
  .news-item-text img, .project-item-text img {
    padding-top: 80px; }
  /*-------Middle Main Page-----*/
  #main-page-top .carousel-item .img-wrapper-slider {
    height: calc((690 / 1110) * 524px); }
  #main-page-top {
    padding-top: 40px; }
    #main-page-top h2 {
      padding-top: 0;
      padding-bottom: 30px; }
    #main-page-top .carousel-control-next-icon {
      background: url("../assets/images/main-arrow-middle.png") no-repeat;
      background-position: 100% 50%;
      width: 274px;
      height: 32px;
      position: relative; }
    #main-page-top .carousel-indicators li {
      width: 6px;
      height: 6px;
      border-radius: 4px;
      border: 1px solid #000;
      margin: 0 12px;
      display: inline-block; }
  #main-page h2#projects {
    padding-top: 60px; }
  #main-page .grid-item-projects,
  #main-page .grid-item-news {
    padding-bottom: 40px; }
    #main-page .grid-item-projects h3,
    #main-page .grid-item-news h3 {
      padding-top: 20px;
      padding-bottom: 16px; }
    #main-page .grid-item-projects h5,
    #main-page .grid-item-news h5 {
      padding-top: 20px;
      padding-bottom: 16px; }
    #main-page .grid-item-projects .arrow-middle,
    #main-page .grid-item-news .arrow-middle {
      margin-top: 10px; }
  .project-item-slider {
    padding-top: 40px; }
    .project-item-slider .carousel-item .img-wrapper-slider {
      height: calc((690 / 1110) * 524px); }
    .project-item-slider .carousel-control-prev,
    .project-item-slider .carousel-control-next {
      height: calc(100% - 36px); }
    .project-item-slider .carousel-control-prev-icon {
      background: url("../assets/images/arrow-left-md.png") no-repeat;
      background-position: 0 50%;
      width: 73px;
      height: 8px;
      position: relative;
      right: 70%; }
    .project-item-slider .carousel-control-next-icon {
      background: url("../assets/images/arrow-right-md.png") no-repeat;
      background-position: 100% 50%;
      width: 73px;
      height: 8px;
      position: relative;
      left: 70%; }
    .project-item-slider .carousel-caption p {
      padding-top: 10px;
      padding-bottom: 10px;
      margin-bottom: 0;
      font-size: 12px;
      line-height: 16px;
      text-align: center;
      min-height: 36px; }
  /*-----------Static page------------------*/
  .row.post .post-thumbnail {
    text-align: center; }
    .row.post .post-thumbnail img {
      max-width: 60%;
      height: auto; }
  footer {
    margin-top: 50px; }
    footer h2 {
      padding-top: 50px;
      padding-bottom: 40px; }
    footer .footer-info {
      padding-bottom: 20px;
      font-size: 12px;
      line-height: 24px;
      font-weight: bold;
      color: #fff; }
      footer .footer-info .mail {
        font-size: 22px;
        padding: 0; }
    footer .copyright {
      padding-top: 20px;
      font-size: 8px;
      line-height: 12px; } }

/*-------------------------------------------------------------------*/
/*                                                                   */
/*              576 sm<  Middle <md 768                                 */
/*               container: 540px                                    */
/*-------------------------------------------------------------------*/
@media (max-width: 767.98px) {
  #lang-block {
    height: 33px; }
  ul#menu-main-menu {
    margin-top: 75px; }
  nav.navbar a.navbar-brand {
    padding: 0 0 0 35px; }
  nav.navbar a.navbar-brand span#first-line {
    font-size: 16px;
    line-height: 20px; }
  nav.navbar a.navbar-brand span#second-line {
    font-size: 10px;
    line-height: 12px; }
  nav.navbar #navbarNav a.nav-link {
    font-size: 32px;
    line-height: 32px;
    margin-bottom: 50px; }
  a.back-button {
    margin-bottom: 0px;
    background: url("../assets/images/arrow-back-xsm.png") 0 50% no-repeat;
    padding-left: 42px; }
  #main-slider {
    padding-bottom: 40px; }
  #main-page-top .carousel-item .img-wrapper-slider {
    height: calc((600 / 1110) * 524px); }
  #main-page-top h2 {
    padding-top: 20px;
    font-size: 40px;
    line-height: 40px; }
  #main-page h2#projects {
    padding-top: 20px; }
  #main-page .grid-item-projects,
  #main-page .grid-item-news {
    padding-bottom: 50px; }
  .project-item-slider .carousel-item .img-wrapper-slider {
    height: calc((600 / 1110) * 524px); } }

/*-------------------------------------------------------------------*/
/*                                                                   */
/*               0<  Mobile and Middle <576px                        */
/*                                                                   */
/*-------------------------------------------------------------------*/
@media (max-width: 575.98px) {
  p {
    font-size: 12px; }
  h2 {
    font-size: 32px;
    line-height: 38px;
    padding-top: 20px;
    padding-bottom: 36px; }
  .seeall {
    font-size: 12px;
    background: url("../assets/images/seeall-arrow-mobile.png") no-repeat;
    background-position: right 50%;
    line-height: 38px;
    padding-right: 30px; }
  /*------------Main Page  -------------------*/
  ul#menu-main-menu {
    margin-top: 75px; }
  .featured-img-caption {
    text-align: center;
    font-size: 10px;
    padding-top: 10px; }
  #main-page-top .carousel-item .img-wrapper-slider {
    height: calc((600 / 1110) * 524px); }
  #main-page-top .carousel-control-next-icon {
    background: url("../assets/images/main-arrow-middle.png") no-repeat;
    background-position: 100% 50%;
    width: 274px;
    height: 32px;
    position: relative; }
  #main-page-top h2 {
    padding-top: 20px;
    padding-bottom: 20px; }
  #main-page h2#projects {
    padding-top: 20px; }
  .news-item-text img,
  .project-item-text img {
    padding-top: 25px; }
  .news-item-text img {
    padding-top: 20px; }
  .arrow.arrow-middle {
    display: none; }
  .gallery-description p {
    padding-top: 10px; }
  .carousel-control-prev-icon {
    display: none; }
  .row.project-item-page h5 {
    padding-top: 20px; }
  .project-item-slider .carousel-item .img-wrapper-slider {
    height: calc((550 / 1110) * 524px); }
  .project-item-slider {
    padding-top: 40px; }
    .project-item-slider .carousel-control-prev,
    .project-item-slider .carousel-control-next {
      height: calc(100% - 40px); }
    .project-item-slider .carousel-control-prev-icon {
      display: none; }
    .project-item-slider .carousel-control-next-icon {
      display: none; }
    .project-item-slider .carousel-caption p {
      padding-top: 10px;
      padding-bottom: 10px;
      margin-bottom: 0;
      font-size: 8px;
      line-height: 10px;
      text-align: center;
      min-height: 40px; }
  /*---Contacts---*/
  #ap-contact-form p {
    display: flex;
    justify-content: center; }
  #ap-contact-form input[type="submit"] {
    font-size: 12px; } }

@media (max-width: 389.98px) {
  .carousel-item .img-wrapper-slider {
    height: calc((460 / 1110) * 524px); } }

@media (max-width: 339.98px) {
  .carousel-item .img-wrapper-slider {
    height: calc((400 / 1110) * 524px); } }

/*----------------------------------------------------------*/
/*                                                          */
/*          Top Social Mobile  Button Toggler               */
/*                                                          */
/*----------------------------------------------------------*/
.icon-bar {
  width: 22px;
  height: 3px;
  background-color: #000;
  display: block;
  transition: all 0.2s;
  margin-top: 3px; }

.navbar-toggler {
  border: none;
  background: transparent !important; }

.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%; }

.navbar-toggler .middle-bar {
  opacity: 0; }

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%; }

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0); }

.navbar-toggler.collapsed .middle-bar {
  opacity: 1; }

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0); }

nav.navbar .navbar-brand {
  transition: all 2s ease; }
