:root {
    --blue-dark: #1a3150;
    --blue-dark2: #283e5b;
    --blue-dark3: #6f8caa;
    --blue: #00b1ff;
    --grey-base: #f5f7f9;
    --grey-1: #90a6be;
    --grey-2: #e1e7ed;
    --green: #569819;
    --yellow: #FFD502;
}

* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--blue-dark);
    background-color: var(--grey-base);
}

body.home {
    background-color: #ffffff;
}

h1, h2 {
    font-weight: 700;
    font-style: italic;
}

h1 {
    display: block;
    padding: 0.25em 0.5em;
    margin-bottom: 0;
    line-height: 1em;
    color: #ffffff;
    border-left: 10px solid var(--blue);
    background-color: var(--blue-dark);
}

.home .main h1 {
    padding-left: 0;
    font-size: 3em;
    color: var(--blue);
    background-color: transparent;
    border-left: 0;
}

.home .main .content {
    padding-top: 5em;
    padding-bottom: 5em;
}

.home .main .content .up-text, .home .categories .content .up-text, .home .latest .content .up-text, .home .find .content .up-text {
    margin-bottom: 0.5em;
    color: var(--blue);
}

.home .main .content .title, .home .categories .content .title, .home .latest .content .title, .home .find .content .title {
    margin-bottom: 0.75em;
    font-size: 2.75em;
    font-weight: 700;
    line-height: 1.25em;
}

.home .main .content .slogan, .home .categories .content .slogan, .home .latest .content .slogan, .home .find .content .slogan, .home .category p {
    margin-bottom: 1.25em;
    font-size: 1.25em;
    line-height: 1.5em;
}

.home .main .image-container {
    text-align: center;
}

.home .main .image-container > img {
    display: inline-block;
    width: 100%;
    max-width: 670px;
}

.home section {
    padding-top: 4em;
    padding-bottom: 4em;
    margin-bottom: 0;
}

.home section.categories, .home section.find {
    background-color: var(--grey-base);
}

.home .category, .home section.find {
    text-align: center;
}

.home .category svg {
    display: inline-block;
    margin-bottom: 0.5em;
    height: 50px;
    fill: var(--blue);
}

.home .category a, .home .latest .article a {
    display: block;
    margin-bottom: 0.5em;
    font-size: 1.25em;
    font-weight: 600;
    text-decoration: underline;
}

.home .category p {
    margin-bottom: 0;
    text-align: left;
}

.date {
    font-size: 0.9em;
    font-style: italic;
}

h2 {
    display: block;
    text-shadow: 0px 0px 2px var(--blue);
}

h3, h4, h5 {
    display: inline-block;
    font-weight: 600;
}

h1 {
    font-size: 2em;
}

h2 {
    margin-top: 2em;
    margin-bottom: 1.25em;
    font-size: 1.6em;
}

h3 {
    margin-top: 1em;
    margin-bottom: 0.75em;
    font-size: 1.4em;
    font-style: italic;
}

h4 {
    margin-top: 0.9em;
    margin-bottom: 0.65em;
    font-size: 1.2em;
    font-style: italic;
}

.head {
    margin-bottom: 1.5em;
}

ul {
    margin: 0px;
    padding: 0px;
}

ul li {
    list-style: none;
}

ul, ol, p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--blue);
}

a:hover {
    color: var(--blue-dark);
}

.clearfix {
    clear: both;
}

#header {
    background: rgb(26,49,80);
    background: linear-gradient(90deg, rgba(26,49,80,1) 75%, rgba(26,49,80,1) 85%, rgba(0,177,255,1) 100%);
}

.logo-container {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#logo img {
    height: 40px;
    display: block;
}

.menu {
    float: right
}

.menu ul li {
    float: left;
    margin-left: 1em;
    padding: 0.5em 1em;
    font-style: italic;
    font-weight: 700;
    line-height: 40px;
    text-transform: uppercase;
}

.menu ul li:hover {
    background-color: var(--blue-dark2);
}

.menu ul li a {
    color: #ffffff;
}

.menu ul li:hover a {
    color: var(--blue);
}

.post-header {
    margin-bottom: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
    background-color: #ffffff;
    box-shadow: 0 5px 5px var(--grey-2);
}

.post-header .link-container {
    text-align: center;
}

.post-header a {
    padding: 0.75em;
    font-size: 0.8em;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--grey-1);
    background-color: var(--grey-base);
    border-radius: 20px;
}

.post-header a:hover {
    color: var(--blue-dark);
    background-color: var(--grey-2);
}

.post-header a svg {
    height: 20px;
    width: 20px;
    margin-right: 0.25em;
    fill: var(--blue);
}

main {

}

article .block, section .block {
    padding: 1em;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 0 5px var(--grey-2);
}

.table-contents {
    float: left;
    width: 40%;
    padding: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    border-radius: 8px;
    background-color: var(--grey-base);
}

