/*
Theme Name: Ultimate Wordpress
Theme URI: http://ultimateds.com
Author: Raul Cruz
Author URI: http://ultimateds.com
Description: A starter template build with bootstrap 3.3.5. V2 of this template includes ACF, full screen custom post type slideshow, media library integration in the theme settings, and minor bug fixes.
Version: 2.0
License: GNU General Public License
License URI: license.txt
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
h2{
	margin-bottom: 5px;
	margin-top: 10px;
}
.alignright {
	float: right;
    	margin: 10px 0 10px 10px;
}
.alignleft {
	float: left;
    margin: 10px 10px 10px 0;
}
.gform_button {
    background-color: #f7a408;
    color: #fff;
    border: 2px #f7a408 solid;
    font-weight: 700;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.gform_button:hover {
	background-color: #337ab7;
}
.panel-heading i{
	margin-right: 5px;
}
.page-header{
	background-position:center;
	background-size:cover;
}
.page-title{
	text-transform:uppercase;
}
.navbar-brand > img{
	  max-width:100%;
 }
/***RELATED POST***/
.panel-title a {
	color: #FFFFFF;
}
/***SEARCH***/
#imaginary_container{
    margin:0 auto 10px;
	width:90%;
}
.stylish-input-group .input-group-addon{
    background: white !important; 
}
.stylish-input-group .form-control{
	border-right:0; 
	box-shadow:0 0 0; 
	border-color:#ccc;
}
.stylish-input-group button{
    border:0;
    background:transparent;
}
body.search{
	padding-top:75px;
}
/***CALCULATORS***/
#bmi-calc .calc-wrapper{
	background:#F7A408;
    color:#fff;
	max-width:500px;
	margin:0 auto 20px;
	padding:15px;
}
#moving-calc .calc-wrapper{
	background:#0D70A9;
    color:#fff;
	max-width:530px;
	margin:20px auto;
	padding:15px;
}
#assessment-calc .calc-wrapper{
	background:#67b7b7;
	color:#fff;
	max-width:650px;
	margin:0 auto;
	padding:15px;
}
#bmi-calc .form-control,
#moving-calc .form-control,
#assessment-calc .form-control{
	border-top:none;
	border-right:none;
	border-bottom:dotted 1px #FFF;
	border-left:none;
	box-shadow:none;
	border-radius:0;
	transition:all 0.5s ease;
	background:none;
	color:#FFF;
	font-size:16px;
}
#bmi-calc .form-control:focus{
	border-bottom-color:#0D70A9;
}
#poundstype{
	padding:5px;
	font-weight:700;
}
#bmiResult{
    color:#0D70A9;
    font-size:28px;
    font-weight:700;
	padding:0;
}
#assessment-calc .results{
    font-weight:700;
}
#selectActivity option{
	background:#FFF;
	color:#0D70A9;
}
#assessment-calc option{
	background:#FFF;
	color:#67b7b7;
}
#caloriesburned {
    color:#F7A408;
    font-size:28px;
    font-weight:700;
	padding:0;
}
#foodtablecontainer,
#itemslist{
	margin-top:25px;
}
#foodtablecontainer .table{
	margin-bottom:10px;
}
#foodtablecontainer .pagination{
	margin:0;
}
#list-tbody > tr:last-child {
    background:none;
}
/***HELPER***/
.btn-blue{
	background-color:#0D70A9;
	color:#FFF;
}
.btn-md {
    background-color:#F7A408;
    color:#FFF;
}
.blue{
	color:#0D70A9;
}
.orange{
	color:#F7A408
}
.pagination > .active > a, 
.pagination > .active > a:hover,
.pagination > .active > a:focus{
	background:none;
	color:#F7A408;
}
/***MENU***/
.navmenu-default .navmenu-nav > .dropdown > a .caret, 
.navbar-default .navbar-offcanvas .navmenu-nav > .dropdown > a .caret{
	border-bottom-color:#FFF;
	border-top-color:#FFF;
}
/***MEDIA QUERIES***/
@media (min-width:320px){
	.navbar-brand{
		width:80%;
		line-height:50%;
	}
	.navbar-default .navbar-brand{
		margin-top: 0;
	}
	#foodtbody input[type="text"] {
		width:20px;
	}
	#foodtbody select{
		width:61px;
	}
	.pagination > li > a{
		padding:6px 3px;
	}
}

@media (min-width:480px){
}

@media (min-width:768px){
}

@media (min-width:992px){
	.post-thumb{
		height:240px;
	}
	.single-img{
		height:494px;
		max-height:100%;
	}
	.navbar-default .navbar-brand{
		margin-top: -12px;
	}
	#foodtbody input[type="text"] {
		max-width:30px;
	}
	#foodtbody select{
		width:155px;
	}
}
@media (min-width:1200px){
}
/*Responsive for table*/
@media only screen and (max-width: 48em) {  
  #foodtablecontainer, .foodtablecalculator {
    font-size: 12px;
  }
  #foodtablecontainer thead, .foodtablecalculator thead {
    display: none;
    visibility: hidden;
  }
  #foodtablecontainer tr, .foodtablecalculator tr {
    margin-bottom: 3em;
    display: block;
    border-bottom: 1px solid #ddd;
  }
  #foodtablecontainer td, .foodtablecalculator td {
    position: relative;
    display: block;
    padding: 5px 5px 5px 13em !important;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
  }
  #foodtablecontainer td::before, .foodtablecalculator td::before {
    content: attr(data-title);
    display: block;
    position: absolute;
    left: 5px;
    top: 5px;
    font-weight: bold;
  }
  .table-responsive {
    border: none !important;
  }
}