/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root {
  --blue: #192639;
  --gold: #d79d6a;
}

/* @font-face {
  font-family: 'Eurostile Regular';
  font-style: normal;
  font-weight: normal;
  src:
    local('Eurostile Regular'),
    url('http://mrcdev.mrctowers.com/wp-content/themes/mrc_generatepress_child/fonts/eurostile.woff')
      format('woff');
}

@font-face {
  font-family: 'EuroStyle Normal';
  font-style: normal;
  font-weight: normal;
  src:
    local('EuroStyle Normal'),
    url('http://mrcdev.mrctowers.com/wp-content/themes/mrc_generatepress_child/fonts/EuroStyle Normal.woff')
      format('woff');
} */

html {
  scroll-behavior: smooth;
}

.inside-article {
  min-height: calc(100vh - 647px);
}

.home #main {
  margin-top: 0;
  margin-bottom: 0;
}

#page {
  position: relative;
  z-index: 0;
}

.gb-menu-toggle {
  order: 4;
}

#menu-main .gb-menu-link {
  padding-top: 0;
  padding-bottom: 0;
}

#menu-main li:last-child {
  border-right: none;
}

#menu-item-25 {
  background-color: var(--blue);
}

.home .entry-header {
  position: absolute;
  left: -9999px;
}

.text-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}

.text-flex img {
  width: 75px;
}

#home-support-row > .kt-row-column-wrap {
  grid-template-columns:
    minmax(
      0,
      calc(
        26% -
          (
            (
                var(
                    --kb-default-row-gutter,
                    var(--global-row-gutter-md, 2rem)
                  ) *
                  2
              ) /
              3
          )
      )
    )
    minmax(
      0,
      calc(
        34.6% -
          (
            (
                var(
                    --kb-default-row-gutter,
                    var(--global-row-gutter-md, 2rem)
                  ) *
                  2
              ) /
              3
          )
      )
    )
    minmax(
      0,
      calc(
        38.4% -
          (
            (
                var(
                    --kb-default-row-gutter,
                    var(--global-row-gutter-md, 2rem)
                  ) *
                  2
              ) /
              3
          )
      )
    );
}

#home-map-row > .kt-row-column-wrap {
  grid-template-columns: repeat(7, 1fr);
}

#page ul {
  margin-left: 20px;
}

#page ul li {
  margin-bottom: 10px;
}

/*===========responsive===================*/

@media only screen and (max-width: 1302px) {
  .text-flex img {
    width: 60px !important;
  }
}

@media only screen and (max-width: 1170px) {
  #site-logo {
    width: 175px;
  }
}

@media only screen and (max-width: 1100px) {
  .home-map-title {
    font-size: 14px !important;
  }
}

@media only screen and (max-width: 1024px) {
  #home-map-row > .kt-row-column-wrap {
    grid-template-columns: repeat(3, 1fr);
  }

  #home-header-contact a {
    margin-bottom: 0;
  }

  #main-nav .gb-menu-container {
    height: 100vh;
    width: 300px !important;
  }

  #home-support-row > .kt-row-column-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  #menu-main .gb-menu-link {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media only screen and (max-width: 850px) {
}

@media only screen and (max-width: 600px) {
  .gb-menu-toggle {
    margin-left: auto;
  }

  #home-map-row > .kt-row-column-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}
