@font-face {
    font-family: Merriweather;
    src: url(../fonts/Merriweather-Regular.ttf);
}

body {
    font-family: Times, serif;
    color: #333333;
    font-size: 1em;
}

header {
    box-shadow: 0 0.125em 0.25em 0 rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1000px;
    margin: auto;
}

.header-container {
    display: flex;
    align-items: center;
    padding: 1em;
}

.header-container img {
    max-width: 100%;
}

.see-other-iq {
    text-decoration: none;
    font-size: 2.25em;
    color: #A51C30;
    font-family: Arial, Helvetica, sans-serif;
}
a, .link-btn {
    text-decoration: none;
    color: #A51C30;
    font-family: Arial, Helvetica, sans-serif;
}
.btn:focus {
    box-shadow: none;
}

a:hover,
a:active,
a:focus {
    color: #640411;
}

ul {
    list-style: none;
    padding: 0;
}

ul li,
ol li {
    margin: 1em 0;
}

.home-main {
    display: flex;
    flex-wrap: wrap;
}

.home-main nav {
    flex: 20%;
}

.home-content {
    flex: 60%;
    display: flex;
    flex-wrap: wrap;
}

.area {
    display: flex;
    border: 1px solid #bdbdbd;
    padding: 1.25em 1em;
    align-items: center;
    margin: 0.5em;
    font-size: 0.875em;
    flex: 174px;
}

.area p {
    margin: 0 0 0 1em;
    color: #333333;
    font-family: Times, serif;
    font-size: 1em;
}

.right-nav {
    display: flex;
    justify-content: center;
}

.search-form {
    display: flex;
    align-items: center;
}

input {
    border: 1px solid #BDBDBD;
    font-size: 0.875em;
    padding: 0.625em 1em;
}

.search-form [type=search] {
    width: 79%;
    margin: 0 0.625em 0 0;
}

.border-btn {
    background: transparent;
    color: #A51C30;
    border: 1px solid #A51C30;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 3px;
}

.border-btn:hover {
    background: rgba(212,25,52,0.05);
}

.search-form [type=submit] {
    width: 20%;
    padding: 0.625em;
}

section {
    margin: 2.5em 0;
}

.uoa {
    width: 1.875em;
}

footer {
    background: #333333;
    color: #bdbdbd;
    font-size: 14px;
    padding: 5em 1em 0;
    font-family: Arial, Helvetica, sans-serif;
}

.main-nav {
    background: #F3F3F1;
    padding: 0.4375em 0 0.1875em;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
}

.main-nav a {
    font-family: Times, serif;
    font-size: 1em;
}

.overview-title a {
    color: #333333;
}

.title {
    font-size: 2.25em;
    color: #4f4f4f;
}

.sans-serif-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.25em;
    font-weight: bold;
    color: #4f4f4f;
}

.highlight {
    background: #A51C30;
    margin: 3.75em 0 0;
    color: white;
    padding: 4.375em 0;
}

.highlight-content {
    display: flex;
    align-items: center;
}

.subtitle {
    font-size: 1.5em;
    font-family: Times, serif;
}

.label {
    font-size: 0.875em;
    opacity: 0.5;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
}

.white-link:hover {
    color: white;
}

.navbar-brand {
    display: none;
}

.main-nav .navbar-nav {
    justify-content: space-between;
    width: 100%;
}

.navbar-nav li {
    margin: 0;
}

.menu-line {
    height: 3px;
    width: 20px;
    background: black;
    margin: 3px 0;
}

.main-nav img {
    width: 1.875em;
}

button:focus,
button:active {
    outline: none;
}

.navbar-toggler {
    padding: 0;
}

.alphabet {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    margin: 3.75em 0;
}

.link {
    text-decoration: underline;
    font-family: Times, serif;
    margin: 0 1.875em 0 0;
    font-size: 1em;
}

ol {
    padding: 0 1em;
}

.letter {
    font-size: 2.25em;
    color: #A51C30;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

a.button-see-more {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    background: #A51C30;
    padding: 15px 30px;
    border-radius: 5px
}
.test-now {
    margin-top: 35px;
}

.bordered-section .container {
    border-top: 1px solid #bdbdbd;
    padding: 3.75em 1em 0;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 4.25em;
    right: 1.875em;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
}

#back-to-top:hover {
    opacity: 0.5;
}

.inform {
    background: #C3D7A4;
    padding: 9.375em 0;
    margin: 3.75em 0 0;
    text-align: center;
}

