/* baloo-2-regular - latin */
@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/baloo-2-v1-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Baloo 2 Regular'), local('Baloo2-Regular'),
        url('fonts/baloo-2-v1-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/baloo-2-v1-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('fonts/baloo-2-v1-latin-regular.woff') format('woff'), /* Modern Browsers */
        url('fonts/baloo-2-v1-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('fonts/baloo-2-v1-latin-regular.svg#Baloo2') format('svg'); /* Legacy iOS */
    font-display: fallback;
}

body {
    background-color: #FFFFFF;
    //background-color: #222222;
    color: #222D8F;
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
}

.navbar-dark, .navbar-nav li a, .navbar-header .navbar-brand {
    background-color: #FFFFFF;
    //background-color: #222222;
    color: #222D8F;
    font-size: 1rem;
}

.text-right .navbar-toggler {
    background-color: #222D8F;
}

#my_title, #my_name {
    background-color: #222D8F;
    color: #FFFFFF;
}

#my_descriptions, #my_tutorials {
    color: #222D8F;
    width: 100%;
    height: auto;
    margin: auto;
}

#my_descriptions div, #my_tutorials div {
    margin: 10px;
    text-align: justify;
    height: auto;
}

#my_tutorials img {
    max-width: 100%;
}

h1 {
    margin: 0px;
}

h3 {
    margin-block-start: 0.5em;
    margin-block-end: 0px;
}

hr {
    margin: 0px 0px 1em 0px;
    border-top-width: 3px;
    border-top-style: solid;
    border-top-color: #222D8F;
    width: 800px;
    justify-content: center!important;
}

input, select {
    background-color: #4B59DB;
    border-color: #090F42;
    color: #FFFFFF;
}

.submit {
    background-color: #222D8F;
    border-color: #222D8F;
    color: #FFFFFF;
}

.flex-grow-1{
    padding: 0px;
}

.dark-blue-text {
color: #0A38F5;
}

td, th {
    padding: 1px 4px;
}

/* Udemy Container fix for project 4 */
.container2 {
    margin: 25px 250px 25px 250px;

}

/* d3 tooltip */
.d3-tip {
    line-height: 1;
    //font-weight: bold;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 2px;
    pointer-events: none;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    pointer-events: none;
}

/* Northward tooltips */
.d3-tip.n:after {
    content: "\25BC";
    margin: -1px 0 0 0;
    top: 100%;
    left: 0;
    text-align: center;
}

/* Eastward tooltips */
.d3-tip.e:after {
    content: "\25C0";
    margin: -4px 0 0 0;
    top: 50%;
    left: -8px;
}

/* Southward tooltips */
.d3-tip.s:after {
    content: "\25B2";
    margin: 0 0 1px 0;
    top: -8px;
    left: 0;
    text-align: center;
}

/* Westward tooltips */
.d3-tip.w:after {
    content: "\25B6";
    margin: -4px 0 0 -1px;
    top: 50%;
    left: 100%;
}

/* footer line */
hr.footer {
    margin: 0px;
    border-top-width: 10px;
    border-top-style: solid;
    border-top-color: #222D8F;
    width: 100%;
}

/* footer background */
footer {
    background-color: #DDDDDD;
}

/* LOADER (spinner) */
#loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
