/* RVBD: Add RVBD customizations for the elements in the header such as logo, accent line, toolbar, etc. */

/* RVBD: 
      Start with global settings for company logo.
      Add ww_skin_company_logo *img* selector for control over the image.
      Specify negative left margin to pull image into position to match position of support site img.
      Unset margin and padding on ww_skin_company_logo div so parent css doesn't interfere.
*/
.ww_skin_company_logo {
    margin: .3vh 0 0 -10px;
}

.ww_skin_company_logo img {
    width: 100%;
    min-width: 180px;
    max-width: 180px;
    margin-top: 0px;
    margin-left: 0px;
}

.layout_narrow .ww_skin_company_logo img {
    min-width: 180px;
    max-width: 180px;
}

/* RVBD: Align and style logo div and logo img for narrow layouts. */
.layout_narrow .ww_skin_company_logo {
    margin: unset;
    text-align: center;
}

/* RVBD: 
      Add global styles for document title and version.
      Add padding-right to document version element in wide layout to align with page toolbar items.
      Add padding-right and border-right on document title element to separate it from document version element.
      Add a little space to left of rvbd-document-version. 
*/
.rvbd-document-title-and-version,
.rvbd-cluster-center {
    font-family: "MuseoSans-300", "OpenSans-Regular", Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    color: #545b5b;
    opacity: 0.75;
    vertical-align: middle;
}

.rvbd-document-title {
    padding-right: 6px;
}

.rvbd-title-version-separator {
    opacity: .3;
}

.layout_narrow .rvbd-title-version-separator {
    display: none;
}

.rvbd-document-version {
    padding-left: 6px;
}

.layout_narrow .rvbd-document-title,
.layout_narrow .rvbd-document-version {
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    margin: unset;
    padding: unset;
    float: unset;
    border: unset;
}

/* RVBD: 
      Add styles for orange-yellow accent line. This line separates the logo and toolbar areas. 
*/
.header-accent-line {
    display: block;
    position: absolute;
    top: 68.3333px;
    left: 0;
    height: 3px;
    width: 100%;
    background-image: linear-gradient(to right, #4E4FA9, #a831d6, #E10098, #FE7351);
}

/* RVBD: 
      Stretch toolbar to max div#toolbar_div width. Set min width. Add background image to nullify ePub default background. 
      Add whitespace above the toolbar.
*/
.ww_skin_toolbar {
    height: 60px;
    width: 100%;
    min-width: 300px;
    padding-top: 8px;
}

/* RVBD: 
      Display all toolbar buttons when they are enabled.
      Set each of the three columns to same width to center. Vertical align in-line elements to middle.
*/
.ww_skin_toolbar_button_enabled,
.ww_skin_toolbar_button_disabled {
    display: inline-block !important;
}

.ww_skin_toolbar_cluster {
    width: 33.33333%;
    vertical-align: middle;
}

.rvbd-cluster-left {
    text-align: left;
}

.rvbd-cluster-center {
    text-align: center;
}

.rvbd-cluster-right {
    text-align: right;
    padding-right: 25px;
}

.ww_skin_toolbar_background_default {
    background: none !important;
    border: none !important;
}

.ww_skin_toolbar_background_selected,
.ww_skin_toolbar_background_selected:hover {    
    background: none !important;
    border: none !important;
}

.ww_skin_toolbar_left_background,
.ww_skin_toolbar_right_background  {
    background: none !important;
    border: none !important;
}

.ww_skin {
    height: unset !important;
    background: none !important;
    background-image: none !important;
    vertical-align: middle;
}

/* RVBD: Add margin and padding to toc icon. */
.ww_skin_toc {
    margin-left: -10px;
}

.layout_narrow .ww_skin_toc {
    margin-left: 15px;
}

.ww_skin_search_form {
    width: 247px;
    height: 36px;
    border-radius: 5px;
    background-color: #ebeff1;
    vertical-align: middle;
}

.layout_narrow .ww_skin_search_form, 
.layout_tall .ww_skin_search_form {
    background-color: transparent;
    width: auto;
}

.panel_overlay .ww_skin_search_form {
    background: transparent;
}

.ww_skin_search_input {
    margin: 0 0 0 12px;
    padding: 2px 2px 1px 4px;
    font-family: "OpenSans-Light", Sans-Serif;
    font-size: 18px;
    color: #545B5B;
    background-color: #ebeff1;
    border: 1px solid #ffffff;
    border-radius: 5px;
    width: 78%;
    vertical-align: unset;
}

.ww_skin_search_input::placeholder {
    font-family: "MuseoSans-100Italic";
    font-size: 16px;
    font-style: italic;
    opacity: 0.5;
}