@import url("../../css/font.css");

.work-container {
  padding-top: 120px;
}

#work {
  width: 100%;
}

#work-header {
  height: 100px;
}

#work-header-center {
  height: 100px;
  margin-right: auto;
  margin-left: auto;
}

#work-header-center-left {
  float: left;
  height: 35px;
  line-height: 35px;
  margin-top: 10px;
}

.filter {
  color: #7e7979;
  /**#dfbba7**/
  float: left;
  height: 35px;
  margin-right: 15px;
  font-family: "HelveticaNeue-UltraLight";
  font-size: 20px;
  -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  -o-transition: background 0.5s;
  transition: background 0.5s;
}

.filter:hover {
  /*background-color:#dfbba7;
	color: rgba(255,255,255,1);*/
  color: #fff;
  /**#dfbba7**/
  border-bottom: solid 2px #fff;
  /**#dfbba7**/
  cursor: pointer;
}

.filter-current {
  color: #fff;
  /**#dfbba7**/
  border-bottom: solid 2px #fff;
  /**#dfbba7**/
}

.filter-current:hover {
  border-bottom: solid 2px #fff;
  /**#dfbba7**/
}

.work-main-title {
  font-family: "SourceSansPro-SemiBold";
  color: #fff !important;
  font-size: 26px;
  line-height: 30px;
  text-transform: uppercase;
}

.work-main-title span {
  font-family: "SourceSansPro-Light";
}

.work-text {
  font-family: "HelveticaNeueLTStd Lt";
  color: #fff;
  font-size: 20px;
  line-height: 25px;
}

.work-filter {
  padding-left: 0px;
  padding-top: 10px;
  list-style-image: url(../img/work/list-img.png);
}

.work-filter li {
  margin-left: 30px;
  float: left;
  color: #7e7979;
  /**#dfbba7**/
}

.work-filter li a {
  font-family: "SourceSansPro-ExtraLight";
  color: #7e7979;
  /**#dfbba7**/
  font-size: 20px;
  line-height: 25px;
  cursor: pointer;
}

.salah .work-content {
  position: absolute;
  z-index: 99;
  opacity: 0;
  transition: linear 0.3s;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}

.salah:hover .work-content {
  opacity: 1;
  transition: all 300ms linear;
}

.salah:hover .work-category {
  opacity: 1;
  transition: all 300ms linear;
}

.salah .work-container {
  position: absolute;
  bottom: 0px !important;
  padding: 20px 15px 10px 15px;
  transition: all 300ms linear;
}

.salah:hover .work-container {
  padding: 20px 15px 15px 15px;
  transition: all 300ms linear;
}

.work-content .text-title {
  font-family: "HelveticaNeueLTStd Lt";
  text-transform: uppercase;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 20px;
  margin-bottom: 7px;
}

.work-content .text-bodytext {
  font-family: "HelveticaNeue-UltraLight";
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 2px;
}

.work-content button {
  font-family: "HelveticaNeueLTStd Lt";
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  background-color: transparent;
  border: 1px solid #fff;
  padding: 5px 15px;
  margin-top: 10px;
  transition: all 0.5s;
}

.work-content button:hover {
  background-color: #fff;
  color: #9e9e9e;
  transition: all 0.5s;
}

#work-content {
  float: left;
  width: 100%;
}

.work-content-center-full {
  float: left;
  width: 100%;
}

#work-content-center .salah {
  width: calc(33.3% - 10px);
  margin-bottom: 10px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  margin-right: 10px;
  max-width: 33.3%;
  cursor: pointer;
}

#work-content-center .salah img {
  width: 100%;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}

#work-content-center .salah:hover img {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

.modal-text {
  /*	padding: 30% 0% 0% 2%;*/
  margin-top: 15px;
}

.modal-text h5 {
  color: #000;
  font-family: "HelveticaNeueLTStd Lt";
  text-transform: uppercase;
  font-size: 13px;
}

.modal-text h1 {
  color: #000;
  font-family: "HelveticaNeueLTStd-UltLt";
  text-transform: capitalize;
  font-size: 25px;
}

.modal-text p {
  color: #4c4b4a;
  font-family: "HelveticaNeueLTStd Lt";
  font-size: 14px;
}

.modal-text button {
  color: #fff;
  font-family: "HelveticaNeueLTStd Lt";
  font-size: 14px;
  text-transform: uppercase;
  background-color: #000;
  padding: 7px 20px;
  border: none;
  letter-spacing: 1px;
  margin-top: 15px;
}

.modal-header {
  padding: 5px 1rem 0px 0px;
  border-bottom: none;
}

.workitem {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.workitem img {
  max-height: 100%;
  width: 100%;
}

.modal-content {
  background-color: rgba(255, 255, 255, 0.9);
}

.workitem .modal-text p {
  display: flex;
  flex-wrap: wrap;
  color: #000;
  justify-content: center;
}

.workitem .modal-text p span {
  flex-basis: auto;
  padding-right: 5px;
  margin-top: 5px;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: hidden;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 45%;
    margin: 1.75rem auto;
    max-height: fit-content;
  }

  /* .modal-dialog { max-width:70%; margin: 1.75rem auto; max-height: 90vh !important;  } */
  .modal-body {
    margin: 0px;
  }
}

@media screen and (max-width: 991px) {
  #work-content-center .salah {
    width: 31% !important;
    max-width: 31%;
  }
}

@media screen and (max-width: 767px) {
  #work-content-center .salah {
    width: 31% !important;
    max-width: 31%;
  }

  #work-content-center .salah img {
    max-height: 100%;
  }
}

@media screen and (max-width: 720px) {
  #work-content-center .salah {
    width: 48% !important;
    max-width: 48%;
  }
}


@media screen and (max-width: 480px) {
  #work-content-center .salah {
    width: 100% !important;
    max-width: 100%;
	  padding: 5px;
  }
}

@media screen and (max-width: 360px) {
  .filter {
    margin-right: 14px;
    font-size: 18px;
    margin-top: 15px;
  }
}
