/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/*------------------------------------------------------------------
[Master Stylesheet]

Project:     	Interactive Media Management Website
Client:			Algonquin College
Version:        1
Author:         Hina Awan, Pujan Bhatt, Chuanyu Zhang, Albab Saifi
Team Name:      whileTrue



[Table of contents]

1. Globals
2. Header
3. Sections
4. Footer
5. Owl Carousel
6. Portfolio Page
7. Media Queries


[Color codes]

Primary Color: 		#006341;
Secondary Color: 	#212721;
Tertiary Color: 	#F8F9F8;
-------------------------------------------------------------------*/

/*--- Globals ---*/
html{
	scroll-behavior: smooth;
}

body{
	background-color: #fff;
	color: #212721;
}

.primary-color{
	color: #006341 !important;	/*green*/
}

.secondary-color{
	color: #212721 !important;	/*black*/
}

.tertiary-color{
	color: #F8F9F8 !important;	/*gray*/
}

.primary-bg{
	background-color: #006341 !important;	/*green*/
}

.secondary-bg{
	background-color: #212721 !important;	/*dark gray (almost black)*/
}

.tertiary-bg{
	background-color: #F8F9F8 !important;	/*gray*/
}

button:focus {
    -webkit-box-shadow: none;
            box-shadow: none;
    outline: 0;
}

/*--- Header ---*/

header > nav.navbar{
	background-color: #fff !important;
	color: #006341;
	-webkit-box-shadow: 0 0 2px #212721;
	        box-shadow: 0 0 2px #212721;
}

nav.navbar > a.navbar-brand > img{
	max-height: 64px;
}

header > nav.navbar #navbarCollapse{
    font-size: 1.25rem;
}

.navbar-light .navbar-nav .nav-link{
	color: #212721;
	font-weight: 500;
}

.navbar-light .navbar-nav .active>.nav-link{
	color: #006341;
}

header > nav.navbar #navbarCollapse a.btn{
    margin-right: 2%;
    margin-left: 0;
}

header > nav.navbar #navbarCollapse a.btn.primary-bg{
	border-color: #006341;
}

/*--- Sections ---*/
/* Program Highlights - Home page */

