BODY {
    font-family: Open Sans, sans-serif;
    font-size: 22px;
    margin: 70px 0 0 0;
    font-weight: 300;
}

BODY * {
    box-sizing: border-box;
}

DIV.content {
    width: 980px;
    margin: 0 auto;
}

@media (max-width: 1019px) {
  DIV.content {
    width: calc(100vw - 40px);
  }
  .wide {
    display: none !important;
  }
}

@media (max-width: 699px) {
  DIV.content {
    width: calc(100vw - 20px);
  }
  .desktop {
    display: none !important;
  }
}

@media (min-width: 700px) {
  .mobile {
    display: none !important;
  }
}

A {
    color: #2980b9;
    text-decoration: none;
}

A:hover {
    text-decoration: underline;
}

STRONG {
    font-weight: 500;
}

/* Top bar and header */

HEADER {
    background-image: url(header.png);
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid #bdc3c7;
    margin-top: -70px;
}

DIV.topbar DIV.content, DIV.jumbotron {
    display: flex;
    align-items: center;
    width: calc(100vw - 40px);
    max-width: 1140px;
}

DIV.topbar {
    padding: 10px 0;
    width: calc(100vw);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: background .5s;
    background: #fdfdfd;
    border-bottom: 1px solid #bdc3c7;
    z-index: 100;
}

BODY.index DIV.topbar {
    background: rgba(255, 255, 255, 0);
    border-color: transparent;
}

BODY.scrolled DIV.topbar,
BODY.hamburger DIV.topbar {
    background: #fdfdfd;
    border-color: #bdc3c7;
}

H1 {
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 0 15px;
    white-space: nowrap;
}

DIV.topbar DIV.links {
    width: 100%;
    text-align: right;
}

DIV.topbar A {
    color: black;
    text-decoration: none;
}

DIV.topbar A IMG {
    display: block;
}

DIV.topbar DIV.links A {
    display: inline-block;
    margin-left: 20px;
}

DIV.topbar DIV.links I.fa-bars {
    font-size: 32px;
}

DIV.topbar DIV.menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    text-align: left;
    height: 0;
    overflow-y: hidden;
    transition: height .5s;
    background: #fdfdfd;
}

DIV.topbar DIV.menu A {
    display: block;
    font-size: 26px;
    padding: 5px 0;
}

BODY.hamburger DIV.topbar DIV.menu {
    border-bottom: 1px solid #bdc3c7;
    padding: 5px 0;
    height: 282px;
}

/* Jumbotron */

DIV.jumbotron > DIV {
    max-width: 580px;
}

DIV.jumbotron {
    justify-content: space-between;
    padding: 100px 0 50px 0;
}

@media (max-width: 1179px) {
  DIV.jumbotron
  {
    justify-content: center;
  }
  DIV.jumbotron > DIV:last-child
  {
    display: none;
  }
}

H2 {
    font-size: 44px;
    font-weight: 300;
    margin: 0;
}

DIV.jumbotron P {
    margin: 20px 0 35px 0;
}

DIV.jumbotron A.button {
    background: #ecf0f1;
    color: black;
    text-decoration: none;
    font-size: 28px;
    padding: 10px 0px;
    border-radius: 8px;
    box-shadow: 1px 1px #bdc3c7;
    display: inline-block;
    width: 270px;
    text-align: center;
}

DIV.jumbotron A.button.main {
    background: #2980b9;
    color: white;
}

DIV.jumbotron A:active {
    margin: 1px -1px -1px 1px;
    box-shadow: none;
}

DIV.jumbotron DIV.buttons {
    display: flex;
    gap: 5px;
    font-size: 18px;
}

@media (max-width: 699px) {
    DIV.jumbotron DIV.buttons {
        flex-direction: column;
    }
}

/* Page contents */

H3 {
    font-size: 28px;
    font-weight: normal;
    margin: 10px 0 20px 0;
}

SECTION {
    padding: 15px 0 0 0;
}

@media (max-width: 699px) {
    SECTION {
        padding-top: 5px;
    }
}

DIV.text P {
    margin: 20px 0;
    text-align: justify;
    line-height: 1.4em;
}

DIV.text A {
    color: #2980b9;
    text-decoration: none;
}

DIV.text A:hover {
    text-decoration: underline;
}

A[name] {
    display: block;
    margin-top: -60px;
    padding-bottom: 60px;
}

/* Form fields */

INPUT[type=text], INPUT[type=password] {
    outline: none;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    border-radius: 5px;
    border: 1px solid #bdc3c7;
    padding: 6px 10px;
    margin: 7px 0;
}

A.btn, BUTTON {
    outline: none;
    border: none;
    padding: 6px 30px;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 1px 1px #bdc3c7;
    background: #ecf0f1;
    color: black !important;
    min-width: 160px;
    margin: 6px 0;
    text-decoration: none !important;
    text-align: center;
}

A.btn:active, BUTTON:active {
    margin: 7px -1px 5px 1px;
    box-shadow: none;
}

A.btn.main, BUTTON.main, BODY.active BUTTON {
    background: #2980b9;
    color: white;
}

BUTTON[disabled], A.btn.disabled {
    opacity: 0.5;
    cursor: pointer;
    pointer-events: none;
}

BUTTON.login {
    width: 280px;
}


/* Scaffolding */

DIV.div2 {
    display: flex;
    justify-content: space-between;    
}

IMG.help {
    border: 1px solid #bdc3c7;
}

/* Explanation */

IMG.wide {
    width: 100%;
    height: auto;
}

/* Browsers */

