﻿
/*hide Brightcove title and description*/
.video-js .vjs-dock-title,
.video-js .vjs-dock-description {
    display: none;
}

/*country-select*/

/*global material modal, has to be greater than weglot*/
/*causes other issues with dropdowns*/
/*.md-panel-outer-wrapper {
    z-index: 201 !important;
}*/

/*weglot*/

.wg-default .country-selector {
    position: absolute !important;
    bottom: -100px !important;
}

#weglot-container {
    margin-right: auto;
    margin-left: 10px;
    position: absolute;
    left: 0;
    z-index: 61;
    height: 58px;
    line-height: 58px;
}

.scroll-lock #weglot-container {
    margin-right: 156px;
}

.wg-drop.country-selector:hover,
.wg-drop.country-selector:focus {
    background-color: rgba(158,158,158,0.2);
}

.wg-drop.country-selector .wgcurrent {
    border: none !important;
}

.wg-drop.country-selector .wgcurrent:after {
    display: none !important;
}

.wg-drop.country-selector a {
    height: 32px !important;
    padding-right: 10px !important;
    color: #000 !important;
}

.wg-drop.country-selector li:hover,
.wg-drop.country-selector li:focus {
    background-color: #CFF3FE;
}

.generic-modal-wrapper {
    max-width: 600px;
    margin: auto;
    margin-top: 100px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    justify-content: center;
}

.text-sm {
    font-size: 12px;
}

.text-md {
    font-size: 14px;
}

.text-lg {
    font-size: 16px;
}

/*stops pre tinyMCE elements from overtaking screen width*/
pre {
    white-space: pre-wrap;
}

.modal-scroll-wrapper {
    max-height: calc(100vh - 200px);
    padding: 0 10px;
}

.flex-wrap-limit {
    background-color: transparent;
    max-width: 1200px;
    flex-wrap: wrap !important;
    margin: auto;
}

.flex-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

fieldset legend {
    float: left;
}

/* Screen reader only - hides element visually but keeps it accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.no-margin {
    margin: 0 !important;
}

/*styling for sizing videojs properly*/
.video-js {
    width: 100%;
    padding-bottom: 56.25%;
}

.is-paused + .video-player-close,
.is-playing + .video-player-close {
    display: block !important;
}

.video-player-close {
    display: none !important;
    position: absolute !important;
    min-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    right: 60px;
    top: 10px;
    z-index: 10;
}

.video-player-close:focus {
    outline: -webkit-focus-ring-color auto 5px !important;
}

.error-message {
    margin: auto;
    color: #D0006D;
    text-align: center;
}

.localized-sized-button.es,
.localized-sized-button.fr {
    white-space: normal;
    line-height: 24px !important;
    height: 60px !important;
}

.no-animation {
    -webkit-transition: none !important;
    transition: none !important;
}

.icon-background {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    display: inline-block;
    padding: 4px;
}

.shw-rich-text {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-decoration: inherit;
    line-height: inherit;
}

.shw-rich-text h1 {
    font-size: 2em;
}
.shw-rich-text h2 {
    font-size: 1.5em;
}
.shw-rich-text h3 {
    font-size: 1.17em;
}
.shw-rich-text h4 {
    font-size: 1em;
}
.shw-rich-text h5 {
    font-size: 0.83em;
}
.shw-rich-text h6 {
    font-size: 0.67em;
}

.tox-tinymce {
    max-height: 800px;
}

@media (max-width: 1210px) {
    .flex-wrap-limit {
        max-width: 950px;
    }
}

@media (max-width: 950px) {
    .flex-wrap-limit {
        max-width: 830px;
    }

    .dynamic-grid-cols-x4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

}

@media (max-width: 800px) {
    .flex-wrap-limit {
        max-width: 710px;
    }

    .dynamic-grid-cols-x3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 650px) {
    .flex-wrap-limit {
        max-width: 590px;
    }

    .dynamic-grid-cols-x4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .generic-modal-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .generic-modal-wrapper {
        margin-top: 0;
        display: flex;
        height: 100%;
    }

    .modal-scroll-wrapper {
        overflow: auto;
        max-height: calc(100% - 100px) !important;
        padding: 0 10px;
    }
}

@media (max-width: 500px) {
    .modal-scroll-wrapper {
        max-height: calc(100vh - 120px) !important;
    }

    .flex-wrap-limit {
        max-width: 470px;
    }
}

@media (max-width: 480px) {
    .flex-wrap-limit {
        max-width: 450px;
    }

    .dynamic-grid-cols-x4 {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
