/*!
Theme Name: Octopress WERSJA Z POPRAWKAMI DEVA
Author: Octophant
Author URI: http://www.octophant.pl
Description: Motyw do poprawek przez DEVA GROUP
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 7.4
Text Domain: Octopress
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/
@media all and (max-width: 600px) {
footer .grid-12.d-flex{
    flex-direction: column;
}
.octo-footer .footer-flex{
    display: flex;
    flex-direction: column;
}
}
/* Silence is golden */
body .main-navigation .menu li {
    display: list-item;
    width: auto !important;
    padding: 0;
}

body .main-navigation .menu li a {
    /*padding: 1.3rem; modyfikacja tego ustawienia 16-02-2024*/
	padding: 2.6rem 1.3rem 0rem 1.3rem;
    margin: 0;
    display: inline-block;
}

.container.breadcrumbs.clinic {
    background-color: #f1eee6;
}

.container.breadcrumbs.lighter {
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 5;
}

.container.breadcrumbs p {
    color: #7a7a7a;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 2.4rem;
    padding: 2em 0;
}

header .menu-item-has-children {
    position: relative;
}

header .menu-item-has-children ul {
    display: none;
    position: absolute;
    left: 0;
    width: auto;
    /*box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.16);*/
    background-color: #f1eee6;
    padding: 10px;
    top: 45px;
}

header .menu-item-has-children ul li a {
    color: #7a7a7a;
    transition: .4s;
}

header .menu-item-has-children ul li a:hover {
    color: #f5ad5e;
}

body .categories-clinics {
    justify-content: flex-start;
}

body .categories-clinics li {
    flex-basis: 32%;
    margin: 0 0 20px 0;
}

body .categories-clinics li:nth-of-type(3n + 2) {
    margin-left: 1%;
    margin-right: 1%;
}

body .categories-clinics li img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-top-right-radius: 15%;
    border-bottom-left-radius: 15%;
}

article > .styled-link > img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    border-top-right-radius: 15%;
    border-bottom-left-radius: 15%;
}

.page-template-team .clinic-meet-us-wrap {
    background-color: #fdfcf8 !important;
}

.page-template-team h2 {
    margin-top: 60px;
    margin-bottom: 30px;
}

.navigation.pagination span,
.navigation.pagination a {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    width: 50px;
    height: 50px;
    background-color: #f5ad5e;
    border-color: #f5ad5e;
    color: #424045;
    border-radius: 50%;
    transition: .4s;
}

.navigation.pagination span:hover,
.navigation.pagination a:hover,
.navigation.pagination .current {
    background-color: #f1e1cf;
    border-color: #f1e1cf;
    color: #424045;
}

.page-template-clinic .clinic-title {
    font-size: 3.5rem;
}

@media all and (max-width: 1720px) {
    body .main-navigation .menu li a {
        margin: 0;
    }

    body .main-navigation .menu li {
        font-size: 1.6rem;
    }

    body .main-navigation {
        max-width: 1000px;
    }
}

@media all and (max-width: 1600px) {
    body .main-navigation {
        width: 60%;
    }
}

@media all and (max-width: 1500px) {
    body .octo-header .search-form {
        width: 20%;
    }

    body .main-navigation .menu li {
        font-size: 1.7rem;
    }
}

@media all and (max-width: 1400px) {
    header .menu-item-has-children ul {
        top: 40px;
    }
}

@media all and (max-width: 1240px) {
    body .main-navigation .menu li {
        padding: 0;
    }

    body .octo-header .search-form {
        width: 16%;
    }

    body .main-navigation .menu li a {
        padding: 1rem;
    }

    header .menu-item-has-children ul {
        top: 30px;
    }

    body .main-navigation {
        width: 70%;
    }
}

@media all and (max-width: 1130px) {
    body .main-navigation .menu li a {
        padding: 0.8rem;
    }
}

@media all and (min-width: 981px) {
    header .menu-item-has-children:hover ul {
        display: block;
    }
}

@media all and (min-width: 980px) {
    .main-navigation {
        width: 100%;
        max-width: 1100px;
    }

    .main-navigation #menu-main {
        flex-wrap: wrap;
        flex-direction: row;
        margin: 0;
        justify-content: center;
    }
}

@media all and (max-width: 1024px) {
    body .main-navigation .menu li {
        font-size: 1.2rem;
    }
}

@media all and (max-width: 1023px) {
    body .main-navigation .menu li {
        font-size: 1.7rem;
    }
}

@media all and (max-width: 980px) {
    body .main-navigation .menu li {
        padding: 1.3rem;
        font-size: 2.5rem;
        text-align: center;
        width: 100% !important;
    }

    #menu-item-27::after {
        content: '^';
        transform: rotate(180deg);
        display: inline-block;
        position: relative;
        top: -5px;
    }

    body .categories-clinics li {
        flex-basis: 48%;
        margin: 0 0 20px 0;
    }
    
    body .categories-clinics li:nth-of-type(1n + 2) {
        margin-left: 0;
        margin-right: 2%;
    }

    body .categories-clinics li:nth-of-type(2n + 2) {
        margin-left: 2%;
        margin-right: 0;
    }

    header .menu-item-has-children ul {
        position: static;
        display: none;
        padding: 0;
        flex-direction: column;
        text-align: center;
        box-shadow: none;
    }
}

@media all and (max-width: 768px) {
    body .categories-clinics li {
        flex-basis: 100%;
        margin: 0 0 20px 0;
    }
    
    body .categories-clinics li:nth-of-type(1n + 2) {
        margin-left: 0;
        margin-right: 0;
    }

    body .categories-clinics li:nth-of-type(2n + 2) {
        margin-left: 0;
        margin-right: 0;
    }
}

.clinics-column > a:hover {
	color: #f5ad5e !important;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.story--name:hover {
	color: #f5ad5e !important;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.ul-element-0{
      display: flex;
      flex-direction: column;
    .element-0{
        order: 1;
    }
    .element-1{
        order: 4;
    }
    .element-2{
        order: 2;
    }
    .element-3{
        order: 3;
    }
    .element-4{
        order: 5;
    }
    .element-5{
        order: 6;
    }
    .element-6{
        order: 7;
    }
  }