﻿/*html.iphone {
    position: fixed !important;
    bottom: 0;
    width:100%;
    max-height:100% !important;
}*/

.translate-flag {
    display: inline-block;
}

.tflag {
    cursor: hand;
    cursor: pointer;
    width: 28px;
    height: 28px;
    margin-top: 2px;
}

.x-phone .small-text-phone {
    font-size:11px !important;
}

.fullscreengalleryicon {
    background-color: rgba(0,0,0,0.7);
    background-image: url(../images/reader%20icons/expand-gallery-icon.png);
    background-position: center;
    background-size: 30px;
    background-repeat: no-repeat;
    height: 42px;
    width: 42px;
    /*margin:6px;*/
    position: absolute;
    top: 0px;
    right: 0px;
}

.gallery-ad-container {
    text-align: center;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.fg-gallery-mpu {
    width: 300px !important;
    position: absolute;
    /*position: relative;*/
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0px);
    -ms-transform: translate3d(-50%, -50%, 0px);
    -moz-transform: translate3d(-50%, -50%, 0px);
    transform: translate3d(-50%, -50%, 0px);
}

.advert-backdrop {
    -webkit-transform: translate3d(-50%, -50%, 0px);
    -ms-transform: translate3d(-50%, -50%, 0px);
    -moz-transform: translate3d(-50%, -50%, 0px);
    transform: translate3d(-50%, -50%, 0px);
}

.x-landscape.x-phone.x-ios .articlePopover .advertIframe {
    pointer-events: none;
}

/*.articleContentHtml5 *{
    -webkit-user-select:text !important;
    user-select:text !important;
    
}*/

.pauseReadAloud{
    background:url("../images/pause-ic.png") black;
}

.playReadAloud{
    background:url("../images/play-ic.png") black;
}

.stopReadAloud{
    background:url("../images/stop-ic.png") black;
}

