﻿html, body {
    height: 100%;
}

/* html.public #body {
    padding-bottom: 88px;
}

#body {
    padding-bottom: 50px;
} */

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
body > .body-content {
    -webkit-overflow-scrolling: touch;
    clear: both;
    min-height: 100%;
    max-height: 100%;
    /* background-color: #5b473b; */
    /*background-image: linear-gradient(to bottom, rgba(91,71,59,1), rgba(255,255,255,1), rgba(91,71,59,1));*/
    background-color: lightgray;
    background-attachment: fixed;
    overflow: auto;
    padding-bottom: 50px;
}

/* Wrapping element public*/
/* Set some basic padding to keep content from hitting the edges */
html.public body > .body-content {
    -webkit-overflow-scrolling: touch;
    clear: both;
    /* overflow: hidden !important;
    overflow-x: auto !important;
    overflow-y: hidden !important; */
    min-height: 100%;
    max-height: 100%;
    padding-top: 130px;
    background-color: transparent;
    background-image: none;
}


html.public > body > .body-content {
    padding-top: 130px;
}

html.mobile .body-content {
    padding-bottom: 0;
    max-height: none;
    min-height: 94%;
}

html.mobile .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

div#thorovetlogo {
    height: 42px;
    background: url(../images/2018/ThoroVet_HeaderGraphic_2018_SmMotion_Brown_pixel.png) bottom center repeat-x;
    background-size: 1px 42px;
}

/*Public*/
html.public div#thorovetlogo {
    height: 130px;
    background: url(../images/2018/ThoroVet_HeaderGraphic_2018_SmMotion_Brown_pixel.png) bottom center repeat-x;
    background-size: auto 130px;
}

@media screen and (max-width: 1000px) {
    img#riyc {
        display: none;
    }
}

@media screen and (max-width: 1210px) {
    html.public img#riyc {
        display: none;
    }
}


/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* nav */
.k-menu .k-state-default,
.k-menu .k-state-default .k-state-border-down {
    /*background-color: #222;*/
    /*color: #9d9d9d;*/
    color: #ac8b1f;
}

.k-menu .k-group,
.k-popup.k-context-menu.k-group {
    border: none;
}

a.navbar-brand {
    height: inherit;
}

.k-tabstrip > .k-content {
    padding: 0;
    border-width: 0;
}


/* START NEW FORMS */

form h3,
.k-block h3 {
    border-bottom: 1px solid lightgray;
    width: 100%;
    padding-bottom: 2px;
    margin-bottom: 25px;
    margin-top: 20px;
    color: darkgray;
}

.k-block h3 {
    margin-top: 5px;
    margin-left: 3px;
    margin-right: 5px;
    width: 98%;
    font-size: 1.2em;
}


form section h3 {
    margin-top: 5px;
}

.form-group {
    margin-bottom: 40px;
}

form section h3 a.k-button-icontext,
form section h3 a.k-button-icontext:hover {
    display: block;
    float: right;
    margin-top: 0.6em;
    font-size: 0.6em;
    color: #57a320;
    cursor: pointer;
    text-decoration: none;
    margin-right: 15px;
}

.tx-toolbar {
    display: block;
    border: 1px solid #e0e0e0;
    text-align: right;
    background-color: #5aa1e3;
    /*background-color: lightgray;*/
}

.tx-toolbar a,
.tx-toolbar a:hover {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    padding-right: 15px;
    margin-bottom: 0;
    height: 2.5em;
    background-color: white;
}

.tx-toolbar a:hover {
    background-color: #f5f6f6;
}

.tx-toolbar a.k-button-icon span.k-icon {
    display: inline-block;
    margin-top: 8px;
}

section.well {
    border-radius: 0;
    overflow: auto;
}

form.formview .form-control,
form.formview input,
form.formview select,
form.formview textarea,
form.formview button,
form.formview a.k-button,
form.formview .control-label .k-icon,
form.formview div.form-group .k-icon {
    display: none;
}

