/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

html, body {
  height: 100%;
}

#layout {
  clear: both;
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin-bottom: -32px;
}
#layout #layout-footer {
  height: 32px;
}

#footer-layout {
  clear: both;
  position: relative;
  height: 32px;
}

html, body {
  color: #666666;
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 16px;
  line-height: 1.23077rem;
}

body {
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*.font-face {*/
/*  font-family: "FilmotypeCandy", Verdana, 'Trebuchet MS', sans-serif;*/
/*}*/

.text-center {
  text-align: center;
}

.col1 {
  width: 3.36134%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col2 {
  width: 7.56303%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col3 {
  width: 11.76471%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col4 {
  width: 15.96639%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col5 {
  width: 20.16807%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col6 {
  width: 24.36975%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col7 {
  width: 28.57143%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col8 {
  width: 32.77311%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col9 {
  width: 36.97479%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col10 {
  width: 41.17647%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col11 {
  width: 45.37815%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col12 {
  width: 49.57983%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col13 {
  width: 53.78151%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col14 {
  width: 57.98319%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col15 {
  width: 62.18487%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col16 {
  width: 66.38655%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col17 {
  width: 70.58824%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col18 {
  width: 74.78992%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col19 {
  width: 78.9916%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col20 {
  width: 83.19328%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col21 {
  width: 87.39496%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col22 {
  width: 91.59664%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col23 {
  width: 95.79832%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.col24 {
  width: 100%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
}

.omega {
  display: inline;
  margin-right: 0;
  #margin-left: -1em;
}

.clearfix {
  *zoom: 1;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

a, a:link {
  color: #0066cc;
  text-decoration: none;
}
a:hover, a:link:hover {
  color: #003366;
}

#main,
.grid-container {
  *zoom: 1;
  width: 119em;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  *width: 975px;
  /* max-width: 975px; */
  min-width: 975px;
  margin: 0 auto;
}
#main:after,
.grid-container:after {
  content: "";
  display: table;
  clear: both;
}

#main {
  position: relative;
}
#main .shadow {
  background-image: url(../img/shadow.png);
  background-repeat: no-repeat;
  position: absolute;
  height: 789px;
  width: 27px;
  top: 0;
}

#gutter-container {
  clear: both;
  width: 975px;
  position: fixed;
  top: -120px;
}

#gutter-left {
  background-position: left top;
  left: -37px;
}

#gutter-right {
  background-position: right top;
  right: -36px;
}

button, .btn {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}
button.green, .btn.green {
  background-color: #72b034;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk5Y2M2NiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzcyYjAzNCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #99cc66), color-stop(100%, #72b034));
  background-image: -webkit-linear-gradient(#99cc66, #72b034);
  background-image: -moz-linear-gradient(#99cc66, #72b034);
  background-image: -o-linear-gradient(#99cc66, #72b034);
  background-image: linear-gradient(#99cc66, #72b034);
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-size: 1.23077rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  line-height: 1.5em;
  overflow: visible;
  padding: 0.32em 0.63em;
  text-shadow: 0 -1px 1px gray;
}
button.green:hover, .btn.green:hover {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdmYmY0MCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzU5ODkyOCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #7fbf40), color-stop(100%, #598928));
  background-image: -webkit-linear-gradient(#7fbf40, #598928);
  background-image: -moz-linear-gradient(#7fbf40, #598928);
  background-image: -o-linear-gradient(#7fbf40, #598928);
  background-image: linear-gradient(#7fbf40, #598928);
}

button.full-width,
.btn.full-width {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

#header {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  clear: both;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 3;
}

#header-masthead .grid-container {
  max-width: 1225px;
}

#header-masthead {
  background: #fff;
  border-bottom: 1px solid #E0E0E0;
  height: 80px;
}

#header-logo {
  width: 32.77311%;
  float: left;
  margin-right: 0.84034%;
  display: inline;
  text-align: center;
}
#header-logo .header-logo, #header-logo .tagline {
  display: block;
  width: 203px;
}
#header-logo .header-logo {
  background: url(../img/savoo.svg) no-repeat center center;
  color: transparent;
  margin-top: 20px;
  height: 38px;
  text-indent: -9999px;
  position: relative;
  z-index: 1;
}
#header-logo .shadow-box {
  position: relative;
}
#header-logo .tagline {
  color: rgb(74, 73, 73);
  display: none;
  font-size: 12px;
  font-weight: bold;
  font-style: italic;
  margin-top: 4px;
}

.header-image-container {
  position: relative;
  z-index: 12;
}
.header-image-container .inner {
  *width: 975px;
  max-width: 975px;
  min-width: 975px;
  margin: 0 auto;
}
.header-image-container.home {
  background-color: #d4e1e6;
}

#footer {
  background-color: #545454;
  font-size: 13px;
  font-size: 1rem;
  -webkit-box-shadow: inset 0 8px 6px -6px black;
  -moz-box-shadow: inset 0 8px 6px -6px black;
  box-shadow: inset 0 8px 6px -6px black;
}
#footer .grid-container {
  padding-bottom: 20px;
}

#copyright {
  background-color: #1486E2;
  color: white;
  font-size: 13px;
  font-size: 1rem;
  height: 32px;
  line-height: 32px;
  text-align: center;
  text-transform: uppercase;
}

#homepage-countries span {
  display: block;
}
#homepage-countries .country {
  padding: 10px;
  width: 31%;
  float: left;
  transition: border 500ms ease-out;
  -webkit-transition: border 500ms ease-out;
  -moz-transition: border 500ms ease-out;
  transition: box-shadow 500ms ease-out;
  -webkit-transition: box-shadow 500ms ease-out;
  -moz-transition: box-shadow 500ms ease-out;
}
#homepage-countries .country:hover {
  /* border: 1px solid #bed3de; */
  /* -webkit-box-shadow: #d4e1e6 0 0 15px; */
  -moz-box-shadow: #d4e1e6 0 0 15px;
  /* box-shadow: #d4e1e6 0 0 15px; */
}
#homepage-countries .country.last {
  margin-right: 0;
}
#homepage-countries .image {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 26px;
}
#homepage-countries .title {
  color: #0066cc;
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
#homepage-countries .content {
  color: #333333;
  font-size: 14px;
  height: 50px;
  overflow: hidden;
}

#footer-button-container {
  text-align: center;
  margin: 20px auto 26px;
}

#footer-button {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  border: 1px solid #4c8e0a;
  color: #333333;
  font-size: 24px;
  padding: 0.32em 1.8em;
  text-shadow: 0 1px 1px #e6e6e6;
}
#footer-button:hover {
  color: #333333;
}

#header-text,
#footer-text {
  color: #cc2b00;
}

#header-text {
  background-color: #e7edef;
  font-size: 26px;
  padding: 24px 0 14px;
  letter-spacing: 1.2px;
}

#footer-text {
  font-size: 32px;
  line-height: 46px;
}

#country-flag-container {
  background-color: #e7edef;
  padding: 20px 10px;
  margin-bottom: 30px;
}

.country-flag {
  float: left;
  margin-right: 10px;
}
.country-flag.last {
  margin-right: 0;
}
.country-flag .image {
  display: block;
}
.country-flag img {
  width: 100%;
  height: auto;
}

.entry-title {
  color: #333333;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 28px;
}
.sidebar-inner {
  font-size: 14px;
}
.sidebar-inner .menu {
  margin-left: 30px;
}
.sidebar-inner .menu li {
  margin-bottom: 20px;
}
.sidebar-inner .current-menu-item {
  font-weight: bold;
}
.sidebar-inner .current-menu-item a {
  color: #333333;
}

/* Luke's Additions - Working this time */
p {
    margin-bottom: 20px;
    margin-bottom: 1.55rem;
    font-size: 15px;
    font-weight: normal;
    line-height: 20px;
    line-height: 1.55rem;
}
#homepage-countries .content{
  height:auto;
  width: 100%;
  /* max-width: 250px; */
  margin: auto;
  transition: 0.3s;
  text-align: center;
  font-size: 97%;
}
#links-top{
  display:none;
}
#layout {
    width: 100%;
    overflow: hidden;
}
#homepage-countries .country {
    display: inline-block;
    height: 160px;
    overflow: hidden;
    -webkit-transition:0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    border: none;
    background-color: rgba(8, 8, 8, 0);
    margin: 1%;
}
#homepage-countries .country a {
width: 288px;
display: block;
margin: auto;
position: relative;
}
div#homepage-countries {
    width: 100%;    
    /* position: relative; */
    height: auto;
    /* left: -50px; */
    /* top: -5px; */
}
#main > div.grid-container > div.slider-nav {
position: relative;
z-index: 2;
top: 58px;
width: 359px;
left: -10%;
}
/* MOBILE MENU */
#header #toggle-menu {
background: url(http://cdn3.node1.savings.com/images/savings/redesign/icon-menu.png) no-repeat;
background-size: contain;
position: relative;
left: 32px;
top: 23px;
float: left;
height: 51px;
width: 33px;
}
#header-masthead > div > div.mobile-menu {
    width: 100px;
    height: 80px;
    position: absolute;
    display: none;
}
#header-masthead > div.mobile-menu {
    padding: 6%;
    position: absolute;
    display: none;
}
/* Slider */
#homepage-countries .title {
    text-align: center;
    /* margin-top: -6em; */
}
#header-text {
    background-color: rgba(255, 255, 255, 0);
    line-height: 45px;
    line-height: 4.5rem;
    -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
    font-weight: bold;
    font-size: 40px;
    position: relative;
    margin: auto;
    z-index: 999;
    display: block;
    color: rgb(74, 73, 73);
}
#footer-text {
}
#main, .grid-container {
    width: 90%;
    min-width: 0;
}
#homepage-countries .country.last {
    margin-right: 22px;
}
#leftArrow {
    float: left;
    z-index:4;
    width: 0; 
    height: 0; 
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;  
    border-right: 40px solid rgb(219, 219, 219);
    -webkit-transition: 0.3s;
}
#rightArrow {
    float: right;
    z-index:4;
    width: 0; 
    height: 0; 
    position: relative;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;  
    border-left: 40px solid rgb(228, 228, 228);
    -webkit-transition: 0.3s;
}
#rightArrow:hover{
    border-left: 40px solid rgb(168, 168, 168);
    -webkit-transform: scale(1.1);
}
#rightArrow:active{
    -webkit-transform: scale(0.9);
}
#leftArrow:hover{
    border-right:40px solid rgb(168, 168, 168);
    -webkit-transform: scale(1.1);
}
#leftArrow:active{
    -webkit-transform: scale(0.9);
}
.intro {
    padding: 5%;
    font-size: 150%;
    line-height: 100%;
    text-align: center;
}
div.slider-arrows {
    position: absolute;
    top: 392px;
    width: 112.5%;
    z-index: 4;
    margin-left: -6.5%;
}
p {
    margin-bottom: 20px;
    font-size: 100%;
}
.grid-container {
}
#homepage-countries .image {
height: 100px;
width: 200px;
margin: auto;
background-repeat: no-repeat;
}
#homepage-countries .country:hover a {
}
#homepage-countries .country:hover .image {
    box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}
