/*
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.
*/

.new-button-DAM {
	  display: block;
		text-align: center;
		color: #154a60;
		font-size: 16px;
		text-transform: uppercase;
		letter-spacing: 0.02em;
		font-family: "Oswald", sans-serif;
		padding: 15px;
		line-height: 1.2;
		font-weight: 700;
}
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 {
    margin: 40px 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) {
}

.single-img {
    height: 350px;
    max-height: 100%;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .single-img {
        height: 150px;
    }
}
@media (min-width: 992px) {
    .post-thumb {
        height: 240px;
    }
    .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;
    }
}

#myCarousel {
    margin-top: 0px;
}

.call-to-action img {
    width: 700px;
    padding-bottom: 15px;
}
.call-to-action h3 {
    color: #0c70a8;
    padding-bottom: 0px;
}

.call-to-action h4 {
    color: #0c70a8;
    padding-bottom: 20px;
    letter-spacing: 0.5px;
}

.skinny-cta {
    background-image: url(/wp-content/uploads/skinny-cta-background.png);
}

/* Diabetes Awareness Month page */
.page-template-page-diabetes-awareness .page-header {
    background-image: linear-gradient(to left, #9dd1e7, #e8dfd6) !important;
}

.page-template-page-diabetes-awareness .page-header h1 {
    color: #154a60;
}
.awareness-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
}

.awareness-left {
    flex: 2;
    order: 2;
}

.awareness-right {
    flex: 1;
}

.awareness-right .fa-bars {
    display: none;
    font-size: 58px;
    color: #0d70a9;
    text-align: center;
}

.awareness-right ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: -15px;
}

.awareness-right ul li,
.awareness-button-cont {
    margin: 8px;
    background-color: #9ad0e9;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 20%;
    box-shadow: 4px 4px #71add2;
    transition: all 0.2s;
}

.awareness-button-cont {
    margin: 0 auto;
}

.awareness-right ul li:hover,
.awareness-button-cont:hover {
    background-color: #71add2;
}

.awareness-right ul li:first-child {
    margin-left: 0;
}

.awareness-right ul li:last-child {
    margin-right: 0;
}