.menuItem .playing{
    background: url("../images/no-speech-ic-wht2.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

.overrideBoxSizing:after, .overrideBoxSizing:before{
    -webkit-box-sizing:content-box !important;
    box-sizing:content-box !important;
}

body {
    touch-action: none;
    min-height: 100%;
    max-height: 100%;
    max-width: 100%;
    min-width: 100%;
}

#ext-viewport {
    min-height: 100%;
    max-height: 100%;
    max-width: 100%;
    min-width: 100%;
    /*padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);*/
}

.x-firefox .x-layout-box{
    display:flex !important;
}

.reg-dialog {
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
}

.x-loading-mask {
    z-index:100 !important;
}

.x-mask {
    background: rgba(0,0,0,0.75) center center no-repeat !important;
}
.transparentMask{
    background-color:transparent !important;
}

.backgroundImage {
    background-repeat:no-repeat !important;
    background-size:contain !important;
    background-position:center !important;
}

.backgroundImage.aspectfill {
    background-size:cover !important;
}

.backgroundImage.fillwidth {
    background-size:100% !important;
    background-position:top !important;
}

.splashscreenphone,
.splashscreen {
    width:100%;
    height:100%;
}

.interstitial {
    background:url('../images/interstitial.png');
}

.freeimage {
        background:url('../images/freetrial.png');
    }

.puzzlearchiveitem {
    float:left;
    height:250px;
}

.puzzlearchiveitemphone {
    float:left;
    height:250px;
}

@media screen and (orientation: portrait) {
        html.iphone.safari {
        height: 100% !important;
    }

    .portraitOnly {
        display:block;
    }

    .landscapeOnly {
        display:none;
    }

    .splashscreen {
        background:url('../images/loading screen_portrait.png');
    }

    .splashscreenphone {
        background:url('../images/HC-splash-mobile-portrait.png');
    }

    .archiveitemphone {
        width: 46% !important;
        margin: 0 2% 20px 2% !important;
    }

    .helperphone {
        background:url('../images/branding/mobile-overlay-part1.png');
    }

    .helperphonenext {
        background:url('../images/branding/mobile-overlay-part2.png');
    }

    .helpertablet {
        background:url('../images/helper-portrait-overlay-tablet.png');
    }

    .freeimage {
        background:url('../images/freetrial.png');
    }
	
	.freetablet {
		background:url('../images/freetrial-portrait-overlay-tablet.png');
	}
	
	.freeSubButtonTablet {
		position:absolute;
		top: 63%;
		width: 100%;
		height: 37%;
		z-index:4;
	}
	
	.freeContButtonTablet {
		position:absolute;
		height:63%;
		width:100%;
		z-index:3;
	}
	
	.freephone {
		background:url('../images/freetrial-portrait-overlay-phone.png');
	}
	
	.freeSubButtonPhone {
		position:absolute;
		top: 65%;
		width: 100%;
		height: 35%;
		z-index:4;
	}
	
	.freeContButtonPhone {
		position:absolute;
		height:65%;
		width:100%;
		z-index:3;
	}

    .helperLogo {
        position:absolute;
        top:38%;
        left:0;
        height:11%;
        width:100%;
    }

    .helpertabletButton {
        position:absolute;
        top:55%;
        left:0;
    }

    .helpertabletButtonAndroid{
        position:absolute;
        top:65% !important;
    }

    .helperphoneButton {
        width:100%;
        position:absolute;
        bottom: 50px;
    }

    .puzzlearchiveitem {
        width:33%;
        padding:2%;
    }

    .puzzlearchiveitemphone {
        width:50%;
        padding:2%;
    }

    .interstitial {
    background:url('../images/interstitial.png');
    }

    .interstitialoverlayphone iframe {
        width:320px;
        height:480px;
    }

    .interstitialoverlaytablet iframe {
        width:768px;
        height:1024px;
    }
}

@media screen and (orientation: landscape) {
    .portraitOnly {
        display:none;
    }

    .landscapeOnly {
        display:block;
    }

    .splashscreen {
        background:url('../images/loading screen_landscape.png');
    }

    .splashscreenphone {
        background:url('../images/HC-splash-mobile-ls.png');
    }

    .archiveitemphone {
        width: 30% !important;
        margin: 0 3% 20px 0 !important;
    }

    .helperphone {
        background:url('../images/branding/mobile-overlay-landscape-part1.png');
    }

    .helperphonenext {
        background:url('../images/branding/mobile-overlay-landscape-part2.png');
    }

    .helpertablet {
        background:url('../images/helper-landscape-overlay-tablet.png');
    }
	
	.freetablet {
		background:url('../images/freetrial-landscape-overlay-tablet.png');
	}
	
	.freeSubButtonTablet {
		position:absolute;
		top: 67%;
		width: 100%;
		height: 33%;
		z-index:4;
	}
	
	.freeContButtonTablet {
		position:absolute;
		height:67%;
		width:100%;
		z-index:3;
	}
	
	.freephone {
		background:url('../images/freetrial-landscape-overlay-phone.png');
	}
	
	.freeSubButtonPhone {
		position:absolute;
		top: 70%;
		width: 100%;
		height: 30%;
		z-index:4;
	}
	
	.freeContButtonPhone {
		position:absolute;
		height:70%;
		width:100%;
		z-index:3;
	}

    .helperLogo {
        position:absolute;
        top:38%;
        height:16%;
        width:100vw;
    }

    .helpertabletButton {
        position:absolute;
        top:60%;
        /*top:75%;*/
    }

    .helpertabletButtonAndroid{
        position:absolute;
        top:75% !important;
    }

    .helperphoneButton {
        width:100%;
        position:absolute;
        bottom: 25px;
    }

    .freeimage {
        background:url('../images/freetrial.png');
    }

    .puzzlearchiveitem {
        width:25%;
        padding:2%;
    }

    .puzzlearchiveitemphone {
        width:33%;
        padding:2%;
    }

    .interstitial {
    background:url('../images/interstitial-ls.png');
    }

    .interstitialoverlayphone iframe{
        width:480px;
        height:320px;
    }

    .interstitialoverlaytablet iframe{
        width:1024px;
        height:768px;
    }
}

#bannerAd {
    position:absolute;
    bottom:20px;
    left:calc((100% - 728px) / 2);
    width:728px;
    height:90px;
    background:url('../images/blue-sky-banner-ad.png');
}

