/*
 Theme Name:   nutritional
 Description:  nutritional Theme by fon
 Author:       fon
 Template:     fluffy-dev
 Version:      1.0
*/

._heading, .btn, .button, .menu, blockquote, legend, fieldset, table, button, h1, h2, h3, h4, h5, h6, input, select
, textarea, nav,label,span.jet-headline__label, span.jet-headline__part,span.elementor-icon-list-text,
.elementor-post-navigation__link span, span.timeline-label, time, span.head_tab, span.ha-tab__title-text, ul.menu_setting li span,
.text, .error, .success, .tab-post li, .ha-advanced-heading-wrap span, span.elementor-post-date, .breadcrumb-label, li,
ul li span, .elementor-text-editor.elementor-clearfix, .td-paragraph-padding-0, span.elementor-button-text, a,span.custom-select-trigger{
  font-family: "noto-sans-thai",noto-sans,sans-serif !important;
}
p, strong , .elementor-nav-menu a, span.jet-custom-item-label, .jet-menu-name span.jet-menu-label
a,figcaption,.custom-options span, span.woocommerce-Price-amount.amount, span.woocommerce-Price-amount.amount{
  font-family: "noto-sans-thai",noto-sans,sans-serif !important;
}
#wpadminbar .ab-icon {
    font: normal 20px/1 dashicons !important;
}
.fa, .fas {
    /* font-family: 'Line Awesome Free' !important; */
}
  ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  ::-webkit-scrollbar-thumb {
    background: #848484;
    border-radius: 60px;
  }
  ::-webkit-scrollbar-track {
    background: #c5c5c5;
    border-radius: 60px;
  }
  ::selection {
    background: #1f519f;
    color: #fff;
  }
  ::-moz-selection {
    background: #1f519f;
    color: #fff;
  }
  button{
      cursor: pointer;
  }
  p {
    margin: 0;
    transition: all ease-in-out 450ms !important;
    -webkit-transition: all ease-in-out 450ms !important;
    -o-transition: all ease-in-out 450ms !important;
    -moz-transition: all ease-in-out 450ms !important;
    text-decoration: unset;
    /*line-height: 1.6em;*/
  }
  a, button, input, textarea, span.jet-menu-label, input[type="submit"], i{
     transition: all ease-in-out 450ms !important;
     -webkit-transition: all ease-in-out 450ms !important;
     -o-transition: all ease-in-out 450ms !important;
     -moz-transition: all ease-in-out 450ms !important;
     text-decoration: unset;
  }
  a{
    color: #000;
    font-weight: 500;
    /* text-decoration: underline;
    text-decoration-color: #1f519f; */
  }
  a:hover{
    color: #1f519f;
    /* text-decoration: underline;
    text-decoration-color: #1f519f; */
  }
  body {
    margin: 0;
  }
body.admin-bar .site-header {
    top: 0;
}
  @keyframes slidein {
    from {
      right: 0;
      transform: translateX(600px);
    }
    to {
      transform: translateX(0);
    }
  }
  @keyframes slideup {
    from {
      right: 0;
      transform: translateY(-600px);
    }
    to {
      transform: translateY(0);
    }
  }
  @keyframes slideout {
    from {
      transform: translateX(0);
    }
    to {
      right: 0;
      transform: translateX(600px);
    }
  }
  /*header*/
/*pagination*/
.content-pagination {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 2em 0;
}
.content-pagination .current {
    color: #ffffff;
    border: 2px solid #0074bc;
    background: #0074bc;
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-family: "noto-sans-thai",noto-sans,sans-serif !important;
    display: grid;
    justify-content: center;
    align-items: center;
}
.content-pagination a {
    color: #0074bc;
    border: 2px solid #0074bc;
    width: 40px;
    height: 40px;
    font-size: 16px;
    padding: 7px 8px;
    display: grid;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}
