
html, body { height: 100%; }

body {  margin: 0 0 0 0; padding: 0 0 0 0; font-size: 1.125em; line-height: 1.5; font-family: "Roboto", sans-serif; color: #333; }

header, section, footer, aside, nav, main, article, figure { display: block; margin: 0 0 0 0; padding: 0 0 0 0; }


@media (max-width: 991px) {

section { max-width: 700px !important; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.desktop_visible { display: none !important; }
.mobile_visible { display: inherit !important; }

img { max-width: 100%; }

      }

@media (min-width: 992px) {

section { width: 900px; margin: 0 auto;  }

.desktop_visible { display: inherit !important; }
.mobile_visible { display: none !important; }

}


header { width: 100%; padding-bottom: 20px; border-bottom: 1px solid #6EA81A; min-height: 44px; } 

header.mobile_visible { background-color: #6EA81A; }

header nav { padding: 22px 0 0 0; margin-left: 42px;  }

header nav a { color: #999; text-decoration: none; font-family: 'Roboto'; font-size: 1em; padding-right: 16px; }

header nav a:hover { color: #333;  }


#wrapper {  display: flex; flex-direction: column; height: 100%; }

#content { flex: 1 0 auto; }


footer { flex: 0 0 auto; padding-top: 48px;}

#footer_wrapper { display: table-cell; }

@media (max-width: 991px) {

#footer_content { background-color:#6EA81A; color: #FFF; font-size: 1em; line-height: 2em;  }

#footer_wrapper  { width: 750px; padding: 16px; margin: 0 auto; }
      }
      
@media (min-width: 992px) {

#footer_content { background-color:#6EA81A; color: #FFF; font-size: 16px; padding: 24px 0 24px 0; }

#footer_wrapper { width: 900px; }
}

#footer_div_1 { float: left; margin-right: 160px; }

#footer_div_2 { float: left; margin-right: 160px; }

#footer_div_3 { float: left; }

.footer_section a { text-decoration: none; }

.footer_section div { margin-bottom: 8px; }


footer section a { color: #FFF; }

footer section a:hover { color: #FFF; text-decoration: underline; }



#site_name { float: left; font-family: 'Lalezar', serif; font-size: 32px; color: #6EA81A; margin: 12px 36px 0 0; }

#site_name a, #site_name a:visited { text-decoration: none; }

header.mobile_visible #site_name, header.mobile_visible #site_name a { color: #FFF; } 

h1 { font-size: 2em; margin: 1em 0 0.75em 0; }

p { margin: 24px 0 24px 0; line-height: 1.6; font-size: 18px;
}

a { color: #6EA81A; }

a:hover { color: #568415; }



ul { padding-left: 0px; }

ul li { list-style-type: none; line-height: 1.8em; font-size: 18px;  }
 
ul li:before { color: #6EA81A; content: "•"; padding-right: 10px;  font-weight: bold; }




@media (max-width: 991px) {
#logo { margin: 0.5em 0 0.5em 0; display: block; }
      }
      
@media (min-width: 992px) {
#logo { margin: 0.5em 0 0.5em 0; display:inline-block; }
}

#logo_img { text-align: center; }

#logo img { padding: 8px; margin-top: 1em; }


#download { margin-top: 1em; width: 100%; text-align: center; }


.green_button { margin-top: 3em;  background-color: #6EA81A; width: 320px; height: 30px; padding: 13px 0 0px 0; text-align: center; line-height: 1em; 
-moz-border-radius: 12px;
-webkit-border-radius: 12px; 
 -khtml-border-radius:12px; 
border-radius: 12px; 
}

@media (max-width: 991px) {
.green_button  {  display: block; width: 400px; margin: 48px auto; }
      }
      
@media (min-width: 992px) {
.green_button {  display: inline-block; }
}

.green_button a { color: #FFF; text-decoration: none; font-size: 1em; line-height: 1em; }

.green_button a:hover { text-decoration: underline; }

.download_link { color: #FFF; }

.download_link:hover { color: #FF0; }



@media (min-width: 992px) {
#vector_download { margin-right: 48px; }
}

.clear { clear: both; }

#rules { margin-top: 1em; font-style: italic; font-size: 0.8em; }

.div_margin { margin: 2em 0 0 0; }

.file_ext { text-transform: uppercase; }



.image_container { text-align: center; }

.image_container .italic { font-style: italic; font-size: 16px; }

.related_container { margin: 16px 0 32px 0; }

.related_img { display: inline-block; height: 100px;  line-height: 100px; padding: 12px; vertical-align: middle; border: 1px solid #ddd; margin-right: 16px; margin-bottom: 16px;  }

.related_img img { max-height: 100px;   vertical-align: middle; }



.tag_link { background-color: #6EA81A; color: #FFF; text-decoration: none; padding: 2px 16px; }

.tag_link:hover { color: #FFF; text-decoration: underline; }

.logo_letters { background-color: #efefef;  border-bottom: 1px solid #6EA81A; padding: 16px 0;  }

.logo_letters_bottom { border-top: 1px solid #6EA81A;  margin-top: 24px; padding-bottom: 24px;  }

.logo_letters a, .logo_letters_bottom a { color: #6EA81A; }

.logo_letters a:hover, .logo_letters_bottom a:hover { color: #333; }



.header_letters { font-size: 1.1em; font-weight: bold; margin-bottom: 8px; }

.header_letters a { color: #333; text-decoration: none; }

.links_letters a  { margin-right: 15px; }

.links_letters span { margin-right: 15px; font-weight: bold; }

.english_letters a  { margin-right: 17px; }

.english_letters span { margin-right: 17px; font-weight: bold; }


@media (max-width: 991px) {
.english_letters { margin: 16px 0 16px 0; line-height: 32px; }
.russian_letters { line-height: 32px; }
      }
      
@media (min-width: 992px) {
.english_letters { margin-bottom: 8px; }
}







.pagination { text-align: center; }

.pagination_item { display: inline-block; background-color: #efefef;  border: 1px solid #6EA81A; padding: 4px; margin-left: 4px; height: 24px; margin-bottom: 16px;}

.pagination_item a { text-decoration: none; }

.pagination_number { width: 24px; }

.pagination_long { padding: 4px 8px 4px 8px; }

.pagination_page { background-color: #FFF; }



.logo_table_container { text-align: center; width: 100%; margin-top: 32px; }

.logo_table { margin: 0 auto; }





@media (max-width: 991px) {
.logo_table td { vertical-align: middle; text-align: center; padding: 8px; max-width: 112px; }

.logo_table td img { max-width: 112px; max-height: 74px; }

td.logo_title { font-size: 0.8em; }
      }
      
@media (min-width: 992px) {
.logo_table td { vertical-align: middle; text-align: center; padding: 36px; max-width: 220px; }

.logo_table td img { max-width: 220px; max-height: 150px; }
}

td.logo_title { padding: 0 0 48px 0; vertical-align: top; }



.posts_list li { margin-bottom: 24px; }

.post_list_item { border-bottom: 1px solid  #6EA81A; margin-bottom: 32px; }

.post_list_header { margin-bottom: 40px; }

.post_list_header a { font-size: 24px; line-height: 36px; }

.post_list_more_link { margin-bottom: 32px; }



@media (min-width: 768px) {
#tags_cloud { width: 750px; }
      }
      
@media (min-width: 992px) {
#tags_cloud { width: 800px; }
}


#tags_cloud div { display: inline-block; margin-right: 24px; margin-bottom: 16px; }

