/* Begin generic styles for font controls and basic HTML elements */

.mobile-container {
  margin-top: 10px;
}

.topnav {
  overflow: hidden;
  position: relative;
  min-height: 24px;
}

.topnav #navMenu {
  display: none;
}

.topnav a.home {
  display: block;
  padding-top: 2px;
}

.topnav a.icon {
  display: flex;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  height: 24px;
  line-height: 1.4;
  text-decoration: none;
  font-weight: bold;
}

.topnav a.icon:hover {
  color: #315F84;
}


body {
  margin: 0;
  padding: 0;
  background-color: #DCEEF8;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #333;
  }

a {
  text-decoration: underline;
  color: #315F84;
  }

a:link {
  text-decoration: underline;
  color: #315F84;
  }

a:visited {
  text-decoration: underline;
  color: #315F84;
  }

a:active {
  text-decoration: underline;
  color: #7D9DB5;
  }

a:hover {
  text-decoration: underline;
  color: #7D9DB5;
  }

h1 {
  color: #29364e;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  }

p {
  margin: 1em 15px 1em 0;
  line-height: 1.5em;
  }

hr {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin: 2rem 0;
  }

table {
  font-size: 1em;
  margin-bottom: 0.4em;
  }

strong, b {
  font-weight: bold;
  }

form {
  margin: 0;
  padding: 0;
  }

img {
  border: 0;
  }

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  }

/* End generic styles for font controls and basic HTML elements */


/* Begin styles for layout */

.clear {
  clear: both;
  }

#PageContainer {
  margin: 0 auto;
  }

#PageBodyContainer {
  max-width: 1024px;
  background-color: white;
  margin: 0 auto;
  }

#HeaderContainer {
  background-color: #badbf4;
  background-image: url(../../resources/images/bg_header.jpg);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 100%;
  height: auto;
  margin-bottom: 4px;
  min-height: 24.5vw;
  padding: 20px;
  text-align: center;
  }

.main-heading {
  color: #29364e;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: .25rem;
  }

.sub-heading {
  color: #29364e;
  font-weight: 700;
  margin-bottom: 4.75rem;
  }

#BodyContentOuterContainer {
  margin: 0;
  padding: 0 20px;
}

.LeftContainer {
  width: 100%;
  position: relative;
  margin-top: 10px;
  }

.LeftContainer.non-mobile {
  display: none;
}

.LeftContainer div a {
  background-image: linear-gradient(#485470, #2b3850);
  border-radius: 4px;
  color: #fff;
  display: block;
  font-size: .9rem;
  font-weight: bold;
  margin: 0 0 4px;
  padding: 7px 8px 10px;
  text-align: center;
  text-decoration: none;
}

.LeftContainer div a:hover {
  color: #efc867;
}

.LeftContainer div a.current {
  background-image: linear-gradient(#7190a9, #587891);
}

.LeftContainer div a.current:hover {
  color: #fff;
}

#MainContentContainer {
  width: 100%;
  position: relative;
  margin: 0;
  }

#MainContent {
  padding: 10px 0 0 0;
  /*background: white url(../../resources/images/bg_maincontent.jpg) no-repeat top left;*/
  }

#MainContentQuiz {
  padding: 0 25px 0 25px;
  background: white url(../../resources/images/bg_header01b.jpg) no-repeat top left;
  }

#PartnersContainer {
  text-align: center;
}

.form-container {
  background-color: #E7F4FC;
  margin: 1.75rem 0 2.5rem;
  padding: 1rem 1.25rem .75rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: .75rem;
}

.form-row label {
  display: inline-block;
  margin-bottom: .375rem;
  padding-top: 3px;
}

.form-row input, .form-row textarea {
  font-size: 1rem;
  padding: 3px;
  width: 96%;
}

.form-row input[type=submit] {
  background-image: linear-gradient(#485470, #2b3850);
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: .9rem;
  font-weight: bold;
  margin: 0 0 4px;
  padding: 7px 8px 10px;
  text-align: center;
  text-decoration: none;
}

.partners {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 5%;
  }

.partners > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38.5%;
  padding: 4%;
  border: 1px solid #bbdcf4;
  border-radius: 6px;
  min-height: 60px;
  margin-bottom: 5%;
  }

.partners > a:last-of-type {
  margin-bottom: 0;
}

.partners > a img {
  max-height: 60px;
  /*max-width: 120px;*/
  }

.LetterEntry {
  padding: 6px 0 7px 26px;
  font-size: 0.9em;
  border-bottom: 1px solid #E2E2E2;
  }

.CountryContainer {
  padding: 6px 0 7px 28px;
  font-size: 0.9em;
  border-bottom: 1px solid #E2E2E2;
  }

.CountryHeading {
  font-size: 1.2em;
  font-weight: bold;
  padding: 4px 0 4px 4px;
  }

.CountryEntry {
  padding: 1px 12px 1px 4px;
  }

.CityEntry {
  padding: 1px 24px 1px 4px;
  }

.FeeTable td {
  padding: 4px 10px 5px 0;
  }

#FooterSocialMedia {
  padding-bottom: 20px;
  padding-right: 10px;
  text-align: right;
  }

#FooterSocialMedia > div {
  display: inline-block;
  margin-left: 8px;
  }

#FooterSocialMedia > div a {
  display: inline-block;
  }

