
/*NAV BAR*/

/*p#NavBarLeft {
  color: grey;
  list-style: none;
  display: inline;
  margin: 20px;
  padding-left: 40px;
  font-size: 22px;
  float: left;
}
*/

ul#NavBarRight li {
  color: white;
  list-style: none;
  display: inline;
  margin: 20px;
  padding-left: 0px;
  font-size: 22px;
  float: right;
}

/*ul#NavBar {
  margin-left: 50%;
}*/


ul#NavBarRight a:hover {
  background-color: #ddd;
  color: black;

}

ul#NavBarRight a{
  text-decoration: none;
  color: white;
}

#NavBarLeft{
 color: grey;
  list-style: none;
  display: inline;
  margin: 20px;
  padding-left: 15px;
  font-size: 22px;
  float: left;
}

/*NAV BAR dropdown stuff BELOW*/
/*NAV BAR dropdown stuff BELOW*/
/*NAV BAR dropdown stuff BELOW*/



/* Dropdown Button */
.dropbtn {
  /*background-color: #000000;*/
  color: white;
  font-size: 22px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 12px;
  text-decoration: none;
  display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ffffff;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #000000;}


/*End of NAVBAR DROPDOWN*/
/*End of NAVBAR DROPDOWN*/
/*End of NAVBAR DROPDOWN*/


/*END NAVBAR*/



/* Core Styles */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #333;
  color: #fff;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: center;
}

img {
  display: block;
  width: 100%;
  height: 300px;
}

h1,
h2,
h3 {
  margin: 0;
  padding: 1em 0;
}

p {
  margin: 0;
  padding: 1em 0;
}

.btn {
  display: inline-block;
  background: #333;
  color: #fff;
  text-decoration: none;
  padding: 1em 2em;
  border: 1px solid #666;
  border-radius: 2em;
  margin: 0.5em 0;
}

.btn:hover {
  background: #eaeaea;
  color: #333;
}

/* Header Showcase */

#showcase {
  min-height: 450px;
  color: #fff;
  text-align: right;
}

#showcase .bg-image {
  position: absolute;
  background: #333
    url("security-cam-test.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 450px;
  z-index: -1;
  opacity: 0.4;
 /* clear: both;*/
}

#showcase h1 {
  padding-top: 100px;
  padding-bottom: 0;
}

#showcase .content-wrap,
#section-a .content-wrap {
  padding: 0 1.5em;
}

/* Section A */

#section-a {
  background: #eaeaea;
  color: #333;
  padding-bottom: 2em;
}

/* Section B */

#section-b {
  padding: 2em 1em 1em;
}

#section-b ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#section-b li {
  margin-bottom: 1em;
  background: #fff;
  color: #333;
}

.card-content {
  padding: .5em;
  background-color: #333;
}

}
.card-content1 {
  padding: .5em;
  background-color: #333;
  color: white;
}

.card-title{
  background-color: #333;
  color: white;
}

/* Section C */

#section-c {
  background: #fff;
  color: #333;
  padding: 2em;
}

/* Section D / Boxes */

#section-d .box {
  padding: 2em;
  color: #fff;
  font-size: 1.2em;
}

#section-d .box:first-child {
  /*background: #2690d4;*/
  background-color: grey;
  color: black;
  padding: 2em;
  font-size: 1em;
}

/*Contact form boxes*/

#section-d1 .box {
  padding: 2em;
  color: grey;
  /*background-color: grey;*/
   /*margin-left: 10%;*/
   font-size: 1.5em;
}

#section-d1 .box:first-child {
  /*background: #2690d4;*/
  /*background-color: grey;*/
  padding: 2em;
  color: white;
  
}
/* Footer */

#main-footer {
  padding: 1.5em;
  background: #000;
  color: #fff;
  text-align: left;
  font-size: 0.7em;
  width: 100%;
}

#main-footer a {
  color: #2690d4;
  text-decoration: none;
}

/* Media Queries */

@media (min-width: 900px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr repeat(2, minmax(auto, 30em)) 1fr;
    
  }

  #navBarRight{
    float: left;
    font-size: 16px;
  }

  #section-a .content-text {
    columns: 2;
    column-gap: 2em;
  }

  #section-a .content-text p {
    padding-top: 0;
  }

  .content-wrap,
  #section-b ul {
    grid-column: 2/4;
  }

  .box,
  #main-footer div {
    grid-column: span 2;
  }

  #section-b ul {
    display: flex;
    justify-content: space-around;
  }

  #section-b li {
    width: 31%;
  }
}

.box{
 text-align: center;
}