/*FILTER*/

.main_filter .item {
    width: auto;
    height: 20px;
    display: inline-block;
}

.main_filter {
    float: right;
    width: auto;
    display: block;
    height: auto;
    margin: 10px 18px;
}
.main_filter .control {
    width: auto;
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 20px;
    float: left;
    font-weight: inherit;
}
.main_filter .control .text {
    float: left;
    padding: 3px 0 0 10px;
    font-size: 25px;
}
.main_filter .control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.main_filter .control__indicator {
    position: absolute;
    top: 7px;
    left: 0;
    height: 25px;
    width: 25px;
    background: #e6e6e6;
}
.main_filter .control--radio .control__indicator {
  border-radius: 50%;
}
.main_filter .control:hover input ~ .control__indicator,
.main_filter .control input:focus ~ .control__indicator {
  background: #ccc;
}
.main_filter .control input:checked ~ .control__indicator {
  background: #045b73;
}
.main_filter .control:hover input:not([disabled]):checked ~ .control__indicator,
.main_filter .control input:checked:focus ~ .control__indicator {
  background: #045b73;
}
.main_filter .control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
.main_filter .control__indicator:after {
  content: '';
  position: absolute;
  display: none;
}
.main_filter .control input:checked ~ .control__indicator:after {
  display: block;
}
.main_filter .control--checkbox .control__indicator:after {
  left: 8px;
  top: 3px;
  width: 7px;
  height: 13px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.main_filter .control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}
.main_filter .control--radio .control__indicator:after {
  left: 7px;
  top: 7px;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #fff;
}
.main_filter .control--radio input:disabled ~ .control__indicator:after {
  background: #7b7b7b;
}

/*POPUP*/

.preference_popup {
    width: 1212px;
    height: 28px;
    display: block;
    padding: 0;
    z-index: 10;
    margin-bottom: 15px;
}
.preference_popup .other_section {
    width: auto;
    float: left;
    margin-left: 44%;
}
.preference_popup .other_section a {
    font-size: 13px;
    display: inline-block;
    padding: 4px 18px 5px;
    width: auto;
    border-radius: 5px;
    margin: 0;
    border-bottom: solid 3px #0698bf;
}
.other_section li:last-child a {
    border-color: #019cd6;
}
.preference_popup .preference_popup .other_section a:hover {
	border-bottom: solid 3px #045b73;
}
.preference_popup .other_section ul li {
    float: left;
    list-style: none;
    margin: 0 10px 0 0;
}
.member_profile_posts_wrap .preference_popup {
    width: 100%;
    display: inline-block;
    padding: 0;
    z-index: 10;
    margin: 0 0 15px;
}
.member_profile_posts_wrap .active_mem {
    background: #f7f7f7;
    padding: 30px;
    border: solid 1px #e2e2e2;
    margin-bottom: 10px;
}
.preference_btn {
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    color: #000 !important;
    padding: 4px 10px 5px;
    float: right;
    /* border: solid 1px #e2e2e2; */
    background: #d8f4fc;
    border-radius: 5px;
    margin: 0;
    border-bottom: solid 3px #0698bf;
}
.preference_btn:hover {
    color: #045b73 !important;
    text-decoration: none !important;
    border-color: #045b73; 
}
.wall-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999999;
  visibility: hidden;
  opacity: 0;
  overflow: hiden;
  transition: 0.64s ease-in-out;
}
.popup-inner {
      position: relative;
    bottom: -100vw;
    right: -100vh;
    display: flex;
    align-items: center;
    max-width: 800px;
    width: 50%;
    padding: 50px 0;
    height: auto;
    background-color: #fff;
}
label.head_title {
    text-align: center;
    margin: 0 20px 30px 10px;
    width: auto;
}
label.head_title .text {
    font-size: 35px;
}
.popup__text {
    display: flex;
    width: auto;
    height: 80%;
    margin: auto;
}
.popup__text h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #0A0A0A;
}
.popup__text p {
  font-size: 0.875rem;
  color: #686868;
  line-height: 1.5;
}
.wall-popup:target {
  visibility: visible;
  opacity: 1;
}
.wall-popup:target .popup-inner {
  bottom: 0;
  right: 0;
  transform: rotate(0);
}
.popup__close {
  position: absolute;
    right: -1rem;
    top: -1rem;
    width: 3rem;
    height: 3rem;
    font-size: 25px;
    font-weight: 300;
    border-radius: 100%;
    background-color: #045b73;
    z-index: 4;
    color: #FFF !important;
    line-height: 3rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
}
.popup__close:hover {
    color: #fff;
    text-decoration: none;
    background: #045b73;
}

/*END OF FILTER*/

h1.page_title.home {
    padding: 3px 0;
    width: auto;
    /*position: absolute;*/
}

.main_filter {
    float: right;
}

.block_A {
    display: inline-block;
}
.block_A .item {
    width: 199.5px;
    height: 204px;
    float: left;
    margin: 0 3px 3px 0;
    background: #f3f3f3;
    position: relative;
}

.content p {
    color: #fff;
    font-size: 12px;
}

/*MEMBER STYLE*/