.clearText {
    background-color:rgba(0, 0, 0, 0);
    margin-left:35px;
}

.x-mask .x-mask-inner {
    background:rgba(0,0,0,0.5)!important;
}

.x-mask .x-mask-message {
    color:white!important;
}

#splashscreen .x-innerhtml {
    height:100%;
}

#htmlpart .x-innerhtml {
    height: 100%;
}

.videoview .x-innerhtml {
    height: 100%;
}

.flashreader .x-innerhtml {
    height: 100%;
}

.innerhtmlfullheight .x-innerhtml {
    height: 100%;
}

.chicagoregister .x-innerhtml {
    height: 100%;
}

.helperLogo .x-innerhtml {
    height: 100%;
}

figure {
    padding:0; 
    margin:0; 
    height:100%; 
}

.zoomDiv {
    width:auto;
    display:inline-block;
}

.animate {
    transition: .4s ease-out;
}

.mediaDiv {
    z-index: 22222;
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    display:inline-block;
}

.mediaDiv div {
    position: relative;
    display:inline-block;
}

.tileDiv {
    position: absolute;
    background: rgba(0,0,0,0);
    z-index: 11111;
    -webkit-transform-origin: 0px 0px;
    -moz-transform-origin: 0px 0px;
}

.tileImage {
    display:none;
}

@media screen and (orientation: portrait) {
    .landscapeimage {
        display:none !important;
    }
}

.singlepagelandscapeimage {
    display:none !important
}

.chicagoInput{
    width:100% !important;
}

.downloadCheckBox .x-field-input {
    min-width:inherit !important;
}

.readerpage {
    z-index:-10;
}

.readerpage.selecteditem {
    z-index:10;
}

.readerpage .x-scroll-bar-y.active {
    width: 0px !important;
}

.readerpage .x-scroll-bar-x.active {
    height: 0px !important;
}

.readerpage .x-innerhtml {
    height: 100%;
}

.searchDate {
    background-color:#e6e6e6;
    color: #000000;
}

.searchDate.hidden {
    display:none;

}

.blur {
    -webkit-filter: blur(4px);
    -moz-filter: blur(4px);
    -o-filter: blur(4px);
    -ms-filter: blur(4px);
    filter: blur(4px);
}

.tileImageContainer {
    width:50%;
    height: 50%;
    float:left;
}

.tileImageContainer img {
    width:100%;
    height:100%;
}

.x-layout-card-item {
   background: none !important; 
}

.logincontainer {
    background-color:rgba(0,0,0,0.7) !important;
}

.bannerIcon {
    height:14px;
    width:14px;
    border-radius:7px;
    background-color:#b81b23;
    font-size:10px;
    color:white;
    line-height:14px;
    text-align:center;
    padding-left: -2px;
}

.readercontrols {
    color:white;
    font-size: 14px;
}

.readercontrols .playbutton {
    width:26px;
    height:26px;

    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;
}

.playbutton.play {
    background-image:url(../images/play-ic.png)
}

.playbutton.pause {
    background-image:url(../images/pause-ic.png)
}

.readercontrols .togglebox {
    width:calc(100% - 52px);
    display:inline-block;
    vertical-align: top;
    margin-top:5px;
}

.readercontrols .fullscreenbutton {
    width:26px;
    height:26px;
    
    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;

    background-image:url(../images/fullscreen-ic.png)
}

.timeBar {
    width:75px;
}

.x-form .x-scroll-container {
  background-color: #ffffff !important;
}

.dynamicgallery {
    background-color: black !important;
}
