html{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.8;
   
}
a{
    text-decoration: none;
}

li{
    list-style: none;
}

i{
    margin: 0 10px;
    font-size: 1.2em;
}

i::before{
    padding-right: 10px;
}

i:hover{
    color: #cca876;
}

.main-conteiner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 10px;
}

.main-conteiner-page{
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0 10px;
}

.main-conteiner-gallery{
    max-width: 1550px;
    margin: 0 auto;
}

.flex-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}


#main-header {
/*     overflow: hidden; */
    background-color: #f1f1f1;
    padding: 10px 0 30px;
    transition: 0.4s;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
  }

#main-header_top{
    border-bottom: 1px solid #9f9f9f;
    margin-bottom: 10px;
}

#navbar a {
    float: left;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px; 
    line-height: 25px;
    border-radius: 4px;
}

#navbar #logo {
    font-size: 35px;
    font-weight: bold;
    transition: 0.4s;
}

.socseti{color: inherit;}

/*------------------- Page Style --------------------*/


h1.entry-title, .cart h2 {
    text-align: center;
    padding: 50px 0;
}

.site-main{
    padding-top: 120px;
}

.slider-page{
    margin-top: 200px;
}

.container{
    padding: 50px 0;
}

.box-img img{
    width: 350px;
    height: 245px;
    /* filter: brightness(100%) */
}

/* .box-img img:hover
{
    filter: brightness(65%);
    transition: 600ms;
} */

.box{
    position: relative;
    text-align: center;
    padding: 5px;
    border-color: #e5e7e9;
    cursor: pointer;
    margin-bottom: 20px;
}

.box::before{
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
}
.box::after{
    right: 0;
    bottom: 0;
    border-width: 0 1px 1px 0;
}
.box::before, .box::after{
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border-style: solid;
    transition: .33s all ease;
    border-color: #e5e7e9;
}
.box:hover:before, .box:hover::after{
    width: 100%;
    height: 100%;

}

.box-h2{
    /* position: absolute;
    top: 30%;
    left: 20%; */
}

.flex-row-main{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 50px;
}
.post-244 figure{text-align: center;}
.post-244 figure img{
    width: auto;
    height: 150px;
}

.nav-links{
	display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/*------------------------- Footer Style ----------------------*/

.site-footer{
    border-top: solid 1px #9f9f9f;
    margin-top: 80px;
}

.footer{
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.footer-menu{

}

.footer-menu-colum{
    min-width: 250px;
}

.footer-text{
    margin-top: 30px;
    text-align: center;
}

/*------------------Carbon Fields --------------------*/
.name{
    font-size: 11px;
    text-decoration: underline;
}

.block{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: center;
    border: solid 1px #000;
    border-radius: 10px;
    padding: 10px 0;
}
.block__image{text-align: center;}

.block__image img{
    height: 100%;
}

.block div:nth-child(2n){
    background-color: rgb(230, 228, 228);
}
.block div{
    padding: 10px 5px;
}

.block__heading{text-align: center;}
.block__massa select{
    line-height: inherit;
    padding: 0 5px;
}

/*------------------Shop Cart --------------------*/

.backet{
    background-image: url(../images/basket_big.jpg);
    background-repeat: no-repeat;
    width: 241px;
    height: 163px;
    margin: 0 auto;
    position: relative;
}

.backet-full{
    opacity: 0;
    transition: .8s;
}
.backet-full__active{
    opacity: 1;
}

.order-button{
    opacity: 0;
    transition: .8s;  
    text-align: center;
    padding: 20px 0;  
}
.order-button__active{
    opacity: 1;
}
.order-button button{
    border-radius: 7px;
    border: 1px solid;
    transition: background-color 0.3s;
}

.order-button button:hover{
    background-color: red;
    color: #fff;
}


.cart__count{
    position: absolute;
    background-image: url(../images/poddon.png);
    background-repeat: no-repeat;
    width: 150px;
    height: 110px;
    top: 24px;
    left: -5px;
}

.cart__count-number{
    position: absolute;
    top: 53px;
    left: 60px;
    font-size: 1.2em;
}



.cart-li{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid;
    padding: 10px 0;
}

.icofont-ui-delete{
    cursor: pointer;
}

.cart-li:hover{
    background-color: #f1f1f1;
}

#block-7 figure{
    text-align: center;
    padding: 30px 0 0;
}

.cart-btn{
    text-align: center;
    margin: 20px 0;
}

.cart-product{
    border-radius: 5px;
    border: 1px solid;
    transition: background-color 0.3s;
}

.cart-product:hover{
    background-color: red;
    color: #fff;
}

/*-------------------- Modal Window ------------------------*/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    text-align: right;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }


  .modal-content_main{
    display: flex;
    flex-direction: column;
  }
  
  .table-modal{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid;
    padding: 10px;
    justify-content: space-between;
  }

  .table-modal:hover{
    background-color: #f1f1f1;
  }

  .modal-backet{
    align-self: center;
  }

  .table-section{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .form-frame{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }

  .form-frame__name{
    min-width: 170px;
  }

  [type=submit]:not(:disabled){
    float: right;
  }

  /*------------------------ End Modal Window------------------------*/

  /*-----------------------------Contact--------------------------------*/

 

  .entry-content{position: relative;}

  .wp-block-atbs-tabs .atbs__tab-labels.left{
    position: absolute;
    bottom: 0px;
    background-color: #EEEEEE;
    width: 100%;
  }
 
  
  .atbs__tab-content{
    margin: 0 0 180px;
  }

  .atbs__tab-content .wp-block-image{
    position: absolute;
    bottom: 60px;
    width: 100%;
    background-color: #0853A6;
    padding: 0;
  }

  .atbs__tab-content .wp-block-image img{
    float: left;
  }

  .atbs__tab-label{
    font-size: 1.2em;
  }
  


  /*----------------------------End Contact-----------------------------*/
  /*----------------------------Flip form-----------------------------*/

  .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin-bottom: 3px;
}

  
  .accordion .active, .accordion:hover {
    background-color: #ccc; 
  }
  
  .panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
  }

  /*----------------------------End Flip form-----------------------------*/
  /*----------------------------Dictionary-----------------------------*/
  .dict-title{
      color: #e38000;
    }
    
    .main-colum-dict{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 50px;
    }

    .archive-news:not(:last-child) {
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 1px solid;
        padding-bottom: 10px;   
    }
    
    .dict-link{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    /*----------------------------End Flip form-----------------------------*/
    
    /*----------------------------News-----------------------------*/
    .archive-news .post-thumbnail img{
        width: 150px;
        height: 150px;
    }
    /*----------------------------End News-----------------------------*/


.conveythis-widget-languages span, .conveythis-widget-languages a {
	display: none;
}

@media (max-width: 600px){
    .top-socseti{
        display: none;
    }

    .slider-page{
        display: none;
    }

    .main-conteiner-page{
        padding: 200px 0 10px;
    }
}