/*
 Theme Name:     NZC - Main Website
 Theme URI:      https://www.maker.co.nz
 Description:    New Zealand Couriers - Main website theme. (This is a child theme of WP Bootstrap Starter.)
 Author:         Maker
 Author URI:     https://www.maker.co.nz
 Template:       wp-bootstrap-starter
 Version:        0.1
*/


@import url("https://use.typekit.net/arg8osf.css");


/****************************************
*** Boostrap theme overwrite ***
*****************************************/
:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #D73647; /* overwrite */
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #D73647; /* overwrite */
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: "Raleway", Arial, sans-serif; /* overwrite */
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/****************************************
*** Theme customization starts below ***
*****************************************/

html{
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
	font-weight: 400;
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
	font-family: var(--font-family-sans-serif);
	-webkit-font-feature-settings: "lnum";
	-moz-font-feature-settings: "lnum";
	-ms-font-feature-settings: "lnum";
	-o-font-feature-settings: "lnum";
	font-feature-settings: "lnum";
	letter-spacing:.02rem;
	font-size: 16px;
}

/****************************************
*** WP BLOCK customization starts below ***
*****************************************/
a.wp-block-button__link:hover{
	text-decoration: unset;
}


/* General Styles */

.hide {
    display: none;
}

.showmobile {
	display:none;
}

.floatleft {
	float:left;
}

.floatright {
	float:right;
}

.right {
	text-align:right;
}

.red {
	color:var(--red);
}


/* Desktop Styles */

@media (min-width: 1200px) {
		
	.half-width {
		width:50%;
	}
    
}


/* Mobile Styles */

@media (max-width: 1485px) {
	
    .navbar-right .trackaparcel {
		display:none;
	}
    
}

@media (max-width: 1310px) {
	
    .navbar-right .openanaccount {
		display:none;
	}
    
}

@media (max-width: 1199px) {
	
	.hidemobile {
		display:none;
	}
	
	.showmobile {
		display:block !important;
	}

	.mobile_overflow {
		overflow-x: scroll;
	}

	.mobile_overflow iframe {
		max-width:none;
	}
}

@media (min-width: 1800px) {
	.mega-menu-wrap {
		padding-right:15%;
	}
}

@media (min-width: 2200px) {
	.mega-menu-wrap {
		padding-right:30%;
	}
}

/* nui commented out */
/* @media (min-width: 782px) {
	.wp-block-column:not(:first-child) {
		margin-left: 50px;
	}
} */

@media (max-width: 768px) {
	
	.hiderestricted {
		display:none;
	}
	
	.showrestricted {
		display:block;
	}
	
	
	/* --- Tool styling --- */
	
	/* - Buy courier products - */
	
	.product_wrap_header table tr td, .product_wrap table tr td {
		padding:10px;
	}
	
	.product_wrap_header table tr td:nth-of-type(1), .product_wrap table tr td:nth-of-type(1) {
		width:20%;
	}
	
	.product_wrap_header table tr td:nth-of-type(2), .product_wrap table tr td:nth-of-type(2) {
		width:30%;
	}
	
	.product_wrap_header table tr td:nth-of-type(3), .product_wrap table tr td:nth-of-type(3) {
		width:25%;
	}

	.product_wrap_header table tr td:nth-of-type(4), .product_wrap table tr td:nth-of-type(4) {
		width:25%;
	}
	
}



@keyframes mySlideInRight {
  from {
    transform: translateX(20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}
