/*
Theme Name: RichardLipmanMD
Description: Richard Lipman MD Child Theme for Avada
Author: Hylidix
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* BMI Calculator */
#BMI-calc div, 
#BMI-calc input,
#BMI-calc span {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#BMI-calc {
    max-width: 300px;
    min-width: 200px;
    background-color: #f8f8f8;
    border: 1px #d9dee3 solid;
    font-size: 14px;
    line-height: 1.42857143;
    color: #343434;
	margin:0 auto;
}

#BMI-calc #calc-header H3{
    font-size: 18px;
    margin: 0px 0px 0.7143em 0px;
    padding: 0.3571em;
}

#BMI-calc #calc-header H3 a{
    color: #1983c6;
    text-decoration: none;
}

#BMI-calc #calc-header {
    text-align: center;
    background-color: #d9dee3;
}

#BMI-calc .col-200-4 {
    width: 33.33%;
    float: left;
}

#BMI-calc .col-200-5 {
    width: 41.66%;
    float: left;
}

#BMI-calc .col-200-6 {
    width: 50%;
    float: left;
}

#BMI-calc .col-200-8 {
    width: 66.66%;
    float: left;
}

#BMI-calc .col-12 {
    width: 100%;
    float: left;
}

#BMI-calc .col-200-offset-1 {
    margin-left: 10%;
}

@media (max-width: 200px) {
    #BMI-calc .col-200-4 {
        width: 100%;
        float: left;
    }
    #BMI-calc .col-200-5 {
        width: 100%;
        float: left;
    }
    #BMI-calc .col-200-8 {
        width: 100%;
        float: left;
    }
}

#BMI-calc .form-group {
    padding: 5px;
    display: block;
    clear: both;
}

#BMI-calc .form-group:after {
    clear: both;
    content: "";
    display: table;
}

#BMI-calc .control-label {
    display: inline-block;
    text-align: right;
    padding-top: 7px;
    margin-bottom: 0;
    max-width: 100%;
    font-weight: 700;
    box-sizing: border-box;
}

@media (max-width: 400px) {
    #BMI-calc .control-label {
        text-align: left;
    }
}

#BMI-calc .input-group-addon,
#BMI-calc .input-group-btn,
#BMI-calc .input-group .form-control {
    display: table-cell;
}

#BMI-calc .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
}

#BMI-calc .form-control {
    width: 100%;
    height: 34px;
    padding: 0.3571em 0.7143em;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid;
    border-color: #ddd;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
@media (min-width: 799px) and (max-width:1200px) {
	#BMI-calc .form-control {padding: 5px;}
}

#BMI-calc .form-control:last-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

#BMI-calc .form-control:first-child {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

#BMI-calc .input-group-addon {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555555;
    text-align: center;
    border: 1px solid;
    border-color: #ddd;
    border-radius: 4px;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    font-weight: 700;
    /*background-color: #f8f8f8;*/
}

#BMI-calc .input-group-addon:last-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

#BMI-calc .input-group-addon:last-child {
    border-left: 0;
}

#BMI-calc .input-group-addon:first-child {
    border-right: 0;
}

#BMI-calc .input-group-addon:first-child {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
/* BUTTON */

#BMI-calc .btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#BMI-calc .btn:focus,
#BMI-calc .btn:active:focus,
#BMI-calc .btn:active.focus,
#BMI-calc .btn.focus,
#BMI-calc .btn.active:focus,
#BMI-calc .btn.active.focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

#BMI-calc .btn:hover,
#BMI-calc .btn:focus,
#BMI-calc .btn.focus {
    color: #333333;
    text-decoration: none;
}

#BMI-calc .btn:active,
#BMI-calc .btn.active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

#BMI-calc .btn-info {
    color: #ffffff;
    background-color: #63b7eb;
    border-color: #63b7eb;
}

#BMI-calc .btn-info:hover,
#BMI-calc .btn-info:focus,
#BMI-calc .btn-info.focus,
#BMI-calc .btn-info:active,
#BMI-calc .btn-info.active {
    color: #ffffff;
    background-color: #33a1e5;
    border-color: #33a1e5;
}

#BMI-calc .btn-info:active,
#BMI-calc .btn-info.active {
    background-image: none;
}

#BMI-calc .btn-info .badge {
    color: #5bc0de;
    background-color: #ffffff;
}

#BMI-calc .btn-block {
    display: block;
    width: 100%;
}

#BMI-calc .btn-block + .btn-block {
    margin-top: 5px;
}

#BMI-calc input[type="submit"].btn-block,
#BMI-calc input[type="reset"].btn-block,
#BMI-calc input[type="button"].btn-block {
    width: 100%;
}
/* ^^^^^^ BUTTON */
/* ALERT */

#BMI-calc .alert {
    padding: 5px 15px 5px 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
}

#BMI-calc .alert p {
    margin: 2px;
}

#BMI-calc .alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

#BMI-calc .alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

#BMI-calc .alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

#BMI-calc .alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
/* ^^^^^^ ALERT */
/* RADIO */

#BMI-calc input[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    color: aqua;
}

#BMI-calc .radio label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}
/* ^^^^^^ RADIO */

#BMI-calc .center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* custom BMI settings */

#BMI-calc .input-group-addon {
    width: 35px;
    padding: 5px 5px;
}

#BMI-calc .control-label {
    padding-right: 5px;
}

#BMI-calc #calc-options {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

#BMI-calc .BMI-Description-group {
    padding: 0px 6px 0px 6px;
}

#BMI-calc .col-200-5 .btn {
    margin-left: 10%;
}

#BMI-calc .btn {
    padding-left: 0px;
    padding-right: 0px;
}

#BMI-calc .bmi-hidden {
    display: none;
}


/* ^^^^^ custom BMI settings */

/* Page Custom Field (Certifications) */

/* Certification images block - below header, right-aligned */
.cert-badge-wrap {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 12px 25px;
  max-width: 100%;
}

/* Make sure the images stay crisp and responsive */
.cert-badge-wrap img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* Mobile view: centre them neatly */
@media (max-width: 768px) {
  .cert-badge-wrap {
    justify-content: center;
    padding: 10px 15px;
  }
  .cert-badge-wrap img {
    height: 40px;
  }
}
