    html{
      height: 100%;
      margin: 0;
      padding: 0;
  }
    

    div#grid {
        margin: 2em auto;
        width: 100%;
        display: -webkit-box;
        display: flex;
        flex-wrap: wrap;
    }
    
    .grid-item {
      position: relative;
        margin: 1em;
        box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.25);
        -webkit-box-flex: 1;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: calc(25% - 2em);
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        transition: all 0.5s cubic-bezier(.17,.84,.44,1);
    }
    
    .grid-item-video {
        margin: 1em;
        box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.25);
        -webkit-box-flex: 1;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 48%;
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        transition: all 0.5s cubic-bezier(.17,.84,.44,1);
    }

    .grid-item:hover {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    .poster-details {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 1;
      transform: translate(-50%,-50%);
      width: 100%;
      text-align: center;
      color: white;
      padding: 0 5px;
      text-shadow: 2px 2px 4px rgb(0, 0, 0);
      opacity: 0;
      transition: all 0.25s cubic-bezier(.22,.61,.36,1);
      -webkit-transition: all 0.25s cubic-bezier(.22,.61,.36,1);
      -moz-transition: all 0.25s cubic-bezier(.22,.61,.36,1);
      -ms-transition: all 0.25s cubic-bezier(.22,.61,.36,1);
      -o-transition: all 0.25s cubic-bezier(.22,.61,.36,1);
    }
	.videoposter-box {
		background:#fafafa;
		text-align:center;
		border-radius:10px;
		padding:10px;
		height:430px;
		box-shadow:0 0 3px;
	}
    .videoposter-details {
      z-index: 1;
      width: 100%;
      text-align: center;
      color: #444;
      padding: 0 5px;
      transition: all 0.5s ease-in-out;
      height:100%;
    }
    .videoposter-details strong {
		font-size:18px;
    }
    .videoposter-details i {
		font-size:13px;
    }
    .videoposter-details button {
		border-radius:5px;
		position:absolute;
		bottom:0;
		left:0;
		width:100%;
    }
    .videoposter-container {
		position:absolute;
		bottom:15px;
		left:15px;
		right:15px;
    }

    .contact-author {
      position: absolute;
      bottom: 0;
      background: #1f76a2;
      width: 100%;
      text-align: center;
      border-top-left-radius: 6px;
      border-top-right-radius: 6px;
      color: white;
      padding: 4px;
      opacity: 0;
      transition: all 0.5s ease-in-out;
    }

    .contact-author:hover {
      color: white;
      text-decoration: none;
    }

    .grid-item:hover .poster-details, .grid-item:hover .contact-author {
      opacity: 1;
    }
    .grid-item:hover >* > img {
      filter: blur(2px) grayscale(75%) brightness(50%);
    }
    
    .grid-item2 {
      height: 2em;
    }
    
    .grid-item > a > img {
      transition: all 0.5s ease-in-out;
    }

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

    .filter-eposters {
        position: relative;
        display: flex;
    }

    .filter-eposters > .search-button {
        position: absolute;
        top: 0;
    }

    .search-button img {
        width: 35px;
    }

    .search-button {
        height: 35px;
        width: 60px;
        padding: 6px;
        border-radius: 50px;
        background: #1f76a2;
    }
    .search-input {
        border-radius: 20px !important;
        padding-left: 67px !important;
        border-color: #707070 !important;
        border-width: 1px !important;
        width: 100%;
        flex-shrink: 0;
        font-size: 12px;
        height: 35px;
    }

    .filters > div {
        padding: 1em;
    }

    .filter-button {
        padding: 6px 12px;
        font-size: 14px;
        border-radius: 20px;
        color: #707070;
        background: transparent;
        border: 1px solid #707070;
        margin: 0 4px;
        width: 100%;
    }

    .filter-buttons-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /*slider checkbox*/
    .switch {
        display: inline-block;
        height: 18px;
        position: relative;
        width: 40px;
        vertical-align: middle;
        float: right;
        margin-bottom: 0;
        margin-left: 3px;
    }

      .switch input {
        display:none;
      }
      
      .slider {
        background-color: #ccc;
        bottom: 0;
        cursor: pointer;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        transition: .4s;
      }
      
      .slider:before {
        background-color: #707070;
        bottom: 0px;
        content: "";
        height: 18px;
        left: 0px;
        position: absolute;
        
        transition: .4s;
        width: 18px;
      }
      
      input:checked + .slider {
        background-color: #16506b;
      }
        .filter-button.active {
            color: white;
            background: #1f76a2;
            border: 1px solid #1f76a2;
        }

      
      input:checked + .slider:before {
        transform: translateX(18px);
        left: 4px;
        box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
        background: #1f76a2;
      }
      
      .slider.round {
        border-radius: 34px;
      }
      
      .slider.round:before {
        border-radius: 50%;
      }
    /*slider checkbox end*/


    /*view single poster*/

    #show_poster {
      /*position: absolute;*/
      background: white;
      top: 0;
      left: 0;
      opacity: 0;
      height: 0%;
      width: 0%;
      transition: all 0.4s ease-in-out;
      margin-top:20px;
    }

    #show_poster.active {
      height: auto;
      width: 100%;
      opacity: 1;
      box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    }

    .poster-metas {
      padding: 50px 25px 25px 25px;
      background: #b8e0f1;
    }
    /*view single poster end*/
    .close-preview {
      position: absolute;
      width: 90px;
      height: auto;
      top: 0;
      right: 0;
    }
    .close-bg {
      background: #b8e0f1;
      margin: 1em;
      padding: 1em;
      margin-bottom: 4px;
    }

    .close-text {
      text-transform: uppercase;
      text-align: center;
      margin-top: 0;
    }
    #poster-preview {
      width: 100%;
      max-height: 100%;
      box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    }

    #poster-preview #head {
      line-height: 0;
    }

    .p-20 {
      padding: 20px
    }

    .corporative-color {
      background: #f2f7f9;
    }

    .poster-meta-details {
      padding: 50px 25px 25px 25px;
    }

    .actions {
      display: flex;
      justify-content: space-evenly;
      align-items: flex-start;
      flex-wrap: wrap;
      width: 100%;
      margin: 1em;
    }

    .actions > a, .actions > form, .actions > div {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      flex: 1;
      cursor: pointer;
      color: #fff;
    }
    .action-icon {
      display: flex;
      font-size: 2em;
      border-radius: 50%;
      border: 1px solid var(--theme-primary-text, #c36323);
      color: var(--theme-primary-text, #c36323);
      line-height: 2em;
      width: 2em;
      height: 2em;
      text-align: center;
      justify-content: center;
    }

    .action-icon > svg {
      margin: auto;
    }

    .actions span {
      text-transform: uppercase;
      margin-top: 10px;
      text-align: center;
      color: var(--theme-primary-text, #b8e0f1) !important;
      font-weight: bold !important;
    }

    .row .no-float {
      display: table-cell;
      float: none;
    }

    .single-poster {
      margin-right: 0;
      margin-left: 0;
    }

    .mb-20 {
      margin-bottom: 20px;
    }

    /*custom prev and next for single page view*/
    .custom-prev {
      display: flex;
      left: -20px !important;
      border: 4px solid #f2f7f9;
      position: absolute;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    .custom-next {
      left: 93%  !important;
      position: absolute;
      border: 4px solid #f2f7f9;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    /*custom prev and next for single page view*/

    .single-limit {
      height: 95%;
      display: flex;
      justify-content: center;
      align-items: center;
      border-color: grey !important;
    }

	.iframe-container {
	  position: relative;
	  overflow: hidden;
	  width: 100%;
	  height:0;
	  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
	}

	/* Then style the iframe to fit in the container div with full height and width */
	.responsive-iframe {
	  position: absolute;
	  top: 0;
	  left: 0;
	  bottom: 0;
	  right: 0;
	  width: 100%;
	  height: 100%;
	}
  span.mobile-view {
    display: none;
  }
  @media screen and (max-width: 768px) {
    div.poster-details, a.contact-author {
      font-size: 8px
    }

    .filter-buttons-container >div {
      font-size: 8px;
      height: 55px;
    }
    span.pc-view {
      display: none;
    }
    span.mobile-view {
      display: inline;
    }
  }

  
  
@media (min-width: 768px) {
  .single-poster {
      display: flex;
  }
}



.filter-button {
  background: #e1e1e1 !important;
}

.filter-button.active {
  background: var(--theme-primary, #222) !important;
  color: var(--theme-primary-text, #fff) !important;
  border: 1px solid var(--theme-primary, #222) !important;
}

input:checked + .slider {
  background-color: var(--theme-secundary, #111); !important
}

input:checked + .slider::before {
  background: var(--theme-primary, #222) !important;
}

.search-button {
  background: var(--theme-primary, #222) !important;
  color: var(--theme-primary-text, #fff) !important;
}

.carousel-item.active {
  display: flex !important;
  flex-wrap: wrap !important;
}

div.inside-article {
  min-height: 100vh;
}

.poster-metas {
  padding: 50px 25px 25px 25px;
  background: var(--theme-primary, #222) !important;
  color: var(--theme-primary-text, #fff) !important;
}

.row.single-poster > .col-md-4:first-child {
  background: var(--theme-primary, #222) !important;
  color: var(--theme-primary-text, #fff) !important;
}

.corporative-color {
  background: #eaeaea !important;
}

.corporative-color {
  background: #eaeaea !important;
  color: black;
}

.contact-author {
  background: var(--theme-primary, #222) !important;
}

.contact-author:hover {
  color: white !important;
}

.carousel-control-prev, .carousel-control-next {
  height: 40px !important;
  width: 40px !important;
  background: none repeat scroll 0 0 #222222;
  border: 4px solid #FFFFFF !important;
  border-radius: 23px 23px 23px 23px !important;
  margin-top: 110px;
  opacity: 1 !important;
}

.carousel-control-next, .carousel-control-prev {
  top: 50% !important;
  margin-top: -20px !important;
}

.carousel-control-next {
  right: -38px !important;
}

.carousel-control-prev {
  left: -38px !important;
}

.poster-rowheight-title {
  height: calc(40% - 75px);
}

.poster-rowheight-authors {
  height: calc(60% - 75px);
}

a.download-pdf {
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75) !important;
  display: flex;
  flex-direction: column;
}