a {
   color: $stm_base_color;
}
body.site_layout_17 {
   -webkit-text-size-adjust: 100%;
   -webkit-font-smoothing: antialiased;

   .button {
      &.btn_secondary.btn_outline {
	  padding-right: 53px;
	  padding-left: 20px;
	  border-color: $stm_secondary_color;
	  border-radius: 3px;
	  i {
	     margin-top: 1px;
	     color: $stm_secondary_color;
	     font-size: 18px;
	  }
	  &.icon_right {
	     i {
		 right: 15px;
	     }
	  }
	  &:hover {
	     color: #fff;
	     background-color: $stm_secondary_color;
	     i {
		 color: #fff;
	     }
	  }
      }
   }
   &.header_style_2 {
      #lang_sel {
	  float: right;
	  margin-left: 5px;
	  > ul {
	     > li {
		 .lang_sel_sel {
		    padding: 10px 1px 5px 24px;
		    font-size: 18px;
		    &:after {
			right: auto;
			left: 0;
		    }
		 }
		 > ul {
		    padding: 0;
		    left: auto;
		    right: 0;
		    li {
			font-size: 16px;
			a {
			   padding: 10px 20px 9px;
			}
		    }
		 }
	     }
	  }
      }
      .top_bar_info_wr {
	  float: left;
	  .top_bar_info_switcher {
	     float: left;
	     .active {
		 padding: 0px 15px 0px 42px;
		 font-size: 18px;
		 span {
		    display: block;
		    position: relative;
		    top: 0;
		    height: 40px;
		    line-height: 40px;
		 }
	     }
	     ul {
		 a {
		    font-size: 18px;
		 }
	     }
	  }
	  .top_bar_info {
	     padding: 13px 0 1px 0;
	     margin-left: 18px;
	     &:after {
		 height: inherit;
	     }
	     li {
		 display: block;
		 float: left;
		 padding: 0 16px 0 23px;
		 font-size: 18px;
		 line-height: 1.3;
		 letter-spacing: -0.2px;
		 i {
		    position: relative;
		    margin-left: 6px;
		    top: -3px;
		    font-size: 16px;
		    &.stm-email {
			font-size: 12px;
		    }
		    &.stm-location-2 {
			top: -5px;
			font-size: 17px;
		    }
		    &.stm-phone6 {
			transform: rotate(-95deg);
		    }
		 }
		 span {
		    opacity: 0.75;
		    @include transition();
		 }
		 &:hover {
		    span {
			opacity: 1;
		    }
		 }
	     }
	  }
      }
      .header_top {
	  .top_nav {
	     padding: 33px 0 31px;
	     .header_socials {
		 float: left;
		 margin: 14px 28px 0 0;
		 i.stm-cart-2 {
		    font-size: 16px;
		    &:before {
			content: "\e93a";
		    }
		 }
		 .cart_count {
		    .count {
			right: -13px;
			background: $stm_secondary_color;
			color: #fff !important;
			font-size: 10px;
		    }
		 }
	     }
	     .top_nav_wrapper {
		 >ul {
		    > li {
			&.current_page_item {
			   > a {
			      position: relative;
			      color: $stm_base_color;
			      &:after {
				  opacity: 1;
			      }
			   }
			}
			> a {
			   font-size: 18px;
			   font-weight: 900;
			   &:after {
			      content: '';
			      position: absolute;
			      bottom: 3px;
			      left: 16px;
			      right: 16px;
			      height: 2px;
			      background-color: $stm_secondary_color;
			      opacity: 0;
			      @include transition();
			   }
			   &:hover:after {
			      opacity: 1;
			   }
			}
			ul {
			   li {
			      a {
				  font-size: 16px;
				  font-weight: 900;
			      }
			   }
			}
		    }
		 }
	     }
	  }
      }
   }
   #footer {
      .footer_widgets {
	  .widget{
	     .textwidget {
		 color: rgba(255,255,255,0.5);
		 font-size: 18px;
		 .button {
		    margin-top: 45px;
		 }
	     }
	     .tp_recent_tweets li {
		 &:before {
		    color: rgba(255,255,255,0.5);
		 }
		 span {
		    color: rgba(255,255,255,0.5);
		    font-size: 16px;
		 }
		 .twitter_time {
		    display: none;
		 }
		 a {
		    color: #fff;
		    text-decoration: none !important;
		    &:hover {
			color: $stm_secondary_color;
		    }
		 }
	     }
	     &.widget_mc4wp_form_widget {
		 .widget_title {
		    margin-bottom: 25px;
		    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
		 }
		 form.mc4wp-form {
		    p {
			margin-bottom: 20px;
			opacity: 0.8;
			color: #fff;
			font-size: 18px;
		    }
		    .stm_newsletter_form {
			position: relative;
			.fa.fa-rss {
			   transform: rotate(-90deg);
			   transform-origin: 80% 65%;
			}
			label {
			   height: 39px;
			   line-height: 36px;
			   background-color: $stm_secondary_color;
			}
			.form-control {
			   padding: 11px 17px 7px 57px;
			   font-style: normal;
			   font-size: 16px;
			   line-height: 21px;
			   &:focus {
			      box-shadow: 0 0 0 2px $stm_secondary_color !important;
			   }
			}
			span {
			   display: block;
			   font-family: 'Mirza';
			   margin-top: 25px;
			   font-size: 18px;
			   color: #fff;
			}
		    }
		 }
	     }
	     &.widget_nav_menu {
		 ul {
		    li {
			a {
			   position: relative;
			   color: #fff;
			   font-size: 18px;
			   font-family: 'Mirza';
			   &:before {
			      content: '';
			      display: block;
			      position: absolute;
			      top: 50%;
			      right: 0;
			      margin-top: -3px;
			      width: 6px;
			      height: 6px;
			      border-radius: 1px;
			      transform: rotate(45deg);
			      background: $stm_third_color;
			   }
			}
		    }
		 }
	     }
	  }
      }
      &.style_2 .copyright_row .copyright_row_wr .copyright {
	  color: rgba(255,255,255,0.5);
	  opacity: 1;
	  font-size: 18px;
	  a {
	     color: $stm_third_color;
	     text-decoration: none !important;

	  }
      }
   }
   .vc_custom_heading {
      &.title_no_stripe {
	  h1, h2, h3, h4, h5, h6 {
	     &:after {
		 display: none;
	     }
	  }
      }
   }
   .icon_box {
      &.style_1.icon_top_transparent {
	  text-align: center;
	  p {
	     text-align: center;
	  }
	  .icon_text {
	     font-size: 18px;
	     line-height: 22px;
	     h4 {
		 font-weight: 900;
	     }
	  }
	  .icon {
	     margin-bottom: 0;
	  }
      }
   }
   .heading_font {
      font-family: 'Mada';
      text-decoration: none !important;
   }
   .vc_row[data-vc-full-width] {
      background-position: 50% 0;

   }
   .vc_general.vc_btn3.vc_btn3-style-classic {
      padding: 8.5px 45px 10.5px;
      background-color: $stm_base_color;
      font-family: 'Mada';
      color: $stm_third_color;
      font-size: 20px;
      &.vc_btn3-size-lg {
	  &.vc_btn3-icon-left {
	     padding-right: 25px;
	  }
      }
      &.vc_btn3-color-theme_style_2 {
	  background-color: $stm_third_color;
	  color: $stm_base_color;
	  i {
	     color: $stm_secondary_color !important;
	  }
	  &:hover {
	     background-color: $stm_base_color;
	     color: $stm_third_color;
	  }
      }
      &.vc_btn3-color-theme_style_3 {
	  i {
	     color: $stm_third_color !important;
	  }
	  &:hover {
	     i {
		 color: $stm_base_color !important;
	     }
	  }
      }
      &:hover {
	  background-color: $stm_third_color;
	  color: $stm_base_color;
      }
   }
   .stm_works_wr .stm_works_masonry_disabled {
      margin: 0 -15px;
      .item {
	  position: relative;
	  padding: 15px;
	  float: right;
	  &:hover {
	     > a {
		 &:after {
		    background: rgba(0,0,0,0.5);
		 }
	     }
	  }
	  > a {
	     display: block;
	     position: relative;
	     &:after {
		 content: '';
		 display: block;
		 position: absolute;
		 top: 0;
		 left: 0;
		 width: 100%;
		 height: 100%;
		 background: rgba(0,0,0,0);
		 @include transition();
	     }
	     &:before {
		 content: '';
		 display: block;
		 position: absolute;
		 top: 0;
		 left: 0;
		 width: 100%;
		 height: 100%;
		 background: rgba(0,0,0,0);
		 background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
		 background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.9)));
		 background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
		 background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
		 background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
		 background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
		 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
		 @include transition();
	     }
	  }
	  .info {
	     position: absolute;
	     bottom: 40px;
	     left: 0;
	     width: 100%;
	     padding: 0 45px 0 30px;
	     .title {
		 a {
		    font-size: 18px;
		    line-height: 24px;
		    font-weight: 900;
		    color: #fff;
		    text-decoration: none !important;
		    @include transition();
		    &:hover {
			color: $stm_secondary_color;
		    }
		 }
	     }
	     .category {
		 a {
		    color: #fff;
		    font-size: 18px;
		    text-decoration: none !important;
		    &:hover {
			color: $stm_third_color;
		    }
		    i {
			margin-right: 5px;
			color: $stm_third_color;
			font-size: 10px;
		    }
		 }
	     }
	     &.large {
		 .title {
		    font-size: 24px;
		    line-height: 30px;
		 }
		 .category {
		    a {
			color: #fff;
			font-size: 20px;
			&:hover {
			   color: $stm_third_color;
			}
			i {
			   margin-right: 5px;
			   color: $stm_third_color;
			   font-size: 10px;
			}
		    }
		 }
	     }
	  }
      }
   }
   .stm_l17_testimonials {
      .top_content {
	  position: relative;
	  padding-top: 44px;
	  min-height: 223px;
	  &:after {
	     content: '';
	     width: 40px;
	     margin: 40px auto 0;
	     height: 3px;
	     background: $stm_secondary_color;
	     display: block;
	  }
	  &:before {
	     font-family: 'stm';
	     speak: none;
	     font-style: normal;
	     font-weight: normal;
	     font-variant: normal;
	     text-transform: none;
	     line-height: 1;
	     -webkit-font-smoothing: antialiased;
	     -moz-osx-font-smoothing: grayscale;
	     position: absolute;
	     top: 0;
	     left: 50%;
	     margin-left: -12px;
	     font-size: 20px;
	     content: "\e953";
	     color: $stm_secondary_color;
	  }
	  .heading_font {
	     color: #404040;
	     font-size: 24px;
	     line-height: 36px;
	     p {
		 text-align: center;
	     }
	  }
	  .top_content_unit {
	     position: absolute;
	     top: 0;
	     opacity: 0;
	     visibility: hidden;
	     //@include transition();
	     p {
		 font-size: 22px;
		 line-height: 36px;
	     }
	     &.active {
		 position: static;
		 opacity: 1;
		 visibility: visible;
	     }
	  }
      }
      .stm_l17_pager {
	  margin: 0 -15px;
	  .pager_unit {
	     float: left;
	     width: 33.333%;
	     opacity: 0.5;
	     @include transition();
	     cursor: pointer;
	     &.active {
		 opacity: 1;
		 .image img {
		    transform: scale(1) !important;
		 }
	     }
	     .inner {
		 padding: 0 15px;
		 .image {
		    width: 90px;
		    margin-left: 20px;
		    float: right;
		    img {
			transform: scale(0.5);
			width: 100%;
			height: auto;
			border-radius: 50%;
			@include transition();
		    }
		 }
		 .info {
		    overflow: hidden;
		    .title {
			padding-top: 19px;
			font-size: 22px;
			line-height: 36px;
			font-weight: 400;
			color: $stm_base_color;
		    }
		 }
	     }
	  }
      }
      &.row-in-4 {
	  .pager_unit {
	     width: 25%;
	  }
      }
   }
   .vc_image_carousel_wr.grayscale img {
      @include transition();
      -webkit-filter: grayscale(100%);
      -moz-filter: grayscale(100%);
      -ms-filter: grayscale(100%);
      -o-filter: grayscale(100%);
      filter: grayscale(100%);
      opacity: 0.9;
      &:hover {
	  -webkit-filter: grayscale(0%);
	  -moz-filter: grayscale(0%);
	  -ms-filter: grayscale(0%);
	  -o-filter: grayscale(0%);
	  filter: grayscale(0%);
	  opacity: 1;
      }
   }
   .stm_news {
      .news_list {
	  li {
	     .post_inner {
		 position: relative;
		 min-height: 160px;
		 background: #fff;
		 h5 {
		    margin-bottom: 0;
		    &:before {
			display: none;
		    }
		    a {
			display: block;
			color: $stm_base_color;
			font-size: 20px;
			line-height: 24px;
			font-weight: 400;
			&:hover {
			   color: $stm_base_color;
			}
		    }
		 }
		 .image {
		    float: right;
		    width: 160px;
		    margin-bottom: 0;
		 }
		 .stm_news_unit-block {
		    padding: 20px 20px 44px 20px;
		    overflow: hidden;
		 }
		 .date {
		    position: absolute;
		    bottom: 22px;
		    font-size: 15px;
		    &:before {
			color: $stm_secondary_color;
			top: 0;
			left: 1px;
		    }
		 }
	     }
	  }
      }
   }
   .button.size-lg.icon_left {
      padding: 7px 25px 13px 49px !important;
      font-size: 20px;
      i {
	  left: 20px;
	  right: auto;
      }
   }
   .select2-container.select2-container--default .select2-selection--single {
      .select2-selection__rendered {
	  padding-right: 29px;
	  padding-left: 50px;
      }
      .select2-selection__arrow {
	  right: auto;
	  left: 0;
      }
   }
   .stm_overflow_top {
      position: relative;
      z-index: 20;
   }
   .second_font_color {
      color: $stm_secondary_color;
   }
   strong, b {
      font-weight: 900;
   }
   .btn-slider {
      font-size: 20px;
      padding: 8px 50px;
   }
   .tparrows.tp-rightarrow.gyges {
      margin-right: 45px;
   }
   a.heading_font {
      color: $stm_secondary_color;
      font-size: 18px;
   }
   .input-group {
      margin-bottom: 21px;
   }
   .stm_contacts_widget.style_2 ul li {
      &.phone {
	  .text {
	     font-size: 18px;
	     font-weight: 900;
	  }
      }
      &.mail {
	  .text {
	     font-size: 16px;
	     font-weight: 400;
	  }
      }
      .icon {
	  color: $stm_base_color;
	  font-size: 16px;
	  .fa-phone {
	     position: relative;
	     top: 3px;
	     @include theme_icons();
	     @include transform(rotate(-90deg));
	     &:before {
		 content: "\e92a";
	     }
	  }
	  .fa-envelope {
	     position: relative;
	     top: 1px;
	     font-size: 12px;
	     @include theme_icons();
	     &:before {
		 content: "\e908";
	     }
	  }
      }
   }
   #footer {
      .footer_widgets {
	  padding: 47px 0 0;
	  .widget .textwidget .button {
	     margin-top: 21px;
	  }
      }
   }
   .wpb_text_column ul li, .comment-body .comment-text ul li {
      font-size: 18px;
      line-height: 22px;
   }
   .breadcrumbs {
      font-size: 14px;
      > span i.fa {
	  position: relative;
	  top: 2px;
      }
   }
   .button.icon_left i {
      left: 30px;
      right: auto;
   }
   .consulting-rev-text-2 {
      font-size: 18px;
   }
   .company_history > ul > li .company_history_text p {
      font-size: 18px;
      line-height: 24px;
   }
   .icon_box.style_1.icon_left p, .icon_box.style_1.icon_left_transparent p {
      font-size: 18px;
      line-height: 20px;
   }
   .vc_tta.vc_tta-accordion .vc_tta-controls-icon-position-right .vc_tta-controls-icon {
      right: auto !important;
      left: 25px !important;
      &.vc_tta-controls-icon-plus {
	  right: auto;
	  left: 25px;
      }
   }
   .vc_tta-container .vc_tta.vc_general.vc_tta-accordion.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading .vc_tta-panel-title.vc_tta-controls-icon-position-right a {
      padding-right: 30px;
      padding-left: 42px;
      text-align: right;
   }
   .vacancy_bottom .share_buttons label {
      margin: 0 0 0 15px;
   }
   .vacancy_table_wr .vacancy_table thead th {
      font-size: 16px;
   }
   .vacancy_table_wr .vacancy_table tbody td {
      font-size: 18px;
   }
   .staff_bottom_wr {
      a {
	  color: #fff;
	  &:hover {
	     color: $stm_secondary_color;
	  }
      }
      .email {
	  span {
	     font-size: 14px;
	  }
      }
   }
   .input-group,
   .select2-container {
      max-width: 100%;
      display: block;
   }
   .select2-selection__rendered {
      max-width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
   }
   blockquote {
      border-right: 5px solid $stm_secondary_color;
      border-left: 0;
   }
   .info_box .read_more .stm_icon {
      &.fa-chevron-right {
	  transform: rotate(180deg);
	  transform-origin: 15% 30%;
      }
   }
   .input-group {
      &:after {
	  content: '';
	  clear: both;
	  display: block;
      }
   }
   .stm_post_details ul li {
      font-size: 16px;
   }
   .widget.widget_tag_cloud .tagcloud a,
   .widget.widget_product_tag_cloud .tagcloud a,
   .post_bottom .tags a {
      padding: 7px 8px 4px;
   }
   .widget.widget_search .search-form button {
      line-height: 50px;
   }
   .widget.widget_nav_menu ul li .children li, .widget.widget_nav_menu ul li .sub-menu li, .widget.widget_categories ul li .children li, .widget.widget_categories ul li .sub-menu li, .widget.widget_product_categories ul li .children li, .widget.widget_product_categories ul li .sub-menu li, .widget.widget_archive ul li .children li, .widget.widget_archive ul li .sub-menu li, .widget.widget_pages ul li .children li, .widget.widget_pages ul li .sub-menu li, .widget.widget_meta ul li .children li, .widget.widget_meta ul li .sub-menu li {
      padding: 0 32px 0 0;
      &:before {
	  left: auto;
	  right: 23px;
      }
   }
   &.woocommerce .widget_price_filter .price_slider_amount .price_label {
      padding-top: 16px;
   }
   &.woocommerce ul.product_list_widget li img {
      float: right;
      margin: 0 0 0 16px;
   }
   &.stm_windows {
      &.header_style_2 {
	  #lang_sel {
	     > ul {
		 > li {
		    .lang_sel_sel {
			padding: 4px 1px 11px 24px;
			font-size: 18px;
			&:after {
			   right: auto;
			   left: 0;
			}
		    }
		    > ul {
			padding: 0;
			left: auto;
			right: 0;
			li {
			   font-size: 16px;
			   a {
			      padding: 10px 20px 9px;
			   }
			}
		    }
		 }
	     }
	  }
      }
      .top_bar_info_wr {
	  .top_bar_info_switcher {
	     .active {
		 span {
		    line-height: 34px;
		 }
	     }
	  }
	  .top_bar_info {
	     padding: 13px 0 1px 0;
	     li {
		 i {
		    top: -5px;
		    &.stm-email {
			font-size: 12px;
		    }
		    &.stm-location-2 {
			top: -5px;
			font-size: 17px;
		    }
		    &.stm-phone6 {

		    }
		 }
		 span {
		    position: relative;
		    top: -7px;
		 }
	     }
	  }
      }
   }
   &.woocommerce div.product div.images,
   &.woocommerce #content div.product div.images {
      float: right;
      margin-left: 15px;
   }
}