/*** GENERAL ***/

@font-face {
  font-family: GothamMedium;
  src: url(/fonts/gotham-medium.woff);
  unicode-range: U+0000-001F, U+0021-007F; }
a.btn {
  font-family: GothamMedium;
}
.btn-primary {
  font-family: GothamMedium;
}
.site-footer {
    padding: 50px
    background-color: #f8f9fa;
}
ul.navbar-nav li a.btn {
  color: white;
  margin-top: -10px;
}
.navbar-nav .btn {
  margin-right: -20px;
}


/*** Index/state-listL ***/
#logo {
    margin-top: 23px;
    margin-left: 27px;
    height: calc(40px + (65 - 40) * ((100vw - 300px) / (1600 - 300)));
}

#body-container {
    display: flex;
    background-color: #F2F6FF;
}

#states-intro {
    flex: 1;
    /*margin-top: calc(0px + (180 - 0) * ((100vw - 300px) / (1600 - 300)));*/
    padding: 40px calc(20px + (100 - 20) * ((100vw - 300px) / (1600 - 300)));
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#states-intro {
    /*margin-top: calc(0px + (180 - 0) * ((100vw - 300px) / (1600 - 300)));*/
    padding: 40px calc(20px + (100 - 20) * ((100vw - 300px) / (1600 - 300)));
    display: flex;
}
#states-intro h1 {
    font-size: calc(25px + (37 - 25) * ((100vw - 300px) / (1600 - 300)));
    font-weight: normal;
    margin-bottom: 30px;
    line-height: 48px;
}

#states-intro h2 {
    font-size: 22px;
    font-weight: normal;
}
.states-cta-img {
    margin: -50px;
    max-width: 300px;
}
.therapy-type-intro {
  display: flex;
  justify-content: space-evenly;
  align-items:center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}
.therapy-type-body-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.therapy-type-intro h1, .therapy-type-intro p {
  min-width: 0;
  overflow-wrap: break-word;
}
.therapy-type-cta {
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 24px;
}
.therapy-type-intro h1 {
  font-size: calc(25px + (37 - 25) * ((100vw - 300px) / (1600 - 300)));
}
.therapy-type-cta {
}

.therapy-type-cta-img {
    max-width: 200px;
}
.therapy-type-letter {
  margin-bottom: 125px;
  display: inline-block;
  width: -webkit-fill-available;
}
#type-form {
  margin-top: 50px;
}
#type-form label {
  margin-left: 0;
  font-size: 20px;
}
#state-box>p {
	margin-top: inherit;
}

#state-box>img {
	height: inherit;
	width: 30px;
}


.states-list, .specialty-list {
    flex: 3;
    column-count: 4;
    padding-top: 40px;
    padding-bottom: 40px;
    /* padding-right: calc(0px + (150 - 0) * ((100vw - 300px) / (1600 - 300))); */
}

.states-list a, .specialty-list a{
    width: inherit;
    display: inline-block;
    padding: 15px;
    margin-right: 50px;
    text-decoration: none;
    color: black;
    width:93%;

}

.states-list a:hover, #state-selected {
    background-color: #0D59F2;
    color: white !important;
    box-shadow: 3px 3px 3px grey;
    width:100%;
}

#state-selected {
    width:100%;
	background-color: #0D59F2;
}

#check {
    height: 25px;
	width: 25px;
    float: right;
}
.state-type-headline {
  font-size: 36px;
  padding: 50px;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  display: flex;
  flex-direction: column;
  flex: 5;
}
#body-container {
 flex: 5;
}
#states-intro .thera-specialty {
  background-color: white;
  color: unset;
}
@media (max-width: 1370px) {
    .states-list {
        padding-right: 10px;
    }
}

@media (max-width: 1205px) {
    #body-container {
        flex-direction: column;
        align-items: center;
    }
    .states-list {
        column-count: 2;
    }
    .states-list a {
        text-align: center;
    }
    #states-intro {
        flex: 1;
        text-align: center;
    }
}
@media (max-width: 900px) {
  .specialty-list {
     column-count: unset;
  }
  .specialty-list a {
    margin-right: 0;
    width: 100%
  }
  .therapy-type-intro {
    padding: 25px;
  }
  .therapy-type-intro h1 {
    line-height: 1;
  }
}

