main#main-content {
    min-height: calc(100vh - 691px);
}

.content {
    padding: 10px 0 20px;
    font-size: 15px;
}

.content h1, h2 {
    font-family: 'Roboto Condensed', sans-serif;
    padding: 0 0 10px;
    text-align: center;
}

/* homepage - topcontent */
.topcontent {
    /* background: url('../images/gray.jpg'); */
    /* background-size: cover; */
    /* padding: 20px 0 0; */
}

/* homepage - infoblock */
.homepage_blocks {
    padding: 0 0 40px;
}

.homepage_blocks .block {
    position: relative;
    width: 25%;
    float: left;
    text-align: center;
    padding: 0 20px;
}

.homepage_blocks .block a {
    text-decoration: none;
}

.homepage_blocks .block a:hover {
    color: #000;
}

.homepage_blocks .block .icon {
    font-size: 45px;
    color: var(--primary);
    transition: all .2s ease-in-out;
}

.homepage_blocks .block:hover .icon {
    transform: scale(1.3);
    color: #0C477F;
}

.homepage_blocks .block h2 {
    font-family: 'BioRhyme', serif;
    font-size: 15px;
    font-weight: normal;
    padding: 5px 0 10px;
}

.homepage_blocks .block .border {
    position: absolute;
    bottom: 5px;
    right: 0;
    height: 85%;
    width: 1px;
    background: #D3D3D3;
}

.homepage_blocks .block p {
    margin: 0;
}

/* homepage - portfolio */
.homepage_portfolio {
    background: #FFF;
    padding: 30px 0 50px;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}

.homepage_portfolio .content {
    text-align: center;
}

.homepage_portfolio .homepage_port {
    width: 50%;
    float: left;
}

.homepage_portfolio .homepage_port span {
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.homepage_portfolio .homepage_port .port_image {
    padding: 0 20px;
}

/* homepage - employee */
.homepage_team {
    padding: 40px 0 20px;
    background: url('../images/gray.jpg');
    background-size: cover;
}

.homepage_team h2 {
    text-align: center;
}

.homepage_employees .employee {
    position: relative;
    margin: 65px 0 0;
    padding: 0 12px 25px;
}

.homepage_employees .employee_image {
    max-width: 180px;
    margin: auto;
    position: absolute;
    top: -50px;
    right: 0;
    left: 0;
}

.homepage_employees .employee_image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center top;
}

.homepage_employees .employee_image img {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 3px solid var(--primary);
}

.homepage_employees .employee_content {
    background: #FFF;
    padding: 140px 20px 12px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 2px solid var(--primary);
    min-height: 300px;
    max-height: 300px;
    height: 300px;

}

.homepage_employees .employee_content p {
    overflow: hidden;
    height: 70px;
}
.homepage_employees .employee_content h3 {
    display: block;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    line-height: 100%;
}

.homepage_employees .employee_content span {
    display: block;
    font-size: 13px;
    text-align: center;
    color: #777;
    margin-bottom: 5px;
}

.homepage_employees .employee_content .employee_link {
    font-weight: bold;
    text-align: center;
}

/* homepage - icons */
.homepage_icons {
    border-top: 1px solid var(--primary);
    padding: 30px 0 20px;
}

.homepage_icons .block {
    width: 25%;
    float: left;
    padding: 10px 20px 0;
    text-align: center;
}

.homepage_icons .block .icon {
    font-size: 35px;
    color: #FFF;
    padding: 0 0 10px;
    text-align: center;
}

.homepage_icons .block .icon span {
    display: inline-block;
    height: 90px;
    width: 90px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    opacity: 0.7;
    padding-left: 2px;
}

.homepage_icons .block:hover .icon span {
    opacity: 1;
}

.homepage_icons .block.first .icon span {
    background: #44B2CD;
}

.homepage_icons .block.second .icon span {
    background: #FE4743;
}

.homepage_icons .block.third .icon span {
    background: #F4B74C;
}

.homepage_icons .block.fourth .icon span {
    background: #169E86;
}

.homepage_icons .block .icon svg {
    height: 90px;
}

.homepage_icons .block h2 {
    font-size: 18px;
    padding: 0 0 5px;
    color: #000;
}

.employees {
    position: relative;
    min-height: 407px;
}

.employees .carousel-loader {
    width: 100%;
    height: 346px;
    text-align: center;
    font-size: 25px;
    position: absolute;
    top: 160px;
}

.homepage_employees a:hover {
    text-decoration: none;
}
.homepage_employees a:hover .employee_content {
    color: #fff;
    background: var(--primary);
}

/* portfolio page */
.portfolio .port_item {
    width: 33%;
    float: left;
    padding: 20px;
}

.portfolio .port_item h3 {
    text-align: center;
}

/* team page */
.team {
    padding: 10px 0 0;
}

.team .employee {
    border-top: 2px dashed rgba(36,89,139,0.3);
    padding: 25px 0 15px;
}

.team .employee h2 {
    font-size: 20px;
    padding: 0 0 5px;
    text-align: center;
}

.team .employee .image img {
    display: block;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    max-width: 200px;
    margin: auto;
    width:200px;
    float: left;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    margin-right: 20px;
}

.team .employee .text {
    width: 80%;
    /* float: left; */
    padding-left: 10px;
}

/* contact page */
.contact {
    text-align: center;
}

.contact .contact_text {
    display: inline-block;
    text-align: left;
    color: #FFF;
    background: var(--primary);
    padding: 15px 50px 10px 40px;
    margin: 10px 0 25px;
    opacity: 0.85;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: left;
}

.content .left {
    float: left;
    width: 20%;
}

.content .right {
    float: left;
    margin-left: 2%;
    width: 20%;
}


.topcontent .content {
    overflow: hidden;
}


.main-content {
    margin: 0 auto;
}

.main-content {
    text-align: center;
}
