/*
Theme Name: MyNewsBuffet.com
Version: 0.1
Author: MyNewsBuffet.com
Author URI: MyNewsBuffet.com

ô¿ô
--- what are you looking for?

*/

@import url(//fonts.googleapis.com/css?family=Droid+Serif:400,700);

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #fff; /*#F3F2FF;*/
  font-family: 'Poppins', sans-serif; 
}

h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6 { 
  font-family: 'Poppins', sans-serif; 
  text-shadow: 0 0 0 rgba(0,0,0,0,0.1);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);  
}
h1 a, a h1 { text-decoration: none; border-bottom: 0; }
h1, .h1 { font-size: 2em; }
h2, .h2 { font-size: 1.8em; }
h3, .h3 { font-size: 1.6em; }

a, a:active { 
  color: #006; 
  -webkit-transition: all 0.25s ease 0s; 
  transition: all 0.25s ease 0s; 
}

.wrapper {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.main-content img {
  max-width: 100%; 
  height: auto; 
}







/* addthis override */
.at-resp-share-element .at-share-btn:focus, .at-resp-share-element .at-share-btn:hover {
  transform: none !important;
  -webkit-transform: none !important;
  opacity: 0.75;
  box-shadow: 0 0 0 1px #000;
}
.be-sure {
  text-align:center;color:#fff;padding:5px;
}
@media screen and (max-width: 782px) {
  .be-sure { display: none; }
}
/* Buttons */
.btn {
  display: inline-block;
  padding: 7px 12px;
  border: none;
  border-radius: 0px;
  color: #fff !important;
  background: rgba(87,104,112,0.85);
  text-decoration: none;
  -webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.5);
  box-shadow: 0px 1px 4px rgba(0,0,0,0.5);
  text-transform: uppercase;
  font-size: 13px;
}
.settings_btn,
.search_news_btn,
.reload_btn,
.help_btn,
.search_btn {
  border: none;
  text-shadow: 0px 1px 1px #000;
  display:inline-block;
}
.settings_btn, .reload_btn, .search_btn {
  width: 210px;
  max-width: 100%;
  font-size: 14px;
}
.settings_btn {
  text-align: center;
  padding: 7px;
  font-weight: bold;
  background: #4cbb17;
}  
.reload_btn {
  margin: 0 auto 5px;
  background: #33a;
  font-weight: bold;
  padding: 7px;
}
.search_btn {
  margin-bottom: 4px;
  background: #33a;
  border: none;
  padding: 7px;
  font-weight: bold;
}
.search_news_btn {
  font-weight: bold;
  background: #33a;
}


/* Top Stories */
.topbar { 
  background: #fff; 
  color: #252545; 
  padding-bottom: 30px;
  border-bottom: solid 5px #aac;
  margin-bottom:5px;
  overflow: hidden;
}
.topbar h1 { 
  color: #252545; 
  margin: 0; 
  padding: 20px 10px;
}
.topbar img { 
  width: 125px;
  margin-right: 10px;
  flex: 0 0 auto;
  max-width: 30%;
  height: auto;
}
.topbar .ft img {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.topbar .ts {
  padding: 10px;
}
.topbar .feed-title {
  position: relative;
  display: flex;
  align-items: flex-start;
}
.topbar .ft .feed-title {
  flex-direction: column;
}
.topbar a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  display: block;
}
.topbar .ft a {
  font-size: 28px;
}
.topbar a strong { font-weight: 600 !important; }
.topbar a:hover { text-decoration: underline; }
.topbar a:hover img {
  box-shadow: 0 0 2px #008;
}

#topstories { margin-top: -10px; }
#topstories.flickity-enabled { display: block; overflow: visible; }
#topstories .ts { float: none; width: 33.3333%; padding: 10px; }
#topstories:after { content: ''; display: none; }
#topstories .flickity-prev-next-button { background: rgba(127,127,127,0.25); }

