:root {
  /*drop cap for callout*/
    --drop-cap-size:2.5vh;

  /*---accent color for quotes--*/
  	/*--accent-color:#323d40;*/

    --drop-shadow:none;
    --accent-color:hsl(192.86deg 12.28% 22.35%);
    --hover-color:hsl(193 12% 15% / 1);
    --link-color:#ffcf00;

  /*footer variables*/
    --inset-padding:10px;
    --aspect-ratio:calc(7/18*100%);
}


/*---global nav changes---*/

  .c-Menu-NavWrapper {
    display:flex;
  } 

  .main-menu .o-Grid-Container {
    display: flex;
      padding: 0 0 0 1rem;
      width: 100%;
  }

  .c-Menu-Wrap {
      display:flex;
      justify-content: space-around;
      flex:1 1 100%;
  }

  .c-Menu-Wrap::after,
  .c-Menu .o-Grid-Container:before,
  .c-Menu .o-Grid-Container:after {
    display:none;
  }

  .c-Menu-PriorityNav {
    order:3;
  }

  .c-Menu-NavWrapper {
    padding-right: 0;
  }

  .c-Menu-Nav {
    display: flex;
      flex-flow: row;
  }

  .c-Menu-Nav > .c-Menu-Item {
    padding: 1rem;
  }

  .c-Menu-Item a {
      display: flex;
      flex: 1 0 auto;
  }

  .c-Menu-Nav > .c-Menu-Item:last-child {
      padding-right: 0;
      margin-right: -1rem;
  }

  @media (min-width: 80em) {
      .c-Menu-Nav > .c-Menu-Item {
          display: flex;
          align-items: center;
      }
  }

  @media (min-width: 64em) {
      .c-Menu-Nav > .c-Menu-Item:nth-child(4), 
      .c-Menu-Nav > .c-Menu-Item:nth-child(5) {
          display: flex;
          flex-flow: row;
          align-items: center;
          justify-content: center;
      }
  }

  @media (min-width: 47.75em) {
      .c-Menu-Nav > .c-Menu-Item:nth-child(1), 
      .c-Menu-Nav > .c-Menu-Item:nth-child(2), 
      .c-Menu-Nav > .c-Menu-Item:nth-child(3) {
          display: flex;
          flex-flow: row;
          align-items: center;
          justify-content: center;
      }
  }

  /*---fix menu hamburger color---*/

  .c-Menu-ButtonIcon span {
    background:#fff;
  }

  /*---remove space under nav---*/

  main {
    margin-top:3rem;
  }

  .c-Menu.js-Menu.u-Spacer_3 {
      margin-bottom: 0;
  }

  main[class*=leonardos-armored-tank],
  main[class*=leonardos-automatic-cart],  
  main[class*=leonardos-aerial-screw],
  main[class*=leonardos-flying-machine],
  main[class*=sizzle],
  main[class*=famous-works],
  main[class*=home],
  main[class*=language-of-genius],
  main[class*=leonardo-da-vinci-disciplines],  
  main[class*=how-to-appreciate-art-like-leonardo-da-vinci],
  main[class*=the-mona-lisa] { 
    margin-top:0;
  }

  ul.c-Menu-Dropdown {
    background-color: var(--hover-color);
}

