/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}



body {
	padding: 0;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0px;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	font-size: 1em;
	max-width: 1200px;
	min-width: 288px;
}
main {
	margin-left: 10px;
	margin-right: 10px;
}
p a , p a:visited{
	color: #5F3A11;
}


h1 {
	color: #5F3A11;
	font-size: 1.5em;
	width: 100%;
	text-align: center;
}

h2 {
	color: #5F3A11;
	font-size: 1.3em;
	text-align: center;
}
	
h3 {
	color: #5F3A11;
	font-size: 1.3em;
	text-align: center;
}

header {
	font-family: "Century Gothic", Arial, sans-serif;
	height: 132px;
	background: url(../images/calgary-small-job-home-renovations-repairs.jpg) no-repeat center;
	background-size: cover;
	margin: 0;
	position: relative;
	font-size: 16px;
}
header a.logo {
	position: absolute;
	display: block;
	width: 271px;
	height: 100px;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-image: url(../images/small-business-marketing-web-design-seo.png);
	background-size: contain;
	z-index: 1;
	top: 0;
	left: 0;
	margin-left: 1px;
	margin-top: 1px;
}
header a.logo span { display: none; }

nav {
	background-color: rgba(0,0,0,.6);
	position: relative;
	padding-top: 64px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
}
nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

nav ul::after {
	content: '';
	display: block;
	clear: both;
}
nav ul li:hover {
	background-color: #BC6464;
}


nav ul li:hover > ul {
	display: block;
}


nav ul li a {
	display: inline-block;
	padding: 10px 20px;
	color: #FFFFFF;
	text-decoration: none;
	width: 140px;
}
/* top level menu override */
nav > ul {
	padding: 0;
}
nav > ul > li {
	float: right;
	
}
nav > ul > li > a {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	width: auto;
}
nav > ul > li > a:visited {
	color: #FFFFFF;
}

.currentpage {
	background-color: #743232;
}

section {
	width: 100%;
	float: left;
	margin-bottom: 20px;
}
section ul li a , section ul li a:visited{
	color: #5F3A11;
}
.contactsection {
	padding-left: 40px;
	padding-right: 40px;
}
aside {
	float: right;
	border: 1px solid #000000;
	border-radius: 10px;
	background-color: #FFF6F6;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	margin-bottom: 26px;
}

ul li strong, p strong {
	color: #5F3A11;
}
footer {
	clear: both;
	background-color: #4D4D4D;
	padding-top: 30px;
	padding-right: 30px;
	padding-bottom: 30px;
	padding-left: 30px;
}
footer::after {
	content: '';
	display: block;
	clear: both;
}
footer p {
	color: #FFFFFF;
}
footer a , footer a:visited{
	color: #FFFFFF;
	text-decoration: none;
}
.footerleft {
	display: inline-block;
	float: left;
	position: relative;

}
.footerright {
	display: inline-block;
	position: relative;
	float: right;
	padding-top: 16px;
}
.highlight {
	color: #5F3A11;
	margin-left: 20px;
	margin-right: 20px;
}
.topLeftUL {
}
.bottomRightUL {
}
.somethingDifferent {
	background-color: #F0F2FF;
	border-radius: 10px;
	border: 1px solid #000000;
	margin-top: 10px;
	padding-bottom: 10px;
	padding-left: 5px;
	padding-right: 5px;
}
.gallery img  {
	margin-bottom: 5px;
}


@media (min-width: 780px){
.topLeftUL {
	float: left;
	/* [disabled]display: inline-block; */
	width: 49%;
}
.bottomRightUL {
	float: right;
	width: 49%;
}
.ulContainer  {
	display: inline-block;
}
header a.logo span {
	display: inherit;
}

.gallery {
	margin-top: 30px;
	display: grid;
	grid-template-columns: repeat(3, 200px);
	justify-content: center;
	align-content: center;
	grid-gap: 10px;
}

.gallery img {
	width: 200px;
	height: 200px;
	cursor: pointer;
	margin-bottom: 0px;
	object-fit: cover;
}
	
	.gallery img:hover {
		transform: scale(1.05);
	}

	.baguetteBox-button {
		background: rgba(0,0,0,0.50);
		border: none;
		color: #fff;
		font-size: 20px;
		padding: 10px;
		cursor: pointer;
		transition: transform 0.2s;
	}
	
	.baguetteBox-button:hover {
		background: rgba(0,0,0,0.8);
	}

}


@media (min-width: 1024px){
.mainSection {
	width: 66%;
}
aside {
	width: 32%;
	margin-top: 57px;
	float: right;
	}
.gallery {
	grid-template-columns: repeat(4, 200px);
	
}
	
}