@media only screen and (max-width: 782px) {
  #topstories:after { content: 'flickity'; display: none; }
  #topstories { display: block; margin-bottom: 10px; } 
  #topstories .ts { display: block; width: 100%; padding-left: 34px; padding-right: 34px; }
  .topbar img { width: 75px; }
  .topbar .ft img { height: 75px; width: auto; margin-right: 10px; }
  .topbar .ft .feed-title { flex-direction: row; }
  .topbar a { font-size: 18px; }
  .topbar .ft a { font-size: 18px; }
  #topstories .flickity-prev-next-button { width: 26px; height: 26px; background: rgba(127,127,127,0.25); border: solid 1px rgba(0,0,0,0.6); }
  #topstories .flickity-prev-next-button.next { right: 4px; }
  #topstories .flickity-prev-next-button.previous { left: 4px; }
  #topstories .flickity-prev-next-button svg { fill: #000; }
  #topstories .flickity-page-dots .dot { background:#006;}
}

.topbar h1 a { font-size: 80%;float:right;color:#800;text-decoration:underline; } 
@media screen and (max-width:600px) { .topbar h1 a { font-size: 50%; } }
@media screen and (max-width:480px) { .topbar h1 a { width: 140px; } }
@media screen and (max-width:781px) { .tocmn { display: none !important; } }
.headlinets { text-decoration: none; }
.headlinets strong { text-decoration: underline; }
.fiimg, .lsimg, .rsimg { display: block; text-decoration: none; position: relative; padding-bottom:12px; }
.fiimg img {
  float:none;
  margin:0 auto;
  width:100%;
  height: auto;
  display: block;
}
.fiimg::after {
  content: attr(data-credit);
  display:block;
  width:100%;
  text-align:right;
  height:12px;font-size:11px;line-height:12px;
  color:#888;
  font-style:italic;
  position: absolute;
  bottom: 0;
}
.lsimg { float: left; max-width: 33%; padding-right: 10px; }
.rsimg { float: right; max-width: 33%; padding-left: 10px; }
.lsimg img, .rsimg img { width: 100%; height: auto; max-width: 125px; max-height: 125px; display: block; }

@media screen and (max-width:999px) {
  .lsimg, .rsimg { float: left; padding: 0 10px 0 0; }
}

.continued { padding: 10px 0 20px; }
.continued .col-1-3 { 
  padding: 10px; 
  width: 100%;
}

@media screen and (min-width:640px) {
  .continued .col-1-3 { width: 50%; }  
  .continued { background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 49.9%, rgba(204,204,204,1) 50%, rgba(255,255,255,1) 50.1%, rgba(255,255,255,1) 100%); }
}
@media screen and (min-width:1000px) {
  .continued .col-1-3 { width: 33.33%; }  
  .continued { background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 33.23%, rgba(204,204,204,1) 33.33%, rgba(255,255,255,1) 33.43%, rgba(255,255,255,1) 66.56%, rgba(204,204,204,1) 66.66%, rgba(255,255,255,1) 66.76%, rgba(255,255,255,1) 100%); }
}

.continued a.headlinets {
  display: block;
  font-size: 16px;
  text-decoration: underline;
  padding: 5px;
  color: #000;
  line-height: 24px;
  font-weight: 500;
  font: 500 16px/24px 'Poppins', sans-serif !important;
}
.continued a.headlinets:hover {
  background: #ff3;
}
.continued a.headlinets strong { font-weight: 500 !important; }

