/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
}
body {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
  margin: 0;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
.clearfix:before,
.clearfix:after{
    display: table;
    content: " ";
}
.clearfix:after {
    clear: both;
}
/*! main style*/
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

html, body {
    height: 100%;
}
#wrap {
    background: #333 url('../images/dot.png') repeat;
    min-height: 100%;
}
#container {
    background: #fff;
    width: 90%;
    max-width: 920px;
    margin: 0 auto;
    padding-bottom: 3px;
}
.content {
    float: left;
    width: 65.109%;
}
.content-inner {
    margin: 20px 35px 20px 20px;
}

#logo {
    margin: 0 0 35px;
}
#logo img {
    max-width: 100%;
}
.tagline {
    color: #341a85;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    margin: 0 0 25px;
}
.content-inner p {
    color: #333;
    font-size: 15px;
    line-height: 21px;
    margin: 0 0 20px;
    padding: 0;
}
.content-inner p:last-child {
    margin-bottom: 0;
}
.aside {
    float: left;
    width: 34.891%;
}
.sidebar {
    background: #efefef;
    margin: 3px 3px 0 0;
    padding: 20px 28px;
}
.sidebar h2 {
    color: #341a85;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    line-height: 32px;
    margin: 0 0 25px;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar ul li {
    background: transparent url('../images/bullet.png') no-repeat 0 4px;
    padding-left: 30px;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    min-height: 22px;
    margin-bottom: 15px;
    cursor: pointer;
}
.footer {
    background: #341a85;
    margin: 3px 3px 0;
}
.footer h3 {
    float: left;
    font-size: 32px;
    color: #fff;
    margin: 25px 0 25px 17px;
    line-height: 32px;
}
.footer p {
    float: right;
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    line-height: 24px;
    padding: 20px;
    margin: 0;
}
.footer p a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
}

#popup-wrap {
    background: rgba(50,50,50,.9);
    opacity: 0;
    position: fixed;
    visibility: hidden;
    z-index: -100;
    left: 50%;
    right: 50%;
    top: 50%;
    bottom: 50%;
    overflow: auto;
    -webkit-transition: all .4s linear;
    -moz-transition: all .4s linear;
    -ms-transition: all .4s linear;
    -o-transition: all .4s linear;
    transition: all .4s linear;
}
.popup-active #popup-wrap {
    opacity: 1;
    visibility: visible;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}
#pop-outer {
    position: absolute;
    left: 0;
    right:0;
    bottom: 0;
    top: 0;
    opacity: 0;
}
#popup {
    margin: 0 auto;
    width: 920px;
    background: #fff;
    padding: 36px;
    position: relative;
    border: 4px solid #333;
    -webkit-box-shadow: 0 0 5px -2px #fff;
    box-shadow: 0 0 5px -2px #fff;
}
.popup-vertical-center #popup {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#popup-close {
    position: absolute;
    right: 0;
    top: 0px;
    height: 36px;
    width: 36px;
    font-size: 20px;
    line-height: 36px;
    color: #fff;
    background: rgba(50,50,50,.9);
    cursor: pointer;
    text-align: center;
    border: 1px solid #333;
}
#popup-wrap h3 {
    color: #341a85;
    font-weight: 400;
    font-size: 18px;
    margin: 0 0 20px;
}
#popup-wrap p {
    font-size: 16px;
    margin: 0 0 15px;
}
#popup-wrap p:last-child {
    margin: 0;
}
@media (min-width:768px){
    html, body {
        height: 100%;
    }
    #wrap {
        background: transparent;
        min-height: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width:959px) and (min-width: 768px) {
    .content-inner {
        margin: 20px 30px 20px 20px;
    }
    #logo {
        margin: 0 0 23px;
    }
    .tagline {
        margin-bottom: 25px;
        font-size: 22px;
        line-height: 28px;
    }
    .content-inner p {
        font-size: 14px;
        line-height: 20px;
    }
    .sidebar {
        padding: 20px 0 20px 20px;
    }
    .sidebar h2 {
        font-size: 21px;
        line-height: 28px;
    }
    .sidebar ul li {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .footer h3 {
        font-size: 24px;
    }
    .footer p {
        font-size: 15px;
        line-height: 18px;
    }
    #popup {
       width: 691px;
    }
}
@media (max-width:767px){
    #wrap {
        padding: 25px;
    }
    #container {
        width: 100%;
    }
    .content {
        float: none;
        width: auto;
        text-align: center;
    }
    .content-inner {
        margin: 20px;
    }
    .aside {
        float: none;
        width: auto;
        text-align: center;
    }
    .sidebar ul {
        display: inline-block;
        text-align: left;
    }
    .footer {
        text-align: center;
    }
    .footer h3 {
        float: none;
        margin: 25px 17px;
    }
    .footer p {
        float: none;
    }
    #popup {
        width: 440px;
    }
}
@media (max-width:640px){
    
    #popup {
        width: 300px;
    }
}
