/*--------afzaweb: pic side by side---------*/
.columnpic3 {
  float: right;
  width: 33.33%;
  padding: 5px;
}

.columnpic4 {
  float: right;
  width: 25%;
  padding: 5px;
}

.columnpic5 {
  float: right;
  width: 20%;
  padding: 5px;
}

.columnpic6 {
  float: right;
  width: 16.66%;
  padding: 5px;
}

/* Clearfix (clear floats) */
.rowpic::after {
  content: "";
  clear: both;
  display: table;
}

/*---------afzaweb pin text effect----------*/

.containerpic {
  position: relative;
  width: 100%;
}

.imagepic {
  display: block;
  width: 100%;
  height: auto;
}

.overlaypic {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #701040;
  opacity: 0.9;
  overflow: hidden;
  width: 100%;
  height:50px;
  transition: .5s ease;
}

.containerpic:hover .overlaypic {
  height: 100%;
}

.textpic {
  color: white;
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
width:90%;
}

.overlaypicnull {
  height:0px;
}

// General tab AfzaWeb

$midnight: #701040;
$clouds: #ecf0f1;

input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
// Layout
.tabrow {
  display:flex;
  .tabcol {
    flex:1;
    &:last-child {
      margin-left: 1em;
    }
  }
}
/* Accordion styles */
.tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0,0,0,0.5);
}
.tab {
  width: 100%;
  color: white;
  overflow: hidden;
  &-label {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    background: $midnight;
    font-weight: bold;
    cursor: pointer;
    /* Icon */
    &:hover {
      background: darken($midnight, 10%);
    }
    &::after {
      content: "\276F";
      width: 1em;
      height: 1em;
      text-align: center;
      transition: all .35s;
    }
  }
  &-content {
    max-height: 0;
    padding: 0 1em;
    color: $midnight;
    background: white;
    transition: all .35s;
  }
  &-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: $midnight;
    cursor: pointer;
    &:hover {
      background: darken($midnight, 10%);
    }
  }
}

// :checked
input:checked {
  + .tab-label {
    background: darken($midnight, 10%);
    &::after {
      transform: rotate(90deg);
    }
  }
  ~ .tab-content {
    max-height: 100vh;
    padding: 1em;
  }
}
