﻿html, body, #SandboxFrame {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
}

html, body {
    overflow: hidden;
    font-family: 'Arial';
    font-size: 14px;
    color: #111;
}

#PageContent {
    display: table;
    width: 100%;
    height: 100%;
}

#dvPageContent {
    width: 100%;
    height: 100%;
}

#CookieBannerWrapper {
    display: table-row;
    width: 100%;
}

#divBVHeader {
    display: table-row;
    padding-top: 0px;
    width: 100%;
}

#divContent {
    display: table-row;
    background-color: #ffffff;
    height: 100%;
}

#sandboxContent {
    background-color: #ffffff;
    height: 100%;
}

#formBVHeader {
    margin: 0;
    padding: 0;
    display: block;
    background-color: #f9f9f9;
}

#divSrc, #divTgt {
    margin: 0px;
    padding: 0px;
    height: 100%;
}

/* iFrame styles */
#divTgtFrm {
    height: 100%;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

#frmTgt {
    display: block;
    border: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

#bvSecurePageWarning {
    margin: 0;
    padding: 0 1em;
    background: #fff3b5;
    color: #000;
    font-family: "Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
    border-bottom: 1px #ddd solid;
    font-size: 12px;
    text-align: center;
}

    #bvSecurePageWarning > .bvwarningcontent {
        padding: 0.75em 0;
        display: inline-table;
    }

[dir="ltr"] #bvSecurePageWarning > .bvwarningcontent {
    text-align: left;
}

[dir="rtl"] #bvSecurePageWarning > .bvwarningcontent {
    text-align: right;
}

#msccBanner {
    border-bottom: 1px #ddd solid;
}

#headerContainer {
    padding: 7px 12px;
    box-sizing: border-box;
    -webkit-transition: max-height 0.2s ease;
    -moz-transition: max-height 0.2s ease;
    -o-transition: max-height 0.2s ease;
    transition: max-height 0.2s ease;
    max-height: 140px;
}

    #headerContainer.hide-controls {
        max-height: 56px;
    }

.cell {
    display: inline-block;
    vertical-align: middle;
    padding: 5px 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-transition: opacity 0.2s ease, visibility 0.2s ease;
    -moz-transition: opacity 0.2s ease, visibility 0.2s ease;
    -o-transition: opacity 0.2s ease, visibility 0.2s ease;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    opacity: 1;
}

    .cell.hide-control {
        opacity: 0;
        visibility: hidden;
    }

#hamburgerMenu {
    background: transparent url(../img/HamburgerIcon.png) no-repeat;
    background-image: url(../img/HamburgerIcon.svg);
    background-size: contain;
    display: inline-block;
    overflow: hidden;
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

[dir="ltr"] #hamburgerMenu {
    margin-right: 8px;
}

[dir="rtl"] #hamburgerMenu {
    margin-left: 8px;
}

#productTitle {
    font-weight: bold;
    vertical-align: middle;
    font-size: 18px;
    font-family: 'Segoe UI', sans-serif;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

#MTLogo, #MTLogo2 {
    width: 26px;
    height: 26px;
    padding: 3px 0;
    vertical-align: middle;
    display: block;
}

#MTLogoContainer {
    display: inline-block;
}

[dir="ltr"] #MTLogoContainer {
    float: right;
}

[dir="rtl"] #MTLogoContainer {
    float: left;
}

#MTLogo2Container {
    display: none;
}

[dir="ltr"] #MTLogo2Container {
    float: right;
    padding-right: 0;
}

[dir="rtl"] #MTLogo2Container {
    float: left;
    padding-left: 0;
}

#urlSelectorContainer {
    display: table;
    border-radius: 2px;
    text-align: center;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    height: 32px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 3px 0 rgba(0,0,0,0.1);
}

#inpUrlContainer {
    display: table-cell;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0 10px;
}

#inpUrl {
    border: 0;
    width: 100%;
    height: 100%;
    padding: 1px 0;
    outline: none;
    box-sizing: border-box;
    font-size: 14px;
    color: #444;
}

    #inpUrl:-webkit-autofill {
        -webkit-box-shadow: inset 0 0 0px 9999px white;
    }

#translateButton {
    display: table-cell;
    background: #107C10;
    color: white;
    padding: 1px 10px;
    border: 0;
    border-radius: 2px;
    margin: 2px;
    height: 28px;
    font-size: 14px;
    -webkit-appearance: none;
}

#languageSelectorTable {
    display: table;
    width: 100%;
    box-sizing: border-box;
}

    #languageSelectorTable label {
        display: table-cell;
        white-space: nowrap;
    }

[dir="ltr"] #LangPair_FromLabel {
    padding-right: 8px;
}

[dir="rtl"] #LangPair_FromLabel {
    padding-left: 8px;
}

#LangPair_ToLabel {
    padding: 0 8px;
}

select {
    height: 32px;
    border: none;
    width: 100%;
    border-radius: 2px;
    display: table-cell;
    font-size: 14px;
    background: white;
    color: #444;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 3px 0 rgba(0,0,0,0.1);
}

