.menu * {
  width: max-content !important;
  display: block !important;
  transition: all 0.3s ease-in-out;
}

/* 1 — подчеркивание активного пункта */
.menu:hover .tn-atom, .menu.active .tn-atom {
  border-bottom: solid 2px #0077ba !important
}

/* 2 — цвет и прозрачность для активного пункта*/
.menu:hover .tn-atom a, .menu.active .tn-atom a {
  color: #0077ba !important;
  opacity: 0.3;
}

/* 3 — прозрачность неактивных пунктов меню */
.menu .tn-atom a {
  opacity: 1
}
.menu:hover .tn-atom a, .menu.active .tn-atom a {
  color: #0077ba !important;
  opacity: 1;
}
 

 
  .diagonal_swipe_left{
    overflow: hidden;
    z-index: 1;
    position: relative;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
       
   }
 
    .diagonal_swipe_left:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 0%;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    border-right: 50px solid transparent;
    border-bottom: 80px solid #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    z-index: -1;
}    

    .diagonal_swipe_left:hover {
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    color: #ffffff;
    z-index: 8;
}
    .diagonal_swipe_left:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
    
 
  .diagonal_swipe_left{
    overflow: hidden;
    z-index: 1;
    position: relative;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
       
   }
 
    .diagonal_swipe_left:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 0%;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    border-right: 50px solid transparent;
    border-bottom: 80px solid #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    z-index: -1;
}    

    .diagonal_swipe_left:hover {
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    color: #ffffff;
    z-index: 8;
}
    .diagonal_swipe_left:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
    .custom-a {
    font-size: 15px !important;
    color: #000000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
        opacity: .8;
        font-weight: 600;
    -webkit-transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
    font-family: 'Open Sans', Arial, sans-serif !important;
}
.uc-footer ul a {
    font-size: 15px !important;

     font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
    font-family: 'Open Sans', Arial, sans-serif !important;
}
.custom-a:focus, .custom-a:active {
    color: #0077ba !important;
    font-weight: 600 !important;
}
.custom-a:hover {
    color: #595959 !important;
}
.uc-footer ul a:hover {
   color: #0077ba !important;
    font-weight: 600 !important;
}
.uc-just{
    text-align:justify;
}
@media (min-width:900px) and (max-width:1366px) {
    .t821__imglogo {
    max-width: 200px !important;
    width: 200px !important;
    }
	.t821__rightwrapper
	{
	display: flex !important;
    align-items: center !important;

	}
	
	.t821__phone-container
	{
		display: flex !important;
	    padding-left:0px !important;
		padding-right:0px !important;
		width: 365px;
        justify-content: center !important;
        align-items: center !important;

	}
	.t821__adress-container
	{
		display: flex !important;
	    padding-left:10px !important;
		padding-right:20px !important;
    	align-items: center;


	}
	
	.t821__phone-container a
	{
		font-size: 20px !important;
	}
	
	.t821__btn-container {
		padding-left: 0px !important;
	 
	}
	.t821__btn-wrapper .t-btn_sm {
	padding-left: 15px;
    padding-right: 15px;
	}
	
	.t821__phone-container .t821__phone-icon {
    width: 35px;
    height: 35px;
	}
	
	.t821__adress-container span div{    
	font-size: 16px !important;
    line-height: 18px !important;
	    
	}
	#nav527840473 {
	    
	    height: 125px !important;
	}

}​
