/* Web Elegance - Website Design and Development. Main stylesheet for Digital MAPR */

/* 
------------------------------------------------------------
--------------------- 1. GENERAL STYLE ---------------------
------------------------------------------------------------
*/

/* 
1.1. Browser Scroll Bar Styling ----------------------------
*/

::-webkit-scrollbar {
    width: 12px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

html {height:100%;}
html.ieedge{overflow: hidden;}

body, html {
	padding: 0;
	margin: 0;
	
	/* below is the fix for jittery background for IE browser 
	width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;  */
}

.wrapper {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-rows: 6fr auto 6fr;
	grid-gap: 0px;
	margin: 0;
}

/* 
1.2. Typography ------------------------------------------
*/
h1, h2, h3, h4, h5 {
	text-align: center;
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: bold;
}
p {
	
}


/* 
------------------------------------------------------------------
------------------------ 2. HEADER STYLE -------------------------
------------------------------------------------------------------
*/

/* 
2.1. Header on-scroll animation ----------------------------------
*/

body.scrolled header {
	background: #001a4d;
	border-bottom: 1px solid #001a4d;
	padding-bottom: 5px;
    transition: all .5s;
}
body.scrolled .logo-container {
	margin-top: -85px;
	transition: all .5s;
}
body.scrolled .logo-small {
	width: 50px;
	transition: all .5s;
}
body.scrolled nav {
	margin-left: -290px;
	transition: all .5s;
}
body.scrolled nav ul li a {
	color: #e6e6e6;
	transition: all .5s;
}
body.scrolled .dropdown_content ul {
	background: #001a4d;
    transition: all .5s;
}

/* 
2.2. Header general styling -------------------------------------
*/
header {
	position: fixed;
	z-index: 999;
	background: #fff;
	width: 100%;
	height: auto;
	border-bottom: 1px solid #ccc;
}

/* 
2.3. Logo container styling --------------------------------------
*/
.logo-container {
	position: relative;
	overflow: hidden;
	width: 100px;
	left: 50%;
	margin-left: -50px;
	opacity: 1;
	transform: all 0.5s;
	padding-bottom: 0px;
	padding-top: 7px;
}
.logo-container a {
	color: #000;
}
.logo {
	width: 100px;
}
.logo-small {
	width: 0px;
}
.logo-container:hover, .logo-small:hover {
	opacity: 0.6;
}


/* 
2.4. Navigation menu bar styling ----------------------------------
*/
nav {
	position: relative;
	padding-top: 10px;
	width: 540px;
	height: 44px;
	left: 50%;
	margin-left: -280px;
}
nav ul li {
	display: inline-block;
}
nav ul li a {
	font-family: 'Open Sans Condensed', sans-serif;
	/* font-family: 'Expletus Sans', cursive; */
	font-size: 16px;
	color: #000;
}
.nav_ul li a {
	padding: 10px;
}
.nav_ul li a:hover, .nav_ul li a:focus {
	text-decoration: underline;
}
nav ul li a.active {
	text-decoration: underline;
}
nav ul li a:hover, nav ul li a:focus {
	
}
nav ul li:hover, nav ul li:focus {
	
}

.dropdown {
	position: relative;
	display: inline-block;
}
.dropdown_content {
	margin-top: 7px;
}
.dropdown_content ul {
	display: none; /* hide to show on hover */
	position: absolute;
	background: #fff;
	width: 150px;
	box-shadow: 3px 10px 15px #4d4d4d;
}
.dropdown_content ul li {
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: -35px;
	list-style: none;
}
.dropdown:hover .dropdown_content ul, 
.dropdown:focus .dropdown_content ul {
	display: block;
	
} 

/* 
2.5. Mobile Navigation menu bar styling --------------------------
NOTE: initial state - hidden
*/
#trigger {
	display: none;
}
.mobile-nav {
	display: none;
}
.logo-small-mobile  {
	display: none;
}


