/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

document, html, body {
    width: 100%;
    /*height: 100vw;*/
   /* min-width: 1200px;*/
    min-height: 500px;
}

body {
  color: #444444;
    margin: auto;
}

.logo {
    margin-top: 10px;
    float: left;
}

#menu {
    float: left;
}

.contacts {
	float:right;
	margin-top: 10px;
}

.sitename {
    margin-top: 25px;
    margin-left: 20px;
    width: 65%;
    float: left;
}

.highlighted {
    background: gray;
}

.rastag {
    clear: both;
    height: 160px;
    background-color: #1e6285;
    background-image: url(../img/news.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top:30px;
    margin-bottom:25px;
}

footer {
	padding-top:7px;
	height:210px;
}

.center {
	text-align:center;
}

ymaps {
	    pointer-events: none;
}

.blue {
	background-color:#f1f5f7;
	min-height:100px;
	padding-top:20px;
	padding-bottom:20px;
}

.red {
	color:crimson;
}

h1 {
	margin-bottom:35px;
	color: #3e5255;
    font-size:30px;
}

h2 {
    color: #005a87;
    font-size:24px;
}

hr {
	border-top: 1px solid lightgray;
}

[class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 0px;
}

.grayscale { 
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
/*  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");	*/
  filter: gray; /* IE 6-9 */
}

.grayscale:hover { 
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: none;
}

.btn-large {
    padding: 11px 19px;
    font-size: 17.5px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.bs-docs-example {
    position: relative;
    margin: 15px 0;
    padding: 15px 19px 0px;
    background-color: #fff;
    border: 1px solid #005a87;;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.page-header {
    padding-bottom: 9px;
    margin: 20px 0 5px;
    border-bottom: 0px solid #eeeeee;
}

.bs-docs-example:after {
    content: attr(data-cont);
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    background-color: #005a87;;
    border: 1px solid #005a87;
    color: white;
    -webkit-border-radius: 4px 0 4px 0;
    -moz-border-radius: 4px 0 4px 0;
    border-radius: 4px 0 4px 0;
}

.label-important, .badge-important {
    background-color: crimson;
}

/* Partners */

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
  margin-top: 20px;
}

/* The dots/bullets/indicators */
.dot {
  cursor:pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
	background-color: white;
	margin-bottom: 30px;
}

#menu a span {
    color: #444444;    
}

#menu a:last-of-type {
    border-right: 0px;
}

#menu a {
    margin: 0px;
    padding: 0px 10px;
    text-decoration: none;
    display: inline-block;
    border-right: 1px solid black;
}

#menu a span {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    border-bottom: 2px solid transparent;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: #005a87;
    font-size: 15px;
}

#menu a.item span, #menu a:hover span {
    border-bottom: 2px solid crimson;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 60px;
}

.carousel .container {
  position: relative;
  z-index: 9;
}

.carousel-control {
  height: 0px;
  margin-top: 131px;
  font-size: 120px;
  text-shadow: 0 1px 1px rgba(0,0,0,.4);
  background-color: transparent;
  border: 0;
  width: 9%;
}

.carousel .item {
  height: 452px;
}
.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}

