/*
 Theme Name:     ITdesk
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         ITDesk
 Author URI:     https://www.itdesk.eu
 Template:       Divi
 Version:        1.0.0
*/

:root {
    --primary-color:#592A9B;
    --orange:#FFC31E;
    --dark: #2E2A4B;
    --black: #232323;
}

.et_pb_row {
    width:90%;
}

.centra {
    display: flex;
    justify-content: center;
    flex-direction: column;
   
}

.orange {
    color:var(--orange);
}

.headliner h2 {
    font-size:30px;
    font-weight:600;
    line-height:1.1;
    padding-bottom:0;
    color:#ffffff;
}

.headliner h2 strong {
    font-weight:800;
    color:var(--orange);
}

.title h1 {
    font-size:50px;
    font-weight:800;
    line-height:1.1;
}

@media only screen and (max-width:767px) {
    .headliner h2 {
        font-size:24px;
       
    }

    .centra {
        
        height:100%;
    }
}

/* menu */

#menu-top nav ul li a {
    font-size:20px;
    font-weight:600;
    color:var(--black);
}

#slide-menu nav ul li a {
    font-size:20px;
    font-weight:600;
    color:#ffffff;
    transition: all .3s;
}

#slide-menu nav ul li a:hover {
   transform: translateX(10px);
}

#slide-menu nav ul {
    display: flex;
    flex-direction: column;
}

#slide-menu nav ul li {
    padding-bottom:20px;
}


.slide-in-menu-container {
    /* -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px); */
    background-color: var(--primary-color);
}
  
   #slide-in-open{
    cursor: pointer;
    }
     
.line{
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--black);
    border-radius: 9px;
    opacity: 1;
    -webkit-transition: .1s ease-in-out;
    -moz-transition: .1s ease-in-out;
    -o-transition: .1s ease-in-out;
    transition: .1s ease-in-out;
    }
     
.line-2 {
    top: 10px;
    }
     
.line-3 {
    top: 20px;
    }
     
#slide-in-open.open .line-1 {
    top: 10px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    background-color:#ffffff;
    }

.has_et_pb_sticky #slide-in-open.open .line-1,
.has_et_pb_sticky #slide-in-open.open .line-3 {
   
    background-color:#232323;
    }

/* .has_et_pb_sticky #global-header #slide-in-open.open .line-1,
.has_et_pb_sticky #global-header #slide-in-open.open .line-3 {
       
     background-color:#ffffff;
}
      */
#slide-in-open.open .line-2 {
    display: none;
    }
     
#slide-in-open.open .line-3 {
    top: 10px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background-color:#ffffff;
    }
     
.slide-in-menu {
    right: 0 !important;
    opacity: 1 !important;
    }
     
.slide-in-menu-container {
    -webkit-transition: all 0.5s ease !important;
    -moz-transition: all 0.5s ease !important;
    -o-transition: all 0.5s ease !important;
    -ms-transition: all 0.5s ease !important;
    transition: all 0.5s ease !important;
    }
  
  .right-menu {
    display:flex;
    gap:20px;
    justify-content:flex-end;
  }
  
  .opis-hamburger {
    font-size:20px;
    font-weight:600;
    color:var(--black);
  }
  
  .open .opis-hamburger {
    display:none;
  }

  @media only screen and (max-width:1140px) {
    #menu-top nav ul li a {
        font-size:16px;
       
    }
    
    #slide-menu nav ul li a {
        font-size:16px;
       
    }

    .opis-hamburger {
        font-size:16px;
      
      }
  }

  @media only screen and (max-width:980px) {
  

    #menu-top .et_mobile_nav_menu {
        display: none;
    }

    #menu-bar {
        display:flex;
        justify-content: space-between;
    }

    #slide-menu.et_pb_menu .et_pb_menu__menu {
        display: flex;
        justify-content: flex-start;
    }

    #slide-menu.et_pb_menu .et_pb_menu__wrap {
       
        justify-content: flex-start;
    }

    #slide-menu .et_mobile_nav_menu {
        display:none;
    }
  }

/* end menu */


/* hero */

