/*  Reset & Basics (Inspired by E. Meyers)
================================================== */
    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, button, input, textarea {
        padding: 0; margin: 0;
        border: 0;}
    html * {box-sizing: border-box;}
    article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
    /*body {line-height: 1;}*/
    img {max-width: 100%;}
    ol, ul {list-style: none;}
    table {border-collapse: collapse; border-spacing: 0;}
    hr {height: 1px; border: none; clear: both; background: #aaa;}

/*  Basic Styles
================================================== */
    body {font-family: "Roboto";
        color: #555;
        -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
        -webkit-text-size-adjust: 100%;}
    body * {font-family: "Roboto";}


/*  Helpers
================================================== */
    .clear, .clear3 {clear: both;}
    .oh {overflow: hidden;}
    .noselect {-webkit-user-select: none; -moz-user-select: none; user-select: none;}
    .row {height: 20px;}
    .w10per {width: 10%;}
    .w15per {width: 15%;}
    .w20per {width: 20%;}
    .w25per {width: 25%;}
    .w30per {width: 30%;}
    .w33per {width: 33%;}
    .w34per {width: 34%;}
    .w35per {width: 35%;}
    .w40per {width: 40%;}
    .w45per {width: 45%;}
    .w50per {width: 50%;}
    .w55per {width: 55%;}
    .w60per {width: 60%;}
    .w65per {width: 65%;}
    .w70per {width: 70%;}
    .w75per {width: 75%;}
    .w90per {width: 90%;}
    .w100per {width: 100%;}
    .w300px {width: 300px;}
    .w500px {width: 500px;}
    .w1000px {width: 1000px;}
    .oh {overflow: hidden;}
    .mcenter {margin-left: auto; margin-right: auto;}
    .fright {float: right;}
    .fleft {float: left;}
    .splitter {height: 11px; clear: both;}
    .textcenter , .textcenter .field_line {text-align: center;}
    .textleft {text-align: left;}
    .textright {text-align: right;}
    .pad {padding: 20px;}
    .hpad {padding-left: 20px; padding-right: 20px;}
    .vpad {padding-top: 20px; padding-bottom: 20px;}
    .tpad {padding-top: 20px;}
    .bpad {padding-bottom: 20px;}
    .lpad {padding-left: 20px;}
    .rpad {padding-right: 20px;}
    .tpad0 {padding-top: 0px !important;}
    .bpad0 {padding-bottom: 0px !important;}
    .lpad0 {padding-left: 0px !important;}
    .rpad0 {padding-right: 0px !important;}
    .bmar {margin-bottom: 10px;}
    .fa::before {font-family: 'Font Awesome\ 5 Free'; margin-right: 10px;}


/*  Typography
================================================== */
    h1, h2, h3, h4, h5, h6 {font-style: normal; font-weight: normal; color: #006eaa;}
    h1:first-letter, h2:first-letter, h3:first-letter, h4:first-letter, h5:first-letter, h6:first-letter {text-transform: capitalize;}
    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {font-weight: inherit;}
    h1 {margin: 0; font-size: 36px;}
    h2 {margin: 0; font-size: 36px;}
    h3 {margin: 0 0 6px; font-size: 14px; line-height: 14px;}
    h4 {margin: 0 0 6px; font-size: 13px; line-height: 13px;}
    h5 {margin: 0 0 6px; font-size: 12px; line-height: 12px;}
    h6 {margin: 0 0 6px; font-size: 10px; line-height: 10px;}

    em {font-style: italic;}
    strong {font-weight: bold;}
    small {font-size: 80%;}


/*  Links
================================================== */
    a {color: #006eaa; text-decoration: none;}
        a:hover {color: #ffc364;}
    /*a:hover, a:active {color: #e1880a;}*/
    a.transition {
        text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
        -webkit-transition: color 0.3s linear;
        -o-transition: color 0.3s linear;
        -moz-transition: color 0.3s linear;
        transition: color 0.3s linear;}
    a.transition:hover {text-shadow: 1px 1px 1px rgba(0,0,0,0.4);}


/*  Lists
================================================== */
    ul, ol {margin-bottom: 10px;}
    ul {list-style: none outside;}
    ol {list-style: decimal;}
    ol, ul.square, ul.circle, ul.disc {margin-left: 30px;}
    ul.square {list-style: square outside;}
    ul.circle {list-style: circle outside;}
    ul.disc {list-style: disc outside;}
    ul ul, ul ol,
    ol ol, ol ul {margin: 4px 0 5px 30px;}


/*  Forms
================================================== */
    .field {padding: 0;}
    .field_line {min-height: 30px; padding: 2px 0 0; margin: 0;
                text-align: left; line-height: 25px;}
    form div.caption {height: 30px; padding: 10px 0 0; margin: 0;
                    text-align: left; line-height: 20px;}
    form h2.caption {padding: 0; margin: 0;
                    text-align: center; font-size: 16px; line-height: 20px; text-transform: uppercase; font-weight: normal;
                    color: #333;}
        form h2.caption:after {content: ''; display: block; margin: 2px auto 7px;
                                height: 1px; width: 50%;
                                background: #eee;}

    .field .value {padding: 6px;
                    border: 1px solid #aaa;
                    border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; -khtml-border-radius: 2px;
                    background: #fafafa;}
    .field .g-recaptcha {display: inline-block; max-width: 100%; max-height: 76px; margin-top: 10px; overflow: hidden;
                    border: 1px solid #aaa;
                    border-radius: 2px;}
        .field .g-recaptcha > div {width: 300px !important; position: relative; margin: -1px 0 0 -1px;}

    .f2inrow, .f3inrow, .f4inrow {overflow: hidden;}
    .f2inrow .field {width: 50%; padding-right: 20px; float: left;}
    .f3inrow .field {width: 33%; padding-right: 20px; float: left;}
    .f4inrow .field {width: 25%; padding-right: 20px; float: left;}
    .f5inrow {overflow: hidden;}
    .f5inrow .field {width: 20%; padding-right: 10px; float: left;}

    .autoheight div.caption,
    .autoheight .field_line {height: auto;}

    a.button,
    button,
    input[type="submit"],
    input[type="reset"],
    input[type="button"] {
        display: inline-block; height: 30px; padding: 6px 12px; cursor: pointer; vertical-align: top;
        line-height: 16px; color: #fff; text-decoration: none;
        font-size: 14px; font-weight: bold;
        text-shadow: rgba(0,0,0,.4) 0 -1px 0;
        box-shadow: rgba(0,0,0,0.15) 0 1px 0;
        border: 1px solid #d75028;
        /*border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; -khtml-border-radius: 2px;*/
        background: #ff6432; /* Old browsers */
        background: #ff6432 -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,.1) 100%); /* FF3.6+ */
        background: #ff6432 -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(0,0,0,.1))); /* Chrome,Safari4+ */
        background: #ff6432 -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.1) 100%); /* Chrome10+,Safari5.1+ */
        background: #ff6432 -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,.1) 100%); /* Opera11.10+ */
        background: #ff6432 -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,.1) 100%); /* IE10+ */
        background: #ff6432 linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,.1) 100%);} /* W3C */

    a.button:first-child,
    button:first-child,
    input[type="submit"]:first-child,
    input[type="reset"]:first-child,
    input[type="button"]:first-child {border-top-left-radius: 100px; border-bottom-left-radius: 100px;}

    a.button:last-child,
    button:last-child,
    input[type="submit"]:last-child,
    input[type="reset"]:last-child,
    input[type="button"]:last-child {padding-right: 15px; border-top-right-radius: 100px; border-bottom-right-radius: 100px;}

    a.button:hover,
    button:hover,
    input[type="submit"]:hover,
    input[type="reset"]:hover,
    input[type="button"]:hover {
        color: #782d00;
        border: 1px solid #fff01e;
        text-shadow: rgba(255, 255, 255, .75) 0 1px 0;
        background-color: #fff01e;}

    a.button:active,
    button:active,
    input[type="submit"]:active,
    input[type="reset"]:active,
    input[type="button"]:active {
        color: #fff;
        text-shadow: rgba(0,0,0,.4) 0 -1px 0;
        border: 1px solid #9bd728;
        background-color: #9bd728;}

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    textarea,
    select {
        height: 30px; width: 100%; max-width: 100%; padding: 6px;
        color: #aaa; font-size: 14px;
        outline: none;
        border: 1px solid #aaa;
        border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; -khtml-border-radius: 2px;
        background: #fff;}
    select {padding: 0;}

    input[type="text"]:focus,
    input[type="password"]:focus,
    input[type="email"]:focus,
    textarea:focus {
        border: 1px solid #aaa;
        color: #444;
        box-shadow: inset 0 0 2px rgba(0,0,0,.2);
        -moz-box-shadow: inset 0 0 2px rgba(0,0,0,.2);
        -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,.2);}

    textarea {display: block; min-height: 90px; resize: none;}
    textarea.plain_text {height: 90px;}
    textarea.small_text {height: 150px;}
    textarea.rich_text {height: 510px;}

    input[type="checkbox"] {height: 20px; width: 20px; margin-top: -3px; vertical-align: middle;}

    label {cursor: pointer;}
    .error_message {display: none; padding: 5px 10px; margin: 5px auto 0;
                    color: #ff0000;
                    border-radius: 4px;
                    background: #ffe1d2;}

    .vertical_selector {border: 1px solid #aaa;
                        border-radius: 2px;}
    .vertical_selector input[type="radio"] {display: none;}
    .vertical_selector label {display: block; padding: 3px 5px; overflow: hidden;
                            vertical-align: middle; line-height: 30px;
                            border-bottom: 1px solid #eee;}
        .vertical_selector label:last-child {border-bottom: none;}
        .vertical_selector label::before {content: "\f10c"; margin: 0 5px 0 0;
                                        font-family: 'Font Awesome\ 5 Free';
                                        font-size: 20px; line-height: 30px; color: #666;}
    .vertical_selector .cash_change {float: right;}
    .vertical_selector .cash_change input {width: 60px; height: 30px; margin: 0 10px;
                                            text-align: center;}
    .vertical_selector input[type="radio"]:checked + label {background: #f3f3f3;}
        .vertical_selector input[type="radio"]:checked + label::before {content: "\f05d";}

    .cost_selector {margin: 0; overflow: hidden;}
    .cost_selector input[type="radio"] {display: none;}
    .cost_selector label {display: block; padding: 0; overflow: hidden;
                            vertical-align: middle; line-height: 20px;}
        .cost_selector label:last-child {border-bottom: none;}
        .cost_selector label::before {content: "\f10c"; margin: 0 5px 0 0;
                                        font-family: 'Font Awesome\ 5 Free';
                                        font-size: 14px; line-height: 20px; color: #666;}
        .cost_selector input[type="radio"]:checked + label::before {content: "\f192";}
        .cost_selector label.not_allowed {color: #aaa;}

/*  MCE fix
================================================== */
    .mce-ico.mce-i-file {font: normal normal normal 14px/1 "Font Awesome 5 Free"; font-size: 16px;}
    .mce-i-file:before {content: "\f07c";}
    .mce-btn button {padding: 4px 6px !important;}

    .mce-container a.button,
    .mce-container button,
    .mce-container input[type="submit"],
    .mce-container input[type="reset"],
    .mce-container input[type="button"] {
        display: inline-block; height: 30px; padding: 6px 12px; cursor: pointer; vertical-align: top;
        line-height: 16px; color: #fff; text-decoration: none;
        font-size: 14px; font-weight: bold;
        text-shadow: rgba(255,255,255,0.75) 0 1px 1px;
        box-shadow: none;
        border: none;
        border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px; -khtml-border-radius: 0px;
        background-color:#f0f0f0;
        }

    .mce-container a.button:hover,
    .mce-container button:hover,
    .mce-container input[type="submit"]:hover,
    .mce-container input[type="reset"]:hover,
    .mce-container input[type="button"]:hover {
        color: inherit;
        border: none;
        text-shadow: none;
        background-color: inherit;}

    .mce-container .mce-open:hover {border-left: 1px solid #aaa;}
    .mce-container .mce-close:hover {border: 1px solid #eee; background: #fff;}
    .mce-primary button {background: #257cb6;}


/*  Dialogs
================================================== */
    table#overlay {display: none; height: 100%; width: 100%; position: fixed; top: 0; left: 0; z-index:100000;
                background: #666; /* Old browsers */
                background: rgba(0,0,0,.6) -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
                background: rgba(0,0,0,.6) -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
                background: rgba(0,0,0,.6) -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
                background: rgba(0,0,0,.6) -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
                background: rgba(0,0,0,.6) -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
                background: rgba(0,0,0,.6) linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%);}
    table#overlay td {text-align: center; vertical-align: middle;}
    div.dialog_box {display: none; max-width: 600px; margin: 0 auto; overflow: hidden;
                    border-radius: 10px;
                    box-shadow: 1px 1px 6px #333; -moz-box-shadow: 1px 1px 6px #333; -webkit-box-shadow: 1px 1px 6px #333; -khtml-box-shadow: 1px 1px 6px #333;
                    background: #fafafa;}
        div.dialog_box .caption {padding: 15px 25px 10px; margin: 0;
                    color: #8f2638;
                    font-size: 16px; line-height: 18px; font-weight: normal;
                    font-family: "sans-serif", "HelveticaNeue", "Helvetica Neue", "Helvetica", "tahoma", "trebuchet ms", "arial", "verdana";
                    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
                    border-bottom: 1px solid #aaa;
                    background: #fff;}
        div.dialog_box p {padding: 20px 25px;
                    font-family: "sans-serif", "HelveticaNeue", "Helvetica Neue", "Helvetica", "tahoma", "trebuchet ms", "arial", "verdana";
                    color: #666; font-size: 16px; line-height: 20px;
                    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
                    border-top: 1px solid #eee; border-bottom: 1px solid #eee;
                    background: #fff;}
        div.dialog_box .buttons_line {padding: 3px 25px 4px;
                    text-align: center;
                    border-top: 1px solid #fff;
                    background: #fafafa;}
