/*******************************
            Global
*******************************/

html,
body {
  font-size: 15px;
  height: 100%;
}

body {
  font-family: "Open Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  /*background: #FFFFFF;*/
  margin: 0px;
  padding: 0px;
  color: #fff;
  text-rendering: optimizeLegibility;
  min-width: 320px;

  background-image: url("images/main.jpg");
  background-size: cover;
  background-attachment: fixed;
}

/*******************************
          UI Overrides
*******************************/

.ui.header {
  font-family: 'Source Sans Pro', "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.ui.header,
h1,
h2 {
  font-weight: normal !important;
}

h1.ui.header {
  font-size: 3em;
}

h4.ui.header,
h5.ui.header,
.ui.icon.header {
  font-weight: bold !important;
}

.ui.button {
  font-weight: normal;
  text-decoration: none;
}

a {
  color: #fff; /*#009FDA;*/
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

a:hover {
  color: #ccc; /*#00BAFF;*/
}

p a {
  font-weight: normal; /*bold;*/
}

/*******************************
            Global
*******************************/
/*rtl:ignore*/
.menu .right.menu > .mobile.item {
  display: none;
}

.ui.page.grid.segment {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.masthead.segment {
  background-image: url(images/bg.jpg);
  background-size: cover;
  margin: 0em;
  padding-top: 4rem;
  overflow: hidden;
  -webkit-box-shadow: 0 -20px 10px 0 rgba(0, 0, 0, 0.1) inset !important;
  box-shadow: 0 -20px 10px 0 rgba(0, 0, 0, 0.1) inset !important;
}

.masthead.segment .column {
  position: relative;
}

.masthead.segment .information {
  margin: 3em 1em 1em 280px;
}

.masthead.segment .information p {
  max-width: 600px;
  margin: 0em 0px 2em 0em;
  font-size: 1.2em;
}

.masthead.segment h1.ui.header .sub {
  font-size: 0.7em;
}

.masthead.segment .image {
  position: absolute;
  left: 0%;
  bottom: -110px;
}

.overview .divided.grid .header + p {
  min-height: 100px;
}

.ui.shape .icon,
.link.list .icon {
  margin: 0em;
  padding: 0em;
}

.ui.cube.shape .side {
  background-color: transparent;
}

/*******************************
          Responsive
*******************************/

/* Mobile Only */

@media only screen and (max-width : 768px) {
  .ui.page.grid.segment {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  /*rtl:ignore*/
  .menu .right.menu > .item {
    display: none;
  }
  /*rtl:ignore*/
  .menu .right.menu > .mobile.item {
    display: block;
  }

  h1.ui.header {
    font-size: 1.5em;
  }

  .masthead.segment {
    background-size: auto;
  }

  .masthead.segment .information {
    margin-left: 190px;
  }

  .masthead.segment .image {
    bottom: -65px;
    width: 150px;
  }

  .masthead.segment .button {
    font-size: 1rem;
  }

  .overview .divided.grid .header .icon {
    font-size: 1.5em;
  }

  .overview .divided.grid .header + p {
    min-height: 0px;
  }

  .masthead.segment .column {
    font-size: 0.7rem;
  }

  .masthead.segment .column p {
    display: none;
  }
  /*rtl:ignore*/
  .selection.list .right.floated {
    display: none;
  }
}

@media only screen and (max-width : 1000px) {

}

/* СОБСТВЕННЫЕ КЛАССЫ */

.logo{padding-top: 5% !important;}
.phone{letter-spacing: 2.5px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);}
.mail{letter-spacing: 2.2px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);}
#footer{padding-top: 8%;}
.footer{}


@media(max-width:1280px){
  iframe{
    height: 250px;
    width: 350px;
  }
}

@media(max-width:1180px){
  iframe{
    height: 230px;
    width: 310px;
  }
}
@media(max-width:1050px){
  iframe{
    height: 230px;
    width: 270px;
  }
}
@media(max-width:835px){
  iframe{
    height: 220px;
    width: 250px;
  }
}



@media(max-width:520px){
  iframe{
    height: 220px;
    width: 220px;
  }
}






.uk-scrollspy-inview.tm-teaser-subtitle:before {
    left: -65px;
    opacity: 1;
}
.tm-teaser-subtitle:before {
    left: 0;
}
.tm-teaser-subtitle:before, 
.tm-teaser-subtitle:after {
    border-top: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    content: "";
    opacity: 0;
    position: absolute;
    top: 50%;
    transition: opacity 1s ease-out 0.2s, left 0.7s ease-out 0.1s, right 0.7s ease-out 0.1s;
    width: 55px;
}
.uk-scrollspy-inview.tm-teaser-subtitle:after {
    opacity: 1;
    right: -65px;
}
.tm-teaser-subtitle:after {
    right: 0;
}

.tm-uppercase {
    text-transform: uppercase;
}
.tm-teaser-subtitle {
    color: #ffffff;
    display: inline-block;
    /*font-family: segoeuib;*/
    font-size: 30px;
    font-weight: 700 !important;
    line-height: 35px;
    position: relative;
    /*text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);*/
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    text-transform: none;
}