/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

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

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

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

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

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

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

textarea {
    resize: none;
}

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


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

body {
  font-family: "Open Sans", "Arial", sans-serif;
}

h2 {
  margin: 0;
  padding: 3em 0 2em;
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.02em;
}
/* ============================== MAIN ICONS ================================  */

.sprite {
  background: url(../img/icons/other-icons/main-icons-sprite.png) no-repeat;
  display: inline-block;
}

.sprite-icon-search {
  width: 21px;
  height: 21px;
  background-position: -10px -10px;
}

.sprite-icon-about_us {
  width: 25px;
  height: 24px;
  background-position: -51px -10px;
}

.sprite-icon-address-big {
  width: 19px;
  height: 25px;
  background-position: -96px -10px;
}

.sprite-icon-address-small {
  width: 14px;
  height: 14px;
  background-position: -135px -10px;
}

.sprite-icon-behance {
  width: 20px;
  height: 17px;
  background-position: -165px -5px;
}

.sprite-icon-facebook {
  width: 8px;
  height: 17px;
  background-position: -205px -10px;
}

.sprite-icon-left {
  width: 9px;
  height: 12px;
  background-position: -233px -10px;
}

.sprite-icon-linkedin {
  width: 17px;
  height: 17px;
  background-position: -262px -10px;
}

.sprite-icon-mail {
  width: 11px;
  height: 11px;
  background-position: -299px -10px;
}

.sprite-icon-phone {
  width: 11px;
  height: 11px;
  background-position: -330px -10px;
}

.sprite-icon-quote {
  width: 26px;
  height: 20px;
  background-position: -361px -10px;
}

.sprite-icon-right {
  width: 9px;
  height: 12px;
  background-position: -233px -10px;
  background-position: -407px -10px;
}


.team-member-soc-btn {
  margin-right: 15px;
  display: inline-block;
  vertical-align: top;
  width: 46px;
  height: 46px;
  background: url("../img/icons/social-btns-sprite.png") no-repeat;}
.team-member-soc-btn.tw { background-position: -168px 0; }
.team-member-soc-btn.fb { background-position: -56px 0; }
.team-member-soc-btn.drib { background-position: 0 0; }
.team-member-soc-btn.pint { background-position: -112px 0; }

.social-link {
  margin-right: 16px;
  display: inline-block;
  vertical-align: top;
  font-size: 0;
  width: 40px;
  height: 40px;
  background: url("../img/icons/footer-socials-sprite.png") no-repeat;}
.social-link:last-child { margin-right: 0; }
.social-link-fb { background-position: 0 0; }
.social-link-tw { background-position: -60px 0; }
.social-link-in { background-position: -120px 0; }
.social-link-vm { background-position: -180px 0; }

/*  ========================================================================== */

.main-header {
  height: 785px;
  background: #121313 url(../img/main-header-image.jpg) no-repeat center;
  background-size: cover;
}

.main-container {
  margin: 0 auto;
  width: 1000px;
}

.main-header-top {
  padding: 60px 45px 25px;
  text-align: right;
  background-color: #ffffff;
}

.header-contacts {
  margin-left: 30px;
  margin-right: -4px;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

.header-contacts-title {
  margin: 0;
  padding: 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 14px;
  vertical-align: middle;
}

.header-contacts-title .sprite {
  padding-right: 5px;
  vertical-align: middle;
}

.header-contacts-content {
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-size: 13px;
  text-decoration: none;
  color: #000000;
}

#main-nav {
  position: absolute;
  top: 127px;
  width: inherit;
  wrap-option: nowrap;
  color: #ffffff;
  z-index: 999;
  background-color: #232020;
}

#main-nav.default {
  position: fixed;
  top: 0;
}

.horiz-nav {
  margin: 0;
  padding: 0;
  display: inline-block;
  list-style: none;
}
.horiz-nav li {
  display: inline-block;
  vertical-align: top;
  margin-right: -4px;
}
.main-nav-item {
  display: block;
  padding: 20px;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  -webkit-transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  -moz-transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.main-nav-item:hover {
  /*background-color: #3d3838;*/
  box-shadow: inset 0 -3px #f17398;
}

.main-nav-item:active {
  background-color: #574f4f;
  box-shadow: inset 0 -3px #f17398;
}
.main-nav-socials {
  margin-left: 70px;
}
.main-nav-icon {
  display: block;
  padding: 18px 6px;
  font-size: 0;
  text-decoration: none;
}

.main-nav-icon .sprite {
  display: inline-block;
  vertical-align: bottom;
  font-size: inherit;
}

.main-header-image-text {
  margin-top: 235px;
  padding: 20px;
  width: 420px;
  background-color: rgba(255, 255, 255, 0.8);
}

.image-text-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
}

.image-text-content {
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
}

