/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/

/* ==========================================================================
 Base styles: opinionated defaults
 ========================================================================== */

@font-face {
  font-family: DroidSans;
  src: url(../font/KlK7B3C2.ttf);
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
* Remove text-shadow in selection highlight: h5bp.com/i
* These selection rule sets have to be separate.
* Customize the background color to match your design.
*/

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
* A better looking default horizontal rule
*/

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
* Remove the gap between images, videos, audio and canvas and the bottom of
* their containers: h5bp.com/i/440
*/

audio,
canvas,
img,
svg,
video {
  vertical-align: middle;
}

/*
* Remove default fieldset styles.
*/

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
* Allow only vertical resizing of textareas.
*/

textarea {
  resize: vertical;
}

/* ==========================================================================
 Browse Happy prompt
 ========================================================================== */

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
 Author's custom styles
 ========================================================================== */

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

@media screen and (max-width: 767px) {
    section.partners img.picture {
        width: 100%;
    }

    .menu-list a {
        float: none;
    }
}

@media screen and (min-width: 768px) {
    section.partners img.picture {
        width: 460px;
    }
}

@media screen and (min-width: 992px) {
    body > .header nav a {
      float: left;
    }
    body > .header nav a {
      display: inline-block;
    }
}

@media screen and (max-width: 992px) {
    .menu-list {
        display: none;
        overflow-y: scroll;
    }

    body > .header nav a {
      display: block;
    }
}



body {
  color: #172d38;
  font: 13px/20px DroidSans;
  padding-top: 85px;
}

a {
  color: #0894d8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ==========================================================================
  Header
  ========================================================================== */

body > .header {
  min-height: 70px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  padding-top: 15px;
  background-color: #fff;

  -webkit-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, .1);
     -moz-box-shadow: 0 8px 6px -6px rgba(0, 0, 0, .1);
          box-shadow: 0 8px 6px -6px rgba(0, 0, 0, .1);
}

body > .header .logo {
  display: inline-block;
  width: 195px;
  height: 46px;
  float: left;
  background-image: url(../img/Logo%20POS%20Technology.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
}


/*--------------
  Navigation
---------------*/

body > .header nav {
  float: right;
  margin-top: 3px;
}

body > .header nav a {
  color: #004389;
  padding: 10px 5px;
  text-decoration: none;
  border-radius: 4px;
}

body > .header nav a:hover,
body > .header .active {
  color: #fff;
  background-color: #1d8ca5;
}



/* ==========================================================================
  Subheader
  ========================================================================== */

.subheader {
  margin-bottom: 10px;
}

.subheader ul {
  vertical-align: middle;
  overflow: hidden;
}

.subheader ul li {
  float: left;
}

.subheader ul li + li {
  //margin-left: 40px;
}

.subheader .contact-phone {
  font-size: 1.571em;
}

.subheader .send-request .btn {
  width: 180px;
  height: 40px;
}





/* ==========================================================================
  Content sections
  ========================================================================== */

section {
    margin-bottom: 40px;
    overflow: hidden;
}

section .title {
  margin: 0;
  font-weight: normal;
  color: #fff;
  font-size: 2em;
  padding: 15px 20px;
  text-transform: uppercase;
  background-color: #004389;
  border-radius: 2px;
}

section .content {
  padding: 0 19px;
  position: relative;
}

section .well {
  color: #fff;
  background-color: #1e8da6;
  font-weight: normal;
  padding: 25px 0;
  margin: 0;
  text-align: center;
  font-size: 1.846em; /* 24px */
}


/*--------------
  About company
---------------*/

.about-company .intro {
  width: 700px;
}

.about-company ul {
  overflow: hidden;
  margin-bottom: 35px !important;
}

.about-company ul li {
  margin-top: 20px;
  padding: 0 10px;
  border-left: 5px solid #1e8da6;
}



.about-company ul {
  width: 100%;
  display:block;
}

.about-company ul li, .partners ul li {
  width: 100%;
  float:left;
}


@media (min-width: 768px) and (max-width: 991px) {
    .about-company ul li, .partners ul li  {
      width: 50%;
    }
}

@media (min-width: 970px) {

}


/*----------------------
  Decision and products
------------------------*/

.decision-and-products .promo {
  float: right!important;
}


/*----------------------
  Products
------------------------*/

.products table td {
  width: 50%;
}

.products table td .description {
  font-size: 16px;
}

.products .content h3 {
  color: #004389;
  text-transform: uppercase;
}

.products .request {
  margin: 50px 0 60px 0 ;
  display: inline-block;
  width: 225px;
  height: 45px;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  background-color: #168098;
  border-radius: 3px;
  line-height: 45px;
  text-align: center;
  text-decoration: none;
}

.products .parameters {
  margin: 0 0 0 12px;
  padding: 0;
  list-style: none;
  
}

.products h5 {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.products .product-item {
}

.products .product-item span {
  display: block;
  height: 60px;
}

.products .product-item .picture {
    height: 250px;
    line-height: 250px;
}

.products .product-item .picture img {
    max-width: 100%;
    max-height: 240px;
    vertical-align: middle;
}

.products .product-item .add_pic_block {
    /*margin-top: -80px;*/
}
.products .product-item .add.picture {
    height: 70px;
    line-height: 70px;
    border: 1px solid #EDEDED;
}

.products .product-item .add.picture img {
    max-width: 100%;
    max-height: 70px;
    vertical-align: middle;
}
.products .product-item .price{
    font-size: 16px;
    font-weight: bold;
    color: #f07279;
}

.products .product-item .name{
    font-size: 16px;
    color: #000;
}


.products .all {
  position: relative;
  margin: 30px 0 30px 0;
  display: inline-block;
  border-bottom: 2px dashed #004389;
  color: #004389;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.products .all .icon {
  position: absolute;
  width: 17px;
  height: 17px;
  top: 3px;
  right: -25px;
}

.products .all .icon.more {
  background-image: url(../img/more.png);
}

.products .all .icon.less {
  background-image: url(../img/less.png);
}

.products .request.terminal {
  margin-bottom: 135px;
}

.products .parameters.secondk {
  margin: 0 0 0 75px;
}

.products table.caharacteristics {
  width: 100%;
}

.products table.caharacteristics thead {
  background-color: #E2E2E2;
  font-size: 16px;
  font-weight: 800;
}

.products table.caharacteristics thead tr {
  height: 30px;
}

.products table.caharacteristics tr td {
  padding:0 20px 0 20px;
  height: 30px;
}


.products table.caharacteristics tbody tr {
  border-bottom: 1px solid #C4C7CA;
}

.products table.caharacteristics tbody tr:last-child {
  border-bottom: none;
}

.products table.caharacteristics tr td:nth-child(2n) {
  width: 30%;
}


/*----------------------
  Software
------------------------*/

.software table {
  width: 100%;
}

.software table thead {
  background-color: #E2E2E2;
}

.software table tr td {
  padding:0 20px 0 20px;
  height: 30px;
}

.software table tr {
  border-bottom: 1px solid #C4C7CA;
}

.software table tr:last-child {
  border-bottom: none;
}

.software table thead td {
  font-size: 16px;
  font-weight: bold;
  width: 30%;
}

.software .request {
  margin: 25px 0 25px 0 ;
  display: inline-block;
  width: 252px;
  height: 45px;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  background-color: #168098;
  border-radius: 3px;
  line-height: 45px;
  text-align: center;
  text-decoration: none;
}


/*----------------------
  Partners
------------------------*/


.partners .part {
  font-size: 18px;
}

.partners .content h3 {
  font-size: 18px;
  text-transform: uppercase;
}




/*----------------------
  Dillers
------------------------*/

.dillers table {
  width: 100%;
  margin: 20px 0 20px 0;
}

.dillers table tr td {
  width: 33%;
}


/*----------------------
  Support
------------------------*/

.support table {
  width: 100%
}

.support  h3 {
  font-size: 18px;
  margin-top: 35px;
  text-transform: uppercase;
}


.support  a {
  height: 23px;
  padding-left: 25px;
  background-repeat: no-repeat;
  background-position: 0 , 0;

}

.support a.pdf{
  background-image: url(../img/icon-pdf.png);
}

.support a.doc{
  background-image: url(../img/icon-doc.png);
}

.support a.rar{
  background-image: url(../img/icon-rar.png);
}


.support a {
  color: #0894D8;
  display: inline-block;
}

.support span {
  color: #0894D8;
  border-bottom: 1px dashed #0894D8;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

/**news**/
#carousel-news {
      margin-top: 15px;
}

/* ==========================================================================
  Contacts
  ========================================================================== */

.contacts .social-groups {
  position: absolute;
  right: 30px;
  top: 6px;
}

.contacts .social-groups li {
  float: left;
}

.contacts a[class*="icon-"] {
  width: 48px;
  height: 48px;
  display: inline-block;
  background-repeat: no-repeat;
}

.contacts .icon-fb {
  background-image: url(../img/socials/facebook.png);
}

.contacts .icon-google-plus {
  background-image: url(../img/socials/google_plus.png);
}

.contacts .icon-linkedin {
  background-image: url(../img/socials/linkedin.png);
}

.contacts .icon-twitter {
  background-image: url(../img/socials/twitter.png);
}

.contacts .icon-vk {
  background-image: url(../img/socials/vk.png);
}

.contacts .icon-ok {
  background-image: url(../img/socials/ok.png);
}

.contacts .icon-youtube {
  background-image: url(../img/socials/youtube.png);
}

/* ==========================================================================
  Modal
  ========================================================================== */

.modal {
  display: none;
  width: 370px;
  height: 550px;
  padding: 30px;
  position: relative;
  background-color: #fff;
}

.modal .heading {
  color: #004389;
  text-transform: uppercase;
  font-size: 1.846em;
  margin: 0;
}

.modal li {
  margin-top: 15px;
}

.modal label {
  display: block;
  cursor: pointer;
  color: #172d38;
  font-size: 1.385em; /* 18px */
  margin-bottom: 5px;
}

.modal input {
  height: 40px;
}

.modal input,
.modal textarea {
  width: 100%;
  padding-left: 10px;
  border: 1px solid rgba(0, 0, 0, .1);

  -webkit-box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, .1);
          box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, .1);

} 

section.contacts .content {
    margin-top: 30px;
}


/*--------------
  Close
---------------*/

.modal .close {
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: #fff;
  background-color: #e2e2e2;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  text-align: center;
}

/* ==========================================================================
   Effects
   ========================================================================== */

.fade {
  opacity: .8;

  -webkit-transition: opacity .3s ease-out;
     -moz-transition: opacity .3s ease-out;
       -o-transition: opacity .3s ease-out;
          transition: opacity .3s ease-out;
}

.fade:hover {
  opacity: 1;
}

/* ==========================================================================
 Helper classes
 ========================================================================== */

/*
* Hide from both screenreaders and browsers: h5bp.com/u
*/

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
* Hide only visually, but have it available for screenreaders: h5bp.com/v
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
* Extends the .visuallyhidden class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
* Hide visually and from screenreaders, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}


