/*
HTML5 Reset
---------------------------------------------------------------------------------------------------- */

/* Baseline Normalize
	normalize.css v2.1.3 | MIT License | git.io/normalize
--------------------------------------------- */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block
}

audio, canvas, video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

a {
    background: transparent
}

a:focus {
    outline: thin dotted
}

a:active, a:hover {
    outline: 0
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: 700
}

dfn {
    font-style: italic
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

mark {
    background: #ff0;
    color: #2e2f33
}

code, kbd, pre, samp {
    font-family: monospace, serif;
    font-size: 1em
}

pre {
    white-space: pre-wrap
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019"
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 0
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0
}

button, input {
    line-height: normal
}

button, select {
    text-transform: none
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], html input[disabled] {
    cursor: default
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

/* Box Sizing
--------------------------------------------- */
* {
    outline: none !important;
}

*,
input[type="search"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Float Clearing
--------------------------------------------- */

.clearfix:before,
.nav-primary:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.wrap:before {
    content: " ";
    display: table;
}

.clearfix:after,
.nav-primary:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.wrap:after {
    clear: both;
    content: " ";
    display: table;
}


/*
Defaults
---------------------------------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */

body {
    background-color: #fff;
    color: #2e2f33;
    font-family: 'Assistant', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    background-image: url("../images/background.jpg");
    background-size: cover;
    height: 100vh;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button {
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

::-moz-selection {
    background-color: #2e2f33;
    color: #fff;
}

::selection {
    background-color: #2e2f33;
    color: #fff;
}

a {
    color: #13afdf;
    text-decoration: none;
}

a:hover {
    color: #2e2f33;
}

p {
    margin: 0 0 10px;
    padding: 0;
}

ol,
ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

b,
strong {
    font-weight: 700;
}

blockquote,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 40px;
}

blockquote::before {
    content: "\201C";
    display: block;
    font-size: 30px;
    height: 0;
    left: -20px;
    position: relative;
    top: -10px;
}


/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 15px;
}

h1 {
    font-size: 2.625rem;
    font-weight: 800;

}

h2 {
    font-size: 1.9rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.9444444444rem;
}

h6 {
    font-size: 0.8888888888rem;
}


/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
    max-width: 100%;
}

img {
    height: auto;
}

.gallery img {
    width: auto;
}

/* Gallery
--------------------------------------------- */

.gallery {
    overflow: hidden;
    margin-bottom: 28px;
}

.gallery-item {
    float: left;
    margin: 0;
    padding: 0 4px;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-3 .gallery-item {
    width: 33%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
}

.gallery-columns-6 .gallery-item {
    width: 16.6666%;
}

.gallery-columns-7 .gallery-item {
    width: 14.2857%;
}

.gallery-columns-8 .gallery-item {
    width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    width: 11.1111%;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: left;
}

.gallery .gallery-item img {
    border: none;
    height: auto;
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
    background-color: transparent;
    border: 2px solid #fff;
    box-shadow: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 56px;
    padding: 0 15px;
    width: 100%;
}

input:focus,
textarea:focus {
    border: 2px solid #fff;
    outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
    width: auto;
}

::-moz-placeholder {
    color: #fff;
    opacity: 1;
    font-weight: 400;
}

::-webkit-input-placeholder {
    color: #fff;
    font-weight: 300;
    opacity: 1;

}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
    background-color: #2e2f33;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 300;
    padding: 0 20px;
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
    width: auto;
}


.button {
    display: inline-block;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
    display: none;
}

/* Tables
--------------------------------------------- */

table {
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 2;
    width: 100%;
}

tbody {
    border-bottom: 1px solid #ddd;
}

td,
th {
    text-align: left;
}

td {
    border-top: 1px solid #ddd;
    padding: 6px 0;
}

th {
    font-weight: 300;
}


/*
Structure and Layout
---------------------------------------------------------------------------------------------------- */

/* Site Containers
--------------------------------------------- */

.wrap {
    margin: 0 auto;
    max-width: 1136px;
}

.site-inner {
    background-color: #fff;
    clear: both;
}


/* Column Widths and Positions
--------------------------------------------- */

/* Column Classes
	Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
    float: left;
    margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
    width: 48.717948717948715%;
}

.one-third,
.two-sixths {
    width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
    width: 65.81196581196582%;
}

.one-fourth {
    width: 23.076923076923077%;
}

.three-fourths {
    width: 74.35897435897436%;
}

.one-sixth {
    width: 14.52991452991453%;
}

.five-sixths {
    width: 82.90598290598291%;
}

.first {
    clear: both;
    margin-left: 0;
}


/*
Common Classes
---------------------------------------------------------------------------------------------------- */


/* Titles
--------------------------------------------- */

.page-title {
    color: #000;
    padding: 0 20px;
    text-align: center;
}


.entry-title {
    font-size: 2rem;
}

/*
Plugins
---------------------------------------------------------------------------------------------------- */

/*
Site Header
---------------------------------------------------------------------------------------------------- */


.bumper {
    min-height: 100px;
}

.site-header,
.site-description {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

/* Title Area
--------------------------------------------- */

.title-area {
    float: left;
    padding: 0;
    width: 360px;
}

.site-title {
    font-family: 'Spinnaker', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}


/* Widget Area
--------------------------------------------- */


/* Shrink
--------------------------------------------- */

.site-header.shrink .wrap {
    background-color: rgba(255, 255, 255, 0.1);
    min-height: 60px;
    padding: 0 40px;
}

.shrink .site-title {
    font-size: 2rem;
}

.header-image .shrink .site-title {
    padding: 0;
}

.header-image .shrink .site-title > a {
    min-height: 60px;
}

.shrink .site-title a {
    background-size: 270px 60px !important;
}

.site-header.shrink .widget-area {
    padding-top: 0;
}

/*
Site Navigation
---------------------------------------------------------------------------------------------------- */

.genesis-nav-menu {
    -webkit-font-smoothing: subpixel-antialiased;
    clear: both;
    font-size: 1rem;
    line-height: 1;
    width: 100%;
}

.genesis-nav-menu .menu-item {
    display: inline-block;
    text-align: left;
}

.genesis-nav-menu li a {
    color: #fff;
    display: block;
    padding: 10px 15px;
}

.genesis-nav-menu li a:hover,
.genesis-nav-menu .current-menu-item > a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.genesis-nav-menu .sub-menu {
    background-color: #13afdf;
    left: -9999px;
    opacity: 0;
    position: absolute;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
    width: 200px;
    z-index: 99;
}

.genesis-nav-menu .sub-menu a {
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    padding: 20px;
    position: relative;
    width: 200px;
}

ul.genesis-nav-menu .sub-menu a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.genesis-nav-menu .sub-menu .sub-menu {
    margin: -54px 0 0 199px;
}

.genesis-nav-menu .menu-item:hover {
    position: static;
}

.genesis-nav-menu .menu-item:hover > .sub-menu {
    left: auto;
    opacity: 1;
}

.genesis-nav-menu > .first > a {
    padding-left: 0;
}

.genesis-nav-menu > .last > a {
    padding-right: 0;
}

.genesis-nav-menu > .right {
    color: #fff;
    float: right;
    list-style-type: none;
}

.genesis-nav-menu > .right > a {
    display: inline-block;
}

.genesis-nav-menu > .date {
    padding: 22px;
}

.genesis-nav-menu > .search {
    padding: 10px 0 0;
}

.genesis-nav-menu > .search input[type="search"] {
    font-size: 14px;
    padding: 12px 24px;
}

/* Site Header Navigation
--------------------------------------------- */

.site-header .genesis-nav-menu li li {
    margin-left: 0;
}

/* Primary Navigation
--------------------------------------------- */

.nav-primary {
    position: relative;
    z-index: 98;
}

.nav-primary .genesis-nav-menu li .sub-menu,
.nav-primary {
    background-color: #2e2f33;
}

/* Responsive Menu
--------------------------------------------- */

#responsive-menu-icon {
    cursor: pointer;
    display: none;
    text-align: center;
}

#responsive-menu-icon::before {
    -webkit-font-smoothing: antialiased;
    color: #fff;
    content: "\f333";
    font: normal 20px/1 'dashicons';
    line-height: 1;
    margin: 0 auto;
    speak: none;
    text-transform: none;
}


/*
Content Area
---------------------------------------------------------------------------------------------------- */

/*
Site Footer
---------------------------------------------------------------------------------------------------- */

.site-footer {
    background-color: #2e2f33;
    color: #959595;
    font-size: 12px;
    font-weight: 500;
    padding: 10px;
}

.error-border {
    border: 2px solid red;
}

.site-footer,
.site-footer a {
    color: #959595;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer p {
    margin-bottom: 0;
}

.image-404 {
    position: relative;
}

.image-404 .span-404 {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    color: #f7542b;
    font-size: 2rem;
}

.image-404 img {
    width: 100%;
}

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

.image-404.thank .span-404 {
    transform: translate(-50%, -50%);
    top: 35%;
    bottom: auto;
    font-size: 2rem;
}

.image-404.thank {
    height: 100%;
    position: absolute;
    width: 100%;
}

.btn:hover {

}

.btn {
    background-color: #cdac82;
    padding: 0px 20px;
    color: #000;
    line-height: 60px;
    font-size: 1.5rem;
    width: 100%;
}
.agreement {
    color: #fff;
    float: right;
    width: 100%;
}

.site-logo {
    display: inline-block;
    float: left;
}

.text-highlighted {
    color: #a6865f;
}

.header-title-container h1 {
    margin-bottom: 5px;
}

.header-title-container h2 {
    font-weight: 400;
}

.header-title-container h2 a {
    font-weight: 700;
    color: #a6865f;
    background: rgba( 255,255,255,0.5);
    padding: 0 15px;
}

.information-blocks {
    padding: 3.3vh 0;
}

.image-container {
    height: 50%;
    background-size: cover;
}

.little-block-info .content h3 span {
    display: table-cell;
    vertical-align: middle;
}

.little-block-info .content h3 {
    display: table;
    min-height: 29%;
    color: #a6865f;
    margin-bottom: 3px;
}

.little-block-info .content {
    background-color: #fff;
    padding: 1vh 30px;
    height: 50%;
    width: 100%;

}

.little-block-info .content li:before {
    width: 4px;
    height: 4px;
    content: '';
    position: absolute;
    background-color: #a6865f;
    left: 2px;
    top: 15px;
}

.little-block-info .content li {
    position: relative;
    font-size: 1.125rem;
    line-height: 30px;
    padding-left: 15px;
}

.wide-block-info {
    background: #fff;
    margin-top: 25px;
    display: table;
    height: 12.5vh;

}

.wide-block-info p {
    font-size: 1.125rem;
    display: table-cell;
    vertical-align: middle;
}

.wide-block-info img {
    padding-left: 35px;
}

.teeth-block-info {
    background-color: #cdac82;
    margin-top: 25px;
    display: table;
    padding: 0 20px;
    height: 12.5vh;
}

.teeth-text-vertical-middle {
    vertical-align: middle;
    display: table-cell;

}

.teeth-block-info .text-teeth p {
    font-size: 1.125rem;
}

.teeth-block-info .text-teeth h3 {
    margin-bottom: 3px;
}

.teeth-block-info .text-teeth {
    display: table-cell;
    vertical-align: middle;
}

.before-footer-form .wrap {
    height: 100%;
    display: table;
    width: 100%;
}

.table-cell-form-container {
    display: table-cell;
    vertical-align: middle;
    position: relative;
}

.before-footer-form {
    background-color: rgba(0, 0, 0, 0.58);
    /* padding: 20px 0; */
    /* margin-bottom: 30px; */
    /* height: 12.1vh; */
    /* display: table; */
    height: calc(10.1vh + 16px);
}
.error {
    color: red;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


.site-header .wrap {
    height: 100%;
}

.site-header {
    height: 18vh;
}

.site-logo img {
    height: 100%;
}

.site-logo {
    display: inline-block;
    float: left;
    height: 100%;
}

.header-title-container {
    display: table;
    padding-left: 30px;
    height: 100%;
}

.header-title-container .header-title-center {
    display: table-cell;
    vertical-align: middle;
}

.little-block-info {
    height: 46.2vh;
}

.container-doctor {
    display: table-cell;
    vertical-align: middle;
}

.frame-brown {
    position: relative;
}

.frame-brown:before {
    position: absolute;
    height: calc(100% - 25px);
    width: calc(100% - 25px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #a6865f;
    content: '';
    z-index: 50;

}

.inner-little-block-info-zoom {
    height: 100%;
    transition: transform .3s

}

.little-block-info {
    overflow: hidden;
}

.little-block-info:hover .inner-little-block-info-zoom {
    transform: scale(1.02);
}

.responsive-visible {
    display: none;
}

.responsive-hidden {
    display: inline;
}
.form-field.form-header-submit button:before {
    position: absolute;
    height: calc(100% - 18px);
    width: calc(100% - 18px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #000;
    content: '';
    z-index: 50;

}
.form-field.form-header-submit button{
    position: relative;
}
.wide-block-info,
.teeth-block-info,
.little-block-info{
    box-shadow: 0px 3px 4px -3px;
}
.thank-you-message{
    color: #fff;
    text-align: center;
    padding-top: 26px;

}
.contact-form{
    margin-bottom: 10px;
}
#terms{
    display: inline-block;
    float: right;
    line-height: 15px;
    height: 15px;
}
div.agreement{
    position: absolute;
    bottom: 9px;
}
label.agreement{
    display: inline-block;
    width: auto;
    padding-right: 10px;
    line-height: 15px;
    height: 15px;
}
.form-header-name{
    margin-right: 12.7% !important;
}
div.agreement{
    margin-right: 12.7% !important;

}
.mobile-visible{
    display: none;
}
.header-form{
    display: none !important;
}
.title-block-mobile{
    display: none !important;
}
.show-mobile{
    display: none;
}
/**123*/


/*
Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1360px) {

    .wrap {
        max-width: 1140px;
    }

}

@media only screen and (max-width: 1220px) {
    .before-footer-form{
        height: calc(11.1vh + 16px);
    }
    div.agreement {
        bottom: 5px;
    }
    .information-blocks {
        padding: 2vh 0;
    }
    .little-block-info .content li {
        line-height: 1.7rem;
        padding-left: 12px;
    }

    .wide-block-info img {
        padding-left: 35px;
        display: block;
        max-height: 85%;
    }

    html {
        font-size: 14px;
    }

    .image-404 .span-404 {
        font-size: 1.5rem;
    }

    .image-404.thank .span-404 {
        font-size: 1.7rem;
        width: 100%;
    }

    .image-404.thank {
        height: 300px;
    }

    .wrap {
        max-width: 995px;
    }

}

@media only screen and (max-width: 1023px) {
    .teeth-block-info{    margin-right: 0 !important;}
    .form-header-phone{

        margin-bottom: 30px;
    }
    .form-header-name {
        margin-right:0 !important;
    }
    div.agreement{
        bottom: auto;
        top: 111px;
        /* transform: translateX(-50%); */
        text-align: right;
        width: 100%;
        left: 0;
    }
    #terms {
        float: none;
        vertical-align: middle;
    }
    label.agreement {
        float: none;
    }
    .thank-you-page .thank-you-message-container {
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.58);
    }
    .thank-you-page .thank-you-message {
        color: #fff;
        text-align: center;
        padding-top: 26px;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        font-size: 2.2rem;
        display: block;
        text-align: center;
        width: 100%;
    }
    .thank-you-page{
        height: 100vh   ;
        background-size: cover;
    }
    .thank-you-page .site-header,
    .thank-you-page .information-blocks{
        display: none !important;
    }
    .body {
        height: auto;
    }

    .site-header {
        height: 150px;
    }

    h1 {
        font-size: 2.250rem;
    }

    h2 {
        font-size: 1.438rem;
    }

    .wrap {
        max-width: 720px;
    }

    .responsive-visible {
        display: inline;
    }

    .little-block-info {
        width: 48.717948717948715%;
        float: right;
        margin-right: 2.564102564102564%;
        margin-left: 0;
    }

    .little-block-info:first-child {
        margin: 0;
    }

    .little-block-info:nth-child(3) {
        float: left;
        margin-top: 15px;
    }

    .site-header .widget-area,
    .title-area {
        width: 100%;
    }

    html {
        font-size: 16px;
    }

    .teeth-block-info,
    .wide-block-info {
        float: left;
        width: 48.717948717948715%;
        margin: 0;
        display: block;
        clear: none;
        margin-top: 15px;
        height: auto;
    }

    .container-doctor {
        display: block;
        text-align: center;
    }

    .wide-block-info p {
        font-size: 1.125rem;
        display: block;
        vertical-align: middle;
        text-align: center;
        padding: 0 30px 20px;
    }

    .wide-block-info img {
        max-height: none;
        padding: 38px 0;
        display: inline;

    }

    .responsive-hidden {
        display: none;
    }


    .header-image .site-title > a {
        background-position: top !important;
    }

    .genesis-nav-menu li,
    .site-header ul.genesis-nav-menu,
    .site-header .search-form {
        float: none;
    }

    .genesis-nav-menu,
    .site-header .title-area,
    .site-header .search-form,
    .site-title {
        text-align: center;
    }

    .genesis-nav-menu a,
    .genesis-nav-menu > .first > a,
    .genesis-nav-menu > .last > a {
        padding: 20px 16px;
    }

    .site-header .search-form {
        margin: 16px auto;
    }

    .teeth-text-vertical-middle {
        vertical-align: middle;
        display: inline-block;
        /* float: right; */
        padding-left: 6px;
    }

    .teeth-block-info .text-teeth {
        display: inline-block;
        vertical-align: middle;
    }

    .teeth-block-info {
        padding: 12px 20px;
    }

    body {
        height: auto;
        background-repeat: no-repeat;
        background-color: #f4eee5;
        background-position: left top;
        background-size: 160%;
    }

    .before-footer-form {
        background-color: #343332;
    }

    .table-cell-form-container,
    .before-footer-form .wrap {
        display: block;
    }

    .form-field {
        width: 31.623931623931625%;

    }



    .before-footer-form {
        height: auto;
    }
    .contact-form{
        padding: 45px 0 50px;
    }
    .error {
        bottom: 13px;
        left: auto;
        transform: translateX(0);
        display: block;
        width: 100%;
        text-align: center;
    }
    .information-blocks {
        padding: 30px 0;
    }
    .contact-form{
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 768px) {
    #message{
        margin-bottom: 15px;
    }
    div.agreement {
        bottom: 131px;
        top: auto;
    }
    .thank-you-page .responsive-visible {
        display: inline !important;
    }

    .information-blocks {
        padding: 15px 0;
    }
    .teeth-block-info {
        padding: 12px 10px;
    }
    .five-sixths,
    .four-sixths,
    .one-fourth,
    .one-half,
    .one-sixth,
    .one-third,
    .three-fourths,
    .three-sixths,
    .two-fourths,
    .two-sixths,
    .two-thirds {
        margin: 0;
        width: 100%;
    }
    .contact-form {
        padding: 40px 0;
    }
    .teeth-block-info .text-teeth,
    .teeth-text-vertical-middle{
        display: block;
        text-align: center;
        float: none;

    }
    .form-field,
    .form-field.form-header-submit {
        max-width: 400px;
        margin: 0 auto 20px !important;
        float: none;
        display: block;
    }
    .form-header-phone{
        margin-bottom: 40px !important;
    }
    .image-container{
        height: 270px;
    }
    .wide-block-info img {
        padding: 23px 0;
    }
    .wide-block-info p{
        padding: 0 17px 20px;
    }
    .teeth-block-info,
    .wide-block-info,
    .little-block-info{
        float: none !important;
        max-width: 400px;
        margin: 0 auto 20px !important;
        height: auto;
        height: auto;
    }
    .little-block-info .content {
        padding: 30px 30px;
    }
    .site-header{
        height: auto;
    }
    .responsive-visible{
        display: none;
    }
    body{
        background-size: 240%;
    }
    .site-logo{
        text-align: center;
        float: none;
        display: block;
        height: 85px;
    }
    .header-title-container .header-title-center,
    .header-title-container{
        display: block;
    }
    .header-title-container .header-title-center{
        margin-top: 20px;
    }
    .header-title-center h2{
        font-size: 1rem;
    }
    .header-title-center h1{
        font-size: 1.688rem;
    }
    body {
        font-size: 16px;
    }

    .site-header .wrap {
        min-height: 100px;
    }

    .responsive-menu {
        display: none;
    }

    #responsive-menu-icon {
        display: block;
    }

    .site-header .site-title {
        font-size: 40px;
    }

    .shrink .site-title {
        font-size: 24px;
    }

    .shrink .site-title a,
    .shrink .site-title a:hover {
        text-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    }

    .site-header {
        padding: 0;
    }
    div.agreement{
        text-align: center;
    }


}

