/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Miltec Digital GeneratePress child theme
 Author:       CB
 Author URI:   https://miltecdigital.co.uk
 Template:     generatepress
 Version:      0.1
*/

/* Set the main content area to a minimum of 65vh */
#main {
	min-height: 65vh;
}

html{scroll-behavior: smooth;}

body {
	background-color: var(--outside-container);
	overflow-x: hidden;
}

/* Site Wrapper to set overall site max width */
.site-wrapper {
	width: 100%;
	max-width: 1900px;
	background-color: var(--body);
} 


.gb-element-e59ba4eb .main-navigation .main-nav ul li a { color: #000000; font-family: Montserrat; font-weight:500; }
.gb-element-e59ba4eb .main-navigation .main-nav ul li a:hover { color: #000000; }
body.page-id-3929 .gb-container-15e85f95 a { color:#000000; }
body.page-id-3929 a.gb-text-a9d4f54a,
body.page-id-3929 a.gb-text-a50cfa26,
body.page-id-3929 a.gb-text-fdff7790,
body.page-id-3929 a.gb-text-e02d2392,
body.page-id-3929 a.gb-text-73177366 { color:#000000; }
body.page-id-3929 .button-red { background-color: #ffa41c; color:#000000; }


/* HELPER CLASSES */

/* Standard Shadow(s) */

.shadow-standard {
	box-shadow: 0px 5px 16px -5px rgba(33, 33, 33, 0.2);
	transition: all .2s ease-in;
}

.shadow-standard:hover {
	box-shadow: 0px 8px 32px 0px rgba(33, 33, 33, 0.1);
}

/* Max Width(s) */

.max-width-1024 {
	max-width: 1024px;
}


.max-width-768 {
	max-width: 768px;
}

.max-width-640 {
	max-width: 640px;
}

.max-width-480 {
	max-width: 480px;
}

/* Margin Auto */

.margin-auto{
	margin-left: auto;
	margin-right: auto;
}

/* Position Properties */

.relative{
	position: relative;
}

.absolute{
	position:absolute;
	top: 0px;
	left: 0px;
}

.sticky{
	position: sticky;
	top: 24px;
}

/* Image Aspect Ratios */

.aspect-1-1 img{
    aspect-ratio: 1/1;
	object-fit: cover;
}

.aspect-3-2 img{
    aspect-ratio: 3/2;
	object-fit: cover;
}

.aspect-2-3 img{
    aspect-ratio: 2/3;
	object-fit: cover;
}

.aspect-4-3 img{
    aspect-ratio: 4/3;
	object-fit: cover;
}

.aspect-3-4 img{
    aspect-ratio: 3/4;
	object-fit: cover;
}

.aspect-16-9 img{
    aspect-ratio: 16/9;
	object-fit: cover;
}

.aspect-9-16 img{
    aspect-ratio: 9/16;
	object-fit: cover;
}


.wp-block-navigation-link a { 
	margin: 0 15px;
}

.grid-container {
	max-width:unset;

}
.nav-float-right #site-navigation
{
  margin-left: auto;
  margin-right: inherit;
}

.nav-align-right .inside-navigation
{
  max-width: 1200px;
}

.navigation-branding
{
  width: 250px;
	padding: 5px 0;
}

.navigation-branding .site-logo
{
  padding: 0 8%;
}

.navigation-branding .site-logo img
{
  height: auto;
  width: 100%;
max-width: 250px;
}

@media (max-width: 1000px) {
.navigation-branding .site-logo img
{
  height: auto;
  width: 100%;
max-width: 350px;
}
}


@media (max-width: 768px) {
.navigation-branding .site-logo img
{
  height: auto;
  width: 100%;
max-width: 140px;
}
}

@media (max-width: 480px) {
.navigation-branding .site-logo img
{
  height: auto;
  width: 100px;

}
}

span.mobile-menu {
	display:none;
}

.gb-grid-wrapper {
	width: 100%;
	
}

.gb-block-image {
	line-height:0;
}

.fluentform .ff_t_c {
	font-family: lato;
	color: #ffffff;
}

.ff-default .ff_btn_style {
font-family: lato;
	font-size: 18px;
}

@media (max-width: 1024px) {
  .watermark {
    background-size: 700px auto !important;
	  background-position: 0px -100px !important;
  }
}

.no-sidebar .entry-content .alignfull {
	margin-left: auto !important;
	margin-right: auto !important;
}

.links a {
	text-decoration:none !important;
}

.gb-container-583f8166 a  {
	text-decoration:none !important;
}

a.gb-button,
a.gb-button:hover {
	color: #ffffff;
}

body.page-id-1777 .gb-container-45377779 .fluentform .ff_t_c {
	color: #3c3c3c;
}

.header-contact-row {
    position: sticky;
    top: 0;
	width: 100%;
	background-color: #fff;
	z-index: 99999;
}

nav#sticky-navigation {
	top: 36px !important;
	margin: 0 !important;
}

@media (max-width: 768px) {
nav#sticky-navigation {
	top: 56px !important;
}
}

.no-underline {
    text-decoration: none !important;
}

.no-underline a {
    text-decoration: none !important;
}

.fluentform .ff-el-is-error .text-danger {
	background-color: #ffffff;
	padding-left: 10px;
}

.ff-message-success {
	background-color: #ffffff;
}

body.error404 div.inside-article {
	padding-top: 50px;
	text-align:center;
}

@media (max-width: 1290px) and (min-width: 1081px) {
  .site-logo, .site-branding {
    margin-bottom: 0em !important;
  }
}

p.gb-headline-c9dc2fbc a {
	text-decoration: none !important;
}

.sticky-navigation-logo img {
	height: 65px !important;
	padding: 5px 20px !important;
}


@media (max-width: 1225px) and (min-width: 1081px) {
  .main-navigation .main-nav ul li a {
    padding-left: 15px;
	padding-right: 15px;
  }
	
	.main-navigation a { font-size: 18px; }
}