.ib {
    display: inline-block;
    vertical-align: top;
}

.clear {
    clear: both;
}
a, a:hover, a:active {
    color:  #212529;
    text-decoration: none;
}
.dn {
    display: none;
}
.h3, h3 {
    font-size: 1.00rem;
}
h2.subheader {
   /*color: #77d900;*/
   color: #6dc403;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}
h2 {
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}
#domain_name {
    width: 350px;
    max-width: 100%;
}
.content-image {
    max-width: 100%;
}
.content-image.vertical {
    max-width: 30%;
    display: inline-block;
}
.main-inner-container-wrap ul, .main-inner-container-wrap div, .main-inner-container-wrap p {
    width: 100%;
}
.btn-primary {
    color: #fff;
    background-color: #77d900;
   /* border-color: #069a25;*/
    border: 0;
    outline: none;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: #77d900;
    border-color: #069a25;
    outline: none;
}
#errorHelp.text-muted {
    color: #ff0000 !important;
    margin-bottom: 15px;
    margin-top: -10px;
    display: block;
}
#error-wrap {
    display: none;
}
#contact-msg {
    display: block;
    padding: 20px 0;
    font-weight: bold;
    color: #ff0000;
}
#contact-msg.success {
    color: #6dc403;
    text-align: center;
    background: #fff;
    padding: 40px 0;
}
.text-green {
    color: #6dc403!important;
}
#loading-info {
    display: none;
    width: 32px;
}
.form-control:focus {
    color: #495057;
    background-color: #f8fcf9;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}
#save-contact  {
    padding-bottom: 10px;
}
#save-contact:hover  {
    background: #3a3a3a;
    color: #fff;
}
#refresh-contact-captcha-link {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    margin-top: 7px;
    margin-left: 10px;
}
.referesh-contact-captcha {
    display: inline-block;
    vertical-align: top;
}
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}
.btn-primary.focus, .btn-primary:focus {
    box-shadow: none;
}
input.invalid, textarea.invalid {
    border: 1px #ff0000 solid;
}
.header {
    padding: 15px 0 25px 0;
    min-height: 75px;
    background: #fff;

}
/*---all forms-----*/
.input-form-wrap label {
    display: block;
}

.input-form-wrap input[type='text'], .input-form-wrap  textarea {
    width: 100%;
    box-sizing: border-box;
}

.info-ajax-msg {
    display: none;
}

.advantages-wrap, .includes-wrap, .modules-wrap  {
    color: #fff;
    background: url(../img/adv-bg.jpg) no-repeat top center;
    background-size: cover;
    min-height: 600px;
    width: 100%;
}
.includes-wrap {
    background: url(../img/adv2.jpg) no-repeat top center;
    background-size: cover;
    min-height: 400px;

}

.modules-wrap {
    background: url(../img/bg3.jpg) no-repeat top center;
    background-size: cover;
}
.advantages-wrap.inner-page {
    min-height: 200px;
}
.advantages-wrap p {
    color: #c8c7c7;
}
.adv1 {
    padding-bottom: 30px;
}
.mainp-big{
    font-size: 40px;
    color: #77d900;
  /*  color: #00ff36;*/
   /* color: #c b5bff;*/

  /*  color: #04a3ff;*/
   /* color: #50ace6;0fdaff*/
}
.innerP {
    padding: 60px 0 70px 0;
}
.inner-c {
    background: #f4f4f4;
}

.order-form-wrap {
    background: #e6e6e6;
}
.help-you, .cmsdiff-wrap {
   padding-top: 30px;
}
.modules-desc {
    padding: 30px 0;
}
.advantages-wrap h1, .order-form-wrap h2 {
    text-align: center;
    width: 100%;
    padding-bottom: 30px;
    padding-top: 50px;
}

.order-form-wrap h2 {
    padding-bottom: 20px;
}
/*-----------------------------
     Footer
-------------------------------*/
.footer-wrap {
    background: #3a3a3a;
    color: #e6e6e6;
}
.footer-wrap nav li a {
    display: inline-block;
    margin: 0 5px;
    padding: 4px 10px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.footer-nav {
    text-align: right;
}

.footer-wrap nav li.active a {
    color: #77d900;
}

    /* to the top */
.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(46, 46, 46, 0.8) url(../img/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0.6;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.visible {
    visibility: visible;
}
.cd-top:hover {
    opacity: 1;
    background: rgba(46, 46, 46, 0.9) url(../img/cd-top-arrow.svg) no-repeat center 50%;
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

/*-----------------------------
    5. Navigation
-------------------------------*/
.navbar-expand-lg .navbar-collapse {
    position: relative;
    height: 90px;
}
.navbar-expand-lg .navbar-collapse  {
    height: auto;
    text-align: center;
    padding-bottom: 30px;
}


nav li {
    display: inline-block;
}
#navigation {
    margin-top: 30px;
    margin-right: -15px;
}

#navigation li a {
    display: inline-block;
    margin: 0 5px;
    padding: 4px 10px;
    text-transform: uppercase;
    font-size: 14px;
   /* color: #313131;*/
    font-weight: bold;

}
.navbar {
    background: #fff;
    min-height: 105px;
    /*min-height: 75px;*/
    padding: 0;
   /* border-bottom: 1px #0b2e13 solid;*/

    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);

}

