header .header-main-wrapper .box-div {
   padding: 8px 15px !important;
    @media (min-width: 992px) {
        padding: 18px 35px !important;
    }
}
header .menu-desktop-manipulation {
    background-color: #f8f8f8;
}
.home header .menu-desktop-manipulation {
    background-image: linear-gradient(to top, rgba(2, 2, 2, 0) 0%, rgba(0, 0, 0, .62) 100%);
    background-color: unset;
}
.home-page-section-1 .stamp-wrapper {
    padding-top: 0;
    padding-bottom: 0;
    @media (max-width: 991px) {
        padding-top: 3rem;
        padding-bottom: 2.75rem;
    }
}
.home-page-section-1 h1 {
    text-shadow: -2px 2px 0 rgba(0, 0, 0, .35);
    line-height: 1;
    width: 95%;
    @media (max-width: 991px) {
        font-size: 40px;
        width: 80%;
        margin-right: 10%;
    }
    @media (max-width: 374px) {
        font-size: 30px;
        width: 90%;
        margin-right: 5%;
    }

}
.home-page-section-1 .h2-font-size {
    text-shadow: -2px 2px 0 rgba(0, 0, 0, .35);
}
.footer-wrapper .footer-testimonies .content {
    font-size: 25px !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, .75);
    line-height: 32px;
}
.content .content-overlay, .content:hover {
    box-shadow: none;
}
.row.mb-2.d-none.d-md-flex.rel-home-life-begin .rel-right-col {
    padding:0 8% 40px;
    ul {
        padding-right: 40px
    }

}
.home .row.mb-2.d-none.d-md-flex.rel-home-life-begin {
    margin-top: 24px;
}
.rel-header-main {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

p.course-title.h2 {
    font-family: 'newsGothic', Fallback, sans-serif;
    font-weight: 100;
}

.box-1-wrapper p.p {
    text-shadow: -1px 1px 0 rgba(0, 0, 0, .25);
    color: #f8f8f8;
    font-size: 20px;
    font-weight: 500;
    margin: 0 auto;
}

.stamp_cont {
    left: 154px;
    top: -7px;
    position: absolute;
}
.stamp {
    background: url('/ti-swim/wp-content/themes/ti-swim/assets/images/sprite.png')   no-repeat -751px -531px;
    width: 165px;
    height: 170px;
    position: absolute;
    right: -23px;
    top: -30px;
    z-index: 999;
}

.entry-content.last-text ul li {
    font-size: 20px;
    list-style-type: square;
}

.sub-menu ul {
    margin-bottom: 7px;
}
.rel-single-post-content {
    padding: 0 20px;
    background-color: #fff;
    border: 1px solid #e6eff0;
    @media (min-width: 992px) {
        padding: 0 80px;
    }
}

.rel-single-post-content .categories {
    background-color: #fff;
    padding: 40px 0;
}
.rel-single-post-content .categories .cat {
    font-size: 22px;
    color: #979797;
    font-weight: 400;
}
.rel-single-post-content .categories .title {
    font-size: 51px !important;
    color: #018AFF;
    font-weight: 700;
    line-height: .8;
    margin: 0;
}
.rel-single-post-content .categories .author-meta {
    margin-top: 30px;
    float: right;
    display: flex;
}
.rel-single-post-content .categories .author-meta img {
    border-radius: 50%;
    margin-left: 20px;
}

.rel-single-post-content .categories .entry-content {
    color: #575757;
    font-size: 18px;
    font-weight: 400;
    margin-top: 100px;
}
.rel-single-post-content .categories .entry-content h2 {
    color: #018AFF;
    font-size: 28px;
    font-weight: 500;
    margin-top: 30px;
}

.rel-single-post-content .categories .entry-content ul li {
    font-size: 18px;
}
.blog-categories ul>li:last-child>a {
    border-left: 0 none;
}
.innerNav {
    padding: 15px 0 0 !important;
}
.primary-menu ul li {
    position: relative;
}

@media (min-width: 992px) {
    .primary-menu ul li.current-cat:before, .primary-menu ul li.current-menu-item:before, .primary-menu ul li.current-page-ancestor:before, .primary-menu ul li.current_page_item:before {
        content: '';
        background-color: #575757;
        width: 80% ;
        display: block;
        height: 2px;
        left: 0;
        right: 0;
        margin: auto;
        position: absolute;

    }
}

body.home main.overflow-hidden {
    padding-top: 0 !important;
}
.primary-menu ul li.ti-career-wrapper.current-menu-item:before {
    display: none;
    opacity: 0;
}

nav.sub-menu {
    width: 100vw;
    padding-top: 10px;
}
.sub-menu ul>li:last-child >a{
    border-left: 0;
}
/*.rel-main-class-2 {
    height: 134px !important;
}*/
header.header-height.bg-white.rel-main-class-2+main {
    padding-top: 120px !important;
    @media (min-width: 992px) {
        padding-top: 134px !important;
    }
}

.team-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    //justify-content: space-between;
    padding: 12px;
    background-color: #f1f9fa;
    @media (min-width: 992px) {
        padding: 30px;
    }
}

