* {
  box-sizing: border-box;
}



body {
  margin: 0;
  font-family: Releway;
}




.phone, .mail,  {
  text-decoration: none;
  color:#03485C;
  font-weight: 700;
}

.a-practice  {
  text-decoration: none;
  color: #03485C;
}


.a-advocate {
  text-decoration: none;
  color:#03485C;
  font-weight: 700;
}

.a-contacts {
  text-decoration: none;
  color:#03485C;
  font-weight: 700;
}

.a-mobile{
  text-decoration: none;
  color:#03485C;
  font-weight: 700;
  font-size: 20px;
}

.a-mobile-a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 17px;
  
}

.logo {
  width: 350px;
  align-items: center;
  margin: 0 auto;
  padding-top: 15px;
  padding-bottom: 15px;
}


.container-wide-0 {
  margin-bottom: 3px;
}




.container-wide {
  width: 700px;
  padding: 0 15px;
  margin: 0 auto;
}


.row {
  display: flex;
}

.space-between {
  justify-content: space-between;
}


.nav {
  font-weight: 400;
  
}

.nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style-type: none;
}


.nav li {
  margin-left: 70px;
}

.nav a {
   color: #03485C;
   text-decoration: none;
   font-size: 17px;
   transition: color 0.3s ease-in;
} 

.nav a:hover {
  color: #0B9CC7;
  border-bottom: 1px solid #0B9CC7;
  }



  .nav-button { 
    position: relative;
    z-index: 9;
    display: none;
    border: none;
    padding: 0;
    height: 25px;
    background: none;
    cursor: pointer;
}

.nav-button-icon {
position: relative;
display: block;
  background-color: #0B9CC7;
  width: 35px;
  height: 5px; 
  border: none; 
  cursor: pointer;
  margin-top: 35px;
}


.nav-button-icon::before {
    position: absolute;
    left: 0;
    top: -10px;
    content: "";
    display: block;
    background-color: #0B9CC7;
    width: 35px;
    height: 5px; 
  }


  .nav-button-icon::after {
    position: absolute;
    left: 0;
    bottom: -10px;
    content: "";
    display: block;
    background-color: #0B9CC7;
    width: 35px;
    height: 5px; 
    
  }


  .nav-button-close .nav-button-icon {
    background-color: transparent;
  }

  .nav-button-close .nav-button-icon::before {
    transform: rotate(45deg);
    top: 0;
    height: 2.5px;
    background-color: #fff;
  }

  .nav-button-close .nav-button-icon::after {
    transform: rotate(-45deg);
    top: 0;
    height: 2.5px;
    background-color: #fff;


    
  }

.mobile-nav {
  display: none;
  top:0;
  right: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color:#03485C;
  padding: 30px 5px 5px 5px;
  text-align: center;
  overflow: auto;
}



.mobile-nav .nav {
  display: block;
  width: 100%;
}


.mobile-nav .nav ul {
  flex-direction: column;
 
}

.mobile-nav .nav ul li {
  margin: 0;
  margin-bottom: 1px;
}

.mobile-nav .nav a {
  color: white;
  font-size: 20px;
}


.mobile-nav .nav a:hover {
  color: #0B9CC7;
  border-bottom: 1px solid #033849;
  }
  
  

  h5, h6 {
    color: #0B9CC7;
    font-size: 15px;
  }


  .button-main-bg {
    
    margin: 0 auto;
    
    border-radius:40px ;
    width:250px;
    height: auto;
    color: white;
    background-color:#0B9CC7;
    transition: 0.2s;
    cursor: pointer;
  }

  .button-main-bg:hover {
    transform: scale(1.05);
    background-color:#03485C;
  }

h3 {
  font-size: 14px;
}

.conteiner-main-mobile {
  display: none;
  text-align: center;
}

.cont-mainpg-mobile {
  background-color: #0B9CC7;
  color:white;
}

.text1-mobile, .text2-mobile {
color: #0B9CC7;
font-size: 17px;


}


.row-mobile {
  display:flex;
}

.space-between-mobile {
  flex-direction: column;
}




  .conteiner-main-1 {
    width: 950px;
  padding: 0 15px;
  margin: 0 auto;
  background-color: #ffffff;

  }


  .mainpict {
    margin-top: 0px;
    margin-bottom: 0px;

  }


  .mainpsct-img {
    width: 400px;  
    }




  .never-give-up-1, .never-give-up-2 {
    padding-top: 90px;
   margin-top: 30px;
    margin-bottom: 30px;
    display: block;
    width: 250px;
    text-align: center;
  }
  .never-give-up-2 {
    padding-top: 170px;
  }