@media (max-width: 500px) {
	.states-list {
		padding-left: 2px;
		padding-right: 0;
	}
	.states-list a {
		margin-right: 0;
		padding: 10px;
	}
	#state-selected {
		display: flex;
		align-items: center;
		justify-content: space-evenly;
	}
	#check {
		height: 20px;
		width: 20px;
	}
  .therapy-type-intro {
     flex-direction: column; 
  }
}

/*** THERAPISTS BY STATE PAGE ***/

.by-state-therapist-display {
    text-decoration: none;
	padding-left: 10px;
}

#by-state-logo {
    margin-top: 23px;
    margin-left: 27px;
    height: calc(40px + (65 - 40) * ((100vw - 300px) / (1600 - 300)));
}

#body-container {
    display: flex;
    justify-content: center;
	padding-left: 0;
}

#by-state-col-1 {
    background-color: #F2F6FF;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	padding-bottom: 15px;
}


#by-state-col-1-inner {
    margin-left: calc(50px + (100 - 50) * ((100vw - 300px) / (1600 - 300)));
    padding-top: 115px;
    padding-right: 5px;
    font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1600 - 300)));
    display: flex;
    justify-content: center;
}


@media (max-width: 599px) {
    #by-state-col-1 {
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #by-state-col-1-inner {
        margin-left: 0;
        padding-top: 0;
        padding-right: 0;
        width: 75%;
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }	
}

@media (min-width: 950px) {
	#by-state-state-selected {
		max-width: 35%;
		padding-right: 80px;
	}
}

#by-state-col-1-inner h1 {
    font-weight: normal;
    margin-bottom: 20px;
    width: 70%;
    font-size: calc(24px + (37 - 24) * ((100vw - 300px) / (1600 - 300)));
	line-height: 1;
}

#by-state-col-1-inner>p {
    line-height: 1.4em;
}

#by-state-theraNum {
    color: #0D59F2;
}

#by-state-state-box {
	font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1600 - 300)));
    background-color: #0D59F2;
    width: 220px;
    height: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    box-shadow: 3px 3px 3px grey;
    display: flex;
    justify-content: space-between;
}

#by-state-state-box p {
    color: white;
    margin-left: 5px;
	padding-right: 0;
}

#by-state-state-box img {
    height: 30px;
	width: 30px;
}

#by-state-therapist-list {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.by-state-therapist-result {
    display: flex;
    align-items: center;
    margin: 5px 10px;
}
.by-state-therapist-display {
    height: calc(90px + (128 - 90) * ((100vw - 300px) / (1600 - 300)));
    width: calc(270px + (350 - 270) * ((100vw - 300px) / (1600 - 300)));
    background-color: white;;
    border-radius: 8px;
    box-shadow: 3px 3px 3px grey;
    display: flex;
    align-items: center;
    z-index: 2;
}

.by-state-therapist-display:hover {
	color: blue;
	box-shadow: 5px 5px 5px grey;
}

#by-state-therapist-list a {
    text-decoration: none;
	color: black;
}

.by-state-therapist-display img {
    height: calc(65px + (85 - 65) * ((100vw - 300px) / (1600 - 300)));
    margin-left: 5px;
}

.by-state-therapist-data {
    margin-left: 5px;
    font-size: calc(10px + (15 - 10) * ((100vw - 300px) / (1600 - 300)));

}
.by-state-therapist-name {
    color: #0D59F2;
    font-size: calc(14px + (20 - 14) * ((100vw - 300px) / (1600 - 300)));
    
}

.by-state-therapist-title {
	line-height: 1.1;
	text-transform: uppercase;
}

.by-state-therapist-license {

}

/*** THERAPIST PAGE ***/

.thera-therapist-display {
    text-decoration: none;
}

#thera-logo {
    margin-top: 23px;
    margin-left: 27px;
    height: calc(40px + (65 - 40) * ((100vw - 300px) / (1600 - 300)));
}

#thera-body-container {
    display: flex;
}

#thera-col-1 {
    background-color: #F2F6FF;
    flex: 1;
    max-width: 480px;
}

#thera-col-2 {
    flex: 1.5;
    background-color: white;
    padding-left: 12px;
    padding-top: 5px;
    padding-right: 15px;    
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
} 

#thera-col-2 .thera-therapist-display {
	display: none;
}

#spec-below {
	display: none;
}