.team-wrapper > .team-item {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    height: 48vh;
    @media (min-width: 992px) {
        width: calc(33.3333% - 15px);
        height: 61vh;
        padding-right: 12px;
        padding-left: 12px;
    }
}

.team-wrapper > .team-item > div {
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
   background-position:center center;
}


.members-details {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    height: 100%;
    .details {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }
}
.members-details .teacher-mail-icon {
    position: absolute;
    top: 50%;
    display: none;
}
.members-details:hover {
    position: absolute;
    background-color: #018AFF;
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    opacity: 0.8;
    .teacher-mail-icon {
        display: unset;
    }
}
.members-details .name {
    line-height: 0.8;
}

.about-content-wrapper {
    display: flex;
    align-items:center;
}

/** Blog **/
.category .header-height, .single-post .header-height {
    height: 61px !important;
}
.category main, .single-post main{
    padding-top: 61px !important;
}

.category-wrapper .elements {
    margin-bottom: 0;
}
.category-wrapper .elements li{
    padding-right: 0;
    padding-left: 0;
}
.category-wrapper .container {
    max-width: 1170px;
}

.category-wrapper .container .rel-content-area {
    max-width: 1010px;
    margin: auto;
}
.category-wrapper .search-wrapper {
    max-width: 1010px;
}
.category-wrapper .carousel  .category-name {
    font-size: 19px;
    color: #acacac;
    padding: 0 7px 0 10px;
    font-weight: 500;
    line-height: 1;
    margin-top: 13px;
}

.rel-content-area .content{
    display: flex;
    flex-direction: column;
    @media (min-width: 992px) {
        flex-direction: row;
    }

}

.rel-content-area .content .current_cat {
    width: 100%;
    /*padding: 0 10px 24px 10px;*/
    @media (min-width: 992px) {
        width: 48%;
    }
}
.rel-content-area .content .tags{
    display: flex;
    flex-direction: column;
    width: 100%;

    margin-bottom: 24px;
    /*padding: 0 10px 24px 10px;*/
    @media (min-width: 992px) {
        flex-direction: row;
        width: 48%;
        margin-right: 20px;
    }
}

.rel-content-area .content .tags .single_tag a:hover {
    color: #FFF;
    background-color: #018AFF;
    border: 1px solid #E7E5E5;
}
.rel-content-area .content .tags .title{
    font-size: 18px;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 10px;
    @media (min-width: 992px) {
        width: 25%;
        margin-top: 3px;
    }
}
.rel-content-area .content .tags .single_tag {
    width: 100%;
    @media (min-width: 992px) {
        width: 75%;
    }
}
.rel-content-area .content .tags .single_tag a {
    color: #575757;
    font-size: 18px;
    font-weight: 500;
    float: right;
    padding: 5px 10px;
    background-color: #FBFBFB;
    border: 1px solid #E7E5E5;
    text-decoration: none;
    margin-left: 4px;
    margin-bottom: 4px;
    @media (min-width: 992px) {
        margin-right: 4px;
    }
}