#FooterSocialMedia > div img {
  width: 36px;
  }

#FooterContainer {
  width: 100%;
  position: relative;
  background-image: url(../../resources/images/bg_footer.gif);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 100%;
  font-size: .9rem;
  color: #315F84;
  padding-top: 20px;
  }

#Footer {
  padding: 0 20px 20px 20px;
  }

/* End styles for layout */


/* Styles for drop-down menus */

/*#nav, #nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  }

#nav a {
  display: block;
  border-style: none;
  }

#nav li {
  float: left;
  margin-right: 2px;
  }

#nav li ul {
  position: absolute;
  left: -999em;
  }

#nav li:hover ul, #nav li.sfhover ul {
  left: auto;
  }

.topMenu {
  padding: 162px 0 0 22px;
  }

.topMenuSubContainer {
  padding: 0 4px 0 9px;
  }

.topMenuContainer p {
  margin: 0 0 0 0;
  color: #0860A8;
  line-height: 15px;
  }*/

/* End of styles for drop-down menus */


/* Begin styles for social bookmarking */

#BookmarkContainer {
  border: 1px solid #DDEFF9;
  padding: 10px;
  margin: 35px 0;
  position: relative;
  }

#BookmarkHeading {
  margin: 0 0 10px 0;
  }

.bookmarks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  }

.bookmark {
  margin-bottom: 4px;
  width: 50%;
  }

.bookmark a {
  font-size: .9rem;
  font-weight: 700;
  padding-left: 22px;
  }

#BookmarkEmail { background: url(../../resources/images/icon_email.gif) no-repeat 0 3px; }
#BookmarkDigg { background: url(../../resources/images/icon_digg.gif) no-repeat 0 3px; }
#BookmarkDelicious { background: url(../../resources/images/icon_delicious.gif) no-repeat 0 3px; }
#BookmarkFacebook { background: url(../../resources/images/icon_facebook.gif) no-repeat 0 3px; }
#BookmarkGoogle { background: url(../../resources/images/icon_google.gif) no-repeat 0 3px; }
#BookmarkReddit { background: url(../../resources/images/icon_reddit.gif) no-repeat 0 3px; }
#BookmarkNewsVine { background: url(../../resources/images/icon_newsvine.gif) no-repeat 0 3px; }
#BookmarkStumbleUpon { background: url(../../resources/images/icon_stumbleupon.gif) no-repeat 0 3px; }
#BookmarkTechnorati { background: url(../../resources/images/icon_technorati.gif) no-repeat 0 3px; }
#BookmarkTwitter { background: url(../../resources/images/icon_twitter.gif) no-repeat 0 3px; }

/* End of styles for social bookmarking */

@media only screen and (min-width: 568px) {
  #HeaderContainer {
    text-align: left;
  }
  .main-heading {
    font-size: 2.25rem;
  }
  .LeftContainer {
    float: left;
    width: 35%;
    position: relative;
  }
  .LeftContainer.non-mobile {
    display: block;
  }
  .mobile-container {
    display: none;
  }
  #MainContentContainer {
    float: left;
    width: 65%;
  }
  #MainContent {
    padding: 0 0 0 25px;
  }
  #MainContent h1 {
    font-size: 1.275rem;
    margin-top: .5rem;
  }
  .partners {
    gap: 4%;
  }
  .partners > a {
    margin-bottom: 4%;
    padding: 2%;
    width: 26.25%;
  }
  #BookmarkContainer {
    padding: 15px;
  }
  .bookmark {
    width: 25%;
  }
}

@media only screen and (min-width: 768px) {
  p, li {
    font-size: 1.125rem;
  }
  .main-heading {
    font-size: 2.65rem;
  }
  .sub-heading {
    font-size: 1.15rem;
  }
  .LeftContainer {
    width: 26%;
  }
  #MainContentContainer {
    width: 74%;
  }
  #MainContent {
    padding: 0 0 0 30px;
  }
  #MainContent h1 {
    font-size: 1.65rem;
    margin-top: .25rem;
  }
  .form-container {
    padding: 1.5rem 1.5rem .75rem;
  }
  .form-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 1.25rem;
  }
  .form-row div:first-of-type {
    width: 8rem;
  }
  .form-row div:last-of-type {
    flex-grow: 1;
  }
  #PartnersContainer p {
    font-size: 1.1rem;
  }
  .partners {
    gap: 3%;
  }
  .partners > a {
    margin-bottom: 3%;
    width: 18.25%;
  }
  .partners > a:last-of-type {
    margin-bottom: 3%;
  }
  .bookmark {
    width: 20%;
  }
  #FooterContainer {
    padding-top: 30px;
  }
  #FooterSocialMedia > div {
    margin-left: 15px;
  }
  #FooterSocialMedia > div img {
    width: 48px;
  }
}

@media only screen and (min-width: 1024px) {
  #HeaderContainer {
    min-height: 251px;
    padding: 20px 30px;
  }
  #BodyContentInnerContainer {
    padding: 0 30px;
  }
  .main-heading {
    font-size: 2.95rem;
  }
  .sub-heading {
    font-size: 1.25rem;
  }
  #BookmarkContainer {
    margin: 35px 0 50px;
  }
  #FooterContainer {
    padding-top: 40px;
  }
}
