/*
 Theme Name:   Teamtransformerz Theme
 Theme URI:    http://medicare.bold-themes.com
 Description:  Teamtransformerz Theme  - Medicare Child Theme
 Author:       L
 Template:     medicare
 Version:      1.0.0
 Tags:         one-column, right-sidebar, fluid-layout, responsive-layout, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  teamtransformerz
*/


/* =Theme customization starts here


-------------------------------------------------------------- */
/* The Modal (background) */
.tt-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .tt-modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 320px;
  }
  .tt-modal-header{
      position:relative;
  }
  /* The Close Button */
  .tt-close {
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: -10px;
  }
  
  .tt-close:hover,
  .tt-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

.tt-loader-container{
    display: none;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.623);
    z-index: 999;
    pointer-events: none;
}
.tt-loader-container.active{
    display: block;
    opacity: 1;
}

.tt-loader-container .loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
.tt-uppercase{
    text-transform: uppercase;
}

@media only screen and (min-width: 1024px) {
    .menuPort {
        display: inline-flex;
        flex-direction: row-reverse;
    }
    .menuPort ul.menu {
        white-space: nowrap;
        width: 100%;
        display: flex;
    }
}

.btFooterMenu .fooWidgets {
    display: none!important;
}

.tt-subscription__programs .mobile-guide {
    display: none;
}

@media only screen and (max-width: 442px) {
    .partnership-group-icons {
        max-width: 80%;
        margin: auto;
    }
    .tt-step .tt-step__name {
        font-size: 8px!important;
    }
    .tt-subscription__programs {
        flex-direction: column;
    }
    .tt-subscription__programs .guide {
        display: none;
    }
    .tt-subscription__programs .mobile-guide {
        display: block;
    }
}

@media only screen and (max-width: 542px) {
    .gridItem {
        height: auto!important;
        display: flex;
        position: relative!important;
        width: 100%!important;
        margin: 0!important;
        float: left!important;
        left: 0!important;
        top: auto!important;
    }
    .btGridGap-10 .tilesWall .btShowTitle {
        position: relative;
    }
}

.images-row .rowItemContent {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.images-row .rowItemContent .btTextCenter.bpgPhoto {
    display: flex;
    width: 100px;
    margin: 10px;
}

.images-row .rowItemContent .btTextCenter.bpgPhoto .bpbItem {
    height: 100%;
}

.images-row .rowItemContent .btTextCenter.bpgPhoto .btImage {
    display: flex;
    height: 100%;
}

.images-row .rowItemContent .btTextCenter.bpgPhoto .btImage img {
    margin: auto;
}

a.primary-link,
a.primary-link:visited {
    color: #0050a6;
}


/*
 * Subscription Form
 */

.tt-subscription {
    max-width: 500px;
    margin: 2rem auto;
}

.tt-stepper {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin-bottom: 4rem;
    padding-left: 0;
}

.tt-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.tt-step::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #f7f7f7;
    width: 100%;
    top: 15px;
    left: -50%;
    z-index: 2;
}

.tt-step::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #f7f7f7;
    width: 100%;
    top: 15px;
    left: 50%;
    z-index: 2;
}

.tt-step .tt-step__counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f7f7f7;
    color: #aaa;
    margin-bottom: 6px;
}

.tt-step .tt-step__name {
    color: #aaa;
    font-size: 12px;
}

.tt-step.active .tt-step__name,
.tt-step.completed .tt-step__name {
    color: inherit;
}

.tt-step.active .tt-step__counter {
    background-color: #007bff;
    color: #fff;
}

.tt-step.completed .tt-step__counter {
    background-color: #0050a6;
    color: #fff;
    cursor: pointer;
}

.tt-step.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #0050a6;
    width: 100%;
    top: 15px;
    left: 50%;
    z-index: 3;
}

.tt-step:first-child::before {
    content: none;
}

.tt-step:last-child::after {
    content: none;
}


/* Form group tab */

.tt-subscription__title {
    font-size: 26px;
    text-align: center;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 2.5rem;
}

.tt-subscription__group {
    display: none;
}

.tt-subscription__group.active {
    display: block;
}


/* Inputs */

.form-group {
    margin-bottom: 20px;
}

.form-control {
    padding: 0 20px;
    height: 44px;
    width: 100%;
    display: block;
    font-size: 15px;
    line-height: 44px;
    font-weight: 300;
    border: none;
    -webkit-box-shadow: 0 0 0 2px transparent inset;
    box-shadow: 0 0 0 2px transparent inset;
    background-color: rgba(0, 0, 0, .07);
}

form select.form-control {
    height: 44px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

form select.form-control:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

.form-group input[type="date"] {
    padding: 0 12px 0 5px !important;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: .3rem;
    margin-left: -1.25rem;
}

.form-check-label {
    margin-bottom: 0;
}

.tt-subscription__programs {
    margin-bottom: 0rem;
    display: flex;
    /*grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-gap: 1rem;*/
    justify-content: center;
}

.tt-subscription__programs .form-group {
    height: 100%;
    width: 50%;
}

@media only screen and (max-width: 500px) {
    .tt-subscription__programs .form-group {
        width: 100%;
    }
}

.tt-subscription__programs input.form-check-input {
    display: none;
}

.tt-subscription__programs label.form-check {
    padding-left: 0;
    cursor: pointer;
    padding: 1rem 1rem 0;
    height: 100%;
    border: 1px solid #eee;
    border-radius: 5px;
    margin: 10px;
}

.tt-subscription__programs label.form-check:hover {
    background: #f7f7f7;
}

.tt-subscription__programs .tt-discounted-value {
    text-decoration: line-through;
}

.tt-subscription__programs label.form-check.tt-instructions {
    background-color: #fff;
    border: none;
}

.tt-subscription__programs label.form-check.tt-instructions:hover {
    background-color: #fff;
    border: none;
}

.tt-subscription__programs input.form-check-input:checked+label {
    background: #0050a6;
    color: #fff;
    border-color: #0050a6;
}

.tt-subscription__program-title {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tt-subscription__programs label ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-bottom: 15px;
}

.tt-subscription__programs label ul li:not(:last-child) {
    border-bottom: 1px solid #ccc4;
    padding-bottom: .25rem;
    margin-bottom: .25rem;
}

.btn__apply-promo {
    border: none;
    background: none;
    color: #0050a6;
    padding: .5rem;
    margin-top: .25rem;
    cursor: pointer;
    margin-left: -.5rem;
}

.btn__apply-promo:hover {
    color: #007bff;
}


/* validation errors */

.tt-error-message {
    display: none;
    color: red;
}

.tt-success-message {
    display: none;
    color: green;
}

.tt-error-message.show {
    display: block;
}

.tt-field-invalid+.tt-error-message,
.tt-field-valid+.tt-error-message+.tt-success-message {
    display: block;
}

.tt-field-invalid+.tt-error-message+.tt-success-message {
    display: none;
}

.tt-field-invalid {
    border: 2px solid red !important;
}

.js-subscription-dd {
    display: none;
    flex-direction: column;
}

.js-subscription-dd.active {
    display: flex;
}


/* navigation btns */

.tt-subscription__navigation-btns {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-top: 4rem;
}

.tt-subscription__navigation-btn {
    display: none;
}

.tt-subscription__navigation-btn.show {
    display: block;
}