.category-wrapper .blog-title {
    font-size: 51px !important;
}
.rel-content-area .card-wrapper .card-content {
    width: 100%;
    opacity: 1;
    margin-left: 20px;
    float: right;
    @media (min-width: 992px) {
        width: 48%;

    }

}
.rel-content-area .card-wrapper .card-content .post_single_cont {
    padding: 40px 30px;
}

.rel-content-area .card-wrapper .card-content .post_single_cont .author_meta .dtls .author_name {
    font-size: 16px;
    color: #969696;
    font-weight: 500;
    clear: both;
}

.rel-content-area .card-wrapper .card-content .single-box {
    position: relative;
    background-color: #fff;
    border: 1px solid #e6eff0;
    float: right;
    cursor: pointer;
    //height: 100vh;
    margin-bottom: 24px;
    @media (min-width: 992px) {
        height: 75vh;
        /*margin: 0 10px 24px 10px;*/
    }
    @media (min-width: 1550px) {
        height: 59vh;
    }
}

.rel-content-area .card-wrapper .card-content .excerpt {
    min-height: 250px;
    margin-bottom: 29%;
    @media (min-width: 992px) {
        margin-bottom: unset;
    }
}
.rel-content-area .card-wrapper .card-content .excerpt p {
    font-size: 20px;
    color: #575757;
    line-height: 1.4;
    font-weight: 500;

}
.rel-content-area .title-clients {
    font-size: 48px !important;
    margin-bottom: 20px !important;
}
.rel-content-area .card-wrapper .card-content .read_more {
    background-color: transparent ;
    border: 1px solid #018AFF;
    border-radius: 8px;
    color: #018AFF;
    font-size: 18px;
    font-weight: 500;
    opacity: 1;
    position: absolute;
    bottom: -2%;
    right: 9%;
    margin-bottom: 30px;
    @media (min-width: 992px) {
        right: 5%;
    }
}


/** Testimonial **/

.post-type-archive-testimonial .header-height, .single-testimonial .header-height {
    @media (max-width: 991px) {
        height: 61px !important;
    }

}
.post-type-archive-testimonial main, .single-testimonial main{
    @media (max-width: 991px) {
        padding-top: 61px !important;
    }

}
.testimonial-wrapper .container {
    max-width: 100%;
    @media (min-width: 992px) {
        width: 1010px;
    }
}
.testimonial-wrapper .rel-content-area {
    width: 100%;
    margin: auto;
    @media (min-width: 992px) {
        width: 1010px;
    }
}
.testimonial-wrapper .rel-content-area .card-wrapper .card-content{

    margin-left: 20px;

}
.testimonial-wrapper .rel-content-area .card-wrapper .card-content .single-box{
    height: auto !important;
    margin-right: 0;
    margin-left: 0;
}

.testimonial-wrapper .rel-content-area .card-wrapper .card-content .post_single_cont {
    padding: 0
}
.testimonial-wrapper .rel-content-area .card-wrapper .card-content .post_single_cont .img-wrapper img {
    height: 212px;
    @media (min-width: 992px) {
        height: 322px;
    }
}
.testimonial-wrapper .rel-content-area .card-wrapper .card-content .post_single_cont .testimonial-content {
    padding: 40px 30px;
}
.testimonial-wrapper .rel-content-area .card-wrapper .card-content .post_single_cont .testimonial-content .main-title-size {
    min-height: 120px;
}
.testimonial-wrapper .rel-content-area .card-wrapper .card-content .post_single_cont .testimonial-content .author_name {
    font-size: 16px;
    color: #969696;
    font-weight: 500;
}
.testimonial-wrapper .rel-content-area .card-wrapper .card-content .post_single_cont .testimonial-content .entry-content{
    min-height: 250px;
}
.testimonial-wrapper .rel-content-area .card-wrapper .card-content .post_single_cont .testimonial-content .entry-content p {
    font-size: 20px;
    color: #575757;
    line-height: 1.4;
    font-weight: 500;
}

.testimonial-wrapper .rel-content-area .card-wrapper .card-content .read_more {
    background-color: transparent ;
    border: 1px solid #018AFF;
    border-radius: 8px;
    color: #018AFF;
    font-size: 18px;
    font-weight: 500;
    opacity: 1;
}

