@import url("grid.css");

:root {
    --red: #c8102e;
    --grey: #929292;
    --black: #302E2C;
    --white: #FFFFFF;
    --offwhite: #F9F9F8;
    --lightgrey: #d9d9d9;

    --max-width: 1310px;
    --min-width: 360px;

    /* --sld-width: 170px;
    --sld-gap: 1rem; */
}

html[lang] {
    margin: 0 !important;
    height: 100%;
}

html body {
    min-height: 100%;
    position: relative;
    font-family: 'Noto Sans', sans-serif;
}

body {
    margin: 0;
    min-width: var(--min-width);
}

body a {
    text-decoration: none;
}

.main-fluid {
    margin-bottom: -35px;
    padding-bottom: 45px;
    position: relative;
    z-index: 11;
}

.limit {
    width: 80%;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.videos-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 2rem;
}
.videos-header .title-area {
    width: auto;
    flex-grow: 2;
    flex-shrink: 2;
}
.videos-header .title-area h1 {
    color: var(--red);
    font-family: 'Noto Sans', sans-serif;
    font-size: 32px;
    line-height: 0.7;
}
.videos-header .title-area strong {
    color: var(--grey);
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
}
.videos-header .button-area {
    text-align: right;
    width: 70px;
    flex-grow: 0;
    flex-shrink: 0;
}

.videos-logo {
    margin-top: 2rem;
}

#content > .row:first-child {
    margin-top: 2rem;
}

#content > .row:first-child > .col-6 .videos-logo {
    margin-top: 0;
}

h2.subtitle {
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 1rem;
}
h2.subtitle .active {
    color: var(--black);
}
h2.subtitle .separator {
    color: var(--grey);
    margin: 0 0.75rem;
    font-weight: 300;
}
#content h2.subtitle a {
    text-decoration: none;
    color: var(--grey) !important;
}

.formline {
    margin: 2.5rem auto;
    position: relative;
}
.formline label {
    display: block;
    font-size: 16px;
    color: var(--black);
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.25rem;
}
.formline label.inline {
    display: inline-block;
    font-weight: normal;
    margin-right: 1.25rem;
}
.formline input:not([type="button"],[type="submit"],[type="checkbox"],[type="radio"]) {
    background-color: #f9f9f9;
    color: var(--grey);
    font-size: 16px;
    width: calc(100% - 1rem);
    padding: 0.5rem;
    border: 1px solid #efefef;
    border-radius: 4px;
}
.formline input:not([type="button"],[type="submit"],[type="checkbox"],[type="radio"]):focus {
    outline: 1px solid #ccc;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #f9f9f9 inset !important;
}
.formline .check-error {
    color: var(--red) !important;
    border-color: 1PX solid var(--red) !important;
    background-color: #f9e7ea !important;
}
.formline .check-ok {
    color: #288A0F !important;
    border-color: #288A0F !important;
    background-color: #e9f3e7 !important;
}

.formline .info {
    font-size: 12px;
    color: #666;
}

.formline .check-list {
    line-height: 1;
}

