/* CSS transition logic - hard linked with SmoothState.js */
#main.slide-bottom {
    transition: all 1.0s ease !important;
    opacity: 0 !important;
    transform: translateY(700px) rotate(0deg) !important;
}

#main.slide-center {
    transition: all 1.0s ease;
    opacity: 1;
}

#main.slide-top {
    transition: all 1.0s ease;
    opacity: 0;
    transform: translateY(-700px) rotate(0deg);
}

/* Utilities - Single Purpose mutations */

/* Margin and Padding */
.p-l1 {
    padding-left: 1rem;
}
.p-r1 {
    padding-right: 1rem;
}
.p-t1 {
    padding-top: 1rem;
}
.p-b1 {
    padding-bottom: 1rem;
}
.p-t2 {
    padding-top: 2rem;
}
.p-b2 {
    padding-bottom: 2rem;
}
.p-l2 {
    padding-left: 2rem;
}
.p-l3 {
    padding-left: 3rem;
}
.p-r2 {
    padding-right: 2rem;
}
.p-r3 {
    padding-right: 3rem;
}
.p-t3 {
    padding-top: 3rem;
}
.p-b3 {
    padding-bottom: 3rem;
}
.p-t4 {
    padding-top: 4rem;
}
.p-b4 {
    padding-bottom: 4rem;
}
.p-x4 {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
}

.m-l2 {
    margin-left: 2rem;
}
.m-r2 {
    margin-right: 2rem;
}
.m-t0 {
    margin-top: 0rem;
}
.m-b0 {
    margin-bottom: 0rem;
}
.m-r1 {
    margin-right: 1rem;
}
.m-t1 {
    margin-top: 1rem;
}
.m-b1 {
    margin-bottom: 1rem;
}
.m-t2 {
    margin-top: 2rem;
}
.m-b2 {
    margin-bottom: 2rem;
}
.m-t3 {
    margin-top: 3rem;
}
.m-b3 {
    margin-bottom: 3rem;
}
.m-t4 {
    margin-top: 4rem;
}
.m-b4 {
    margin-bottom: 4rem;
}
.m-t5 {
    margin-top: 5rem;
}
.m-b5 {
    margin-bottom: 5rem;
}
.m-t6 {
    margin-top: 6rem;
}
.m-b6 {
    margin-bottom: 6rem;
}

/* Font Weights (100 300 400 700 900) */

.fw-bolder {
    font-weight: 900;
}

.fw-bold {
    font-weight: 700;
}

.fw-normal {
    font-weight: 400;
}

.fw-light {
    font-weight: 300;
}

.fw-lighter {
    font-weight: 100;
}

.fs-italic {
    font-style: italic;
}

.relative {
    position: relative;
}

/* text colors */

.green {
    color: #50E3C2 !important;
}
.red {
    color: #ff3333 !important;
}
.light-blue {
    color: #44B5E5;
}

