
body
{
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.topnav-grid-container
{
    display: grid;
    grid-template-columns: 12% auto 17.5%;
    background-color: #4577b3;
    margin-bottom: 52px;
    height: 120px;
}

.topnav-grid-item
{
    padding-top:18px;
    color: white;
}

.grid-container
{
    display: grid;
    grid-template-columns: calc(15% - 40px) auto 17.5%;
}
.grid-item {

}

#topsubtitle
{
    margin: -3px 0 6px 0;
    color: #white;
    font-size: 20px;
}

#declantitle
{
    margin: 0;
    color: #ffd901;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 40px;
}

.substitle
{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 21px;
    color: #8F8F8F;
    margin-left: 4px;
}

.flag_image
{
    width: 75px;
    padding-top:5px;
    padding-right:10px;
    text-align: left;
}

#titleheader
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    color: #8F8F8F;
    font-weight: 900;
    margin: 0px;
    padding-left: 0px;
}

.topicnamestar
{
    float: left;
    margin-top: 5px;
    width: 22px;
    margin-right: 8px;
}

.titlediv
{

}

.titlehighlight
{
    color: #000062;
    font-style: italic;
}

h1
{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 17px;
    color: rgb(200,200,200);
    margin: 7px 0 3px 4px;
    padding-left: 0px;
}

.topictable
{
    margin-top: 0px;
}

.topictable_cell
{
    vertical-align: top;
}

h2
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 22px;
    font-weight: bold;
    padding-top: 5px;
    margin: 0px;
}

tr.spaceUnder>td {
    padding-bottom: 1em;
}


tr.spaceUnderPhrase>td
{
    padding-bottom: 19px;
}

tr.spaceUnderMeaning>td
{
    padding-bottom: 24px;
}

.maintablerow
{
    padding-bottom: 10px;
}

.topicgrammar
{
    margin: -5px 0px 1px 0px;
    padding: 8px 20px 15px 20px;
    border: 1px solid;
    border-radius: 10px;
    border-color: #d9d9d9;
    width: 100%;
    background-color: #f5ffff;
}

.pattern
{
    font-family: "Lucida Console", "Courier New", monospace;
    font-size: 19px;
    font-weight: bold;
    letter-spacing: -1px;
}

.grammarpara
{
    margin: 6px 0 6px 0;
    line-height: 23px;
}

.pronunciation {

    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: normal;
    color: grey;
}

.boldgrammar
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #101010;
}

.boldgrammar_french
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #101010;
}

.russianspandescription
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #101010;
}
.englishquote
{
  font-family: Arial, Helvetica, sans-serif;
  color: #4577b3;
  font-size: 18px;
  font-weight: 500;
}

.meaning
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #101010;
}

.comment
{
    font-size: 18px;
    padding-left: 10px;
}

.notepara
{
    margin:0;
    padding: 0;
}

.noteimg
{
    width: 18px;
    margin-right: 4px;
    position: relative;
    top: 3px;
}

