body {
  background: #f8f9fa;
}

/*         Navbar          */
/*  Navbar General Styles  */

#mynavbar {
  height: 70px;
}

#mynavbar .nav-brand img {
  height: 60px;
  width: 190px;
}

#mynavbar .navbar-brand {
  display: flex;
}

#mynavbar .header-icons {
  display: flex;
  padding-top: 15px;
  padding-left: 20px;
}

#mynavbar .login-icons {
  float: right;
  display: flex;
  padding-right: 10px;
}
#mynavbar .login-icons a {
  margin-left: 15px;
}
.navbar-collapse {
  position: relative;
}
.navbar-toggler {
  position: absolute;
  width: 50%;
  margin-left: 23%;
}

/*         carousel          */
/*  carousel General Styles  */
.carousel {
  z-index: -1;
  /* height: 80vh; */
}
.carousel-item img {
  height: 90vh;
  width: 100%;
}

/*         Footer          */
/*  Footer General Styles  */

#myFooter {
  background-color: #3c3d41;
  color: white;
  padding-top: 25px;
}

#myFooter .logo a {
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

#myFooter .logo img {
  width: 300px;
  padding-top: 15px;
  padding-left: 25px;
}

#myFooter .footer-copyright {
  background-color: #333333;
  padding-top: 3px;
  padding-bottom: 3px;
  text-align: center;
}

#myFooter .row {
  margin-bottom: 40px;
}

#myFooter .footer-copyright p {
  margin: 10px;
  color: #ccc;
}

#myFooter ul {
  list-style-type: none;
  padding-left: 0;
  line-height: 1.7;
}

#myFooter h5 {
  font-size: 18px;
  color: white;
  font-weight: bold;
  margin-top: 30px;
  padding-bottom: 8px;
}

#myFooter h4 {
  font-size: 22px;
  color: rgb(240, 183, 28);
  font-weight: bold;
  margin-top: 30px;
  padding-bottom: 5px;
}

#myFooter h2 a {
  font-size: 50px;
  text-align: center;
  color: #fff;
}

#myFooter a {
  color: #d2d1d1;
  text-decoration: none;
}

#myFooter a:hover,
#myFooter a:focus {
  text-decoration: none;
  color: white;
}

#myFooter .about-info {
  margin-left: 20px;
  text-align: justify;
}

#myFooter .contact-info {
  margin-left: 60px;
}

#myFooter .contact-way {
  text-align: justify;
  color: #f9f9f9;
}

#myFooter .contact-way a {
  font-size: 16px;
}

#myFooter .contact-way i {
  margin-right: 10px;
}

#myFooter .social-networks {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 16px;
}

#myFooter .social-networks a {
  font-size: 32px;
  color: #f9f9f9;
  padding: 10px;
  transition: 0.2s;
}

#myFooter .social-networks a:hover {
  text-decoration: none;
}

#myFooter .facebook:hover {
  color: #0077e2;
}

#myFooter .youtube:hover {
  color: #ef1a1a;
}

#myFooter .twitter:hover {
  color: #00aced;
}

#myFooter .btn {
  color: white;
  background-color: #d84b6b;
  border-radius: 20px;
  border: none;
  width: 150px;
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  line-height: 25px;
}

@media screen and (max-width: 767px) {
  #myFooter {
    text-align: center;
  }
}

/*         contact          */
/*  contact General Styles  */

#my-contact input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  background-color: rgb(188, 189, 189);
}

#my-contact input[type="submit"] {
  background-color: #46ee4c;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

#my-contact input[type="submit"]:hover {
  background-color: #45a049;
}

#my-contact .container {
  border-radius: 5px;
  background-color: #ffffff;
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#ifra-map h3 {
  margin-bottom: 12px ;
}

/*         sign in          */
/*  sign in General Styles  */

/* Full-width input fields */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}

/* Add a background color when the inputs get focus */
input[type="text"]:focus,
input[type="password"]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for all buttons */
button {
  background-color: #4caf50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

button:hover {
  opacity: 1;
}

/* Extra styles for the cancel button */
.cancelbtn {
  padding: 14px 20px;
  background-color: #f44336;
}

/* Float cancel and signup buttons and add an equal width */
.cancelbtn,
.signupbtn {
  float: left;
  width: 50%;
}

/* Add padding to container elements */
.container {
  padding: 16px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #474e5d;
  padding-top: 50px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 1% auto 1% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
}

/* Style the horizontal ruler */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 35px;
  top: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #f1f1f1;
}

