/*
Theme Name: Schneiders
Template: Divi
Version:1.0
*/

/* Broadcast Bar */
.broadcast-bar {
  display:none;
  background:red;
  font-size:22px;
  line-height:30px;
  padding:5px 0;
  color:white;
  text-align:center;  
  position:relative;
}

.broadcast-bar span {
  line-height: 0;
  position: absolute;
  top: 12px;
  right: 5px;
  transform: rotate(45deg);
  font-size: 30px;
  cursor: pointer;
}

.broadcast-bar a {
  color:white;
  text-decoration:underline;
}

body {
  background: #f2e9db;
}

/* Newsletter Styles */
.et-pb-contact-message {    
    text-align: center;
    font-size: 40px;
}

/* Change columns from 4-3 */
/* THREE COLUMN PORTFOLIO GRID LAYOUT */
 
@media only screen and ( min-width: 768px ) {
 
.three-column-grid .et_pb_grid_item {
width: 30% !important;
margin: 0 3.5% 3.5% 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}

.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}
}


/*Empty Tab for Recipes - Cleared Color*/
.custom-module .et_pb_tabs_controls {
background-color: #002457 !important;
}

.custom-module ul.et_pb_tabs_controls:after {
border-top: 1px solid #002457 !important;
}

.custom-module .et_pb_tabs_controls li {
border-right: none !important;
border-bottom: 1px solid #d24627;
}

/*button spacing*/
.page-id-2874 .et_pb_button_module_wrapper.et_pb_module {
margin-bottom: 10px;
}

@media only screen and (max-width: 1100px) and (min-width: 981px) {
.page-id-2874 .et_pb_button_module_wrapper.et_pb_module .et_pb_custom_button_icon {
font-size: 14px !important;
}
}

@media (max-width: 980px) {
.et_pb_section .et_pb_column .et_pb_module {
margin-bottom: 10px;
}
}

/*enlarge social icons - contact us*/
.large-social-icons-contact li a.icon { 
    height: 40px; 
    width: 40px; 
    padding: 0; 
}

.large-social-icons-contact li a.icon::before { 
    font-size:26px; 
    margin-left:12px; 
    line-height:60px; 
}

/* Custom Header CSS */
#top-menu li>a { 
    outline: 0 !important;
}
#top-menu li.current-menu-item>a, #top-menu li.current-menu-ancestor>a { 
    color:white; 
    position:relative;
}
#top-menu li.current-menu-item>a::before, #top-menu li.current-menu-ancestor>a::before {  
    content:'';
    position:absolute;
    top:20px;
    left:0;
    right:0;
    height:1px;
    background:white;
}
#top-menu ul li.current-menu-item>a::before {  
    top:auto;
    bottom:0;
}
#top-menu li.stay-in-touch>a::after {
    content: '';
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    height: 26px;
    border: 1px solid #d24627;
}
#top-menu li.current-menu-item.stay-in-touch>a::after {
    border-color:white;
    background:none;
}
@media screen and (max-width:1050px) {
	#top-menu li.home {
		display:none;
	}
}
.et_search_form_container input {
  text-transform:none !important;
}
@media screen and (max-width:1300px) {
  [lang="fr-FR"] #top-menu .stay-in-touch {
    display:none;
  }
}

/* Custom Recipe Metadata */
.recipe-meta {
    display:flex; 
    margin-bottom:50px;       
}

.recipe-meta__col {    
    flex:80px 0 1;
    text-align:center;
}

@media screen and (max-width:980px) {
    .recipe-meta__col {
        flex:80px 1 1;    
    }
}

.recipe-meta__col + .recipe-meta__col {
    border-left:2px solid white;
}

.recipe-meta__col label, .recipe-meta__col span {
    color:white;
    font-family:'proximanova-condense',Georgia,"Times New Roman",serif !important;
    display:block;
    line-height:1;
}

.recipe-meta__col label {
    font-size:12px;
    text-transform:uppercase;
    margin-bottom:2px;
}

.recipe-meta__col label:nth-of-type(2) {
    margin-top:15px;
}
.recipe-meta__col--difficulty label:nth-of-type(2) {
  margin-top:25px;
}
.recipe-meta__col span {
    font-size:55px;
}

