/*--------------------------------------------------------------
   Widgets
--------------------------------------------------------------*/

.widget{
	margin-bottom: 5rem;
  max-width: 300px;
  margin-right: auto;
  margin-left: auto;
}
.widget:only-of-type {
  margin-bottom: 0;
}

.widget ul{
	list-style: none;
	margin:0;
	padding: 0;
}
.widget ul ul{
	margin-top: 1rem;
}
.widget ul li{
	position: relative;
	padding-left: 2rem;
	margin-bottom: 1.2rem;
	line-height: 1.5;
}
.widget a{
	text-decoration: none;
	-webkit-transition: color .2s ease-in-out;
	   -moz-transition: color .2s ease-in-out;
	    -ms-transition: color .2s ease-in-out;
	     -o-transition: color .2s ease-in-out;
	        transition: color .2s ease-in-out;
}
.widget_nav_menu ul li:before,
.widget_rss ul li:before,
.widget_recent_entries ul li:before,
.widget_recent_comments ul li:before,
.widget_meta ul li:before,
.widget_pages ul li:before,
.widget_categories ul li:before,
.widget_categories ul li:before,
.widget_archive ul li:before,
.typology-responsive-menu ul li:before,
.typology_category_widget ul li:before{
  content:"";
  position: absolute;
  top: 8px;
  left: 0;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  display: block;
  user-select: none;
}

/*Calendar Widget*/

.widget_calendar table {
  background: transparent;
  width: 100%;
  table-layout: fixed;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.widget_calendar table thead {
  font-size: 1.2rem;
}
.widget_calendar table thead th {
  text-align: center;
}
.widget_calendar table tbody td {
    font-size: 1.4rem;
    text-align: center;
    padding: 10px 0;
}
.widget_calendar table tfoot {
  background: transparent;
}
.widget_calendar table tfoot tr #next {
  text-align: right;
}
.widget_calendar table caption {
    font-size: 1.2rem;
    position: absolute;
    top: -5px;
    right: 0;
}
.widget_calendar table tbody td a{
    display: inline-block;
    min-width: 16px;
    height: 25px;
    border-bottom: 1px solid;
    transition: all .2s ease-in-out;

    &:hover{
    	    min-width: 20px;
    	}
}

.widget_calendar{
  padding: 0;
  position: relative;
}
.widget_calendar .widget-title{
    padding: 0 0 2rem;
    margin-bottom: 0;
}
.widget_calendar #today{
  position: relative;
}
.widget_calendar #today:after{
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: -15px 0 0 -15px;
}


/* Tags Widget */
.entry-tags a,
.widget_tag_cloud a{
    font-size: 12px!important;
    display: inline-block;
    vertical-align: top;
    padding: 9px 20px;
    height: 30px;
    line-height: 1;
    margin-right: 2px;
    margin-bottom: 7px;
    background: rgba(0,0,0,.07);
    border:none;
    &:hover{
      border:none;
    }
}

.widget .post-date{
	display: block;
	font-size: 1.4rem;
}