.close:hover,
.close:focus {
  color: #f44336;
  cursor: pointer;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
  .cancelbtn,
  .signupbtn {
    width: 100%;
  }
}

/*        jumbotron          */
/* jumbotron General Styles  */

.jumbotron {
  background-color: #e4e4e4;
  border-top: 1px solid #eaeaea;
  padding: 2px 0 6px 0;
  margin-bottom: 1px;
}

.breadcrumb {
  background-color: #75edf1;
  margin: 5px 0 5px 0;
}

h2.jumbo-title {
  font-size: 26px;
  font-weight: 500;
  margin: 5px 0 10px 0;
}

/*         about-us          */
/*  about-us General Styles  */

#about-info .container-fluid {
  text-align: center;
}

#about-info .middle {
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 20px;
}

#about-info h1 {
  font-family: "Adamina";
  margin-top: 35px;
  margin-bottom: 40px;
  padding-top: 30px;
  text-align: left;
  color: #522424;
}
#about-info .row {
  padding-bottom: 30px;
}

#about-info p {
  margin-top: 10px;
  color: #181717;
}

#About-detail {
  color: #dddddd;
}

#About-detail h2 {
  font-family: "Adamina";
  margin-top: 5px;
  margin-bottom: 15px;
  padding-top: 12px;
  color: #fefefe;
}

#About-detail i {
  margin-top: 10px;
  margin-bottom: 20px;
}
#About-detail h6 {
  margin-bottom: 13px;
}

#About-detail p {
  margin-bottom: 23px;
}
/*         Navbar          */
/*  Navbar General Styles  */

.navbar-nav li {
  margin-right: 10px;
}

.navbar {
  height: 60px;
}

/*         accordion          */
/*  accordion General Styles  */

#accordion-faq .card-link {
  background-color: rgb(238, 238, 238);
  color: rgb(48, 47, 47);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

#accordion-faq .active,
.card-link:hover {
  background-color: rgb(255, 255, 255);
}

#accordion-faq .card-link:after {
  content: "\002B";
  color: rgb(255, 153, 0);
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

#accordion-faq .active:after {
  content: "\2212";
}

#accordion-faq .panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

#accordion-faq h2 {
  margin-top: 20px;
  margin-bottom: 40px;
  color: rgb(160, 28, 28);
  text-align: center;
}

/*         Services          */
/*  Services General Styles  */

#services-content .row {
  width: 101%;
}

#services-content .middle-pic {
  background-color: black;
  color: white;
  border: 1px solid rgb(255, 255, 255);
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#services-content .ser-cont-img {
  background-repeat: no-repeat;
  background-size: cover;
}

/*         More for you          */
/*  More for you General Styles  */

#more-for h3 {
  margin-top: 10px;
  margin-bottom: 30px;
}

#more-for .mf-wrapper-1 {
  border-left: 1px solid #ff9100;
  padding-left: 20px;
}

#more-for .mf-wrapper-2 {
  border-left: 1px solid #ff9100;
}

#more-for i {
  margin-top: 10px;
  margin-bottom: 20px;
}

#more-for a {
  margin-top: 10px;
}

/*         Portfolio          */
/*  Portfolio General Styles  */

#Portfo {
  box-sizing: border-box;
}

#Portfo body {
  background-color: #f1f1f1;
  padding: 20px;
  font-family: "Adamina";
}

/* Center website */
#Portfo .main {
  max-width: 1000px;
  margin: auto;
}

#Portfo h2 {
  font-family: "Adamina";
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 50px;
  word-break: break-all;
}

#Portfo .row {
  margin: 10px 80px;
}

/* Add padding BETWEEN each column */
#Portfo .row,
.row > .card-header {
  padding: 10px;
}

/* Create three equal columns that floats next to each other */
#Portfo .card-header {
  background-color: #f1f2f6;
  float: left;
  width: 31.5%;
  display: none; /* Hide all elements by default */
  margin-bottom: 10px;
}

/* Clear floats after rows */
#Portfo .row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
#Portfo .content {
  background-color: white;
  padding: 10px;
}

#Portfo h4 {
  padding-top: 20px;
  padding-left: 4px;
}

#Portfo p {
  padding-left: 4px;
}
/* The "show" class is added to the filtered elements */
#Portfo .show {
  display: block;
}

