body{
    background-color: rgb(247,247,247);
    margin: 0;
    padding: 0;
    font-family: "Arial Narrow", Arial, sans-serif, serif;
    text-align: center;
    
}

h1{
    font-size: 36px;
    font-family: Arial, serif, sans-serif;
}

h2{
    font-size: 32px;
    line-height: 38px;
    font-family: Arial;
}

hr{
    margin: 2px;
    padding: 0;
}

p{
    font-size: 14px;
    text-align: justify;
}

.simple_link{
    color: rgb(39,68,86);
}

.simple_link:focus{
    color: rgb(39,68,86);
}




/*Start of Nav Menu CSS Code*/
.nav{
    width: 100%;
    height: auto;
    margin: 0;
    background-color: #f7f7f7;
    text-align: center;
    color: #191e34;
    /*position: fixed;
    top: 0;
    left: 0; 
    z-index: 100;*/
    transition: top 0.3s ease-in-out;
    overflow: visible;
}

.nav nav{
    width: 1000px;
    max-width: 100%;
    position: relative;
    display: inline-block;
    height: 100%;
}

.nav_wrapper{
    display: grid;
    grid-template-columns: 150px auto 200px;
    position: relative;
    height: 100%;
    width: 100%;
    gap: 20px;
    padding-top: 10px;
}

.logo_wrap{
    height: 100%;
    display: flex;
    align-items: center;
}

.close_icon{
    display: none;
}

.m_logo{
    width: 100%;
}


.menu_wrap{
    height: 100%;
    display: flex;
    align-items: center;
}
    
.menu_container{
    width: 100%;
    text-align: center;
}

.nav_menu{
    display: inline-flex;
    align-items: top;
    height: auto;
    list-style-type: none;
    flex-direction: row;
    padding: 0;
    margin: 0;
    gap: 30px;
}

.nav_menu li{
    display: block;
    margin: 0;
}

.nav_menu a{
    font-size: 18px;
    text-decoration: none;
    color: #191e34;
    font-weight: bold;
    margin: 0;
}

.nav_menu a:visited{
    color: rgb(247,247,247);
}

.header_contacts{
    display: grid;
    grid-template-columns: 100%;
    margin-top: 10px;
    background-color: #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
}

.nav_wrapper .header_contacts{
    width: 200px;
    position: absolute;
    right: 0; 
}

.t_nav_wrapper .header_contacts{
    width: 80%;
    position: relative;
    left: 10%;
}


.header_contact_us{
    background-color: #303870;
    color: rgb(247,247,247);
    border-radius: 10px;
}

.header_contact_us p{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.t_nav_wrapper .header_contact_us p{
    font-size: 24px;
    font-family: Arial;
}


.t_nav_wrapper .header_contact_icon{
    width: 50px;
}

.header_contact_icon{
    width: 30px;
    padding: 5px;
}

.header_contacts a{
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #303870;
    text-decoration: none;
    padding-right: 10px;
}

.t_nav_menu li a{
    font-family: Arial;
}
.t_nav_wrapper .header_contacts a{
    font-size: 24px;
}

.t_nav_wrapper .header_contacts span{
    font-family: Arial;
}

.t_nav_wrapper{
    display: none;
}

.t_nav_wrapper .header_contact_us{
    background-color: rgb(247,247,247);
}

.t_nav_wrapper .header_contacts{
    background-color: rgb(247,247,247);
}

.t_nav_wrapper .header_contacts p{
    color: #303870;
}

a:visited{
    color: #303870 !important;
}
/*End of Nav Menu CSS Code*/

/*Start of Footer CSS Code*/
footer{
    width: 100%;
    display: grid;
    grid-template-columns: 64% 34%;
    gap: 2%;
    margin-top: 50px;
    margin-bottom: 50px;
}

.footer_part1{
    text-align: left;
}

.f_logo{
    width: 300px;
}

.footer_part1 h2{
    color: #31396b;
    margin-top: 10px;
    margin-bottom: 30px;
    font-family: Arial;
    font-size: 36px;
}

.footer_part1 p{
    color: #31396b;
    margin: 0;
    font-size: 18px;
    font-family: Arial;
    font-weight: bold;
}

.footer_icons{
    text-align: left;
}

.footer_icon{
    width: 40px;
    border-radius: 40px;
    margin: 5px;
}

/*End of Footer CSS Code*/

.main{
    margin-top: 60px;
    width: 100%;
    text-align: center;
    color: rgb(20,30,40);
}

.loaderContainer{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    display: none;
    align-items: center;
    background-color: rgba(240,240,240,0.5);
    z-index: 1000;
}

.loaderSection{
    text-align: center;
    width: 100%;
}

.loaderSection img{
    width: 64px;
    border-radius: 0.3em;
}


/*CSS Loader*/
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: #FFF #FFF transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #FF3D00 #FF3D00;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loader::before {
  width: 32px;
  height: 32px;
  border-color: #FFF #FFF transparent transparent;
  animation: rotation 1.5s linear infinite;
}