.table-contents + .content h2:first-child {
    margin-top: 0;
}

.table-contents .title {
    margin-bottom: 0.5em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--blue-dark);
}

.table-contents ol {
    counter-reset: counter;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0px;
}

.table-contents ol > li {
    padding: 0.5em 0.75em;
    border-radius: 8px;
    background: var(--blue-dark);
    background: linear-gradient(105deg, var(--blue-dark) 10%, #ffffff 10%, #ffffff 10%);
    margin-bottom: 0.75em;
}

.table-contents ol > li:hover {
    background: var(--blue-dark);
    background: linear-gradient(105deg, var(--blue-dark) 10%, var(--grey-2) 10%, var(--grey-2) 10%);
}

.table-contents ol > li:last-child {
    margin-bottom: 0;
}

.table-contents ol > li:before {
    margin-right: 1.75em;
    color: #ffffff;
    content: counter(counter);
    counter-increment: counter;
    font-size: 1.2em;
    font-style: italic;
    font-weight: 600;
    text-align: center;
}

.table-contents ol > li a {
    font-size: 0.9em;
    color: var(--blue-dark);
}

section {
    margin-bottom: 1.5em;
}

.content ul li {
    margin-left: 15px;
    list-style: circle;
}

.table {
    color: var(--blue-dark);
}

.faq > div > strong, .faq > div > strong + p {
    display: block;
    padding: 0.5em 1em;
}

.faq > div {
    margin-bottom: 0.5em;
}

.faq > div > strong {
    background: url('../images/design/icon-plus.png') right 1em center no-repeat;
    background-color: var(--grey-base);
    margin-bottom: 0.25em;
    cursor: pointer;
}

.faq > div > strong + p {
    display: none;
    margin-bottom: 0;
}

.faq > div > strong.active {
    background: url('../images/design/icon-minus.png') right 1em center no-repeat;
    background-color: var(--grey-base);
    display: block;
}

.faq > div > strong.active + p {
    display: block;
}

.lawyer.best {
    margin-top: 15px;
}

.lawyer.best .logo-container {
    text-align: center;
}

.lawyer.best .logo-container img {
    display: inline-block;
    width: 100%;
    max-width: 160px;
    max-height: 160px;
    border-radius: 50%;
}

.lawyer.best .logo-container img.dark {
    border: 3px solid var(--blue);
    background-color: var(--blue-dark);
}

.lawyer.best .logo-container img.white {
    border: 3px solid var(--blue);
    background-color: #ffffff;
}

.lawyer.best .title {
    margin-bottom: 0.1em;
    font-weight: 700;
}

.lawyer.best .website a {
    font-size: 0.9em;
    color: var(--blue-dark);
}

.lawyer.best .goto-container {
    text-align: center;
}

.lawyer.best .goto-container .info {
    padding-left: 34px;
    margin-bottom: 0.5em;
    text-align: left;
}

.lawyer.best .goto-container .info span {
    line-height: 24px;
    color: var(--grey-1);
}

.lawyer.best .goto-container .info.address {
    background: url('../images/design/icon-location-grey.png') left center no-repeat;
}

.lawyer.best .goto-container .info.phones {
    background: url('../images/design/icon-phone-grey.png') left center no-repeat;
}

.lawyer.best .goto a, .home .main .content .button a, .home .find .content .button a, .form-input-submit input[type="submit"] {
    display: inline-block;
    padding: 0.6em 2em;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--blue);
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0px 0px 1px var(--blue-dark);
    text-align: center;
    border-radius: 100px;
    border: 1px solid var(--blue);
    font-style: italic;
}

.lawyer.best .goto a {
    margin-top: 1em;
}

.lawyer.best .goto a:hover, .home .main .content .button a:hover, .home .find .content .button a:hover {
    color: var(--blue);
    background-color: transparent;
    text-shadow: none;
}

.lawyer.best .brief-name, .lawyer.best .description, .lawyer.best .bonuses {
    margin-bottom: 0.5em;
}

.lawyer.best .description {
    font-size: 0.9em;
    color: var(--blue-dark2);
}

.lawyer.best .bonuses > div, .lawyer.best .features > div {
    margin-bottom: 0.25em;
    line-height: 22px;
}

.lawyer.best .bonuses > div span, .lawyer.best .features > div span {
    display: inline-block;
    margin-left: 5px;
    line-height: 22px;
    color: var(--blue-dark3);
}

.lawyer.best .bonuses > div span {
    color: var(--blue-dark3);
}

.lawyer.best .features > div span {
    color: var(--blue-dark2);
}

.lawyer.best .bonuses > div:last-child, .lawyer.best .features > div:last-child {
    margin-bottom: 0;
}

.lawyer.best .bonuses > div > svg {
    height: 22px;
    fill: var(--blue);
}

.lawyer.best .features > div > svg {
    height: 22px;
    fill: var(--green);
}

.lawyer.best-reviewed > .col-12 > h3 {
    margin-top: 0;
}