[dir="ltr"] select {
    padding-left: 5px;
}

[dir="rtl"] select {
    padding-right: 5px;
}

#progressBarContainer {
    height: 1px;
    background: #f9f9f9;
    width: 100%;
    border-bottom: 1px #ddd solid;
}

#progressBar {
    width: 0%;
    background: #0078D7;
    height: 2px;
    -webkit-transition: width .5s, opacity 0.5s;
    -moz-transition: width .5s, opacity 0.5s;
    -o-transition: width .5s, opacity 0.5s;
    transition: width .5s, opacity 0.5s;
}

#menu {
    position: absolute;
    z-index: 1000;
    background-color: #f9f9f9;
    line-height: normal;
    overflow: hidden;
    top: 54px;
    width: 100%;
    height: 100%;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 3px 0 rgba(0,0,0,0.1);
}

[dir="ltr"] #menu {
    right: 100%;
}

[dir="rtl"] #menu {
    left: 100%;
}

#menu a {
    outline: none;
}

a.menu-section {
    color: #111;
    text-decoration: none;
}

a.menu-section:hover, a.menu-section:focus {
    background: #ececec;
    text-decoration: underline;
}

.menu-section {
    display: block;
    position: relative;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    white-space: nowrap;
}

    .menu-section:last-child {
        border-bottom: 0;
    }

.slide-up {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

[dir="ltr"] .slide-down {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}

[dir="rtl"] .slide-down {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
}

#menuFooter {
    display: table;
    font-size: 80%;
}

a.menuFooterItem {
    color: #666;
    text-decoration: none;
}

a.menuFooterItem:hover, a.menuFooterItem:focus {
    text-decoration: underline;
}

.menuFooterItem {
    display: table-cell;
    padding: 0 5px;
}

[dir="ltr"] .menuFooterItem {
    border-right: 1px solid rgba(0,0,0,0.2);
}

    [dir="ltr"] .menuFooterItem:first-child {
        padding-left: 0;
    }

    [dir="ltr"] .menuFooterItem:last-child {
        padding-right: 0;
        border-right: 0;
    }

[dir="rtl"] .menuFooterItem {
    border-left: 1px solid rgba(0,0,0,0.2);
}

    [dir="rtl"] .menuFooterItem:first-child {
        padding-right: 0;
    }

    [dir="rtl"] .menuFooterItem:last-child {
        padding-left: 0;
        border-left: 0;
    }

/* If you area changing thead min-width here, please update thead same input BVLayout.OnFrameRendered() and BVLayout.Sync() */
@media only screen and (min-width: 600px) {
    html, body {
        font-size: 13px;
    }

    #bvSecurePageWarning {
        padding: 0 1.65em;
        font-size: 13px;
    }

    #headerContainer {
        padding: 7px 24px;
    }

    #translateButton {
        font-size: 13px;
    }

    #inpUrl {
        font-size: 13px;
    }

    select {
        font-size: 13px;
    }

    #urlSelector, #languageSelector {
        width: 50%;
    }

    [dir="ltr"] #languageSelector {
        padding-left: 20px;
        float: right;
    }

    [dir="rtl"] #languageSelector {
        padding-right: 20px;
        float: left;
    }

    #menu {
        height: auto;
        width: auto;
    }
}

@media only screen and (min-width: 1024px) {
    .cell {
        width: auto;
    }

    [dir="ltr"] .cell {
        padding-right: 40px;
    }

    [dir="rtl"] .cell {
        padding-left: 40px;
    }

    #bvSecurePageWarning {
        padding: 0;
    }

        #bvSecurePageWarning > .bvwarningcontent {
            width: 90%;
            max-width: 1600px;
        }

    #MTLogoContainer {
        display: none;
    }

    #MTLogo2Container {
        display: inline-block;
    }

    #urlSelector {
        width: 33%;
        max-width: 400px;
    }

    #languageSelector {
        width: auto;
        max-width: 40%;
    }

    [dir="ltr"] #languageSelector {
        padding-left: 0;
        float: none;
    }

    [dir="rtl"] #languageSelector {
        padding-right: 0;
        float: none;
    }

    #languageSelectorTable {
        width: auto;
    }

    #menu {
        top: 58px;
    }
}

#bvPageErrorPane {
    font-family: "Segoe UI";
    text-align: center;
    background: #f3f3f3;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #000;
    display: none;
    height: 100%;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.bvErrorContainer {
    padding: 0;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
}

#bvErrorIcon {
    padding: 5px;
    margin: auto;
    width: 211px;
    height: 135px;
    background-size: contain;
}

#bvErrorTitle {
    font-size: 24px;
    margin: 0;
    padding: 20px 5px;
}

.BvErrorTitle {
    display: none;
    padding: 0;
    margin: 0;
}

.errorHighlight {
    color: #0093ff;
}

#bvErrorDetails {
    font-size: 14px;
    margin: 0;
    padding: 4px;
    color: #888;
    display: none;
}