#homepage-countries .current {
    height: 250px;
}
#homepage-countries > div.country > a > span.content > p {
    text-align: center;
}
#main > div.grid-container {
-webkit-user-select: none;
}
#homepage-countries .content{
  height:auto;
}
#gutter-container {
display: none;
}

/* Flags */
#main .flags {
    height: 17px;
    width: 300px;
    margin-left: 0px;
}
#main .flags div{
    display:inline-block;
    width: 30px;
    height: 16px;
    cursor: pointer;
}

/* Image */
#header-image {
    width: 100%;
    height: auto;
    position: relative;
    top: -94px;
}
#layout > div#header-image-container {
    margin: auto;
    margin-top: 10px;
}
#layout > div#header-image-container > div {
    min-width: 0px;
}
#main {
    z-index: 999;
    position: relative;
    min-width: 0;
    max-width: none;
}
#main .headertext {
    width: 250%;
    margin-left: -73%;
    margin-top: 200px;
    top: 22px;
    position: relative;
    /* visibility: hidden; */
    background-color: rgba(0, 0, 0, 0.42);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    visibility: hidden;
}
#main .headertext h1{
   font-size:250%;
   color: white;
   visibility: hidden;
}
 .entry-title {
font-size: 22px;
font-weight: bold;
margin-bottom: 28px;
color: #cc2b00;
}
#header-image-container .inner {
min-width: 0;
max-width: none;
}
/* WORLD */
.worldcontainer {
    position: relative;
    width: 100%;
    top: -126px;
    height: 326px;
    margin: auto;
    /* left: -100%; */
    z-index: -2;
}
.world {
    width: 977px;
    height: 200px;
    margin: auto;
}
#locator {
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    transition: 0.2s;
    z-index: 2;
    height: 10px;
    width: 20px;
    border-radius: 50%;
    position: relative;
    border-top: 42px solid rgb(206, 39, 39); 
    border-bottom: 40px solid transparent; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}