#thera-col-3 {
    padding-top: 15px;
    flex: 1;
    background-color: white;
    padding-right: calc(15px + (25 - 15) * ((100vw - 300px) / (1600 - 300)));
    max-width:460px;
}

#thera-col-1-inner {
    margin-left: calc(15px + (90 - 15) * ((100vw - 300px) / (1600 - 300)));
    padding-top: 115px;
    padding-right: 5px;	
}

#thera-h1 {
    font-weight: normal;
    margin-bottom: 20px;
    width: 80%;
    font-size: calc(21px + (34 - 21) * ((100vw - 300px) / (1600 - 300)));
	line-height: 1;
}

#thera-col-1-inner p {
    line-height: 1.4em;
    padding-right: 40px;
}

#thera-theraNum {
    color: #0D59F2;
}

#thera-state-box {
    background-color: #0D59F2;
    width: 220px;
    height: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
    box-shadow: 3px 3px 3px grey;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#thera-state-box div {
    color: white;
    margin-left: 5px;
}

#thera-state-box img {
    height: 30px;
}

#thera-col-1-inner a {
    color: black;
}

#thera-therapist-list {
    margin-top: 30px;
    display: inline-block;
}

.thera-therapist-result {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.thera-therapist-display {
	padding: 10px;
    height: min-content;
    width: calc(200px + (335 - 200) * ((100vw - 300px) / (1600 - 300)));
    background-color: white;;
    border-radius: 8px;
    box-shadow: 3px 3px 3px grey;
    display: flex;
    align-items: center;
    z-index: 2;
}

#thera-therapist-list a {
    text-decoration: none;
}

.thera-therapist-display img {
    height: 80px;
    margin-left: 5px;
}

.thera-therapist-data {
    margin-left: 5px;
    font-size: 12px;
}

.thera-therapist-name {
    color: #thera-0D59F2;
    font-size: 16px;
    margin-bottom: 3px;
}

.thera-therapist-title {
	text-transform: uppercase;
	line-height: 1.2;
}

.thera-triangle {
    width: 100px;
    height: 100px;
    position: relative;
    overflow: hidden;
    margin-right: -75px;
  }
  
.thera-triangle:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: white;
    transform: rotate(45deg); 
    top: 25px;
    right: 75px;
    box-shadow: -1px -1px 10px -2px rgba(0, 0, 0, 0.5);
}

.thera-spec-hidden {
	display: none;
}
.thera-intro-pic {
  width: 60px;
  min-width: 60px;
  height: 60px;
  vertical-align: middle;
  background-size:cover;
  background-position:center;
  border-radius: 50%;
}

.thera-text-bubble {
    margin-left: 10px;
    margin-bottom: 3px;
}

.thera-therapist-message {
    background-color: #F2F6FF;
    padding: 20px;
	border-radius: 15px;
}

#thera-bubble-triangle {
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-left: 30px solid #F2F6FF;
    margin-top: -50px;
	margin-left: 10px;
}

#thera-plan-types {
    max-width: 50%;
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 150px;
    display: flex;
    justify-content: space-between;
}

.thera-plan {
    max-height: 400px;
    padding: 10px;
    height: calc(440px + (540 - 440) * ((100vw - 300px) / (1600 - 300)));
    width: calc(480px + (570 - 480) * ((100vw - 300px) / (1600 - 300)));
    border-radius: 10px;
    background-position: bottom 35px left -35px;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color:white;
    box-shadow: 2px 2px 2px grey;
	background-repeat: no-repeat;
	background-size: cover;
}

.thera-plan>img {
    width: 90px;
    margin-top: 15px;
}

.thera-plan a {
    display: inline-block;
    text-decoration: none;
    color: white;
    width: 90%;
}

#thera-message-plan { 
    margin-right: 10px;
    background-color: #0D59F2;
    background-image: url("/images/message-background.png");
}

#thera-video-plan {
    background-color: #F2B40C;
    background-image: url("/images/video-background.png");
}

.thera-plan-name {
    font-weight: normal;
    font-size: calc(18px + (26 - 18) * ((100vw - 300px) / (1600 - 300)));
	text-align: center;
    line-height: unset;
}

.thera-plan-descr {
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1600 - 300)));
	margin-top: 15px;
}

.thera-plan-price {
    font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1600 - 300)));
    margin-top: -20px;
}

