/*
* Wing 1.0.0-beta
* Copyright 2016, Kabir Shah
* http://usewing.ml/
* Free to use under the MIT license.
* https://kingpixil.github.io/license
*/

/*------------------------------------------------------------
  Typography
------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

h1, h2, h3 {
    letter-spacing: -.1rem;
}

h1 {
    font-size: 4.0rem;
    line-height: 1.2;
}

h2 {
    font-size: 3.6rem;
    line-height: 1.25;
}

h3 {
    font-size: 3.0rem;
    line-height: 1.3;
}

h4 {
    font-size: 2.4rem;
    letter-spacing: -.08rem;
}

h5 {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -.05rem;
}

h6 {
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0;
}

@media (min-width: 550px) {
    h1 {
        font-size: 5.0rem;
    }

    h2 {
        font-size: 4.2rem;
    }

    h3 {
        font-size: 3.6rem;
    }

    h4 {
        font-size: 3.0rem;
    }

    h5 {
        font-size: 2.4rem;
    }

    h6 {
        font-size: 1.5rem;
    }
}

/*------------------------------------------------------------
  Links
------------------------------------------------------------*/
a {
    color: #104cfb;
    transition: all .1s ease;
}

a:hover {
    cursor: pointer;
    color: #222222;
}

/*------------------------------------------------------------
  Forms
------------------------------------------------------------*/

input[type=text], input[type=password], input[type=email], input[type=search], input[type=number], input[type=file], input[type=tel], select, textarea, textarea[type=text] {
    width: 100%;
    height: 45px;
    padding: 10px 10px;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    background: #FFFFFF;
    border-radius: 2px;
    border: 1px solid #a4a4a4;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all .2s ease;
}

input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=search]:hover, input[type=number]:hover, input[type=file], input[type=tel], select:hover, textarea:hover, textarea[type=text]:hover {
    border: 1px solid #111111;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=search]:focus, input[type=number], input[type=file], input[type=tel], select:focus, textarea:focus, textarea[type=text]:focus {
    outline: none;
    border: 1px solid #104cfb;
}

textarea, textarea[type=text] {
    min-height: 7rem;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    width: 80%;
}

.row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.row > :first-child {
    margin-left: 0;
}

.col {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.col, [class^='col-'], [class*=" col-"] {
    margin-left: 4%;
}

.col-1 {
    flex: 1;
}

.col-2 {
    flex: 2;
}

.col-3 {
    flex: 3;
}

.col-4 {
    flex: 4;
}

.col-5 {
    flex: 5;
}

.col-6 {
    flex: 6;
}

.col-7 {
    flex: 7;
}

.col-8 {
    flex: 8;
}

.col-9 {
    flex: 9;
}

.col-10 {
    flex: 10;
}

.col-11 {
    flex: 11;
}

.col-12 {
    flex: 12;
}

@media screen and (max-width: 768px) {
    .col, [class^='col-'], [class*=" col-"] {
        margin: 1rem 0;
        flex: 0 0 100%;
    }
}

/*------------------------------------------------------------
  Lists
------------------------------------------------------------*/

ul, ol {
    padding-left: 0;
    margin-top: 0;
}

ul ul, ul ol, ol ol, ol ul {
    margin: 1rem 0 1rem 2rem;
    font-size: 95%;
}

ul {
    list-style: circle inside;
}

ol {
    list-style: decimal inside;
}

li {
    margin-bottom: 1rem;
}

/*------------------------------------------------------------
  Tables
  ------------------------------------------------------------*/

.table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
}

.table th, .table td {
    vertical-align: middle;
    padding: 12px 4px;
}

.table thead {
    border-bottom: 2px solid #333030;
}

/* responsive tables */
@media screen and (max-width: 768px) {
    .table.responsive {
        position: relative;
        display: block;
    }

    .table.responsive th, .table.responsive td {
        margin: 0;
    }

    .table.responsive thead {
        display: block;
        float: left;
        border: 0;
    }

    .table.responsive thead tr {
        display: block;
        padding: 0 10px 0 0;
        border-right: 2px solid #333030;
    }

    .table.responsive th {
        display: block;
        text-align: right;
    }

    .table.responsive tbody {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .table.responsive tbody tr {
        display: inline-block;
    }

    .table.responsive td {
        display: block;
        min-height: 16px;
        text-align: left;
    }

    .table.responsive tr {
        padding: 0 10px;
    }
}

/*------------------------------------------------------------
  Utilities
------------------------------------------------------------*/

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.full-screen {
    width: 100%;
    min-height: 100vh;
}

.full-width {
    width: 100%;
}

.vertical-align {
    display: flex;
    align-items: center;
}

.horizontal-align {
    display: flex;
    justify-content: center;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.fixed {
    position: fixed;
    width: 100%;
}

@media screen and (max-width: 400px) {
    .hide-phone {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .hide-tablet {
        display: none;
    }
}

/*------------------------------------------------------------
  Misc
------------------------------------------------------------*/

code {
    padding: 0.2rem 0.5rem;
    margin: 0 0.2rem;
    font-size: 90%;
    white-space: nowrap;
    background: #F1F1F1;
    border: 1px solid #E1E1E1;
    border-radius: 4px;
    font-family: "Consolas", "Monaco", "Menlo", monospace;
}

pre > code {
    display: block;
    padding: 1rem 1.5rem;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

/*------------------------------------------------------------
  Navigation
  ------------------------------------------------------------*/

.nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
}

.nav-menu,
.nav-brand {
    display: flex;
}

.nav-menu {
    flex-flow: row;
    flex: 1 0 auto;
}

.nav-item {
    padding: 1rem 2rem;
}

.nav-logo {
    font-weight: bolder;
    font-size: 2rem;
    line-height: 0;
    padding-right: 2rem;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 2rem
}

@media (max-width: 675px) {
    .cards > .card {
        flex: auto;
    }
}

.card {
    flex-direction: column;
    overflow: hidden;
    flex: 0 1 calc(50% - 0.5rem);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.card-header {
    font-weight: 600;
    margin: 0;
    padding: 2rem 3rem 1rem;
}

.card-body {
    padding: 0 3rem 2rem 3rem;
    min-height: 100px;
}

.card-footer {
    display: flex;
    align-items: stretch;
    border-top: 1px solid #dbdbdb;
    flex: 1;
}

.card-footer .card-footer-item {
    display: flex;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1rem;
}

.card-footer-item:not(:first-child) {
    border-left: 1px solid #dbdbdb;
}