body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Source Sans Pro';
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.content-section {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.content-section-heading h2 {
  font-size: 3rem;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .content-section-heading h1 {
    font-size: 2.5rem;
  }
  .content-section-heading h2 {
    font-size: 2rem;
  }
  .content-section-heading h3 {
    font-size: 1.5rem;
  }
  .content-section-heading h4 {
    font-size: 1rem;
  }
  .content-section-heading h5 {
    font-size: 1rem;
  }
  .content-section-heading h6 {
    font-size: 1rem;
  }
}


.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

/* Nav Menu */
.navbar {
  height: 80px;
  right: 0;
  top: 0;
  color: #fff;
  position: absolute;
  z-index: 990;
}

.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: white;
  background: rgba(52, 58, 64, 0.5);
  line-height: 45px;
}

.scroll-to-top:focus, .scroll-to-top:hover {
  color: white;
}

.scroll-to-top:hover {
  background: #343a40;
}

.scroll-to-top i {
  font-weight: 800;
}

.masthead {
  min-height: 30rem;
  position: relative;
  display: table;
  width: 100%;
  height: 100vh;
  padding-top: 8rem;
  padding-bottom: 8rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), url("../images/sandgrube.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.masthead h1 {
  font-size: 2rem;
}

.masthead h3 {
  font-size: 1rem;
}

@media (min-width: 576px) {
  .masthead h1 {
    font-size: 3.5rem;
  }
  .masthead h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .masthead h1 {
    font-size: 4.5rem;
  }
  .masthead h3 {
    font-size: 2.0rem;
  }
}

@media (min-width: 992px) {
  .masthead h1 {
    font-size: 5.5rem;
  }
  .masthead h3 {
    font-size: 2.5rem;
  }
}
	
.menu-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: rgba(52, 58, 64, 0.5);
  line-height: 50px;
  z-index: 999;
}

.menu-toggle:focus, .menu-toggle:hover {
  color: #fff;
}

.menu-toggle:hover {
  background: #343a40;
}

.service-icon {
  background-color: #fff;
  color: #1D809F;
  height: 7rem;
  width: 7rem;
  display: block;
  line-height: 7.5rem;
  font-size: 2.25rem;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}


.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 530px;
  margin: auto auto 1rem;
}

    .portfolio-item .caption {
        display: flex;
        height: 100%;
        width: 100%;
        background-color: rgba(29, 128, 159, 0.7);
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1;
    }

.portfolio-item .caption .caption-content {
  color: #fff;
  margin: auto 2rem 2rem;
}

.portfolio-item .caption .caption-content h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
  font-weight: 300;
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .portfolio-item {
    max-width: none;
    margin: 0;
  }
  .portfolio-item .caption {
    -webkit-transition: -webkit-clip-path 0.25s ease-out, background-color 0.7s;
    -webkit-clip-path: inset(0px);
    clip-path: inset(0px);
  }
  .portfolio-item .caption .caption-content {
    transition: opacity 0.25s;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 5rem;
  }
  .portfolio-item img {
    -webkit-transition: -webkit-clip-path 0.25s ease-out;
    -webkit-clip-path: inset(-1px);
    clip-path: inset(-1px);
  }

  .portfolio-item:hover img {
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
  .portfolio-item:hover .caption {
    background-color: rgb(29, 128, 159);
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
}

footer.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

footer.footer .social-link {
  display: block;
  height: 4rem;
  width: 4rem;
  line-height: 4.3rem;
  font-size: 1.5rem;
  background-color: #A5D7D2;	/* COLOR OF THE SOCIAL MEDIA LINK CIRCLES */
  transition: background-color 0.15s ease-in-out;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

footer.footer .social-link:hover {
  background-color: #155d74;
  text-decoration: none;
}

a {
  color: #1D809F;
}

a:hover, a:focus, a:active {
  color: #155d74;
}

.btn-primary {
  background-color: #A5D7D2 !important;
  border-color: #2D373C !important;
  color: #46505A !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #D2EBE9 !important;
  border-color: #2D373C !important;
}

.btn-dark {
  color: #fff !important;
}

.btn {
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.bg-primary {
  background-color: #A5D7D2 !important;
}

.text-primary {
  color: #2D373C !important;
}

.text-navbar-main {
  color: #fff;
}

.text-navbar {
  color: #000;
}

.carousel-item {
  height: 65vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.row {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.block {
	min-width: 100px;
	width: 16%
    display: inline-block;
	border-radius: 15px;
	box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border: 1px solid black;
	padding: 5px;
	margin: 0px 4px 0px 4px;
}​



.video-frame {
	min-height: 500px;
	height: auto;
}

.video-frame-big {
	min-height: 500px;
	height: auto;
}


.card-deck {
	width: 100%;
}

.card a{
	text-decoration: none;
	color: black;
}

a.default-a {
	text-decoration: underline !important;
	color: #2D373C !important;
}

.twt_wrap {
  text-align: center;
}
.twt_wrap > iframe {
  margin: auto;
}

.card {
  flex-basis: 100%;
  flex-grow: 0;
  flex-shrink: 0;
  max-width: 100%;
  min-width: 200px;
}

@media (min-width: 576px){
  .card {
    flex-basis: calc(50% - 30px); /* Remove margin from total card width */
    max-width: calc(50% - 30px); /* Remove margin from total card width */
  } 
}

@media (min-width: 768px) {
  .card {
    flex-basis: calc(50% - 30px); /* Remove margin from total card width */
    max-width: calc(50% - 30px); /* Remove margin from total card width */
  }
}

@media (min-width: 1200px) {
  .card {
    flex-basis: calc(50% - 30px); /* Remove margin from total card width */
    max-width: calc(50% - 30px); /* Remove margin from total card width */
  }
}