.next-previous-wrapper-area {
    padding: 50px 0;
}
.next-previous-wrapper-area .title {
    color: #018AFF;
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
}
.next-previous-wrapper-area .article-title {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.1;
    color: #a9a9a9;
}

.rel-ffw {
    padding: 25px 6%;
    @media (min-width: 992px) {
        width: 1245px;
        max-width:95%;
        padding: 25px 2%;
    }
}
.rel-ffw .form-wrapper {
   @media (max-width: 991px) {
       border: 1px solid #e6eff0;
       padding: 0 20px;
   }
}
.blog-category-page .rel-ffw .form-wrapper {
    @media (max-width: 991px) {
        background-color: #fff !important;
    }
}
input#tac {
    height: auto;
}
.home-page-section-3-mobile {
    margin-bottom: 15px;
}
.why-ti-mobile-box {
    padding: 40px 27px;
}
.why-ti-mobile-box .title {
    font-size: 40px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 50px;
}
.why-ti-mobile-box .items {
    display: flex;
    align-items: center;
    align-self: center;
}
.why-ti-mobile-box .items .content {
    margin-right: 20px;
    width: calc(100% - 80px);
    text-align: right;
    font-size: 18px;
    font-weight: 400;
}



.page-order-cancellation  .title {
    font-size: 63px !important;
    color: white;
}

.page-order-cancellation .carousel-item {
    height: 309px;
}

.page-order-cancellation .carousel-item img {
    width: 951px;
    height: 951px;
    margin-top: -321px;
}

.page-order-cancellation .text-area {
    max-width: 1850px;
    margin: 0 auto;
    padding: 40px 0;
    background-color: #f1f9fa;
}
.page-order-cancellation .text-area .right-col {
    padding: 0 2.6%;
}
.page-order-cancellation .text-area .left-col {
    padding: 0 2.6%;
}

.page-order-cancellation .text-area .entry-content p {
    font-size: 18px;
    color: #3c3c3c;
    line-height: 1.5;
    font-weight: 400;
}

.responder_form  {
    display: block;
    height: 71%;
    position: relative;
    @media (min-width: 991px) {
        display: flex;
        height: 35%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    p {
        margin-bottom: 0;
    }
    select, input {
        border: 1px solid #c0cbcc;
        line-height: 1.3;
        padding: 12px 10px 13px 10px;
        color: #646666;
        font-size: 18px;
        float: right;
        margin-left: 1.5%;
        width: 100%;
        margin-top: 3px;
        margin-bottom: 10px;
        @media (min-width: 991px) {
            width: 15%;
            margin-bottom: 0;
        }
    }
    select {
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        background-image: none;
    }
    select {
        background: url(assets/images/Color-Fill-5.png);
        background-repeat: no-repeat;
        background-color: white;
        background-position: 10px;
        margin-top: 3px;
    }
    .submit_form_btn {
        border-radius: 10px;
        background-clip: padding-box;
        background-color: #0089ff;
        -webkit-box-shadow: 0 3px 0 #125e9f;
        box-shadow: 0 3px 0 #125e9f;
        float: unset;
        background-image: none;
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        text-shadow: 1px 0 1px rgba(7, 131, 237, .75);
        width: 100%;
        padding: 10px 20px;
        border: none;
        line-height: 1.3;
        @media (min-width: 991px) {
            width: 15%;
            float: left;
        }
    }
}
.page-course-wrapper {
    .responder_form  {
        select, input {
            line-height: 1.3;
            padding: 12px 10px 13px 10px;
            font-size: 18px;
            width: 100%;
            margin-top: 10px;
            @media (min-width: 991px) {
                width: 100%;
                margin-bottom: 0;
            }
        }
        .submit_form_btn {
            @media (min-width: 991px) {
                width: 100%;
                float: right;
            }
        }
    }
}

.agree_email{
    display: flex;
    width: 100%;
    font-size: 13px;
    margin-top: 0;
    line-height: 1.5;
    align-items: center;
    padding-top: 10px;
}
.agree_email input[type="checkbox"] {
    float: right !important;
    width: auto !important;
    margin: 0 !important;
    margin-left: 10px !important;

}
.agree_email label {
    width: calc(100% - 30px);
    font-size: 14px;
    margin-top: 0;
    line-height: 1.5;
    color: #646666;
    font-weight: 400;
    margin-bottom: 0;
}

#myModal-1 .responder_form .agree_email {
    margin: 25px 15px 0;
}