.navbar-toggler {
    color: #313131;
    font-size: 30px;
    border: 0;
    outline: none;
}

.navbar-toggler:focus {
    outline: none;
    color: #313131;
}

.navbar-nav li a {
    display: block;
    color: #313131;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    margin: 0 1px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 14px 16px;
}

.logo img {
    width:330px;
    margin-top: -10px;
}

#navigation.navbar-nav li a:hover, .navbar-nav li.active a {
    background-color: #fd022b;
   /* background-color: #b430f2;*/
   /* background-color: #d60add;*/
    color: #fff;
    transition: all 0.5s ease-out;
}

#navigation.navbar-nav li.active .dropdown-menu a {
    background-color: #00ff36;
}

.navbar-nav li a .icon {
    display: none;
}
.back-link-wrap {
    text-align: center;
    margin: 40px 0 0  0;
}
.back-link {
    background-color: #77d900;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 6px 20px;
    text-transform: uppercase;
    font-size: 14px;
    margin: 20px auto;
}

.back-link:hover {
    background-color: #3a3a3a;
    color: #fff;
}

/* lang selector */

.top-contact {
    position: absolute;
    right: 0;
    top: 10px;
}
.top-contact .email, .top-contact .phone {
    margin-right: 13px;
}
.top-contact .email a i,
.top-contact .phone a i {
    color: #fd022b;
}
.site-languages {
    text-align: right;
}
.lang-selector {
    width: 30px;
    height: 18px;
    margin-left: 5px;
}
.lang-icon {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    border: #ccc 1px solid;
    width: 24px;
    height: 18px;
  /*  line-height: 1em;*/
}
.lang-selector.selected {
    opacity: 0.5;
}
.flag-icon-ru{background-image:url(../flags/4x3/ru.svg)}
.flag-icon-lv{background-image:url(../flags/4x3/lv.svg)}
.flag-icon-en{background-image:url(../flags/4x3/gb.svg)}
/*-----------------------------
     Breadcrumbs
-------------------------------*/
.breadcrumbs {
    display: block;
    padding-bottom: 30px;
    text-align: left;
}
.breadcrumbs ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.breadcrumbs ul li {
    display: inline-block;
    margin-right: 10px;

}
.breadcrumbs ul li a {
    padding-left: 10px;
    color: #313131;
    opacity: 0.5;
}
.breadcrumbs ul li i {
    opacity: 0.5;
}
.breadcrumbs ul li a:first-child {
    padding-left: 0;
}
.breadcrumbs ul li a:hover {
    opacity: 1;
}

/*-----------------------------
     Portfolio
-------------------------------*/
.portfolio-min-block img {
    width: 100%;
}
.portfolio-min-block {
    position: relative;
}
.page-images {
    text-align: center;
}
.page-images a {
    margin: 10px 0;
    display: block;
}
.page-images a img {
    max-width: 800px;
}
/*
.portfolio-item {
   text-align: center;
}
.portfolio-item h2 {
    text-align: center;
}*/
.portfolio-item img {
    margin: 0 auto;
}
.portfolio-more {
    text-align: center;
    margin-top: 30px;
}
#navigation-services {
   margin-bottom: 150px;
    margin-top: 30px;
}
#navigation-services img {
    width: 100%;
}
#navigation-services a .serv-text, .portfolio-min-block .portfolio-name {
    background: #3a3a3a;
    padding: 10px;
    transition: all 0.5s ease-out;
    min-height: 70px;
    margin:  0 0 30px 0;
    color: #e6e6e6;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-min-block .portfolio-name {
    min-height: 40px;
}

#navigation-services .serv-item:hover a .serv-text  {
    background:  #fd022b;
}

  .portfolio-min-block:hover .portfolio-name{
    background:  #fd022b;
}
#navigation-services .serv-item:hover img {
    opacity: 0.8;
}

.portfolio-min-block:hover img {
    opacity: 0.9;
}

.footer-wrap nav li a:hover  {
    color:  #fd022b;
}
ul {
    list-style-image: url(../img/blt2.png);
}
ul.dark {
    list-style-image: url(../img/blt5.png);
}
ul li {
   margin-bottom: 10px;
}
.navbar-collapse ul li {
    padding-top: 5px;
}
.main-inner-container-wrap {
    background: #fff;
    padding: 10px 20px 30px 20px;
    border-top:  #fd022b 7px solid;
    box-sizing: border-box;
}
.contact-page-wrap div {
    padding: 10px 0;
}
.contact-page-wrap a i {
    color: #fd022b;
    padding-right: 5px;
}
.contact-page-wrap a:hover {
    color: #fd022b;
}
.top-contact .phone {
    font-weight: bold;
    font-size: 13px;
}
