/* Reset default styles
------------------------------------------------------------------*/
.content.user ul,
.content.user ol {
  padding: 0;
  list-style: none;
}

.content.user ul li,
.content.user ol li {
  font-size: 1em;
  list-style: none;
}

/* PROJECTS LIST
------------------------------------------------------------------*/
.list_projects {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 0px;
}

.list_projects .project {
  background: #fff;
  position: relative;
}

.list_projects .project.cols2 {
  width: 48.65%;
  padding-top: 2.7%;
  margin: 0 1.3% 30px 1.3%;
}

.list_projects .project.cols3 {
  width: 32.0%;
  padding-top: 1.7%;
  margin: 0 1% 30px 1%;
}

.list_projects .project.first {
  margin-left: 0;
}

.list_projects .project.last {
  margin-right: 0;
}

/* Thumb and Caption */
.list_projects .project .thumb,
.list_projects .project .caption {
  width: 89.2%;
  display: block;
  margin: 0 auto;
}

/* Caption */
.list_projects .project.cols2 .caption {
  padding: 26px 0 30px 0;
}

.list_projects .project.cols3 .caption {
  padding: 20px 0 30px 0;
}



/* PROJECT DETAIL
------------------------------------------------------------------*/
.proj-top-wrap {
  width: 100%;
  min-height: 80px;
  padding: 2% 0;
  background: #ECECEC;
  margin-bottom: 2%;
}

.proj-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proj-top h1 {
  width: 65%;
  line-height: 1.2em;
}

.proj-top .ask_quotation {
  width: 28%;
  text-align: center;
  /* margin-right: 5%; */
}

.proj-top .ask_quotation a,
.proj-top .ask_quotation i {
  color: #004990
}

/* Main Data
--------------------------------*/
.main-data {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  padding: 3% 2% 2%;
  position: relative;
  background: #fff;
  margin-bottom: 5em;
}

.data-left {
  width: 58%;
}

.data-right {
  width: 36%;
}


/* Slideshow */
:root {
  --swiper-theme-color: #d1d1d1;
  --swiper-navigation-size: 44px;
  --swiper-navigation-top-offset: 50%;
  --swiper-navigation-sides-offset: 10px;
  --swiper-navigation-color: var(--swiper-theme-color);

  --swiper-pagination-bullet-width: 1.5rem;
  --swiper-pagination-bullet-height: 1.5rem;
  --swiper-pagination-bullet-horizontal-gap: .6rem;

  --swiper-pagination-color: #333;
  --swiper-pagination-bullet-inactive-color: #8a8a8a;
  --swiper-pagination-bullet-inactive-opacity: .4;
}

.swiper-wrapper {
  margin-bottom: 3rem;
}

.swiper-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #fff;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #fc0; */
}

.swiper-pagination-bullet {
  transition: opacity .3s;
}
.swiper-pagination-bullet:hover {
  opacity: 1;
}

/* TABS
--------------------------------*/
.etabs {
  margin: 0 !important;
  padding: 0 !important;

}

.tab {
  display: inline-block;
  zoom: 1;
  *display: inline;
  background: #f5f5f5;
  border: solid 1px #e5e5e5;
  border-bottom: none;
}

.tab a {
  font-size: 14px;
  line-height: 2.5em;
  display: block;
  padding: 0 20px;
  outline: none;
  text-decoration: none !important;
  color: #999;
}

.tab a:hover {
  color: #353535
}

.tab.active {
  background: #fff;
  padding-top: 6px;
  position: relative;
  top: 1px;
  border-color: #ccc;
}

.tab a.active {
  color: #000;
}

.panel-container {
  background: #fff;
  border: solid #ccc 1px;

  padding: 30px;
  margin-bottom: 50px;
  min-height: 300px;
}


/* Admin Link */
a.admin_edit_item {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 10;
  text-decoration: none !important;
}

a.admin_edit_item i {
  font-size: 20px;
  color: #353535;
}

a.admin_edit_item i:hover {
  color: #C00
}


/* MEDIA QUERIES -------------------------------------------*/

/* All Touch devices */
@media screen and (hover: none) {

  

}

/* <= 800px
----------------------------------------------*/
@media only screen and (max-width : 820px) {

  :root {
    --swiper-navigation-size: 32px;
  }

  ul.project_images li .col4 {
    display: none;
  }

  /* List Projects */
  .list_projects .project,
  .list_projects .project.cols2,
  .list_projects .project.cols3 {
    width: 100% !important;
    margin: 0 0 5% 0;
    padding: 5% 0 0 0;
    height: auto !important;
  }

  /* Project Detail */
  .proj-top-wrap {
    padding: 2.4rem 0 2rem;
    margin-bottom: 0;
    min-height: auto;
  }

  .proj-top h1 {
    width: 100%;
    padding: 0;
    line-height: 1.3;
  }

  .proj-top .project_title {
    text-align: center;
  }

  .proj-top .ask_quotation {
    display: none;
  }

  .proj-content {
    padding: 4%;
  }

  .main-data {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }
  .data-left,
  .data-right {
    width: 100%;
    padding: 4% 4%;
  }
  .data-left {
    margin-bottom: 2rem;
  }

  .swiper,
  .swiper-wrapper {
    padding: 0;
    margin-bottom: 0;
  }
  .swiper-pagination {
    display: none;
  }
  .swiper-button-next, .swiper-button-prev {
    height: var(--swiper-navigation-size);
  }

  .panel-container {
    padding: 1.5rem 4%;
    margin-top: 3rem;
  }

  .panel-container table {
    width: 100%;
    margin: 0;
  }

}

/* <= 655px
----------------------------------------------*/
@media only screen and (max-width : 655px) {
  .swiper, .swiper-wrapper {
    height: 30vh;
    min-height: 320px;
  }
}

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

  .content .project_title {
    font-size: 1.6rem;
    padding-top: 5%;
  }

}

@media only screen and (max-width: 420px) {
  .swiper, .swiper-wrapper {
    height: 35vh;
    min-height: 0;
  }
}

@media only screen and (max-height: 720px) {
  .swiper-wrapper img {
    /* max-height: 100%; */
  }
}