#dot {
    height: 10px;
    width: 10px;
    background-color: white;
    position: relative;
    top: -33px;
    left: -5px;
    border-radius: 50%;
}
#bottomdot {
    height: 15px; 
    width: 15px; 
    /* background-color: rgb(93, 108, 216); */ position: relative; 
    top: -18px; 
    left: -7px; border-radius: 50%;
    -webkit-transform: rotatex(-64deg); *;
    z-index: -6;
}
div.world > img {
    width: 977px;
    display: block;
    margin: auto;
    -webkit-transform: rotatex(-64deg);
    -moz-transform: rotatex(-64deg);
    -ms-transform: rotatex(-64deg);
  transform: rotatex(-64deg);
}
@media screen and (max-width:800px){
    #locator {
        display: none;
    }
    .worldcontainer {
        display: none;
    }
    #header-image-container{
        height: 300px !Important;    
        margin-bottom: -20px;
    }
    #homepage-countries {
        margin-bottom: 0 !Important;    
        top: -200px !Important;
    }
    #footer-text {
    margin-top: -200px;
    }
    .slider-nav {   
        top: -140px!Important;
    }
}
#links-top {
display: none;
}
/* Mobile Size */
@media screen and (max-width:600px){
    #locator {
    display: none;
    }
    .worldcontainer {
        display: none;
    }
    #header-image-container{
        height: 300px !Important;    
        margin-bottom: -20px;
    }
    #homepage-countries {
        margin-bottom: 0 !Important;    
        top: -34px !Important;
    }
    #footer-text {
    margin-top: 0px;
    }
    .slider-nav {   
        top: 25px!Important;
    }    
  .mobile-menu {
    display: block !Important;
}
    #header-image-container{
        margin-top: 20px;
    
        top: -22px !Important;
        height: 310px !Important;
}
    #header-image {
        width: 165%;    
        /* min-width: 550px; */
        height: auto;
        top: -20px;
}
    #header-image-container .inner {
        min-width: 0;
    }
    #header-logo .shadow-box{
        margin-left: 76%;
    }
    #header-logo .tagline{
        margin-left: 75%;
    }
    #main {
    margin-top: 0rem;
    z-index: 12;
    position: relative;
    }
    #main .headertext {
    width: 150%;
    margin-left: -25%;
    margin-top: 0px;
}
    #main .headertext h1 {
    font-size: 120%;
    color: white;
    }
    #header-text{
        font-size:200%;
    
        line-height: 33px;
}
#links > div {
width: 100% !Important;
margin: 0 !Important;
}

    /* Menu Left */
    #links-top {
      display:block;
        position: absolute;
        z-index: 999;
        top: 80px;        
      left: -200px;        
        background-color: #424242;
        
      width: 160px;    
      -webkit-transition: 0.5s;
        -moz-transition: 0.5s;
        -ms-transition: 0.5s;
        transition: 0.5s;
}
#links {
display: none;
}
    #links-top .footertitle {

        color: white;
    }
    #links-top ul li a {
        color: white;

    
        display: block;
        padding: 2%;
}

    #links-top .line {
        margin: 0;
        margin-top: 2px;
    }
    #links-top ul {
        margin-bottom: 20px;
    }
    #links-top li {
        width: 100%;
        /* border-top: 1px white solid; */
        /* border-bottom: 1px solid white; */
        /* padding: 2%; */
        /* height: 23px; */
        padding-left: 10%;
    
        text-decoration: underline;
}
    #links-top h3 {
        padding-left: 10%;
    }
    #links-top li:nth-child(1) {
        /* border-top: 1px solid white; */
    }
    #links-top div.links-about {
        margin-top: 10px;
    }
    #footer-text {
    width: 200px;
    margin-left: 15%;
    }
}
#header-image-container {
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 0;
    width: 100%;
    height: 500px;
    border-bottom: 6px solid #005b91;
    box-shadow: 0px 4px 9px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* FOOTER */