.thera-plan-btn {
    margin-bottom: 10px;
    margin-top: 25px;
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 5px;
    color: black;
    cursor: pointer;
}

#thera-video-plan .thera-plan-btn {
    width: 90%;
}

#thera-schedule-container {
    margin-top: 9px;
    height: 100%;
    border-left: 1px solid lightgrey;
    padding-left: 15px;
    
}

.thera-sched-header {
    color: darkslategrey;
    font-size: 12px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.thera-specialties {
    display:flex;
    flex-wrap: wrap;
}

.thera-specialty {
    min-height: 30px;
    width: max-content;
    padding-left: 10px;
    padding-right: 10px;
    display:flex;
    align-items: center;
    justify-content: center;
    color: grey;
    border: 1px solid grey;
    border-radius: 20px;
    margin: 2px 2px 2px 0;
}

.thera-date {
    margin-bottom: 20px;
}

.thera-day {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.thera-timeList {
    display: flex;
    flex-wrap: wrap;
}

.thera-time {
    height: 55px;
    width: calc(80px + (95 - 80) * ((100vw - 300px) / (1600 - 300)));
    display:flex;
    align-items: center;
    justify-content: center;
    background-color: #0D59F2;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    margin-right: 5px;
    margin-top: 5px;
}
.thera-time:hover {
  color: white;
  text-decoration: none;
}
.app-links {
  margin-top: -50px;
}
.app-links img {
  width: 180px;
}
.about-page {
  padding: 0 15%;
  display: flex;
  flex-direction: column;
}
.about-page h1 {
  margin-bottom: 50px;
  color: #0D59F2;
  text-align: center;
}
.about-page h2 {
  font-size: 32px;
}
.about-text {
  padding: 20px 20px 50px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: center;
}

.justify-center {
  justify-content: center;
}

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

.cta-container {
  width: 55%;
  display: block;
  margin: auto;
}
.cta {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  justify-content: space-around;
  align-items: center;
  margin: 50px auto;
  box-shadow: 3px 3px 3px grey;
}

.cta h3 {
  font-size: 3rem;
  padding: 20px;
  color: black;
}

.blog-cta-img {
  width: 100px;
}

.cta-btn {
  background-color: #0D59F2;
  color: white;
  border-radius: 5px;
  min-width: max-content;
  padding: 20px;
  box-shadow: 2px 2px 2px grey;
  font-size: 2rem;
}

@media (min-width: 1720px) {
    body {
        font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
    }

    #thera-col-1 {
        flex: 2;
        max-width: 520px;
    }
    
    #thera-col-1-inner {
        margin-left: calc(5px + (65 - 5) * ((100vw - 300px) / (1600 - 300)));
    }

    #thera-col-2 {
        flex: 3;
    }
    
    #thera-col-3 {
        flex: 2;
    }

    .thera-therapist-display {
        width: calc(340px + (390 - 340) * ((100vw - 300px) / (1600 - 300)));
    }

    .thera-therapist-display img {
        height: 90px;
        margin-left: 5px;
    }

    .thera-therapist-data {
        font-size: calc(12px + (15 - 12) * ((100vw - 300px) / (1600 - 300)));
    }

    .thera-therapist-name {
       font-size: calc(16px + (19 - 16) * ((100vw - 300px) / (1600 - 300)));
    }

    .thera-triangle {
        width: calc(100px + (150 - 100) * ((100vw - 300px) / (1600 - 300)));
        height: calc(100px + (150 - 100) * ((100vw - 300px) / (1600 - 300)));
        position: relative;
    }
      
    .thera-triangle:after {
        width: calc(50px + (75 - 50) * ((100vw - 300px) / (1600 - 300)));
        height: calc(50px + (75 - 50) * ((100vw - 300px) / (1600 - 300)));
        top: calc(25px + (37.5 - 25) * ((100vw - 300px) / (1600 - 300)));
        right: calc(75px + (112.5 - 75) * ((100vw - 300px) / (1600 - 300)));
    }

    .thera-time {
        height: calc(50px + (65 - 50) * ((100vw - 300px) / (1600 - 300)));
        width: calc(100px + (110 - 100) * ((100vw - 300px) / (1600 - 300)));;
    }
}

