.flex-box {
    display: flex;
    display: -webkit-flex;
}

.flex-col {
    flex-direction: column;
}

.flex-full-width {
    flex-basis: 100%;
}

.flex-half-width {
    flex-basis: 50%;
}

.flex-box.pad-3x {
    margin: 0 -12px;
}

.flex-box.pad-3x > * {
    padding: 12px;
    flex-basis: calc(50% - 24px);
    flex-basis: -webkit-calc(50% - 24px);
    flex-basis: -moz-calc(50% - 24px);
}

.flex-gap-3x {
    margin: -12px -12px;
}

.flex-gap-3x > * {
    margin: 12px 12px;
}

.clickable {
    cursor: pointer;
}

.vertically-centered {
    align-items: center;
}

.horizontally-centered {
    justify-content: center;
}

.text-center {
    text-align: center;
}

[hidden='yes'] {
    display: none !important;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}

.relative {
    position: relative;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.half-width {
    width: 50%;
}

.zero-width {
    width: 0;
}

.zero-margin {
    margin: 0 !important;
}

.navbar-shadow {
    box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
    -webkit-box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
    -moz-box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
}

.shadowed {
    box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
    -webkit-box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
    -moz-box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
}

.left {
    margin-right: auto;
}

.right {
    margin-left: auto;
}

.wrap {
    flex-wrap: wrap;
}

.flexible {
    flex: 1;
}

.small-text {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.045px;
}

.small-md-text {
    font-size: 14px;
    line-height: 16px;
}

.large-text {
    font-size: 24px;
    line-height: 32px;
}

.body-text {
    font-size: 16px;
    line-height: 24px;
}

.gap-1x {
    height: 8px;
}

.gap-1-5x {
    height: 12px;
}

.gap-2x {
    height: 16px;
}

.gap-3x {
    height: 24px;
}

.gap-4x {
    height: 32px;
}

.gap-5x {
    height: 40px;
}

.gap-6x {
    height: 48px;
}

.gap-7x {
    height: 56px;
}

.gap-8x {
    height: 64px;
}

.gap-9x {
    height: 72px;
}

.gap-10x {
    height: 80px;
}

.gap-11x {
    height: 88px;
}

.gap-12x {
    height: 96px;
}

.hgap-1x {
    width: 8px;
}

.hgap-3x {
    width: 24px;
}

.hgap-4x {
    width: 32px;
}

.left-4x {
    margin-left: 32px;
}

.bold {
    font-weight: 600;
}

.bottom-3x {
    margin-bottom: -24px;
}

.sides-3x {
    margin-left: -24px;
    margin-right: -24px;
}

.zero-bottom-padding {
    padding-bottom: 0;
}

.left-1x {
    margin-left: -8px;
}

.left-2x {
    margin-left: -16px;
}

.right-1x {
    margin-right: -8px;
}

.right-2x {
    margin-right: -16px;
}

.zero-left-padding {
    padding-left: 0 !important;
}

.height-6x {
    height: 48px;
}

.padding-left-2x {
    padding-left: 16px;
}

/*Checkboxes and Radios*/
.checkbox, .radio {
    display: block;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 16px !important;
    line-height: 24px !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #5160EC;
}

.checkbox:last-child, .radio:last-child {
    margin-bottom: 0;
}

.checkbox input, .radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 16px;
    width: 16px;
    border: 2px solid #CBCFF9;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.radio .checkmark {
    border-radius: 8px;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: block;
    left: 2px;
    top: 2px;
    width: 8px;
    height: 8px;
    background: white;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.radio .checkmark:after {
    border-radius: 4px;
}

.checkbox input:checked ~ .checkmark:after, .radio input:checked ~ .checkmark:after {
    background: #5160EC;

}

.muted {
    color: #808080;
}

/*Backgrounds*/
.black-bg {
    background-color: #000000;
}

.black60-bg {
    background-color: #21275B;
}

.build-nav.blue100-bg, .blue100-bg {
    background-color: #5160EC;
}

.blue90-bg {
    background-color: #6270EE;
}

.blue80-bg {
    background-color: #7380F0;
}

.blue20-bg {
    background-color: #DCDFFB;
}

.blue10-bg {
    background-color: #EEEFFD;
}

.blue2-bg {
    background-color: #FCFCFF;
}

.white-bg {
    background-color: #FFFFFF;
}

.yellow20-bg {
    background-color: #FCF2DC;
}

.green10-bg {
    background-color: #E9F2F1;
}

/*status-bgs*/
.green100-bg {
    background-color: #00A992;
}

.red100-bg {
    background-color: #F1574B;
}

.yellow100-bg {
    background-color: #EFC04E;
}

.mustard100-bg {
    background-color: #E3C981;
}

/*Foregrounds*/
.black60-fg {
    color: #21275B;
}

.blue100-fg {
    color: #5160EC;
}

.white-fg {
    color: #FFFFFF;
}

/*font styles*/
.h3 {
    font-size: 36px;
    line-height: 48px;
}

.max-width-1200 {
    max-width: 1200px;
}

.margin-auto {
    margin: auto;
}

.height-100 {
    height: 100%;
}

.build-logo.white-logo {
    background-image: url(../img/icon/logo_white.png);
    background-size: 120px;
    height: 100%;
    width: 100%;
}

.build-page.white-fg {
    color: #FFFFFF;
}


.placeholder {

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    background-color: #FFFFFF;

}

.design-page-placeholder {
    background-image: url(../img/loading/designs.gif);
    background-repeat: repeat-y;
    background-size: contain;
    filter: grayscale(0.4) hue-rotate(80deg);
}

.sketch-page-placeholder {
    background-image: url(../img/loading/sketch.gif);
    background-repeat: no-repeat;
    background-size: 100%;
    filter: grayscale(0.4) hue-rotate(80deg);
}

/*
TODO: Make this responsive, the nav bar cuts off the top on mobile
 */
.property-page-placeholder {
    background-image: url(../img/loading/property.gif);
    background-repeat: no-repeat;
    background-size: 100%;
    filter: grayscale(0.4) hue-rotate(80deg);
}


.topvideoimage {
    background-image: url(../img/video/topvideoimage.png);
    width: 100%;
    background-repeat: no-repeat;
    height: 16px;
    border: 1px solid #EEEFFD;
    background-color: #EEEFFD;
    border-radius: 8px 8px 0 0;
    background-size: 96px auto;
    background-position-y: bottom;
    background-position-x: 6px;

    box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
    -webkit-box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
    -moz-box-shadow: 0 0 6px rgba(81, 96, 236, 0.3);
}

.build-page.landing-page {
    padding: 72px 0 72px 0;
    text-align: center;
    position: inherit;
    overflow: initial;
}

#navbar.landing-page {
    position: inherit;
}

.padding-3x {
    padding: 24px
}

.padding-horizontally-3x {
    padding: 0 24px;
}

.line-break {
    height: 1px;
    width: 100%;
}

.step-label {
    max-width: 48px;
    text-align: center;
    padding: 0 4px;
}

.arrow-down {
    background-image: url(../img/icon/arrow_down.png);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: right;
    background-origin: content-box;
    cursor: pointer;
}

.arrow-up {
    background-image: url(../img/icon/arrow_up.png);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: right;
    background-origin: content-box;
    cursor: pointer;
}

.equally-width div {
    flex-grow: 1;
    flex-basis: 0;
}

.flex-grown {
    flex-grow: 1;
}

.circle-2x {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.margin-right-1x {
    margin-right: 8px;
}

.assumption-warning {
    height: 16px;
    width: 16px;
    padding-right: 24px;
    flex: 0;
    background-size: 16px auto;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url(../img/status/status_error.png);
}