.formline.buttons {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.formline.buttons .left {
    width: 50%;
    text-align: left;
}
.formline.buttons .right {
    width: 50%;
    text-align: right;
}
.formline.buttons .full {
    width: 100%;
    text-align: right;
}
.formline.buttons a {
    font-size: 14px;
    color: var(--black) !important;
    text-decoration: none;
}

button,
input,
select {
  padding: 0;
  margin: 0;
  background: #ffffff;
  line-height: 1.75rem;
}

.radio-replacement {
    display: inline-block;
    width: auto;
    white-space: nowrap;
}
.radio-replacement input {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.radio-replacement label {
    position: relative;
}
.radio-replacement label:before {
    content: '';
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f9f9f9;
    border: 1px solid #efefef;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}
.radio-replacement input:checked + label:before {
    border-color: #ccc;
}
.radio-replacement input:checked + label:after {
    content: '';
    background-color: #ccc;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 11px;
    transform: translateY(-50%);
}
.check-list.check-error {
    background-color: rgba(0, 0, 0, 0) !important;
    border-width: 0;
}
.check-list.check-error label:after,
.check-list.check-error label:before {
    color: var(--red) !important;
    border-color: 1PX solid var(--red) !important;
    background-color: #f9e7ea !important;
}
.check-list.check-error input:checked + label:after {
    background-color: var(--red) !important;
}


.check-list.check-ok input:checked + label:after,
.check-list.check-ok input:checked + label:before {
    color: #288A0F !important;
    border-color: #288A0F !important;
    background-color: #e9f3e7 !important;
}

.toggle-eye {
    position: absolute;
    top: 35px;
    /* bottom: 12px; */
    right: 12px;
    z-index: 100;
}

/* buttons */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px #ccc solid;
  background-color: #ddd;
  color: #444;
  padding: 0.5rem 1.5rem;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
button > i + span,
html input[type="button"] > i + span,
input[type="reset"] > i + span,
input[type="submit"] > i + span {
  margin-left: 0.5rem;
}
button.btn-primary,
html input[type="button"].btn-primary,
input[type="reset"].btn-primary,
input[type="submit"].btn-primary {
  border-color: var(--red);
  background-color: var(--red);
  color: var(--white);
}

button:disabled,
html input[type="button"]:disabled,
input[type="reset"]:disabled,
input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: default;
}

#content article {
    font-family: 'calibri';
    font-size: 16px;
    color: #000;
    line-height: 1.25;
}
#content article h2 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--red);
}
#content article h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #302E2C;
}

.red {
    color: var(--red);
}

#content a:not(.pill a) {
    color: var(--red);
    text-decoration: none;
}

.red-link {
    color: var(--red);
    font-size: 16px;
    text-decoration: none;
}

#primary {
    max-width: var(--max-width);
    margin: 0 auto;
}
/* 
#primary.outside {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0) url(../img/boy-optm.jpg) 50% 50% no-repeat;
    background-size: cover;
    z-index: 999;
    max-width: 100%;
}

#primary.outside .logo {
    position: fixed;
    top: 20px;
    left: 20px;
    display: inline-block;
    z-index: 9999;
}

#primary.outside article {
    margin-bottom: 0;
}

#primary.outside #content {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    max-width: 50%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 0;
    display: block;
    overflow: auto;
}
    
#primary.outside #content .limit {
    padding: 3rem 0;
} */





#wpadminbar {
    display: none;
}

#masthead {
    background: rgba(0, 0, 0, 0) url("../img/boy-optm.jpg") 50% 50% no-repeat;
    background-size: cover;
    border-bottom: 4px solid var(--black);
    height: 320px;
    /* position: relative; */
    transition: height 250ms ease-in-out 0s;
}

#masthead > .header-cols {
    display: flex;
    flex-direction: row;
    /* width: 90%; */
    margin: auto;
    padding: 1rem 0 0;
    max-width: var(--max-width);
}

#masthead > .header-cols .left {
    width: 50%;
    padding-left: 1rem;
}
#masthead > .header-cols .right {
    text-align: right;
    width: 50%;
    padding-right: 1rem;
}

#masthead > .logo {
    /* position: absolute;
    top: 20px;
    left: 120px; */
}

#masthead .logo img {
    width: 220px;
    /* height: auto; */
    transition: all 250ms ease-in-out 0s;
}

#masthead .top-right {
    /* position: absolute;
    top: 20px;
    right: 40px; */
    display: flex;
    flex-direction: row;
}

#masthead .top-right .search-area {
    flex-grow: 4;
    flex-shrink: 4;
}

#masthead .top-right .user-area {
    width: 40px;
    height: 40px;
    flex-grow: 0;
    flex-shrink: 0;
}

#masthead .top-right .user-area .icon a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#masthead .top-right .user-area {
    position: relative;
}

#masthead .top-right .user-area .toggle-user-menu {
    background: rgba(0, 0, 0, 0) url("../img/user.svg") 50% 50% no-repeat;
    display: inline-block;
    width: 32px;
    height: 32px;
}