.topbar { border-bottom: solid 5px #a00; }
.announcement {
  padding: 10px;
  border: solid 1px #000;
  background: #ff6;
  text-align: center;
  position: fixed;
  max-width: 800px;
  top: 15%;
  right: 50%;
  transform: translate(50%,0);
  z-index: 1000;
}
@media screen and (max-width:768px) {
  .announcement {
    width: 100%;
    max-width: 100%;
    height: calc(100% - 100px);
    top: 100px;
    right: 0;
    overflow-y: scroll;
    transform: translate(0,0);
    padding-top: 50px;
  }
}
.announcement h1 { color:#008; margin: 0 0 10px; font-size: 28px; }
.announcement p { margin: 0 0 10px; font-size: 18px; }
.red { color: #f00; }
.big { font-size: 1.25em; font-weight: bold; }
.announcement .btn { background: #f00; font-size: 24px; font-weight: bold; }
.announcement .close { position: absolute; top: 0; right: 10px; font-size: 40px; color: #000; cursor: pointer; }


/* Main Styles */

.sidebar-block {
  max-width: 400px;
}
.news_link { padding: 2px 0; font-size: 15px; line-height: 18px; }
.news_link a { padding: 2px 0; text-decoration: none; font-size: 15px; color: #00a; font-weight: bold; display: block; }
.news_link a:hover { background: #ff3;}

.filter-box {
  position: relative;
}

.searchtxt {
  color: #000;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}
.news_search {
  border: solid 2px #888;
  padding: 3px;
  font-size: 15px;
  width: 72%;
}

.in-the-news { position: relative; }
.settings_overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  min-height: 100%;
  background: #fff;
  padding: 20px 10px 10px;
}
.settings_overlay strong {
  display: block;
  font-size: 15px;
  padding: 0 0 5px;
}
.done_btn_holder {
  text-align: center;
  padding-bottom:5px;
}
.done_btn { 
  border: none;
  background:#c00; 
  font-weight: bold;
  margin: 0 auto;
  width: 150px;
  padding: 8px 12px;
}
.settings_overlay .headwrap { 
  display: flex; 
  border-bottom: solid 1px #ccc;
  padding-bottom:5px;
  margin-bottom:5px;
}
.settings_overlay .head {
  display: block;
  padding: 1px;
  width: 50%;
}
.settings_overlay .head button {
  display: block;
  width:100%;
  background: #fff;
  border: solid 1px #000;
  color: #000;
  border-radius: 4px;
  padding: 5px 0;
}
.settings_overlay .head button.deactivate_all_btn { background: #fee; }
.settings_overlay .head button.activate_all_btn { background: #dfffdf; }

.feed_srcs {
  display: flex;
  flex-wrap: wrap;
}
.feed_src_item {
  display: block;
  padding: 2px;
  float: left;
  width: 33%;
}
@media screen and (max-width:1024px) {
  .feed_src_item { width: 50%; }
  .help_btn span:first-of-type {display:none;}
  .help_btn span:last-of-type {display:inline;}
}
@media screen and (max-width:782px) {
  .feed_src_item { width: 33%; }
}
@media screen and (max-width:560px) {
  .feed_src_item { width: 50%; }
}
.feed_src_item input[type="checkbox"] { display: none; }
.feed_src_item input[type="checkbox"] ~ label { 
  display: block;
  background: #dfffdf; 
  color: #333; 
  padding: 2px 5px;
  border: solid 1px #0f0;
  border-radius: 4px;
  line-height: 25px;
  position: relative;
  cursor: pointer;
  width: 100%;
}
.feed_src_item span,
.feed_src_item img {
  vertical-align: middle;
  padding: 0 5px;
  display: inline-block;
}
.feed_src_item input[type="checkbox"]:checked ~ label { 
  background: #fee;
  border-color: #800;
  opacity: 0.5; 
  color: #a00;
}
.feed_src_item.single input[type="checkbox"] ~ label {
  background: #3c3;
}
.feed_src_item.single input[type="checkbox"]:checked ~ label {
  background: #fee;
}

.newscontainer { 
  padding: 0px; 
/*  animation: shadow-pulse 1s 1;*/
  position: relative;
  z-index: 100;
  background: #008;
  border-bottom: 0;
  padding-bottom: 0;
}
.newscontainer .ncinner {
  background: #fff; /*#F3F2FF;*/
  padding: 6px;
  border-bottom: 0;
}
.newscontainer h2 { font-size: 2.35em; margin: -5px 0 5px; color: #800; }
.search_box_box { height:50px; }
@keyframes shadow-pulse{
   0% { box-shadow: 0 0 0 0px rgba(255, 0, 0, 0.9); }
   100% { box-shadow: 0 0 0 35px rgba(255, 0, 0, 0); }
}
.introtxt {
   font-weight: bold;
   font-size: 21px;
   color: #800;
   margin-top: 35px;
   display: block;
   font-family: 'Poppins', sans-serif;
}
.introtxt span.txt { white-space: nowrap; }
#searchactivetxt {
   color:#008;
   background:#ff0;
   font-weight:bold;
   font-size:14px;
   margin: 4px 0;
}

@media screen and (min-width: 783px) {
  .introtxt span.arr {
    font-size:32px;
    line-height:16px;
    position: relative;
    top: 2px;
    display: inline-block;
  }
}
@media screen and (min-width: 1201px) and (max-width:1280px) {
  .introtxt { font-size: 19px; }
  .newscontainer h2 { font-size: 2em; margin: 0 0 5px; }
}
@media screen and (min-width: 1001px) and (max-width:1200px) {
  .newscontainer h2 { font-size: 1.75em; margin: 0 0 5px; }
  .introtxt { font-size: 16px; }
}
@media screen and (min-width: 783px) and (max-width:1000px) {
  .newscontainer h2 { font-size: 1.35em; margin: 0 0 5px; }
  .introtxt { font-size: 14px; }  
}
@media screen and (max-width: 782px) {
  .newscontainer { padding-top: 0; }
  .newscontainer h2, .newscontainer h3 { display: none; }
  .newscontainer .col-1-3, .newscontainer .col-2-3 {
    padding: 1px;
    text-align: center;
  }
  .newscontainer .btn { 
    margin: 0 2px 4px; 
    display: inline-block;
    padding: 5px;
    font-weight: bold;
  }
  .introtxt { margin: 14px 0 0; font-size: 18px;}
}
@media screen and (max-width: 618px) {
  .introtxt { display: none !important; }
  .ncinner { display: flex; flex-direction: column; }
  .ncinner .col-1-3 { display: flex; justify-content: space-around; order: 1;}
  .ncinner .col-1-3 .btn { width: 33%; margin: 0 5px; }
  .ncinner .col-2-3 { order: 2; }
  span.amp { display: none; }
  .search_box_box { height:auto; }
}
.newsholder {
  background: #008;
  border: solid 1px #000;
  padding: 0px;
  min-height: 100px;
}
.newsholder > p,
.afternews p {
  font-size: 1em;
  text-align: left;
  font-weight: bold;
}
.newsholder > p {
  color: #fff;
}
.newsholder .feed-lists {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
.newsholder .feed-item {
  list-style: none;
  border: none;
  padding: 0px;
  width: 50%;
}
.newsholder .feed-item a { text-decoration: none; display: block; }
.newsholder .feed-item a strong { font-weight: 500 !important; }
.newsholder .feed-item a { color: #000; }
.newsholder .feed-item a:hover { background: #ff3; text-decoration: underline; }
.newsholder .feed-item a:visited { background:#ff9; color: #a55 !important; }
.newsholder .feed-item > div {
  padding: 8px 5px;
  border: solid 1px #008;
  background: #fff; /*#F3F2FF;*/
}
.newsholder .feed-title {
  font-size: 16px; 
  line-height: 22px;
}
.newsholder .feed-item-image {
  max-height:65px;
  width:auto;
  float:right;
  margin-left: 2px;
}
.newsholder .feed-date {
  font-size: 11px;
  padding-top: 5px;
}
.newsholder .savearticlebtn {
  padding: 2px 8px;
  margin: 1px 0 0;
  font-size: 12px;
  line-height: 14px;
  text-transform: none;
  color: #fff;
  background: #888;
  border: solid 1px #888;
  float: right;
}
.newsholder .savearticlebtn:hover {
  background: #444;
  border: solid 1px #3cd;
  color: #ccf;
}
.newsholder .savearticlebtn.saved {
  background: #aaa;
  border: solid 1px #999;
}

.loading {
  display: block;
  font-size: 20px;
  text-align: center;
  position: relative;
  padding: 40px 0;
}
.loading:after {
  display: block;
  content:' ';
  border: dotted 5px #66c;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  animation: loadspin 2s infinite linear;
  position: absolute;
  top: 5px;
  left: 47.5%;
}
#newsholder .loading { color: #fff; }
#newsholder .loading:after { border: dotted 5px #aaf; }  
@keyframes loadspin{
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
}

.header-container { z-index: 999; }

.help_overlay {
  background: #fff;
  padding: 5px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 1000;
}
.help_inner { 
  position: relative; 
}
.help_inner p {
  font-size: 1.2em;
}
.help_inner .close {
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: -10px;
  right: 10px;
  outline: none;
  cursor: pointer;
}

@media screen and (max-width: 782px) {
  .mainwrap { 
    display: flex !important; 
    flex-direction: column;
  }
  .leftcol, .in-the-news, .rightcol {
    width: 100%;
    float: none;
  }
  .leftcol { 
    order: 2;
  }
  .in-the-news { 
    order: 1;
  }
  .rightcol { 
    order: 3;
  }
  
}

@media screen and (max-width: 618px) {
  #newsholder .feed-lists .feed-item {
    width:100%;
  }    
}

a.rrlink { 
    text-decoration: none; 
    display:block;
    color:#800 !important;
    background:#fff;
    border:solid 2px #800;
    padding:5px;
    margin: 15px 0;
    font: bold 18px/30px 'Droid Serif', serif;
    text-align: center;
}
@media screen and (min-width:783px) and (max-width:1020px) {
  a.rrlink { font-size: 13px; }
}


.sidebar-block {
  border: solid 2px #900;
  padding: 5px;
  margin-bottom: 20px;
}
.widgettitle {
  background: #900;
  color:#fff !important;
  font-variant:small-caps;
  font-size:19px !important;
  -webkit-text-stroke:0;
  margin: -5px -5px 5px !important;
  padding: 5px;
  text-align: center;
}
.widgettitle span { display: inline-block; }

.widget-area,
.widget-area-2 {
  padding: 5px;
  margin: 0 0 20px;
  border: solid 2px #800;
}
.widget-area h2,
.widget-area-2 h2 {
  font-variant:small-caps;
  font-size:26px !important;
  margin: 0 0 10px;
  -webkit-text-stroke:0;
  text-align: center;
  color: #900;
}
.widget-area h2 a {
  color: #900;
  display: block;
}
.widget-area a { text-decoration: none; }
.widget-area-2 h2 {
  font-size:17px !important;
  margin: 0 -5px;
}
.widget-area .us_debtclock_widget_amount {
  font-size: 18px;
  white-space:nowrap;
  background: #000;
  color: #fff;
  padding: 5px 0;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
}
@media screen and (min-width: 783px) {
  .widget-area .us_debtclock_widget_amount { font-size: 12px; }
}
@media screen and (min-width: 1024px) {
  .widget-area .us_debtclock_widget_amount { font-size: 16px; }
}
@media screen and (min-width: 1360px) {
  .widget-area .us_debtclock_widget_amount { font-size: 18px; } 
}
.widget-area-2 { padding: 10px; }
.widget-area-2 .gform_wrapper .top_label .gfield_label {
  font-size: 14px;
}
.widget-area-2 .gform_wrapper ul.gform_fields li.gfield {
  padding: 0;
}
.widget-area-2 .gform_wrapper .top_label input[type="text"],
.widget-area-2 .gform_wrapper .top_label textarea {
  width: 100%;
}
.widget-area-2 .gform_wrapper input[type="submit"] {
  background: #900;
  border: solid 1px #900;
  color: #fff;
  padding: 10px;
}

/* ========================================================================== */
/* Footer styles */
/* ========================================================================== */

footer.foot {
  background: url("img/noise-bg.png") 0 0 repeat;
  padding: 40px 10px;
  color: #fff;
}
footer.foot a {
  color: #ccc;
  text-decoration: underline;
}
.footer-nav ul { list-style: none; font-size: 12px; margin: 0; padding: 0; }
.footer-nav ul li { display: inline-block; padding-right: 10px; }

/* ========================================================================== */
/* Grid me up a little bit 
 * and misc layout items */
/* ========================================================================== */

.col-1-2 {
  float: left;
  width: 50%;
}
.col-1-3 {
  float: left;
  width: 33.3%;
}
.col-2-3 {
  float: left;
  width: 66.6%;
}
.col-1-4 {
  float: left;
  width: 25%;
}
.col-3-4 {
  float: left;
  width: 75%;
}
.blockety { padding: 10px; }

@media screen and (min-width: 783px) {
  .skinnyleft .col-1-4 {
    width: 20%;
  }
  .skinnyleft .col-1-2 {
    width: 60%;
  }
}

@media only screen and (max-width: 782px) {

  .col-1-2, .col-1-3, .col-2-3, .col-1-4, .col-3-4 {
    float: none;
    width: 100%;
    padding: 10px;
  }
  .blockety { padding: 5px; }

  .halfers .col-1-3,
  .halfers .col-2-3 {
    float: left;
    width: 50%;
  }
  .halfers .col-1-3:first-child {
    float: none;
    width: 100%;
  }
  .book.halfers .col-1-3 { float: left; width: 50%; }  
  .facebook-box, .recent-comments {
    float: left;
    width: 50%;
  }  

}

@media only screen and (max-width: 618px) {

  .halfers .col-1-3,
  .halfers .col-2-3,
  .book.halfers .col-1-3,
  .book.halfers .col-2-3,
  .facebook-box, 
  .recent-comments {
    float: none;
    width: 100%;
  }

}


/* Isotope */
/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/*! Flickity v2.2.1
https://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.75);
  border: none;
  color: #333;
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/* WordPress Defaults */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, 
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 15px auto;
}

a img.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

a img.alignnone {
    margin: 0 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 15px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 15px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 15px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 1.5em;
    margin: 0;
    padding: 0 4px 5px;
}

img.wp-smiley {
    vertical-align: middle;
}

.gallery {
    margin: 0 auto 18px;
}

.gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    max-width: 155px;
}

.gallery img {
    border: 1px solid #ddd;
}

.gallery .gallery-caption {
    font-size: 12px;
    margin: 0 0 12px;
}

.gallery dl {
    margin: 0;
}

.gallery br+br {
    display: none;
}

.attachment-gallery img {
    background: #fff;
    border: 1px solid #f0f0f0;
    display: block;
    height: auto;
    margin: 15px auto;
    max-width: 96%;
    padding: 5px;
    width: auto;
}

.gallery-meta .iso, 
.gallery-meta .camera,
.gallery-meta .shutter,
.gallery-meta .aperture,
.gallery-meta .full-size,  
.gallery-meta .focal-length {
    display: block;
}

/* Clearfix */
.clearfix:after {
    clear: both;
    content: '\0020';
    display: block;
    height: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
}

.clearfix{
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix{
    display: block;
}

.clear {
    clear: both;
}

.hidden {
  visibility: hidden;
  display: none;
}

@media only screen and (max-width: 480px) {
  .alignleft { margin: 0 10px 10px 0; }
  .alignright { margin: 0 0 10px 10px; }
}