
@media only screen and (min-width: 360px) {
    .shariff .orientation-horizontal.button-style-standard li {
      width: auto;
      -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
      flex: 0 0 auto;
    }
  }

@media only screen and (min-width: 768px) {
    .shariff .orientation-horizontal.button-style-standard li {
      min-width: auto;
      max-width: auto;
    }
  }

  .shariff  a {
    background-color: transparent !important;
  }


  .shariff li.shariff-button a {
    color: #fff;
    text-decoration: underline;
    width: 31px;
    display: inline-block;
    border-bottom: 0 !important;
  }


  .shariff li.shariff-button a .fas::before ,
  .shariff li.shariff-button a .fa::before,
  .shariff li.shariff-button a .fab::before{
    background-image: url(../images/icons/circle.svg);
    background-size: 31px 31px;
    background-repeat: no-repeat;
    background-position: 0 0;
    width: 31px;
    height: 31px;
    display: inline-block;
    text-align: center;
    padding-top: 0;
    
  }


  /* eventnews calendar */

  ul.pager li.previous a::before, 
  ul.pager li.next a::after {
    top: -20px;
  }

  .frame-type-eventnews_newsmonth .news .row .col-md-2,
  .frame-type-eventnews_newsmonth .news .row .col-md-3{
    display:none;
  }

  .frame-type-eventnews_newsmonth .news .row .col-md-7 h2{
   display:none;
  }

  .frame-type-eventnews_newsmonth .news .row .col-md-7{
    width:100% !important;
    max-width:100%  !important;
    min-width:100%  !important;
  }
  .frame-type-eventnews_newsmonth .news .row .col-md-7 td{
    text-align:center;
  }
  td.hasevents .event{
    font-size: .9em;
    background-color: #133362;
    color: #fff;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    padding: 8px;
    text-align: left;
    z-index: 5;
    font-weight: 400;
  }
  td.hasevents {
    background-color: #d6d41c;
    color: #133362;
    position:relative;
    border-color:#d6d41c;
  }
  td.hasevents a {
  color: #133362;
  text-decoration: none;
  }
  td.hasevents:hover .event {
    display: inline-block;
  }
  td.hasevents:hover .event div {
    border-bottom:2px solid transparent;
    padding:5px;
  }

  td.hasevents:hover .event div:hover {
    border-bottom:2px solid #d6d41c;
  }

  td.hasevents:hover .event div a {
    color:#fff;
  }


  tr:not(.days){
    border:none;
    border: 1px solid transparent;
  }

  ul.pager li.previous, ul.pager li.next {
    font-size:0;
    width:20%;
    display: inline-block;
  }

  .frame-type-eventnews_newsmonth .news .row .col-md-7 ul.pager li:nth-child(2){
    width:50%;
    display: inline-block;
    text-align:center;
  }


  ul.pager.news li.previous a::before, 
  ul.pager.news li.next a::before,
  ul.pager.news li.next a::after {
 
    margin-top: 30px;
  }