#hero h1 {
    font-size:50px;
    font-weight:500;
    line-height:1.4;
   
}

#hero h1 strong {
    font-weight:800;
}

#hero h2 {
    font-size:50px;
    font-weight:700;
    line-height:1.3;
}

@media only screen and (max-width:1440px) {
    #hero h1 {
        font-size:40px;
           
    }

    #hero h2 {
        font-size:40px;
    }
}

@media only screen and (max-width:1240px) {
    #hero .hero-pasek {
        padding-right:10%!important;
    }
}

@media only screen and (max-width:1140px) {
    #hero h1 {
        font-size:34px;
           
    }

    #hero h2 {
        font-size:34px;
    }
}

@media only screen and (max-width:479px) {
    #hero h1 {
        font-size:26px;
           
    }

    #hero h2 {
        font-size:26px;
        padding-bottom:0;
    }
}

/* end hero */

/* news */

#home-news article {
    overflow: visible;
}

.polecane-news .et_pb_blog_grid article {
    padding:0;
}

#home-news article .et_pb_image_container {
    padding:16px;
    border-radius:14px;
    margin-bottom:0;
}

#home-news article .entry-featured-image-url {
    margin-bottom:20px;
}

#home-news article .entry-featured-image-url img {
    border-radius:14px;
}

.polecane-news article .entry-featured-image-url img {
    border-radius:14px;
}

#home-news article .entry-title {
    font-size:20px;
    font-weight:600;
    color:#ffffff;
}

.polecane-news article .entry-title {
    font-size:28px;
    font-weight:600!important;
    
}

#home-news article .post-meta {
    font-size:12px;
    color:#f7f7f7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight:500;
    margin-bottom:20px;
}

.polecane-news article .post-meta {
    font-size:12px!important;
    color:#f7f7f7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight:500;
    margin-bottom:20px;
}

#home-news article .post-meta a{
    color:var(--orange);
}

#home-news article .post-content-inner p {
    color:#ffffff;
}

#home-news article .post-content-inner {
    margin-bottom:30px;
}

#home-news article .post-content {
    position:relative;
}

#home-news article .more-link {
    background-color: var(--orange);
    position: absolute;
    left:0;
    padding:10px 40px;;
    border-radius:30px;
    font-size:14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight:600;
    width:80%;
    margin-left:10%;
    text-align: center;
    transition: all .3s;
}

#home-news article .more-link:hover {
    transform: scale(1.1);
}


#home-news .pagination {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width:100%;
}

#home-news .pagination .alignleft a {
    margin-left:-80px;
    color:transparent;
}

#home-news .pagination .alignright a {
    margin-right:-80px;
    color:transparent;
}

#home-news .pagination .alignleft a:before {
    content: '<';
    font-family: ETmodules !important;
    font-weight: 400 !important;
    color: #592a9b;
    font-size: 46px;
}

#home-news .pagination .alignright a:after {
    content: '=';
    font-family: ETmodules !important;
    font-weight: 400 !important;
    color: #592a9b;
    font-size: 46px;
}

@media only screen and (max-width:1440px) {
    #home-news .pagination .alignleft a {
        margin-left:-60px;
        color:transparent;
    }
    
    #home-news .pagination .alignright a {
        margin-right:-60px;
        color:transparent;
    }
}

@media only screen and (max-width:980px) {
    #home-news .pagination .alignleft a {
        margin-left:-40px;
       
    }
    
    #home-news .pagination .alignright a {
        margin-right:-40px;
      
    }

    #home-news .pagination .alignleft a:before {
        font-size:36px;
    }

    #home-news .pagination .alignright a:after {
        font-size:36px;
    }
}

@media only screen and (max-width:767px) {
    #home-news .pagination {
        position: relative;
        transform: none;
        margin-top:50px;
    }

    #home-news .pagination .alignleft a {
        margin-left:0;
        color:var(--primary-color);
       
    }
    
    #home-news .pagination .alignright a {
        margin-right:0;
        color:var(--primary-color);
    }

    #home-news .pagination .alignleft a:before {
        display:none;
    }

    #home-news .pagination .alignright a:after {
        display:none;
    }
}

/* end news */