form.formview.edit .form-control,
form.formview.edit input,
form.formview.edit select,
form.formview.edit textarea,
form.formview.edit button,
form.formview.edit a.k-button,
form.formview.edit .control-label .k-icon,
form.formview.edit div.form-group .k-icon {
    display: inline-block;
}

form.formview span.formview {
    display: block;
    text-align: left;
}

form.formview.edit span.formview,
form.formview.edit h3 a,
form.formview.edit .tx-toolbar a {
    display: none;
}

fieldset {
    margin-top: 40px;
    margin-bottom: 80px;
    background-color: lightgrey;
    width: 100%;
    margin-left: 20px;
}

    fieldset > div {
        background-color: white;
        border: 3px solid lightgray;
        padding-top: 15px;
    }

legend {
    padding: 0.2em 0.5em;
    color: white;
    width: auto;
    background-color: lightgray;
    position: relative;
    top: 0px;
    margin-bottom: 0;
    height: 40px;
    border-bottom: none;
}

.navbar-toggle {
    margin-top: -35px;
    padding: 4px 10px;
}

.navbar {
    min-height: 35px;
}

/* START FORMS */

.editor-field,
.editor-label {
    display: inline-block;
}

.editor-label {
    margin-right: 20px;
}

.form {
    margin: 10px auto 10px auto;
    padding: 15px !important;
    clear: both;
}

.formHeader {
    background-color: #0F425A;
    color: #fff;
}

.form div.row {
    margin-bottom: 10px;
    clear: both;
    min-height: 40px;
    padding-left: 30px;
}

.form div.buttonRow {
    margin-top: 10px;
    text-align: center !important;
}

.form div.validationRow {
    margin-bottom: 10px;
    clear: both;
    color: red;
}

.form div.row .left, .form div.validationRow .left {
    width: 25em;
    float: left;
    display: block;
    margin-right: -25em;
    font-weight: bold;
    text-align: left;
}

.form div.row .right, .form div.validationRow .right {
    margin-left: 10em;
    text-align: left;
}

span.formDescription {
    font-weight: normal;
    font-size: 12px;
}

.required {
    color: red;
}

/* END FORMS */

div.right input[type=text] {
    width: 400px;
}

footer {
    border-color: #080808;
    color: #9d9d9d;
    margin-top: -50px;
    /*height: 50px;*/
    /* margin-top: -88px;
    height: 88px; */
    clear: both;
    position: fixed;
    width: 100%;
}

/*Public*/
html.public footer {
    background-color: #222;
    border-color: #080808;
    color: #9d9d9d;
    margin-top: -88px;
    height: 88px;
    clear: both;
    position: fixed;
    width: 100%;
}

div#thorovetfooter {
    background-image: url(../images/2018/ThoroVet_FooterGraphic_2018_pixel.png);
    background-repeat: repeat-x;
    background-size: 1px 50px;
    height: 50px;
}

/*Public*/
html.public div#thorovetfooter {
    background-repeat: repeat-x;
    background-size: 1px 88px;
    height: 88px;
}

html.mobile footer {
    position: static;
    margin-top: 5px;
}

/* animal and customer add/edit forms */

span.removeowner,
span.removetrainer,
span.removelocation {
    margin-top: 8px;
    display: inline-block;
    float: left;
}

span.removeemail,
span.removeaddress,
span.removephone {
    position: absolute;
    right: -18px;
    top: 40%;
}

span.editaddress {
    position: absolute;
    right: -18px;
    top: 55%;
}

.t-grouped-adddelete {
    border-radius: 4px;
    border: 1px solid lightgray;
    padding: 5px;
    margin-bottom: 5px;
    clear: both;
    position: relative;
}

.t-grouped-adddelete .k-widget {
    margin-bottom: 5px;
}

.k-menu .k-item > .k-link {
    padding: 15px;
}

.k-panelbar .k-state-disabled {
    background-color: #ececec;
}

.k-pager-wrap {
    /* background-color: #cccccc; */
    background-color: #5aa1e3;
}

/* end customer add/edit forms */