/* 
------------------------------------------------------------------
------------------------ 3. FOOTER STYLE -------------------------
------------------------------------------------------------------
*/
footer {
	position: relative;
	background: #000;
	padding-top: 30px;
	left: 0;
	bottom: 0;
}
.footer-text {
	text-align: center;
	margin-bottom: 5px;
	color: #e6e6e6;
}
.footer-site-links {
	font-size: 14px;
}
.footer-developer-link, .footer-copyright {
	font-size: 12px;
}


/* 
------------------------------------------------------------------
---------------------- 4. SOCIAL BUTTONS -------------------------
------------------------------------------------------------------
*/
.fa-facebook, .fa-instagram, .fa-phone  {
	width: 35px;
	font-size: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 50%;
	margin: 5px 2px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	position: fixed;
	left: 0;
	z-index: 999;
	transition: all 0.5s;
} 
.fa-facebook {
	top: 175px;
	animation-delay: 1s;
	background: #002266;
}
.fa-instagram  {
	top: 215px;
	animation-delay: 2s;
	background: #cc3300;
}
.fa-phone {
	top: 255px;
	animation-delay: 3s;
	background: #000;
}
.fa-facebook:hover, .fa-facebook:focus,
.fa-instagram:hover, .fa-instagram:focus,
.fa-phone:hover, .fa-phone:focus {
  background: #b3ccff;
  color: #000;
  text-decoration: none;
}


/* 
4.1. Page Icons ------------------------------------------------ 
*/
.website-icon {
	width: 35px;
	height: auto;
}


/* 
------------------------------------------------------------------
-------------------- Main Area for All Pages ---------------------
------------------------------------------------------------------
*/
.inner-container {
	width: 80%;
	margin-left: 10%;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* 
------------------------------------------------------------------
-------------------- PAGE SPECIFIC STYLING: ----------------------
------------------------------------------------------------------

------------------------------------------------------------------
---------------------- 5. HOME PAGE STYLE ------------------------
------------------------------------------------------------------
*/
#main-box {
	margin-top: 0px;
	width: 100%;
	height: auto;
	margin-left: 0;
	margin-right: 0;
	background: #fff;
}
/* Slideshow */
.carousel {margin-top:-50px;;}
.carousel,.item,.active,.carousel-inner,.carousel .item img {
	height:100%;
	width: 100%;
}
.carousel-caption h2 {
	position: relative;
	margin-bottom: 105px;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 25px;
	color: #fff;
	text-shadow: 2px 2px 5px #000;
	width: 100%;
}
/* Fade effect */
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition: opacity 5s;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
  transition: opacity 5s;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 5s;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-control {
  z-index: 2;
}


/* Information Section 1 */
.information-section {
	width: 80%;
	margin-left: 10%;
	overflow: auto;
	margin-bottom: 20px;
	padding-bottom:20px;
	padding-top:20px;
}
.information-section h3 {
	font-family: 'Expletus Sans', cursive;
	font-weight: bold;
	color: #4d4d4d;
} 
.info-block h4 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: bold;
	color: #000;
}
.info-block {
	width: 20%;
	height: auto;
	margin-left: 4%;
	margin-top: 20px;
	text-align: justify;
	float: left;
	overflow: auto;
	border-bottom: 5px solid #fff;
	font-size: 13px;
}
.info-block a {
	display: block;
	color: #000d33;
	opacity: 1;
	transition: opacity 0.3s;
}
.info-block .block-img {
	width: 100%;
}
.info-block:hover, .info-block:focus {
	border-bottom: 5px solid #000d33;
}
/* Hovering images */
.view {
	display: block;
	position: relative;
	background: #fff;
	border: 1px solid #fff;
	color: #4d4d4d;
	cursor: default;
	overflow: hidden;
}
.view .mask,
.view .content {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  overflow: hidden;
}
.view-tenth .mask {
  background-color: #ccc;
  transition: all 0.5s linear;
  opacity: 0;
}
.view-tenth img {
  transform: scaleY(1);
  transition: all 1s ease-in-out;
}
.view-tenth:hover img {
  -webkit-transform: scale(7);
  transform: scale(7);
  opacity: 0;
}
.view-tenth h4 {
  background: transparent;
  margin: 20px 40px 0px 40px;
  transform: scale(0);
  color: #000d33;
  transition: all 0.5s linear;
  opacity: 0;
}
.view-tenth p {
  color: #000;
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
  opacity: 0;
  text-align: center;
  transform: scale(0);
  transition: all 0.5s linear;
}
.view-tenth a.info {
  text-align: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s linear;
  background: #000d33;
  color: #fff;
  width: 50%;
  margin-left: 25%;
  padding-top: 5px;
  padding-bottom: 5px;
}
.view-tenth:hover .mask {
  opacity: 1;
}
.view-tenth:hover h4,
.view-tenth:hover p,
.view-tenth:hover a.info {
  transform: scale(1);
  opacity: 1;
}

