.icon-index > div {
  background-color: #FFF;
  padding: 10px;
  position: relative;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}

.icon-index:hover .icon-index-back {
  opacity: 1;
  -moz-transition: opacity 0.3s ease-out;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

.icon-index h4 {
  font-size: 16px;
  min-height: 40px;
  color: #1867b7;
}

.icon-index-back {
  background-color: #1867b7;
  z-index: 1;
  opacity: 0;
  -moz-transition: opacity 0.3s ease-out;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

.icon-index-back > div {
  padding: 10px;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.links-index h4,
.icon-index-back h4 {
  color: #FFF;
}

.links-index h4 {
  z-index: 1;
}

.links-index {
  position: relative;
  width: 100%;
  padding-top: 56%;
  display: block;
}

.links-index:hover:after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(24,103,183,0.3);
}

@media (max-width: 767px) {
  .widget-content .site-title,
  .site-title {
    font-size: 26px;
  }

.widget-content .site-subtitle,
.site-subtitle {
  font-size: 18px;
}
}


input#show,
input#hide {
  display: none;
}

input#show:checked ~ img#id1{
  display:none;
}
input#show:checked ~ img#id2{
  display:block;
}

input#show:checked ~ label#id1{
  background-color: #fdc315;
  color: #FFF;
}
input#hide:checked ~ label#id2{
  background-color: #77b751;
  color: #FFF;
}

input#hide:checked ~ img#id2{
  display:none;
}
input#hide:checked ~ img#id1{
  display:block;
}

label#id1,
label#id2 {
  display: inline-block;
  padding: 6px 16px;
  background-color: #DADADA;
  cursor: pointer;
}