/* Reset styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End reset styles */


/* Common styles */
@font-face {
    font-family: MetaProNormal;
    src: url(../fonts/MetaPro-Normal.otf);
}

@font-face {
    font-family: MetaProMedium;
    src: url(../fonts/MetaPro-Medium.otf);
}

@font-face {
    font-family: BlissPro;
    src: url(../fonts/BlissPro-Regular.otf);
}

html {
	position: relative;
	min-height: 100%;
	background: url('../img/bg.jpg');
	background-attachment: fixed;
}

body {
	font-family: Calibri, sans-serif;
	font-size: 15px;
	/*margin-bottom: 178px;*/
	background-color: transparent;
	display: flex;
    flex-direction: column;
    height: 100vh;
    line-height: 1.2;
}

h1, h4, h2 {
	border-bottom: 1px solid #000;
	display: inline-block;
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

h1.main_title,
h2.main_title {
    font-family: Arial;
}

h1.bg {
    background: #ECECEC;
}



h4 {
	border: none;
}

h3 {
	font-size: 16px;
	font-weight: bold;
}

h5 {
	font-size: 15px;
	font-weight: bold;
	margin: 10px 0;
	text-transform: uppercase;
}

strong {
	font-weight: 700;
}

ol ol {
	margin-left: 15px;
}

.content-block {
	background: rgba(255, 255, 255, 0.6);
	padding: 20px 15px;
	padding-top: 0;
}

.content-block ol {
	list-style: decimal inside;
}

.list-group-item {
	background: none;
	border: none;
	padding: 0;
}

.panel {
	background: none;
	border: none;
	box-shadow: none;
}

.panel-heading+.panel-collapse>.list-group,
.panel-group .panel-heading+.panel-collapse>.panel-body {
	border: none;
}

.panel-heading {
	padding: 0;
}

.panel-heading h4 {
	width: 100%;
}

.panel-title a {
	display: block;
	padding: 10px 5px;
	text-decoration: none;
}

.panel-title a:not(.collapsed) {
	/* background: #283B76; */
	color: #FFF;
	color: #000;
}

.panel-body {
	padding: 10px;
}

.row-padding {
	padding-bottom: 20px;
}

.readable {
	font-family: Tahoma, sans-serif;
}

.form-control {
    border-radius: 0;
}

.form-control:focus {
    border-color: #253163;
    box-shadow: none;
}

.btn {
    border-radius: 0;
    color: #FFF;
    background: #234163;
}

.btn:hover {
    color: #FFF;
}

.slider-container {
    margin: 10px 0 20px;
}

.theme-green .back-bar .selected-bar {
    background-image: none;
    background-color: #234163;
}

#min-living-space, #max-living-space {
    width: 50px;
    float: left;
}

#max-living-space {
    float: right;
}
/* End common styles */


/* Header */
header {
	background-color: #27274B;
	padding-top: 15px;
}

header .header {
	background-color: #DFDFE7;
	flex: 0;
}

header .header-logo {
	float: left;
}

header .header-logo img {
	position: relative;
    margin-top: 3px;
    margin-bottom: 5px;
    max-width: 160px;
    transition: 1s filter linear;
    -webkit-transition: 1.5s -webkit-filter linear;
    -moz-transition: 1.5s -moz-filter linear;
    -ms-transition: 1.5s -ms-filter linear;
    -o-transition: 1.5s -o-filter linear;
}

