@font-face {
    font-family: 'bold';
    src: url('https://s0.2mdn.net/creatives/assets/4077575/SourceSansPro-Bold.woff') format('woff');
    font-style: normal;
    font-weight: normal;
    font-display: auto;
}

@font-face {
    font-family: 'reg';
    src: url('https://s0.2mdn.net/creatives/assets/4077575/SourceSansPro-Regular.woff') format('woff');
    font-style: normal;
    font-weight: normal;
    font-display: auto;
}

* {
    box-sizing: border-box;
}

html {
    /* Adjust font size */
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    /* Font varient */
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    /* Smoothing */
    text-rendering: optimizeLegibility !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-smoothing: antialiased !important;
    -webkit-font-smoothing: antialiased !important;
}

body {
    margin: 0px;
    width: 300px;
    height: 600px;
}

div, p, span {
    margin: 0px;
    padding: 0px;
}

img {
    border: none;
    vertical-align: top;
    image-rendering: auto;
    backface-visibility: hidden;
    outline: 1px solid transparent;
    /* fix for jagged png in chrome */
    -webkit-backface-visibility: hidden;
    transform: perspective(500px) translateZ(0.1px);
}

a:link {
    text-decoration: none;
    z-index: 100;
    width: 300px;
    height: 600px;
}

.wrapper {
    position: relative;
    width: 300px;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
    background-color: #0e4381;
}

.banner {
    position: absolute;
    width: 300px;
    height: 600px;
    overflow: hidden;
    visibility: hidden;
    background-color: #0e4381;
}

.border {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: solid 1px #f1f1f1;
    z-index: 98;
}

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

/*Add css below*/

#bg3 {
    position: absolute;
    width: 300px;
    height: 600px;
    top: 0;
    left: 0;
    background: #0e4381;
}

#text1 {
    font-family: 'bold';
    font-size: 31px;
    line-height: 28px;
    color: #fff;
    position: absolute;
    top: 185px;
    left: 21px;
    height:93px;
}

#text1 span {
    text-shadow: 0px 6px 28px rgba(3, 7, 8, 0.47);
}

/* #text2 {
    font-family: 'bold';
    font-size: 35px;
    line-height: 28px;
    color: #fff;
    position: absolute;
    top: 144px;
    left: 21px;
    text-shadow: 0px 10px 10px rgba(3, 7, 8, 0.2);
} */

#text3 {
    font-family: 'bold';
    font-size: 35px;
    line-height: 28px;
    color: #fff;
    position: absolute;
    top: 204px;
    left: 21px;
}

#text4 {
    font-family: 'reg';
    font-size: 17px;
    line-height: 17px;
    color: #fff;
    position: absolute;
    top: 158px;
    left: 23px;
}

#cta {
    position: absolute;
    top: 238px;
    left: 22px;
    background: #fff;
    border-radius: 15px;
    width: 117px;
    height: 30px;
}

#cta p {
    font-family: 'bold';
    font-size: 14px;
    color: #0e4381;
    text-align: center;
    position: relative;
    top: 5px;
}

#bg1 img, #sq3 img, #sq4 img, #logo img.business {
    width: 100%;
    height: auto;
}

#logo img.standard {
    position: absolute;
    bottom: 30px;
    left: 90px;
    right: 90px;
    width: 120px;
}

#wrapper img.business, #wrapper.school-business img.standard, #wrapper.school-mbs img.standard {
    display: none;
}

#wrapper.school-business img.business, #wrapper.school-mbs img.business {
    display: block;
}

#text1 span {
    display: block;
    position: relative;
    top:50%;
    -webkit-transform:translateY(-50%);
    -moz-transform:translateY(-50%);
    -o-transform:translateY(-50%);
    transform:translateY(-50%);

}

#text1 span.resized {
    line-height: 1.1em;
}
#text4 span.resized {
    line-height: 1.2em;
}
#text4 span{
    display:block;
}