#masthead .top-right .user-menu {
    position: absolute;
    top: 40px;
    left: -80px;
    border: 1px solid var(--grey);
    border-radius: 16px;
    background-color: var(--white);
    padding: 0.5rem;
    transform: translateY(-30px);
    opacity: 0;
    pointer-events: none;
    transition: transform 250ms ease-in-out, opacity 250ms ease-in-out;
}

#masthead .top-right .menu-open .user-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

#masthead .top-right .menu-open .toggle-user-menu {
    background-image: url("../img/user-red.svg");
}

#masthead .top-right .user-menu ul,
#masthead .top-right .user-menu li {
    padding: 0;
    margin: 0;
    list-style: none;
    list-style-type: none;
    line-height: 1;
    text-align: left;
}
#masthead .user-menu li a {
    color: var(--black);
    font-size: 14px;
    text-decoration: none;
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    border-radius: 12px;
}
#masthead .user-menu li a:hover {
    background-color: var(--grey);
    color: var(--white);
}




#search_form {
    padding: 0;
    margin: 0;
    display: block;
    position: relative;
}

#search_field {
    background: rgba(0, 0, 0, 0) url("../img/search.svg") calc(100% - 8px) 50% no-repeat;
    width: 32px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 20px;
    padding: 0.25rem 1rem;
    cursor: pointer;
    color: rgba(0, 0, 0, 0);
    position: relative;
    z-index: 21;
    transition: all 250ms ease-in-out 0s, z-index 0s linear 300ms;
}
#search_button {
    opacity: 0;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 20;
}
#search_field:focus {
    width: 160px;
    background-image: url("../img/search-red.svg");
    background-color: var(--white);
    border-color: var(--grey);
    outline: none;
    box-shadow: none;
    cursor: text;
    color: var(--black);
    z-index: 19;
}
#search_field::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0);
    transition: color 250ms ease-in-out 0s;
}
#search_field:focus::-webkit-input-placeholder {
    color: var(--grey);
}
#search_field:-moz-placeholder {
    color: rgba(0, 0, 0, 0);
    transition: color 250ms ease-in-out 0s;
}
#search_field:focus:-moz-placeholder {
    color: var(--grey);
}

#primary s#content {
    padding-top: 48px;
    min-width: var(--min-width);
}

#content > h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--red);
    font-family: 'Noto Sans', sans-serif;
}

.tag-line {
    margin: 1rem auto 4rem;
    font-family: 'Noto Sans', sans-serif;
}
.tag-line h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
}
.tag-line .line-head {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5rem;
    align-items: center;
}
.tag-line .line-head h3 {
    flex-grow: 0;
    flex-shrink: 1;
}
.tag-line .line-head .link-all {
    flex-grow: 2;
    flex-shrink: 2;
    font-size: 16px;
    margin-left: 1.2rem;
}
.tag-line .line-head .link-all a {
    color: var(--red);
    background: rgba(0, 0, 0, 0) url("../img/red-arrow.png") left center no-repeat;
    padding-left: 12px;
    white-space: nowrap;
}

.video-lines > p {
    padding: 0 1rem;
}

.tag-line .video-item a {
    text-decoration: none;
    color: var(--white);
    /* text-shadow: 0px 0px 4px rgba(30, 30, 30, 1); */
    white-space: normal;
}
.tag-line .video-item {
    display: inline-block;
    margin: 0 0.7rem 3rem 0;
}
.tag-line a {
    display: inline-block;
    position: relative;
}
/* .tag-line .video-thumb {
    display: block;
    background-size: cover;
    background-position: 50% 50%;
    border-radius: 8px;
    width: 180px;
    height: 96px;
} */
.tag-line .video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 1.3rem);
    border-radius: 0.5rem;
    padding: 10px;
    line-height: 1.2;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0) 95%);
}
.tag-line .video-item:hover .video-title {
    color: var(--lightgrey);
}
.tag-line .video-levels {
    padding: 0;
    height: auto;
    line-height: 1;
}