/*---video player adjustments for theater mode/autoplay---*/

    /*---localize to homeopage---
    main[class*=home] .r-1 {
          background: var(--hover-color);
          margin-bottom:3rem;
      
    /* video player adjustments 

        .o-Grid-Container {
            max-width: unset;
            padding: 0;
            display:flex;
        }

        .o-Grid-Container:before,
        .o-Grid-Container:after {
            display:none;
        }

        .o-Grid-Row.css-Order-update {
            display:-webkit-box;
            display:-ms-flexbox;
            display:flex;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
        }

        .c-Player {
            margin:0;
            padding:0;
        }

        .c-Player .o-Grid-Col_5 {
            display:none;
          }
    
        .c-Player .o-Grid-Col_7 {
            width:100%!important;
        }

        .c-Player_Iframe {
            overflow: hidden; 
            padding-top:unset!important ;
            position: relative;
            background: #000;
            aspect-ratio: 16/9;
            max-height: calc(92vh - 128px);
            margin: auto;
        }

        .vjs-pbs.vjs-ended .button.vjs-big-play-button, 
        .vjs-pbs.vjs-ended .button.vjs-play-control {
            display:none;
          }

        iframe .vjs-poster:after {
            display:none;
        }

    /*playlist area 

        .c-Player_list {
            display:-webkit-box;
            display:-ms-flexbox;
            display:flex;
            -webkit-box-orient:horizontal;
            -webkit-box-direction:normal;
                -ms-flex-flow:row wrap;
                    flex-flow:row wrap;
            -webkit-box-pack: space-evenly;
                -ms-flex-pack: space-evenly;
                    justify-content: space-evenly;
            margin:0 auto;
            border-top: none;
            max-width: 1280px;
        }

        .c-Player_list div.o-Grid-Col_3.js-is-loadable {
            display:-webkit-box;
            display:-ms-flexbox;
            display:flex;
            margin:0 12px!important;
            -webkit-box-flex:1;
                -ms-flex:1 1 20%;
                    flex:1 1 20%;
        }

        .o-Grid-Row:after, .o-Grid-Row:before {
            display:none;
        }

        .c-Pagination-Item.is-active {
            color:white;
            font-weight:900;
            border-bottom-color: white;
        }

        .c-Pagination-Item {
            color:white;
        }

        /*playlist tiles 

        .c-Media {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient:vertical;
            -webkit-box-direction:normal;
                -ms-flex-flow:column;
                    flex-flow:column;        
            border: 1px solid white;
            transition: all 0.3s ease;
        }

        .c-Media:hover {
            background-color: var(--accent-color);
        }

        .c-Media:before, .c-Media:after {
            display:none
        }

        img.c-Media_Img {
            float:unset;
            margin: 0!important;
            width:100%!important;
        }

        .c-Media_Txt {
            padding:12px;
            background: transparent;
            margin:0!important;
            width:100%!important;
            color:white;
        }

        .c-Media_Snippet {
            display:none;
        }

        .o-Text_bodyLead {
            font-size: 1em;
            line-height: normal;
            font-family: PBS sans, Merriweather,'-apple-system, BlinkMacSystemFont,"Segoe UI", "Roboto", "Oxygen","Ubuntu", "Cantarell", "Fira Sans","Droid Sans", "Helvetica Neue", sans-serif';
        }

    /*----resizing thumbnail area---
        @media (max-width:778px) {
            .c-Player_list div.o-Grid-Col_3.js-is-loadable {
                margin: unset;
                -webkit-box-flex: 1;
                    -ms-flex: 1 1 100%;
                        flex: 1 1 100%;
                -webkit-box-align: stretch;
                    -ms-flex-align: stretch;
                        align-items: stretch;
                -webkit-box-pack: center;
                    -ms-flex-pack: center;
                        justify-content: center;
                margin: 0 .5rem;
            }

            .c-Media {
                -webkit-box-orient: horizontal;
                -webkit-box-direction: normal;
                    -ms-flex-flow: row;
                        flex-flow: row;
                -webkit-box-flex: 1;
                    -ms-flex: 1 1 auto;
                        flex: 1 1 auto;
                -webkit-box-align: center;
                    -ms-flex-align: center;
                        align-items: center;
                margin-bottom:.8rem;
            }

            img.c-Media_Img {
                float: unset;
                margin: 0 !important;
                width: unset !important;
                max-height: 100px;
            }
        }

        @media (max-width:481px) {
            .o-Text_bodyLead {
                font-size: .8rem;
            }

            .c-Media_Type,
            .c-Media_Duration {
                font-size: .6rem;
            }

             img.c-Media_Img {
                max-height: 90px;
            }
        }

    /*---text changes---
        .o-Text_bodyText h2 {
            font-size: 1.2rem;
        }

        .c-TextUnderline.u-Spacer_2 {
            margin-bottom: 0;
        }

        .o-Grid-Wrapper.js-pageBuilderRow {
            margin:0 0 3rem;
        }

  }

/*---Hub page adjustments---*/

  main[class*=explore-3d-models-of-leonardo-da-vincis-inventions],
  main[class*=life-legacy-achievements] {
    
    .r-2 .o-Grid-Row.u-Spacer_2 {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }
  }


/*----3D model CSS---*/

  [class*=leonardos-armored-tank],
  [class*=leonardos-automatic-cart],  
  [class*=leonardos-aerial-screw],
  [class*=leonardos-flying-machine] {
    .r-1 {
      max-width:unset;
      padding:0; 

      .o-Grid-Container {
        max-width:unset;
        padding:0;
      }  

      iframe {
        border: none;
        min-width:100.5%;
        height: calc(100dvh - 139px);
        background: #323D40;
      }

      .o-Grid-Col_12 {
      float:unset!important;
      }

      .o-Grid-Row:before {
          display: none;
      }

      @media screen and (min-width: 764px) and (max-width: 1024px) and (orientation: portrait) {
        iframe {
          height: calc(100dvh - 126px);
        }
      }

      @media screen and (max-width: 763px) and (orientation: portrait) {
        iframe {
          height: calc(100dvh - 103px);
        }
      }
    }

  }