.lawyer.best-reviewed > .col-12 > h3 a {
    text-decoration: underline;
}

.post article .image, .page article .image {
    width: 30%;
    text-align: center;
}

.post article .image.left, .page article .image.left {
    float: left;
    margin-right: 2em;
    margin-bottom: 1em;
}

.post article .image.right, .page article .image.right {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
}

.post article .image > img, .page article .image > img {
    display: inline-block;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0px 0px 5px var(--blue);
}

.post article .internal-links, .page article .internal-links {
    padding: 1em;
    border-radius: 8px;
    background-color: var(--blue-dark);
    color: #ffffff;
}

.post article .internal-links a, .page article .internal-links a {
    color: var(--yellow);
}

.breadcrumbs li {
    display: inline-block;
}

.breadcrumbs li:before {
    content: '/';
    display: inline-block;
    margin-left: 0.3em;
    margin-right: 0.5em;
    font-size: 0.8em;
    color: var(--grey-1);
}

.breadcrumbs li:first-child:before {
    display: none;
}

.breadcrumbs a, .breadcrumbs span {
    font-size: 0.8em;
}

.breadcrumbs a {
    color: var(--blue-dark2);
}

.breadcrumbs a:hover {
    color: var(--blue);
}

.breadcrumbs span {
    color: var(--grey-1);
}

.author {
    margin-bottom: 1.5em;
    font-size: 0.9em;
}

.author a {
    display: inline-block;
}

.author .role, .post .date {
    font-style: italic;
    color: var(--grey-1);
}

.post .date {
    color: var(--blue-dark);
}

.post .last-updated {
    font-size: 0.9em;
    color: var(--grey-1);
}

.author .photo {
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 5px;
}

.author .photo > img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--blue);
}

.author-page h2 {
    margin-top: 0;
}

label.form-label {
    margin-bottom: 0.5em;
    font-weight: 500;
    text-transform: uppercase;
}

.form-input input, .form-input input:focus, .form-input textarea, .form-input textarea:focus {
    margin-bottom: 1.5em;
    background-color: #ffffff;
    border: 1px solid var(--grey-2);
    border-radius: 80px;
    outline: none;
    padding: 0.5em 2em;
    box-shadow: none;
}

.alert {
    padding: 1em 1.5em;
    border-radius: 12px;
}

.alert.alert-danger {
    color: #f33c59;
    background-color: #fde7ea;
    border-color: #fab6c1;
}

.alert.alert-success {
    color: #79c055;
    background-color: #eefae8;
    border-color: #ccefba;
}

.alert.alert-danger ul {
    margin-bottom: 0;
}

#pre-footer {
    margin-top: 3em;
    padding-top: 3em;
    padding-bottom: 3em;
    background-color: var(--blue-dark);
    color: #ffffff;
}

#pre-footer strong {
    display: block;
    margin-bottom: 1em;
    font-size: 1.25em;
    font-weight: 600;
}

#pre-footer p {
    margin-bottom: 0;
}

#pre-footer ul li {
    margin-bottom: 0.25em;
}

#pre-footer ul li:last-child {
    margin-bottom: 0;
}

#pre-footer a:hover {
    color: #ffffff;
}

.pagination {
    margin-top: 1em;
    margin-bottom: 1em;
}

.page-item:first-child .page-link {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.page-item.active .page-link {
    color: #ffffff;
    background-color: var(--blue);
    border-color: var(--blue);
}

.page-link {
    color: var(--blue);
    background-color: #ffffff;
    border: 1px solid var(--grey-2);
}

.page-link:hover {
    color: var(--blue);
    background-color: var(--grey-base);
    border-color: var(--grey-2);
}

footer {
    padding-top: 1em;
    padding-bottom: 1em;
    font-size: 0.8em;
    color: var(--blue-dark3);
    background-color: var(--blue-dark2);
}

footer .notice {
    line-height: 1.2em;
}

@media (max-width: 1024px) {
    .table-contents {
        float: none;
        width: 100%;
        padding: 1em;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .logo-container {
        text-align: center;
    }

    .logo-container #logo {
        display: inline-block;
    }

    .menu {
        float: left;
    }

    .home .main .image-container > img {
        max-width: 480px;
    }

    .post-header .link-container {
        margin-bottom: 1.5em;
    }

    .post-header .link-container:last-child {
        margin-bottom: 0;
    }

    .home .category a, .home .latest .article a {
        margin-bottom: 1em;
    }

    .lawyer.best .logo-container, .lawyer.best .title-container, .lawyer.best .description-container {
        margin-bottom: 1.5em;
    }

    .content .faq {
        width: 100%;
    }

    .post article .image {
        width: 45%;
    }
}

@media (max-width: 430px) {
    .author-container {
        margin-bottom: 1.5em;
    }

    .breadcrumbs li {
        line-height: 1.5em;
    }

    .post article .image {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
