@charset 'utf-8';
/*
 Theme Name:   OldStory Child
 Theme URI:    http://oldstory.ancorathemes.com/
 Description:  OldStory - Fully Responsive and Mobile Friendly theme
 Author:       AncoraThemes
 Author URI:   http://ancorathemes.com/
 Template:     oldstory
 Version:      1.0
 Tags:         light, inheritable theme-options
 Text Domain:  oldstory
*/


@import url("../oldstory/style.css");


/* =Theme customization starts here
-------------------------------------------------------------- */

img.logo_main {
    margin-top: 10px;
    margin-left: 5px;
}

div.menu_main_wrap {
    margin-right: 20px;
}

/*.header_mobile img.logo_main {
    margin-top: 10px;
}*/

.header_mobile .logo {
    padding: 0 !important;
}

.header_mobile .menu_button {
    top: 25px !important;
    margin: 0 !important;
}

.widget_recent_posts .post_item
{
    margin-top: 0 !important;
}

.top_panel_middle, .header_mobile
{
    background-color: #091634;
    /*background-image: url('https://www.bedondaine.com/wp-content/themes/oldstory_bbr2016/texture_boisbleu.jpg');*/
}

.scheme_original .footer_mainpage h2,
.scheme_original .footer_mainpage h5
{
    color: white;
}

a.hover_icon.hover_icon_view.inited {
    background-color: transparent;
}

img.wp-post-image {
    background-color: transparent;
}

a.hover_icon.hover_icon_link {
    background-color: transparent;
}

.beer_archive img {
    display: none;
}


/*font-face overrides*/

h2, h3, h4, h5 {
  color: #666;
}

h3.post_title.entry-title {
    font-size: 300%;
    margin-bottom: 0px;
    text-shadow: 3px -1px 5px #666;
}

body, body p, td {
    font-family: merriweather;
    font-size: 14pt;
}

.category-beer strong, .category-biere strong {
    font-family: special_eliteregular;
    font-size: 16pt;
}

.category-biere {

}

.category-biere .post_featured, .category-beer .post_featured {
  width: 40%;
  float: right;
}

.category-biere td, .category-beer td {
    padding-top: 50px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 40px 40px;
}

.category-biere td strong, .category-beer td strong {
    text-align: center;
}

.category-biere td:nth-child(1), .category-beer td:nth-child(1) {
    background-image: url("https://www.bedondaine.com/wp-content/themes/oldstory_bbr2016/cereal_80x80.png");
}

.category-biere td:nth-child(2), .category-beer td:nth-child(2) {
    background-image: url("https://www.bedondaine.com/wp-content/themes/oldstory_bbr2016/hops_80x80.png");
}

.category-biere td:nth-child(3), .category-beer td:nth-child(3) {
    background-image: url("https://www.bedondaine.com/wp-content/themes/oldstory_bbr2016/fourquet_80x80.png");
}


.blinking a {

    animation:1s blinker linear infinite;
    -webkit-animation:1s blinker linear infinite;
    -moz-animation:1s blinker linear infinite;
}

@-moz-keyframes blinker {  
 0% { opacity: 1.0; }
 50% { opacity: 0.0; }
 100% { opacity: 1.0; }
 }

@-webkit-keyframes blinker {  
 0% { opacity: 1.0; }
 50% { opacity: 0.0; }
 100% { opacity: 1.0; }
 }

@keyframes blinker {  
 0% { opacity: 1.0; }
 50% { opacity: 0.0; }
 100% { opacity: 1.0; }
 }


li:before{
  content: "" !important;
}

footer {
  background-color: #091634;
    /*background-image: url('https://www.bedondaine.com/wp-content/themes/oldstory_bbr2016/texture_boisbleu.jpg');*/
    color: lightgray;
    font-size: 14pt;
}

div.footer_wrap_inner.widget_area_inner p {
    font-size: 14pt;
    color: lightgray;
}

div.contacts_wrap_inner {
  display: none;
}

div.copyright_wrap_inner {
  display: none;
}

.important_ad {
  border: #d93 3px dashed;
  margin-bottom: 50px;
  padding: 10px;
  background-color: white;
}

.flashcards li {
  border: 1px solid lightgray;
  background-color: white;

  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border-radius: 15px; 

  box-shadow:2px 2px 6px #f4f4f4;
}

.flashcards li:hover {
  background-color: #f8f8f8;
}

.flashcards li {
  padding: 0px 25px 0px 25px;
  text-align: justify;
}

.flashcards a {
  font-size: 18pt !important;
}


@media only screen and (min-width: 600px) {
  .smallcards li {
    border: 1px solid lightgray;
    background-color: white;
  
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px; 
  
    box-shadow:2px 2px 6px #f4f4f4;
  }

  .smallcards li:hover {
    background-color: #f8f8f8;
  }

  .flashcards li a {
    font-size: 100%;
  }

  .smallcards li{
    padding: 10px;
    text-align: center;
  }
}

@media only screen and (max-width: 600px) {
  .smallcards .wp-block-latest-posts__featured-image {
    display: none !important;
  }
}

 @media only screen and (max-width: 800px) {
  .flashcards img, .smallcards img {
    width: 75px !important;
  }
}
