@font-face {
    font-family: "MyriadPro-Regular";
    src: url("MyriadPro-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "MyriadPro-Bold";
    src: url("MyriadPro-Bold.woff2") format("woff2");
}


/*************** MAIN ELEMENTS ***************/

body {
    margin:0;
    padding:0;	
}

div {
    position:absolute;
}

span {
    display: inline-block;
}

#wrapper {
    display:block;
    top: 0;
    left: 0;
    width: 970px;
    height: 250px;
	overflow: hidden;
    background: -webkit-gradient( linear, left top, left bottom, from(#007df2), to(#359fff));
    background: linear-gradient( #007df2 0%, #359fff 100%);
}

#wrect {
    width: inherit;
    height: inherit;
    background: -webkit-gradient( linear, left top, left bottom, from(#007df2), to(#359fff));
    background: linear-gradient( #007df2 0%, #359fff 100%);
    pointer-events: none;
}

#border {
    border: 1px solid #d6d6d6; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
    width: inherit;
    height: inherit;
    pointer-events: none;
}

#bgexit {
    width: inherit;
    height: inherit;
    cursor: pointer;
}

#default {
    width: inherit;
    height: inherit;
    cursor: pointer;
    background: url("backup_970x250.jpg") no-repeat;
    display: none;
}

/******************** LOGO ********************/

#logo {
    cursor: pointer;
    width: 130px;
    height: 36px;
    bottom: 9px;
    right: 53px;
    background: url("logo.svg") 50% 50% no-repeat;
}

#ehl {
    background: url("ehllogo.svg") 50% 50% no-repeat; 
    width: 25px;
    height: 25px;
    right: 200px;
    bottom: 17px;
}

/******************** BUTTON ********************/

#cta {
    width: 215px;
    height: 45px;
    right: 30px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 8px;
    text-align: center;
    line-height: 47px;
    font-weight: 600;
    font-family: 'MyriadPro-Bold', sans-serif;
	font-size: 18px;
    cursor: pointer;
    background: #f6921e;
    color: #fff;
    -webkit-transition: background 0.3s, color 0.3s;
    transition: background 0.3s, color 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

#cta:hover {
	background: #FFF;
    color: rgba(0, 0, 0, 0.3);
}

/******************** TEXT ********************/

#maintext {
    width: 270px;
    height: 110px;
    left: 35px;
    top: 50px;
    text-align: center;
    font-family: 'MyriadPro-Bold', sans-serif;
    font-weight: 600;
    color: #fff;
}

#maintext > span {
    display: inline-block;
}

#aprnumber {
    font-size: 75px;
    line-height: 80%;
    padding-top: 10px;
}

#mainrate {
    font-size: 33px;
}

#aslowas {
    font-size: 18px;
    line-height: 100%;
    font-family: 'MyriadPro-Regular', sans-serif;
    font-weight: 400;
}

#percapr {
    line-height: 120%;
}

#perc {
    font-size: 46px;
}

#percapr {
    font-size: 18px;
    font-family: 'MyriadPro-Regular', sans-serif;
    font-weight: 400;
}

#disclaimer {
    color: #fff;
    font-size: 11px;
    width: 215px;
    height: auto;
    right: 30px;
    bottom: 60px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    line-height: 110%;
}

#rates {
    width: 350px;
    height: 160px;
    left: 53%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #323232;
    font-size: 15px;
    font-family: 'MyriadPro-Regular', sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 1px solid #fff;
    overflow: hidden;
    
}

.textline {
    height: 33%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    color: #fff;
}

.name {
    width: 88%;
    height: 0;
    padding-top: 5px;
}

.rate {
    width: 24%;
    height: 15px;
}

.apr {
    width: 58%;
    height: 15px;
}

.line {
    width: 100%;
    height: 1px;
    background: #FFF;
}

.arrow {
    background: url("arrowhite.svg") no-repeat;
    height: 20px;
    width: 20px;
    display: inline-block;
    right: 5px;
}

#ctarrow {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: url("arrow.svg") no-repeat;
}

/******************** IMAGE ********************/

#roof {
    width: 240px;
    height: 80px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: url("roof.png") no-repeat;
    background-size: contain;
    bottom: -5px;
}