/* RSS widget */
.rss-widget-icon{
  display: none;
}
.rss-date{
  display: block;
  font-size: 1.2rem;
}
.rssSummary{
  margin-top: 1rem;
}
.widget_rss cite{
    margin-top: 1rem;
    display: block;
}
.typology-button-search{
  margin-top: 1rem;
}
.mks_ads_widget ul{
  text-align: center;
}
.mks_ads_widget .widget-title{
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.widget.mks_ads_widget li{
  padding: 0;
}
.widget.mks_ads_widget .small li, 
.widget.mks_ads_widget ul.custom li, 
.widget.mks_adswidget_ul.small li, 
.widget.mks_adswidget_ul.custom li{
    margin-bottom: 15px;
    margin-right: 11px;
}
.mks_author_widget h3{
    font-size: 1.8rem;
}
.mks_author_widget p,
.mks_social_widget p{
    margin: 0 0 1.8rem;
}
.mks_author_widget p:last-child{
  margin-bottom: 0;
}

.mks_themeforest_widget{
    border: 1px solid rgba(0,0,0,0.2);
    padding: 2.8rem 3rem;
}
.mks_themeforest_widget{
    padding: 2.2rem 2.2rem;
}

.mks_themeforest_widget .widget-title{
  text-align: center;
}

.widget.mks_author_widget img{
    margin: 5px 20px 0 0;
}

.widget .mks_read_more{
  margin-bottom: 0;
  margin-top: 18px;
  a{
    width: 100%;
  }
}
ul.flickr li, .widget ul.flickr li{
  padding:0;
}
ul.flickr a img{
  object-fit: cover;
}
ul.flickr a img{
  opacity: 1;
}
.mks_flickr_widget a{
  position: relative;
}
.mks_flickr_widget a:after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  -webkit-transition: opacity .2s ease-in-out;
     -moz-transition: opacity .2s ease-in-out;
      -ms-transition: opacity .2s ease-in-out;
       -o-transition: opacity .2s ease-in-out;
          transition: opacity .2s ease-in-out;
  opacity: 0;
}
.mks_flickr_widget a:hover:after{
  opacity: 0.2;
}
ul.mks_social_widget_ul li{
  margin-bottom: 2px;
}

/* Search widget */
.typology-search-form{
  position: relative;
}
.entry-content .typology-button-search{
    position: absolute;
    top: 0;
    right: 0;
    max-width: 50px;
    height: 100%;
    min-width: 100px;
    margin: 0;
}
.error404 .widget .typology-search-form{
  margin:0;
}
.error404 .typology-search-form{
  max-width: 420px;
}
.entry-content input[type="text"]{
    max-width: 100%;
    margin-right: 1rem;
}
.widget .typology-icon-button{
  width: 100%;
}

/* Typology Posts */
.typology_posts_widget .post{
  position: relative;
  margin-bottom: 2rem;
  display: block;
}
.typology_posts_widget .post-letter{
  font-size: 10rem;
  left: 0;
}
.typology_posts_widget h6{
  margin-bottom: 0;
}
.typology_posts_widget .entry-meta {
    margin-top: .4rem;
}

.style-timeline .post{
  padding:0 0 0 70px;
}
.style-dropcap .post {
    padding: 0 0 0 32px;
}

.style-timeline .post-date{
    position: absolute;
    top: 10px;
    left: 3px;
}
.style-timeline .post-date{
  text-align: center;
}
.style-timeline .post-date-day{
    font-size: 2.7rem;
    display: block;
    line-height: 0.5;
}

.style-timeline .post-date-month{
    font-size: 1rem;
}
.typology_posts_widget .style-timeline .post:before{
  height: 100%;
  width: 1px;
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 54px;
  background: rgba(0,0,0,0.1);
}
.typology_posts_widget .style-timeline .post{
  margin-bottom: 0;
  padding-bottom: 2rem;
}
.typology_posts_widget .style-timeline .post:last-child{
  padding-bottom: 0;
}

.style-thumbnail .entry-image{
    float: left;
    max-width: 70px;
    margin-right: 15px;
}

.widget .mejs-controls .mejs-button button{
  min-width: unset;
}
.widget .mejs-overlay-button{
  -webkit-transform: scale(0.6);
     -moz-transform: scale(0.6);
      -ms-transform: scale(0.6);
       -o-transform: scale(0.6);
          transform: scale(0.6);
}
/* Gallery Widget */
.widget .gallery .gallery-item a:after{
  -webkit-transform: scale(.8);
     -moz-transform: scale(.8);
      -ms-transform: scale(.8);
       -o-transform: scale(.8);
          transform: scale(.8);
}

/* Instagram Widget */
.widget .meks-instagram-follow-link a {
  height: 40px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 0 20px;
  line-height: 40px;
  min-width: 160px;
  font-size: 1.1rem;
  border: 1px solid;
  font-weight: 400;
  outline: 0;
  transform: translateY(0);
  transition: all .1s ease-in-out;
}