/* General layout and styling */ 
* {
    font-family: 'Roboto';
}

:root {
    --main-blue: rgb(16, 28, 78);
}
body {
    top: 0px;
    margin: 0px;
    left: 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
    min-width: 350px;
    overflow-x: scroll;
}
.page {
    width: 100%;
    max-width: 1400px;
    margin-bottom: 10px;
}
.no-height {
    height: 0px;
    position: absolute;
}
.copyright {
    height: 20px;
    margin: 5px 0px 10px 0px;
    color: rgba(128, 128, 128, 0.719);
    text-align: center;
    font-size: 14px;
    position: absolute;
}

text {
    cursor: pointer;
}

img {
    font-size: 12px;
}

.header {
    border: solid 0px var(--main-blue);
    background-color: var(--main-blue);
    overflow: hidden;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
    padding: 0px 10px 0px 10px;
    width: calc(100% - 20px);
    color: white;
    font-size: 20px;
}
.user-options {
    width: default;
}
h1 {
    text-align:  center;
    color: white;
    font-family: PT serif;
    font-size: 36px;
}

.main-description-container {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    min-height: 30px;
    color: rgb(177, 177, 177);
    line-height: 30px;
    width: 75%;
    margin: auto;
    border-top: 1px solid rgb(177, 177, 177);
    border-bottom: 1px solid rgb(177, 177, 177);

}

.main-description {
    font-size: 17px;
    font-family: 'Roboto';

}

.controls {
    margin: 20px 0px 0px 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.user-input {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: left;
    flex-direction: column;
    margin-top: 10px;
}

.user-input__form-group {
    display: inline-block;
}

.buttons {
    display: flex;
    flex-flow: row wrap;
}

.button {
    background-color: rgb(170, 170, 170);
    color: black;
    padding: 15px;
    font-size: 16px;
    
    font-family: 'Roboto';
    cursor: pointer;
    transition-duration: .2s;
    border-radius: 20px;
    margin: 6px 4px 0px 0px;
    border: solid 1px gray;

    position: relative;
    overflow: hidden;
}

.user-options .button {
    margin: 0;
}

.buttons .button {
    width: 210px;
    height: 20px;
}

.button .title {
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
     
    transition-duration: 600ms;
    position: absolute;
    text-align: center;
}

.control-button {
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.control-button .description {
    position: absolute;
    left: -130px;
    top: 1px;
    width: 100px;
    height: 100px;
    background-color: rgb(240, 232, 232);
    transition: 0.1s;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    font-size: 12px;
}

.selected .description {
    background-color: rgb(233, 218, 173);
}

.vertical-tabs .selected:hover {
    background-color: rgb(233, 218, 173);
}

.control-button:hover .description {
    transition: .1s;
    left: -3px;
}

.author-select {
    font-size: 16px;
    cursor: pointer;
    padding: 15px;
}

.wordparts-select {
    cursor: pointer;
}

.label {
    color: black;
    font-family: 'Roboto';
    font-size: 16px;
}

.range-words-label {
    margin-left: 0px;
    padding: 0px;
}

.graph-tools-bar {
    height: 650px;
    padding: 10px;
    width: 350px;
    min-width: 350px;
    border-radius: 5px;
    background-color: rgb(207, 210, 220, .5);   
    overflow-y: scroll;
}

.graph-tools-bar::-webkit-scrollbar {
    width: 10px;
    border-radius: 5px;
  }
  
  /* Track */
  .graph-tools-bar::-webkit-scrollbar-track {
    background-color: #DADBE0;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
  }
   
  /* Handle */
  .graph-tools-bar::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 5px;
  }
  
  /* Handle on hover */
  .graph-tools-bar::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

.graph-speaker-container {
    display: flex;
    flex-flow: row wrap;

    justify-content: flex-start;

    align-items: center;

}
.graph-speaker-image {
    background-color: white;
    margin-right: 10px;
    height: 100px;
    width: 100px;
    overflow: hidden;
    border-radius: 50px;
    text-align: center;
    position: relative;

}
.graph-speaker-image::after {
    content: "No image";
    position: absolute;
    top: 40%;
    left: 10%;
    color: red;
    z-index: -1;
}
.graph-info {
    margin-top: 5px;
    height: 80%;
}
.graph-info-item {
    border: solid 1px gray;
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
    box-shadow: 0 6px 5px 0 rgba(0, 0, 0, 0.2);
    padding: 5px;
    position: relative;
    margin-bottom: 10px;
}

.graph-info-title {
    font-family: 'Roboto';
}
.graph-info-subtitle {
    font-family: 'Roboto';
    font-weight: bolder;
    color: rgb(131, 131, 131);
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 2px;
}

.graph-stat:hover .graph-info-subtitle {
    color: rgb(100, 100, 100);
}

.graph-stat {
    font-family: 'Roboto';
    margin: 3px 0px 0px 0px;
}
.graph-stat .description {
    font-size: 12px;
    color: var(--main-blue);
    margin-bottom: 3px;
}
.range-type {
    display: flex;
    flex-flow: row wrap;
}
.range-select-item {
    border: solid 1px gray;
    border-radius: 3px;
    padding: 1px;
    font-size: 14px;
    margin: 2px 1px 0px 0px;
    transition-duration: .2s;
}
.range-select-item:hover {
    background-color: rgb(230, 230, 230);
    cursor: pointer;
}
.range-selected {
    background-color: lightgray;
}
.range-selected:hover {
    cursor: default;
}
#range-description {
    font-size: 12px;
    padding: 2px;
}
#range-max {
    margin-top: 10px;
}