main section.program-highlights .polygon-overlay{
	clip-path: polygon(0 0, 73% 0%, 95% 100%, 0% 100%);
	-webkit-clip-path: polygon(0 0, 73% 0%, 95% 100%, 0% 100%);
	position: absolute;
	height: 100%;
	width: 32%;
	left: 0;
	top: 0;
	background: url('../../assets/images/program-highlights.jpg');
	z-index: 9;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

main section.program-highlights .media .highlight-para{
	line-height: 1.5;
}

main section.program-highlights .media .highlight-btn{
	border: 0;
	padding-left: 0;
}

main section.program-highlights .media .highlight-btn:hover{
	background-color: transparent;
    color: #006341;
}

/* Testimonials - Home Page */
main section.testimonial-section{
    width: auto;
    background-color: #e9ecef;
    margin-top: -1.5rem;
}


main section.testimonial-section .user-img{
	position: absolute;
	width: 6rem;
	height: 6rem;
	background-color: #000;
	left:0;
	border-radius: 50%;
	background:url(../../assets/images/testimonial1.jpg);
	background-size: contain;
}


main section.testimonial-section blockquote p{
	font-size: 1.6rem;
}

/* courses section */
main section.courses-section{
    width: auto;
}



/* Faculty - Home Page*/

main section.faculty-section{
    background-color: #F4F4F4;
}

/* Video - Home Page */
main section.video-section > article{
    padding-bottom: 3em;
}

main section.video-section > article > iframe{
	width: 85vw;
    height: 35vh;
}


/*--- Footer ---*/

footer.container-fluid.cta h3{
	font-size: 1.5rem;
}

footer.container-fluid{
    padding: 2%;
}

footer.container-fluid >img{
	max-height: 50px;
	margin-bottom: 2%;
}

footer.container-fluid div.footer-nav a{
	text-transform: uppercase;
}

footer.container-fluid div.footer-nav > a{
	margin: 0 2%;
}

footer.container-fluid div.footer-nav > a >i{
	font-size: 1.25em;
}

/*--- Owl Carousel ---*/
.owl-carousel.main-carousel{
	margin-top: 90px;
}

.owl-carousel.main-carousel img{
	height: inherit;
	-o-object-fit: cover;
	   object-fit: cover;
}


.owl-carousel.main-carousel .owl-stage-outer .owl-item{
    height: 50vh;
}

.owl-carousel.banner-carousel .owl-stage-outer .owl-item{
    height: 20vh !important;
}

.owl-carousel.banner-carousel .parallax-bg{
    background: url('../../assets/images/slide1.jpg');
    background-size: cover;
    background-position: center;
    height: 100%;
    background-attachment: fixed;
}

.owl-carousel.courses-carousel .owl-stage-outer .owl-item{
    height: 100%;
}

.owl-carousel.main-carousel .item{
	height: inherit;
  	position: relative;
}


.owl-carousel.courses-carousel .item{
	height: inherit;
  	position: relative;
	/*max-height: 400px;*/
}

.owl-carousel.courses-carousel img{
	height: inherit;
	-o-object-fit: cover;
	   object-fit: cover;
	min-height: 400px;
    max-height: 400px;
}

.owl-carousel .item .content{
	position: absolute;
    z-index: 9;
    color: #fff;
    width: 100%;
    height: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.owl-carousel .item .content h1{
	font-size: 2rem;
}

.owl-carousel.courses-carousel  .item .content{
	/*max-height: 400px;*/
	height: 100%;
}


.owl-carousel .item .content > h1{
	text-align: center;
	text-shadow: 0px 5px 5px #000;
}

.owl-carousel .item .content > h1 > span{
	font-weight: 800;
}

.owl-carousel .item .content > h1 > small{
	display: block;
    margin-top: 1em;
    font-size: 0.6em;
    text-shadow: none;
}

.owl-carousel .overlay{
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background-color: #006341;
	opacity: 0.75;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.owl-carousel.courses-carousel .overlay{
	background-color: #000000;
	opacity: 0.5;
	/*max-height: 400px;*/
}

.owl-carousel .overlay > h1{
	color: #fff;-ms-flex-item-align: center;-ms-grid-row-align: center;align-self: center;
}

.owl-carousel .owl-nav button.owl-next{
	right: 2%;
    position: absolute;
    top: 40%;
    font-size: 3em;
    color: #fff;
}

.owl-carousel .owl-nav button.owl-prev{
	left: 2%;
    position: absolute;
    top: 40%;
    font-size: 3em;
    color: #fff;
}

.btn:focus {
    outline: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
}

.head-banner{
	margin-top: 85px;
    height: 175px;
}



/*--- Portfolio Page ---*/

body#portfolio main .jumbotron.head-banner, body#faculty main .jumbotron.head-banner, body#testimonial main .jumbotron.head-banner{
    
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../images/slide1.jpg");
    
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/slide1.jpg");
    
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/slide1.jpg");

  /* Set a specific height */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;     
}

body#portfolio .overlay, body#faculty .overlay, body#testimonial .overlay{    
    position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background-color: #006341;
	opacity: 0.75;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

body#portfolio .jumbotron .content, body#faculty .jumbotron .content, body#testimonial .jumbotron .content{
	position: absolute;
    z-index: 9;
    color: #fff;
    width: 100%;
    height: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    left:0;
}


body#portfolio .header-txt, body#faculty .header-txt, body#testimonial .header-txt{
	text-align: center;    
    color:white;
    padding-top:5%;
    opacity:100%;    
	text-shadow: 0px 5px 5px #000;
}

body#portfolio section.container-fluid{    
    padding:2rem 2rem 1.5rem;     
}


body#portfolio .btn.filter {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
}


body#portfolio figure{
    width:380px;
    height:500px; 
    padding-bottom: 10%;    
}