DIV.div5 {
    display: flex;
}

DIV.div5 > DIV {
    width: 20%;
    text-align: center;
    margin-bottom: 10px;
}

@media (max-width: 699px) {
    DIV.div5 {
        flex-wrap: wrap;
        justify-content: center;
    }
    DIV.div5 > DIV {
        width: 170px;
    }
}


DIV.div5 > DIV A.btn {
    margin-top: 5px;
    display: inline-block;
    width: 150px;
    padding: 6px 10px;    
}

DIV.div5 IMG.disabled {
    opacity: 35%;
}

@media (max-width: 1019px) {
    DIV.div5 IMG {
        width: 96px;
        height: 96px;
    }
    BODY DIV.div5 > DIV A.btn {
        min-width: 120px;
        width: 120px;
    }
}


/* Examples */

DIV.example {
    margin: 8px 0;
    font-weight: normal;
}

DIV.example DIV.title {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center
}

DIV.example DIV.title IMG {
    display: block;
    border: 1px solid #bdc3c7;
    margin-top: 3px;
}

DIV.example DIV.title A {
    display: block;
    width: 930px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 1019px) {
    DIV.example DIV.title A {
        width: calc(100vw - 40px);
    }
}

DIV.example DIV.title DIV.source {
    font-size: 14px;
}

DIV.example DIV.title DIV.source SPAN.grey {
    color: #7f8c8d;
}

DIV.example DIV.details {
    margin-top: 14px;
    font-size: 18px;
}

DIV.example DIV.details0 {
    border: 1px solid #a5cd39;
}

DIV.example DIV.details1 {
    border: 1px solid #00b2ee;
}

DIV.example DIV.details2 {
    border: 1px solid #f7971e;
}

DIV.example DIV.details3 {
    border: 1px solid #ed3a36;
}

DIV.example DIV.details DIV.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 500;
    padding: 10px;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    position: relative;
}

DIV.example DIV.details0 DIV.rating {
    background: #f6ffde;
}

DIV.example DIV.details1 DIV.rating {
    background: #def7ff;
}

DIV.example DIV.details2 DIV.rating {
    background: #ffecd4;
}

DIV.example DIV.details3 DIV.rating {
    background: #ffe6e6;
}

DIV.example DIV.details DIV.rating DIV.links {
    position: absolute;
    font-size: 20px;
    font-weight: normal;
    right: 20px;
    bottom: -1px;
}

DIV.example DIV.details DIV.rating DIV.links A {
    display: inline-block;
    color: black;
    text-decoration: none;
    padding: 7px 20px;
    background: #ecf0f1;
    margin-left: 10px;
    border-top: 1px solid #bdc3c7;
    border-left: 1px solid #bdc3c7;
    border-right: 1px solid #bdc3c7;
    border-bottom: 1px solid transparent;
}

DIV.example DIV.details DIV.rating DIV.links A.active {
    border-bottom: 1px solid white;
    background: white;
}

DIV.example DIV.details0 DIV.rating DIV.links A {
    border-color: #a5cd39;
}

DIV.example DIV.details1 DIV.rating DIV.links A {
    border-color: #00b2ee;
}

DIV.example DIV.details2 DIV.rating DIV.links A {
    border-color: #f7971e;
}

DIV.example DIV.details3 DIV.rating DIV.links A {
    border-color: #ed3a36;
}

DIV.example DIV.details DIV.part {
    padding: 10px;
}

DIV.example DIV.details0 DIV.part {
    border-top: 1px solid #a5cd39;
}

DIV.example DIV.details1 DIV.part {
    border-top: 1px solid #00b2ee;
}

DIV.example DIV.details2 DIV.part {
    border-top: 1px solid #f7971e;
}

DIV.example DIV.details3 DIV.part {
    border-top: 1px solid #ed3a36;
}

DIV.example DIV.details DIV.part H4 {
    margin: 0 0 10px 0;
    font-weight: 500;
    font-size: 20px;
}

DIV.example DIV.details DIV.part P {
    margin: 10px 0;
}

DIV.example DIV.details DIV.part P:last-child {
    margin-bottom: 0;
}

DIV.example DIV.details DIV.topics DIV.list {
    font-size: 17px;
    margin-top: 5px;
}

DIV.example DIV.details DIV.topics DIV.list A {
    display: inline-block;
    color: black;
    background: #ecf0f1;
    padding: 1px 6px;
    border-radius: 3px;
    text-decoration: none;
    width: auto;
    margin: 0 2px 6px 0;
}

DIV.example DIV.details DIV.topics DIV.list A:hover {
    color: #34495e;
}

DIV.example-buttons {
    display: flex;
    justify-content: space-between;
    margin: -15px 0 5px 0;
}

DIV.example-buttons A {
    width: 250px;
}

@media (max-width: 699px) {
    DIV.example-buttons A {
        width: 150px;
    }
}

DIV.example DIV.sharing {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

DIV.example DIV.sharing A {
    font-size: 16px;
    display: inline-block;
    text-decoration: none !important;
    background: #ecf0f1;
    color: black;
    padding: 2px 12px;
    border-radius: 5px;
}

DIV.example DIV.sharing A I {
    margin-right: 2px;
}

/* Pricing */

TABLE.pricing {
    width: 100%;
    font-size: 26px;
}

TD {
    border-bottom: 1px solid #bdc3c7;
    padding: 8px 0;
}
TR:first-child TD {
    padding-top: 0;
}
TR:last-child TD {
    border: none;
}

TD:last-child {
    text-align: right;
}