.awareness-right ul li a,
.awareness-button-cont a {
    display: block;
    text-align: center;
    color: #154a60;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: "Oswald", sans-serif;
    padding: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.awareness-right ul li a:hover,
.awareness-button-cont a:hover,
.awareness-right ul li a:focus,
.awareness-button-cont a:focus {
    text-decoration: none;
}

.awareness-hidden {
    display: none;
}

.awareness-intro-cont {
    display: flex;
    margin-top: 30px;
    justify-content: center;
}

.awareness-intro {
    background-color: #1270ab;
    flex: 2;
    color: white;
    font-size: 20px;
    padding: 40px 30px;
    margin: 0;
    width: 50%;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.awareness-callout {
    font-size: 37px;
    line-height: 1.3;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
}

.awareness-intro-image {
    flex: 2;
    background-size: cover;
    background-position: top left;
    background-image: url(/wp-content/themes/ultimate-wp/images/ccc-11022020.png);
    position: relative;
    min-height: 350px;
    max-width: 1450px;
}

@media (max-width: 1375px) {
    .awareness-intro,
    .awareness-intro-image {
        flex: 4;
    }
}

@media (max-width: 1110px) {
    .awareness-intro-cont {
        flex-direction: column;
    }
    .awareness-intro {
        width: 100%;
    }
    .awareness-intro-image {
        min-height: 350px;
    }
}

.awareness-intro-image img {
    position: absolute;
    bottom: 25px;
    left: 30px;
}

.awareness-intro-photo {
    background-image: url(/wp-content/uploads/diabetes-month-1-b.jpg);
    flex: 1;
    background-size: cover;
    background-position: center;
}

.awareness-what-is-cont {
    display: flex;
    background-image: url(http://cdn.backgroundhost.com/backgrounds/subtlepatterns/back_pattern.png);
    box-shadow: 0 4px 10px -8px black;
}

.awareness-what-is-diabetes {
    max-width: 65%;
    margin: 50px auto;
    font-size: 20px;
    line-height: 1.6;
    padding: 0 30px;
}

.awareness-what-is-diabetes h2 {
    text-transform: uppercase;
    color: #1270ab;
    font-size: 40px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: normal;
}

.awareness-what-is-diabetes p {
    margin: 20px 0;
}

.awareness-blocks {
    display: flex;
    flex-wrap: wrap;
    width: 75%;
    margin: 40px auto;
    position: relative;
}

.awareness-block {
    position: relative;
    height: 275px;
    background-position: center;
}

.awareness-block:focus {
    text-decoration: none;
}

.awareness-block:hover {
    text-decoration: none;
}

.awareness-block:hover .awareness-block-overlay {
    opacity: 0.9;
}

.awareness-block h3 {
    color: white;
    height: 100%;
    position: relative;
    z-index: 100;
    font-size: 28px;
    padding: 0 15px;
    margin: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.awareness-block-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0.7;
}

.awareness-block-a {
    background-image: url(/wp-content/uploads/diabetes-month-2.jpg);
    background-size: cover;
    width: 50%;
    border-radius: 100px 0 0 0;
    border-bottom: solid 5px white;
    border-right: solid 5px white;
}

.awareness-block-a .awareness-block-overlay {
    background-color: rgb(249, 165, 26);
    border-radius: 100px 0 0 0;
}

.awareness-block-b {
    background-image: url(/wp-content/uploads/diabetes-month-3.jpg);
    background-size: cover;
    width: 50%;
    border-radius: 0 100px 0 0;
    border-bottom: solid 5px white;
    border-left: solid 5px white;
}

.awareness-block-b .awareness-block-overlay {
    background-color: rgb(18, 112, 171);
    border-radius: 0 100px 0 0;
}

.awareness-block-c {
    background-image: url(/wp-content/uploads/diabetes-month-4.jpg);
    background-size: cover;
    width: 50%;
    border-radius: 0 0 0 100px;
    border-top: solid 5px white;
    border-right: solid 5px white;
}

.awareness-block-c .awareness-block-overlay {
    background-color: rgb(196, 84, 9);
    border-radius: 0 0 0 100px;
}

.awareness-block-d {
    background-image: url(/wp-content/uploads/diabetes-month-5.jpg);
    background-size: cover;
    width: 50%;
    border-radius: 0 0 100px 0;
    border-top: solid 5px white;
    border-left: solid 5px white;
}

.awareness-block-d .awareness-block-overlay {
    background-color: rgb(157, 208, 58);
    border-radius: 0 0 100px 0;
}

.awareness-block-center {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.awareness-circle {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: darkgray;
    border-radius: 100px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
    font-size: 18px;
    background-color: #fff;
}

.featherlight .featherlight-content {
    padding: 35px 35px 0;
    font-size: 18px;
    line-height: 1.6;
    width: 100%;
    max-width: 960px;
}

.featherlight-inner img {
    width: 250px;
}

.featherlight-inner img.awareness-photo-left {
    float: left;
    margin: 0 10px 0 0;
}

.featherlight-inner img.awareness-photo-right {
    float: right;
    margin: 0 0 0 10px;
}

@media (max-width: 768px) {
    .awareness-right ul li {
        width: 100%;
        max-width: 100%;
    }
    .awareness-right ul li:first-child,
    .awareness-right ul li:last-child {
        margin: 8px;
    }
    .awareness-intro-image {
        min-height: 275px;
    }
    .awareness-what-is-diabetes {
        max-width: 100%;
        padding: 0 20px;
    }
    .awareness-blocks {
        width: 100%;
        flex-direction: column;
    }
    .awareness-block {
        width: 100%;
        border-right: none;
        border-left: none;
        border-top: solid 5px white;
        border-bottom: none;
        border-radius: 0;
    }
    .awareness-block-overlay {
        border-radius: 0 !important;
    }
    .awareness-block-center {
        display: none;
    }
    .awareness-right .fa-bars {
        display: block;
    }
    #menu-diabetes-awareness-month {
        display: none;
    }
    #menu-diabetes-awareness-month.visible {
        display: flex;
    }
    .awareness-container {
        margin: 0;
    }
    .page-template-page-diabetes-awareness .page-header {
        margin: 40px 0 0 0;
    }
    .awareness-intro-cont {
        margin-top: 0;
    }
    .awareness-right ul {
        margin-top: 0;
    }
    .awareness-intro-photo {
        display: none;
    }
}

