@media screen and (max-width: 600px) {
    #contact-left-side,
    #contact-right-side {
        float: none;
        width: 100%;
        text-align: left;
    }
    #contact-right-side {
        margin-top: 20px;
    }

    #contact-form p {
        margin-bottom: 0;
    }
    .wpcf7-form-control-wrap:not(.message) {
        width: 100%;
        display: block;
    }
    .wpcf7-form-control-wrap input {
        height: 45px;
        line-height: 45px;
    }
    .wpcf7-form-control-wrap:not(.message) input {
        width: 100%;
        margin: 0 0 2% 0;
        font-size: 0.95em;
    }

    #contact-form {
        padding-bottom: 0;
    }
    .wpcf7-form-control.wpcf7-submit {
        width: 100%;
    }
    #contact-form p {
        text-align: center;
    }
    .submit-form img {
        float: none;
        margin: 5px 0 0;
    }
    div.wpcf7-response-output {
        border: none;
        padding: 0;
        position: relative;
        text-align: center;
        margin: 0;
        left: 0 !important;
    }

    #footer-info .vcard li:first-child {
        display: none;
    }

    .nivoSlider {
        /*display: none;*/
    }
}

/**
 * 14.1 - >= 710px
 */

@media screen and (min-width: 710px) {
    .site {
        margin: 0;
    }

    .site-header {
        padding: 0;
    }

    .menu-toggle {
        font-size: 16px;
    }

    .site-header-menu {
        margin: 0;
    }

    .post-navigation {
        margin-bottom: 5.25em;
    }

    .post-navigation .post-title {
        font-size: 28px;
        line-height: 1.25;
    }

    /* restore screen-reader-text */
    .pagination .current .screen-reader-text {
        position: absolute !important;
    }

    .site-main > article {
        margin-bottom: 2.25em;
    }

    .entry-title {
        line-height: 1.2727272727;
        margin-bottom: 0.8484848485em;
    }

    .entry-content blockquote.alignleft,
    .entry-content blockquote.alignright {
        border-width: 4px 0 0 0;
        padding: 0.9473684211em 0 0;
        width: -webkit-calc(50% - 0.736842105em);
        width: calc(50% - 0.736842105em);
    }

    .entry-content blockquote:not(.alignleft):not(.alignright),
    .entry-summary blockquote {
        margin-left: -1.473684211em;
    }

    .entry-content blockquote blockquote:not(.alignleft):not(.alignright),
    .entry-summary blockquote blockquote {
        margin-left: 0;
    }

    .entry-content ul,
    .entry-summary ul,
    .entry-content ol,
    .entry-summary ol {
        margin-left: 0;
    }

    .entry-content li > ul,
    .entry-summary li > ul,
    .entry-content blockquote > ul,
    .entry-summary blockquote > ul {
        margin-left: 1.25em;
    }

    .entry-content li > ol,
    .entry-summary li > ol,
    .entry-content blockquote > ol,
    .entry-summary blockquote > ol {
        margin-left: 1.5em;
    }

    .widget,
    .content-bottom-widgets .widget-area {
        margin-bottom: 2.25em;
    }

    .sidebar,
    .widecolumn {
        margin-bottom: 5.25em;
        padding-right: 23.0769%;
    }

    body:not(.search-results) .entry-summary li > ul,
    body:not(.search-results) .entry-summary blockquote > ul {
        margin-left: 1.157894737em;
    }

    body:not(.search-results) .entry-summary li > ol,
    body:not(.search-results) .entry-summary blockquote > ol {
        margin-left: 1.473684211em;
    }
}


/**
 * 14.3 - >= 820px
 */