/* Section Parallax 1 */
section.module.parallax {
background-position: 50% 50%;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
section.module.parallax-2 {
height: 250px;
background-image: url("../images/home-page/parallax2.jpg");
}

/* Hyperlink buttons */
.button-link {
	position: relative;
	font-size: 30px;
	font-weight: bold;
	top: 110px;
	padding: 30px;
	transition: all 0.4s;
}
.button-link-one {
	border: 2px solid #000;
	color: #000;
	width: 200px;
	position: relative;
	left: 50%;
	margin-left: -105px;
	font-family: 'Expletus Sans', cursive;
}
body .scrolled-to-button .button-link {
	background: #4d4d4d;
	width: 400px;
	transition: all 0.5s;
}
a.button-link-two {
	position: relative;
	left: 50%;
	width: 270px;
	margin-left: -130px;
	border: 2px solid #000;
	color: #fff;
	background: #000;
	font-family: 'Expletus Sans', cursive;
}
.button-link:hover {
	color: #fff;
	background: #000;
	border: 2px solid #000;
	text-decoration: none;
	transition: all 0.4s;
	box-shadow: 5px 5px 20px #000;
}

/* Information Section 2: Testimonials */
.information-section2 {
	width: 100%;
	height: auto;
}
.information-section2 h2 {
	font-family: 'Expletus Sans', cursive;
	font-weight: bold;
	color: #000;
	padding-top: 10px;
}
.testimonials-text {
	width: 80%;
	margin-left: 10%;
	font-style: italic;
	padding-top: 20px;
}
.testimonials-author {
	text-align: right;
	width: 87%;
	font-weight: bold;
	padding-bottom: 20px;
}

/* Section Parallax 2 */
section.module.parallax {
background-position: 50% 50%;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
section.module.parallax-3 {
height: 250px;
background-image: url("../images/home-page/parallax1.jpg");
}


/* 
------------------------------------------------------------------
----------------- 6. OTHER PAGES GENERAL STYLE -------------------
------------------------------------------------------------------
*/
main {
	/* margin-top: 45px; */
	width: 100%;
	height: auto;
	margin-left: 0;
	margin-right: 0;
	background: #fff;
}
.page-banner {
	text-align: center;
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: bold;
	color: #000;
	border: 1px solid #ccc;
	padding-top: 20px; /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! FIXED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
	padding-bottom: 15px;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
}
.page-banner-other {
	text-align: center;
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: bold;
	color: #000;
	border: 1px solid #ccc;
	padding-top: 30px;
	padding-bottom: 10px;
	margin-left: 0;
	margin-right: 0;
	margin-top: -15px;
	padding-left: 0;
	padding-right: 0;
	background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
}
.page-banner h1 {
	position: relative;
	width: 100%;
	left: 0;
	padding-top: 70px;
	padding-bottom: 70px;
	background: rgba(0, 0, 0 , 0.5);
	color: #fff;
}
.page-banner-services {
	background-image: url(../images/banners/architecture_pexels.jpg); 
}
.page-banner-marketing {
	background-image: url(../images/banners/SEO_orig.jpg); 
}
.page-banner-advertising {
	background-image: url(../images/banners/photo-1434989407504-46a53b1b8a6d.jpg); 
}
.page-banner-pr {
	background-image: url(../images/banners/walking_people_pexels_stock_photo.jpg); 
}
.page-banner-about {
	background-image: url(../images/banners/rawpixel-com-323217.jpg);
}
.page-banner-philosophy {
	background-image: url(../images/banners/sky_and_the_scraper_pexels.jpg);
}
.page-banner-values {
	background-image: url(../images/banners/DigitalMAPR_paper_mockup_large.png); 
}
.page-banner-partners {
	background-image: url(../images/banners/rawpixel-com-296612.jpg);  
}
.page-banner-news {
	background-image: url(../images/banners/matthew-guay-148463.jpg);
}
.page-banner-contact {
	background-image: url(../images/banners/Phone-comm_Pexels.jpg); 
}

.all-page-text {
	padding: 100px;
}


/* 
------------------------------------------------------------------
-------------------- 7. SERVICES PAGE STYLE ----------------------
------------------------------------------------------------------
*/
.services-blocks a {
	display: block;
	width: 300px;
	overflow: auto;
}
.services-blocks a:hover, .services-blocks a:focus {
	opacity: 0.8;
}
.marketing-icon , .advertising-icon , .pr-icon {
	position: relative;
	float: left;
	padding-top: 15px;
	margin-left: 45px;
	margin-right: 15px;
}
.services-blocks h3 {
	font-family: 'Open Sans Condensed', sans-serif;
	padding-bottom: 10px;
	position: relative;
	float: left;
}

.services-blocks {
	width: 300px;
	margin-left: 40px;
	padding-bottom: 20px;
	position: relative;
	float: left;
	display: block;
}
.clearfix {
	clear: both;
}


/* 
------------------------------------------------------------------
---------------------- 8. CONTACT PAGE STYLE ---------------------
------------------------------------------------------------------
*/
.container-contact {
	width: 60%;
	height: auto;
	margin-left: 20%;
	overflow: hidden;
}
.contact-map {
	float: left;
	padding-top: 30px;
	padding-bottom: 30px;
}
#googleMap {
	width:460px;
	height:250px;
}
.contact-details {
	padding-left: 30px;
	padding-top: 10px;
	max-width: 40%;
	float: left;
	/* Clear applied to the item below (see in-line style) */
}
.contact-details a {
	display: block;
	width: 250px;
	overflow: auto;
}
.contact-details h3 {
	font-family: 'Open Sans Condensed', sans-serif;
	text-align: left;
}
.contact-icon {
	padding-top: 15px;
	padding-bottom: 5px;
	position: relative;
	float: left;
	margin-left: 0px;
	margin-right: 15px;
}


/* 
------------------------------------------------------------------
------------------------ 9. NEWS PAGE STYLE ----------------------
------------------------------------------------------------------
*/
.news-header {
	font-family: 'Open Sans Condensed', sans-serif;
	text-align: left;
	padding-left: 100px;
	padding-top: 50px;
}
.news-date {
	font-family: 'Open Sans Condensed', sans-serif;
	padding-left: 100px;
}
.news-page-text {
	padding-left: 100px;
	padding-right: 100px;
	padding-bottom: 100px;
}


/* 
------------------------------------------------------------------
--------------------- 10. SITEMAP PAGE STYLE ----------------------
------------------------------------------------------------------
*/
.site-map-h3 {
	text-align: left;
	padding-left: 20px;
	font-family: 'Expletus Sans', cursive;
}
.site-map-ul li {
	list-style: none;
}
.site-map-ul li a {
	text-decoration: underline;
}


/* 
------------------------------------------------------------------
-------------------------- MEDIA QUERIES -------------------------
------------------------------------------------------------------
*/
@media only screen and (max-width: 1290px) {
	/* Home page */
	.mask-text {
		display: none;
	}
	.mask h4 {
		padding-top: 20px;
	}
	.info {
		margin-top: 10px;
	}
}

@media only screen and (max-width: 1090px) {
	.mask h4 {
		padding-top: 0px;
	}
}

@media only screen and (max-width: 1024px) {
	.inner-container {
		width: 80%;
		margin-left: 10%;
	}
	.container-contact {
		width: 80%;
		margin-left: 10%;
	}
	.all-page-text {
		padding: 50px;
	}
	
	.news-header {
		padding-left: 50px;
		padding-top: 50px;
	}
	.news-date {
		padding-left: 50px;
	}
	.news-page-text {
		padding-left: 50px;
		padding-right: 50px;
		padding-bottom: 50px;
	}
}

@media only screen and (max-width: 1000px) {
	/* Home page */
	.information-section {
		width: 90%;
		margin-left: 5%;
	}
}

@media only screen and (max-width: 960px) {
	.contact-details {
		padding-left: 30px;
		padding-top: 10px;
		max-width: 80%;
	}
	#googleMap {
		width: 800px;
	}
}