*[class^="main-btn"] {
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  border: none;
  background-color: #f17398;
  box-shadow: 0 3px #db577e;
  -webkit-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  -moz-transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
*[class^="main-btn"]:hover {
  background-color: #d9688a;
  box-shadow: 0 3px #c24e70;
}

*[class^="main-btn"]:active {
  background-color: #bf5c7a;
  box-shadow: 0 3px #a84362;
}

.search-box {
  position: relative;
  padding-top: 40px;
}

.main-search {
  position: absolute;
  left: 0;
  top: -55px;
}

.main-search label,
.main-search input {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 55px;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}

.main-search label {
  margin-right: -4px;
  padding: 17px 0 12px;
  width: 55px;
  background: #000000;
}

.main-search input {
  padding: 15px 10px 14px;
  width: 260px;
  font-size: 17px;
  font-weight: 700;
  border: #232020;
  color: #ffffff;
  background: #232020;
}

.main-search input::-webkit-input-placeholder { color: #ffffff; }/* WebKit, Blink, Edge */
.main-search input:-moz-placeholder { color: #ffffff; opacity:  1; }/* Mozilla Firefox 4 to 18 */
.main-search input::-moz-placeholder { color: #ffffff; opacity:  1; }/* Mozilla Firefox 19+ */
.main-search input:-ms-input-placeholder { color: #ffffff; }/* Internet Explorer 10-11 */

.main-search input:focus {
  text-align: left;
  color: #000000;
  outline: none;
  background: #ffffff;
}

.advanced-search-item {
  margin-top: 5px;
  margin-left: 30px;
  margin-right: -4px;

  display: inline-block;
  vertical-align: bottom;
  width: 225px;
  height: 65px;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 25px;
  /*outline: 1px solid black;*/
}

.advanced-search-item legend {
  padding: 5px 0;
  font-weight: 600;
  color: #2f343a;
}

.advanced-search-item .select-box {
  height: 28px;
  color: #b3b3b3;
  border: 1px solid #b3b3b3;
  border-radius: 0;
  overflow: hidden;
  background: transparent url("../img/icons/select-arrow.png") no-repeat 100% 50%;
}

.select-box select {
  padding: 5px 10px;
  width: 110%;
  border: none;
  box-shadow: none;
  background-color: transparent;
}

.select-box select:focus,
.select-color input:focus {
  outline: none;
}

.select-color {
  width: 207px;
}

.select-color input {
  box-sizing: border-box;
  padding: 0 15px;
  width: 149px;
  height: 30px;
  border: 1px solid #b3b3b3;
}

.select-color .color-adjust-btn {
  margin-left: -1px;
  display: inline-block;
  vertical-align: top;
  width: 55px;
  height: 28px;
  text-align: center;
  font-family: "Open Sans", "Arial", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  color: #2f343a;
  border: 1px solid #b3b3b3;
  background-color: #f1f2f2;
}

.select-switch {
  width: 179px;
}

.select-switch input {
  display: none;
}

.select-switch label {
  margin-left: -1px;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  width: 90px;
  height: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #b3b3b3;
  border: 1px solid #b3b3b3;
}

.select-switch input:checked + label {
  color: #ffffff;
  background-color: #2f343a;
}

.main-btn-wide {
  vertical-align: top;
  margin: 40px -4px 0 30px;
  width: 252px;
  height: 30px;
  border: 0;
}

.page-description {
  text-align: center;
  letter-spacing: 1px;
}

.page-descr-title {
  margin-top: 100px;
  margin-bottom: 35px;
  font-weight: 300;
  font-size: 25px;
  line-height: 35px;
  letter-spacing: 0.02em;
}

.page-descr-content {
  margin: 0;
  padding: 0 30px;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.02em;
}

.recently {
  margin-bottom: 20px;
  text-align: right;
}

.recently-image {
  margin: 0 10px 0 0;
  position: relative;
  display: inline-block;
  vertical-align: top;
}

.recently-image-wrapper {
  display: inline-block;
  vertical-align: top;
}

.recently-image.hor-rect {
  margin-bottom: 10px;
  display: block;
}

.recently-image.small-square {
  margin-right: -2px;
  margin-bottom: 10px;
  display: block;
}

.recently-image figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 60px;
  text-align: left;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
}

.main-page-about {
  box-sizing: border-box;

  height: 495px;
  text-align: center;
  color: #ffffff;
  background: #3eaaf5 url(../img/box-about-image.jpg) no-repeat center;
  background-size: cover;
  box-shadow:
    inset 0 1000px rgba(0, 0, 0, 0.7),
    0 -6px rgba(238, 238, 238, 0.7);
}

.main-page-about-headline {
  margin: 0;
  padding: 120px 0 45px;
  font-size: 50px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.main-page-about-description {
  margin: 0;
  padding: 0 10px 50px;
  font-weight: 300;
  font-size: 18px;
  line-height: 35px;
  word-wrap: break-word;
  hyphens: auto;
}

.testimonial-item {
  box-sizing: border-box;
  position: relative;
  padding-left: 80px;
  display: inline-block;
  vertical-align: top;
  width: 495px;
}

.quote-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #cccccc url("../img/icons/other-icons/icon-quote.png") no-repeat center;
}

.quote-icon.male {
  background-color: #3eaaf5;
}

.quote-icon.female {
  background-color: #f17398;
}

.testimonial-content {
  padding-right: 10px;
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
  word-wrap: break-word;
  hyphens: auto;
}

.testimonial-author {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  line-height: 80px;
  text-transform: uppercase;
}

.testimonial-author-avatar {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #0e7ac3;
}

.male .testimonial-author-avatar {
  background: url("../img/customers/man-avatar.jpg") no-repeat center;
}

.female .testimonial-author-avatar {
  background: url("../img/customers/woman-avatar.jpg") no-repeat center;
}

/*||||||*||||||--$PON$ORS_$LIDER--||||||*||||||*/

.bx-pager-item {
  display: none;
}

#sponsors {
  position: relative;
}

.slider1 .slide{
  text-align: center;
}

.slider-nav a{
  position: absolute;
  display: block;
  bottom: 10px;
  font-size: 0;
  text-decoration: none;
  text-align: center;
  width: 30px;
  height: 30px;
  background: rgba(234, 234, 234, 0.75) url(../img/icons/other-icons/main-icons-sprite.png) no-repeat;
}



#slider-prev a{
  left: -30px;
  background-position: -223px 0;
}
#slider-next a{
  right: -30px;  
  background-position: -397px 0;
}



/*||||||*||||||--TEAM_MEMBERS--||||||*||||||*/
.team-members {
  margin-bottom: 160px;
}

.team-member-card {
  padding-right: 29px;
  display: inline-block;
  width: 314px;
}

.team-member-card:last-child {
  padding-right: 0;
}

.team-member-photo {
  margin-bottom: 20px;
  width: 314px;
  height: 195px;
}

.team-member-name {
  padding-bottom: 15px;
  font-size: 30px;
  font-weight: 600;
  line-height: 26px;
}

.team-member-spec {
  font-size: 18px;
  font-weight: 300;
  line-height: 36px;
}

.team-member-description {
  font-size: 15px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: 0.02em;
  word-wrap: break-word;
  hyphens: auto;
}

.team-member-social-contacts {
  margin-top: 40px;
  font-size: 0;
}

.main-map {
  height: 440px;
  background: #232020 url(../img/map-image.jpg) no-repeat center;
  background-size: cover;
  box-shadow: 0 -7px rgba(234, 234, 234, 0.75);
}

.main-page-contacts {
  font-family: "Open Sans", "Arial", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #0b0e11;
}

.main-page-contact-title {
  margin-top: 2em;
  margin-bottom: 1em;
  display: inline-block;
  vertical-align: top;
  font-size: 25px;
  font-weight: 300;
  line-height: 25px;
  color: #232020;
}

.main-page-contact-title.address {
  margin-top: 0;
}

.main-page-contact-item p{
  margin: 0;
}

.main-page-contact-title.address::before {
   content: '';
   display: inline-block;
   vertical-align: top;
   margin-right: 16px;
   width: 19px;
   height: 25px;
   background: url(../img/icons/other-icons/icon-address-big.png) no-repeat center;
 }

.main-page-contact-title.about-us::before {
  content: '';
  display: inline-block;
  vertical-align: top;
  margin-right: 16px;
  width: 25px;
  height: 24px;
  background: url(../img/icons/other-icons/icon-about_us.png) no-repeat center;
}

.main-page-contacts .left-side {
  display: inline-block;
  vertical-align: top;
  margin-right: 60px;
  width: 620px;
}

.main-page-contacts .right-side {
  display: inline-block;
  vertical-align: top;
  margin-right: -4px;
  width: 316px;
}

.left-side input,
.left-side textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 15px;
  padding: 10px 20px;
  border: none;
  background-color: rgba(248, 248, 248, 0.7);
}

.left-side input {
  width: 300px;
}

.left-side input[name="first-name"],
.left-side input[name="email"] {
  margin-right: 15px;
}

.left-side textarea {
  width: 100%;
}

.main-btn-big {
  width: 182px;
  height: 36px;
  font-size: 17px;
  font-weight: 700;
}

.contacts-table {
  display: table;
}

.contacts-trow {
  display: table-row;
  height: 20px;
}

.contacts-tcol {
  display: table-cell;
  font-weight: 300;
  font-size:17px;
}

.contacts-tcol:first-child {
  font-weight: 600;
  padding-right: 15px;
}

.main-footer {
  margin-top: 120px;
  height: 350px;
  text-align: center;
  color: #ffffff;
  background-color: #232020;
}

.social-links {
  padding-top: 135px;
  padding-bottom: 30px;
}












/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    thead {
        display: table-header-group;
    }

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

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

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

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