.footer-title {
    font-size: 2.25em;
    text-transform: uppercase;
    font-family: Times, serif;
    font-weight: bold;
}

footer a {
    color: #bdbdbd;
}

footer a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #bdbdbd;
    padding: 1em 0;
    margin: 3.75em 0 0;
    text-align: center;
}

.amsterdam-img {
    margin: 1.875em 0;
}

input:focus {
    outline: none;
}

.amsterdam-content {
    margin: 3.75em -1em 0;
}

.categories {
    -webkit-column-count: 6;
    -moz-column-count: 6;
    column-count: 6;
}

.categories a {
    display: block;
    padding: 0.5em 0;
}

.toc-menu {
    border: 1px solid #bdbdbd;
    background: #F3F3F1;
    padding: 10px 10px 0;
    margin: 0px auto;
    border-radius: 4px;
    position: relative;
}

.toc-menu .toggle-control {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1rem;
}

.toc-menu a[aria-expanded=false] .pull-right img {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.toc-menu a[aria-expanded=true] .fa-chevron-right {
    display: none;
}
.toc-menu a[aria-expanded=false] .fa-chevron-down {
    display: none;
}

.sans-serif {
    font-family: Times, serif;
    font-size: 1em;
}

.darkgrey {
    color: #4F4F4F;
}

.red {
    color: #A51C30;
}
.no-underline-hover:hover {
    text-decoration: none;
    opacity: 0.8;
    transition: 0.5s;
}
.famous-people-img {
    width: 100%;
    height: 130px;
}
.famous-people-content {
    margin: 50px -15px 0;
}
.content-inside .breadcrumb {
    background: transparent;
    padding: 0;
}
.border-top {
    border-top: 1px solid #bdbdbd;
}

.maybe {
    margin: 3.75em 0 0;
    padding: 3.75em 0 0;
}
.famous-people-info .famous-people-img {
    height: 300px;
    margin: 0 0 20px;
}


.content-inside .breadcrumb li {
    margin: 0;
}
.content-inside .breadcrumb li:last-child {
    font-family: Arial, Helvetica, sans-serif;
}
.disc-list {
    list-style: disc;
    padding: 0 0 0 15px;
}

.table .thead-light th {
    color: #A51C30;
    background-color: #F3F3F1;
    border-color: #F3F3F1;
}
.flex1 {
    flex: 1;
}

.height-210 {
    height: 210px;
}

.red-btn {
    color: #fff;
    background: #A51C30;
    padding: 15px 40px;
    border-radius: 5px;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
}

.red-btn:hover {
    color: white;
    text-decoration: none;
    background: #7A0012;
    transition: 0.5s;
}

h2 {
    margin-bottom: 1rem;
}

.person-icon {
    width: 30px;
    height: 30px;
}

.vertical-align-middle {
    vertical-align: middle;
}

.modal-dialog {
    max-width: 1000px;
}

.modal-header, .modal-footer {
    border: none;
}

#selectPersonModal .col-6, #selectPersonIQModal .col-6 {
    opacity: 0.5;
    position: relative;
}

#selectPersonModal .col-6.active,
#selectPersonModal .col-6:hover,
#selectPersonModal .col-6:hover .famous-people-img,
#selectPersonModal .col-6.active:hover {
    opacity: 1;
    cursor: pointer;
    transition: 0.5s;
}

#selectPersonIQModal .col-6.active,
#selectPersonIQModal .col-6:hover,
#selectPersonIQModal .col-6:hover .famous-people-img,
#selectPersonIQModal .col-6.active:hover {
    opacity: 1;
    cursor: pointer;
    transition: 0.5s;
}

#selectPersonModal.show, #selectPersonIQModal.show {
    display: flex !important;
}

.modal-body {
    overflow: scroll;
}

#selectPersonModal .col-6.active::before {
    content: url(../images/active.svg);
    position: absolute;
    top: 8px;
    right: 22px;
}
#selectPersonIQModal .col-6.active::before {
    content: url(../images/active.svg);
    position: absolute;
    top: 8px;
    right: 22px;
}

.active::before {
    content: url(../images/active.svg);
}

#game-result {
    display: none;
}

.axis {
    width: 8px;
    height: 70px;
    background: #A51C30;
    position: relative;
}
.axis-right {
    position: relative;
    left: 22px;
}

.axis-right .axis {
    right: -1px;
}

.axis-right .red {
    width: 30px;
    margin: 0 20px 0 0;
}

.axis-left {
    position: relative;
    right: 34px;
}

.axis-left svg {
    position: relative;
    left: 1.5px;
}

