/*---------------------------------------------------------------------------------

 Theme Name:   Tytotu.pl
 Theme URI:    
 Description:  Theme for tytotu.pl
 Author:       DR
 Author URI:   
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/


.menu {
    width: 51px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    margin: 20px;
    background: white;
    padding: 13.5px 10px;
    border-radius: 50%;
    transition: .3s all;
}

.menu.active {
    padding-left: 13px;
    padding-right: 7px;
}

.menu span {
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: black;
    transition: 0.3s ease;
    transform-origin: left;
}

.menu.active span {
    background: black;
}

.menu.active span:nth-child(1) {
    transform: rotate(40deg);
}

.menu span:nth-child(3) {
    transform-origin: left;
}

.menu.active span:nth-child(3) {
    transform: rotate(-40deg);
}

.menu.active span:nth-child(2) {
    transform: scale(0);
}

#nav {
    position: fixed;
    background: white;
    top: 0;
    right: -800px;
    width: 100%;
    max-width: 800px;
    height: 100vh;
    transition: .4s all;
}

#nav.active {
    right: 0;
}

.wpml-ls-statics-footer {
    margin-bottom: 0 !important;
}


#main-header {
    background-color: transparent;
    position: fixed;
    z-index: 9999999;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 30px;
}

.main-header__logo {
    background: #F7F7F2;
    padding: 10px;
    max-width: 80px;
    border-radius: 10px;
    margin-top: 30px;
}

@media(max-width: 700px) {
    .main-header__logo {
        max-width: 50px;
    }

    .main-header__logo {
        margin-top: 0;
    }

}

.main-header__logo #logo {
    width: 100%;
    max-width: 100% !important;
}

@media(min-width: 1000px) {
    .main-header__logo #logo {
         min-width: 60px;

    }
}

body a {
    text-decoration: none!important;
}

#main-header.disabled {
    display: none;
}

#main-header>.container {
    display: flex;
    align-items: center;
    max-width: 1920px;
    width: 90%;
    justify-content: flex-end;
    z-index: 99;
    border-bottom: 0;
}

.wpml-ls-statics-footer a {
    background-color: transparent !important;
}

.main-header__sidebar {
    display: flex;
    justify-content: space-between;
}

.main-header__sidebar-col {
    flex-basis: 50%;
    display: flex;
    align-items: center;
    padding: 50px;

}

.main-header__sidebar-col:nth-child(1) {
    background-color: rgba(172, 237, 92, 0.8)
}

.main-header__sidebar-col:nth-child(2) {
    background-color: rgba(215, 232, 206, 0.95);
}

#nav li a {
    color: #262626 !important;
    font-size: 22px;
    font-weight: 700;
    transition: .3s;
}

#nav li a:hover {
    opacity: .5;
}

#nav li {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

@media (max-width: 800px) {
    #nav .main-header__sidebar-col:nth-child(1) {
        display: none;
    }

    #nav .main-header__sidebar-col {
        flex-basis: 100%;
    }
}


.contact-nav {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 999;
}

.contact-nav .dd-menu-button-content {
    font-size: 26px;
    color: #ffffff;
    font-family: FontAwesome;
    font-weight: 400;
    background-color: #333333;
    padding: 15px;
    left: calc(50% + 0px);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 99;
    left: 0;
    transition: .3s all;
}

.contact-nav.active .dd-menu-button-content {
    transform: scale(.9);
}

.contact-nav a {
    color: #EFEFEF;
    width: 51px;
    height: 51px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #333333;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.contact-nav a:hover {
    transform: scale(1.1);
}

.contact-nav.active a {
    opacity: 1;
    visibility: visible;
}

.contact-nav.active a:nth-child(2) {
    top: -60px
}

.contact-nav a:nth-child(2) {
    background-color: #0088FF;
}

.contact-nav.active a:nth-child(3) {
    top: -120px
}

.contact-nav a span {
    font-family: FontAwesome !important;
    font-weight: 400;
    font-size: 26px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 450px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.flip-card-front {
    background-image: radial-gradient(circle at top, #2b87da 0%, #29c4a9 100%);
    color: black;
}

.flip-card-front__img {
    position: absolute;
    width: 100%;
    height: 95%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom left;
    bottom: 0;
    left: 0;
}

.flip-card-back {
    background-color: #BCCACC;
    color: #000;
    transform: rotateY(180deg);
    padding: 50px 40px;
}

.flip-card-back p {
    font-weight: 400;
    text-align: left;
    transform: translateZ(90px);
}

.spec-con .et_pb_ajax_pagination_container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}

@media(min-width: 600px) {
    .spec-con .et_pb_ajax_pagination_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1100px) {
    .spec-con .et_pb_ajax_pagination_container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.single-spec__box-top {
    background: #373737;
    padding: 10px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px
}

.pe-none {
    pointer-events: none;
}

.spec-name {
    font-size: 17px;
    font-weight: 700;
    color: white;
    margin-top: 6px;
}

.spec-pronoun a {
    font-size: 13px;
    font-weight: 700;
    color: white !important;
    padding-right: 5px;
}

.spec-title a {
    color: #c1c1c1 !important;
    font-weight: 400;
    font-family: 'Abhaya Libre', Georgia, "Times New Roman", serif !important;
    font-style: italic;
}

.single-spec__pos {
    font-size: 12px;
    font-weight: 400;
    padding-bottom: 10px;
    border-bottom: 1px black dotted;
    line-height: 15px;
    min-height: 56px;
}

.single-spec__org {
    padding-top: 7px;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    min-height: 37px;
}

.single-spec__box-bottom {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px
}

.single-spec__box {
    max-width: 210px;
    border-radius: 5px;
    position: absolute;
    bottom: 30px;
    left: -10px;
}

.single-spec {
    position: relative;
}

.tax-spec_category .et_pb_section_1_tb_body {
    background-size: contain;
    background-repeat: repeat-y;
    background-blend-mode: multiply;
    background-image: radial-gradient(circle at top, #f7f7f2 0%, rgba(0, 0, 0, 0) 69%), url(https://tytotu.pl/wp-content/uploads/2021/08/art-gallery-55.jpg) !important;
}

.contact-nav--spec {
    position: absolute;
    right: 20px;
    bottom: 62px;
}

.contact-nav--spec a span {
    color: white;
}

.contact-nav--spec .messenger {
    background-color: #0088FF !important;
}

.contact-nav--spec .whatsapp {
    background-color: #19BD00 !important;
}

.contact-nav--spec.active a:nth-child(2) {
    top: -80px;
}

.contact-nav--spec.active a:nth-child(3) {
    top: -141px;
}

.contact-nav--spec.active a:nth-child(4) {
    top: -202px;
}

.contact-nav--spec.active a.email {
    transform: scale(1.2);
    margin-top: -4px;
}

.flip-card-front {
    background: #9cd940;
}

.single-spec .info {
    color: #262626;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 27px !important;
}

.single-spec .modal-button {
    color: #F7F7F2 !important;
    border-width: 0px !important;
    border-color: #262626;
    font-size: 21px;
    background-color: #333333 !important;
    border: 2px solid;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 3px 20px 7px;
    border-radius: 20px;
    line-height: 24px;
    position: absolute;
    right: 21px;
    bottom: -5px;
    cursor: pointer;
    transition: .3s all;
}

.single-spec .modal-button:hover {
    transform: scale(1.2);
}

.spec-modal {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.spec-modal.active {
    visibility: visible;
    opacity: 1;
}

.spec-modal__inner {
    max-width: 1065px;
    width: 100%;
    background: #FBFBF8;
    position: relative;
    border-radius: 10px;
    max-height: 95vh;
    overflow-y: scroll;
}

.modal-close::before {
    content: "\4d";
    font-size: 61px !important;
    font-family: "ETmodules";
    display: block;
    color: black !important;
    cursor: pointer;
    transition: .3s;
}

.modal-close:hover {
    transform: rotate(360deg);
}

.modal-close {
    position: absolute;
    right: 5px;
    top: 20px;
}

.spec-modal__img {
    background-image: url(http://127.0.0.1/tytotu/wp-content/uploads/2022/10/FB_IMG_1647808643974-1.png);
    min-width: 320px;
    height: 420px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
}

.spec-modal__top {
    display: flex;
    gap: 50px;
    border-bottom: 2px dashed #cecccc;
}

.spec-modal__top-info {
    padding: 50px;
    padding-left: 0;
}

.spec-modal__top-info .spec-pronoun a {
    color: black !important;
}

.spec-modal__top-info .spec-name {
    color: black !important;
    font-size: 40px;
    margin-top: 20px;
}

.spec-modal__top-info .single-spec__pos {
    min-height: auto;
    border-bottom: none;
    font-weight: 600;
    font-size: 15px;
}

.spec-desc {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    margin-bottom: 5px;
}

.spec-org {
    padding-bottom: 5px;
}

.spec-modal__bottom {
    padding: 50px;
}

.spec-row p,
.spec-row span {
    font-weight: 400;
}

.spec-sep:nth-last-child(1) {
    display: none;
}

.spec-row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

@media(min-width: 700px) {
    .spec-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lang-note {
    font-style: italic;
    margin-top: 5px;
}

.spec-sub-h span {
    font-weight: 600;
}

.spec-sub-h {
    margin-bottom: 5px;
}

.spec-row li {
    font-weight: 400;
    padding-bottom: 0 !important;
}

.spec-sep--coma {
    display: inline-block;
    margin-left: -3px;
}

.spec-modal-h {
    margin-bottom: 10px !important;
}

.spec-listing-h {
    font-weight: 600 !important;
    padding-bottom: 0 !important;
    margin-top: 10px !important;
    font-style: italic;
    font-size: 13px !important;
}

.spec-modal ul {
    padding-bottom: 10px !important;
}

.spec-modal-h--edu {
    border-top: 2px dashed #cecccc;
    padding-top: 25px;
}

.tax-spec_category .et-l--footer {
    position: relative;
    z-index: 0;
}

@media (max-width: 700px) {
    .spec-modal__top {
        flex-direction: column;
    }
    .spec-modal__top-info {
        padding: 0 30px 30px 30px;
    }
}