@media screen and (min-width: 820px) {
    .site-header-menu {
        display: block;
    }

    .main-navigation .primary-menu,
    .main-navigation .primary-menu > li {
        border: 0;
    }

    .main-navigation .primary-menu > li {
        float: left;
    }

    .main-navigation a {
        outline-offset: -8px;
        white-space: nowrap;
    }

    .main-navigation li:hover > a,
    .main-navigation li.focus > a {

    }
    .main-navigation ul ul {
        display: block;
        opacity: 0;
        left: -9999px;
        margin: 0;
        position: absolute;
        z-index: 99999;
        width: 240px;
        padding: 10px 0;
        background-color: rgba(129, 130, 134, 0.9);
        transition: opacity .5s ease-in-out;
    }

    .main-navigation ul ul ul {
        top: -1px;
    }

    .main-navigation ul ul ul:before,
    .main-navigation ul ul ul:after {
        border: 0;
    }

    .main-navigation ul ul li {
        text-align: left;
        padding: 6px 1em;
        font-weight: 400;
    }

    .main-navigation ul ul a {
        white-space: normal;
        color: #fff;
        text-transform: none;
        padding: 0;
    }

    .main-navigation ul ul:before,
    .main-navigation ul ul:after {
        position: absolute;
    }

    .main-navigation ul ul:before {

    }

    .main-navigation ul ul:after {

    }

    .main-navigation li:hover > ul,
    .main-navigation li.focus > ul {
        left: 0;
        opacity: 1;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        left: auto;
        right: 100%;
    }

    .main-navigation .menu-item-has-children > a {
        margin: 0;
    }

    .main-navigation .menu-item-has-children > a:after {

    }

    .main-navigation ul ul .menu-item-has-children > a {

    }

    .main-navigation ul ul .menu-item-has-children > a:after {

    }

    .dropdown-toggle,
    .main-navigation ul .dropdown-toggle.toggled-on,
    .menu-toggle,
    .site-footer .main-navigation,
    #menu-toggle-wrapper {
        display: none;
    }

    .site-content {
        padding: 0;
        max-width: 1170px;
        margin: 0 auto;
    }

    .content-area {
        float: left;
        margin-right: -100%;
        width: 60%;
    }

    .entry-header,
    .post-thumbnail,
    .entry-content,
    .entry-summary,
    .entry-footer,
    .image-navigation,
    .post-navigation,
    .pagination,
    .page-header,
    .page-content,
    .content-bottom-widgets {
        margin-right: 0;
        margin-left: 0;
    }

    .sidebar {
        float: left;
        margin-left: 65%;
        padding: 0;
        width: 35%;
    }

    .widget {
        font-size: 15px;
        line-height: 1.6153846154;
        margin-bottom: 2.230769231em;
    }

    .widget .widget-title {
        margin-bottom: 1.3125em;
    }

    .widget p,
    .widget address,
    .widget hr,
    .widget ul,
    .widget ol,
    .widget dl,
    .widget dd,
    .widget table {
        margin-bottom: 1.6153846154em;
    }

    .widget li > ul,
    .widget li > ol {
        margin-bottom: 0;
    }

    .widget blockquote {
        font-size: 16px;
        line-height: 1.3125;
        margin-bottom: 1.3125em;
        padding-left: 1.0625em;
    }

    .widget blockquote cite,
    .widget blockquote small {
        font-size: 13px;
        line-height: 1.6153846154;
    }

    .widget th,
    .widget td {
        padding: 0.5384615385em;
    }

    .widget pre {
        font-size: 13px;
        line-height: 1.6153846154;
        margin-bottom: 1.6153846154em;
        padding: 0.5384615385em;
    }

    .widget fieldset {
        margin-bottom: 1.6153846154em;
        padding: 0.5384615385em;
    }

    .widget button,
    .widget input,
    .widget select,
    .widget textarea {
        font-size: 13px;
        line-height: 1.6153846154;
    }

    .widget button,
    .widget input[type="button"],
    .widget input[type="reset"],
    .widget input[type="submit"] {
        line-height: 1;
        padding: 0.846153846em;
    }

    .widget input[type="date"],
    .widget input[type="time"],
    .widget input[type="datetime-local"],
    .widget input[type="week"],
    .widget input[type="month"],
    .widget input[type="text"],
    .widget input[type="email"],
    .widget input[type="url"],
    .widget input[type="password"],
    .widget input[type="search"],
    .widget input[type="tel"],
    .widget input[type="number"],
    .widget textarea {
        padding: 0.4615384615em 0.5384615385em;
    }

    .widget h1 {
        font-size: 23px;
        line-height: 1.2173913043;
        margin-bottom: 0.9130434783em;
    }

    .widget h2 {
        font-size: 19px;
        line-height: 1.1052631579;
        margin-bottom: 1.1052631579em;
    }

    .widget h3 {
        font-size: 16px;
        line-height: 1.3125;
        margin-bottom: 1.3125em;
    }

    .widget h4,
    .widget h5,
    .widget h6 {
        font-size: 13px;
        line-height: 1.6153846154;
        margin-bottom: 0.9130434783em;
    }

    .widget .alignleft {
        margin: 0.2307692308em 1.6153846154em 1.6153846154em 0;
    }

    .widget .alignright {
        margin: 0.2307692308em 0 1.6153846154em 1.6153846154em;
    }

    .widget .aligncenter {
        margin-bottom: 1.6153846154em;
    }

    .widget_calendar td,
    .widget_calendar th {
        line-height: 2.6923076923;
        padding: 0;
    }

    .widget_rss .rssSummary:last-child {
        margin-bottom: 1.615384615em;
    }

    .widget input[type="search"].search-field {
        width: -webkit-calc(100% - 35px);
        width: calc(100% - 35px);
    }

    .widget .search-submit:before {
        font-size: 16px;
        left: 1px;
        line-height: 35px;
        width: 34px;
    }

    .widget button.search-submit {
        padding: 0;
        width: 35px;
    }

    .textwidget h1 {
        margin-top: 1.8260869565em;
    }

    .textwidget h2 {
        margin-top: 2.2105263158em;
    }

    .textwidget h3 {
        margin-top: 2.625em;
    }

    .textwidget h4 {
        letter-spacing: 0.153846154em;
    }

    .textwidget h4,
    .textwidget h5,
    .textwidget h6 {
        margin-top: 3.2307692308em;
    }

    .content-bottom-widgets .widget-area:nth-child(1):nth-last-child(2),
    .content-bottom-widgets .widget-area:nth-child(2):nth-last-child(1) {
        float: left;
        margin-right: 7.1428571%;
        width: 46.42857145%;
    }

    .content-bottom-widgets .widget-area:nth-child(2):nth-last-child(1):last-of-type {
        margin-right: 0;
    }

    .site-footer {
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 0;
    }

    .site-info {
        margin: 0.538461538em auto 0.538461538em 0;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }

    .no-sidebar .content-area {
        float: none;
        margin: 0;
        width: 100%;
    }

    .no-sidebar .entry-header,
    .no-sidebar .entry-content,
    .no-sidebar .entry-summary,
    .no-sidebar .entry-footer,
    .no-sidebar .image-navigation,
    .no-sidebar .post-navigation,
    .no-sidebar .pagination,
    .no-sidebar .page-header,
    .no-sidebar .page-content,
    .no-sidebar .content-bottom-widgets {
        margin-right: 0;
        margin-left: 0;
    }

    .widecolumn {
        padding-right: 0;
        padding-left: 0;
    }
}