.filter-item {
    margin-bottom: 10px;
}
.group-select-container {
    display: flex;
    flex-flow: row wrap;
}
.group-select-item {
    border: solid 1px gray;
    border-radius: 3px;
    padding: 1px;
    font-size: 14px;
    margin: 2px 1px 0px 0px;
    transition-duration: .2s;
}
.group-select-item:hover {
    opacity: .9;
    cursor: pointer;
}
.group-select-item-selected {
    background-color: lightskyblue;
}

.unique-button {
    border: solid 1px gray;
    border-radius: 3px;
    padding: 1px;
    font-size: 14px;
    margin: 2px 1px 0px 0px;
    transition-duration: .2s;
}
.unique-button:hover {
    cursor: pointer;
}
.unique-on {
    background-color: lightgray;
}
.unique-off {
    background-color: white;
}

.user-input {
    padding: 5px;
}
.user-parameters {
    font-family: 'Roboto';
    display: flex;
    flex-flow: column;
    width: 100% !important;
}

.graph {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: left;
    -ms-flex-pack: left;
    justify-content: left;
    height: fit-content;
    /* width: 100%; */
    padding: 10px;
    background-color: rgb(230, 230, 230);
    border-radius: 10px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.graph--zero-state {
    -webkit-box-align: center !important;
        -ms-flex-align: center !important;
            align-items: center !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: row !important;
            flex-direction: row !important;
}

.graph-display {
    height: 650px;
    flex-grow: 1;
    /* width: 250px; */
    margin: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;   
    transition: background-color 500ms linear;
    position: relative;
}

.graph-title{
    font-size: 24px;
    width: fit-content;
    max-width: 200px;
    font-family: PT serif;
}

.svg-graph {
    height: 100%;
    width: 100%;
}

.drilldown-verse {
    position: absolute;
    animation: fade-in-delay 800ms forwards;
    width: 450px;
    max-height: 250px;
    text-align: justify;
    overflow-y: auto;
    /* height: 100%; */
}

@keyframes fade-in-delay {
    0% {
        opacity: 0%;
        transform: translateY(5px);
    }
    40% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

#check-animate {
    position: absolute;
    width: 80px;
    left: calc(100% - 90px);
    height: 16px;

    border: solid 1px gray;
    border-radius: 3px;
    padding: 1px;
    font-size: 14px;
    margin: 2px 1px 0px 0px;
    cursor: pointer;
    transition-duration: 500ms;
}
.animate-text-on, .animate-text-off{
    transition-duration: 500ms;
    backface-visibility: hidden;
    transform: rotateX(0deg);
    position: absolute;
    top: 0px;
    left: 3px;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}
.animate-on {
    background-color: lightgray;
}
.animate-off {
    background-color: white;
}
.animate-on .animate-text-on {
    transform: rotateX(0deg);
}
.animate-off .animate-text-on {
    transform: rotateX(180deg);
}
.animate-on .animate-text-off {
    transform: rotateX(180deg);
}
.animate-off .animate-text-off {
    transform: rotateX(360deg);
}

/* Classes for legend - same color scheme */
.graph-legend {
    height: fit-content;
    display: flex;
    flex-flow: column;
    width: 140px;
    min-width: 140px;
    align-self: center;
}

.legend-item {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: row;
    margin: 8px 0px 0px 0px;
}
.legend-name {
    align-self: center;
    width: 50px;
}
.legend-color-box {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: solid 1px black;
    
}

.tabs-display-holder {
    display: flex;
    flex-direction: row;
    /* height: 100%; */
    height: 650px;
    justify-content: flex-start;
    align-items: flex-start;
}

.vertical-tabs {
    width: 120px;
    min-width: 120px;
    height: 400px;
    align-self: start;
    padding-left: 10px;
}

.vertical-tabs .button {
    border-radius: 0;
    background-color: white;
    height: 100px;
    padding: 0;
    display: flex;
    align-items: center;
}

.vertical-tabs .button p {
    margin: 15px;
    text-align: center;
    vertical-align: middle;
}

.vertical-tabs .selected {
    background-color: rgb(233, 218, 173);
}

.button:hover {
    background-color: rgb(240, 232, 232);
}

/*
* Tooltip and bubble text
*/ 

.tooltip {	
    position: absolute;			
    text-align: center;			
    width: auto;										
    padding: 10px;				
    font-family: 'Roboto';
    background: rgb(40, 39, 39);
    border-radius: 8px;			
    pointer-events: none;	
    color: white;
    font-size: 16px;		
    opacity: 0;
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
    left: 0;
    top: 0;
}

.tooltip--visible {
    opacity: .9;
}

.bubble-text, .bubble-text--drilldown {
    fill: rgb(29, 29, 29);
    font-weight: 300;
    font-size: 14px;
    font-family: 'Roboto';
    cursor: pointer;
 }
 .bubble-text--drilldown {
     fill: black;
 }

.bubble-title{
    font-weight: 700;
    margin-bottom: 3px;
}

.bubble-text--drilldown {
    font-size: 30px;
}
 
.bubble-text--drilldown>.bubble-title {
     font-size: 34px;
}
 
 .bubble-hover {
    stroke: rgb(59, 59, 59) !important;
    opacity: .8 !important;
}

 .read-more {
     fill: black;
 }
 
 .read-more:hover {
     fill: rgb(74, 74, 74);
     text-decoration: underline;
 }


/* 
* Colors for parts of speech/themes - bubbles
*/

.bubble {
    fill: url(#MyGradient) #fff !important;
}

#MyGradient {
    --color-stop: #fff;
    --color-bot: #000;
}

#radial-grad {
    --color-stop: #f12c06;
    --color-bot: #faed34;
}

