Typography

Testing display of HTML elements

This is 2nd level heading

This is a test paragraph.

This is 3rd level heading

This is a test paragraph.

This is 4th level heading

This is a test paragraph.

This is 5th level heading

This is a test paragraph.

This is 6th level heading

This is a test paragraph.

Basic block level elements

[cta id="1"]

This is a normal paragraph (p element). To add some length to it, let us mention that this page was primarily written for testing the effect of user style sheets. You can use it for various other purposes as well, like just checking how your browser displays various HTML elements by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then.

This is another paragraph. I think it needs to be added that the set of elements tested is not exhaustive in any sense. I have selected those elements for which it can make sense to write user style sheet rules, in my opionion.

This is a div element. Authors may use such elements instead of paragraph markup for various reasons. (End of div.)

This is a block quotation containing a single paragraph. Well, not quite, since this is not really quoted text, but I hope you understand the point. After all, this page does not use HTML markup very normally anyway.

The following contains address information about the author, in an address element.

Jukka Korpela, jukkakk@gmail.com
Päivänsäteenkuja 4 A, Espoo, Finland

Lists

This is a paragraph before an unnumbered list (ul). Note that the spacing between a paragraph and a list before or after that is hard to tune in a user style sheet. You can't guess which paragraphs are logically related to a list, e.g. as a "list header".

  • One.
  • Two.
  • Three. Well, probably this list item should be longer. Note that for short items lists look better if they are compactly presented, whereas for long items, it would be better to have more vertical spacing between items.
  • Four. This is the last item in this list. Let us terminate the list now without making any more fuss about it.
  • One.
  • Two.
  • Three. Well, probably this list item should be longer. Note that for short items lists look better if they are compactly presented, whereas for long items, it would be better to have more vertical spacing between items.
  • Four. This is the last item in this list. Let us terminate the list now without making any more fuss about it.