#myModal-1 .responder_form .agree-email-label {
    width: calc(100% - 30px);
    font-size: 13px;
    margin-top: 0;
    line-height: 1.5;
    float: right;
    font-weight: 400;
    display: inline-block;
    color: white;
    text-align: right;
}

.loader_image.on {
    z-index: 999;
    opacity: 1;
    background: url(/ti-swim/wp-content/themes/ti-swim/assets/images/loader.gif);
    width: 32px;
    height: 32px;
    background-size: 100%;
    position: ABSOLUTE;
    left: 2%;
    top: 14%;
}

/* cart empty */
.woocommerce-cart.woocommerce-page .productsCont {
    display: unset;
    max-width: 1272px;
    margin: auto;
    float: none;
    .cart-empty {
        text-align: center;
    }
    .cart-empty.woocommerce-info {
        border: 1px solid #0083f6;
        background-color: transparent;
        color: #575757;
        font-size: 1rem;
        text-align: center;
    }
    .return-to-shop {
        text-align: center;
        a {
            background-color: #0089ff !important;
            color: #fff;
            font-size: 1rem;
        }
    }
}
.woocommerce-notices-wrapper {
    .woocommerce-message {
        border: 1px solid #0083f6;
        background-color: transparent;
        color: #575757;
        font-size: 1rem;
        .button {
            background-color: #0089ff !important;
            color: #fff;
            margin-left: 20px;
            font-size: 1rem;
        }
    }
}
.woocommerce-product-gallery.images {
    float: left !important;
}
.single-product .images {
   // display: none !important;
}
.single-product .woocommerce-product-gallery.images.wpgs-wrapper {
    display: unset !important;
    float: left;
    width: 40%;
}
.single-product  .zoomtoo-container {
    display: flex;
    justify-content: center;
}
.single-product  .zoomtoo-container img {
    width: 300px;
    height: 234px;
}
.woocommerce-product-gallery__image  {
    &::before {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        border: 2px solid #000;
        border-radius: 100%;
        position: absolute;
        top: 9px;
        left: 9px;
        box-sizing: content-box;
    }
    &:after {
        content: "";
        display: block;
        width: 2px;
        height: 8px;
        background: #000;
        border-radius: 6px;
        position: absolute;
        top: 19px;
        left: 8px;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        box-sizing: content-box;
    }
}
.single-product-wrapper .summary.entry-summary {
    width: 60%;
    float: right;
}
.single-product-wrapper .images .woocommerce-product-gallery__image {
    //display: unset;

}
.single-product-wrapper .images .woocommerce-product-gallery__image {
    width: 90%;

}


#NagishLiBar {
    top: 8% !important;
}

.page-template-page-forms-and-declarations {
    .mediumLess {
        @media (max-width: 991px) {
            background-color: #f8f8f8;
        }
    }
}

/* Page training schedule*/
.page-training-schedule {
    .entry-content {
        font-size: 20px;
        color: #575757;
        line-height: 1.4;
        p {
            font-weight: 700;
            margin: 0 0 24px;
        }
    }
}
/*.single-product-wrapper .woocommerce-product-gallery {*/
/*    //display: none !important;*/
/*}*/

/*.woocommerce-product-gallery {*/
/*    float: left; !* מעביר את הגלריה לשמאל *!*/
/*    width: 40%; !* התאם את הרוחב לפי הצורך *!*/
/*    margin-right: 20px; !* הוסף מרווח מימין *!*/
/*}*/

/*.woocommerce-product-details {*/
/*    float: left; !* מעביר את פרטי המוצר לשמאל *!*/
/*    width: 50%; !* התאם את הרוחב לפי הצורך *!*/
/*}*/