/**
 * 14.4 - >= 955px
 */

@media screen and (max-width: 1170px) {
    .site-header-main,
    .site-content,
    #footer-info,
    #contact-form .wpcf7,
    #partners,
    .site-footer,
    .header-slider,
    #footer-reg p,
    #site-navigation {
        width: 100%;
    }
    .site-header-main,
    #footer-info,
    #contact-form form,
    .pagination,
    .site-content {
        padding-right: 3.6923%;
        padding-left: 3.6923%;
    }
    .gallery .entry-content p {
        text-align: center;
    }
    div.wpcf7-response-output {
        left: 3.6923%;
    }

    .entry-header,
    .entry-summary,
    .entry-content,
    .entry-footer,
    .page-content {
        margin-right: 0;
        margin-left: 0;
    }

    #partners {
        display: none;
    }
    #welcome-text {
        margin-top: 5%;
    }

    #metody-terapeutyczne.horizontal {
        margin-bottom: 20px;
    }
    #metody-terapeutyczne.horizontal .metoda-box-title {
        float: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0 0 0 230px;
        box-sizing: border-box;
        height: 200px;
        line-height: 200px;
    }
    #metody-terapeutyczne.horizontal .metoda-box-title h2 {
        width: auto;
    }

    #metody-terapeutyczne.horizontal .metoda-box {
        position: relative;
        min-height: 200px;
        background: #fff !important;
    }

    #metody-terapeutyczne.horizontal .metoda-box-image {
        margin: 0;
    }
}

@media screen and (max-width: 820px) {
    #site-navigation {
        float: none;
        width: 100%
    }
    .site-header-menu {
        padding-left: 0;
    }
    .sidebar {
        margin: 0;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 50px;
    }

    .post .entry-header {
        padding-left: 0;
    }
    .post .post-thumbnail {
        position: static;
        width: 100%;
        margin-left: 0;
    }
    .post .post-thumbnail img {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
    .post .entry-content {
        padding-left: 0;
    }

    #welcome-text {
        position: static;
        width: 100%;
        padding-right: 3.6923%;
        padding-left: 3.6923%;
        text-align: center;
    }
    .site-main h5 {
        margin-top: 4%;
    }

    #partners h5 {
        display: none;
    }
    #partners {
        padding-right: 3.6923%;
        padding-left: 3.6923%;
    }
    .header-logo-slider {
        width: 100%;
        float: none;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .page h1 {
        margin: 0 0 8%;
    }
    #contact-form h5 {
        text-align: center;
    }
    .post .more-link,
    .post .entry-footer a,
    #contact-left-side .vcard a {
        background: #034e63;
        width: 35%;
        position: relative;
        left: 65%;
        color: #fff;
        text-decoration: none;
        padding: 0.5%;
        text-align: center;
    }
    .post .entry-footer a,
    #contact-left-side .vcard a {
        width: auto;
        left: 0;
        padding: 1% 3%;
    }
    .textwidget {
        text-align: justify;
    }

    .nivo-caption {
        visibility: hidden;
    }
    #site-navigation {
        padding: 0 15px;
        background: #fff;
    }
    .main-navigation .primary-menu {
        border: none;
    }
    .site-header-menu {
        border-top: none;
    }
    .main-navigation a {
        padding: 8px;
        border-bottom: 1px solid #bdecff;
        color: #808285;
        text-transform: none;
    }
    .main-navigation ul li:last-child a {
        border: none;
    }
    .main-navigation ul ul a:hover,
    .main-navigation ul ul .current-menu-item > a,
    .main-navigation ul ul .current-menu-ancestor > a {
        color: #008fcc;
    }
    .main-navigation ul ul a:hover {
        text-decoration: none;
    }
    .site-description {
        margin-bottom: 10px;
        overflow: hidden;
    }
}

