html {
	scroll-behavior: smooth;
  margin: 0;
}

video:focus {outline:0;}

body {
  background-image: url("images/building.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: Roboto, sans-serif;
  position: relative;
  margin: 0;
}

.navbar {
	box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}
.navbar-nav > li {
  font-family: "HelveticaNeue-CondensedBold", Roboto, Avenir, Lato, "Helvetica Neue", sans-serif, arial; 
  font-stretch: condensed;
  padding-left:10px;
  padding-right:10px;
  font-size: 14px;
}

ul li {
  font-size: 16px;
}

.noindent ul {
  padding: 0;
  list-style-type: none;
}


.emdash-blue {
  color: #0B668B;
}

.videotitles {
  font-size: 20px;
  font-weight: 400;
}

.text-left {
  text-align: left;
}

/*VIDEO BACKGROUND*/

.full-screen-video-container {
  position: relative;
  width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.full-screen-video-container video {
  z-index: -1;
  position: fixed;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

/* OPACITY CLASSES */
.opacity-50 {
  opacity: 0.5; }


/* HERO TEXT */

.showcase h1 {
	font-family: "Lato", sans-serif;
	text-transform: uppercase;
  font-size: 52px;
}

.showcase p {
	font-family: Roboto, sans-serif;
	font-weight: 300;
	font-size: 22px;
}
.showcase h1, .showcase p {
	color: white;
}

.showcase hr {
	border-color: rgba(255,255,255, 0.4);
	border-width: 2px;
}

.main {
	font-family: Roboto, sans-serif;
	font-weight: 300;

}

.main h1, .main h2, .main h4 {
	font-weight: 400;
}

.white {
	background-color: #ffffff;
}

.grey {
	background-color: #F8F8F8;
}

/* BACK BUTTON */
a:hover {
  cursor:pointer;
 }

/* STRUCTFORM INTERNATIONAL */

.section-title {
  font-family: 'Roboto', sans-serif;
	font-weight: 300;
}
/* TAB IN STRUCTFORM INTERNATIONAL */
 .tabs {
	display: flex;
	flex-wrap: wrap; // make sure it wraps
}
/* inactive tab */
.tabs label {
	order: 1; // Put the labels first
	display: block;
	padding: 1rem 2rem;
  margin-right: 0.2rem;
  margin-bottom: 0;
	cursor: pointer;
  background: #485B6B;
  color: #ADB9C3; 
  font-weight: 300;
  text-transform: uppercase;
  transition: background ease 0.2s;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
}

.tabs .tab {
  order: 99; // Put the tabs last
  flex-grow: 1;
	width: 100%;
	display: none;
  padding: 1rem;
  background: #F2F2F2;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}
.tabs input[type="radio"] {
	display: none;
}

/* active tab */
.tabs input[type="radio"]:checked + label {
  background: #F2F2F2;
  font-weight: bold;
  color: #2B2B2B;
}
.tabs input[type="radio"]:checked + label + .tab {
	display: block;
}

.grey-two{
  background-color: #F2F2F2;
}

@media (max-width: 45em) {
  .tabs .tab,
  .tabs label {
    order: initial;
  }
  .tabs label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}


/*PROJECTS*/

.projects img {
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.caption {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

.caption h5 {
	font-family: Roboto, sans-serif; 
	font-weight: 400;
	font-size: 16px;
	color: #F2F2F2;
}

.caption button {
  border: #D9D9D9 solid 1px;
  border-radius: 24px;
  text-decoration: none;
  font-family: Roboto, sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  padding: 4px 30px 4px 30px;
  background: none;
  color: #F2F2F2;
}

.caption button:hover{
	background-color: #D9D9D9;
	color: black;
	outline: none;
}

/*INDIVIDUAL PROJECT CARDS*/

.boxshadow-card {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0);
}

.card-title {
  font-family: Roboto, sans-serif; 
	font-weight: 500;
	font-size: 20px;
	color: black;
}

.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}

.card {
  margin: 0 20px 20px 20px;
  border: none;
  border-radius: 0px;
}

.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}

.card img{
  width: 100%;
  border-radius: 0px;
}
/*FLOATING LEFT AND CENTERING DIVS IN ANOTHER DIV*/
.wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.card-body p {
  font-size: 14px;
  font-weight: 300;
}

.card-body h4 {
  font-family: Lato, sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  color: grey;
  font-weight: 300;
  letter-spacing: 1px;
}

/*button for individual projects*/
.card-body a {
  border: #8c8c8c solid 1px;
  border-radius: 24px;
  text-decoration: none;
  font-family: Roboto, sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  padding: 4px 30px 4px 30px;
  background: none;
  color: #8c8c8c;
  transition: all 0.3s ease 0s;

}

.card-body a:hover {
  transform: translateY(-7px);
}

.align-left {
	display: inline-block;
	text-align: left;
}

/*PROJECTS INDIVIDUAL*/

.carousel-item {
    width: 100%;
    height: 280px;
    object-fit: cover;
}


/*BUILDING GREEN*/
.objectives img {
	width: 70px;
}

.objectives p {
	font-size: 14px;
	color: #4E4E4E;
}

.objectives h5 {
	font-size: 16px;
	letter-spacing: 0.1rem;
}

/*OUR TEAM*/

.team img {
	width: 145px;
	height: 145px;
	object-fit: cover;
	object-position: top;
	border-radius: 100px;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.team img {
	transition: all 0.3s ease 0s;
}

.team img:hover {
	 transform: translateY(-7px);
	 width: 155px;
	 height: 155px;
}

ul {
	list-style-type: none;
}

.boxshadow {
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

[data-toggle="collapse"].collapsed .if-not-collapsed {
  display: none;
}
[data-toggle="collapse"]:not(.collapsed) .if-collapsed {
  display: none;
}

/*INDIVIDUAL MEMBERS*/
.teambox {
	width: 65%;
}

.member img {
  width: 100%;
  height: 100% !important;
}

.member h2 {
	font-weight: 300;
}

.member li {
	color: #898D8E;
	font-weight: 300;
	text-transform: uppercase;
}

.member ul {
  list-style-position: inside;
  padding-left: 0;
}

.member p {
  font-weight: 300;
}

/*CONTACT*/

.link {
  color: #3F8BA0;
  transition: all 0.3s ease 0s;
}

.link:hover {
  color: rgb(26, 87, 104);
  text-decoration: underline;
}

iframe {
  border-radius: 20px;
}

.brochure {
  border-radius: 24px;
  text-decoration: none;
  font-family: Roboto, sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  padding: 10px 30px 10px 30px;
  background: black;
  color: white;
  transition: all 0.3s ease 0s;
}

.brochure:hover {
  color: #fff;
  background-color: #333333;
  transform: translateY(-7px);
}

.btn:focus,.btn:active {
   outline: none !important;
   box-shadow: none;
}

/* ASSOCIATION */
.association{
  padding-top: 40px;
}
.association img {
  width: 125px;
  vertical-align: middle;
}

/* SAFETY PAGE */

#safety .card {
  margin-right: -5px;
  margin-left: -5px;
}

#safety .card {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0);
}

#safety .card-img-top {
  height: 210px;
  box-shadow: none;
}

.safetyteam img {
	width: 145px;

	object-fit: cover;
	object-position: top;
	border-radius: 100px;
	
}

/* FOOTER */

.feedback {
  color: white;
  
}
.footer ul {
    padding: 0;
    list-style-type: none;
}

.footer p, .footer ul, .footer li {
  font-size: 13px;
}

.grey-font {
  color: #4E4E4E;
}
.container-small {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1025px){
	.projects {
		width: 90%;
	}

	.carousel-item {
    height: 300px;
  }

  .container-small {
    width: 900px;
  }
}

@media (min-width: 320px) and (max-width: 768px) {
	.teambox {
		width: 100%;
  }
}

@media (min-width: 320px) and (max-width: 575px)  {
	.card-img-top {
		height: 40vw;
		object-fit: cover;
	}

@media (min-width: 768px) and (max-width: 1024px) {
  
  .carousel-item {
    height: 200px;
}

  #safety .card-img-top {
    height: 400px;
  }
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  .carousel-item {
    height: 200px;
}
}
 
/*  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px*/

@media (min-width: 481px) and (max-width: 767px) {

	.carousel-item {
    height: 250px;
  }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

	.carousel-item {
    height: 200px;
  }

	#green {
		padding: 0;
  }
  
  #safety .card-img-top {
    height: 150px;
  }

}
