.btn-card-next {
    border-radius: 0;
    border: 2px solid #007DB8;
    color: #007DB8;
    font-weight: 600;
    background-color: #ffffff;
    padding: 10px;
}

#my-cardslider a {
    color: rgb(34, 118, 214);
}

.cardslider__card {
    padding: 20px;
    display: flex;
    color: black;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-answers {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: 1vh;
}

.logo {
    margin-right: 8px;
}

.card-container {
    width: 95%;
}

.cardtitle {
    bottom: 20px;
    width: 100%;
    left: 0;
    text-align: center;
    display: block;
}

.centered {
    padding: 20px;
    color: black;
    font-size: 3rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.bulletcontainer {
    width: 70%;
    padding-bottom: 0px;
}

.text-card-sm {
    font-size: 1.5vh;
}

.text-card-md {
    font-size: 2vh;
}

.text-card-lg {
    font-size: 2.5vh;
}

.cardyes,
.cardno {
    margin: 20px;
    cursor: pointer;
    color: #444444;
    border: solid 2px #007DB8;
    padding: 10px;
}


/*card question*/

.cardno:hover,
.cardyes:hover {
    background-color: #EEEEEE;
}

.cardvisfbc {
    display: none;
    position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
    margin-left: auto;
    margin-right: auto;
    height: 90%;
	width: auto;
    /* width: 70%; */
    padding-top: 3vh;
}

/*end card questions*/

.blue {
    color: #007DB8;
    font-weight: 600;
}


/*iPhone6 Plus Landscape*/

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 3) {
    .card-img {
        padding-bottom: 5px;
    }
    .text-card-sm {
        font-size: 2.5vh
    }
    .text-card-md {
        font-size: 4vh;
    }
    .text-card-lg {
        font-size: 4.5vh;
    }
    .cardslider__cards {
        width: 90%;
        height: 90%;
    }
    .bulleted {
        padding: 0px !important;
        width: 90%;
    }
    /*moved arrows to the left*/
    .cardslider__direction-nav {
        position: fixed;
        right: 0;
        bottom: 30px;
        z-index: 99999;
    }
    /*made the next arrow go to a new line so they arrows will stack*/
    .cardslider__nav-next {
        display: block;
        -webkit-margin-before: 1em;
        -webkit-margin-after: 1em;
        -webkit-margin-start: 0px;
        -webkit-margin-end: 0px;
        margin-left: 0;
    }
    .cardslider__nav-prev {
        margin-right: 10px;
    }
}


/*iPhone5 Portrait*/

@media only screen and (max-device-width: 320px) and (max-device-width: 568px) {
    .text-card-sm {
        font-size: 1vh;
    }
    .text-card-md {
        font-size: 1.8vh;
    }
    .text-card-lg {
        font-size: 2vh;
    }
    .bulleted {
        padding: 0px !important;
        width: 90%;
    }
    .bulletcontainer {
        width: 100% !important;
    }
    .bulleted {
        padding: 0px !important;
    }
    .cardyes {
        margin: 0px !important;
        cursor: pointer;
        color: #007DB8;
        border: solid 2px #007DB8;
        padding: 10px;
        left: 55px;
        position: absolute;
        top: 320px;
    }
    .cardno {
        margin: 0px !important;
        cursor: pointer;
        color: #444444;
        border: solid 2px #007DB8;
        padding: 10px;
        position: absolute;
        top: 320px;
        left: 140px;
    }
    .cardvisfbc {
        z-index: 999;
    }
}

@media (min-width: 993px) {
    .cardslider {
        width: 60%;
        height: 90%;
        position: absolute;
        overflow: hidden;
        left: 40%;
    }
}

@media (max-width: 992px) {
    .cardslider {
		width: 90%;
		height: 90%;
		position: fixed;
		left: 0px;
		right: 0px;
		margin: 0 auto;
		overflow: visible;
    }
}



/*sizing for cards for larger phones and tablets*/

@media only screen and (max-width: 992px) and (orientation:landscape) {
    /*moved arrows to the left*/
    .cardslider__direction-nav {
        position: fixed;
        right: 0;
        bottom: 30px;
    }
    /*made the next arrow go to a new line so they arrows will stack*/
    .cardslider__nav-next {
        display: block;
        -webkit-margin-before: 1em;
        -webkit-margin-after: 1em;
        -webkit-margin-start: 0px;
        -webkit-margin-end: 0px;
        margin-left: 0;
		position: absolute;
		right: -25px;
		bottom: 30px;
    }
    .cardslider__nav-prev {
		position: absolute;
		bottom: 100px;
		right: -30px;		
        margin-right: 10px;
    }
    .text-card-sm {
        font-size: 2.5vh
    }
    .text-card-md {
        font-size: 4vh;
    }
    .text-card-lg {
        font-size: 4.5vh;
    }
    .cardvisfbc {
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        height: 90%;
		width: auto;
        /* width: 60%; */
    }
}

/*sizing for cards for larger phones and tablets*/

@media only screen and (max-width: 992px) and (orientation:portrait) {
    .cardvisfbc {
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        /* height: 90%; */
        width: 80%;
		height: auto;
    }
}


/*sizing for cards for smaller phone screen sizes*/

@media only screen and (max-width: 667px) and (orientation:landscape) {
    .bulletcontainer {
        width: 90%;
        padding-bottom: 0px;
    }
    .bulleted {
        margin-bottom: .5rem;
        padding: 0 !important;
    }
    .card-img {
        padding-bottom: 5px;
        width: auto;
        height: 40px;
    }
}

@media only screen and (max-device-width: 640px) and (max-device-width: 667px) and (max-width: 480px) and (orientation:landscape) {
    /*moved arrows to the left*/
    .cardslider__direction-nav {
        position: fixed;
        right: 0;
        bottom: 30px;
    }
    /*made the next arrow go to a new line so they arrows will stack*/
    .cardslider__nav-next {
        display: block;
        -webkit-margin-before: 1em;
        -webkit-margin-after: 1em;
        -webkit-margin-start: 0px;
        -webkit-margin-end: 0px;
        margin-left: 0;
    }
    .cardslider__nav-prev {
        margin-right: 10px;
    }
    .text-card-sm {
        font-size: 2.5vh
    }
    .text-card-md {
        font-size: 4vh;
    }
    .text-card-lg {
        font-size: 4.5vh;
    }
    .bulletcontainer {
        width: 90%;
        padding-bottom: 0px;
    }
    .bulleted {
        margin-bottom: .5rem;
        padding: 0 !important;
    }
    .cardtitle {
        padding-bottom: 0px;
    }
    .bulleted {
        padding: 0;
    }
    .card-img {
        padding-bottom: 5px;
        width: auto;
        height: 40px;
    }
    .main {
        width: 100%;
        height: 100%;
    }
    .cardslider__card {
        color: black;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .cardslider__card.center {
        text-align: center;
    }
    .no-center {
        display: block;
    }
    table {
        margin-bottom: 10px;
    }
    code {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    .methods {
        overflow-y: scroll;
        display: block;
        height: 100%;
        font-size: 1.4rem;
    }
    .methods code {
        font-size: 1.4rem;
    }
    table {
        width: 100%;
    }
    table td {
        padding: 10px;
    }
}

@media only screen and (max-device-width: 640px) and (max-device-width: 667px) and (max-width: 480px) {
    .text-card-sm {
        font-size: 1.85vh
    }
    .text-card-md {
        font-size: 2vh;
    }
    .text-card-lg {
        font-size: 3vh;
    }
    .bulletcontainer {
        width: 90%;
        padding-bottom: 0px;
    }
    .main {
        width: 100%;
        height: 100%;
    }
    .cardslider__card {
        color: black;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .cardslider__card.center {
        text-align: center;
    }
    .no-center {
        display: block;
    }
    table {
        margin-bottom: 10px;
    }
    code {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    .methods {
        overflow-y: scroll;
        display: block;
        height: 100%;
        font-size: 1.4rem;
    }
    .methods code {
        font-size: 1.4rem;
    }
    table {
        width: 100%;
    }
    table td {
        padding: 10px;
    }
}


/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
    .text-card-sm {
        font-size: 1.6vh;
    }
    .text-card-md {
        font-size: 2vh;
    }
    .text-card-lg {
        font-size: 2.5vh;
    }

    .bulletcontainer {
        width: 90%;
        padding-bottom: 0px;
    }
    .main {
        width: 100%;
        height: 100%;
    }
    .cardslider__card {
        color: black;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .cardslider__card.center {
        text-align: center;
    }
    .no-center {
        display: block;
    }
    table {
        margin-bottom: 10px;
    }
    code {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    .methods {
        overflow-y: scroll;
        display: block;
        height: 100%;
        font-size: 1.4rem;
    }
    .methods code {
        font-size: 1.4rem;
    }
    table {
        width: 100%;
    }
    table td {
        padding: 10px;
    }
}


/* iphone 7 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
    .text-card-sm {
        font-size: 1.6vh;
    }
    .text-card-md {
        font-size: 1.8vh;
    }
    .text-card-lg {
        font-size: 2.5vh;
    }
}





@media (max-width: 960px) {
    table td {
        display: block;
    }
}

table tr.title td {
    font-size: 2rem;
    padding-top: 20px;
    border-bottom: 1px solid black;
}

table tr td.center {
    text-align: center;
}

@media (max-width: 960px) {
    table tr td.center {
        text-align: left;
    }
}

table tr:nth-child(even) td {
    background: rgba(34, 118, 214, .2);
}

header {
    width: 100%;
    position: absolute;
    padding: 40px 40px 0;
    color: white;
    display: flex;
    font-size: 1.6rem;
    z-index: 10;
}

header h1 {
    font-size: 1.6rem;
    line-height: 1;
}

header .left,
header .right {
    flex-grow: 1;
    flex-basis: 50%;
    align-items: center;
    display: flex;
}

header .right {
    justify-content: flex-end;
}

@media (max-width: 900px) {
    header .right img {
        width: 30px;
    }
}

@media (max-width: 920px) {
    header {
        text-align: center;
        font-size: 2.6666666667rem;
        flex-direction: column;
        padding-bottom: 40px;
    }
    .mobile-smaller {
        font-size: 1.4rem;
    }
}

.card-img-200 {
    width: 100%;
    padding-bottom: 5px;
}

.card-img-50per-xl {
    width: 40%;
    padding-bottom: 5px;
}

#card3 .card-container .card-img-200 {
    width: auto;
    max-width: 80%;
    max-height: 30vh;
    padding-bottom: 5px;
}

#card4 .card-container .card-img-200 {
    width: auto;
    max-width: 100%;
    max-height: 30vh;
    padding-bottom: 5px;
}

#card5 .card-container .card-img-200 {
    width: auto;
    max-width: 100%;
    max-height: 30vh;
    padding-bottom: 5px;
}

#card6 .card-container .card-img-200 {
    width: auto;
    max-width: 100%;
    max-height: 30vh;
    padding-bottom: 5px;
}

#card7 .card-container .card-img-200 {
    width: auto;
    max-width: 100%;
    max-height: 30vh;
    padding-bottom: 5px;
}
#card8 .card-container .card-img-200 {
    width: auto;
    max-width: 100%;
    max-height: 30vh;
    padding-bottom: 5px;
}

#cardquizintro .card-img-200 {
    width: auto;
    height: 15vh;
    max-height: 100%;
    padding-bottom: 5px;
}