body#portfolio figure img.img-fluid{
    max-width:100%;
    width:380px;
    height:inherit;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top;
       object-position: top;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;  
    -webkit-box-shadow: 0px 0px 5px 2px #eee;  
            box-shadow: 0px 0px 5px 2px #eee;
    border: 1px solid #eee; 
}

/* Modal Background */
body#portfolio .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
body#portfolio .modal-content {
  position: relative;
  background-color: #000;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* Close Button */
body#portfolio .close {
  color: white;
  position: absolute;
  top: 1rem;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

body#portfolio .close:hover,
body#portfolio .close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

body#portfolio .mySlides {
  display: none;
}

body#portfolio .cursor {
  cursor: pointer;
}

/* Next & previous buttons */

body#portfolio .modal a{    
    color:white;
    background-color: rgba(0, 0, 0, 0.8);
}

body#portfolio .prev,
body#portfolio .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;  
  font-weight: bold;
  font-size: 20px;
  -webkit-transition: 0.6s ease;
  -o-transition: 0.6s ease;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
body#portfolio .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


/* Number text (1/3 etc) */
body#portfolio .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

body#portfolio img {
    margin-bottom: -4px;
}

body#portfolio #myModal img{
    max-height: 200vh;
    -o-object-fit: contain;
       object-fit: contain;
    background-color: #000;
}

body#portfolio #gallery img{
	-webkit-transition: -webkit-transform 0.2s;
	transition: -webkit-transform 0.2s;
	-o-transition: transform 0.2s;
	transition: transform 0.2s;
	transition: transform 0.2s, -webkit-transform 0.2s;
}

body#portfolio #gallery img:hover {
	opacity: 0.9;
	-webkit-transform: scale(1.02);
	    -ms-transform: scale(1.02);
	        transform: scale(1.02);
}

body#portfolio .caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

body#portfolio .demo {
  opacity: 0.6;
}

body#portfolio .active,
body#portfolio .demo:hover {
  opacity: 1;
}

body#portfolio img.hover-shadow {
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

body#portfolio .hover-shadow:hover {
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


body#portfolio .download{
    padding-left:6rem;    
    
}
body#portfolio .download a{
    
    background-color: #212721 !important;	
}


/*--- Media Queries ---*/

@media (min-width: 320px){
	nav.navbar > a.navbar-brand > img {
	    max-height: 45px;
	}

	.owl-carousel.main-carousel .owl-stage-outer .owl-item {
	    height: 70vh;
	}
}

@media (min-width: 576px){

	footer.container-fluid.cta h3{
		font-size: 1.75rem;
	}

	.head-banner{
		margin-top: 65px;
	    height: 255px;
	}

	nav.navbar > a.navbar-brand > img{
		max-height: 45px;
	}

	main section.testimonial-section .user-img{
		width: 8rem;
		height: 8rem;
	}


	.owl-carousel.main-carousel{
		margin-top: 70px;
	}
}


@media (min-width: 768px) {


	header > nav.navbar #navbarCollapse a.btn{
	    margin-right: 2%;
	    margin-left: 6%;
	}
	main section.testimonial-section{
	    background-color: transparent;
	}
	main section.testimonial-section .user-img{
		width: 10rem;
		height: 10rem;
		left:-5rem;
	}
	main section.video-section > article > iframe{
		width: 80vw;
	    height: 40vh;
	}
	.owl-carousel.main-carousel .owl-stage-outer .owl-item{
	    height: 75vh;
	}
	.owl-carousel.banner-carousel .owl-stage-outer .owl-item{
	    height: 25vh !important;
	}
	body#portfolio figure{
	    width:380px;
	    height:230px; 
	    padding-bottom: 10%;    
	}
}

@media (min-width: 900px){

	.head-banner{
		margin-top: 35px;
	    height: 255px;
	}
}


@media (min-width: 1000px) {
	main section.video-section > article > iframe{
		width: 85vw;
	    height: 50vh;
	}
}

@media (min-width: 1200px) {
	main section.video-section > article > iframe{
		width: 85vw;
	    height: 65vh;
	}
}

/* end of media queries */