.noun, .adjective, .verb, .adverb, .preposition, .conjunction, .article, .pronoun, .auxiliary-verb, .sacred, .non-sacred, .function, .transition, .miscellaneous  {
    -webkit-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
    cursor: pointer;
    opacity: 1;
    stroke: rgb(97, 97, 97, 0.3);

    filter: drop-shadow( 2px 2px 1px rgba(0, 0, 0, .4));

}

.preposition, .war {
    fill: rgb(238, 119, 51);
    fill: rgb(255, 157, 100);
    fill: url(#fill1);
}


.verb, .plan-of-salvation {
    fill: rgb(136, 204, 238);
    
    fill: rgb(109, 179, 211);
    fill: url(#fill2);
}

.adverb, .function {
    fill: rgb(187, 187, 187);
    fill: rgb(172, 172, 172);
    fill: url(#fill3);
}

.conjunction, .sacred {
    fill: rgb(68, 170, 153);
    fill: rgb(66, 137, 126);
    fill: url(#fill4);
}

.noun, .non-sacred {
    fill: rgb(247, 175, 175);
    fill: rgb(255, 218, 218);
    fill: url(#fill5);
}

.adjective, .transition {
    fill: rgb(152, 220, 148);
    fill: rgb(123, 208, 120);
    fill: url(#fill6);
}

.article, .teaching {
    fill: white;
    fill: rgb(201, 201, 201);
    fill: url(#fill7);
} 

.pronoun, .miscellaneous {
    fill: rgb(238, 204, 102);
    fill: rgb(250, 228, 162);
    fill: url(#fill8);
} 

.auxiliary-verb, .history {
    fill: lightgray;
    fill: rgb(181, 181, 181);
    fill: url(#fill9);
        
}

.love {
    fill: rgb(195, 155, 119);
    fill: rgb(181, 129, 83);
    fill: url(#fill10);
}

/* Colors for the legend */

.preposition-legend, .war-legend {
    background-color: rgb(238, 119, 51);
}

.verb-legend, .plan-of-salvation-legend {
    background-color: rgb(136, 204, 238);
}

.adverb-legend, .function-legend {
    background-color: rgb(187, 187, 187);
}

.conjunction-legend, .sacred-legend {
    background-color: rgb(68, 170, 153);
}

.noun-legend, .non-sacred-legend {
    background-color: rgb(247, 175, 175);
}

.adjective-legend, .transition-legend {
    background-color: rgb(152, 220, 148);
}

.article-legend, .teaching-legend {
    background-color: white;
} 

.pronoun-legend, .miscellaneous-legend {
    background-color: rgb(238, 204, 102);
} 

.auxiliary-verb-legend, .history-legend {
    background-color: lightgray;
}

.love-legend {
    background-color: rgb(195, 155, 119);
}

/* Color schemes for the filter options */

.filter-unselcted {
    background-color: white;
    color: gray;
}

.preposition-filter, .war-filter {
    background-color: rgb(238, 119, 51);
}

.verb-filter, .plan-of-salvation-filter {
    background-color: rgb(136, 204, 238);
}

.adverb-filter, .locations-filter {
    background-color: rgb(187, 187, 187);
}

.conjunction-filter, .sacred-filter {
    background-color: rgb(68, 170, 153);
}

.noun-filter, .non-sacred-filter {
    background-color: rgb(247, 175, 175);
}

.adjective-filter, .transition-filter {
    background-color: rgb(152, 220, 148);
}

.article-filter, .teaching-filter {
    background-color: black;
    color: white;
} 

.pronoun-filter, .miscellaneous-filter {
    background-color: rgb(238, 204, 102);
} 

.auxiliary-verb-filter, .function-filter {
    background-color: rgb(196, 196, 196);
}

.love-filter {
    background-color: rgb(195, 155, 119);
}

.toolbar-header {
    padding: 10px 16px;
    background-color: rgb(236, 177, 0);
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.toolbar-header h4, .graph-stat h4  {
    margin: 0;
}

#filters .panel {
    font-size: 12px;
}

table {
    border-collapse: collapse; 
    margin-bottom: 5px;
}

.border-top {
    border-top: solid thin;
}

#apply-changes {
    display: none;
}

.home {
    position: absolute;
    top: 5px;
    left: 5px;
    opacity: 0.5;
}

.home:hover {
    opacity: 1;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* Styles for the accordion */
.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
  }

.accordion h3, .accordion h4 {
  display: inline-block;
  margin: 0;
}
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .accordion:hover {
    background-color: #ccc;
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    padding: 0 18px;
    background-color: white;
    /* display: none; */
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s ease-out;
  }


  .accordion::after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
  }
  
  .active::after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
  }

.panel input[type='checkbox'] {
  margin: 15px; 
  /* margin: 0; */
}

.panel input[type='number'] {
  width: 50px;
  margin:5px;
}

.panel .legend-color-box {
  display: inline-block;
  margin-left: 5px;
  border-color: rgb(211, 211, 211);
  border-radius: 25%;
}

/* word cameo styles
*/
.word-cameo {
    flex-grow: 1;
    align-self: stretch;
    background-color: #E9DAAD;
    margin-left: 10px;
    border-radius: 5px;
    padding: 15px;
}

.no-width {
    flex-grow: 0;
    width: 0;
    display: none;
}

.word-cameo header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    line-height: 50px;
    text-align: center;
    width: 100%;
}

.word-cameo header h2 {
    margin: 0;
}

.word-cameo header span {
    font-size: 30px;
    color: #777;
    float: right;
    margin-left: 5px;
}

.word-cameo header span:hover {
    color: black;
    cursor: pointer;
}

/* .search-box {
    padding-top: 20px;
    padding-bottom: 20px;
} */

/* .search-box p{
    margin: 0;
    font-style: italic;
}


.search-bar {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.search-bar input {
    padding: 10px;
    margin-top: 10px;
    flex-grow: 1;
} */

/* .all-scriptures, .search-box {
    border-top: 1px solid gray;
} */

.all-scriptures p:first-of-type {
    font-style: italic;
}

.all-scriptures {
    font-size: 20px;
}


.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    /* background: #2a2a2a; */
    /* background-color: #101C4E; */
    background-color: black;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider:hover {
    opacity: 1;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #EBB117;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #04AA6D;
    cursor: pointer;
  }

#slider-value {
    position: relative;
    top: 10px;
    display: inline-block;
    opacity: 0;
    transition: opacity 100ms linear;
    color: white;
    background-color: rgb(47, 47, 47);
    padding: 5px;
    border-radius: 2px;
}

.word-cameo hr {
    /* border-color: rgb(49, 49, 49); */
    opacity: 0;
    margin-top: 30px;
}

.other-speaker {
    /* color: rgb(54, 54, 54); */
    /* font-style: italic; */
    /* text-decoration: dashed; */
    border-bottom: 1px dotted rgb(0, 0, 0);
}

.other-speaker:hover {
    color: gray;
}

.explanation {
    font-style: italic;
    margin-top: 50px;
}

#ref {
    font-weight: bold;
    font-style: italic;
}