#links {
    width: 100%;
    padding: 2%;
    background-color: #424242;
}
#links li a {
    color: white;
}
#links h3 {
    color: rgb(236, 236, 236);
    font-size: 150%;
    text-align: center;
}
.footertitle {
    height: 31px;
}
 {
    width: 20%;
}
#links > div > ul {
    padding: 3%;
    text-align: center;
}

#links > div.links-about {
    margin-left: 4%;
}
.line {
    width: 71%;
    border-bottom: solid rgb(189, 189, 189) 2px;
    margin: auto;
    margin-top: 10px;
}
.back{
  background-color: #fff;
  width: 96%;
  height: 96%;
  padding: 2%;
  margin: auto;
  top: 0px;
  float: none;
  position: absolute;  
  z-index: 800;
  -webkit-transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-transform: scaleX(0);
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  -ms-transition: all .5s;
  transition: all .5s;
  /* border: solid rgb(39, 39, 39) 1px; */
  /* border-radius: 12px; */
}
.front {
  width: 96%;
  height: 96%;
  padding: 2%;
  margin: auto;
  overflow: hidden;
  float: none;
  z-index: 900;
  display: block;
  -webkit-transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  -moz-transform: scaleX(1);
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  -ms-transition: all .5s;
  transition: all .5s;
}
.country {
  float: left;
  margin: 0 20px 70px;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  -ms-transition: all 1s ease-in-out;
  transition: all 1s;
}
.country:hover .front {
  z-index: 900;
  -webkit-transform: rotateY(180deg);
  -moz-transform: scaleX(0);
  -webkit-box-shadow: 0 15px 50px rgba(0,0,0,.2);
  -moz-box-shadow: 0 15px 50px rgba(0,0,0,.2);
  box-shadow: 0 15px 50px rgba(0,0,0,.2);
}
.country:hover .back {
  z-index: 1000;
  -webkit-transform: rotateY(0deg);
  -moz-transform: scaleX(1);
  box-shadow: 0 5px 5px rgba(0,0,0,.3);
  -moz-box-shadow: 0 5px 5px rgba(0,0,0,.3);
  -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.3);
  -moz-opacity: 1;
}