.text-1, .text-2 {
  font-size: 17px;
  color: #0B9CC7;
}


  .conteiner-btn {
    padding-top: 10px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  

  .aboutme-container {
    background-color: #0B9CC7;
    display: flex;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 50px;
}

.aboutme {
    width: 80%;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
   
}

.aboutme-img {
    width: 30%;
    max-width: 500px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
}

.mw-30pr {
    max-width: 90%;
    transition: 0.5s;
}

.mw-30pr:hover {
    transform: scale(0.95);

}

.aboutme-main{
  padding-top: 40px;
    max-width: 100%;
    
    text-align: center;
    background-color: #0B9CC7;
    font-size: 20px;
    font-weight: 700;
    color: white;
   
}


.aboutme-main-mobile {
  display: none;
  max-width: 100%;
  text-align: center;
  background-color: #0B9CC7;
  color: white;
  padding-top: 30px;
  font-size: 20px;
  font-weight: 700;
}

.aboutme-container-mobile {
  display: none;
  background-color: #0B9CC7;
  padding-bottom: 50px;
  width: 100%;
}

.aboutme-mobile {
  width: 100%;
  padding: 5px;
}
  
.aboutme-img-mobile {
  display: none;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow: hidden;
}

.text-bottom-img {
  margin-top: 0px;
    }

.mw-30pr-mobile {
  width: 260px;
  transition: 0.5s;
}

.mw-30pr-mobile-text {
  text-decoration: none;
  color: white;
}



.practice-main-mobile {
  display: none;
  max-width: 100%;
  margin-top: px;
  text-align: center;
  background-color: white;
  color: rgb(38, 141, 196);
  margin-top: 35px;
  font-size: 20px;
  font-weight: 700;
}



.practice-container-mobile {
    display: none;
    background-color: #ffffff;
    padding-top: px;
    padding-bottom: 50px;
    width: 100%;
  }


  .practiece-img-mobile {
    display: none;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
  }

  .w-30pr-mobile-text-blue {
    color:#0B9CC7;
  }




  .practice-main {
    max-width: 100%;
    text-align: center;
    background-color: #fefefe;
    font-size: 20px;
    font-weight: 700;
    padding-top: 50px;
    color:#03485C;

}


.practice {
    width: 80%;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;

}

.practice-container {
    padding-top: 5px ;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
}




.practice-img {
    width: 25%;
    max-width: 500px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.mw-25pr {
    max-width: 90%;
    transition: 0.5s;
   
   
}

.mw-25pr:hover {
    transform: scale(1.05);

}




.contacts-main-mobile {
  display: none;
  max-width: 100%;
  text-align: center;
  background-color: #0B9CC7;
  color: white;
  padding-top: 30px;
  font-size: 20px;
  font-weight: 700;
}

.contacts-container-mobile {
  display: none;
  background-color: #0B9CC7;
  padding-bottom: 50px;
  width: 100%;
}

.contacts-mobile {
  
  width: 100%;
  padding: 5px;
}
  
.contacts-img-mobile {
  display: none;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow: hidden;
}




footer {
  width: 100%;
  height: auto;
  background-color: #03485C;
  margin: 0 auto;
  text-align: center;
  padding-top: 25px;
  padding-bottom: 25px;
  
}

footer a {
  color: white;
  font-size: 14px;
  margin-left: 10px;
}

footer p {
  color: white;
  font-size: 11px;
  text-align: center;
  padding-left: 15px;
}

footer nav a:hover {
border-bottom: 1px solid white;  

}

.logo-footer {
  padding-top: 5px;
  padding-bottom: 5px;
  max-width: 20%;
  min-width: 300px;
 display: flex;
 text-align: center;
 margin: auto;
}

.logoimg-footer {
  padding-top: 10px;
  max-width: 90%;
  box-sizing: border-box;
}


.social img {
  margin-bottom: 10px;
  text-align: center;
  max-width: 170px;
}


.socialicon {
  width: 35px;
 }

.social img:hover {
border-radius: 15%;
}


.contacts-main {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background-color:#0B9CC7;
  color: white;
  height: 50px;
  padding-top: 30px;
  font-size: 20px;
  font-weight: 700;
}


.contacts-container {
  display: flex;
  justify-content: center;
  background-color:#0B9CC7;

  
}
  
.contacts {
  width: 80%;
  padding: 5px;
  display: flex;
  background-color:#0B9CC7;
  justify-content: space-between;
  text-align: center;
  flex-wrap: wrap;
}
  
.contacts-img {
  width: 25%;
  max-width: 500px;
  padding-top: 30px;
  padding-bottom: 20px;
}

.mw-20pr {
  max-width: 90%;
  transition: 0.5s;
}




  /* indexabouteme */

  .conteiner-btn-ame {
    padding-top: 10px;
    text-align: center;
    margin: 0 auto;
    padding-bottom:10px ;
   

  }


  .button-main-bg-ame{
    margin: 0 auto;
    border-radius:40px ;
    width:250px;
    height: auto;
    color: white;
    background-color:#0B9CC7;
    transition: 0.2s;
    cursor: pointer;
  }

  .button-main-bg-ame:hover {
    transform: scale(1.05);
    background-color:#03485C;
  }

 /* education */

 .education-main-mobile {
  background-color:#0B9CC7;
  text-align:center;
  width: 100%;
  height: 50px;
  padding-top: 15px;
  display: none;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
 }


 .education-main {
  background-color:#0B9CC7;
  text-align:center;
  width: 100%;
  height: 50px;
  padding-top: 15px;
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 5px;

 }
 
 .education-container-mobile {
  background-color:#0B9CC7;
  display: none;
 }


 .education-container {
  background-color:#0B9CC7;
  display: flex;
  justify-content: center;
  height: 380px;
 }


 .education-inf-mobile {
  padding-top: 10px;
  padding-bottom: 10px;
  flex-direction: column;
  background-color:#0B9CC7;
  text-align: center;
  color: #fff;
  font-size: 17px;
  display: none;
 }


 .education-inf {
  padding-top: 50px;
  width: 300px;
  background-color:#0B9CC7;
  text-align: center;
  color: #fff;
  font-size: 17px;
  display: inline-block;
  text-align: center;
 }


 .education-inf-1, .education-inf-2  {
  padding-top: 100px;
  width: 300px;
  background-color:#0B9CC7;
  text-align: center;
  color: #fff;
  font-size: 17px;
  display: inline-block;
  text-align: center;
  
 
 }

  /* expirience */


 .expirience-inf-1,  .expirience-inf-2 {
  padding-top: 30px;
  width: 300px;
  background-color:#0B9CC7;
  text-align: center;
  color: #fff;
  font-size: 17px;
  display: inline-block;
  text-align: center;
 }


/*  ahivements */

.ahivements-inf-1, .ahivements-inf-2 {
  padding-top: 40px;
  width: 330px;
  background-color:#0B9CC7;
  text-align: center;
  color: #fff;
  font-size: 17px;
  display: inline-block;
  text-align: center;
  
}
 
.ahivements-container {
  background-color:#0B9CC7;
  display: flex;
  justify-content: center;
  height: 500px;
 }


 .ahivements-inf {
  padding-top: 120px;
  width: 300px;
  background-color:#0B9CC7;
  text-align: center;
  color: #fff;
  font-size: 17px;
  display: inline-block;
  text-align: center;
 }

/*  practice */

.practice-main-pr {
  max-width: 100%;
  text-align: center;
  background-color:#0B9CC7;
  font-size: 20px;
  font-weight: 700;
  margin-top: 30px;
  color:white;
  display: block;
}


.practice-main-mobile-pr {
  display: none;
  max-width: 100%;
  margin-top: px;
  text-align: center;
  background-color:#0B9CC7;
  color: white;
  padding-bottom: 2px;
  font-size: 20px;
  font-weight: 700;
}


.conteiner-btn-pr {
  padding-top: px;
  text-align: center;
  margin-bottom: 50px;
}

/*  practice property-protection */

.conteiner-btn-pr-pp  {
  margin-top: 15px;
  padding-top: px;
  text-align: center;
  margin-bottom: 15px;
}


.practice-pp-main {
  background-color:#0B9CC7;
  text-align:center;
  width: 100%;
  height: 50px;
  padding-top: 15px;
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 5px;
 }


 .practice-pp-main-mobile-pr {
  display: none;
  max-width: 100%;
  margin-top: px;
  text-align: center;
  background-color:#0B9CC7;
  color: white;
  padding-bottom: 2px;
  font-size: 20px;
  font-weight: 700;
}

.practice-pp-inf-mobile {
  padding-top: 10px;
  padding-bottom: 10px;
  flex-direction: column;
  background-color:white;
  text-align: center;
  color:#03485C;
  font-size: 17px;
  display: none;
 }


 .practice-pp-container {
  background-color:white;
  display: flex;
  justify-content: center;
  height: 550px;
 }

 .practice-pp-inf-1, .practice-pp-inf-2 {
  padding-top: 40px;
  width: 330px;
  background-color:#fff;
  text-align: center;
  color:#03485C;
  font-size: 17px;
  display: inline-block;
  text-align: center;
  
}
.practice-pp-inf {
  padding-top: 150px;
  width: 300px;
  background-color:white
  text-align: center;
  color: #03485C;
  font-size: 17px;
  display: inline-block;
  text-align: center;
}

.practice-expirience-mobile {
  background-color:#0B9CC7;
  color: white;
  width: 100%;
  display: none;
}

.practice-expirience {
  background-color: #0B9CC7;
  color: #fff;
  border-radius: 10px;
}

/*  practice сrime */

.practice-crime-container {
  background-color:white;
  display: flex;
  justify-content: center;
  height: 450px;
}

.practice-crime-inf {
  padding-top: 120px;
  width: 300px;
  background-color:white
  text-align: center;
  color: #03485C;
  font-size: 17px;
  display: inline-block;
  text-align: center;
}


/*  practice juctice */

.practice-juctice-container {
  background-color:white;
  display: flex;
  justify-content: center;
  height: 670px;
}






  
.pop_up {
display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top:0;
  background-color:#03495cad;
  z-index: 2;

}

.pop_up.active {
  display: block;
}

.pop_up_container {
  display: flex;
  width: 100%;
  height: 100%;

}

.pop_up_body {
  margin: auto;
  width: 400px;
  
  background-color: #0B9CC7;
  border-radius: 10px;
  text-align: center;
  padding: 100px 15px 110px 15px;
  position: relative;
}


.pop_up_body p {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  

}

.pop_up_body input {
  display: block;
  margin: 25px auto 0px auto;
  width: 330px;
  padding: 15px 20px;
  border-color: #03485C;
  border-radius: 10px;
  border: none;
  font-size: 18px;
  font-weight: 500;


}

.pop_up_body input:focus {
  outline: none;
}

.pop_up_body button {
  cursor: pointer;
  display: block;
  width: 250px;
  margin: 30px auto 0px auto;
  padding: 20px 0;
  font-size: 17px;
  border: none;
  color: white;
  border-radius: 10px;
  background-color: #03485C;
}

.pop_up_close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}



/* romans css */


/* CSS-код для кнопки */
#open-modal-btn {
 margin: 0 auto;
    border-radius: 40px;
    width: 250px;
    height: auto;
    color: white;
    background-color: #0B9CC7;
    transition: 0.2s;
    cursor: pointer;
}
#open-modal-btn:hover
{
transform: scale(1.05);
background-color: #03485C;
}



/* CSS-код для модального окна */
.modal {
  display: none; /* скрываем модальное окно по умолчанию */
  position: fixed; /* фиксированная позиция */
  z-index: 1; /* на верхнем слое */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* добавляем прокрутку */
  background-color: rgba(0, 0, 0, 0.4); /* задаем полупрозрачный цвет фона */
  text-align: center;
}

.modal-content {
  margin: 5% auto; /* располагаем модальное окно по центру экрана */
  padding: 20px;
  border: 1px solid #888;
  width: 300px;
  background-color: #0B9CC7;
  border-radius: 10px;
}

.modal-content p{
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 50px 0 10px 0;
}

.modal-content input
{
    margin: 25px auto 0px auto;
    padding: 15px 20px;
    border-color: #03485C;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 500;
}



.modal-content button{
    cursor: pointer;
    display: block;
    width: 250px;
    margin: 30px auto 0px auto;
    padding: 20px 0;
    font-size: 17px;
    border: none;
    color: white;
    border-radius: 10px;
    background-color: #03485C;
}

/* CSS-код для кнопки закрытия модального окна */
.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.success_mess{
  font-size: 18px;
  font-weight: 700;
  color:#fff;
  margin: 20px 0;
}

/* romans css */