header .header-logo.inverted img {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

header .header-company-name {
    float: left;
    margin-top: 5px;
    margin-left: 30px;
    font-family: Arial;
    line-height: 1.15;
}

header .header-company-name p:first-child {
    text-transform: uppercase;
}

header .header-address {
    text-align: right;
	margin-top: 15px;
	font-size: 18px;
}
header .header-address p {
    font-weight: bold;
}

header .header-address a {
    color: inherit;
}

header .header-menu {
	background-color: #253163;
}

header .header-menu nav {
	text-align: center;
	font-size: 15px;
}

header .header-menu nav > li {
    position: relative;
    display: inline-block;
    padding: 10px 21px;
    text-transform: uppercase;
    transition: color 0.5s;
    letter-spacing: 1.5px;
}

header .header-menu nav li a {
	color: #EEE;
}

header .header-menu nav li:hover > a {
	text-decoration: underline;
}

header .header-menu nav li ul {
    position: absolute;
    left: 10px;
    top: 38px;
    width: 400px;
    display: block;
    opacity: 0;
    position: absolute;
    padding: 5px 0;
    -webkit-transition: opacity .2s ease-out;
    -moz-transition: opacity .2s ease-out;
    -ms-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
    height: 0;
    overflow: hidden;
    background: white;
    z-index: 10;
    background: #fcfcfc;

    -moz-box-shadow:    1px 1px 3px 2px #d6d6d6;
    -webkit-box-shadow: 1px 1px 3px 2px #d6d6d6;
    box-shadow:         1px 1px 3px 2px #d6d6d6;
}

header .header-menu nav li:hover ul {
    opacity: 1;
    height: auto;
}

header .header-menu nav li ul li {
  text-align: left;
  padding: 5px 10px;
  letter-spacing: 0;
  border-bottom: 1px solid #d6d6d6;
}

header .header-menu nav li ul li:last-child {
    border-bottom: 0;
}

header .header-menu nav li ul li:hover {
    
    background-color: #ececec;
}
header .header-menu nav li ul li:hover > a {
    color: black;
    text-decoration: none;
}

header .header-menu nav li ul li a {
    color: inherit;
}
header .header-menu nav li ul li:hover a {
    color: inherit;
}


header .header-menu nav > li.active {
  background: #71768e;
}

/* End header */


/* Content */
.content {
	flex: 1;
}

.container {
	height: 100%;
}

.container-content {
	/*background: rgba(244, 244, 244, 0);*/
	background: #FDFDFD;
	padding-top: 25px;
}

.container-main {
	padding-top: 0;
	background: #FDFDFD;
}

.container-main .main-menu {
	background: url('../img/main2.jpg');
	background-size: cover;
	background-position: bottom;
	padding: 15px 0 25px;
	min-height: 450px;
	height: 450px;
	position: relative;
}

.container-main .main-menu ul {
	background: #DFE5F1;
	padding: 10px 0;
	max-width: 230px;
	min-height: 320px;
}

.container-main .main-menu ul li.list-group-item > a {
	color: #000;
	display: block;
	padding: 10px 15px;
	text-transform: uppercase;
	transition: background .5s, color .2s;
}

.container-main .main-menu ul li.list-group-item > a:hover {
	background: #7F9EBD;
	color: #FFCE00;
	text-decoration: none;
}

.container-main .main-menu ul li.list-group-item > a:before {
	content: '|';
	padding-right: 10px;
	visibility: hidden;
}

.container-main .main-menu ul li.list-group-item > a:hover:before {
	visibility: visible;
}

.container-main .main-menu ul li.list-group-item > a i {
	float: right;

}

.container-main .main-menu .submenu {
	background: transparent;
	max-width: 280px;
	opacity: 0;
	padding-left: 5px;
	position: absolute;
	right: -280px;
	top: -10px;
	transition: opacity 1s, visibility 0s;
	visibility: hidden;
}

.container-main .main-menu ul li:hover .submenu,
.container-main .main-menu ul li a:hover + .submenu {
	opacity: 1;
	visibility: visible;
}

.container-main .main-menu .submenu li {
	background: rgba(127, 158, 189, 0.75);
	padding: 5px;
}

.container-main .main-menu .submenu li a {
	color: #FFF;
	display: inline-block;
	font-size: 11px;
	padding-left: 15px;
	text-transform: uppercase;
	text-decoration: none;
}

.container-main .main-menu .submenu li a:before {
	content: '⚫';
	color: #FFCE00;
	position: absolute;
	left: 15px;
	line-height: 11px;
	font-size: 8px;
}

.container-main .main-menu .submenu li a:hover {
	color: #FFCE00;
}

.container-main .news {
	/* margin: -10px 0; */
	margin: 0;
	z-index: 10;
}

.container-main .news .news-block:last-child {
	padding-bottom: 45px;
}

.news-block {
	background: #FFF;
	font-size: 12px;
	max-width: 230px;
	padding: 10px;
}

.news-block h4 {
	color: #2856B1;
	font-size: 12px;
	margin: 10px 0;
	text-transform: uppercase;
}

.news-block .preview img {
	max-width: 210px;
}

.news-block .short-description {
	font-size: 11px;
}

.news-block .more {
	margin: 10px 0;
}

.news-block .more a {
	color: #000;
}

.news-block .more a:after {
	color: #FFCE00;
	content: "\27F6";
	display: inline-block;
	padding-left: 5px;
	text-decoration: none;
}

.container-main .about h2,
.container-main .services h2 {
	font-size: 25px;
	padding: 40px 0 30px;
	text-transform: uppercase;
	border: none;
	display: block;
	margin-bottom: 0;
}

.container-main .about {
    margin-bottom: 30px;
}

.container-main .about .about-text {
    padding: 0 15px;
}

.container-main .about .about-text .we {
}

.container-main .services .service-item {
	margin-bottom: 20px;
	display: table;
}

.container-main .services .service-item a {
	background: #283B76;
	color: #FFF;
	/*display: block;*/
	display: table-cell;
	vertical-align: middle;
    height: 70px;
    text-align: center;
    padding: 15px;
    letter-spacing: 0.2px;
    font-size: 16px;
    text-transform: uppercase;
}

.container-main .services .service-item a:hover {
	text-decoration: none;
}

.container-main .services .all-services a {
	color: #2856B1;
	font-size: 18px;
}

.container-main .about .about-img img {
	max-width: 100%;
}

.accordion-menu .panel-title a {
    letter-spacing: 0;
    font-weight: bold;
    padding: 0;
    position: relative;
}

.accordion-menu .panel-title a:after {
  font-size: 26px;
  position: absolute;
  top: 2px;
  right: 5px;
  color: #2856B1;
}
.accordion-menu .panel-title a:not(.collapsed):after {
  content: '\25B4';
}
.accordion-menu .panel-title a.collapsed:after {
  content: '\25BE';
}

.accordion-menu .panel-body ul li {
	padding: 5px 0;
	border-bottom: 1px solid #2856b1;
}

.accordion-menu .panel-body ul li a {
	color: #000;
	text-decoration: none;
	display: block;
    padding: 5px 0 7px 5px;
    line-height: 1.1;
    letter-spacing: 0;
    font-size: 15px;
}

.accordion-menu .panel-body ul li a:hover {
	
	background: #ececec;
}

.accordion-menu .panel-body ul li a.active {
	
	background: #ececec;
}

.accordion-menu .panel-body ul li a.active {
	  font-weight: bold;
}

.employee-block .name {
	border-right: 2px solid #2856B1;
}

.employee-block .name p {
	font-size: 25px;
}

.employee-block .name p:first-child {
	font-size: 16px;
}

.employee-block .employee-info {
	/* border-left: 2px solid #2856B1; */
	font-family: BlissPro;
	padding-left: 35px;
}

.employee-block .employee-info p {
	margin-bottom: 5px;
}

.employee-block .employee-info p i {
	border-right: 1px solid #000;
	display: inline-block;
	margin-right: 5px;
	padding-right: 5px;
}

.service-block {
	margin-top: 30px;
}

.service-block .service-header {
	border-bottom: 2px solid #2856B1;
	font-size: 18px;
	margin-bottom: 10px;
	text-transform: uppercase;
	cursor: pointer;
}

.service-block .service-header:after {
  display: block;
  float: right;
  margin-right: 2px;
  font-size: 24px;
  position: relative;
  top: -5px;
  color: #2856B1;
}

.service-block .service-header.opened:after {
  content: '\25B4';
}

.service-block .service-header.closed:after {
  content: '\25BE';
}

.service-block table tr th {
	background: #F5F5F5;
	font-weight: bold;
}

.service-block table tr th {
	text-align: center;
}

.service-block table tr td:first-child {
	min-width: 55px;
}

.service-block ul {
	list-style: disc;
	margin-left: 15px;
}

.service-documents {
    line-height: 1.42857143;
}

.news-row img {
	max-width: 100%;
}

.news-row .news-text p {
	margin-bottom: 5px;
}

.news-row .news-text p.date {
	color: #999;
	font-size: 12px;
}

.carousel {
	background: #FDFDFD;
}

.carousel-inner > .item > img {
	max-height: 490px;
    margin: auto;
}

.carousel-control {
	background: rgba(40, 59, 118, 0.3);
	font-size: 95px;
	line-height: 490px;
	width: 7%;
}

.carousel-control.left,
.carousel-control.right {
	background-image: none;
}

#slider-thumbs {
	padding-top: 10px;
	padding-bottom: 25px;
}

