/*
Theme Name: SoSimple Child
Theme URI: https://wordpress.org/themes/sosimple/
Template: sosimple
Author: fernando villamor jr
Author URI: http://fernandovillamorjr.com
Description: A clean, responsive simple theme for simple websites.
Tags: custom-background,custom-header,custom-menu,flexible-header,editor-style,post-formats,one-column,two-columns,right-sidebar,full-width-template,translation-ready
Version: 1.2.7.1505836902
Updated: 2017-09-20 01:31:42

*/

body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.site-title a {
  font-family: "Georgia" !important;
}

body.home #content .entry-header h1.entry-title {
  display: none;
}

.site-title {
  font-size: 3rem;
}

.site-description {
  font-size: 1.2rem;
}

.main-navigation {
  border-top: 2px solid #eee;
}

.site-header {
  border-bottom: 2px solid #eee;
}

body.single-mbdb_book .site-main {
  margin: 0;
}

.mbm-book-grid-div {
  display: flex;
  flex-wrap: wrap;
}

.mbdb_float_grid {
  width: 25% !important;
  height: auto !important;
  margin-bottom: 0;
  float: none;
}

.mbdb_grid_title {
  line-height: 1.5;
}

.mbm-book-grid-title-link {
  font-size: 1rem;
  line-height: 1.5
}

#mbm-book-page .mbm-book-buy-links-image, #mbm-book-page  .mbm-book-download-links-image {
  vertical-align: middle;
}

/* #mbm-book-page .mbm-book-editions-subinfo {
  display: block !important;
} */

/*
#wpbooklist_main_display_div .wpbooklist_entry_div {
  box-shadow: none;
  width: 33%;
  height: auto;
}

#wpbooklist_main_display_div .wpbooklist_entry_div > .wpbooklist_inner_main_display_div {
  min-height: 300px;
}

.wpbooklist_inner_main_display_div {
  box-shadow: none;
}

.wpbooklist-top-container div {
  background: none;
}

#wpbooklist_cover_image {
  width: auto;
  height: auto;
  max-height: 300px;
  background: #eee;
  padding: 20px;
}

#wpbooklist_cover_image:hover {
  box-shadow: none;
}

.wpbooklist_entry_div .wpbooklist_inner_main_display_div p {
  position: inherit;
  padding: 0;
  height: auto;
  margin-top: 15px;
}

#wpbooklist-pagination-div {
  display: none;
}

#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight,
#cboxMiddleLeft,
#cboxMiddleRight,
#cboxBottomLeft,
#cboxBottomCenter,
#cboxBottomRight {
  display: none;
}

#colorbox #wpbooklist_display_table_2 {
  width: 100%;
}

#colorbox #wpbooklist_top_top_div {
  height: auto;
}

#colorbox #wpbooklist_top_display_container > table {
  width: 100%;
}

#colorbox #wpbooklist-desc-title-id {
  margin-top: 0;
}

#colorbox .wpbooklist-purchase-img img {
  max-width: 50px;
}

#cboxContent * {
  color: black !important;
  font-family: Georgia;
  font-style: normal !important;
  text-shadow: none;
  font-variant: normal !important;
}
*/

@media screen and (min-width: 50em) {
  blockquote {
    font-size: 1em;
  }
}

@media only screen and (max-width: 1024px) {
  .mbdb_float_grid {
  	width: 50% !important;
  }
}
@media only screen and (max-width: 640px) {
  .mbdb_float_grid {
  	width: 100% !important;
  }
  /*
  #wpbooklist_main_display_div .wpbooklist_entry_div {
    width: 100%;
  }
  #colorbox #wpbooklist-desc-title-id,
  #colorbox .wpbooklist_desc_p_class {
    text-align: left;
    margin-left: 0;
  }
  #colorbox #wpbooklist-desc-title-id {
    padding: 0 20px;
    margin-top: 20px;
  }
  #colorbox .wpbooklist_desc_p_class {
    border: none;
    padding: 0 20px;
  }
  #colorbox {
    width: calc(100vw - 10px) !important;
    overflow: visible !important;
    left: 10px !important;
  }
  #colorbox #cboxWrapper {
  	width: 100% !important;
  }
  #cboxContent {
    width: calc(100vw - 35px) !important;
  }
  #cboxContent * {
    width: 100% !important;
    float: none;

  }
  #colorbox #wpbooklist_title, #colorbox #wpbooklist_top_display_container #wpbooklist_title, #colorbox #wpbooklist_top_display_container #colorbox .wpbooklist_description_p, #colorbox .wpbooklist_description_p, #colorbox #wpbooklist_backup_download {
    -webkit-text-stroke-width: 0;
    -moz-text-stroke-width: 0;
    -ms-text-stroke-width: 0;
    text-stroke-width: 0;
    -webkit-text-stroke-color: initial;
  }    
  #colorbox #cboxLoadedContent {
    width: 100% !important;
  }
  #colorbox #wpbooklist_desc_id {
    padding: 0;
    margin: 0 auto;
  }
  #colorbox .addthis_sharing_toolbox {
    float: left !important;
    width: auto !important;
  }
  #cboxContent #cboxClose {
    width: 23px !important;
  }
  */
}

.mbm-publisher-photo {
  display: inline-block;
}