/* Grid

–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.col, .cols {
    width: 100%;
    float: left;
    box-sizing: border-box;
}

/* For devices larger than 400px */
@media (min-width: 400px) {
    .container {
        width: 85%;
        padding: 0;
    }
}

/* For devices larger than 800px */
@media (min-width: 800px) {
    .container {
        width: 80%;
    }

    .col, .cols {
        margin-left: 4%;
    }

    .col:first-child, .cols:first-child {
        margin-left: 0;
    }

    .one.col, .one.cols {
        width: 4.66666666667%;
    }

    .two.cols {
        width: 13.3333333333%;
    }

    .three.cols {
        width: 22%;
    }

    .four.cols {
        width: 30.6666666667%;
    }

    .five.cols {
        width: 39.3333333333%;
    }

    .six.cols {
        width: 48%;
    }

    .seven.cols {
        width: 56.6666666667%;
    }

    .eight.cols {
        width: 65.3333333333%;
    }

    .nine.cols {
        width: 74.0%;
    }

    .ten.cols {
        width: 82.6666666667%;
    }

    .eleven.cols {
        width: 91.3333333333%;
    }

    .twelve.cols {
        width: 100%;
        margin-left: 0;
    }

    .one-third.col {
        width: 30.6666666667%;
    }

    .two-thirds.col {
        width: 65.3333333333%;
    }

    .one-half.col {
        width: 48%;
    }/* Offsets */

    .offset-by-one.col, .offset-by-one.cols {
        margin-left: 8.66666666667%;
    }

    .offset-by-two.col, .offset-by-two.cols {
        margin-left: 17.3333333333%;
    }

    .offset-by-three.col, .offset-by-three.cols {
        margin-left: 26%;
    }

    .offset-by-four.col, .offset-by-four.cols {
        margin-left: 34.6666666667%;
    }

    .offset-by-five.col, .offset-by-five.cols {
        margin-left: 43.3333333333%;
    }

    .offset-by-six.col, .offset-by-six.cols {
        margin-left: 52%;
    }

    .offset-by-seven.col, .offset-by-seven.cols {
        margin-left: 60.6666666667%;
    }

    .offset-by-eight.col, .offset-by-eight.cols {
        margin-left: 69.3333333333%;
    }

    .offset-by-nine.col, .offset-by-nine.cols {
        margin-left: 78.0%;
    }

    .offset-by-ten.col, .offset-by-ten.cols {
        margin-left: 86.6666666667%;
    }

    .offset-by-eleven.col, .offset-by-eleven.cols {
        margin-left: 95.3333333333%;
    }

    .offset-by-one-third.col, .offset-by-one-third.cols {
        margin-left: 34.6666666667%;
    }

    .offset-by-two-thirds.col, .offset-by-two-thirds.cols {
        margin-left: 69.3333333333%;
    }

    .offset-by-one-half.col, .offset-by-one-half.cols {
        margin-left: 52%;
    }
}

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
    font-size: 62.5%;
}

body, body.mceContentBody, .mceContentBody table, .mceContentBody td {
    font-size: 1.7em;
    /* currently ems cause chrome bug misinterpreting rems on body element */
    line-height: 1.3;
    font-weight: 400;
    color: #444;
    font-family: 'Outfit', sans-serif;
}

body.mceContentBody, .mceContentBody table, .mceContentBody td {
    font-size: 17px;
    line-height: 1.3;
}

.mceContentBody {
    margin: 5px;
    background-image: none;
    background-color: #fff
}

body.mceContentBody img[style^="float: left"] {
    margin: 0px 3rem 3rem 0px !important;
    width: 40vw !important;
    max-width: 400px !important;
}

body.mceContentBody img[style^="float: right"] {
    margin: 0px 0px 2rem 3rem !important;
    width: 40vw !important;
    max-width: 400px !important;
}

body.mceContentBody td img {
    max-width: 300px !important;
}

.main img {
    max-width: 100%;
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0rem;
    margin-bottom: 2rem;
    line-height: 1;
    font-weight: 700;
    color: #222;
}

h1 {
    letter-spacing: 1px;
    font-size: 4.0rem;
    text-transform: uppercase;
    font-weight: 700;
}

h2 {
    font-size: 3.6rem;
}

body.page-home h2, body.page-home h3 {
    text-transform: uppercase;
    font-weight: 700;
    color: #222;
}

h3 {
    font-size: 2.6rem;
}

.afco-site h3 {
    color: #0082CA;
}

.pro-site h3 {
    color: #B4922F;
}

.dyna-site h3 {
    color: #D81920;
}

.long-site h3 {
    color: #EB1C2D;
}

h4 {
    font-size: 2.6rem;
}

h5 {
    font-size: 1.9rem;
}

.long-site h5 a:hover {
    color:#000000;
}

h6 {
    font-size: 1.9rem;
    font-weight: 700
}

p {
    margin-top: 0;
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: normal;
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
    transition: all ease 0.3s;
}

.afco-site a {
    color: #0082CA;
}

.pro-site a {
    color: #B4922F;
}

.dyna-site a {
    color: #D81920;
}

.long-site a {
    color: #EB1C2D;
}

a:hover {
    text-decoration: underline;
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button, a.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
    display: inline-block;
    border: 0;
    padding: 1.5rem 2rem;
    color: #555;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    background: none;
    background: #333;
    color: #fff;
    cursor: pointer;
    box-sizing: border-box;
    transition: all ease 0.3s;
    line-height: 1;
    border-radius: 10rem;
    text-decoration: none !important;
}

.afco-site .button, .afco-site button, .afco-site input[type="submit"], .afco-site input[type="reset"], .afco-site input[type="button"] {
    background: #0082CA;
}