/* Style the buttons */
#myBtnContainer {
  margin-left: 100px;
  font-family: "Adamina";
}
#myBtnContainer .btn {
  font-family: "Adamina";
  font-size: 14px;
}
#Portfo .btn {
  border: 1px solid blue;
  outline: none;
  width: 100px;
  height: 50px;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
}

#Portfo .btn:hover {
  background-color: #ddd;
}

#Portfo .btn.active {
  background-color: #666;
  color: white;
}

#Portfo img {
  width: 100%;
  height: 350px;
  transition: transform 0.2s;
}
#Portfo img:hover {
  -ms-transform: scale(1.05); /* IE 9 */
  -webkit-transform: scale(1.05); /* Safari 3-8 */
  transform: scale(1.05);
}

#product-1 .ser-cont-img {
  background-image: url(../img/under-cons.jpg);

  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
  width: 100%;
}

#product-1 h1 {
  font-family: "Adamina";
  color: rgb(11, 235, 205);
  text-align: center;
  padding-top: 60px;
}

/*         index-Card          */
/*  index-Card General Styles  */

#ind-portfolio {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
}
#ind-portfolio img {
  width: 340px;
  height: 300px;
}
#ind-portfolio .card {
  width: 380px;
  height: 420px;
  margin-right: 25px;
}
#ind-portfolio .row,
.row > .card-header {
  padding: 10px;
  margin-right: 10px;
  margin-left: 10px;
}

/* Create three equal columns that floats next to each other */
#ind-portfolio .card {
  float: left;
}

/* Clear floats after rows */
#ind-portfolio .row:after {
  content: "";
  display: table;
  clear: both;
}

#ind-portfolio {
  box-sizing: border-box;
}

#ifra-map iframe {
  width: 530px;
  height: 480px;
}

@media screen and (max-width: 1250px) {
  #ind-portfolio {
    display: flex;
    justify-content: center;
  }
  #ind-portfolio .card {
    width: 340px;
    height: 380px;
    margin-right: 25px;
    margin-bottom: 10px;
  }
  #ind-portfolio img {
    width: 300px;
    height: 260px;
  }
  #myBtnContainer {
    margin-left: 25%;
  }
  
  #Portfo .row {
    display: flex;
    justify-content: center;
  }
  #Portfo .card-header {
    width: 340px;
    height: 400px;
    margin-right: 25px;
    margin-bottom: 10px;
  }
  #Portfo img {
    width: 100%;
    height: 260px;
  }

  
}
@media screen and (max-width: 870px) {
  #ind-portfolio {
    justify-content: center;
  }
  #ind-portfolio .card {
    width: 320px;
    height: 360px;
    margin-right: 25px;
    margin-bottom: 10px;
  }
  #ind-portfolio img {
    width: 280px;
    height: 240px;
  }
  #myBtnContainer {
    margin-left: 15%;
  }
  #myBtnContainer .btn{
    margin-top: 5px;
  }
  #Portfo .row {
    display: flex;
    justify-content: center;
  }
  #Portfo .card-header {
    width: 320px;
    height: 380px;
    margin-right: 25px;
    margin-bottom: 10px;
  }
  #Portfo img {
    width: 100%;
    height: 240px;
  }

  #ind-brand .col-sm-2 img {
    height: 40px;
    width: 130px;
  }
}
@media screen and (max-width: 530px) {
  #myBtnContainer {
    margin-left: 10%;
  }
  #myBtnContainer .btn{
    margin-top: 5px;
  }
  #Portfo .row {
    display: flex;
    justify-content: center;
    margin: 10px 10px;
  }
  #Portfo .card-header {
    width: 300px;
    height: 350px;
    margin-right: 25px;
    margin-bottom: 10px;
  }
  #Portfo img {
    width: 100%;
    height: 210px;
  }
  #ind-portfolio .row,
  .row > .card-header {
    padding: 10px;
    margin-right: 0px;
    margin-left: 10px;
  }
  #Portfo .energy-129 {
    
    width: 100%;
    height: 100%;
  }
  
}

@media screen and (max-width: 1200px) {

#ifra-map iframe {
  width: 435px;
  height: 400px;
}}
@media screen and (max-width: 992px) {

#ifra-map iframe {
  width: 315px;
  height: 400px;
}}
@media screen and (max-width: 768px) {

#ifra-map iframe {
  width: 100%;
  height: 400px;
}
#ifra-map h3 {
  margin-top:15px ;
}
#my-contact .container{
  width:  90%;
}

}