section.static {
    padding: 0 1rem;
}

section.static .line-videos {
    padding: 0;
    margin: 0;
}

#primary .video-lines .static .video-item:first-of-type {
    margin-left: 0 !important;
}

.related-videos h2 {
    margin-left: 1rem;
}


section.splide {
    margin-left: -20px;
    margin-right: -20px;
}


.tax-link.pill {
    display: inline-block;
    width: auto;
    border-radius: 6px;
    background-color: var(--lightgrey);
    padding: 0;
    margin-top: 0.75rem;
}
.tax-link.pill a {
    display: inline-block;
    width: auto !important;
    padding: 0.25rem 1rem;
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    text-shadow: none;
    line-height: 1.5rem;
    padding: 0 1rem;
}
.tax-link.pill.video_tag {
    background-color: var(--black);
}
.tax-link.pill.video_tag a {
    color: var(--white);
}


.site-footer {
    min-height: 35px;
    background-color: var(--black);
    color: var(--white);
    font-size: 14px;
    padding: 0;
    text-align: center;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.site-footer * {
    color: var(--white);
}
.texture {
    position: absolute;
    z-index: 10;
    bottom: 25px;
    left: 0;
    /* transform: translateY(-35px); */
    height: 200px;
    width: 100%;
    background: rgba(0, 0, 0, 0) url(../img/texture-tile.svg) 0 0 repeat;
    background-size: 150px;
}
.site-footer .site-info {
    height: auto;
    line-height: 1.5em;
    padding: 0.5rem;
}

.site-footer .site-info > div {
    display: inline;
}

.site-footer .site-info > div:before {
    content: '·';
    display: inline-block;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.site-footer .site-info > div:first-child:before {
    content: none;
}

.video-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
}

.single-video .video-meta {
    margin: 1.5rem auto;
}

.single-video .video-meta > div {
    display: inline-block;
}

.related-videos > h2 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
}

.message {
    margin: 1rem auto;
    color: #288A0F;
    border: 1PX solid #288A0F;
    background-color: #e9f3e7;
    padding: 0.75rem;
    border-radius: 4px;
    display: inline-block;
}

.message a {
    text-decoration: underline !important;
}

.message.error {
    color: var(--red);
    border: 1PX solid var(--red);
    background-color: #f9e7ea;
}

.message:empty {
    display: none;
}


/* BRUNO EDIT */
/* Mobile */  
#primary #content {
    padding: 1rem 1rem 1.5rem 1rem;
}

#primary #content h1 {
    margin-bottom: 0;
    font-size: 1.6rem;
}

#primary .video-lines .tag-line {
    margin: 0;
    width: 100%;
}

#primary .video-lines .tag-line .line-head {
    padding: 0 16px;
}

#primary .video-lines .tag-line .line-head h3 {
    margin: 0;
}

#primary .video-lines .tag-line .splide {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    /* padding-right: 1rem; */
}

#primary .video-lines .tag-line .video-item:first-of-type {
    margin-left: 1rem;
}

#primary .video-lines section:not(.static) .video-item:last-of-type {
    margin-right: var(--sld-gap);
    width: calc(var(--sld-width) + calc(var(--sld-gap) * 3)) !important;
    padding-right: calc(var(--sld-gap) * 2);
}

.list-error {
    margin: 1rem 1rem 2rem;
    max-width: var(--max-width);
    color: var(--grey);
    /* font-style: italic; */
}

/* #primary .video-lines .tag-line .video-item {
    width: calc(90vw - 2rem);
    max-width: 175px;
} */

#primary .video-lines .tag-line .video-item a {
    display: inline-block;
    width: 100%;
}

#primary .video-lines .tag-line .video-item a img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    width: 195px;
    height: 110px;
    display: block;
}

.loading {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 300ms ease-in-out 0s;
    z-index: 9999;
    color: #fff;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-open .loading {
    opacity: 1;
}


/* Desktop (everything after 768) - a small iPad on portrait */
/* @media only screen and (min-width: 768px) {

} */