- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
- 238
- 239
- 240
- 241
- 242
- 243
- 244
- 245
- 246
- 247
- 248
- 249
- 250
- 251
- 252
- 253
- 254
- 255
- 256
- 257
- 258
- 259
- 260
- 261
- 262
- 263
- 264
- 265
- 266
- 267
- 268
- 269
- 270
- 271
- 272
- 273
- 274
- 275
- 276
- 277
- 278
- 279
- 280
- 281
- 282
- 283
- 284
- 285
- 286
- 287
- 288
- 289
- 290
- 291
- 292
- 293
- 294
- 295
- 296
<style id="lang_select_styles">
#lang-menu {
padding-top: 4rem;
padding-bottom: 4rem;
text-align: justify;
}
#lang-menu span#simplified_langselect_title, #lang-menu span#simplified_langselect_title span {
text-transform: none;
font-size: 1.75rem;
display: inline;
padding-top: 0;
padding-bottom: 0;
font-weight: bold;
color: white;
}
#lang-menu span#simplified_langselect_title {
font-family: GothamThin;
}
#lang-menu span#simplified_langselect_title strong {
font-family: GothamMedium;
}
#midline {
}
@media (max-width: 1080px){
#lang-menu span#simplified_langselect_title {
max-width: 16em;
}
}
#simp_container {
width: 65em;
max-width: 90%;
margin: 0 auto;
display: flex;
flex-flow: row nowrap;
justify-content: flex-start;
position: relative;
}
#lang-menu #simp_container button {
-webkit-appearance: none;
background: transparent;
border: 2px solid gold;
border-radius: 5px;
padding: 1em 2em;
color: gold;
text-transform: uppercase;
font-family: GothamMedium;
font-size: 1.05em;
transform: translateY(-.5em);
cursor: pointer;
margin-left: 4.5em;
min-width: 17.5em;
position: absolute;
right: 4.6em;
top: .1em;
transition-property: all;
transition-duration: 333ms;
transform: translateZ(0) translateY(-7px);
}
#lang-menu #simp_container button svg * {
stroke: gold;
fill: gold;
}
#lang-menu #simp_container button:hover svg *, #lang-menu #simp_container button:focus svg *, #lang-menu #simp_container button.hangfocus svg * {
stroke: black;
fill: black;
}
/*** TABLET ***/
@media (max-width: 900px){
#simp_container {
flex-flow: column;
justify-content: center;
align-items: center;
}
#lang-menu #simp_container button {
position: static;
margin: 1em auto;
}
}
#lang-menu #simp_container button:hover, #lang-menu #simp_container button:focus, #lang-menu #simp_container button.hangfocus {
transition-property: all;
transition-duration: 333ms;
color: black;
background: gold;
transform: translateZ(0) translateY(-7px);
}
#simp_container ul {
}
#simp_selectmenu {
visibility: visible;
position: absolute;
width: 70.2em;
left: -10em;
top: 2.7em;
background: gold;
padding: 2em;
z-index: 100;
box-sizing: border-box;
max-width: 98vw;
border-radius: 5px;
transform: scale(.8) translateY(-20%);
opacity: 0;
will-change: transform, opacity;
}
#simp_selectmenu.show {
transition-property: opacity, transform;
transition-duration: 200ms, 300ms;
transition-timing-function: ease-out, ease-in;
opacity: 1;
transform: scale(1) translateY(0);
will-change: unset;
}
@media (max-width: 1400px){
#simp_selectmenu {
left: -2.5em;
}
}
#simp_selectmenu ul {
list-style: none;
display: flex;
flex-flow: row wrap;
justify-content: space-around;
position: relative;
}
#simp_selectmenu ul li {
width: 9.8em;
cursor: pointer;
}
#simp_selectmenu ul li a {
text-decoration: none;
color: inherit;
}
#simp_selectmenu ul li small {
font-size: .8em;
}
#simp_selectmenu ul li:nth-child(6n+1){
width: 11em;
}
#simp_selectmenu ul li:nth-child(6n+2){
width: 9em;
}
#simp_selectmenu ul li:nth-child(6n+4){
width: 8em;
}
#simp_selectmenu ul li:nth-child(6n+3){
width: 9.5em;
}
#simp_selectmenu ul li:nth-child(6n+6){
width: 8em;
}
#simp_selectmenu ul li:nth-child(-n+6){
font-family: GothamMedium;
margin-bottom: 1.5em;
}
#simp_selectmenu ul li:nth-child(n+7){
font-weight: 100;
margin: .55em 0;
font-family: GothamLight;
}
#simp_selectmenu ul li:nth-child(6)::after{
content: '';
display: block;
width: 100%;
position: absolute;
top: 2.4em;
left: 0;
border-bottom: 1px solid rgba(0,0,0,.1);
}
@media (max-width: 1000px){
#simp_selectmenu ul li {
width: 50%!important;
text-align: center;
}
#simp_selectmenu ul li:nth-child(6)::after{
top: 8em;
}
}
</style>
<script async defer>
var closexmarkup = '<svg style="margin-left: .75em;" height=1em id="closex" version=1.1 viewBox="37 24 16 15"width=1em xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink><title>cancel</title><desc>Created with Sketch.</desc><defs><filter filterUnits=objectBoundingBox height=146.4% id=filter-1 width=113.5% x=-6.8% y=-19.4%><feOffset dx=0 dy=12 in=SourceAlpha result=shadowOffsetOuter1></feOffset><feGaussianBlur in=shadowOffsetOuter1 result=shadowBlurOuter1 stdDeviation=22.5></feGaussianBlur><feColorMatrix in=shadowBlurOuter1 result=shadowMatrixOuter1 type=matrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.318953804 0"></feColorMatrix><feMerge><feMergeNode in=shadowMatrixOuter1></feMergeNode><feMergeNode in=SourceGraphic></feMergeNode></feMerge></filter><path d="M4.52177819,5.00153414 L0.0953552873,9.4588811 C-0.0276182663,9.58271378 -0.0276182663,9.78333215 0.0953552873,9.90716483 C0.156763936,9.96915984 0.237392086,10 0.317863979,10 C0.398492129,10 0.478964022,9.96915984 0.540372671,9.90716483 L5.00007813,5.4163028 L9.45978359,9.90716483 C9.52134849,9.96915984 9.60182038,10 9.68229228,10 C9.76276417,10 9.84339232,9.96915984 9.90480097,9.90716483 C10.0277745,9.78333215 10.0277745,9.58271378 9.90480097,9.4588811 L5.47853432,5.00153414 L9.90776983,0.541040226 C10.0307434,0.41720755 10.0307434,0.216589173 9.90776983,0.0927564965 C9.78479628,-0.0309188322 9.58556975,-0.0309188322 9.46275245,0.0927564965 L5.00023438,4.58676548 L0.537247549,0.0929138442 C0.414273995,-0.0307614844 0.215203719,-0.0307614844 0.0922301652,0.0929138442 C-0.0307433884,0.216746521 -0.0307433884,0.417364897 0.0922301652,0.541197574 L4.52177819,5.00153414 Z"id=path-2></path></defs><g id=Page-1 fill-rule=evenodd fill=none stroke=none stroke-width=1><g id="Spanish-->-List-Expanded"transform="translate(-1126.000000, -481.000000)"fill-rule=nonzero><g id=Text/CTA transform="translate(125.000000, 488.000000)"filter=url(#filter-1)><g id=Language-Dropdown transform="translate(810.000000, 0.000000)"><g id=cancel transform="translate(232.000000, 21.000000)"><g id=Shape><use fill=#313131 fill-rule=evenodd xlink:href=#path-2></use><path d="M3.81711385,5.00154035 L-0.262551781,0.893518124 C-0.579149406,0.574708672 -0.579149406,0.0594027455 -0.262327734,-0.259632175 C0.0561355226,-0.579912811 0.573342191,-0.579912811 0.89201716,-0.259419128 L5.00020954,3.87718439 L9.1079705,-0.259564054 C9.42629033,-0.580107737 9.94382711,-0.580107737 10.2625518,-0.259564054 C10.5791494,0.0592453978 10.5791494,0.574551325 10.2625642,0.893348261 L6.18317398,5.00152793 L10.2595829,9.10656055 C10.5761805,9.42537 10.5761805,9.94067593 10.2600303,10.2590343 C10.1054348,10.415106 9.89735367,10.5 9.68229228,10.5 C9.4673679,10.5 9.25964386,10.415208 9.10500164,10.2594854 L5.00007811,6.12588387 L0.895601991,10.2590343 C0.740991793,10.4151208 0.533054226,10.5 0.317863979,10.5 C0.102802588,10.5 -0.105278495,10.415106 -0.259426659,10.2594854 C-0.576024284,9.94067593 -0.576024284,9.42537 -0.259426659,9.10656055 L3.81711385,5.00154035 Z"stroke=#313131 stroke-width=1></path></g></g></g></g></g></g></svg>';
var triuanglemarkup = '<svg style="margin-left: .75em;" height=1em id="triangledown" version=1.1 viewBox="35 26 25 20"width=1em xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink><title>Triangle</title><desc>Created with Sketch.</desc><defs><filter filterUnits=objectBoundingBox height=394.0% id=filter-1 width=115.0% x=-7.5% y=-123.0%><feOffset dx=0 dy=12 in=SourceAlpha result=shadowOffsetOuter1></feOffset><feGaussianBlur in=shadowOffsetOuter1 result=shadowBlurOuter1 stdDeviation=22.5></feGaussianBlur><feColorMatrix in=shadowBlurOuter1 result=shadowMatrixOuter1 type=matrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.318953804 0"></feColorMatrix><feMerge><feMergeNode in=shadowMatrixOuter1></feMergeNode><feMergeNode in=SourceGraphic></feMergeNode></feMerge></filter></defs><g id=Page-1 fill=none fill-rule=evenodd stroke=none stroke-width=1><g id="Spanish-->-Button-Hover"transform="translate(-1124.000000, -476.000000)"fill=#313131><g id=Select-a-language transform="translate(0.000000, 447.000000)"><g id=Text/CTA transform="translate(229.000000, 41.000000)"filter=url(#filter-1)><g id=Language-Dropdown transform="translate(706.000000, 0.000000)"><polygon id=Triangle points="237 19 247 32 227 32"transform="translate(237.000000, 25.500000) scale(1, -1) translate(-237.000000, -25.500000) "></polygon></g></g></g></g></g></svg>';
var langmenumarkup = '<div id=simp_container><span id=simplified_langselect_title><strong>Learn <span>Spanish (Latin America)</span></strong> <span id=midline>like a native.</span></span> <button id=simp_changelang>Change Language</button><div id=simp_selectmenu aria-labelledby=simp_changelang role=dialog style=visibility:hidden;position:absolute><ul class=top><li id=esp tabindex=0>Spanish <small>(Latin America)</small><li id=chi tabindex=0>Chinese <small>(Mandarin)</small><li id=eng tabindex=0>English <small>(American)</small><li id=fra tabindex=0>French<li id=deu tabindex=0>German<li id=ita tabindex=0>Italian<li id=ara tabindex=0>Arabic<li id=tgl tabindex=0>Filipino <small>(Tagalog)</small><li id=ind tabindex=-1><a href=/learn-indonesian>Indonesian</a><li id=lat tabindex=-1><a href=/learn-latin>Latin</a><li id=por tabindex=0>Portuguese <small>(Brazil)</small><li id=sve tabindex=0>Swedish<li id=dar tabindex=-1><a href=/learn-dari>Dari</a><li id=grk tabindex=0>Greek<li id=gle tabindex=0>Irish<li id=pas tabindex=-1><a href=/learn-pashto>Pashto</a><li id=rus tabindex=0>Russian<li id=tur tabindex=0>Turkish<li id=ned tabindex=0>Dutch<li id=heb tabindex=0>Hebrew<li id=jpn tabindex=0>Japanese<li id=far tabindex=0>Persian <small>(Farsi)</small><li id=esc tabindex=0>Spanish <small>(Spain)</small><li id=uru tabindex=-1><a href=/learn-urdu>Urdu</a><li id=ebr tabindex=0>English <small>(British)</small><li id=hin tabindex=0>Hindi<li id=kor tabindex=0>Korean<li id=pol tabindex=0>Polish<li id=kis tabindex=-1><a href=/learn-swahili>Swahili</a><li id=vie tabindex=0>Vietnamese</ul></div></div>';
function addTriangle(){
//debugger;
$('#simp_changelang').find('svg').remove();
$('#simp_changelang').append($(triuanglemarkup));
}
function addCloseX(){
//debugger;
$('#simp_changelang').find('svg').remove();
$('#simp_changelang').append($(closexmarkup));
}
$(function(){
$('#lang-menu').empty();
$('#lang-menu').append(langmenumarkup);
$('#lang-menu button').on('click', function(e){
var $t = $(this);
var $b = $t.find('b');
var show = !($t.hasClass('menushow'));
if(!!show){
$(document).trigger('langmenu_request');
addCloseX();
$t.addClass('menushow');
}
else {
$(document).trigger('langmenu_dismiss');
addTriangle();
$t.removeClass('menushow');
}
});
$(document).on('langmenu_request', function(e){
var menu = document.getElementById('simp_selectmenu');
menu.style.visibility = 'visible';
setTimeout(function(){ menu.classList.add('show') }, 0);
$('#lang-menu #simp_container button').addClass('hangfocus');
});
$(document).on('langmenu_dismiss', function(e){
var menu = document.getElementById('simp_selectmenu');
menu.style.visibility = 'hidden';
menu.classList.remove('show');
setTimeout(function(){ menu.classList.remove('show') }, 0);
$('#lang-menu button').removeClass('menushow');
addTriangle();
$('#lang-menu #simp_container button').removeClass('hangfocus');
});
$('#lang-menu li').on('click keypress', function(e){
var inhtml = $(this).html();
var thisid = this.id;
!!thisid && $(document).trigger('lang_change', {lang: thisid});
$('#simplified_langselect_title strong').html('Learn ' + inhtml);
$(document).trigger('langmenu_dismiss');
});
});
var langtostart = _satellite.getQueryParamCaseInsensitive('lang') || 'esp';
$(document).trigger('lang_change', {lang: langtostart});
addTriangle();
</script>