@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}



/*toast*/
    .toast-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 9999;
      text-align: left;
    }

    .toast {
      background-color: #333;
      color: #fff;
      padding: 12px 20px;
      margin-bottom: 10px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      opacity: 0;
      transform: translateX(100%);
      transition: all 0.4s ease;
      font-family: "Segoe UI", sans-serif;
      min-width: 220px;
      text-align: left;
      max-width: 90%;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(0);
    }

    .toast.hide {
      opacity: 0;
      transform: translateX(100%);
    }



.main_container{
    width: 1000px;
    max-width: 100%;
    display: inline-block;
    text-align: left;
}

.breadcrumbs ul{
    list-style-type: none;
    padding-left: 15px;
}

.breadcrumbs ul li{
    display: inline-block;
    color: rgb(39,68,86);
    border-left: 1px solid rgb(39,68,86);
    padding-left: 5px;
    font-size: 14px;
}

.breadcrumbs ul li:nth-child(1){
    border-left: 0;
}

.breadcrumbs a{
    color: rgb(39,68,86);
    text-decoration: none;
}

.breadcrumbs a:focus{
    color: rgb(39,68,86);
}

.discussion_form{
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    background-color: #31396b;
    text-align: center;
}

.dc_form_container{
    width: 65%;
    display: inline-block;
}