@media only screen and (max-width: 480px) {
    .site-header .agreement {
        color: #000;
    }
    .site-header .form-header-phone {
        margin-bottom: 32px !important;
    }
    .site-header   .contact-form {
        padding: 22px 0;
    }
    .header-title-container{
        padding-right: 0;
    }
    .site-header input ::-moz-placeholder {
        color: #000;
        opacity: 1;
        font-weight: 400;
    }

    .site-header input::-webkit-input-placeholder {
        color: #000;
        font-weight: 300;
        opacity: 1;

    }
    .site-header input{
        border: 2px solid #000;
        color: #000;
    }
    .site-header div.agreement{
        text-align: right;
        bottom: 109px;
    }
    .show-desktop{
        display: none;
    }
    .show-mobile{
        display: block;
    }
    .title-block-mobile{
        display: table;
    }
    .title-block-desktop{
        display: none !important;
    }
    .image-container {
        height: 140px;
    }

    .header-form{
        display: block !important;
    }
    .header-title-container h2{
        text-align: center;
        margin: 0;
    }
    .header-title-container h2 a {
        font-weight: 700;
        color: #a6865f;
        background: rgba(255, 255, 255, 0.5);
        padding: 5px 15px;
        text-align: center;
        margin: 5px auto 0;
        display: inline-block;
        font-size: 1.2rem;
    }
    .mobile-hidden{
        display: none;
    }
    .mobile-visible {
        display: block;
        margin-bottom: 8px;
        text-align: center;
        font-size: 1.2rem;
    }
    .thank-you-page .thank-you-message{
        font-size: 1.5rem;
    }

    .form-field, .form-field.form-header-submit {
        max-width: 272px;
    }
  .header-title-container{
      margin: 0 auto;
  }
    h3{
        font-size: 1.250rem;
    }
    .little-block-info .content {
        padding: 20px 20px;
    }
  .header-title-container,
    .teeth-block-info,
    .wide-block-info,
    .little-block-info{
        max-width: 272px;
    }
    .header-title-container{
        padding: 0;
    }
    .image-404 .span-404 {

        font-size: 1rem;
    }

    body {
        font-size: 16px;
    }

    .header-image .site-title > a {
        background-size: contain !important;
    }

    .header-image .bumper {
        min-height: 180px;
    }
}