body {
  font-family: Montserrat;
  /** Default font for the whole site. Works in conjunction with the Google font you import in index.html css area**/
  color: #fff;
  background:#000;
  position:relative;
}

/* Centered texts in each section */

.section {
  text-align: center;
}

/* Typography styles
* --------------------------------------- */
h1 {
  font-weight:100;
}


/* Backgrounds will cover all the section
* --------------------------------------- */

.section {
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-position:center;
  padding-top:5rem;
}


.slide {
  background-size: cover;
}

/* Defining each section background and styles
* --------------------------------------- */

#page1 {
  /* background-image: url(../images/bg_1.jpg); */
  background-color: #000;
  color: ;
}

#page2 {
  background-image: url(../images/bg_2.jpg);
  /* background-color:#000; */
  color: ;
}

#page3 {
  background-image: url(../images/bg_3.jpg);
  /* background-color:#000; */
  color: ;
}

#page4 {
  background-image: url(../images/bg_4.jpg);
  /* background-color:#000; */
  color: ;
}

#page5 {
  background-image: url(../images/bg_5.jpg);
  /* background-color:#000; */
  color: ;
}

#page6 {
  background-image: url(../images/bg_6.jpg);
   /*background-color:red;*/
  color: ;
}


/* Background Video related styles
* --------------------------------------- */

#myVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black;
  /* in case the video doesn't fit the whole page*/
  background-image: /* our video */
  ;
  background-position: center center;
  background-size: contain;
  object-fit: cover;
  /*cover video background */
  z-index: 3;
  opacity: 0.8;
  object-fit: cover;
}

/* Layer with position absolute in order to have it over the video
	* --------------------------------------- */

#page1 .layer {
  position: absolute;
  z-index: 4;
  width: 100%;
  left: 0;
  /*
		* Preventing flicker on some browsers
		* See http://stackoverflow.com/a/36671466/1081396  or issue #183
		*/
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/*solves problem with overflowing video in Mac with Chrome */

#section0 {
  overflow: hidden;
}

/* Hiding video controls
  	* See: https://css-tricks.com/custom-controls-in-html5-video-full-screen/
  	* --------------------------------------- */

video::-webkit-media-controls {
  display: none !important;
}

/** Small devices (landscape phones, 576px and smaller)**/

@media (max-width: 576px) {

h1 {
  padding-bottom:1rem;
}
.navbar-text {
  display:block;
  clear:both;
  width:100%;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.2);
}

a.nav-link {
  font-size:36px;
}

.my-gallery figure {
  width:45.5%;
    margin: 2%;
}

}

/*** Desktop and up ***/

@media (min-width: 577px) {

  h1 {
    padding-bottom:1.5rem;
  }
  .navbar-text {
    display:block;
    float:right !important;
  }

  a.nav-link {
    font-size:20px;
  }

  .my-gallery figure {
    width:23%;
      margin: 1%;
  }

}


/**** Full page overrides ***/

.fp-controlArrow.fp-prev {
  border-width: 15px 15px 15px 0;
    border-color: transparent rgba(255,255,255,0.5) transparent transparent;
}

.fp-controlArrow.fp-next {
  border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent rgba(255,255,255,0.5);
}

#fp-nav ul li a span, .fp-slidesNav ul li a span {
  background:#fff;
}

/* Social Stream overrides **/
.dcsns-toolbar  {
  display:none;s
}

/* Navbar overrides
* --------------------------------------- */
.navbar {
  color:#fff;
  background:rgba(0,0,0,0.9);
}

.navbar-light .navbar-nav .nav-link {
  color:#fff;
}

.navbar ul {
  margin:0 auto;
}

li.nav-item {
  padding: 0 1.5% 0 1.5% ;
}

nav {
  float:left;
  width:100%;
  z-index:900;
}

.navbar-nav {
  text-align:center;
}

.fa {
  margin:0 8px 0 8px;
}


/** custom toggler icon **/

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: 0;
}

.navbar-toggler span {
   display: block;
   background-color: #fff;
   height: 2px;
   width: 25px;
   margin-top: 4px;
   margin-bottom: 4px;
   -webkit-transform: rotate(0deg);
   -moz-transform: rotate(0deg);
   -o-transform: rotate(0deg);
   transform: rotate(0deg);
   position: relative;
   left: 0;
   opacity: 1;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
   -webkit-transition: transform .35s ease-in-out;
   -moz-transition: transform .35s ease-in-out;
   -o-transition: transform .35s ease-in-out;
   transition: transform .35s ease-in-out;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    position: absolute;
    left: 27px;
    top: 20px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    opacity: 0.9;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    height: 12px;
    visibility: hidden;
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    position: absolute;
    left: 27px;
    top: 20px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
    opacity: 0.9;
}



/* change the link color */
 a.nav-link {
    color: rgba(255,255,255,.9);
    font-weight:100;
}

/* gallery */
.gallerycontainer {
  padding-bottom:100px;
}

.my-gallery {
  padding:2rem 0 2rem 0;
  margin:0 auto;
}
.my-gallery img {
  width: 100%;
  height: auto;
  border-radius:5px;
}
.my-gallery figure {
  display: block;
  float: left;
}
.my-gallery figcaption {
  display: none;
}

/*** social feed ***/
.social-feed-element {
  margin-bottom:20px !important;
}

.social-feed-container {
  padding-bottom:200px !important;
}