/* Centering */
img.center {
    display: block !important;
    float: none !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.text-center {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .text-md-left {
        text-align: left;
    }
}

.m-centered {
    float: none !important;
    margin: 0 auto;
}

.abs-centered {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.w-100 {
    width: 100%;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* object-fit: contain for IE11 */
.image-background {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/* Specific components */

.header-light {
    font-size: 48px;
    font-weight: 200;
    color: #44B5E5;
}

/* Page Specific Items */
#true, #false {
    transition: opacity 0.50s ease !important;
}

#yes, #no {
    transition: opacity 0.50s ease !important;
}

/* Global */

body {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #ffffff !important;
    background-color: #BDBDBD;
}

.tile {
    width: 137px;
    height: 137px;
    float: left;
    text-align: center;
    position: relative;
}

.clickable {
    cursor: pointer;
}

.card.clickable:hover {
    text-decoration: none;
    color: #000a71;
}

/* tile container */
.tile-container {
    width: 137px;
    display: grid;
    row-gap: 1rem;
    column-gap: 1rem;
    grid-template-columns: auto;
}

@media screen and (min-width: 360px) {
    .tile-container {
        width: 274px;
        grid-template-columns: auto auto;
    }
    .evebuttons {
        width:100%;
    }
}

@media screen and (min-width: 576px) {
    .tile-container {
        width: 411px;
        grid-template-columns: auto auto auto;
    }
    .evebuttons {
        width:100%;
    }
}

@media screen and (min-width: 768px) {
    .tile-container {
        width: 548px;
        grid-template-columns: auto auto auto auto;
    }
    .evebuttons {
        width:100%;
    }
}

@media screen and (min-width: 992px) {
    .tile-container.evening {
        width: 685px;
        grid-template-columns: auto auto auto auto auto;
    }
    .evebuttons {
        width:20% !important;
    }
}

/* practice container */
.tile-container-practice {
    width: 160px;
    display: grid;
    row-gap: 1rem;
    column-gap: 1rem;
    grid-template-columns: auto;
}

@media screen and (min-width: 360px) {
.tile-container-practice {
        width: 330px;
        grid-template-columns: auto auto;
    }
}

@media screen and (min-width: 576px) {
.tile-container-practice {
        width: 500px;
        grid-template-columns: auto auto auto;
    }
}

@media screen and (min-width: 1200px) {
    .tile-container-practice {
        width: 1010px;
        grid-template-columns: auto auto auto auto auto auto;
    }
}

.tile-img {
    background-size: contain;
    width: 100%;
    height: 64px;
    background-repeat: no-repeat;
    background-position: center;
}

.practice-img {
    background-size: contain;
    width: 100%;
    height: 128px;
    background-repeat: no-repeat;
    background-position: center;   
}

.counter {
    display: inline-block;
    width: 125px;
}

.counter-center {
    height: 72px;
    position: relative;
}

/* CARD UTILS */

.card {
    background-color: white;
    border: 6px solid #44B5E5;
    border-radius: 15px;
    color: #000a71;
}

.card.modal-content {
    background-color: white;
    border: 6px solid #44B5E5 !important;
    border-radius: 15px;
    color: #000a71;
    padding: 3rem;
    width: 396px;
    height: 356px;
}

.card.disabled {
    border-color: gray;
    cursor: default;
}

.card.border-green {
    border: 6px solid #50E3C2; 
}

.card.checked {
    background: url('/diabetes/programs/preventt2/app/cdc-assets/images/corner_card.png') no-repeat top -2px right -2px #fff;
    border: 6px solid #50E3C2;
    background-size: 30%;
}

.card .carousel-inner .item {
    margin: 3rem 5rem 9rem 4rem;
}

.card .carousel-indicators li {
    background-color: #44B5E5;
    border: 3px solid #44B5E5;
    width: 14px;
    height: 14px;
}

.card .carousel-control {
    background-image: none !important;
    color: #44B5E5 !important;
}

.card .carousel-indicators li.active {
    background-color: #000a71;
    margin: 1px !important;
}

.card-squared {
    width: 381px;
    height: 338px;
}

.card-header {
    border-bottom: 6px solid #44B5E5;
}

/* holding you back cards */

.card.hold-back {
    width: 220px;
    height: 148px;
    display: inline-block;
    position: relative;
    text-align: center;
}

.card.hold-back h4 {
    width: 200px;
    font-size: 2rem;
    line-height: 1.25;
    letter-spacing: 0.05rem;
}

/* lets practice */

.card.practice {
    display: inline-block;
    position: relative;
    width: 160px;
    height: 250px;
    text-align: center;
    padding: 1rem;
}

/* PANE UTILS */

.pane {
    height: 322px;
    width: 261px;
    border: 6px solid rgba(128, 128, 128, 0.5);
    border-radius: 1rem;
    text-align: center;
}

.pane h3 {
    width: 230px;
    margin: 0;
    color: #44B5E5;
}

/* Specific element styling */
.start-bg {
    transition: all 1.0s ease !important;
    background: url('/diabetes/programs/preventt2/app/cdc-assets/images/module-full-bg.png') no-repeat center center #000A71;
    background-size: cover;
}

.next-container a.btn-pill {
    padding-left: 3.5rem;
    padding-right: 2.8rem;
    overflow: hidden;
    position: relative;
}

.next-container a.btn-pill .fa-angle-down {
    transition: all 0.5s ease !important;
    position: absolute;
    top: 100%;
}

.next-container a.btn-pill:hover .fa-angle-down {
    position: absolute;
    top: 30%;
    color: #000a71 !important;
}

a.btn-pill {
    color: #ffffff !important;
    background-color: #000a71;
    border: 3px solid #44B5E5;
    border-radius: 2em;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 2rem;
    font-weight: 300;
    transition: all 0.30s !important;
}

a.btn-pill:active {
    color: red !important;
}

a.btn-pill:hover, a.btn-light {
    color: #000a71 !important;
    background-color: #44B5E5;
}

a.btn-light:hover {
    color: #44B5E5 !important;
    background-color: #000a71;
}

a.btn-pill.pressed {
    color: #000a71 !important;
    background-color: #44B5E5;
}

a.btn-pill.wide {
    padding-left: 2.5rem;
    padding-right:2.5rem;
}

/* Medium screen */
.content-space {
    max-width: 1165px;
    height: auto;

}

@media screen and (min-width: 992px) {
    .content-space {
        max-width: 1165px !important;
        height: 600px !important;

    }  
}

/* Next Button Footer */

.next-container {
    height: 14.5rem;
    position: relative;
}

@media screen and (min-width: 992px) {
    .next-container {
        position: static;
        height: auto;
    }
}

.next-footer {
    position: absolute;
    transform: translate(-50%, 0);
    left: 50%;
    bottom: 42px;
    width: 100%;
}

.next-footer::before {
    content: '';
    position: absolute;
    top:50%;
    border-top: 3px solid #44B5E5;
    width: 90%;
    z-index: -1;
    transform: translateX(5%);
}

.form-control {
    width: 47px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Circle Timer */

.circle {
    width: 28rem;
    height: 28rem;
    border: 1rem solid #44B5E5;
    border-radius: 16.5rem;
    position: relative;
}

.circle-timer {
    font-size: 8rem;
    font-weight: 300;
}