@media (max-width: 1505px) {
    body {
        font-size: calc(15px + (18 - 15) * ((100vw - 300px) / (1600 - 300)));
    }

    #thera-body-container {
        justify-content: space-evenly;
    }
    #thera-col-1-inner {
        margin-left: 40px;
    }
    
    #thera-plan-types {
        justify-content: space-evenly;
    }    

    .thera-plan {
        height: calc(450px + (500 - 450) * ((100vw - 300px) / (1600 - 300)));
        width: calc(400px + (500 - 400) * ((100vw - 300px) / (1600 - 300)));
    }

    .thera-therapist-display {
    	width: calc(280px + (320 - 280) * ((100vw - 300px) / (1600 - 300)));
    }
}

@media (max-width: 1205px) {
	#thera-col-1 {
		order: 2;
		margin-bottom: 50px;
	}

	#thera-col-1-inner {
		border: none;
	}

	#thera-col-2 {
		order: 1;
		max-width: 80%;
	}

	#thera-intro-pic {
		display: none;
	}

	#spec-right {
		display: none;
	}

	#spec-below {
		display: initial;
	}

	#thera-col-2 .thera-therapist-display {
        display: inherit;
		margin: 25px;
		align-self: flex-start;
	}

	.thera-spec-hidden {
		display: flex;
        width: 100%;
	}

	.thera-spec-list {
		display: flex;
		flex-direction: column;
		margin: 0 0 30px 10px;		
	}

	#thera-plan-types {
		margin-bottom: 50px;
	}

	#thera-col-3 {
		display: none;
	}
}

@media (max-width: 1100px) {
    body {
        font-size: calc(15px + (18 - 15) * ((100vw - 300px) / (1600 - 300)));
    }

    #thera-col-1 {
        order: 2;
    }

    #thera-col-2 {
        flex: auto;
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
s		order: 1;        
    }

    #thera-col-3 {
        display: none;
    }

    #thera-schedule-container {
        margin-top: 9px;
        height: 100%;
        border-left: none;
        padding-left: 15px;
    }
}

@media (max-width: 950px) {
  .cta {
    flex-direction: column;
    height: 300px
  }
  .cta h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 599px) {
	#body-container {
		padding-left: 0;
	}
	#thera-col-2 .thera-therapist-display {
		margin: 0 0 25px 10px;
		align-self: unset;
	}

    #thera-plan-types {
        flex-direction: column;
        align-items: center;
    }

    #thera-message-plan { 
        margin-right: 0;
        margin-bottom: 15px;
    }  

    #thera-col-2 {
        padding-right: 25px;
        max-width: unset;
    }

    #thera-col-3 {
        padding-right: 25px;
    }
    .about-page {
      padding: 0 5%;
    }
    .about-page h2 {
      font-size: 28px;
    }
    .about-text {
      padding: 20px 20px 50px;
    }
}

@media (max-width: 450px) {
	#thera-col-1 {
	  margin-bottom: 0;
	}   
  
	#thera-col-1-inner {
	  margin-left: 0;
	} 
    #thera-col-2 {
       padding: 0 5px 0 0;
    }
	.thera-therapist-display {
        width: calc(300px + (320 - 300) * ((100vw - 300px) / (1600 - 300)));
    }
	.thera-plan {
         height: 500px;
         width: calc(300px + (500 - 300) * ((100vw - 300px) / (1600 - 300)));
    }	
    .thera-plan-btn {
        font-size: 14px;
    }

    #thera-col-3 {
        padding-left: 5px;
	}
    .thera-specialty {
      height: unset;
      width: unset;
    }
}

@media (max-width: 310px) {
   #thera-col-2 {
    padding: 0;
    max-width: 275px;
  }
  .thera-therapist-display {
    width: 265px;
  }
  #thera-plan-types {
    max-width: unset;
    margin: 0;
  }
  .thera-plan {
    width: 265px;
  }
}

/* Payer Rates section */
.payer-rate-table {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.payer-rate-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.payer-rate-table tbody tr:hover {
  background: #eef3fb;
}
@media (max-width: 640px) {
  .payer-rate-table thead {
    display: none;
  }
  .payer-rate-table,
  .payer-rate-table tbody,
  .payer-rate-table tr,
  .payer-rate-table td {
    display: block;
    width: 100%;
  }
  .payer-rate-table tr {
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    padding: 8px;
  }
  .payer-rate-table td {
    text-align: right !important;
    border: none;
    padding: 6px 8px !important;
  }
  .payer-rate-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
  }
}