ul.unstyled,
ol.unstyled {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.focused {
  font-size: 1.286em; /* 18px */
}

.centered {
  text-align: center;
}

.no-select {
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */

  /* No support for these yet, use at own risk */
  -o-user-select: none;
  user-select: none;
}

/* ----- Navbar lang ----- */

.navbar-lang {
  position: absolute;
  top: 12px;
  right: 0;
}

a[class^="navbar-lang-"] {
  width: 24px;
  height: 18px;
  display: inline-block!important;
  background-repeat: no-repeat;
}

.navbar-lang-ru {
  background-image: url(../img/navbar-lang-ru.png);
}

.navbar-lang-en {
  background-image: url(../img/navbar-lang-en.png);
}

/* ==========================================================================
 EXAMPLE Media Queries for Responsive Design.
 These examples override the primary ('mobile first') styles.
 Modify as content requires.
 ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
     (-o-min-device-pixel-ratio: 5/4),
     (-webkit-min-device-pixel-ratio: 1.25),
     (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
 Print styles.
 Inlined to avoid required HTTP connection: h5bp.com/r
 ========================================================================== */

@media print {
  * {
      background: transparent !important;
      color: #000 !important; /* Black prints faster: h5bp.com/s */
      box-shadow: none !important;
      text-shadow: none !important;
  }

  a,
  a:visited {
      text-decoration: underline;
  }

  a[href]:after {
      content: " (" attr(href) ")";
  }

  abbr[title]:after {
      content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */

  a[href^="javascript:"]:after,
  a[href^="#"]:after {
      content: "";
  }

  pre,
  blockquote {
      border: 1px solid #999;
      page-break-inside: avoid;
  }

  thead {
      display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
      page-break-inside: avoid;
  }

  img {
      max-width: 100% !important;
  }

  p,
  h2,
  h3 {
      orphans: 3;
      widows: 3;
  }

  h2,
  h3 {
      page-break-after: avoid;
  }
}
