a:hover{
  color: #7A6EF4!important;
  text-decoration: none;
      /*font-family: "Mont-Regular";*/
      /*font-family: 'Mont';*/
}
.green:hover{
background: #0D9666!important;
}
.purple:hover{
background: #524AAB!important;
}
.myicon {
color: #a1a8ba;
    font-size: 22px!important;
    border: 1px solid #a1a8ba;
    padding: 12px 0px;
    border-radius: 5px;
    max-width: 51px;
    width: 51px;
    height: 48px;
    margin: auto;
    text-align: center;
}
.myicon:hover {
      color: #7141F7;
      border-color: #7141F7;
}
.myicon:focus {
      color: #7141F7;
      border-color: #7141F7;
}
.topnav .item {
    /*font-family: "Mont-Regular"; */
    font-family: 'Mont';
}
#s1 .menu {

    text-align: center;
    display: grid;
    grid-template-columns: 64px 150px 150px 100px 100px 1fr;
    align-items: center;
    /*font-family: "Mont-SemiBold";*/
    font-family: 'Mont';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
        padding-top: 50px;
        padding-bottom: 100px;
    color: #435263;
}
#s1 .menu a{
  color: #435263;
}
#s1 .phone{
  text-align: right;
  /*font-family: "Mont-SemiBold";*/
  font-family: 'Mont';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
line-height: 24px;
}

#footer{
  background: #F7F9FA;
  min-height: 405px;
}
#footer .inner{
  max-width: 1170px;
  padding: 66px 0px 144px 0px;
  margin: 0 auto;
  display: grid;
    grid-template-columns: 26% 20% 35% auto;
}
#footer .col-1 {
  display: grid;
  grid-template-rows: 1fr auto auto;
}
#footer .logo{
margin-bottom: 17px;
}
#footer .phone{ 
margin-top: 28px;  
/*font-family: "Mont-SemiBold";*/
font-family: 'Mont';
font-style: normal;
font-weight: 600;
font-size: 24px;
line-height: 30px;
/* identical to box height, or 125% */
color: #000000;
}
#footer .menu{
  margin-top: 24px;
}
#footer .shapka{
  margin-bottom: 31px;
  margin-top: 0px;
    /*font-family: "Mont-Bold";*/
    font-family: 'Mont';
  font-weight: 800;  
}
#footer .menu a{
  /*font-family: "Mont-SemiBold";*/
  font-family: 'Mont';
  text-decoration: none;
  color: #000;
  font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 18px;
text-transform: uppercase;
color: #000000;
}
#footer .social{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 215px;
}
#footer .col-3 {
  display: grid;
  grid-template-rows: 30px 55% 1fr;
}

#footer .policy .item a{
  border-bottom: 1px solid #676666;
  /*font-family: "Mont-SemiBold";*/
  font-family: 'Mont';
font-style: normal;
font-weight: 600;
font-size: 12px;
line-height: 24px;
/* or 200% */
color: #676666;
}

#footer .company {
  font-style: normal;
font-weight: 600;
font-size: 12px;
line-height: 24px;
/* or 200% */
  /*font-family: "Mont-SemiBold";*/
  font-family: 'Mont';
color: #000000;
}
#footer .col-4 {
      display: grid;
    grid-template-rows: auto auto;
}
.topnav {
  display: none;
}

@media(max-width:1280px){
  #footer .inner {
    max-width: 1170px;
    padding: 66px 20px 144px 20px;
    margin: 0 auto;
    display: grid;
}

  #s1 .inner {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0px 20px;
} 
}
@media(max-width:980px){
  #s1 .inner {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0px 20px;
}  
 #footer .partner {
  display: none;
}  
}
@media(max-width:768px){

#footer .inner {
    max-width: 1170px;
    padding: 66px 20px 144px 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 50% 50%;
}
#footer .col-1 {
    display: block;
    grid-template-rows: auto auto auto;
}
}

/*collapse menu*/

.topnav {
  overflow: hidden;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  /*background-color: #ddd;*/
  color: black;
}

.topnav a.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
}
@media(max-width:768px){
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
        right: 10px;
    top: 10px;
    position: absolute;
  }
#s1 .menu {
  display: none;
}
 .topnav {
    overflow: hidden;
    color: black;
    display: block;
} 
#s1 .logo-m{
  width: 52px;
  margin-right: 33px; 
}
#s1 .phone {
    color: black;
    text-align: left;
    /*font-family: "Mont-SemiBold";*/
    font-family: 'Mont';
    font-style: normal;
    font-weight: 600;
    display: grid;
    grid-template-columns: 72px auto;
    align-items: center;
        font-size: 18px;
    line-height: 24px;
}

  .topnav.responsive {
    position: relative;
-moz-transition: opacity .3s, max-height .3s;
    -ms-transition: opacity .3s, max-height .3s;
    transition: opacity .3s, max-height .3s;
cursor: pointer;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 10px;
    top: 10px;
  }
 .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    color: #000;
}
}

@media screen and (max-width: 640px) {

 
  #footer{
    /*display: none;*/
  }
  #footer .inner {
    max-width: 1170px;
    padding: 29px 15px 49px 15px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
}
#footer .phone {
font-size: 16px;
line-height: 24px;
}
#footer .phone {
    font-size: 16px;
    line-height: 24px;
    display: inline-block;
    margin: 0 auto;
    padding: 0px 20px 20px 0px;
}
#footer .col-1 {
    display: block;
}
#footer .menu {
    margin-top: 0px;
    margin-bottom: 10px;
}
#footer .shapka {
    margin-bottom: 6px;
    margin-top: 0px;
    /*font-family: "Mont-Bold";*/
    font-family: 'Mont';
    font-weight: 800;
    grid-column: 1/3;
}
#footer .col-2{
      display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 15px 0px;
}
#footer .partner {
  display: none;
}
}

@media(max-width:440px){


.hide-d{
  display: block!important;
}
.hide-m{
  display: none!important;
}


#footer .policy {
      margin: 15px 0px;
}
#footer .company {
  max-width: 200px;
}
}