.content-pagination a.last-number_page {
    width: auto;
    padding: 7px 8px;
    height: auto;
    font-size: 16px;
    margin: 0 8px;
    height: 40px;
}
.content-pagination span.text-number_page {
    font-size: 16px;
    margin-right: 10px;
    font-family: "noto-sans-thai",noto-sans,sans-serif !important;
    display: grid;
    justify-content: center;
    align-items: center;
    height: 40px;
}
.content-pagination a:hover {
    background: #1f519f;
    border-color: #1f519f;
    color: #fff;
}
.content-pagination a:hover i {
    color: #fff;
}
.archive .content-pagination, .blog .content-pagination {
    grid-column: span 3;
    padding-top: 0;
}
.content-pagination a:focus {
    color: #ffffff;
    background: #1f519f;
    border-color: #1f519f;
}
.content-pagination .current {
  color: #ffffff;
  border: 2px solid #1f519f;
  background: #1f519f;
  width: 40px;
  height: 40px;
  font-size: 16px;
  font-family: "noto-sans-thai",noto-sans,sans-serif !important;
}
.content-pagination a svg {
  transition: all ease-in-out 450ms;
}
.content-pagination span.page-numbers.dots {
  min-width: 20px;
}
/*pagination*/
/*single*/
.single h1{
  font-size: 29px;
  font-weight: 500;
  line-height: 1.6;
}
.single h2{
  font-size: 23px;
  font-weight: 500;
  line-height: 1.6;
}
.single h3{
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
}
.single h4{
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}
.single h5{
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}
.single h6{
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.single p{
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.v-container {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
/*single*/
.main-data_post .main-object {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.add-to-diary a, .add-to-favorites a {
  box-shadow: inset 0 0 5px #aaaaaa, 0 0 5px #aaa;
   border: solid 1px gray;
   background: #f0f0f0;
   border-radius: 8px;
   padding: 10px 20px;
   outline: none;
   cursor: pointer;
  line-height: 1.3;
  display: inline-block;
}
.add-to-diary {
  text-align: left;
}
.column-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2em 0;
}
header.post-title.entry-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  gap: 10px;
}
.add-to-diary a:hover, .add-to-favorites a:hover {
  background: #ccf;
   border: solid 1px gray;
   box-shadow: inset 0 0 5px #aaa, 0 0 5px #aaa;
  color: #fff;
}
 .main-data_post .main-object .object-1 .main-table {
    border: solid 2px black;
    padding: 10px;
}
 .main-data_post .main-object .object-1 .main-table h3 {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}
 .main-data_post .main-object .object-1 .main-table .head_title {
    border-bottom: 1px solid #000;
}
 .main-data_post .portion-size .main-object {
    border-bottom: 10px solid #000;
}
 .main-data_post .main-object .object-1 .main-table p {
    font-size: 16px;
     font-weight: 600;
}
 .main-data_post .main-object .object-1 .main-table p span {
    font-weight: 400;
    padding-left: 5px;
    padding-right: 5px;
}
 .main-data_post .main-object .object-1 .main-table li {
    list-style: none;
}
 .main-data_post .main-object .object-1 .main-table ul {
    padding: 0;
    margin: 0;
}
 .main-data_post .main-object .object-1 .main-table li.list_protein_total:first-child {
    border-bottom: 10px solid #000;
}
.main-data_post .main-object .object-1 .main-table ul li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  border-bottom: 1px solid #000;
  padding: 4px 0;
}
.main-data_post .main-object .object-1 .main-table ul li p:first-child {
  text-align: left;
}
.main-data_post .main-object .object-1 .main-table ul li:last-child {
  text-align: right;
}
.main-data_post .main-object .object-1 .main-table p:last-child {
  text-align: right;
}
.main-data_post .main-object .object-1 .main-table {
  max-width: 360px;
}
.main-data_post .portion-size .main-object .object-1 p:first-child {
  text-align: left;
}
.main-data_post .portion-size .main-object p {
  padding: 5px 0;
}
.main-data_post .main-object .object-1 .main-table li.list_protein_totalx:last-child {
  border-bottom: 5px solid #000;
}
.main-data_post .main-object .object-1 .main-table .box-detail_alert {
  padding-top: 7px;
}
.main-data_post .main-object .object-1 .main-table .box-detail_alert p {
  text-align: left;
  font-size: 14px;
  font-weight: 400;
}

 .main-data_post .amount-per_portion .main-object .object-2 h3 {
    text-align: right;
}
 .main-data_post .amount-per_portion .main-object {
    align-items: center;
}
 .main-data_post .amount-per_portion .main-object .object-1 {
    display: grid;
    justify-content: left;
}
 .main-data_post .amount-per_portion .main-object .object-1 p, .main-data_post .amount-per_portion .main-object .object-1 h3 {
    text-align: left;
}

header.post-title.entry-header h2.entry-title {
  font-size: 31px;
  font-weight: 600;
  margin: 0;
}
.main-data_post .main-object ul {
  margin: 0;
  padding: 0;
}
.main-data_post .main-object ul li {
  list-style: none;
}
.main-data_post .main-object ul li > ul {
  text-align: center;
}
.main-data_post .main-object ul li a {
  color: #00af4a;
  font-size: 18px;
  text-align: center;
  display: flex;
  justify-content: center;
}
.main-data_post .main-object ul.list-column {
  display: grid;
  grid-gap: 15px;
}
.main-data_post .main-object ul.list-column .seed-social > li {
  margin-bottom: 0;
  margin-right: 5px;
}
.main-data_post .main-object ul.list-column .seed-social > li a {
  font-size: 14px;
  border-radius: 50px;
  padding: 5px 20px;
}
.main-data_post .main-object .object-2 .box-list_column {
  padding-bottom: 35px;
}
.main-data_post .main-object .object-2 .box-image_post {
  padding-bottom: 35px;
  text-align: center;
  display: grid;
  grid-gap: 15px;
}
.main-data_post .main-object .object-2 .badges {
  padding-bottom: 35px;
  text-align: center;
}
.main-data_post .main-object {
  align-items: center;
}
 .box-detail_text_bottom .border-box_text {
    border: 10px solid #000;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    display: grid;
    grid-gap: 20px;
}
 .box-detail_text_bottom .border-box_text h4 {
    margin: 0;
}
 .box-detail_text_bottom .border-box_text h4 a {
    padding-left: 7px;
}
 .main-template_single .v-container .main-data_post .main-object > .object-1 {
    display: flex;
    justify-content: center;
}
 .main-template_single .v-container .main-data_post .amount-per_portion .main-object .object-1 {
    display: grid;
    justify-content: left;
}
.main-template_single .v-container .main-data_post {
  display: grid;
  grid-gap: 30px;
  justify-content: center;
}
.main-template_single .v-container{
  max-width: 960px;
  margin: 0 auto;
}
.table_bottom table {
  border-radius: 15px;
  border-spacing: 0px;
  width: 100%;
}
.table_bottom table tr:first-child, .table_bottom table tr:first-child th {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.table_bottom table tr:last-child {
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
}
.table_bottom table tr th, .table_bottom table td {
  border-bottom: 1px solid #000;
}
.table_bottom table tr th {
  padding: 10px 10px;
}
.table_bottom table tr th {
  text-align: left;
  background: #dbeee7;
}
.table_bottom table tr td {
  background: #e9fef9;
}
.table_bottom table tr:first-child th {
  text-align: center;
}
.table_bottom table tr td {
  padding: 6px 10px;
}
.table_bottom table tr:last-child td {
  border-bottom: 0;
}
.content-box {
  padding: 3em 0;
}
.content-box .title-content h3 {
  margin: 0 auto;
}
.card-post_blog .b-post h3 a {
  background-color: #eee;
   border-radius: 10px;
   padding: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.content-box .detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 15px 40px;
}
.card-post_blog .b-post h3 {
  margin: 0;
  width: 100%;
  display: block;
}
.content-box .detail-content .card-post_blog {
  width: 100%;
}
.content-box {
  display: grid;
  grid-gap: 25px;
}
.box-food_properties h4, .box-food_properties h5 {
  margin: 0;
}
.box-food_properties .properties_text a {
  display: inline-block;
}
.box-food_properties .source {
  display: grid;
  grid-gap: 0;
}
.box-food_properties .source .source-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px 0;
  border-bottom: 1px solid #000;
  background: #e9fef9;
}
.box-food_properties .source .source-box:last-child {
  border-bottom: 0;
}
.box-food_properties .source .so-x {
  padding: 0 10px;
}
.box-food_properties .title-food {
  padding: 15px 10px;
  background: #dbeee7;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  text-align: center;
  border-bottom: 1px solid #000;
}
.box-food_properties .source .source-box a:after {
  content: ',';
  padding-right: 3px;
  padding-left: 3px;
}
.box-food_properties .source .source-box a:last-child:after {
  content: unset;
}
.box-food_properties {
  padding-bottom: 4em;
}
.table_bottom .title_bottom h3 {
  margin: 0;
  padding: 30px 0;
  text-align: center;
}
.table_bottom_1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 25px;
}
table tr.sub-list-table td:first-child {
  text-indent: 8px;
}
.table_bottom_1 .table-column_1, .table_bottom_1 .table-column_2 {
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.main-template_single .main-data_post .main-object {
  grid-gap: 20px;
}
.select-box_post select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: inset 0 0 5px #aaaaaa, 0 0 5px #aaaaaa;
  border: solid 3px white;
  vertical-align: middle;
  background: #f0f0f0;
  border-radius: 1em;
  padding: 8px;
  outline: none;
  background-position: center right;
  background-repeat: no-repeat;
  cursor: pointer;
  text-align: center;
}
.select-portion_size {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  gap: 10px;
}
.head-feature {
  text-align: center;
}
.table_bottom table tr th {
  text-align: right;
}
.table_bottom table tr th:first-child {
  text-align: left;
}
.table_bottom table tr:first-child th {
  text-align: center;
}
.table_bottom table tr td:last-child {
  text-align: right;
}
.table_bottom table img {
  max-width: 300px;
  display: block;
  margin: 0 auto;
}
/*destop medium*/
@media (max-width: 1600px){
}
/*laptop*/
@media (max-width: 1280px){
}
/*ipad pro (large tablet)*/
@media (max-width: 1024px) and (min-width: 992px){
  .v-container {
    padding-right: 2em !important;
    padding-left: 2em !important;
  }
  .main-data_post .main-object {
    grid-gap: 25px;
}
.main-data_post .main-object ul li > ul {
  display: grid;
  grid-gap: 15px;
}
 .table_bottom_1 {
    grid-gap: 15px;
}
 .content-box {
    padding: 2em 0;
}
 .box-food_properties {
    padding-bottom: 3em;
}
}
/*ipad (tablet)*/
@media (max-width: 991.98px) {
  .v-container {
    padding-right: 2em !important;
    padding-left: 2em !important;
  }
  .main-data_post .main-object {
    grid-gap: 25px;
}
.main-data_post .main-object ul li > ul {
  display: grid;
  grid-gap: 15px;
}
 .table_bottom_1 {
    grid-gap: 15px;
}
.content-box {
  padding: 1em 0;
}
 .box-food_properties {
    padding-bottom: 3em;
}
}
/*iphone8 (smartphone)*/
@media (max-width: 575.98px) {
  .v-container {
    padding-right: 1.5em !important;
    padding-left: 1.5em !important;
  }
  .main-data_post .main-object {
    grid-template-columns: 1fr;
}
.main-data_post .main-object .object-1 .main-table {
  max-width: 300px;
}
 .table_bottom_1 {
    grid-template-columns: 1fr;
}
 .content-box .detail-content {
    grid-template-columns: 1fr;
    grid-gap: 10px;
}
 .content-box .title-content h3 {
    font-size: 18px;
}
 .content-box {
    grid-gap: 10px;
}
 .card-post_blog .b-post h3 a {
    font-size: 14px;
}
 .box-food_properties {
    padding-bottom: 2em;
}
 .table_bottom .title_bottom h3 {
    padding: 15px 0;
}
 .main-data_post .main-object ul.list-column {
    grid-gap: 10px;
}
 .main-data_post .main-object .object-2 .badges {
    padding-bottom: 20px;
}
 .main-data_post .main-object .object-2 .box-image_post {
    padding-bottom: 20px;
}
 .main-data_post .main-object ul li a {
    font-size: 16px;
}
 .main-data_post .main-object ul li > ul {
    display: block;
}
 .main-data_post .portion-size .main-object {
    grid-template-columns: 1fr 1fr;
}
 .main-data_post .portion-size .main-object .object-1 p {
    justify-content: left;
    text-align: left;
}
 .main-template_single .main-data_post .portion-size .main-object .object-1 {
    justify-content: left;
    text-align: left;
}
 .main-data_post .amount-per_portion .main-object {
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}
 header.post-title.entry-header {
    flex-direction: column;
}
 header.post-title.entry-header h2.entry-title {
    font-size: 23px;
}
 .column-add {
    padding: 2em 0 1em;
}
.main-data_post .main-object .object-2 .box-list_column {
  padding-bottom: 20px;
}
.box-food_properties .source .source-box {
  grid-template-columns: 1fr 3fr;
  grid-gap: 10px;
}
.select-portion_size {
  flex-direction: column;
}
}
/*iphone5 (small smartphone)*/
@media (max-width: 360px) {
}
