* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: "Courier New", Courier, monospace;
    color: #FFFFCC;
    font-weight: normal;
    font-size: 1em;
    margin: 0px;
    padding: 0px;
    line-height: 1.5em;
    background-color: black;
    background-color: transparent;
    min-height: 900px;
}

.bg {
    padding: 0px;
    width: 98%;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
    border: 3px solid #FF9;
}

#layer_1 {
    text-align: center;
    margin: 0px;
    padding: 0px;
    left: 0px;
    top: 0px;
    height: auto;
    width: 100%;
    position: absolute;
    z-index: 1;
    background-color: black;
}

.if_trans {
    opacity: 1;
    /*TO TEST MAKE opacity: .5--WHEN DON WITH TEST opacity: 1*/
}

#SLIDESIMG {
    width: 100%;
    height: auto;
    background-color: black;
}

#buttons {
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 2;
    left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 55%;
    visibility: hidden;
}


/* Hide dotted image outline from Firefox and Netscape and IE7*/

a {
    outline: none;
}

#buttons_l {
    position: absolute;
    top: 0px;
    padding-top: 55%;
    width: 100%;
    z-index: 2;
    left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    visibility: hidden;
    /* [disabled]background-color: green; */
}

#buttons_l_16x9 {
    position: absolute;
    top: 0px;
    padding: 0px;
    width: 100%;
    z-index: 2;
    left: 0px;
    margin-top: 279px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    visibility: hidden;
}

#buttons_16x9 {
    text-align: center;
    position: absolute;
    top: 0px;
    padding: 0px;
    width: 100%;
    z-index: 2;
    left: 0px;
    /*margin-top: 279px;*/
    margin-top: 40%;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    visibility: hidden;
}

.center_letter {
    vertical-align: middle;
    display: none;
}

.left_button {
    float: left;
    margin-bottom: 5px;
    visibility: visible;
    width: 13%;
    height: auto;
    visibility: visible;
}

.right_button {
    float: right;
    width: 13%;
    height: auto;
    visibility: visible;
}

#buttons_b {
    position: relative;
    top: 0px;
    padding: 0px;
    width: 100%;
    z-index: 2;
    left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 12px;
    margin-left: 0px;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    overflow: hidden;
}

.middle {
    vertical-align: middle;
}

#layer_books {
    margin: 0px;
    padding: 0px;
    left: 0px;
    top: 0px;
    height: auto;
    width: 100%;
    position: absolute;
    z-index: 1;
    overflow: hidden;
}

.bg_b {
    padding: 0px;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 50px;
}

.bg_w {
    padding: 0px;
    height: auto;
    width: 90%;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    min-width: 540px;
    max-width: 759px;
    text-align: center;
    margin-bottom: 15px;
}

.bg_m {
    padding: 0px;
    height: auto;
    width: 90%;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    min-width: 355px;
    max-width: 518px;
    text-align: center;
    margin-bottom: 15px;
}

.gr {
    color: #99cc99
}

#layer_books p img {
    text-align: center;
}

#layer_books div {
    white-space: nowrap;
}

.center {
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.bg_w2 {
    padding: 0px;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 50px;
    min-width: 596px;
}

.textright {
    text-align: right;
}

a:link {
    color: #FFFF66;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
}

a:visited {
    color: #98FE85;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
}

a:hover {
    color: #72C0F1;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
}

.righttext {
    text-align: right;
}

.bg_2t {
    padding: 0px;
    width: 64%;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
    border: 3px solid #FF9;
}


/*for 16x9 use*/

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
  
    height: 0;
    background-color: transparent;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}


/*for 4x3 use*/

.video-container {
    padding-bottom: 75%;
    padding-top: 0px;
    /*padding-top: 30px; -the solution originally included this padding*/
    height: 0;
    overflow: hidden;
}

.video-container {
    display: inline-block;
    position: relative;
}

.video-container.ended::after {
    content: "";
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hytPlayerWrap {
    display: inline-block;
    position: relative;
}

.hytPlayerWrap IFRAME {
    background-color: black;
}

#FRAME1,
#FRAME3,
#FRAME2,
#FRAME4,
#FRAME5 {
    background-color: transparent;
}

.hytPlayerWrap.ended::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: black;
}

.video_con_fs {
    width: 100%;
    padding-bottom: 75%;
    padding-top: 0px;
    /*padding-top: 30px; -the solution originally included this padding*/
    height: 0;
    overflow: hidden;
}

.video_con_fs iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vanish_phone {
    display: block;
}

.vanish_desktop {
    display: none;
}


/* css for phones */

@media only screen and (orientation: landscape) and (max-device-width :999px) {
    .vanish_phone {
        display: none;
    }
    .vanish_desktop {
        display: block;
    }
}


/* css for phones won't work in iFrame*/

@media only screen and (orientation: portrait) and (max-width: 667px) {
    .center_letter {
        font-size: 2em;
    }
    #buttons {
        padding-top: 50%;
    }
    #buttons_l {
        padding-top: 50%;
        width: 140px;
    }
    .videoWrapper {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 */
        padding-top: 0px;
        height: 0;
    }
    .vanish_phone {
        display: none;
    }
    .vanish_desktop {
        display: block;
    }
}