.recipe-meta__col span b {
    width:36px;
    height:4px;
    background:rgba(255,255,255,0.5);
    display:block;
    margin:4px auto;
}

.recipe-meta__col span b.active {
    background:white;
}

.recipe-meta__col span b:first-of-type {
    margin-top:12px;
}

/* Our Story Mobile Styles */
.et-pb-controllers {
    padding-top: 15px;
    border-top: 1px solid #d24627;
    margin: 0 auto;    
    max-width: 400px;
    position:relative;
    height:auto;
}

.et-pb-controllers a {
    width:12px;
    height:12px;
    margin:7px;
    background:none;
    border:2px solid white;
}

.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding:8%;
}

/* Our Story Desktop Styles */

.history {
  display: flex;
  flex-wrap: wrap;
  font-size: 0;
}
.history__pic {
  cursor: pointer;
  position: relative;
  flex: 33.33% 0 0;
  overflow: hidden;
  line-height:0;
}
.history__pic img {
  width: 100%;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: 400ms;
}
.history__pic span {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  font-size: 40px;
  color: white;
  line-height: 1;
  transition: 400ms;
  text-shadow: 0px 0px 9px rgba(0,0,0,0.7);
}
.history__pic span:nth-of-type(1)::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  right: 0;
  height: 4px;
  background: white;
  transition: 400ms;
}
.history__pic span:nth-of-type(2) {
  top: 90px;
  transform: translateX(150%);
  font-size: 30px;
}
.history__pic p {
  display: none;
}
.history__pic:hover img {
  filter: grayscale(0%);
  opacity: 0.75;
}
.history__pic:hover span {
  transform: translateX(0%);
}
.history__pic:hover span::after {
  width: 100%;
}
.history__modal {
  display:none;
  position: fixed;
  z-index:100001;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  background: #051933e0;
  cursor: not-allowed;
}
.history__modal__item {
  cursor: default;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  width:730px;
  max-width: 90%;
  transform: translate(-50%, -50%);
  line-height:0;
}
@media screen and (max-height:740px) {
  .history__modal__item {
    width:600px;
  }
}
.history__modal__item img {
  max-width: 100%;
}
.history__modal__item .block {
  /*position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;*/
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
}
.history__modal__item .block span {
    display: inline-block;
    font-size: 24px;
    padding-bottom: 7px;
    width: 100%;
    line-height: 1;
}
.history__modal__item .block span:nth-of-type(2) {
  padding-top: 5px;
  padding-bottom:2px;
  font-size: 17px;
  line-height:21px;
  border-top: 1px solid rgba(255,255,255,0.7);
}
.history__modal__item > span {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  font-size: 40px;
  color: white;
  line-height: 1;
  transition: 400ms;
}
.history__modal__close {
    width: auto;
    height: auto;
    display: block;
    position: fixed;
    right: 10px;
    top: 10px;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 99991;
    font-size: 100px;
    line-height: 60px;
    min-height: 15px;
    min-width: 15px;
    color: #fff;
    background-color: transparent;
    font-family: inherit;
    font-weight: 300;
    cursor:pointer;
}

/* Recipe Module */

/*.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-of-type(3), */
.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-of-type(6),
.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-of-type(9),
.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-of-type(10),
.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-of-type(12),
.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-of-type(13) {
  display:none;
}

.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters ul {
  text-align:center;
}
.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
  float:none;
  display:inline-block;
}
.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    display: block;
    margin:5px;
    padding: 10px 20px;
    background-color: #d24627;
    border: 1px solid white;
    color:white !important;
    text-transform: none;
    font-size: 20px;
    padding: 15px;
    border-radius: 0;
}

.recipe-list.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
  background-color: #E45E40;
}

/* Home Recipe Grid */
.home .et_pb_portfolio_grid .et_pb_module_header a {
  padding-bottom:10px;
  display:block;
  height: 40px;
}