The following is a menu list:

  • One.
  • Two.
  • Three. Well, probably this list item should be longer so that it will probably wrap to the next line in rendering.
  • The following is a dir list:

  • One.
  • Two.
  • Three. Well, probably this list item should be longer so that it will probably wrap to the next line in rendering.
  • This is a paragraph before a numbered list (ol). Note that the spacing between a paragraph and a list before or after that is hard to tune in a user style sheet. You can't guess which paragraphs are logically related to a list, e.g. as a "list header".

    1. One.
    2. Two.
    3. Three. Well, probably this list item should be longer. Note that if items are short, lists look better if they are compactly presented, whereas for long items, it would be better to have more vertical spacing between items.
    4. Four. This is the last item in this list. Let us terminate the list now without making any more fuss about it.

    This is a paragraph before a definition list (dl). In principle, such a list should consist of terms and associated definitions. But many authors use dl elements for fancy "layout" things. Usually the effect is not too bad, if you design user style sheet rules for dl which are suitable for real definition lists.

    recursion
    see recursion
    recursion, indirect
    see indirect recursion
    indirect recursion
    see recursion, indirect
    term
    a word or other expression taken into specific use in a well-defined meaning, which is often defined rather rigorously, even formally, and may differ quite a lot from an everyday meaning

    Text-level markup

    • CSS (an abbreviation; abbr markup used)
    • radar (an acronym; acronym markup used)
    • bolded (b markup used - just bolding with unspecified semantics)
    • big thing (big markup used)
    • large size (font size=6 markup used)
    • Courier font (font face=Courier markup used)
    • red text (font color=red markup used)
    • Origin of Species (a book title; cite markup used)
    • a[i] = b[i] + c[i); (computer code; code markup used)
    • here we have some deleted text (del markup used)
    • an octet is an entity consisting of eight bits (dfn markup used for the term being defined)
    • this is very simple (em markup used for emphasizing a word)
    • Homo sapiens (should appear in italics; i markup used)
    • here we have some inserted text (ins markup used)
    • type yes when prompted for an answer (kbd markup used for text indicating keyboard input)
    • Hello! (q markup used for quotation)
    • He said: She said Hello! (a quotation inside a quotation)
    • you may get the message Core dumped at times (samp markup used for sample output)
    • this is not that important (small markup used)
    • overstruck (strike markup used; note: s is a nonstandard synonym for strike)
    • this is highlighted text (strong markup used)
    • In order to test how subscripts and superscripts (sub and sup markup) work inside running text, we need some dummy text around constructs like x1 and H2O (where subscripts occur). So here is some fill so that you will (hopefully) see whether and how badly the subscripts and superscripts mess up vertical spacing between lines. Now superscripts: Mlle, 1st, and then some mathematical notations: ex, sin2 x, and some nested superscripts (exponents) too: ex2 and f(x)g(x)a+b+c (where 2 and a+b+c should appear as exponents of exponents).
    • text in monospace font (tt markup used)
    • underlined text (u markup used)
    • the command cat filename displays the file specified by the filename (var markup used to indicate a word as a variable).

    Some of the elements tested above are typically displayed in a monospace font, often using the same presentation for all of them. This tests whether that is the case on your browser:

    • This is sample text inside code markup
    • This is sample text inside kbd markup
    • This is sample text inside samp markup
    • This is sample text inside tt markup

    Links

    This is a text paragraph that contains some inline links. Generally, inline links (as opposite to e.g. links lists) are problematic from the usability perspective, but they may have use as “incidental”, less relevant links. See the document Links Want To Be Links.

    Company Contact Country
    Alfreds Futterkiste Maria Anders Germany
    Centro comercial Moctezuma Francisco Chang Mexico
    Ernst Handel Roland Mendel Austria
    Island Trading Helen Bennett UK
    Laughing Bacchus Winecellars Yoshi Tannamuri Canada
    Magazzini Alimentari Riuniti Giovanni Rovelli Italy

    Company

    Contact

    Country

    Alfreds Futterkiste Maria Anders Germany
    Centro comercial Moctezuma Francisco Chang Mexico
    Ernst Handel Roland Mendel Austria
    Island Trading Helen Bennett UK
    Laughing Bacchus Winecellars Yoshi Tannamuri Canada
    Magazzini Alimentari Riuniti Giovanni Rovelli Italy
    HTML
    <section>
    	<div class="wrapper || content">
    		<h1>Testing display of HTML elements</h1>
    		
    		<h2>This is 2nd level heading</h2>
    		
    		<p>This is a test paragraph.</p>
    		
    		<h3>This is 3rd level heading</h3>
    		
    		<p>This is a test paragraph.</p>
    		
    		<h4>This is 4th level heading</h4>
    		
    		<p>This is a test paragraph.</p>
    		
    		<h5>This is 5th level heading</h5>
    		
    		<p>This is a test paragraph.</p>
    		
    		<h6>This is 6th level heading</h6>
    		
    		<p>This is a test paragraph.</p>
    		
    		<h2>Basic block level elements</h2>
    		
    		<p><strong>[cta id="1"]</strong></p>
    		
    		<p>This is a normal paragraph (<code>p</code> element). To add some length to it, let us mention that this page was primarily written for testing the effect of <strong>user style sheets</strong>. You can use it for various other purposes as well, like just checking how your browser displays various HTML elements by default. It can also be useful when testing conversions from HTML format to other formats, since some elements can go wrong then.</p>
    		
    		<p>This is another paragraph. I think it needs to be added that the set of elements tested is not exhaustive in any sense. I have selected those elements for which it can make sense to write user style sheet rules, in my opionion.</p>
    		
    		<div>This is a <code>div</code> element. Authors may use such elements instead of paragraph markup for various reasons. (End of <code>div</code>.)</div>
    		
    		<blockquote>
    			<p>This is a block quotation containing a single paragraph. Well, not quite, since this is not <em>really</em> quoted text, but I hope you understand the point. After all, this page does not use HTML markup very normally anyway.</p>
    		</blockquote>
    		
    		<p>The following contains address information about the author, in an <code>address</code> element.</p>
    		
    		<address><a href="http://jkorpela.fi/personal.html" hreflang="en" lang="fi">Jukka Korpela</a>, <a href="mailto:jukkakk@gmail.com">jukkakk@gmail.com</a><br />
    			Päivänsäteenkuja 4 A, Espoo, Finland</address>
    		
    		<h2>Lists</h2>
    		
    		<p>This is a paragraph before an <strong>unnumbered</strong> list (<code>ul</code>). Note that the spacing between a paragraph and a list before or after that is hard to tune in a user style sheet. You can't guess which paragraphs are logically related to a list, e.g. as a "list header".</p>
    		
    		<ul>
    			<li>One.</li>
    			<li>Two.</li>
    			<li>Three. Well, probably this list item should be longer. Note that for short items lists look better if they are compactly presented, whereas for long items, it would be better to have more vertical spacing between items.</li>
    			<li>Four. This is the last item in this list. Let us terminate the list now without making any more fuss about it.</li>
    		</ul>
    		
    		<p>The following is a <code>menu</code> list:</p>
    		
    		<menu>
    			<li>One.</li>
    			<li>Two.</li>
    			<li>Three. Well, probably this list item should be longer so that it will probably wrap to the next line in rendering.</li>
    		</menu>
    		
    		<p>The following is a <code>dir</code> list:</p>
    		
    		<dir>
    			<li>One.</li>
    			<li>Two.</li>
    			<li>Three. Well, probably this list item should be longer so that it will probably wrap to the next line in rendering.</li>
    		</dir>
    		
    		<p>This is a paragraph before a <strong>numbered</strong> list (<code>ol</code>). Note that the spacing between a paragraph and a list before or after that is hard to tune in a user style sheet. You can't guess which paragraphs are logically related to a list, e.g. as a "list header".</p>
    		
    		<ol>
    			<li>One.</li>
    			<li>Two.</li>
    			<li>Three. Well, probably this list item should be longer. Note that if items are short, lists look better if they are compactly presented, whereas for long items, it would be better to have more vertical spacing between items.</li>
    			<li>Four. This is the last item in this list. Let us terminate the list now without making any more fuss about it.</li>
    		</ol>
    		
    		<p>This is a paragraph before a <strong>definition</strong> list (<code>dl</code>). In principle, such a list should consist of <em>terms</em> and associated definitions. But many authors use <code>dl</code> elements for fancy "layout" things. Usually the effect is not <em>too</em> bad, if you design user style sheet rules for <code>dl</code> which are suitable for real definition lists.</p>
    		
    		<dl>
    			<dt>recursion</dt>
    			<dd>see recursion</dd>
    			<dt>recursion, indirect</dt>
    			<dd>see indirect recursion</dd>
    			<dt>indirect recursion</dt>
    			<dd>see recursion, indirect</dd>
    			<dt>term</dt>
    			<dd>a word or other expression taken into specific use in a well-defined meaning, which is often defined rather rigorously, even formally, and may differ quite a lot from an everyday meaning</dd>
    		</dl>
    		
    		<h2>Text-level markup</h2>
    		
    		<ul>
    			<li><abbr title="Cascading Style Sheets">CSS</abbr> (an abbreviation; <code>abbr</code> markup used)</li>
    			<li><acronym title="radio detecting and ranging">radar</acronym> (an acronym; <code>acronym</code> markup used)</li>
    			<li><b>bolded</b> (<code>b</code> markup used - just bolding with unspecified semantics)</li>
    			<li><big>big thing</big> (<code>big</code> markup used)</li>
    			<li><font size="6">large size</font> (<code>font size=6</code> markup used)</li>
    			<li><font face="Courier">Courier font</font> (<code>font face=Courier</code> markup used)</li>
    			<li><font color="red">red text</font> (<code>font color=red</code> markup used)</li>
    			<li><cite>Origin of Species</cite> (a book title; <code>cite</code> markup used)</li>
    			<li><code>a[i] = b[i] + c[i);</code> (computer code; <code>code</code> markup used)</li>
    			<li>here we have some <del>deleted</del> text (<code>del</code> markup used)</li>
    			<li>an <dfn>octet</dfn> is an entity consisting of eight bits (<code>dfn</code> markup used for the term being defined)</li>
    			<li>this is <em>very</em> simple (<code>em</code> markup used for emphasizing a word)</li>
    			<li><i lang="la">Homo sapiens</i> (should appear in italics; <code>i</code> markup used)</li>
    			<li>here we have some <ins>inserted</ins> text (<code>ins</code> markup used)</li>
    			<li>type <kbd>yes</kbd> when prompted for an answer (<code>kbd</code> markup used for text indicating keyboard input)</li>
    			<li><q>Hello!</q> (<code>q</code> markup used for quotation)</li>
    			<li>He said: <q>She said <q>Hello!</q></q> (a quotation inside a quotation)</li>
    			<li>you may get the message <samp>Core dumped</samp> at times (<code>samp</code> markup used for sample output)</li>
    			<li><small>this is not that important</small> (<code>small</code> markup used)</li>
    			<li><strike>overstruck</strike> (<code>strike</code> markup used; note: <code>s</code> is a nonstandard synonym for <code>strike</code>)</li>
    			<li><strong>this is highlighted text</strong> (<code>strong</code> markup used)</li>
    			<li>In order to test how subscripts and superscripts (<code>sub</code> and <code>sup</code> markup) work inside running text, we need some dummy text around constructs like x<sub>1</sub> and H<sub>2</sub>O (where subscripts occur). So here is some fill so that you will (hopefully) see whether and how badly the subscripts and superscripts mess up vertical spacing between lines. Now superscripts: M<sup>lle</sup>, 1<sup>st</sup>, and then some mathematical notations: e<sup>x</sup>, sin<sup>2</sup> <i>x</i>, and some nested superscripts (exponents) too: e<sup>x<sup>2</sup></sup> and f(x)<sup>g(x)<sup>a+b+c</sup></sup> (where 2 and a+b+c should appear as exponents of exponents).</li>
    			<li><tt>text in monospace font</tt> (<code>tt</code> markup used)</li>
    			<li><u>underlined</u> text (<code>u</code> markup used)</li>
    			<li>the command <code>cat</code> <var>filename</var> displays the file specified by the <var>filename</var> (<code>var</code> markup used to indicate a word as a variable).</li>
    		</ul>
    		
    		<p>Some of the elements tested above are typically displayed in a monospace font, often using the <em>same</em> presentation for all of them. This tests whether that is the case on your browser:</p>
    		
    		<ul>
    			<li><code>This is sample text inside code markup</code></li>
    			<li><kbd>This is sample text inside kbd markup</kbd></li>
    			<li><samp>This is sample text inside samp markup</samp></li>
    			<li><tt>This is sample text inside tt markup</tt></li>
    		</ul>
    		
    		<h2>Links</h2>
    		
    		<ul>
    			<li><a href="http://jkorpela.fi/index.html">main page</a></li>
    			<li><a href="http://www.unicode.org/versions/Unicode4.0.0/ch06.pdf" title="Writing Systems and Punctuation" type="application/pdf">Unicode Standard, chapter 6</a></li>
    		</ul>
    		
    		<p>This is a text paragraph that contains some inline links. Generally, inline links (as opposite to e.g. links lists) are problematic from the <a href="http://www.useit.com/">usability</a> perspective, but they may have use as “incidental”, less relevant links. See the document <cite><a href="http://jkorpela.fi/www/links.html">Links Want To Be Links</a></cite>.</p>
    		
    		<table class="content_table">
    			<tr>
    				<th>Company</th>
    				<th>Contact</th>
    				<th>Country</th>
    			</tr>
    			<tr>
    				<td>Alfreds Futterkiste</td>
    				<td>Maria Anders</td>
    				<td>Germany</td>
    			</tr>
    			<tr>
    				<td>Centro comercial Moctezuma</td>
    				<td>Francisco Chang</td>
    				<td>Mexico</td>
    			</tr>
    			<tr>
    				<td>Ernst Handel</td>
    				<td>Roland Mendel</td>
    				<td>Austria</td>
    			</tr>
    			<tr>
    				<td>Island Trading</td>
    				<td>Helen Bennett</td>
    				<td>UK</td>
    			</tr>
    			<tr>
    				<td>Laughing Bacchus Winecellars</td>
    				<td>Yoshi Tannamuri</td>
    				<td>Canada</td>
    			</tr>
    			<tr>
    				<td>Magazzini Alimentari Riuniti</td>
    				<td>Giovanni Rovelli</td>
    				<td>Italy</td>
    			</tr>
    		</table>
    	</div>
    </section>
    CSS
    h1,.h1{font:700 5rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0 2rem;text-transform:capitalize}
    h2,.h2{font:700 4rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0 2rem;text-transform:capitalize}
    .title{font:700 4rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0 2rem;text-transform:capitalize}
    .sub_title{font:700 2.4rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0 2rem;text-transform:capitalize}
    h3,.h3{font:700 3rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:0;text-transform:capitalize}
    h4,.h4{font:700 2.4rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:0;text-transform:capitalize}
    h5,.h5{font:700 2.2rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:0;text-transform:capitalize}
    h6,.h6{font:700 2rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:0;text-transform:capitalize}
    
    .content h1,.content .h1{font:700 5rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0 2rem;text-transform:capitalize}
    .content h2,.content .h2,.content .title{font:700 4rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0 2rem;text-transform:capitalize}
    .content h3,.content .h3{font:700 3rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0;text-transform:capitalize}
    .content h4,.content .h4{font:700 2.4rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0;text-transform:capitalize}
    .content h5,.content .h5{font:700 2.2rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0;text-transform:capitalize}
    .content h6,.content .h6{font:700 2rem/1.2 'Nunito Sans',sans-serif;color:#31344b;margin:1rem 0;text-transform:capitalize}
    .content p{margin:0 0 1.5rem}
    .content ul{margin-bottom:2rem}
    .content ul li{display: table;font:400 1.6rem/1.5 'Nunito Sans',sans-serif;color:#000;padding:0 0 0 2.2rem;margin:1rem 0;position:relative}
    .content ul li p,.content ul li span{margin:0}
    .content ul li::before{content:'';display:block;position:absolute;color:#09a5be;top:.3rem;left:.5rem;width:.7rem;height:1.2rem;border-style:solid;border-width:0 .2rem .2rem 0;-webkit-transform:rotate(40deg);-moz-transform:rotate(40deg);-ms-transform:rotate(40deg);-o-transform:rotate(40deg);transform:rotate(40deg)}
    .content ul.arrow_list li::before{background-image:url(/img/arrow_list.png);background-repeat:no-repeat;background-position:center;-webkit-background-size:1.4rem 1.4rem;-moz-background-size:1.4rem 1.4rem;-o-background-size:1.4rem 1.4rem;background-size:1.4rem 1.4rem;width:1.4rem;height:1.4rem;border:none;top:.5rem;left:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}
    .content ol{margin-bottom:2rem;counter-reset:li}
    .content ol li{display: table;font:400 1.6rem/1.5 'Nunito Sans',sans-serif;color:#000;padding:0 0 0 2rem;margin:1rem 0;overflow:hidden}
    .content ol li::before{margin-left:-2rem;counter-increment:li;content:counters(li, ".") ". ";color:#000;font-weight:700}
    .content blockquote{font:400 1.6rem/1.5 'Nunito Sans',sans-serif;padding-left:2rem;margin-bottom:3rem;clear:both;position:relative}
    .content blockquote::after{content:'';display:block;width:1rem;top:0;left:0;height:100%;position:absolute;background:#09a5be}
    .content a:not(.button){display:inline-block;color:#09a5be;font-weight:600;-webkit-transition:.3s linear;-o-transition:.3s linear;-moz-transition:.3s linear;transition:.3s linear}
    .content a:not(.button):focus{color:#066978}
    .content img{height:auto!important}
    .content ul:last-child,.content ol:last-child,.content table:last-child,.content img:last-child,.content iframe:last-child,.content p:last-child{margin-bottom:0}
    .content iframe{width:100%;height:35rem}
    .content table ul li, .content table ol li {display:block}
    .content .content_table{width:100%}
    .content .content_table th{text-align:left;font-weight:700;color:#ffffff}
    .content .content_table th p{font-weight:700;color:#ffffff}
    .content .content_table tr:nth-child(odd){background-color:#f7f7f7}
    .content .content_table tr:first-child{background-color:#09a5be}
    .content .content_table th,.content .content_table td{padding:1rem}
    .content .scroll_table{width:100%}
    .content .scroll_table thead tr,.scroll_table tbody tr{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:100%}
    .content .scroll_table thead tr{background-color:#09a5be}
    .content .scroll_table thead tr th{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;font-weight:700;color:#fff}
    .content .scroll_table thead tr th p{margin:0 1.2rem 0 0;font-weight:700;color:#fff}
    .content .scroll_table tbody{display:block;max-height:12.6rem;overflow-y:auto}
    .content .scroll_table tbody tr:nth-child(odd){background-color:#f7f7f7}
    .content .scroll_table tbody tr td{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;text-align:center}
    .content .scroll_table th,.scroll_table td{padding:1rem}
    p{font:400 1.6rem/1.5 'Nunito Sans',sans-serif;color:#000;margin:1rem 0}
    
    @media (-ms-high-contrast: none), (-ms-high-contrast: active), (-moz-touch-enabled: 0), (hover: hover) {
    	.content a:not(.button):hover{color:#066978}
    }
    
    @media only screen and (max-width: 1300px) {
    	h1,.h1{font-size:4rem}
    	.content h1,.content .h1{font-size:4rem}
    	h2,.h2{font-size:3.4rem}
    	.content h2,.content .h2{font-size:3.4rem}
    	.title,.content .title{font-size:3.4rem}
    	.content img[style*="float"][style*="right"]{margin:1rem 0 1rem 4.5rem !important}
    	.content img[style*="float"][style*="left"]{margin:1rem 4.5rem 1.5rem 0 !important}
    }
    
    @media only screen and (max-width: 992px) {
    	h1,.h1{font-size:3rem}
    	.content h1,.content .h1{font-size:3rem}
    	h2,.h2{font-size:2.7rem}
    	.content h2,.content .h2{font-size:2.7rem}
    	.title,.content .title{font-size:2.7rem}
    	h3,.h3{font-size:2.3rem}
    	.content h3, .content .h3{font-size:2.3rem}
    	h4,.h4{font-size:2rem}
    	.content h4,.content .h4{font-size:2rem}
    	h5,.h5{font-size:1.8rem}
    	.content h5,.content .h5{font-size:1.8rem}
    	h6,.h6{font-size:1.6rem}
    	.content h6,.content .h6{font-size:1.6rem}
    	.content img[style*="float"][style*="right"]{margin:1rem 0 1rem 2.5rem !important}
    	.content img[style*="float"][style*="left"]{margin:1rem 2.5rem 1.5rem 0 !important}
    }
    
    @media only screen and (max-width: 767px) {
    	h1,.h1{font-size:2.8rem}
    	.content h1,.content .h1{font-size:2.8rem}
    	h2,.h2{font-size:2.5rem}
    	.content h2,.content .h2{font-size:2.5rem}
    	.title,.content .title{font-size:2.5rem}
    	h3,.h3{font-size:2.1rem}
    	.content h3,.content .h3{font-size:2.1rem}
    	h4,.h4{font-size:1.9rem}
    	.content h4,.content .h4{font-size:1.9rem}
    	h5,.h5{font-size:1.7rem}
    	.content h5,.content .h5{font-size:1.7rem}
    }
    
    @media only screen and (max-width: 640px) {
    	.content img[style*="float"]{float:none!important;display:block;width:100%!important;max-width:100%!important;margin:0 auto 2rem!important}
    	.content img[style*="float"][style*="right"]{margin:0 auto 2rem!important;text-align:center}
    	.content img[style*="float"][style*="left"]{margin:0 auto 2rem!important;text-align:center}
    	.content p[style*="float"]{float:none!important;display:block;width:100%!important;max-width:100%!important;margin:1rem auto!important}
    	.content p[style*="float"][style*="right"]{margin:1rem auto!important;text-align:center}
    	.content p[style*="float"][style*="left"]{margin:1rem auto!important;text-align:center}
    }
    SCSS
    /* Vars */
    $font:      'Nunito Sans', sans-serif;
    $main:      #09a5be;
    $dark:      #066978;
    $white:     #ffffff;
    $cb:        #000000;
    $p:         $cb;
    
    h1, .h1 {
    	font: 700 5rem/1.2 $font;
    	color: $main;
    	margin: 1rem 0 2rem;
    	text-transform: capitalize;
    }
    
    h2, .h2 {
    	font: 700 4rem/1.2 $font;
    	color: $main;
    	margin: 1rem 0 2rem;
    	text-transform: capitalize;
    }
    
    .title {
    	font: 700 4rem/1.2 $font;
    	color: $main;
    	margin: 1rem 0 2rem;
    	text-transform: capitalize;
    }
    
    .sub_title {
    	font: 700 2.4rem/1.2 $font;
    	color: $main;
    	margin: 1rem 0 2rem;
    	text-transform: capitalize;
    }
    
    h3, .h3 {
    	font: 700 3rem/1.2 $font;
    	color: $main;
    	margin: 0;
    	text-transform: capitalize;
    }
    
    h4, .h4 {
    	font: 700 2.4rem/1.2 $font;
    	color: $main;
    	margin: 0;
    	text-transform: capitalize;
    }
    
    h5, .h5 {
    	font: 700 2.2rem/1.2 $font;
    	color: $main;
    	margin: 0;
    	text-transform: capitalize;
    }
    
    h6, .h6 {
    	font: 700 2rem/1.2 $font;
    	color: $main;
    	margin: 0;
    	text-transform: capitalize;
    }
    
    .content {
    	 h1, .h1 {
    		font: 700 5rem/1.2 $font;
    		color: $main;
    		margin: 1rem 0 2rem;
    		text-transform: capitalize;
    	}
    	
    	h2, .h2, .title {
    		font: 700 4rem/1.2 $font;
    		color: $main;
    		margin: 1rem 0 2rem;
    		text-transform: capitalize;
    	}
    	
    	h3, .h3 {
    		font: 700 3rem/1.2 $font;
    		color: $main;
    		margin: 1rem 0;
    		text-transform: capitalize;
    	}
    	
    	h4, .h4 {
    		font: 700 2.4rem/1.2 $font;
    		color: $main;
    		margin: 1rem 0;
    		text-transform: capitalize;
    	}
    	
    	h5, .h5 {
    		font: 700 2.2rem/1.2 $font;
    		color: $main;
    		margin: 1rem 0;
    		text-transform: capitalize;
    	}
    	
    	h6, .h6 {
    		font: 700 2rem/1.2 $font;
    		color: $main;
    		margin: 1rem 0;
    		text-transform: capitalize;
    	}
    	
    	p {
    		margin: 0 0 1.5rem;
    	}
    	
    	ul {
    		margin-bottom: 2rem;
    		
    		li {
    			display: table;
    			font: 400 1.6rem/1.5 $font;
    			color: $cb;
    			padding: 0 0 0 2.2rem;
    			margin: 1rem 0;
    			position: relative;
    			
    			p, span {
    				margin: 0;
    			}
    			
    			&::before {
    				content: '';
    				display: block;
    				position: absolute;
    				color: $main;
    				top: .3rem;
    				left: .5rem;
    				width: .7rem;
    				height: 1.2rem;
    				border-style: solid;
    				border-width: 0 .2rem .2rem 0;
    				transform: rotate(40deg);
    			}
    			
    			/*&::after{
    			  content: '';
    			  display: block;
    			  position: absolute;
    			  color: $main;
    			  left: -.2rem;
    			  width: 1.7rem;
    			  height: 1.7rem;
    			  top: 0;
    			  border: 0.2rem solid $main;
    			  border-radius: 50%;
    			}*/
    		}
    		
    		&.arrow_list {
    			
    			li {
    				
    				&::before{
    					background-image: url(/img/arrow_list.png);
    					background-repeat: no-repeat;
    					background-position: center;
    					background-size: 1.4rem 1.4rem;
    					width: 1.4rem;
    					height: 1.4rem;
    					border: none;
    					top: 0.5rem;
    					left: 0;
    					transform: none;
    				}
    			}
    		}
    	}
    	
    	ol {
    		margin-bottom: 2rem;
    		counter-reset: li;
    		
    		li {
    			display: table;
    			font: 400 1.6rem/1.5 $font;
    			color: $cb;
    			padding:0 0 0 2rem;
    			margin: 1rem 0;
    			overflow: hidden;
    			
    			&::before {
    				margin-left: -2rem;
    				counter-increment: li;
    				content: counters(li, ".") ". ";
    				color: $cb;
    				font-weight: 700;
    			}
    		}
    	}
    	
    	blockquote {
    		font: 400 1.6rem/1.5 $font;
    		padding: 0 0 0 2rem;
    		margin: 0 0 3rem;
    		clear: both;
    		position: relative;
    		
    		&::after {
    			content: '';
    			display: block;
    			width: 1rem;
    			top: 0;
    			left: 0;
    			height: 100%;
    			position: absolute;
    			background: $main;
    		}
    	}
    	
    	a {
    		&:not(.button) {
    			display: inline-block;
    			color: $main;
    			font-weight: 600;
    			transition: .3s linear;
    			
    			&:focus {
    				color: $dark;
    			}
    		}
    	}
    	
    	img {
    		height: auto !important;
    	}
    	
    	ul:last-child,
    	ol:last-child,
    	table:last-child,
    	img:last-child,
    	iframe:last-child,
    	p:last-child {
    		margin-bottom: 0;
    	}
    	
    	iframe {
    		width: 100%;
    		height: 35rem;
    	}
    	
    	table {
    		ul, ol {
    			li {
    				display: block;
    			}
    		}
    	}
    	
    	.content_table {
    		width: 100%;
    		
    		th {
    			text-align: left;
    			font-weight: 700;
    			color: $white;
    			
    			p {
    				font-weight: 700;
    				color: $white;
    			}
    		}
    		
    		tr {
    			&:nth-child(odd) {
    				background-color: #f7f7f7;
    			}
    			
    			&:first-child{
    				background-color: $main;
    			}
    		}
    		
    		th, td {
    			padding: 1rem
    		}
    	}
    	
    	.scroll_table {
    		width: 100%;
    		
    		thead, tbody {
    			tr {
    				display: flex;
    				width: 100%;
    			}
    		}
    		
    		thead {
    			
    			tr {
    				background-color: $main;
    				
    				th {
    					flex: 1;
    					font-weight: 700;
    					color: $white;
    					
    					p {
    						margin: 0 1.2rem 0 0;
    						font-weight: 700;
    						color: $white;
    					}
    				}
    			}
    		}
    		
    		tbody {
    			display: block;
    			max-height: 12.6rem;
    			overflow-y: auto;
    			
    			tr {
    				&:nth-child(odd) {
    					background-color: #f7f7f7;
    				}
    				
    				td {
    					flex: 1;
    					text-align: center
    				}
    			}
    		}
    		
    		th, td {
    			padding: 1rem
    		}
    	}
    }
    
    p {
    	font: 400 1.6rem/1.5 $font;
    	color: $p;
    	margin: 1rem 0;
    }
    
    @media (-ms-high-contrast: none), (-ms-high-contrast: active), (-moz-touch-enabled: 0), (hover: hover) {
    	.content a:not(.button):hover {color: $dark;}
    }
    
    @media only screen and (max-width: 1300px) {
    	h1, .h1 {font-size: 4rem;}
    	.content h1, .content .h1 {font-size: 4rem;}
    	h2, .h2 {font-size: 3.4rem;}
    	.content h2, .content .h2 {font-size: 3.4rem;}
    	.title, .content .title {font-size: 3.4rem;}
    	.content img[style*="float"][style*="right"]{margin:1rem 0 1rem 4.5rem !important}
    	.content img[style*="float"][style*="left"]{margin:1rem 4.5rem 1.5rem 0 !important}
    }
    
    @media only screen and (max-width: 992px) {
    	h1, .h1 {font-size: 3rem;}
    	.content h1, .content .h1 {font-size: 3rem;}
    	h2, .h2 {font-size: 2.7rem;}
    	.content h2, .content .h2 {font-size: 2.7rem;}
    	.title, .content .title {font-size: 2.7rem;}
    	h3, .h3 {font-size: 2.3rem;}
    	.content h3, .content .h3 {font-size: 2.3rem;}
    	h4, .h4 {font-size: 2rem;}
    	.content h4, .content .h4 {font-size: 2rem;}
    	h5, .h5 {font-size: 1.8rem;}
    	.content h5, .content .h5 {font-size: 1.8rem;}
    	h6, .h6 {font-size: 1.6rem;}
    	.content h6, .content .h6 {font-size: 1.6rem;}
    	.content img[style*="float"][style*="right"]{margin:1rem 0 1rem 2.5rem !important}
    	.content img[style*="float"][style*="left"]{margin:1rem 2.5rem 1.5rem 0 !important}
    }
    
    @media only screen and (max-width: 767px) {
    	h1, .h1 {font-size: 2.8rem;}
    	.content h1, .content .h1 {font-size: 2.8rem;}
    	h2, .h2 {font-size: 2.5rem;}
    	.content h2, .content .h2 {font-size: 2.5rem;}
    	.title, .content .title {font-size: 2.5rem;}
    	h3, .h3 {font-size: 2.1rem;}
    	.content h3, .content .h3 {font-size: 2.1rem;}
    	h4, .h4 {font-size: 1.9rem;}
    	.content h4, .content .h4 {font-size: 1.9rem;}
    	h5, .h5 {font-size: 1.7rem;}
    	.content h5, .content .h5 {font-size: 1.7rem;}
    }
    
    @media only screen and (max-width: 640px) {
    	.content img[style*="float"]{float:none!important;display:block;width:100%!important;max-width:100%!important;margin:0 auto 2rem!important}
    	.content img[style*="float"][style*="right"]{margin:0 auto 2rem!important;text-align:center}
    	.content img[style*="float"][style*="left"]{margin:0 auto 2rem!important;text-align:center}
    	.content p[style*="float"]{float:none!important;display:block;width:100%!important;max-width:100%!important;margin:1rem auto!important}
    	.content p[style*="float"][style*="right"]{margin:1rem auto!important;text-align:center}
    	.content p[style*="float"][style*="left"]{margin:1rem auto!important;text-align:center}
    }
    JavaScript
    function removeEmptyP(className) {
        $('.' + className + ' p').each(function () {
            var $this = $(this);
    		
    		if ($this.html().replace(/\s|&nbsp;/g, '').length === 0) {
    			$this.remove();
    		}
        });
    }
    
    if ($window.width() <= 992) {
        removeEmptyP('about_section');
    }
    $('.img_move').each(function () {
    	var $this = $(this);
    	var parent = $this.closest($('.section_mobile'));
    	var contentImg = parent.find('img');
    	var lastElement = $this.children().last();
    	
    	if ($(window).width() <= 640) {
    		if (contentImg.length === 1) {
    			contentImg.insertAfter(lastElement);
    		}
    	}
    });
    
    if ($(window).width() <= 640) {
    	$('.about .content img').insertAfter($('.about .content').children().last());
    	
    	// $('.about .content img').insertBefore($('.about .content').children().first());
    }