.russianspannote
{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.playButton
{
        background:url('../images/small_speaker_red.png');
        cursor:pointer;
        width: 48px;
        height: 48px;
        margin-top: 10px;
        border: none;
        background-size: 48px 48px;
        background-repeat: no-repeat;
   }
ul
{
   list-style: none; /* Remove default bullets */
}

ul li::before
{
   content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
   color: #8F8F8F; /* Change the color */
   font-weight: bold; /* If you want it to be bold */
   display: inline-block; /* Needed to add space between the bullet and the text */
   width: 1em; /* Also needed for space (tweak if needed) */
   margin-left: -1em; /* Also needed for space (tweak if needed) */
}

li
{
   margin: 10px 0;
}

.footer
{
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   height: 230px;
   background-color: #4577b3;
   color: white;
}

.footer-grid-container
{
   display: grid;
   grid-template-columns: calc(15% - 72px) 160px auto 5%;
   margin-top: 3px;
}

.footer-grid-item
{
   padding: 18px 0 18px 0;
   color: white;

   display: inline-block;
   vertical-align: middle;
}

.footer-ad_wantmore
{
    font-weight: 500;
}

.footer-ad_title
{
    font-size: 22px;

    color: #ffd901;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;

    margin-top: 10px;
}

.footer-ad
{
    margin: 3px 0 0 0;
    padding: 0;
}

.ss_image
{
   width: 160px;
   margin: -5px 0 0 0;
   cursor:pointer;
}

.footer-ad_link
{
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
}

#learn
{
   font-family: Arial, Helvetica, sans-serif;
   font-size: 18px;
   padding-left: 10px;
}

.appStoreButton {

   cursor:pointer;
   width: 150px;
}

.example {

    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    color: black;
    font-weight: 600;
    letter-spacing: 2px;
}

.example_korean
{
    padding-top: 15px;
}

.td_example_sndbutton
{
    vertical-align: top;
    text-align: right;
    padding-right: 5px;
}

.example_sndbutton
{
    background:url('../images/speaker_grey_26.png');
    cursor:pointer;
    width: 26px;
    height: 26px;
    vertical-align: top;
    margin-top: 1.5px;
    border: none;
    background-size: 26px 26px;
    background-repeat: no-repeat;
}

.example_sndbutton_korean
{
    margin-top: -3px;
}

.pinyin_bold {

    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    font-family: monospace;
}

.pronunciation_example {

    font-size: 17px;
    line-height: 22px;
    color: gray;
}

.english {
    font-size: 17px;
    color: #4577b3;
    line-height: 30px;
}

.note {
    font-size: 17px;
    color: gray;
    line-height: 25px;
}

.examplesfooter
{
    height:120px;
    line-height: 120px;
}

.discover_div
{

}

.discover_img
{
    width: 100%;
}

.sourcedspan
{
    text-align: right;
    padding-bottom: 12px;
    color: gray;
}

.sourcedrow
{
    text-align: right;
}

@media screen and (max-width: 880px) {

    #declantitle
    {
     font-size: 34px;
     line-height: 34px;
     margin-bottom: 7px;
     }

     .footer_blurb
     {
        display: none;
     }
}

@media screen and (max-width: 768px) {

   .topnav-grid-container
   {
       grid-template-columns:5% auto 90px;
   }

   .flag_image
   {
       width: 48px;
   }

   h1{
       font-size: 18px;
   }

   h2
   {
       font-size: 24px;
   }

   .meaning{
        font-size: 22px;
   }
   .playButton {

       width: 38px;
       height: 38px;
       background-size: 38px 38px;
   }
   #declantitle
   {
    font-size: 32px;
    line-height: 32px;
    margin-bottom: 7px;
    }
   #topsubtitle
   {
       font-size: 16px;
   }
   .grid-container {
       display: grid;
       grid-template-columns: 12px auto 5%;
   }

   .topicgrammar
   {
       width: calc(100% - 28px);
   }

   .footer-grid-container {
       display: grid;
       grid-template-columns: 5px 160px auto 5%;
   }

   .footer_blurb
   {
      display: none;
   }

   .examplesfooter
   {
       height:80px;
       line-height: 10px;
   }

   .footer-ad
   {
       font-size: 17px;
   }

   .footer-ad_title
   {
       font-size: 20px;
       margin-top: 10px;
   }


   .footer-ad_big
   {
       display:none;
   }
}

@media screen and (max-width: 450px) {

   .topnav-grid-container
   {
       grid-template-columns:5% auto 60px;
   }

   .flag_image
   {
       width: 48px;
       margin-right: 10px;
   }

   h1
   {
       font-size: 16px;
   }

   #titleheader
   {
       font-size: 22px;
   }

   .topicnamestar
   {
       margin-top: 7px;
       width: 18px;
       margin-right: 5px;
   }

   h2
   {
       font-size: 22px;
   }

   .meaning
   {
        font-size: 22px;
   }

   .playButton {

       width: 38px;
       height: 38px;
       background-size: 38px 38px;
   }

   #declantitle
   {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 7px;
    }

   #topsubtitle
   {
       font-size: 15px;
   }

   .grid-container
   {
       display: grid;
       grid-template-columns: 12px auto 12px;
   }

   .topicgrammar
   {
       width: calc(100% - 42px);
   }

   .substitle
   {
       font-size: 22px;
   }

   .examplestable
   {
       padding-right: 15px;
   }

   .footer
   {
       max-height: 180px;
   }

   .ss_image
   {
      width: 120px;
      margin: 0px 0 0 10px;
   }

   .footer-grid-container
   {
       display: grid;
       grid-template-columns: 0px 130px auto 5%;
   }

   .footer-grid-item
   {
      padding: 8px 0 8px 0;
      color: white;
   }

   .footer-ad
   {
       font-size: 14px;
       line-height: 15px;
   }

   .footer-ad_wantmore
   {
       font-size: 15px;
       line-height: 17px;
   }

   .footer-ad_title
   {
       font-size: 16px;
       line-height: 17px;
       margin-top: 10px;
   }

   .footer_blurb
   {
      display: none;
   }

   .examplesfooter
   {
       height:80px;
       line-height: 10px;
   }
}