/* Search Page */
body.search {
  background:#002453;
}
@media screen and (min-width:981px) {
  .search .mobile {
    display:none !important;
  }
}
@media screen and (max-width:980px) {
  .search .desktop {
    display:none !important;
  }
}
.added > * {
  background-image: url(/wp-content/uploads/2018/03/Empty-Board.jpg)!important;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 54px;
  padding-left: 0px;
  margin-bottom: 0px;
}

#search-footer__row1 {
  padding-top: 29px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
#search-footer__row2 {
  padding-top: 0px;
  padding-bottom: 0px;
}
#search-footer__row3 {
  margin-bottom: 0px!important;
  padding-top: 27px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
#search-footer__row3 .et_pb_space {
  height:0;
}
#search-footer__row3 .et_pb_divider:before {
  border-top-color: #ffffff;
  border-top-width: 3px;
}
#search-footer__row4 {
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
#search-footer__row4__col1, #search-footer__row5__text1 {
  font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
  font-size: 16px;
  margin-top: 15px!important;
}
#search-footer__row4__col2, #search-footer__row5__text2 {
  font-size: 16px;
  background-color: #d24627;
  padding-top: 10px!important;
  padding-right: 10px!important;
  padding-bottom: 10px!important;
  padding-left: 10px!important;
  margin-top: 3px!important;
}
#search-footer__row5 {
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
.search #main-content {
  background:#002453;
}
.search #main-content .container {
  width:100%;
  max-width:none;
}
.search #left-area {
  width:100% !important;
  -moz-column-count: 1;
  column-count: 1;
  -moz-column-gap: 20px;
  column-gap: 20px;
  padding:0 !important;
}
.search #sidebar {
  display:none;
}
.search #main-content .container:before {
  content:none !important;
}
.search #main-content h1 {
  text-align:center;
  margin-top:50px;
  padding:0 20px;
}
.search #main-content h1 + p {
  text-align:center;
  font-size:20px;
  padding:30px;
}
@media screen and (max-width:800px) {
  .search #main-content h1 {
    font-size:45px;
  }
}
.search #left-area .et_pb_post a img {
 float:left !important;
 width:300px;
 max-width:100%;
 padding:10px 40px 10px 10px;
 margin:0;
 transition:400ms;
}
.search #left-area .et_pb_post a img:hover {
  transform:scale(1.15) translateZ(0);
}
@media screen and (max-width:800px) {
  .search #left-area .et_pb_post a img {
   float:none !important;
   padding:10px;
   margin:-10px auto 10px auto;
   display:block;
  }
  .search #left-area .et_pb_post{
    text-align:center;
  }
}
.search #left-area ul  {
 list-style-type: none !important;
}
.search .et_pb_post > a {
    margin: -20px -20px 10px;
    display: block;
} 
.search #left-area .et_pb_post {    
    page-break-inside: avoid;
    break-inside: avoid-column;
    width: 100%; 
    background-color: none;
    word-wrap: break-word;
    display: inline-block;
    margin-bottom: 25px;
    font-size:20px;
    line-height:1.3;
    font-family:'proximanova-condense',sans-serif;
    position:relative;
} 
.search #left-area .et_pb_post::after {
  content:'';
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-10px;
  width:300px;
  height:1px;
  background:#d24627;  
}
.search #left-area .et_pb_post:last-of-type::after {
  content:none;
}
.search #left-area .et_pb_post:not(.has-post-thumbnail) {
  text-align:center;
  padding:10px 0;
}
.search #left-area .et_pb_post h2 {
    font-size: 40px;
    margin-top:10px;
}
.search #left-area .et_pb_post:not(.has-post-thumbnail) h2 {
  margin-top:0;
}
@media screen and (max-width:800px) {
  .search #left-area .et_pb_post h2 {
    font-size:30px;
    margin-top:0;
  }
  .search #left-area .et_pb_post:not(.has-post-thumbnail) h2 {
    margin-top:-10px;
  }
}
.search .pagination {
  padding: 20px 0;
  max-width: 1080px;
  margin: 0 auto 40px auto;
  color: white;
  font-size: 20px;
}

.search .pagination a {
  color:white;
  transition:300ms;
}

.search .pagination a:hover {
  color:#d24627;
}

.search .post-meta {
  display:none;
}