@media screen and (max-width: 420px) {
    #contact-form h5 {
        font-size: 20px;
    }
    #welcome-text {
        font-size: 20px;
    }
    #metody-terapeutyczne.horizontal .metoda-box-image {
        transform: scale(0.6);
        left: -30px;
    }
    #metody-terapeutyczne.horizontal .metoda-box-title {
        padding-left: 170px;
    }
    #metody-terapeutyczne.horizontal .metoda-box-title h2 {
        font-size: 1.2em;
    }
    #metody-terapeutyczne.horizontal {
        margin: 0;
    }
}

@media screen and (max-width: 1170px) {
    .site-description {
        position: static;
        top: 0;
        left: 0;
        right: 0;
        width: 370px;
        margin: 0 auto 10px;
        overflow: hidden;
    }
    .custom-logo {
        width: 100%;
        text-align: center;
    }
    .custom-logo img {
        display: none;
        max-height: 90px;
    }
    .custom-logo img.alt {
        display: inline-block;
    }
    #gabinet-info h1 {
        font-size: 1.8em;
        line-height: 1.2em;
        text-align: center;
    }
    #gabinet-info {
        padding: 0;
    }

    #metody-terapeutyczne {
        padding: 2% 0 0;
    }
    .metoda-box.partnerzy,
    .metoda-box.about {
        display: none;
    }
    .metoda-box {
        width: 46%;
        margin: 0 2% 2% 2%;
    }

    #address {
        float: none;
        width: 100%;
        border: none;
    }
    #address dl {
        padding-left: 35px;
    }
    .wpcf7 {
        float: none;
        width: 100%;
    }
    .wpcf7 h5 {
        display: block;
    }
    .wpcf7-form-control-wrap:not(.message) {
        width: 100%;
    }
    .wpcf7-form-control-wrap:not(.message) input {
        width: 100%;
        margin: 0 0 2% 0;
    }
    .wpcf7-form-control.wpcf7-submit {
        width: 100%;
        background: #194e9a;
        color: #ffffff;
    }
    .wpcf7-form-control.wpcf7-submit:hover,
    .wpcf7-form-control.wpcf7-submit:focus {
        color: #194e9a;
        background: #fff;
    }
    div.wpcf7-response-output {
        position: static;
    }
    div.wpcf7-validation-errors {
        text-align: center;
    }
    .submit-form {
        padding-bottom: 0;
    }

    #page-wrapper {
        padding-top: 20px;
    }

    #breadcrumbs {
        display: none;
    }
    .page h1 {
        padding-bottom: 0;
    }
    img.rwd-only {
        display: block;
        margin: 0 auto 20px;
    }
    #post-24 .entry-title,
    #post-1042 .entry-title {
        display: block !important;
        margin: 0;
        padding: 0;
    }
}

@media screen and (max-width: 600px) {
    .metoda-box {
        width: 96%;
    }
    #gabinet-content p {
        font-size: 0.9em;
    }

    #footer-info {
        text-align: center;
        padding: 60px 0 20px 0;
    }
    #footer-info dl dd.alt {
        float: none;
        text-align: center;
    }
    #footer-reg {
        text-align: center;
        text-transform: none;
    }
}

@media screen and (max-width: 500px) {
    .site-description {
        width: 225px;
        overflow: hidden;
        margin-bottom: 10px;
    }
    .site-description p.orthos {
        display: none;
    }
    .site-description p.call span:first-child {
        display: none;
    }
    .site-description p.fb {
        margin-top: 3px;
    }
    .page .entry-content {
        font-size: 0.9em;
    }
}