.discussion_form h2{
    font-family: "Arial Narrow", Arial, serif, sans-serif;
    color: rgb(247,247,247);
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.text_input_container{
    width: 100%;
    display: grid;
    grid-template-columns: 49% 49%;
    gap: 2%;
    margin-top: 20px;
}

.text_input_container input{
    font-size: 18px;
    background-color: rgb(247,247,247);
    font-weight: bold;
    color: #999999;
    padding: 10px;
    text-align: left;
    border: 0;
    border-radius: 10px;
    font-family: "Arial Narrow";
}

.dc_form textarea{
    width: 100%;
    font-size: 18px;
    background-color: rgb(247,247,247);
    color: #999999;
    font-weight: bold;
    padding: 10px;
    text-align: left;
    border: 0;
    border-radius: 10px;
    margin-top: 20px;
    font-family: "Arial Narrow";
    resize: none;
}

.dc_form textarea::placeholder{
    color: #999999;
    font-size: 18px;
}

.dc_form input[type="submit"]{
    border: 2px solid rgb(247,247,247);
    color: rgb(247,247,247);
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    width: auto;
    border-radius: 10px;
    background-color: #31396b;
    font-family: "Arial Narrow";
    margin-top: 10px;
}

.footer_nav{
    list-style-type: none;
    text-align: right;
}

.footer_nav li{
    display: block;
    margin-bottom: 12px;
}

.footer_nav li a{
    text-decoration: none;
    color: #31396b;
    font-weight: bold;
    font-family: Arial, serif;
    font-size: 22px;
}

@media screen and (max-width: 1100px) {
    .nav_menu{
        gap: 20px;
    }
}

@media screen and (max-width: 1024px) {
    /*Start of Nav Menu CSS Code*/
    h1{
        font-size: 34px;
        font-family: Arial, serif, sans-serif;
    }
    
    h2{
        font-size: 30px;
        line-height: 34px;
        font-family: Arial;
    }

    .desktop{
        display: none;
    }
    
    .main_container{
        width: 90%;
    }
    
    .m_logo{
        height: 70px;
        width: auto;
    }
    
    .t_menu{
        width: 50px;
    }
    
    .t_menu img{
        width: 40px;
    }
    
    .t_nav_wrapper{
        display: block;
        /*grid-template-columns: 100px auto 30%;*/
        height: 70px;
        padding-left: 35px;
        padding-right: 35px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10000;
        background-color: rgb(247,247,247);
    }
    
    .t_logo_wrap, .t_nav_menu_wrap{
        display: inline-flex;
        align-items: center;
        height: 100%;
    }
    
    
    .t_nav_menu_wrap{
        float: left;
    }
    
    .t_logo_container{
        text-align: center;
    }
    
    
    .t_nav_menu_container{
        text-align: left;
    }
    
    .t_nav_menu_icons{
        display: flex;
        flex-direction: row;
        gap: 20px;
    }
    
    
    .t_menu_list{
        position: fixed;
        background-color: rgba(20,30,40,0.1);
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        display: none;
        z-index: 10000;
    }
    
    .t_menu_list_wrap{
        width: 400px;
        height: 100%;
        position: relative;
        background-color: rgb(247,247,247);
    }
    
    .t_menu_list_container{
        display: inline-grid;
        grid-template-rows: 100%;
        width: 80%;
        
    }
    
    .t_nav_menu{
        list-style-type: none;
        text-align: left;
        display: inline-block;
        width: 80%;
        position: relative;
        margin: 0;
        padding: 0;
        /*border-top: 1px solid rgb(39,68,86);*/
    }
    
    .t_nav_menu li{
        display: block;
        padding-top: 20px;
        padding-bottom:20px;
        border-bottom: 1px solid rgb(39,68,86);
    }
    
    .t_nav_menu a{
        font-size: 20px;
        font-weight: bold;
        text-decoration: none;
        color: rgb(39,68,86);
    }
    
    .t_nav_menu a:visited{
        color: rgb(39,68,86);
    }
    
    
    .footer_part1 h2{
        line-height: 40px;
    }
    /*End of Nav Menu CSS Code*/
}

@media screen and (max-width: 968px){
    .dc_form_container{
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    /*Start of Nav Menu CSS Code*/
    
    h1{ 
        font-size: 32px;
    }
    
    
    .t_subscribe_wrap span{
        margin-left: 5px;
        font-size: 12px;
    }
    
    .t_subscribe_wrap{
        padding: 4px;
    }
    
    .subscribe_icon{
        height: 18px;
    }
    
    .nav{
        height: 50px;
    }
    
    .main{
        margin-top: 50px;
    }

    .t_nav_wrapper{
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .m_logo{
        height: 70px;
        max-height: 100%;
        max-width: 80%;
    }
    
    .t_nav_menu_icons{
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
    
    .t_menu_list{
        top: 70px;
    }
    
    .t_menu img{
        width: 30px;
    }
    
    .dc_form_container{
        width: 100%;
    }
    /*End of Nav Menu CSS Code*/  
    
    
    .text_input_container input{
        font-size: 16px;
    }
    
    .dc_form textarea{
        font-size: 16px;
    }
    
    
    footer{
        grid-template-columns: 58% 40%;
        gap: 2%;
    }
    
    .f_logo{
        width: 70%;
    }
}

@media screen and (max-width: 630px){
    footer{
        grid-template-columns: 49% 49%;
        gap: 2%;
    }
    
    .social_networks{
        display: grid;
        grid-template-columns: 32% 32% 32%;
        grid-gap: 2%;
    }
    
    .social_networks img{
        width: 70%;
    }
    
    
    .footer_part1 h2{
        font-size: 26px;
        line-height: 32px;
    }
    
    .main{
        margin-top: 40px;
    }
    
}



@media screen and (max-device-width: 500px) {
    /*Start of Nav Menu CSS Code*/
    .t_menu_list_wrap{
        max-width: 100%;
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .footer_nav li a{
        font-size: 18px;
    }
    
    .footer_part1 h2{
        font-size: 22px;
        line-height: 26px;
        margin-bottom: 15px;
    }
    
    .text_input_container{
        grid-template-columns: 100%;
        gap: 20px;
    }
    
    .dc_form textarea{
        font-size: 18px;
    }
    
    .text_input_container input{
        font-size: 18px;
    }
    
    .main{
        margin-top: 30px;
    }
    /*End of Nav Menu CSS Code*/
}

@media screen and (max-width: 400px) {
    .footer_nav li a{
        font-size: 16px;
    }
    
    .footer_part1 h2{
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 10px;
    }
    
    .f_logo{
        width: 100%;
    }
    
    .main{
        margin-top: 20px;   
    }
    
}