#magazine .turn-page {
    /* background-color: #ccc; */
}

html {
    height: 100%;
}

body {
    background-color: #012353;
    /* height: 100%; */
    margin: 0;
    overflow: hidden;
    /* height: 100%; */
    /* padding: 30px 0; */
}

.container {
    height: 100%;
}

.wrapper {
    align-items: center;
    display: flex;
    height: 90%;
    justify-content: center;
    margin: 0 5%;
    width: 90%;
}

.aspect {
    padding-bottom: 70%;
    position: relative;
    width: 100%;
}

.aspect-inner {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

#magazine {
    /* width: 400px; */
    /* height: 300px; */
    position: relative;
    /* max-width: 1403px;
	max-height: 992px; */
    height: 100%;
    width: 100%;
    margin: 16px auto !important;
    /* height: 80% !important; */
    transition: margin-left 0.25s ease-out;
    /* width: 90% !important; */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: margin-left 0.2s ease-in-out;
    -moz-transition: margin-left 0.2s ease-in-out;
    -o-transition: margin-left 0.2s ease-in-out;
    -ms-transition: margin-left 0.2s ease-in-out;
    transition: margin-left 0.2s ease-in-out;
}

#magazine .page {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    max-height: 1200px;
    background: #012353;
    /* object-fit: contain; */
    /* height: 75% !important;
	object-fit: cover; */
}

#magazine .page img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

#magazine .hard {
    /* background: #ccc !important; */
    color: #333;
    -webkit-box-shadow: inset 0 0 5px #666;
    -moz-box-shadow: inset 0 0 5px #666;
    -o-box-shadow: inset 0 0 5px #666;
    -ms-box-shadow: inset 0 0 5px #666;
    box-shadow: inset 0 0 5px #666;
    font-weight: bold;
}

div.flip-control {
    text-align: center;
    justify-content: space-between;
    display: flex;
    position: absolute;
    width: 96%;
    top: 50%;
    margin-top: -50px;
    margin-left: 2%;
}

.last_pg_background {
    background: #fff;
    width: 80%;
    height: fit-content;
    margin: auto;
    padding: 48px;
    max-width: 1650px;
}

#lastImage {
    background: #012353;
    margin: auto;
    padding: 15px;
}

#lastImage>img {
    height: auto !important;
}

#magazine .page .premier_logo {
    max-width: 300px;
    height: auto;
    width: 100%;
    /* margin-top: 24px; */
}

#magazine .page .how_reach_us {
    width: 100%;
    margin: 0px 0 0 100px;
    max-width: 400px;
}

#magazine .page .support {
    /* margin: 35px 0 0 100px; */
    width: 100%;
    max-width: 600px;
}

.flex_container {
    display: flex;
    margin-bottom: 36px;
    margin: 35px 0 36px 100px;
}

.flex_container>div>img {
    height: auto !important;
}

.phone_number {
    display: flex;
    flex-direction: column;
    align-items: start;
    align-self: end;
    margin-left: 36px;
}

div.flip-control a {
    margin-left: 10px;
}

.flip-control {
    width: 100%;
}

.flip-control img {
    height: 50px;
    z-index: 9999;
    position: relative;
}

.flip-control img:hover {
    opacity: 0.6;
}

.fb_logo {
    /* display: flex;
	position: fixed;
	width: 200px;
	height: 50px;
	z-index: 99999;
	top: 81.5%;
	right: 26.5%; */
}

.fb_logo img {
    /* width: 3vw; */
    /* height: 4vh !important; */
    /* margin: 0 8px; */
    margin-right: 8px;
    margin-bottom: 8px;
    /* position: absolute; */
    z-index: 9999999999999;
    background: transparent;
    cursor: pointer;
    /* top: 82%; */
    /* right: 25.5%; */
}

@media (max-width: 1399px) {
    #magazine .page .premier_logo {
        max-width: 250px;
        margin-top: 0px;
        margin-left: -8px;
    }
    #magazine .page .how_reach_us {
        margin: 12px 0 0 80px;
        max-width: 300px;
    }
    #magazine .page .support {
        max-width: 500px;
        margin: 0px 0 0 -12px;
    }
}

@media (max-width: 1199px) {
    #magazine .page .premier_logo {
        max-width: 250px;
        margin-top: 0px;
        margin-left: -8px;
    }
    #magazine .page .how_reach_us {
        margin: 12px 0 0 45px;
        max-width: 200px;
    }
    #magazine .page .support {
        max-width: 400px;
        margin: 0px 0 0 -45px;
    }
}

@media (max-width: 991px) {
    #magazine .page .premier_logo {
        max-width: 150px;
        margin-top: 0px;
        margin-left: -8px;
    }
    #magazine .page .how_reach_us {
        margin: 12px 0 0 40px;
        max-width: 200px;
    }
    #magazine .page .support {
        max-width: 300px;
        margin: 0px 0 0 -15px;
    }
    .flex_container {
        margin: 18px 0 36px 60px;
    }
    .last_pg_background {
        padding: 24px;
    }
    .fb_logo img {
        width: 32px;
    }
}

@media (max-width: 768px) {
    .flex_container {
        flex-direction: column;
        margin-left: unset;
    }
    #magazine .page .support {
        max-width: 450px;
        margin: auto auto 12px;
    }
    .phone_number {
        align-self: auto;
    }
}

@media (max-width: 576px) {
    div.flip-control {
        justify-content: space-between;
        width: 90%;
        top: 75%;
        margin-top: -50px;
        margin-left: 5%;
    }
}

@media (max-height: 420px) {
    .flip-control img {
        height: 50px;
    }
    /* div.flip-control {
        width: 94%;
        margin-left: 2%;
    } */
    #magazine .page {
        max-height: 350px;
    }
}

@media (max-height: 1000px) {
    #magazine .page .premier_logo {
        height: 80px;
        width: 200px;
    }
    #magazine .page .how_reach_us {
        margin-left: 42px;
        max-width: 300px;
    }
    #magazine .page .support {
        max-width: 400px;
    }
    .flex_container {
        margin-left: 42px;
    }
    .last_pg_background {
        max-width: 800px;
        padding: 36px;
    }
}