.carousel-caption {
	background-color: rgba(211,47,45,0.7);
    position: absolute;
    max-width: 350px;
    padding: 10px 20px;
    margin-top: 200px;
    margin-left: 30px;
	border-radius: 5px;
	right: 5%;
    left: unset;
    height: 200px;
    top:0;
}
.carousel-caption h1,
.carousel-caption .lead {
  margin: 0;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.4);
}
.carousel-caption .btn {
  margin-top: 10px;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .span4 {
  text-align: center;
  height: 300px;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .span4 p, .marketing .span8 p {
  margin-left: 10px;
  margin-right: 10px;
}

.marketing .span8 {
  text-align: center;
  /*height: 238px;*/
  width:64%;
}

.featurette-divider {
  margin: 60px 0; /* Space out the Bootstrap <hr> more */
}
.featurette {
  padding-top: 68px; /* Vertically center images part 1: add padding above and below text. */
  overflow: hidden; /* Vertically center images part 2: clear their floats. */
}
.featurette-image {
  margin-top: -69px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */
}

/* Give some space on the sides of the floated elements so text doesn't run right into it. */
.featurette-image.pull-left {
  margin-right: 40px;
}
.featurette-image.pull-right {
  margin-left: 40px;
}

/* Thin out the marketing headings */
.featurette-heading {
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

/* оформление полей ввода */

.input-prepend, .input-append {
    display: inline-block;
    margin-bottom: 10px;
    white-space: nowrap;
    vertical-align: middle;
}

.input-prepend .add-on, .input-append .add-on {
    display: inline-block;
    width: auto;
    height: 30px;
    min-width: 16px;
    padding: 4px 5px;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    text-align: center;
    text-shadow: 0 1px 0 #ffffff;
    background-color: #eeeeee;
    border: 1px solid #ccc;
}

.input-prepend .add-on {
    margin-right: -1px;
}

.input-append .add-on {
    margin-left: -1px;
}

.input-prepend .add-on:first-child {
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    border: 1px solid gray;
}

.input-append .add-on {
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    border: 1px solid gray;
    position: relative;
}

.input-prepend input[class*="span"] {
	display: inline-block;
	height: 30px;
	margin-left: 0px;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    border: 1px solid gray;
    padding-left: 5px;
}

.input-append input[class*="span"] {
	display: inline-block;
	height: 30px;
	margin-left: 0px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    border: 1px solid gray;
    padding-left: 5px;
}

textarea {
	width: 500px;
    margin-top: 30px;
    margin-bottom: 13px;
}

/* --- News --- */

.cbp-rfgrid {
    margin: 35px auto 0 auto;
    padding: 0;
    list-style: none;
    position: relative;
    width: 80%;
    font-family: Geneva, Arial, Helvetica, sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
    grid-template-rows: repeat(2, 228px);
}

@media screen and (max-width: 1755px) {
	.cbp-rfgrid {
		grid-template-rows: repeat(3, 228px);
	}
}

.cbp-rfgrid li {
    position: relative;
    float: left;
    overflow: hidden;
    /*width: 25%;
    width: -webkit-calc(100% / 4);
    width: calc(100% / 4);*/
}

.cbp-rfgrid li a,
.cbp-rfgrid li a img,
.cbp-rfgrid li img {
    display: block;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    height:228px;
}

.cbp-rfgrid li a img {
    max-width: 100%;
}

.cbp-rfgrid li a div.anno {
    position: absolute;
    left: 0px;
    top: 400px;
    right: 0px;
    bottom: 0px;
    background: rgba(73, 175, 205, 0.8);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    opacity: 0;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

div.news_menu {
	position: absolute;
	background: rgba(73, 175, 205, 0.8);
	opacity: 1;
	color: #fff;
	letter-spacing: 0.5px;
	padding-left: 25px;
	top:25%;
}

div.news_menu span{
	font-size: 1.6em;
}

/*div.news_menu_end {
	position: absolute;
	background: rgba(31, 111, 122,0.8);
	opacity: 1;
	color: #fff;
	font-size: 0.8em;
	letter-spacing: 0.5px;
	top:10%;
	width:100%
}*/

div.news_menu ul {
	padding: 0px;
}

div.news_menu li {
	overflow:visible;
	list-style-type:none;
	padding: 0px;
	color: yellow;
	width: 20px;
}

div.news_menu .toall{
	margin:7px 0 0 0;
	font-size: 0.9em;
	color: yellow;
}

div.news_menu a{
	font-size: 0.9em;
	margin: 14px 0 0 0;
	color: yellow;
}

.yellowlink {
	color: yellow;
}

div.title_text, div.title_data {
    position: absolute;
    background: rgba(73, 175, 205, 0.8);
    opacity: 1;
    color: #fff;
    font-size: 0.8em;
    letter-spacing: 1px;
    padding: 5px;
}

div.title_text{
	bottom: 0;
	right: 0;
	left: 0;
	height: 50px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

div.title_data{
	top: 0;
	right: 0;
	margin: 5px 5px;
	height: 45px;
	text-transform: uppercase;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
}

div.title_data span{
	font-size: 1.4em;
}

a:hover div.title_text, a:hover div.title_data {
	opacity: 0;
}

.cbp-rfgrid li a:hover div.anno {
    opacity: 1;
    top: -10px;
}

.cbp-rfgrid li a div.anno h3 {
    width: 100%;
    color: #fff;
    font-size: 0.9em;
    letter-spacing: 1px;
    padding: 0 10px;
    font-family: Geneva, Arial, Helvetica, sans-serif;
}

.btn-mini {
    padding: 0 6px;
    font-size: 10.5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.pagination {
    margin-top: 0;
    margin: 0px 0;
    margin-bottom: 0px;
    float:left;
}

.pagination ul {
/*    display: inline-block;*/
    margin-bottom: 0;
    margin-left: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    padding: 0;
    margin: 0 0 10px 25px;
}

.pagination ul>li {
    display: inline;
/*    line-height: 20px;*/
    text-align: -webkit-match-parent;
}

.pagination ul>li>a, .pagination ul>li>span {
    float: left;
    padding: 4px 12px;
    line-height: 12px;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-left-width: 0;
    color: #0088cc;
    text-decoration: none;
}

.pagination ul>li:first-child>a, .pagination ul>li:first-child>span {
    border-left-width: 1px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-topleft: 4px;
}

.pagination ul>li:last-child>a, .pagination ul>li:last-child>span {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
}

.pagination ul>li>a:hover, .pagination ul>li>a:focus, .pagination ul>.active>a, .pagination ul>.active>span {
    background-color: #f5f5f5;
}

.hiddenelem {
	display:none;
}

.description > p {
	margin-bottom:0px;
}

.omg {
    border-top: #ddd dashed 1px;
    margin-top:7px;
    margin-bottom:5px;
}

#menucontainer {
	margin-top: 21px;
}

#brandname {
	color: #005a87;
	margin-top:12px;
	font-size:26px;
}

#carouselcontainer {
	display:block;
}

.nav-tabs, .tab-content {
	float:left;
}

.tab-content {
	background-color: white;
	margin-left: 20px;
}

.tab-pane {
	background-color: white;
	margin-bottom:50px;
}

.nav-tabs {
	width:200px;
	border-bottom: 0px solid #ddd;
	margin-bottom:50px;
}

.nav-tabs>li>a {
	border-radius:0;
    margin-right: -1px;
    min-width: 74px;
    margin-right: 0;
    margin-bottom: 3px;
    border: 0px solid transparent;
}

.nav-tabs>li {
	float:none;
	background-color: white;
}

.nav-tabs>li.active {
	background-color: #ee9a00;
    color: #ffffff;
}

.nav-tabs>li>a:focus, .nav-tabs>li>a:hover {
    text-decoration: none;
    background-color: white;
    border-color: white;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: white;
    cursor: default;
    background-color: #ee9a00;
    border: 0px;
    border-bottom-color: transparent;
}

.manager_content {
    width: 100%;
    max-width: 1024px;
    margin: auto;
}

.manager_content {
    border-bottom: 1px solid #cccecf;
    margin-bottom: 10px;
    clear: both;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.manager_show {
    width: 100%;
    max-width: 1024px;
    margin: auto;
}

.manager_show section {
    float: right;
    width: 19px;
    height: 18px;
    cursor: pointer;
    margin: -19px 24px 0px 0px;
    background-image: url(../img/down.gif);
    background-position: left top;
    background-repeat: no-repeat;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.manager_biography {
    display: none;
    width: 100%;
    max-width: 1024px;
    margin: auto;
    padding: 20px 20px 30px 20px;
    color: #444444;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    border-bottom: 1px solid #ee9a00;
    margin-bottom: 20px;
}

.manager_show section.active {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    background-color: white;
}

.fancybox {
	cursor:pointer;
}

.order_title {
	background-image: url(../img/second-block.png);
	background-color:transparent;
	background-repeat: no-repeat;
}

#orderprocess > li {
	display:inline;
	text-transform:uppercase;
	margin-right:50px;
	position:relative;
}

#orderprocess > li a {
	text-decoration:none;
}

#orderprocess > li:not(:last-child):after {
	content:">";
	right:-28px;
	position:absolute;
	color:red;
}

#orderprocess > li.active {
	font-weight:bold;
	color:black;
	background-color: white;
}

#orderprocess > li.active a {
	font-weight:bold;
	color:black;
	background-color: white;
	text-decoration:underline;
}

.programcheck {
	position:relative;
	display:none;
}

.programcheck::before {
    content: "\2713";
    position: absolute;
    left: -50px;
    color: green;
    font-weight: bolder;
    font-size: 23px;
    top: -7px;
}

.inputpersonal {
    height: 30px;
    margin-left: 0px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid gray;
    padding-left: 5px;
    width:178px;
}

.help-block {
	position:relative;
}

.ng-valid + .help-block::before {
    content: "\2713";
    position: absolute;
    left: -33px;
    color: green;
    font-weight: bolder;
    font-size: 23px;
    top: -35px;
}

.ng-valid + .add-on::before {
    content: "\2713";
    position: absolute;
    left: -187px;
    color: green;
    font-weight: bolder;
    font-size: 23px;
    top: 4px;
}

.disabled {
    pointer-events:none;
    opacity:0.6;
}

.inputcheck {
  position: relative;
  cursor: pointer;
  width: 20px;
  height: 20px;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  opacity: 1;
  margin-top: 0px;
  margin-left: 20px;
}

.prname {
  font-size: 17px;
  margin-left: 14px;
  margin-top: -2px;
  position: absolute;
}

.partnersimg img {
    width: 120px;
}