/*
 Theme Name:   yalis (Divi Child)
 Theme URI:    
 Description:  yalis based on Divi Theme by Elegant Themes
 Author:       
 Author URI:   
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* nav menu */

ul#top-menu li:hover a{
  color: #e67241!important; 
  text-decoration: underline;
  text-decoration-thickness: 2px;   /* sets underline thickness */
  text-underline-offset: 4px;   
}
ul#top-menu li.active-link > a {
  color: #e67241; 
  text-decoration: underline;
  text-decoration-thickness: 2px;   /* sets underline thickness */
  text-underline-offset: 4px;   
}

/* Gravity Forms (catering forms) */
h3.gsection_title { font-size:1.1rem!important; margin-top:25px;}
.gpnf-nested-entries th { font-size:.6em!important; }
.gpnf-nested-entries td { font-size:.6em!important; }
tr.gpnf-no-entries td { font-size:.6em!important; }
div.repeating-form-wrapper { 
  border:2px solid #e67241!important; 
  background-color: linen;
  border-radius: 15px;
  padding:10px 20px;
}
div.repeating-form-wrapper .gform-field-label { font-size:1.4rem!important; }
.gpnf-modal-header { background-color:#e67241!important; }
.gpnf-modal button.gpnf-btn-submit { background-color:#e67241!important; color:white!important;}
button.gpnf-add-entry  { background-color:#e67241!important; font-weight:bold; color:white!important; font-size:1rem;}
button.gpnf-add-entry:hover { cursor:pointer; opacity:.5 } 
td.gpnf-row-actions button { border:1px solid grey; padding:3px; text-decoration: none; font-size:.8rem}
td.gpnf-row-actions button:hover { border:1px solid black; opacity:.75}
td.gpnf-row-actions li.edit   button { background: darkorange; text-transform:uppercase; }
td.gpnf-row-actions li.delete button { background: pink;       text-transform:uppercase; }
form#gform_1 input[type=submit] { background: #e67241; text-transform:uppercase; font-size:1.4rem; color:white; }
form#gform_1 input[type=submit]:hover { cursor:pointer; opacity:.75;  }  

/* Cafe Menu */
div.cafe-image img { width:100px; height:100px; border-radius: 50% 50%; }
div.prices-from-square-menu table,
div.prices-from-square-menu tr td { border:1px solid transparent!important;  }
.cafe-missing { color:red; font-size:.9rem; }
tr.cafe-sizes th, .cafe-subtitle { font-size:1.2rem!important; text-transform:uppercase; }
td.cafe-item,td.cafe-item-variation,td.cafe-additional { line-height: 15px; font-size:1rem;    width:50px!IMPORTANT;}

div#cafe-menu-columns-drinks    { display: block; }
div#cafe-menu-columns-breakfast { display: none;  }
div#cafe-menu-columns-lunch     { display: none;  }
div.cafe-menu-heading div:hover { cursor:pointer; }

div#catering-menu-text-coffee    { display:none; }
div#catering-menu-items-coffee   { display:none; }
div#catering-menu-text-pastries  { display:none; }
div#catering-menu-items-pastries { display:none; }
div.catering-menu-heading div:hover { cursor:pointer;  }

/* catering menu */
#catering-menu-items-pastries h6 { margin-top:20px; font-size:16px;}

@media screen and (max-width: 767px) {
  .cafe-menu-columns { font-size: 85%; }
  .cafe-item { padding: 6px 20px; }
  .cafe-item-variation,td.cafe-missing {   text-align: right; margin:0px; width:30px;}
  .cafe-menu-columns table tbody { border:1px solid red!important }
  .cafe-menu-columns table { display: table; width: 80%; }
  .cafe-menu-columns tbody { display: table-row-group; }
  .cafe-menu-columns tr { display: table-row; }
  .cafe-menu-columns th, 
  .cafe-menu-columns td { display: table-cell; padding:6px 13px!important }

  tr.cafe-sizes th, .cafe-subtitle { font-size:85%!important; text-align:left; line-height:11px;}
  tr.cafe-sizes th { text-align:center; }

}



