/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

@font-face {
    font-family: "apercu pro";
    font-weight: 500;
    src: url("../css/font/apercu_regular_pro.woff");
}

@font-face {
    font-family: "apercu pro";
    font-weight: 600;
    src: url("../css/font/apercu_medium_pro.woff");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-weight: 500;
    src: url("../css/font/IBMPlexMono-Regular.woff");
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.site-header {
    padding: 25px 0 20px;
    text-align: center;
}

.site-header img {
    margin: 0 auto;
}

.main-heading {
    text-align: center;
    font-size: 32px;
    letter-spacing: -1px;
    font-weight: 300;
    font-family: "Merriweather", serif;
}

.tab-container {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: 18px;
}

.tab-container .btn-wrap {
    background-color: #E3E3E3;
    border-radius: 30px;
    padding: 4px;
}

.tab {
    padding: 6px 30px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    letter-spacing: -1px;
    border-radius: 25px;
    background-color: transparent;
    color: #767676;
    font-family: "apercu pro";
}

.tab.active {
    background: #ffffff;
    color: #0A0A0A;
}

.content-container {
    display: flex;
    max-width: 1280px;
    margin: 32px auto;
    border: 1px dashed #BCBCBC;
    background: #fff;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    height: 490px;
    position: relative;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    border-radius: 5px;
}

.inner-buttons {
    display: none;
    flex-wrap: wrap;
    margin: 0 -8px -8px;
    padding: 5px 20px 20px;
}

.inner-buttons button {
    width: calc(50% - 16px);
    margin: 0 8px 16px;
    font-size: 18px;
    letter-spacing: -1px;
    background-color: transparent;
    font-family: "apercu pro";
    border: 1px solid #ADADAD;
    border-radius: 2px;
    padding: 8px;
    color: #888888;
    cursor: pointer;
}

.inner-buttons button.active {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.content-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.sidebar-content {
    position: sticky;
    top: 0;
    display: flex;
    width: 100%;
}

#set-height {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.sidebar {
    width: 523px;
    border-right: 1px dashed #ccc;
    padding: 50px 30px 30px;
    display: flex;
    flex-direction: column;
}

.sidebar h3 {
    font-size: 24px;
    padding: 20px;
    letter-spacing: -1.68px;
}

.sidebar-item {
    margin: 0 0 30px;
    color: #999;
    cursor: pointer;
    border: 1px dashed #BCBCBC;
    border-radius: 2px;
}

.sidebar-item:last-child {
    margin-bottom: 0;
}

.sidebar-item.active {
    color: #000;
    font-weight: bold;
    border-color: #000;
}

.sidebar-item.active .inner-buttons {
    display: flex;
}

.content {
    width: calc(100% - 523px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.content video {
    object-fit: contain;
    border: none;
    outline: none;
    height: 400px;
    position: sticky;
    top: 0;
    width: 100%;
}

.sec-head {
    font-size: 24px;
    font-family: "Merriweather", serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sec-para {
    font-size: 14px;
    margin-top: 13px;
    letter-spacing: -1px;
    line-height: 20px;
    font-family: "apercu pro";
    font-weight: 500;
}

.sec-count {
    font-size: 11px;
    letter-spacing: normal;
    font-weight: 500;
    font-family: "IBM Plex Mono";
}

.sidebar-item.active .sec-para {
    display: block;
}


/* #set-height {
  display: block;
}
#scrollVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
} */

@media only screen and (max-width: 1440px) {
    .main-heading {
        font-size: 24px;
    }
    .site-header {
        padding: 15px 0 20px;
    }
    .tab {
        padding: 4px 30px;
    }
    .protocol-work {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 991px) {
    .sidebar,
    .content {
        width: 50%;
    }
    .sidebar {
        padding: 30px;
    }
    .sidebar h3 {
        font-size: 20px;
    }
    .inner-buttons button {
        font-size: 14px;
    }
}

@media only screen and (max-width: 767px) {
    .protocol-work,
    body {
        overflow-x: hidden;
    }
    .site-header {
        padding: 10px 0 15px;
    }
    .tab-container {
        margin-top: 11px;
    }
    .content-container {
        margin: 16px 0;
        height: auto;
        border: none;
    }
    .sidebar-content {
        flex-direction: column-reverse;
        overflow: hidden;
        padding-bottom: 140px;
    }
    .sidebar-item.active {
        background: transparent;
    }
    .sidebar .sec-head {
        font-size: 12px;
        letter-spacing: -1px;
        text-align: center;
        display: block;
        border: 1px dashed #BCBCBC;
        padding: 15px 5px;
        border-radius: 2px;
    }
    .sidebar,
    .content {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        position: relative;
    }
    .content {
        border: 1px dashed #BCBCBC;
        border-radius: 4px;
        margin-bottom: 8px;
    }
    .sidebar {
        border: none;
        margin: 0 -2.5px;
        width: auto;
        flex-direction: row;
    }
    .sidebar .inner-buttons {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: calc(100% + 15px);
        width: 100vw;
        margin: 0;
        padding: 0 25px;
    }
    .inner-buttons button {
        margin: 0 5px 10px;
        width: calc(50% - 10px);
        background-color: rgba(199, 199, 199, 0.32);
        border: 1px solid #ADADAD;
        letter-spacing: -0.7px;
    }
    .sidebar-item.active .sec-head {
        border-color: #000;
    }
    .sec-count {
        display: none;
    }
    .content video {
        height: 420px;
    }
    .sidebar-item {
        margin: 0 2.5px;
        padding: 0;
        flex: 1;
        border: none;
        border-radius: 4px;
        box-sizing: border-box;
    }
}