/*---Article CSS---*/

  [class*=language-of-genius],
  [class*=leonardo-da-vinci-disciplines],  
  [class*=how-to-appreciate-art-like-leonardo-da-vinci],
  [class*=the-mona-lisa] {



    /*---title treatment--*/

    .c-Callout-content.o-Grid-Col_6 {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      position: relative;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-flow: column;
              flex-flow: column;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-flex: 1;
          -ms-flex: 1 1 auto;
              flex: 1 1 auto;
      margin: 20vh auto;
    }

    .o-Text_titleBig.c-Callout-Title {
      text-transform: uppercase;
      -webkit-text-decoration: 4px solid #00317b underline;
              text-decoration: 4px solid #00317b underline;
      font-weight: bold;
      font-size: 1.2em;
    }

    .c-Callout-content h1 {
      max-width:700px;
    }

    .r-1 .o-Grid-Container {
      max-width:unset;
      padding:0;
    }

    .c-Menu.js-Menu.u-Spacer_3 {
      margin-bottom:0;
    }

    /*callout and narrative display adjustments*/

    p.dropcap:first-of-type:first-letter {
      float: left;
      color: var(--accent-color);
      font-size: calc(var(--drop-cap-size) * 5);
      line-height: calc(var(--drop-cap-size) * 4.2);
      padding: 10px 2px 0 0;
      font-weight: bold;
    }

    .c-Callout {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-flow: row wrap;
              flex-flow: row wrap;
    }

    picture.c-Callout-Img_container {
      width: auto;
      -webkit-box-flex: 0;
          -ms-flex: 0 1 auto;
              flex: 0 1 auto;
      margin: 1rem 2rem;
    }

    .c-Callout_Large .c-Callout-Img {
      margin-bottom: 0;
      max-height: 80vh;
    }

    .c-Callout blockquote {
      color:#fff
    }

    .c-Callout-content {
      width: unset;
      -webkit-box-flex: 1;
          -ms-flex: 1 1 0px;
              flex: 1 1 0;
      min-width: 40%;
      padding: 2rem 0 0;
    }

    .c-Callout-content hr:first-of-type {
      max-width:400px;
      margin:20vh auto 32px;
    }

    .c-Callout-content hr:last-of-type {
      max-width:400px;
      margin:32px auto 20vh;
    }

    .u-full-width {
      display: -webkit-box!important;
      display: -ms-flexbox!important;
      display: flex!important;
      -webkit-box-pack: center!important;
          -ms-flex-pack: center!important;
              justify-content: center!important;
      -webkit-box-align: center!important;
          -ms-flex-align: center!important;
              align-items: center!important;
      -webkit-box-orient: vertical!important;
      -webkit-box-direction: normal!important;
          -ms-flex-flow: column!important;
              flex-flow: column!important;
    }

    @media screen and (min-width: 64em) {
      div.o-Grid-Col_12.u-full-width {
        display: -webkit-box!important;
        display: -ms-flexbox!important;
        display: flex!important;
        -webkit-box-pack: center!important;
            -ms-flex-pack: center!important;
                justify-content: center!important;
        -webkit-box-align: center!important;
            -ms-flex-align: center!important;
                align-items: center!important;
        -webkit-box-orient: vertical!important;
        -webkit-box-direction: normal!important;
            -ms-flex-flow: column!important;
                flex-flow: column!important;
        left: unset!important;
        margin-left: unset!important;
        margin-right: unset!important;
        position: relative !important;
        right: unset!important;
        width: 100%!important;
      }
    }

    /*blockquote adjustments*/

    .c-Blockquote {
        border-top: 8px double #1e272e;
        padding: 2rem 0;
        border-bottom: 4px solid #1e272e;
        overflow: visible;
        position: relative;
    }

    .c-Blockquote-Icon {
      margin-bottom: .5rem;
      position: absolute;
      left: 50%;
      -webkit-transform: translatex(-50%);
          -ms-transform: translatex(-50%);
              transform: translatex(-50%);
      top: -29px;
      background: #fff;
      border: 8px solid #fff;
      -webkit-box-sizing: content-box;
              box-sizing: content-box;
    }

    .c-Blockquote-Icon path {
      fill: var(--accent-color);
    }

    .c-Blockquote-Txt {
      border: none;
      margin-bottom: .75rem;
      padding: 0;
      max-width: 900px;
      margin: auto;
    }

    .c-Blockquote-Author {
      margin: auto;
      display: block;
      position: relative;
      max-width: 200px;
    }
  }


/*--Footer adjustments*/


  ul.c-Footer-Logos li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position:relative;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 170px;
            flex: 0 0 170px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack:center;
        -ms-flex-pack:center;
            justify-content:center;
    max-width: none;
    padding: 15px;
    margin:10px 20px;
  }

  ul.c-Footer-Logos li:before {
    padding-top: var(--aspect-ratio);
    content: '';
    display: block;
    position:relative;
    width:100%;
    border-radius:0;
  background-color: transparent;
  margin:0;
  }

  ul.c-Footer-Logos li img {
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
          -ms-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%);
      max-height: calc(100% - var(--inset-padding));
      max-width: calc(100% - var(--inset-padding));
  }

  .c-Footer-NavInner {
      display: flex;
      flex-flow: row wrap;
      justify-content: center;
      max-width: 1280px;
  }

  .c-Footer-NavLink {
  	flex: 0 1 auto;
      padding: 0 1em;
      margin: 0.6em!important;
      display: flex;
      align-items: baseline;
      justify-content: center;
      color:#000;
  }