.item .content {
    width: 100%;
    background: rgb(0 0 0 / 0.70);
    position: absolute;
    bottom: 0;
}
.item .content p {
    width: 120px;
    color: #fff;
    font-size: 11px;
    margin: 0;
    padding: 5px 10px;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.item .comment {
    width: auto;
    max-width: 25%;
    height: auto;
    display: inline-block;
    float: right;
    color: #fff;
    position: absolute;
    bottom: 3px;
    right: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.item .comment:before {
    content: "";
    display: block;
    float: left;
    width: 15px;
    height: 15px;
    background: url(https://cdn.ghanaweb.live/design/icons.png);
    margin: 0 2px 0 0;
    background-repeat: no-repeat;
    background-size: 245px;
    background-position: 0px -70px;
}

.item .content .mem_tag {
    width: 17px;
    height: 18px;
    position: absolute;
    bottom: 13px;
    right: 5px;
}

.item .image {
    width: auto;
    height: 100%;
    overflow: hidden;
}
.item .image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.item a {
    height: 204px;
    display: block;
}

/*VIDEO STYLE*/
.wall_block_wrap .video_item .image .section {
    width: 20px;
    height: 20px;
    padding: 2px 5px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 400;
    color: #fff;
    transition: .3s;
    position: absolute;
    left: 10px;
    top: 0;
    margin: 7px -2px;
    background-image: url(https://cdn.ghanaweb.live/wall/play-icon2.png);
    background-repeat: no-repeat;
    background-size: 30px;
    z-index: 1;
}

/*AUDIO STYLE*/

.wall_block_wrap .audio_item .image .section {
    width: 20px;
    height: 20px;
    padding: 2px 5px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 400;
    color: #fff;
    transition: .3s;
    position: absolute;
    left: 10px;
    top: 0;
    margin: 7px -2px;
    background-image: url(https://cdn.ghanaweb.live/wall/audio-icon2.png);
    background-repeat: no-repeat;
    background-size: 30px;
    z-index: 3;
}


/*SAY IT LOUD STYLE*/

.wall_block_wrap .sil_item {
    background-image: url(https://cdn.ghanaweb.live/wall/lines.png);
    background-repeat: repeat;
    background-color: #0698bf;
}

.wall_block_wrap .sil_item .sil_title {
    padding: 10px;
    color: #fff;
    font-size: 16px;
    line-height: 19px;
    margin: 0;
    max-height: 126px;
    overflow: hidden;
}

.wall_block_wrap .opinions_item {
    background-image: url(https://cdn.ghanaweb.live/wall/lines2.png);
    background-repeat: repeat;
    background-color: #ff9865;
}

.wall_block_wrap .opinions_item .opinions_title {
    padding: 10px;
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    margin: 0;
    position: absolute;
    bottom: 30px;
    /* background: rgba(0, 0, 0, 0.65); */
    height: auto;
    width: 90%;
}
.wall_block_wrap .opinions_item .image {
    width: auto;
    height: 100%;
    overflow: hidden;
    background: #111319;
}
.wall_block_wrap .opinions_item .image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgb(45, 51, 62)), to(rgba(0,0,0,0)));
}
.wall_block_wrap .opinions_item .content {
    width: 100%;
    background: transparent;
    position: absolute;
    bottom: 0;
}
/*BLOCK B*/

.block_B {
    display: inline-block;
}

.block_B .item {
    width: 199.5px;
    height: 204px;
    float: left;
    margin: 0 3px 3px 0;
    position: relative;
}
.block_B .grid_1 {
    width: 199.5px;
    display: inline-block;
    margin-right: 3px;
    float: left;
}
.block_B .grid_2 {
    width: 199.5px;
    height: 411px;
    display: inline-block;
    margin-right: 3px;
    float: left;
}
.wall_block_wrap .double_height a {
    height: 411px;
    display: block;
}

.block_B .grid_3 {
    width: 809px;
    height: 411px;
    display: inline-block;
    margin: 0 0 3px;
    float: left;
}

.wall_block_wrap .single {
    width: 199.5px;
    height: 204px;
    float: left;
    margin: 0 3px 3px 0;
    position: relative;
}
.wall_block_wrap .double_width {
    width: 402px !important;
}
.wall_block_wrap .double_height {
    height: 411px !important;
}
.wall_block_wrap .double_both {
    width: 402px !important;
    height: 411px !important;
}
.wall_block_wrap .double_both a {
    height: 411px;
    display: block;
}

.wall_block_wrap .block_B .grid_3 .item:nth-child(3), .wall_block_wrap .block_B .grid_3 .item:nth-child(7) {
    margin: 0;
}


/*BLOCK C*/

.block_C {
    display: inline-block;
}

.block_C .item {
    width: 199.5px;
    height: 204px;
    float: left;
    margin: 0 3px 3px 0;
    /*background: #f3f3f3;*/
    position: relative;
}

/*BLOCK D*/

.block_D {
    display: inline-block;
}

.block_D .item {
    width: 199.5px;
    height: 204px;
    float: left;
    margin: 0 3px 3px 0;
    position: relative;
}

/*BLOCK E*/

.block_E .item {
    width: 199.5px;
    height: 204px;
    float: left;
    margin: 0 3px 3px 0;
    position: relative;
}

.block_E .grid_1 {
    width: 199.5px;
    display: inline-block;
    margin-right: 3px;
    float: left;
}

.block_E .grid_2 {
    width: 199.5px;
    display: inline-block;
    margin-right: 3px;
    float: left;
}

.block_E .grid_3 {
    width: 405px;
    height: 411px;
    display: inline-block;
    margin: 0 0 3px;
    float: left;
}