.axis-left .red {
    width: 30px;
    margin: 0 0 0 20px;
}

.axis-left .pos-rel {
}

.famous-person-ava {
    width: 45px;
    height: 45px;
    /*background: url(../images/celeb-img.jpg) center;*/
    border-radius: 25px;
    /*background-size: cover;*/
}

.axis-right .famous-person-ava {
    right: 12px;
    top: 12px;
}

.axis-left .famous-person-ava {
    left: 12px;
    top: 12px;
}

.pos-rel {
    position: relative;
}

.pos-abs {
    position: absolute;
}

.axis-top .axis {
    border-radius: 5px 5px 0 0;
    right: 4.5px;
    height: 30px;
}

.axis-bottom .axis {
    border-radius: 0 0 5px 5px;
    right: 4.5px;
    height: 30px;
}

.overflow-hidden {
    overflow: hidden;
}
.dropdown-menu {
    font-size: 0.875em;
}
#mbti-dropdown {
    width: 500px;
    left: auto !important;
    right: 0;
    top: 30px !important;
    transform: none !important;
}
.gradient-green {
    background: #65437A;
}
.gradient-yellow {
    background: #37875B;
}
.gradient-purple {
    background: #3D7B97;
}
.gradient-red {
    background: #A51C30;
}
.type {
    padding: 5px 10px 0;
    color: white;
    transition: 0.5s;
    margin: 0 10px 15px 0;
}
.type p {
    margin: 0;
}
.d-flex a:last-child .type {
    margin: 0 0 15px 0;
}
#sidebar-btn {
    background: transparent;
}
#mbti-dropdown a:hover {
    text-decoration: none;
    opacity: 0.8;
    transition: 1s;
}

@media screen and (max-width: 767px) {
    section {
        margin: 1.875em 0;
    }
    section ul {
        padding-left: 1.875em;
    }

    .navbar-brand {
        display: block;
    }

    .header-container {
        display: none;
    }

    .main-nav {
        padding: 0.4375em 1em 0.1875em;
    }

    .bordered-section .container {
        padding: 1.875em 1em 0;
    }

    .inform {
        padding: 3.75em 0;
    }

    footer {
        padding: 2.8125em 0.2em 0;
    }
    .copyright {
        margin: 1.875em 0 0;
    }

    .alphabet {
        margin: 1.875em 0;
        flex-wrap: wrap;
    }

    .alphabet a {
        padding: 1.25em;
    }

    .amsterdam-img {
        margin: 1em 0;
    }

    .title {
        font-size: 1.5em;
    }

    .sans-serif-title {
        font-size: 1.5em;
    }

    .subtitle {
        font-size: 1.125em;
    }
    
    .letter {
        font-size: 1.5em;
    }
    .amsterdam-content {
        margin: 1.875em -1em 0;
    }
    .categories {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
    .famous-people-content {
        margin: 20px -15px 0;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.3em;
    }
    h4 {
        font-size: 1.2em;
    }
    #mbti-dropdown {
        width: 360px;
    }
    #mbti-dropdown .d-flex {
        flex-wrap: wrap;
    }
    #mbti-dropdown .d-flex a {
        width: 50%;
    }
    #mbti-dropdown .type {
        margin: 0 10px 10px 0;
    }
    .height-210 {
        height: 120px;
    }
}

@media screen and (max-width: 600px) {
    .home-content,
    .home-main nav {
        flex: 100%;
    }
    .home-main nav {
        justify-content: center;
        display: flex;
        text-align: center;
    }
    .search-form [type=search] {
        width: 50%;
    }

    .search-form [type=submit] {
        width: 47%;
    }
    section ul {
        padding-left: 1.475em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.3em;
    }
    h4 {
        font-size: 1.2em;
    }
    #sidebar {
        display: none;
    }
}

@media screen and (max-width: 575px) {
    .highlight img {
        margin: 0 0 1.875em;
    }
    section ul {
        padding-left: 1.475em;
    }
    .highlight {
        padding: 2.8125em 0 1.25em;
        margin: 1.875em 0 0;
    }

    .blog-img {
        margin: 1.875em 0 0;
    }
    h2 {
        font-size: 1.4em;
    }
    h3 {
        font-size: 1.25em;
    }

    h4 {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 320px) {
    .search-form [type=search] {
        width: 100%;
        margin: 0 0 1em;
    }

    .search-form [type=submit] {
        width: 100%;
    }

    .search-form {
        flex-wrap: wrap;
    }

    .famous-people-content .col-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