#slider-thumbs img {
	max-height: 60px;
	width: auto;
}

.content-block .news-img {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
	max-width: 50%;
}
/* End content */


/* Footer */
footer {
	background-color: #283B76;
	/*bottom: 0;*/
	color: #EEE;
	/*position: absolute;*/
	width: 100%;
	flex: 0;
}

footer .footer-logo {
	float: left;
	padding: 10px 15px 55px;
}

footer .footer-logo img {
	height: 70px;
} 

footer .footer-logo.inverted img {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

.footer-logo .footer-company-name {
    line-height: 1;
}

.footer-logo .footer-company-name p:first-child {
	text-transform: uppercase;
	font-size: 18px;
	margin-top: 20px;
}

.footer-logo .footer-company-address {
	margin-top: 20px;
}

.footer-logo .footer-company-address p {
	font-size: 13px;
}
.footer-logo .footer-company-address a {
    color: inherit;
}


footer .footer-menu {
	border-right: 1px #EEE solid;
	font-size: 12px;
	float: left;
	margin-top: 32px;
	padding-left: 95px;
	width: 33%;
}

footer .footer-menu ul li {
	margin-bottom: 3px;
}

footer .footer-menu a {
	color: #EEE;
}

footer .footer-services {
	float: left;
	font-size: 10px;
	margin-top: 32px;
	padding-left: 25px;
	width: 66%;
}

footer .footer-services ul li {
	display: inline;
	float: left;
	margin-bottom: 5px;
	padding-right: 5px;
	text-transform: uppercase;
	width: 50%;
	height: 25px;
}

footer .footer-services ul li a {
	color: #EEE;
}

footer .footer-services ul li a:hover {
	color: #EEE;
}
/* End footer */