









.dropdown-content {
    display: block;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    min-height:  270px;
    margin-left: -100px; 

    
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;

    border-radius:40px;

    border: 3px solid #602f93; 
}
#menu{
display: none;

}



.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}




.pc-menu input[type=checkbox]:checked ~ #menu{
display: block;

}

.kont:hover #menu{display: block;}

.dropdown-content .dropdown-button:hover {background-color: #c0c0c0; }

.dropdown-content .pict { margin-top: -6px;  }
.dropdown-content .imfam {font-size: 12px; margin-top: -36px; text-align: center;}
.dropdown-content .dropdown-button {font-size: 18px;}




.dropdown:hover .dropbtn {background-color: #3e8e41; }



.pc-menu .show-menu span{
padding-left: 30px;
}


.pc-menu input[type=checkbox]{
display: none;
}








    nav {
    padding-top: 80px;
    padding-bottom: 20px;
    margin-top: -60px ;

    margin-left:10%;
    margin-right:10%;
    
background-color: #fff; 
border-radius: 40px;
}


@media  (max-width: 1200px)  and (min-width: 1000px) {
    

  nav {
    padding-top: 80px;
    padding-bottom: 20px;
    margin-top: -60px ;

    margin-left:3%;
    margin-right:3%;
    
background-color: #fff; 
border-radius: 40px;
}

}


@media only  screen and (min-width: 1000px) {
    nav ul {
    
    padding-left:20%;
    padding-right:20%;
  
  list-style: none;
  position: relative;


  }





nav a
{
    display: block;
    color: black;
    
    text-decoration:none ;
    
      
}
.menu
{
    font-size: 12.5pt;
    margin-right:  40px;
    margin-left:  40px;
    margin-top: 22px;
    
}

.menuM
{display: none;}
.menum
{
    
    margin: 0;
   
    position: absolute;
    
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}


   


 
nav ul li:hover > ul {
    display:inherit;

}   


.logo
{  
    font-size: 30pt;
    font-family: 'ofont.ru_Myriad Pro r';
    padding-bottom: 2px;
   margin-left: -150px;
    color: #602f93;
    
        
}

.logo a {color: #602f93;} 


.kont
{      float: right;

         margin: 5px 0px ;
          margin-right:  -150px;


}


.kont:hover
{      
       background: #602f93;
        


}


.kont img {

  cursor: pointer;

}








  html, body {
    height: 100%;
   }
   body {
    display: flex;
    flex-direction: column;
   }
   .content {
    flex: 1 0 auto;
   }
   

ul li
{
 display: inline-block;
 
}







 


}



@media (min-width: 0px) and (max-width: 1000px) {
   

nav {

 padding-top: 30px;
    padding-bottom: 0px;
    
border-radius:0px;
}


    nav ul {
    
    padding-left:5%;
    padding-right:5%;
  
  list-style: none;
  position: relative;

  
   


  }


nav a
{
    display: block;
    color: black;
    
    text-decoration:none ;
    
      
}

   
.menuP
{display: none;}

 
   








html, body {
    height: 100%;
   }

body {
    display: flex;
    flex-direction: column;
   }

.content {
 flex: 1 0 auto;
}













 






.menuM .mobile-menu {
display:block;
width:100%;
background: #fff;
line-height: 0.8em;
font-weight: 300;
text-align:center;
position: relative;
margin:0 auto;
}

.menuM .nav li {
display:block;
float: left;

}

.nav
{background: #394551;
padding-top:  20px;

margin-top: 4px;

text-align:right;
float: right;



margin-left:   -20px;
}



nav a
{
    display: inline-block;
    
    
    text-decoration:none ;}


.menuM .nav li a {
display:block;


text-align: left;
color: #FFF;

padding:  18px 0px 18px 0PX;
border-radius: 40px;

font-size: 26px;
margin-left:     8px;
background: #394551;
text-decoration: none;

 text-align: center;

}

.menuM .nav li
{
padding:  6px 0px;

margin-top:  -20px;

margin-right: 10px;



background: #394551;

border-radius: 40px;




background: #C0C0C0;
}




.menuM .nav li:hover
{
border-radius: 40px;




background: #808080;

}

.menuM .nav li a:hover
{color:  #C0C0C0; }
.menuM .nav li a:active 
{color:  #808080; }




.mobile-menu .show-menu {
text-decoration: none;
color: #000;
background: #fff;
text-align: left;
padding: 20px 30px;

display: none;
cursor: pointer;

}

.mobile-menu .show-menu span{
padding-left: 30px;
}


.mobile-menu input[type=checkbox]{
display: none;
}


.mobile-menu input[type=checkbox]:checked ~ #menu{
display: block;

}



.mobile-menu .lines {
border-bottom: 18px double #602f93; 
border-top: 6px solid #602f93;
content:"";
height: 6px; 
width: 50px;
padding-right: 10px;
margin-top: -15px; 
margin-right: -10px;
float: right;
}

.mobile-menu ul {

display: none;
}

.mobile-menu li {
margin-bottom: 1px;
}

.nav ul li, .nav li a {
width: 100%;
}

.mobile-menu .show-menu {
display:block;
}







body
{  
    
    font-family: 'ofont.ru_Myriad Pro ';
    background-color: #19072C;
        
}


    .logoM
{  
    font-size: 38pt;
    font-family: 'ofont.ru_Myriad Pro r';
    padding-bottom: 30px;
   margin-left: -15px;
   margin-top: -15px;
    color: #602f93;
    
        
}

.logoM a {color: #602f93;} 




 


 
#side-checkbox {
    display: none;
}
.side-panel {

    border-radius: 20px;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: -400px;
    background: #6a5acd;
    transition: all 0.7s;   
    width: 350px;
    margin-left: -20px; 

    height: 200px;
    box-shadow: 10px 0 20px rgba(0,0,0,0.4);
    color: #FFF;
    padding: 40px 20px;
}
.side-title {
    font-size: 26px;
    margin-left:  20px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid #BFE2FF;
}


.side-buttonNav  {
    font-size: 32px;
    margin-left:  20px;
    padding-bottom: 10px;
    margin-top: 40px;
    color: #fff;
    

}




.side-buttonNav a {
   
    color: #BFE2FF;
    
}


.side-buttonNav a:hover {
   
    color: #fff;
    
}







/* Оформление кнопки на странице */
.side-button-1-wr {
    text-align: center; /* Контейнер для кнопки, чтобы было удобнее ее разместить */
}
.side-button-1 .side-b {
    margin: 10px;
    text-decoration: none;
    position: relative;
    font-size: 20px;
    line-height: 20px;
    padding: 12px 30px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase; 
    font-family: 'Roboto Condensed', Тahoma, sans-serif;
    background: #337AB7;
    cursor: pointer; 
    border: 2px solid #BFE2FF;
}
.side-button-1 .side-b:hover,
.side-button-1 .side-b:active,
.side-button-1 .side-b:focus {
    color: #FFF;
}
.side-button-1 .side-b:after,
.side-button-1 .side-b:before {
    position: absolute;
    height: 4px;
    left: 50%;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}
.side-button-1 .side-open:after,
.side-button-1 .side-open:before {
    background: green;
}
.side-button-1 .side-close:after,
.side-button-1 .side-close:before {
    background: red;
}
.side-button-1 .side-b:before {
    top: -6px;
}
.side-button-1 .side-b:hover:after,
.side-button-1 .side-b:hover:before {
    width: 100%;
    left: 0;
}
/* Переключатели кнопки 1 */
.side-button-1 .side-close {
    display: none;
}
#side-checkbox:checked + .side-panel + .side-button-1-wr .side-button-1 .side-open {
    display: none;
}
#side-checkbox:checked + .side-panel + .side-button-1-wr .side-button-1 .side-close {
    display: block;
}
#side-checkbox:checked + .side-panel {
    left: 0;
}
/* Оформление кнопки на панеле */
.side-button-2 {
    font-size: 30px;
    border-radius: 20px;
    position: absolute;
    z-index: 1;
    top: 8px;
    right: 8px;
    cursor: pointer;
    transform: rotate(45deg);
    color: #BFE2FF;    
    transition: all 280ms ease-in-out;    
}
.side-button-2:hover {
    transform: rotate(45deg) scale(1.1);    
    color: #FFF;
}


}