/* РАЗМЕТКА */
html, body {
	height: 100%;
	min-width: 320px;
}

body {
	background: #e7e7e7;
	font-family: "Verdana";
}

.wrap {
	border: 8px solid #df000a;
	background: #fff;
}

#footer {
    padding: 30px 0;
}

#scrollUp {
	bottom: 20px;
	right: 20px;
	height: 38px;  /* Height of image */
	width: 38px; /* Width of image */
	background: url('/js/scrollup/img/top.png') no-repeat;
}

#zebra {
	margin-left: -20px;
}

.logo img {
	margin: 2px auto;
	max-width: 300px;
}

#header a:link, #header a:visited {
	color: #333;
}

.copyright {
	font-size: 12px;
}

.line {
	max-width: 100%;
	height: 6px;
	display: block;
	margin: 3px 0 6px;
}


.redline {
	max-width: 100%;
	height: 6px;
	display: block;
	margin-top: 8px;
}


.lines {
	max-width: 100%;
	height: 16px;
	margin-bottom: 10px;
}

.company {
	font-weight: bold;
	font-size: 14px;
}

p {
	text-indent: 25px;
	text-align: justify;
	font-size: 13px;
}

li {
	text-align: justify;
}

.images img {border: 1px solid #AA0033}
.images {text-align: center}
.images a:hover img {border-color: #DF000A}

#porthead1 {font-weight: bold; font-size: 16px}

ul.portfolio {
	margin-left: 20px;
	margin-top: 5px;
}

.portfolio a{
	color: #666 !important;
}

ul.details {
	margin-top: -5px;
	margin-bottom: 10px;
}

.p {
	margin-left: 25px;
}

.p a {
	text-decoration: underline; 
}

.messenger {
	width: 32px;
}

ul.details li:before {
  content: '-' /*fontawesome char code inside the ''*/;
  display: inline-block;
  width: 10px; /*same as padding-left set on li*/
}​

/* centered columns styles */
.row-centered {
    text-align:center;
}
.col-centered {
    display:inline-block;
    float:none;
	font-size: 12px;
	padding-top: 5px;
	padding-bottom: 15px;
	vertical-align: top;
	line-height: normal;
}

li.active {
	font-weight: bold;
}

/* ОБЩИЕ СТИЛИ */

.knob {
text-decoration: underline; 
color: #AA0033;
font-weight: bold;
cursor:pointer;
margin-top: 5px;
}
.knob:hover {
color: #DF000A;
}
.spoiler {
background-color: #f6f6f6;
border: 1px solid #d3d5dd;
margin: 2px 10px;
padding: 5px;
}


a:link, a:visited, a {
	text-decoration: underline; 
	color: #AA0033;
}
.main {
	padding-right: 30px;
	padding-bottom: 20px;
	font-size: 13px;
}


/* ШАПКА */

.logo {
	margin-top: -5px;
}

#header {
	padding: 10px 0 0;
}

.icon {
	display: inline-block;
	text-align: center;
	padding: 0 17px;
}

/* ЗАГОЛОВКИ */
       
.header {
	text-align: center;
}

h2 a:link, h2 a:visited {
	color: #fff;
}

h2 a:hover, h2 a:focus {
    opacity: 0.7;
	transition: opacity 0.3s ease-out;
}

h4 {
    font-size: 17px;
}
/* MEDIA QUERIES*/

@media (min-width: 980px) and (max-width: 1199px) {
#zebra {
	max-width: 290px;
}
	

} 

@media (min-width: 992px) {
	.parent {
		height: 60px;
	}

	.company {
		position: relative;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		transform: translateY(-50%);
		margin-left: -15px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	
	#header .headright{
		text-align: right;
	}
}
 
@media (max-width: 991px) {
      
	#header .slogan {
		font-size: 16px;
	}
		
	.top {
		height: auto;
	}

		
	#footer {
		height: auto;
	}
	    
	.navbar-nav.navbar-right > li { 
		float: left; 
	}
	
	h2 {
		font-size: 24px;
	}
	.icon {
	padding: 0 7px;
}
}

 
@media (max-width: 767px) {
	#header {
		text-align: center;
	}
	
	.headright {
		padding-bottom: 15px;
	}	
	
	
}

 
@media (max-width: 480px) {

	.navbar-brand {
		padding: 23px 5px 5px 10px;
		max-width: 222px;
	}
	
	.hidden-xxs {
		display: none;
	}
}



/*
 * Off Canvas
 * --------------------------------------------------
 */
 
.btn-offcanas {
	border-width: 1px;
	float: left;
	margin-right: 10px;
	font-size: 18px;
}
 
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
       -moz-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}