/* =======================================
File name: articles_2021.css
Author: NJ 
Date of creation: 23rd March 2021
Last updated: 08.01.2022
========================================*/

/*----------------------------------*/
/* Bootstrap Icons */
/*----------------------------------*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css");

/*----------------------------------*/
/* Google Fonts */
/*----------------------------------*/

/* crimson-text-regular - latin */
@font-face {
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('../fonts/crimson-text-v19-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/crimson-text-v19-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* crimson-text-italic - latin */
  @font-face {
    font-family: 'Crimson Text';
    font-style: italic;
    font-weight: 400;
    src: local(''),
         url('../fonts/crimson-text-v19-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/crimson-text-v19-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* crimson-text-600 - latin */
  @font-face {
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 600;
    src: local(''),
         url('../fonts/crimson-text-v19-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/crimson-text-v19-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  /* crimson-text-700 - latin */
  @font-face {
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 700;
    src: local(''),
         url('../fonts/crimson-text-v19-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/crimson-text-v19-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }

/*--------------------------------------------------------------
 General settings
--------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: none;
}

body {
    font-family: 'Crimson Text', serif;
    font-weight: 500;
    color: #222;
    min-width: 320px;
}

a:link,
a:visited {
    color: #333;
    text-decoration: none;
}

a:active,
a:hover {
    color: #333;
    text-decoration: underline;
}

::selection {
    background-color: #cd0021;
    color: #fff;
}

a:focus {
    outline: 1px dotted #ccc;
}

h1 {
    margin: 0 0 5px 0;
}

h2 {
    margin: 0 0 10px 0;
}

h3 {
    margin: 0;
}

h4 {
    margin: 0 0 10px 0;
}

h5 {
    max-width: 630px;
    height: 40px;
    margin: 50px 12px 0 0;
    padding: 8px;
    background-color: #003872;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

h6 {
    margin-top: 15px;
    font-size: 1rem;
}

p {
    margin-top: 1em;
    margin-bottom: 1em;
}

/*----------------------------------*/
/* Container */
/*----------------------------------*/

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

/*----------------------------------*/
/* Follow us */
/*----------------------------------*/

.follow-us {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: solid 1px #e1e1de;
}

.follow-us ul {
    display: flex;
    list-style-type: none;
    padding-top: 8px;
}

.follow-us ul li a {
    font-size: 1rem;
    padding: 0 5px 5px 0;
    color: #000;
    text-decoration: none;
}

.follow-us a:hover {
    color: #333;
}

.follow-us img {
    width: 16px;
    height: 16px;
}

.bi-envelope {
    font-size: 0.9rem;
    font-style: normal;
    color: #222;
    margin: 0 10px 10px 0;
}

.bi-person {
    font-size: 0.9rem;
    font-style: normal;
    color: #222;
}

/*----------------------------------*/
/* Highlights */
/*----------------------------------*/

.highlights {
    display: flex;
    justify-content: space-between;
    padding: 0 10px 0 10px;
}

.logo {
    border: 0;
    height: 122px;
    width: 309px;
}

.holmes {
    border: 0;
    height: 100px;
    width: 76px;
}

.highlight-text {
    width: 300px;
}

a.more {
    color: #cd0021;
    font-weight: 700;
}

.highlights a:hover {
    color: #16438b;
    text-decoration: none;
}

/*----------------------------------*/
/* Desktop Navigation Menu */
/*----------------------------------*/

.menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 30px;
    border-top: 2px solid #181B1C;
    border-bottom: solid 1px #181B1C;
    background: #F7F5F5;
    list-style: none;
    margin: 0 5px 0 5px;
}

.menu li {
    line-height: 1.6875rem;
}

.menu li a {
    display: block;
    color: #292525;
    padding: 0 18px;
    border-right: 1px dotted #6D7989;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
}

.menu a:hover {
    color: #fff;
    background-color: #cd0021;
}

#home {
    background-color: #cd0021;
}

#home a {
    color: #fff;
}

/*----------------------------------*/
/* Divider */
/*----------------------------------*/

.divider {
    height: 50px;
    border-bottom: solid 7px #000;
    margin: 0 5px 0 5px;
}

/*----------------------------------*/
/* Mobile Navigation Menu */
/*----------------------------------*/

.mobile-navigation {
    display: none;
}

/*----------------------------------*/
/* Content */
/*----------------------------------*/

.content {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

/*----------------------------------*/
/* Article */
/*----------------------------------*/

.article {
    border-right: solid 1px #ccc;
    margin-left: 5px;
}

.article h1 {
    margin: 20px 5px 15px 0;
    font-size: 2.6rem;
    font-weight: 600;
}

.article h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.article h3 {
    margin-top: 30px;
    font-size: 1.1em;
    font-weight: 700;
}

.article h4 {
    font-size: 1.1em;
    font-weight: 700;
    color: #cd0021;
    padding-top: 40px;
}

.date {
    color: #cd0021;
    font-size: 0.9rem;
    padding-left: 15px;
}

.special-p::first-letter {
    font-size: 2.625rem;
    letter-spacing: -0px;
    line-height: 70%;
}

article p {
    font-size: 1.1rem;
    padding-right: 20px;
    line-height: 1.6;
}

.article-picture {
    float: left;
    border: 0;
    margin: 20px 0 20px 0;
    padding: 0 20px 0 0;
}

.credit {
    padding-top: 20px;
    font-size: 0.9375rem;
}

.indent {
    text-indent: 40px;
}

/*----------------------------------*/
/* Text fade */
/*----------------------------------*/

.sidebar-box {
    max-height: 120px;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.sidebar-box .read-more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 30px 0;
    /* "transparent" only works here because == rgba(0,0,0,0) */
    background-image: linear-gradient(to bottom, transparent, rgb(255, 255, 255));
}

.already {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
}

.tologin {
    color: #cd0021;
}

.tologin a:link {
    color: #cd0021;
    text-decoration: none;
}

.tologin a:visited {
    color: #333;
}

.tologin a:hover {
    color: #e44661;
}

.subscribe-today {
    font-size: 1.2rem;
    font-weight: 600;
    color: #cd0021;

}

/*----------------------------------*/
/* Subscription Box */
/*----------------------------------*/

.subscription-box-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.subscription-box {
    display: flex;
    flex-direction: column;
    max-width: 330px;
    height: 200px;
    margin: 10px 0 30px 0;
    padding: 10px;
    box-shadow: 0 1px 6px rgba(255, 255, 255, 0.2);
    border: solid 2px #eeeeee;
}

.subscription-box h1 {
    text-align: center;
    font-size: 1.5rem;
    color: #cd0021;
    font-weight: bold;
}

.subscription-box p {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}

.button {
    align-self: center ;
    display: inline-block;
    background: #cd0021;
    border: 2px solid #fff;
    margin-top: 1px;
    padding: 15px 40px;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #fff;
    cursor: pointer;
    transition: 0.5s;
}

.button:link {
    color: #fff;
    text-decoration: none;
}

.button:visited {
    color: #fff;
}

.button:hover {
    background-color: #c2131f;
    transform: scale(0.98);
}

.one-time {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 30px;
}

/*----------------------------------*/
/* Aside */
/*----------------------------------*/

.aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/*----------------------------------*/
/* Video Choice of the Week */
/*----------------------------------*/

.aside .coming-soon {
    color: #cd0021;
    font-weight: 700;
    margin: 0;
    padding-bottom: 5px;
}

.aside .tablet {
    height: 188px;
    width: 142px;
}

.aside .video-choice {
    color: #cd0021;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    width: 300px;
}

.screenshot {
    height: 152px;
    width: 270px;
    padding: 0 15px 0 15px;
}

.video-title {
    margin: 15px 0 0 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
}

.aside p {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    margin-top: 1.2rem;
}

.aside .tip {
    text-align: center;
    color: #003872;
    font-size: 0.9rem;
    font-weight: 700;
    padding-top: 20px;
}

.tip:after {
    content: "";
    display: block;
    border-bottom: dotted 1px #ddd;
    width: 300px;
    padding-top: 20px;
    position: absolute;
}

/*----------------------------------*/
/* Published Articles */
/*----------------------------------*/

.published h3 {
    min-width: 300px;
    height: 35px;
    margin: 50px 0 15px 0;
    padding: 8px 5px 0 5px;
    background-color: #cd0021;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 4px;
}

.row {
    display: flex;
    height: 80px;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: dotted 1px #555;
}

.row img {
    margin: 0 8px 0px 0;
    width: 60px;
    height: 60px;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-container h6 {
    font-size: 0.9rem;
    margin: 15px 5px 0 8px;
}

.text-container p {
    margin: 5px 0 0 8px;
    padding-bottom: 15px;
    line-height: normal;
}

a:hover {
    text-decoration: underline;
}

/*----------------------------------*/
/* Editor's Choice */
/*----------------------------------*/

.editor {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    max-width: 630px;
    min-height: 310px;
    margin: 0px 12px 0 0;
    padding: 25px;
    background-color: #D2D6DB;
}

.box {
    padding: 0 5px 0 1px;
}

.editor img {
    width: 90px;
    height: 90px;
}

.editor p {
    margin-top: 0.5rem;
    margin-bottom: 0.1rem;
    font-size: 1rem;
}

/*----------------------------------*/
/* Footer */
/*----------------------------------*/

.footer {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 630px;
    min-height: 75px;
    margin: 30px 12px 0 0;
    background-color: #D2D6DB;
    overflow: hidden;
}

.footer ul {
    display: flex;
    margin-top: 10px;
    list-style-type: none;
}

.footer ul li a {
    font-size: 0.9rem;
    color: #000;
    text-decoration: none;
    padding: 5px;
}

.footer ul li a:after {
    content: "\007C";
    padding-left: 5px;
}

.footer ul li:last-child a:after {
    content: '';
}

.footer a:hover {
    color: #333;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
}

.newjurist {
    font-weight: 700;
}

/*----------------------------------*/
/* Sites we Follow */
/*----------------------------------*/

.follow {
    display: flex;
    justify-content: center;
    margin: 50px auto;
    position: relative;
    max-width: 600px;
}

.follow h6 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #444;
}

.follow h6:before {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: #444;
    left: 60px;
    top: 70%;
    position: absolute;
}

.follow h6:after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: #444;
    right: 60px;
    top: 70%;
    position: absolute;
}

/*----------------------------------*/
/* Useful Links */
/*----------------------------------*/

.links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 20px auto;
    border: 1px dotted #DDD;
    background-color: #FCFCFC;
}

li {
    display: block;
}

.links h3 {
    padding-bottom: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #cd0021;
}

.links ul {
    padding: 0 10px 0 10px;
    margin: 30px 0;
    list-style-type: none;
    font-size: 0.9rem;
    border-left: 1px dotted #999;
}

.links ul:first-child {
    border: none;
}

.links a {
    font-size: 0.875rem;
    text-decoration: none;
    line-height: 1.6;
}

.links a:hover {
    color: #222;
    text-decoration: underline;
}

/*----------------------------------*/
/* Ask Jeeves */
/*----------------------------------*/

.jeeves {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.jeeves-logo {
    margin-right: 6px;
}

.search {
    margin-right: 6px;
}

.input {
    margin-right: 10px;
    width: 250px;
}

/*----------------------------------*/
/* Ad */
/*----------------------------------*/

.ads {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/*----------------------------------*/
/* Social Media Logos */
/*----------------------------------*/

.twitter {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.linkedin {
    display: flex;
    justify-content: center;
    margin: 40px auto;
}

/*----------------------------------*/
/* Anniversary Logo*/
/*----------------------------------*/

.anniversary {
    margin: 20px auto;
    height: 180px;
    width: 180px;
}

/*----------------------------------*/
/* Back to Top */
/*----------------------------------*/

.back-to-top-btn {
    position: fixed;
    bottom: 2em;
    right: 0px;
    text-decoration: none;
    color: #000;
    background-color: rgba(235, 235, 235, 0.80);
    font-size: 0.75rem;
    padding: 1em;
    display: none;
    transition-duration: 0.9s;
    transition-timing-function: ease-in-out;
    transition-property: background-color, color;
}

.back-to-top-btn:hover {
    background-color: #fff;
}

/* Animations */
.btnEntrance {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: btnEntrance;
}

/* fadeInUp */
@keyframes btnEntrance {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.btnExit {
    animation-duration: 0.25s;
    animation-fill-mode: both;
    animation-name: btnExit;
}

/* fadeOutDown */
@keyframes btnExit {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
}

/*----------------------------------*/
/* Cookies */
/*----------------------------------*/

.cookie-container {
    position: fixed;
    bottom: -100%;
    max-width: 380px;
    right: 0;
    margin: 0 13px 18px 13px;
    border-radius: 5px;
    background: #2f3640;
    box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.39);
    padding: 0 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 200;
    color: #f5f6fa;
    line-height: 1.5;
    z-index: 2;
    transition: 400ms;
}

.cookie-container.active {
    bottom: 0;
}

.cookie-container a {
    text-decoration: none;
    color: #c0cc14;
}

.cookie-container a:hover {
    color: #ccc;
}

.cookie-btn {
    border: 0;
    padding: 8px 24px;
    margin-bottom: 16px;
    background: #cd0021;
    font-size: 0.9rem;
    color: #f5f6fa;
    cursor: pointer;
}

/*----------------------------------*/
/* Scrollbar*/
/*----------------------------------*/

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #666;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}