@media only screen and (max-width: 880px) {
	/* Home page */
	#main-box {
		/* margin-top: 30px; */
	}
	.information-section {
		width: 100%;
		margin-left: 0%;
	}
	.info-block {
		width: 20%;
		height: 450px;
		margin-left: 4%;
		margin-top: 20px;
		text-align: justify;
		float: left;
		overflow: auto;
		border-bottom: 5px solid #fff;
		font-size: 12px;
	}
	.mask h4 {
		padding-top: 0px;
		margin-top: 20px;
	}
	
	.mission-statement {
		width: 80%;margin-left:10%;
	}
}

@media only screen and (max-width: 745px) {
	/* Home page */
	.block-description {
		display: none;
	}
	.info-block {
		height: auto;
	}
	.mask h4 {
		margin-top: 10px;
	}
}

@media only screen and (max-width: 690px) {
	.info-block {
		width: 44%;
	}
	.mask h4 {
		margin-top: 70px;
	}
}

@media only screen and (max-width: 600px) {
	.mask h4 {
		margin-top: 60px;
	}
	#googleMap {
		width: 480px;
	}
}

@media only screen and (max-width: 550px) {
	.mask h4 {
		margin-top: 50px;
	}
}

@media only screen and (max-width: 500px) {
	/* Mobile navigation menu */
	nav ul {
		display: none;
		width: 0;
	}
	.logo-small-mobile {
		display: block;
		position: relative;
		width: 0;
		height: 0;
	}
	#trigger {
		display: block;
		margin-top: -35px;
		padding-bottom: 15px;
		font-size: 14px;
		position: relative;
		left: 50%;
		margin-left: -20px;
		cursor: pointer;
	}
	.icon {
		display: none;
	}
	.menu-word {
		color: #000;
		text-decoration: none;
	}
	.menu-word:hover, .menu-word:focus {
		text-decoration: underline;
		transition: all .5s;
	}	
	.mobile-nav ul li {
		list-style: none;
		margin-left: 30px;
	}	
	body.scrolled header {
		border-bottom: 5px solid #cc3300;
	}
	body.scrolled .logo-small-mobile {
		width: 50px;
		height: auto;
		margin-top: -25px;
		margin-left: 30px;
		transition: all .5s;
	}
	body.scrolled #trigger {
		left: 92%;
		margin-left: -30px;
		margin-top: -40px;
		padding-bottom: 5px;
		cursor: pointer;
	}
	body.scrolled .icon {
		display: block;
		color: #f2f2f2;
		font-size: 26px;
		transition: all .5s;
		cursor: pointer;
	}
	body.scrolled .icon:hover, body.scrolled .icon:focus {
		color: #cc3300;
		transition: all .5s;
	}
	body.scrolled .menu-word {
		display: none;
	}
	body.scrolled .mobile-nav ul li {
		color: #f2f2f2;
	}
	
	/* Home page */
	#myCarousel {display:none;}
	.carousel-indicators {display: none;}
	
	/* Contact page */
	#googleMap {
		width: 400px;
	}
	
	.inner-container {
		width: 90%;
		margin-left: 5%;
	}
}

@media only screen and (max-width: 470px) {
	.mask h4 {
		margin-top: 40px;
	}
}

@media only screen and (max-width: 400px) {
	.mask h4 {
		margin-top: 30px;
	}
	
	#googleMap {
		width: 320px;
		height: 300px;
	}
}

@media only screen and (max-width: 380px) {
	.mask h4 {
		margin-top: 20px;
	}
}

@media only screen and (max-width: 360px) {
	.mask h4 {
		margin-top: 10px;
	}
}





