#block-minimal-page-title {
    position: absolute;
    left: -10000rem;
    top: -10000rem;
}

body,html {
    padding: 0;
    margin: 0;
}





/* Popup styles */
/* @todo Move this to separate library file when aggregation issue is solved */

html.popup-enabled,
html.popup-enabled body {
    overflow: hidden;
    padding-bottom: 400rem;
}

.main-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.6);
	z-index: 20000;
	
	display: none;
	text-align: left;
}

.main-popup > .close-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.main-popup > .centerPosition {
    left: 50%;
    top: 50%;
    height: 0;
    width: 0;
    position: absolute;
}

.main-popup > .centerPosition > .outer {
    position: absolute;
    left: -20rem;
    width: 40rem;
    background-color: white;
    color: black;
}



.main-popup > .centerPosition > .outer > .inner {
    padding: 1rem 1rem;
}

/* Portrait calibrations */

@media (min-width: 701px) and (orientation: portrait) {

    .main-popup > .centerPosition > .outer > .close {
        right: -1.5rem;
        top: -1.5rem;
        width: 3rem;
        height: 3rem;
        text-indent: -1000rem;
        border-radius: 10rem;
        border: 0.12rem solid white;
        position: absolute;
        background-color: #18365f;
    }

    .main-popup > .centerPosition > .outer > .close:after {
        content: "X";
        font-size: 1.25rem;
        text-align: center;
        width: 100%;
        display: block;
        color: white;
        position: absolute;
        left: 0;
        top: 0.5rem;
        z-index: 25000;
        text-indent: 0;
    }

}
@media (max-width: 700px) and (orientation: portrait) {

    .main-popup > .centerPosition > .outer > .close {
        text-align: right;
        position: absolute;
        padding: 0.15rem;
        bottom: 102%;
        color: white;
        left: 0;
        width: 100%;

    }

}



/* Landscape calibrations */

@media (min-height: 481px) and (orientation: landscape) {

    .main-popup > .centerPosition > .outer > .close {
        right: -1.5rem;
        top: -1.5rem;
        width: 3rem;
        height: 3rem;
        text-indent: -1000rem;
        border-radius: 10rem;
        border: 0.12rem solid white;
        position: absolute;
        background-color: #18365f;
    }

    .main-popup > .centerPosition > .outer > .close:after {
        content: "X";
        font-size: 1.25rem;
        text-align: center;
        width: 100%;
        display: block;
        color: white;
        position: absolute;
        left: 0;
        top: 0.5rem;
        z-index: 25000;
        text-indent: 0;
    }

}
@media (max-height: 480px) and (orientation: landscape) {

    .main-popup > .centerPosition > .outer > .close {
        text-align: right;
        position: absolute;
        padding: 0.15rem;
        bottom: 102%;
        color: white;
        left: 0;
        width: 100%;

    }

}