@font-face {
    font-family: 'Fontello';
    src: url('fonts/fontello.eot?63384506');
    src: url('fonts/fontello.eot?63384506#iefix') format('embedded-opentype'),
        url('fonts/fontello.woff2?63384506') format('woff2'),
        url('fonts/fontello.woff?63384506') format('woff'),
        url('fonts/fontello.ttf?63384506') format('truetype'),
        url('fonts/fontello.svg?63384506#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-location:before {
    content: '\e801';
}

.icon-money:before {
    content: '\f0d6';
}
.o365-masonry__item-selected-btns {
    position: absolute;
    top: 0;
    right: 10px;
    color: green;
}


/**
   * Office365 Display Templates v1.0 
   */



#o365-pb-masonary__items,
#o365-pr-masonary__items {
    display: inline-table;
}

#o365-pb-masonary__items .o365-masonry__item,
#o365-pr-masonary__items .o365-masonry__item {
    min-height: 400px;
}



.o365-loading-indicator {
    text-align: center;
}

.o365-masonry__item {
    width: 30%;
    float: left;
    margin: 5px 15px;
    border: 1px solid #ccc;
    position: relative;
}

.o365-masonry__item-list {
    padding: 0;
    margin: 0;
    list-style: none;
    word-break: break-word;
}

.o365-masonry__item-title {
    margin-bottom: 3px;
    padding: 10px 0px;
    margin:0px;
}

.o365-masonry__item-title a {
    text-decoration: none!important;
    display: block;
    color: #5ba0c7;
    font-size: 18px;
    font-weight: 600;
    box-shadow: none;
    border-bottom: 0 none;
    text-align: center;
}

.o365-masonry__item-title a:hover {
    color: #094c73;
}

.o365-masonry__item-ticket i {
    font-size: 22px;
}

.o365-masonry__item-ticket span {
    display: inline-block;
    color: #414141;
    font-size: 18px;
    margin-left: 10px;
}

.o365-masonry__item-details span {
    white-space: inherit !important;
}

.o365-masonry__item-body {
    padding: 10px;
}

.o365-masonry__item-badge-tpleft {
    background-color: #50a6d5;
    color: #fff;
    left: -15px;
    padding: 5px 18px 5px 21px;
    position: absolute;
    top: 25px;
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.o365-masonry__item-badge-mnthyear {
    display: grid;
    margin-left: 10px;
}


.o365-masonry__item-badge-date {
    font-size: 46px;
}


.o365-masonry__item-badge-tpleft:after {
    border-color: transparent transparent #50a6d5;
    border-style: solid;
    border-width: 10px;
    bottom: -10px;
    content: "";
    display: inline-block;
    left: 5px;
    position: absolute;
    transform: rotate(45deg);
    width: 0;
}

.o365-masonry__item-btn {
    display: flex
}

.o365-masonry__item-btn a {
    text-decoration: none!important;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-decoration: none;
    box-shadow: none;
    background-color: #50a6d5;
    border-radius: 2px;
}

.o365-masonry__item-btn a:hover {
    color: #fff !important;
    box-shadow: none;
    background-color: #16a4f1;
}


.o365-masonry__item-location {
    display: flex;
}

.o365-masonry__item-venue a {
    display: block;
    text-decoration: none!important;
}

.o365-masonary__items {
    width: 100% !important;
}
.o365-masonry__item-thumb {
    display: inline-grid;
    min-height: 154px;
}

.o365-masonry__item-thumb img {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.o365-masonry__item-thumb img:hover {
    opacity: .6;
}

.o365-masonry__itempagination {
    display: inline-block;
    margin-top: 20px;
}

.o365-masonry__itempagination a {
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-decoration: none;
    box-shadow: none;
    background-color: #50a6d5;
    border-radius: 2px;
}

.o365-masonry__itempagination a:hover {
    color: #fff;
}

.o365-masonry__item .azuremediaplayer {
    width: 100%;
    height: 150px;
}


@media (max-width: 840px) {
    .o365-masonry__item {
        width: 45%;
    }
}

@media (max-width: 560px) {
    .o365-masonry__item {
        width: 100%;
        margin-left: 0px;
    }
}


.o365-masonary__gallery-items .o365-masonry__item{
    border:none;
}

.o365-masonry__item-thumbimg{
    position: relative;
}

.o365-masonry__item-btns{
    bottom: 12px;
    position: absolute;
    background: #5076e5bf;
    width: 100%;
    height: 112px;
    padding: 10px;
    color: #fff;
    opacity: 0;
      -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.o365-masonry__item:hover .o365-masonry__item-btns{
  opacity: 1;
}


.o365-masonry__item-btns span {
    padding: 10px;
    color: #fff;
}

.o365-masonry__item-buy ul{
    margin:0px;
    padding-left: 0px;
}

.o365-masonry__item-buy li{
    line-height: 25px;
    list-style: none    ;
}

.o365-masonry__item-buy li a{
  color: #fff;
  text-decoration: none!important;
}

.o365-masonry__item-buy li a:hover{
  color: #fff;
}


.o365-masonary__innerwrap .type-portfolio
{
    break-inside: avoid;
}

.o365-masonary__innerwrap .span_1_of_4
{
    width:100%; 
}



.o365-lightbox{
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color:#000000cf;
  align-items: center;
}
/* Modal Content */
.o365-lightbox__content{
  position: relative;
  margin: auto;
  padding: 0;
  width: 50%;
  max-width: 350px;
}
/* The Close Button */
.o365-lightbox-close {
  color: white;
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}
.o365-lightbox-close:hover,
.o365-lightbox-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
.o365-lightbox__items{
  display: none;
}
/* Next & previous buttons */
.o365-lightbox-prev,
.o365-lightbox-next{
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #000;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.o365-lightbox-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.o365-lightbox-prev:hover,
.o365-lightbox-next:hover {
  background-color: #fff;
  color:#000!important;
}

/*  Reset styles  */

.o365-masonry__item-title:before{
    display: none;
}
.o365-masonry__item-category span {
    background: #f0f8ff;
    padding: 3px 8px;
    font-size: 16px;
    border-radius: 5px;
    text-transform: capitalize;
}
