﻿/* reset all */

html {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
:root {
    font: 16px;
}
*, *:before, *:after {
    box-sizing: inherit;
}
a, img {
    outline: none;
    border: none;
}
img {
    max-width: 100%;
    display: inline-block;
}
/* body set-up */

body {
    font-family: "Segoe UI", "Noto Sans", "San Francisco", Roboto, Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.5;
    color: #000;
    background: #fff;
    font-weight: normal;
    letter-spacing: -0.01rem;
}
/* main style */

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}
a:hover, a:focus {
    outline: none;
    text-decoration: underline;
}
p {
    margin: 0 0 1.25rem;
}
h1 {
    display: block;
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1;
    margin: 1.875rem 0;
}
h1 span {
    font-size: 0.7em;
    font-weight: normal;
}
h2 {
    font-size: .875rem;
    line-height: 1;
    margin: 0 0 .625rem;
}
h3 {
    font-size: .875rem;
    line-height: 1;
    margin: 0rem 0 1.562rem;
}
ul {
    padding: 0;
    margin-bottom: 1.25rem;
    list-style: none;
}
/*
ul:first-of-type,
article p:nth-of-type(5) {
    margin-bottom: 2.5rem;

}
*/

ul ul {
    margin-bottom: 0
}
ul li {
    padding-left: .937rem;
}
ul li ul {
    margin-bottom: 0;
}
ul li:before {
    content: "\2022"/* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */;
    float: left;
    margin-left: -.937rem;
    font-size: 1.125rem;
    line-height: 1.2;
    color: #C60086;
}
/* layout  */

#wrapper {
    display: block;
    max-width: 50rem;
    margin: .625rem auto;
    padding: 0 0 2.5rem 3.75rem;
}
header {
    margin: 0 0 0 -3.75rem;
    padding: 0;
}
header a {
    display: block;
    margin: .937rem 0 .625rem;
    width: 17.187rem;
    float: right;
}
header a img {
    float: right;
}
header img {
    display: block;
}
article {
    width: 68%;
    float: left;
}
article > a {
    padding: .625rem;
    line-height: 1;
    background-color: #C60086;
    color: #fff;
}
article > a:hover {
    background-color: #0ba2e3;
    text-decoration: none;
}
article p:nth-of-type(4), article p:nth-of-type(5) {
    text-align: left;
}
article p:nth-of-type(4) {
    margin-bottom: 1.25rem;
}
article p:nth-of-type(2), article p:first-of-type {
    text-align: justify;
}
article p:nth-of-type(3) {
    margin-bottom: 1.875rem
}
article> p:first-of-type {
    letter-spacing: 0.1px
}
footer {
    text-align: center;
    padding: 16.875rem 0 0 0;
    width: 29%;
    float: right;
}
footer img {
    display: block;
    margin: 0;
    max-width: 9.687rem;
    float: right
}
footer section {
    width: 70%;
    margin: .937rem auto 0;
    float: right;
}
footer a {
    height: 1.312rem;
    flex: 2
}
footer a img {
    width: auto;
    height: 100%;
}
/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}
/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}

@media only screen and (max-width:49.937rem) {
#wrapper {
    margin: 0 auto;
    border: 0;
    padding: .625rem;
}
a {
    font-weight: bold;
}
header {
    margin: -.625rem -.625rem .625rem;
    padding: .625rem;
}
article,  footer {
    width: 100%;
}
h1 {
    font-size: 1.562rem;
    margin: .937rem 0;
}
ul:first-of-type,  article p:nth-of-type(5) {
    margin-bottom: .625rem;
}
article p:nth-of-type(4) {
    margin-bottom: 1rem;
}
p,  ul,  h3 {
    margin: 0 0 .625rem;
    text-align: left;
}
article > br,  h1 br,  ul br {
    display: none;
}
footer {
    padding: .625rem;
}
footer img {
    margin: 0;
}
footer section {
    width: 9.375rem;
    margin: .937rem 0 0;
    float: none;
}
article p:first-of-type {
    text-align: left;
}
footer img {
    float: none;
}
article > p:nth-of-type(2) {
    text-align: left;
}
}

@media only screen and (max-width:29.937rem) {
body {
    font-size: .812rem;
}
}