.pro-site .button, .pro-site button, .pro-site input[type="submit"], .pro-site input[type="reset"], .pro-site input[type="button"] {
    background: #B4922F;
}

.dyna-site .button, .dyna-site button, .dyna-site input[type="submit"], .dyna-site input[type="reset"], .dyna-site input[type="button"] {
    background: #D81920;
}

.long-site .button, .long-site button, .long-site input[type="submit"], .long-site input[type="reset"], .long-site input[type="button"] {
    background: #EB1C2D;
}

.button:hover, a.button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, .button:focus, button:focus, input[type="submit"]:focus, input[type="reset"]:focus, input[type="button"]:focus {
    background: #333;
}

/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"], input[type="number"], input[type="date"], input[type="time"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
    padding: 1rem 1rem;
    /* The 6px vertically centers text on FF, ignored by Webkit */
    border: 0px;
    box-shadow: none;
    box-sizing: border-box;
    color: #333;
    width: 100%;
    max-width: 600px;
    margin: 0;
    margin-bottom: 1rem;
    line-height: 1;
    border: 2px solid #cccc;
    background: #fff;
    border-radius: .5rem;
    transition: border ease 0.3s;
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    min-height: 65px;
    padding-top: 6px;
    padding-bottom: 6px;
}

input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="text"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    border: 2px solid #333;
    outline: 0;
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #999;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #999;
}

::-ms-input-placeholder {
    /* IE 10+ */
    color: #999;
}

::-moz-placeholder {
    /* Firefox 18- */
    color: #999;
}

label, legend {
    display: block;
    margin-bottom: .5rem;
    font-weight: 700;
}

fieldset {
    padding: 0;
    border-width: 0;
}

input[type="checkbox"], input[type="radio"] {
    display: inline;
}

label > .label-body {
    display: inline-block;
    margin-left: .5rem;
    font-weight: normal;
}

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul, ol {
    padding: 0;
    margin: 0;
    margin-left: 2rem;
    margin-bottom: 2rem
}

ol {
    list-style: decimal
}

li {
    margin-bottom: 0;
    margin-left: 0;
}

li a {
    text-decoration: none;
}

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
    padding: .2rem .5rem;
    margin: 0 .2rem;
    font-size: 90%;
    white-space: nowrap;
    background: #F1F1F1;
    border: 1px solid #E1E1E1;
    border-radius: 4px;
}

pre > code {
    display: block;
    padding: 1rem 1.5rem;
    white-space: pre;
}

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th, td {
    padding: 0;
    text-align: left;
}

th:first-child, td:first-child {
    padding-left: 0;
}

th:last-child, td:last-child {
    padding-right: 0;
}

/* Smaller than phablet (also point when grid becomes active) */
@media (max-width: 800px) {
    body.page-pages .content-wrap table td, body.page-pages .content-wrap table td:first-of-type, body.page-pages .content-wrap table td:last-of-type {
        display: block;
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        border: 0;
    }

    body.page-pages .content-wrap table td input, body.page-pages .content-wrap table td select, body.page-pages .content-wrap table td textarea {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .content-wrap iframe {
        max-width: 100%;
    }
}

/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button, .button {
    margin-bottom: 1rem;
}

input, textarea, select, fieldset {
    margin-bottom: 1.5rem;
}

pre, blockquote, dl, figure, table, p, ul, ol, form {
    margin-bottom: 2.5rem;
}

/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-width: 0;
    border-top: 1px solid #ccc;
}

/* Slider Fix for Chrome */
.owl-carousel .owl-wrapper, .owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
}

.fc-tbx table td {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Form Errors */
.form-general .fc-error, .form-general .fc-error {
    border: 0;
    margin: 0;
    padding: 1rem 0rem;
    display: block;
    background: none;
}

.form-general .fc-error p, .form-general .fc-error p {
    margin: 0px;
    color: #cc0000;
    line-height: 1;
}

#contactForm.form-general .fc-error p, #contactForm.form-general .fc-error p {
    margin: 0px;
    color: #ff9696;
    line-height: 1;
}

.form-general p {
    margin: 0;
}

.form-general ul {
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

.form-general li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.form-general ul.show-bullets li {
    margin-bottom: 1rem;
    margin-left: 2rem;
    list-style: disc;
}

.form-general input[type=text], .form-general select, .form-general textarea {
    width: 100%;
    max-width: 600px;
}

.form-general input[type=checkbox] {
    margin: 0;
    margin-right: .5rem;
}

/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after, .row:after, .u-cf {
    content: "";
    display: table;
    clear: both;
}

.content img[style^="float: left"] {
    margin: 0 !important;
    width: 100%;
    height: auto;
}

.content img[style^="float: right"] {
    margin: 0 !important;
    width: 100%;
    height: auto;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    .main img[style^="float: left"], .main iframe[style^="float: left"] {
        margin: 0px 2% 1% 0px !important;
        width: 40vw !Important;
        max-width: 350px !important;
        height: auto;
    }

    .main img[style^="float: right"], .main iframe[style^="float: right"] {
        margin: 0px 0px 1% 2% !important;
        width: 40vw !Important;
        max-width: 250px !important;
        height: auto;
    }
}

img {
    width: auto;
    max-width: 100%;
}

.content-wrap img {
    max-width: 100%;
    border-radius: 1rem;
}

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/

/* Larger than mobile */
@media (min-width: 400px) {
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
}

/* Larger than desktop */
@media (min-width: 1000px) {
}

/* Larger than Desktop HD */
@media (min-width: 1200px) {
}



