/*
Theme Name: officeatwork theme
Theme URI: //localhost
Description: Custom theme created for a client by Ksenia Ivanova
Version: 1.0
Author: Ksenia Ivanova
Author URI: //localhost
*/

/*-----------------------------------------------------------------------------------

0 - CSS Reset
1 - General
2 - Content Areas
3 - Navigation
4 - Header
6 - Footer
7 - Post/Pages
8 - Footer
9 - Media Queries

-----------------------------------------------------------------------------------*/

/*--------------- 0 - CSS Reset ----------------*/

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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-family: SegoeUI-Light, "Helvetica Neue";

}

/*HTML5 display-role reset for older browsers*/
article, aside, details, figcaption, figure, footer, header, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a, a:hover, a:active, a:visited {
    text-decoration: none !important;
    color: inherit !important;
}

/*--------------- 1 - General ----------------*/

/*-----------------------------------------------
Fonts
-----------------------------------------------*/
@font-face {
    font-family: 'SegoeUI-Light';
    src: url('fonts/SegoeUILight.eot');
    src: url('fonts/SegoeUILight.woff') format('woff'),
    url('fonts/SegoeUILight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SegoeUI-Regular';
    src: url('fonts/SegoeUIRegular.eot');
    src: url('fonts/SegoeUIRegular.woff') format('woff'),
    url('fonts/SegoeUIRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/*-----------------------------------------------
Document Styling
-----------------------------------------------*/
html,
body {
    height: auto;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
    -webkit-font-smoothing: antialiased !important;
}

body {
    position: absolute;
    padding: 0 !important;
}

.clearfix {
    clear: both;
}


.modal br {
    display: none;
}

ul li {
    margin-left: 20px;
    list-style: none;
    position: relative;
}

ul li:before {
    content: url('images/dot.png');
    display: inline-block;
    top: -5px;
    left: -18px;
    position: absolute;
}

li ul {
    margin-left: 40px;
}
/*-----------------------------------------------
Text Styling
-----------------------------------------------*/
.title {
    width: 100%;
    text-align: center;
    color: #000000;
    font-size: 5rem;
    line-height: 1.25em;
}

li.title {
    margin-left: 0;
    list-style: none !important;
}

li.title:before {
    display: none;
}

.content-text {
    margin: 2em auto;
    font-size: 2rem;
    line-height: 1.5em;
    color: #000000;
    text-align: center;
    width: 60%;
}


section {
    padding: 7rem 0;
}

/*-----------------------------------------------
Button Styling
-----------------------------------------------*/
.visible {
    opacity: 1;
    pointer-events: auto;
}

.unvisible {
    opacity: 0;
    pointer-events: none;
}

.button-style {
    height: auto;
    width: auto;
    padding: 0.5em 3em;
    margin: 4rem auto;
    background: #3366a1;
    color: #ffffff;
    font-size: 3rem;
    line-height: 1em;
    text-align: center;
    border: none;
    outline: none !important;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.button-style:hover {
    background: #3870B1;
}

.button-style:active {
    background: #2E5C91;
}

input[type="checkbox"] {
    opacity: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

input[type="checkbox"] + span {
    margin-left: -35px;
}

input[type="checkbox"] + span:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: -1px 10px 0px 0;
    vertical-align: middle;
    color: #000000;
    background-image: url('images/unchecked.png');
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

input[type="checkbox"]:checked + span:before {
    content: "";
    width: 30px;
    height: 30px;
    background-image: url('images/checked.png');
}

/*-----------------------------------------------
Inputs Styling
-----------------------------------------------*/

.input-style {
    background: rgba(0, 0, 0, 0);
    border: 1px solid #000000;
    width: 100%;
    height: auto;
    font-size: 2rem;
    line-height: 1.5em;
    color: #000000;
    text-align: left;
    margin: 0 auto;
    margin-bottom: 1em;
    display: block;
    padding: 0.25em 0.5em;
}

textarea {
    height: auto !important;
    resize: none;
    background: rgba(0, 0, 0, 0);
}

input[type=text],
input[type=checkbox],
textarea {
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.wpcf7-list-item {
    font-size: 2rem;
    display: inline-block;
    text-align: left;
    width: 100%;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus {
    border: 1px solid #3366a1;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(51, 102, 161, 0.75);
    -moz-box-shadow: 0px 0px 1px 1px rgba(51, 102, 161, 0.75);
    box-shadow: 0px 0px 1px 1px rgba(51, 102, 161, 0.75);
    outline: 0;
    background: none;
    color: #000000;
}

.input-lable-style {
    display: block;
    width: 100%;
    font-size: 2.5rem;
    line-height: 1em;
    color: #000000;
    text-align: left;
    margin: 0.3em auto;
}

.wrong {
    border: 1px solid #ec2c25;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(236, 44, 37, 1);
    -moz-box-shadow: 0px 0px 1px 1px rgba(236, 44, 37, 1);
    box-shadow: 0px 0px 1px 1px rgba(236, 44, 37, 1);
    background-color: rgba(0, 0, 0, 0) !important;
    color: #ec2c25;
}

.successful {
    border: 1px solid #86a139;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(134, 161, 57, 1);
    -moz-box-shadow: 0px 0px 1px 1px rgba(134, 161, 57, 1);
    box-shadow: 0px 0px 1px 1px rgba(134, 161, 57, 1);
    background-color: rgba(0, 0, 0, 0) !important;
    color: #86a139;
}

.wpcf7-response-output {
    font-size: 2.5rem;
    line-height: 2.5rem;
    height: auto;
    width: 100%;
    padding: 1rem 0 !important;
    margin: 0 !important;
    border: none !important;
    text-align: center;
    position: absolute;
}

.wpcf7-validation-errors {
    color: #ec2c25;
}

.wpcf7-mail-sent-ok {
    color: #86a139;
}

fieldset {
    margin: 2rem 0 !important;
    padding: 2rem 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

legend {
    width: 20rem !important;
    border-bottom: none !important;
}

/*-----------------------------------------------
Placeholder Styling
-----------------------------------------------*/
::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.9);
}

::-moz-placeholder {
    color: rgba(0, 0, 0, 0.9);
}

/* Firefox 19+ */
:-moz-placeholder {
    color: rgba(0, 0, 0, 0.9);
}

/* Firefox 18- */
:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.9);
}

.wrong::-webkit-input-placeholder {
    color: #ec2c25;
}

.wrong::-moz-placeholder {
    color: #ec2c25;
}

/* Firefox 19+ */
.wrong:-moz-placeholder {
    color: #ec2c25;
}

/* Firefox 18- */
.wrong:-ms-input-placeholder {
    color: #ec2c25;
}

:focus::-webkit-input-placeholder {
    color: transparent
}

:focus::-moz-placeholder {
    color: transparent
}

:focus:-moz-placeholder {
    color: transparent
}

:focus:-ms-input-placeholder {
    color: transparent
}

::-webkit-input-placeholder {
    opacity: 1;
    transition: opacity 0.3s ease;
}

::-moz-placeholder {
    opacity: 1;
    transition: opacity 0.3s ease;
}

:-moz-placeholder {
    opacity: 1;
    transition: opacity 0.3s ease;
}

:-ms-input-placeholder {
    opacity: 1;
    transition: opacity 0.3s ease;
}

:focus::-webkit-input-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus::-moz-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus:-moz-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

:focus:-ms-input-placeholder {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/*--------------- 2 - Content Areas ----------------*/
/*-----------------------------------------------
Homepage
-----------------------------------------------*/
#homepage {
    height: 100%;
}

.block-wrapper {
    height: 30em;
    float: left;
    margin-top: 3px;
    overflow: hidden;
}

.block {
    height: 100%;
    width: 100%;
    padding: 0 !important;
    background-position: center center;
    background-size: cover;
    position: relative;
    float: left;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
}

#news .block:hover,
#testimonials .block:hover {
    transform: scale(1.1);
}

.block:before {
    content: '';
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.block-text-wrapper {
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}

.block-text {
    font-size: 7rem;
    line-height: 1em;
    color: #ffffff;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
}

.vertical-line {
    height: 40rem;
    width: 3px;
    background: #ffffff;
    position: absolute;
    top: 0;
    left: -1px;
}

#news {
    margin-right: 3px;
    margin-left: -3px;
}

#news,
#testimonials {
    width: 50%;
}

#satisfied-clients .jcarousel ul li h3,
#satisfied-clients .jcarousel ul li p {
    display: none;
}
.jcarousel ul li:before {
    display: none;
}
#satisfied-clients .easy-logo_image {
    height: 10rem !important;
}
.easy-logo_image {
    cursor: pointer;
}

#satisfied-clients,
#benefits,
#contact-us {
    width: 100%;
    height: auto;
    text-align: center;
    float: left;
}

#benefits {
    margin-top: 3px;
}

#benefits .title {
    background: #3366a1;
    color: #ffffff;
    padding: 0.7em 0;
}

#office-applications {
    margin-left: -3px;
    margin-right: 3px;
}

#business-applications {
    margin-left: 3px;
    margin-right: -3px;
}

#benefits .block-wrapper {
    width: 33.333%;
}


#benefits .block-text {
    font-size: 3.5rem;
    line-height: 1.1em;
    display: block;
}

.benefit-title {
    margin: 1.5em 2em 1em 2em;
}

.benefit-item {
    font-family: SegoeUI-Regular, "Helvetica Neue";
    padding: 0.5rem 0;
    margin: 0 1em;
    cursor: pointer;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.benefit-item:hover {
    background: rgba(0, 0, 0, 0.2);
}

#benefits .block-text-wrapper {
    display: block;
}

.benefit-description {
    display: none;
}

#contact-us .title {
    margin-bottom: 0.7em;
}
div.wpcf7 img.ajax-loader {
    margin-right: -16px !important;
}
/*-----------------------------------------------
Slider
-----------------------------------------------*/
.jcarousel-wrapper {
    box-shadow: none !important;
}

.jw_easy_slider_name,
.jcarousel-pagination {
    display: none !important;
}

.jcarousel-control-prev,
.jcarousel-control-next {
    top: 3rem !important;
}

.jcarousel-control-prev {
    left: -8rem !important;
}

.jcarousel-control-next {
    right: -8rem !important;
}

.jcarousel ul li {
    width: 14em !important;
}

.jcarousel img {
    margin-bottom: 0 !important;
}

#testimonials-page .wrapper {
    width: 60rem;
    margin-bottom: 3em;
}

#testimonials-page .jcarousel-pagination {
    display: block !important;
    bottom: -3rem !important;
}

#testimonials-page .jcarousel ul li {
    width: 56rem !important;
}

#testimonials-page .jcarousel ul li h3 {
    display: none;
    color: #3366a1;
    font-size: 3rem;
    line-height: 1em;
    text-align: center;
}

#testimonials-page .jcarousel ul li p {
    font-size: 2rem;
    line-height: 1.3em;
    color: #000000;
    text-align: center;
}
#testimonials-page .easy-logo_image {
    margin-bottom: 3em !important;
}

#testimonials-page .jcarousel-control-prev,
#testimonials-page .jcarousel-control-next {
    top: 2.5em !important;
}

.jcarousel-pagination a {
    border: 1px solid #3366a1 !important;
}

.jcarousel-pagination a.active {
    background: #3366a1 !important;
}

/*-----------------------------------------------
Modal
-----------------------------------------------*/
.modal {
    position: fixed;
    z-index: 1000000 !important;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 0 !important;
}

.modal-dialog {
    width: 100% !important;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0) !important;
    margin: 0 auto !important;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0) !important;
    box-shadow: none !important;
    border: none !important;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    margin: 0 auto;
    border-radius: 0px !important;
}

.modal-header {
    background-color: #3366a1 !important;
    border-radius: 0px !important;
    height: auto;
    padding: 15px 70px !important;
}

.modal-header .close {
    margin-top: -6px !important;
}

.bootstrap-dialog .bootstrap-dialog-title,
.modal-title {
    font-size: 2.5em !important;
    width: auto;
    margin: 0 auto;
    color: #fff;
}

.modal-body {
    width: 70%;
    margin: 0 auto;
    height: auto;
    padding: 4em 0 !important;
    padding-top: 3em !important;
}

.bootstrap-dialog-message {
    font-size: 2rem !important;
    line-height: 1.3em;
}

.close {
    background-image: url("images/close-modal-image.png") !important;
    background-size: cover !important;
    height: 50px;
    width: 50px;
    opacity: 1 !important;
    color: rgba(0, 0, 0, 0) !important;
    text-shadow: none !important;
    position: absolute;
    right: 10px;
    top: 15px;
    outline: none;
}

/*-----------------------------------------------
Support page
-----------------------------------------------*/
.tab {
    display: none;
    width: 70%;
    margin: 0 auto;
    -webkit-animation: opac 1s;
    animation: opac 1s;
}

.tabs {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #3366a1;
}

.tabs li {
    width: auto;
    height: auto;
    float: left;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1em;
    color: #000000;
    text-align: center;
    padding: 0.7em 1.5em;
    background: #ffffff;
    border: 1px solid #3366a1;
    list-style: none;
    border-right: none;
    border-bottom: none;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
    cursor: pointer;
}

.tabs li:nth-last-child(2) {
    border-right: 1px solid #3366a1;
}

.tabs li:first-child {
    margin-left: 6rem;
}

.tabs .selected {
    background: #3366a1;
    color: #ffffff;
}

#support-page #support-form {
    display: block;
}
.wufoo-form-title {
    text-align: left;
    font-size: 4rem;
    line-height: 1.5em;
}
/*-----------------------------------------------
News and Jobs pages
-----------------------------------------------*/
.filtering-wrapper {
    width: 100%;
    height: auto;
    background: #3366a1;
    text-align: center;
    padding: 0.5em 0;
}

.filtering {
    width: auto;
    height: auto;
    margin: 0 auto;
}

.filtering li {
    background: #3366a1;
    width: auto;
    list-style: none;
    display: inline-block;
    padding: 0.2em;
    margin: 0 0.2em;
    color: #ffffff;
    cursor: pointer;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
    border-bottom: 3px solid rgba(0, 0, 0, 0);
}

.filtering li:hover {
    background: #3870B1;
}

.filtering .selected {
    border-bottom: 3px solid #ffffff;
}

#news-page .tab:first-child {
    display: block;
}
#news-page,
#jobs-page {
    padding-bottom: 4rem;
}
#news-page .tab,
#jobs-page .tab {
    width: 100%;
}

.post-wrapper {
    height: 100%;
    list-style: none;
    margin-top: 4rem;

}
.post-wrapper.col-lg-6 {
    width: 49%;
    vertical-align: top;
    display: inline-block;
    float: none;
}
.post-header {
    min-height: 25em;
    margin: 0 0.5em;
    padding: 3.5em 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.post-title-wrapper {
    background: rgba(255, 255, 255, 0.8);
    min-height: 20em;
    width: 80%;
    margin: 0 auto;
    display: table;
    padding: 2em;
}

.post-title {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 3rem;
    line-height: 1em;
    color: #000000;
}

.post-text {
    font-size: 2rem;
    line-height: 1.3em;
    color: #000000;
    text-align: center;
    margin-top: 1em;
    padding: 0 0.5em;
    width: 100%;
}

.post-date {
    margin-top: 0.5em;
    font-size: 0.6em;
    line-height: 1.5em;
    text-align: center;
}

.post-date img {
    height: 1.5em;
    width: auto;
    margin-bottom: 0.3em;
}

.pagination .screen-reader-text {
    display: none;
}

.pagination {
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.page-numbers {
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 0.5rem 1rem;
    color: #000000;
    border: 1px solid #3366a1;
    background: #ffffff;
    font-family: SegoeUI-Regular, "Helvetica Neue";
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.prev,
.next {
    font-size: 2rem;
    padding: 0.4rem 0.7rem;
    padding-top: 0;
}

.page-numbers:hover,
.current {
    background: #3366a1;
    color: #ffffff !important;
}

/*-----------------------------------------------
Partners page, Testimonials page
-----------------------------------------------*/
#partners-page,
#testimonials-page {
    text-align: center;
}

#partners-page .button-style,
#testimonials-page .button-style {
    font-size: 2em;
    height: 2em;
    line-height: 1em;
}


/*-----------------------------------------------
Clients page
-----------------------------------------------*/
#clients-page {
    margin: 4rem 0;
}

.client-logo {
    text-align: center;
}

.client-logo img {
    width: 80%;
    height: auto;
    margin: 3rem 0;
}

/*-----------------------------------------------
Products page, Services page
-----------------------------------------------*/
#products-page,
#services-page,
#service-page,
#education-subcategory-page {
    text-align: center;
}

#products-page .title,
#service-page .title,
#services-page .title {
    padding: 0.5em 20%;
    color: #ffffff;
    background: #3366a1;
}
#products-page .title,
#service-page .title,
#services-page .title {
    margin-bottom: 8rem;
}
#products-page .title:first-child,
#services-page .title {
    margin-top: 0;
}

.product-wrapper,
.service-wrapper {
    width: 18em;
    height: 18em;
    overflow: hidden;
    margin: 0 2%;
    margin-bottom: 8rem;
    display: inline-block;
}

.product,
.service {
    background-repeat: no-repeat;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.product.block:before {
    background: rgba(0,0,0,0);
}

.product.block .post-title {
    opacity: 0;
}
.product.block:hover:before {
    background: rgba(0,0,0,0.5);
}

.product.block:hover .post-title {
    opacity: 1;
}

.product:hover,
.service:hover {
    transform: scale(1.1);
}

#products-page .post-title,
#services-page .post-title,
#service-page .post-title,
#education-subcategory-page .post-title {
    color: #ffffff;
}

#products-page .post-title-wrapper,
#services-page .post-title-wrapper,
#service-page .post-title-wrapper,
#education-subcategory-page .post-title-wrapper {
    width: 25rem;
    height: 25rem;
    position: absolute;
    background: none;
    margin: 0;
}

#products-page .block,
#services-page .block,
#service-page .block,
#education-subcategory-page .block {
    float: none;
}

/*--------------- 3 - Navigation ----------------*/
#nav-menu {
    float: right;
    right: 0;
    width: auto;
    margin: 0;
    position: fixed;
    z-index: 10000;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
}

#nav-menu li {
    float: left;
    font-size: 2.5rem;
    color: #3366a1;
    height: 2em;
    text-align: center;
    margin: 0.6em 0;
    margin-left: 3px;
    list-style: none;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
    position: relative;

}

#nav-menu li:before {
    display: none;
}
#nav-menu li a {
    display: block;
    width: 100%;
    padding: 0.2em 0.5em;
}
#nav-menu li:after {
    position: absolute;
    right: -2px;
    top: 0.3em;
    content: ' ';
    height: 1.4em;
    width: 1px;
    background: #3366a1;
}

#nav-menu li:last-child {
    margin-right: 15px;
}

#nav-menu li:last-child:after {
    width: 0;
}

#nav-menu li:hover {
    background: #3366a1;
    color: #ffffff;
}

#nav-menu li .sub-menu {
    position: absolute;
    pointer-events: none;
    cursor: default;
    width: 13em;
    top: 1.2rem;
    left: 0;
    margin: 0 !important;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

#nav-menu li .sub-menu li {
    font-size: 0.8em;
    line-height: 1em;
    opacity: 0;
    height: auto;
    background: #3366a1;
    text-align: left;
    color: #ffffff;
    float: none;
    display: block;
    margin: 0;
}
#nav-menu li .sub-menu li a {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
}

#nav-menu li .sub-menu li:after {
    display: none;
}

#nav-menu li .sub-menu li:first-child {
    margin-top: 1.9em;
}

#nav-menu li:hover .sub-menu li {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

#nav-menu li .sub-menu li:hover {
    background: #3870B1;
}

.menu-button {
    height: 40px;
    margin: 20px 0;
    float: right;
    position: relative;
}

.open-menu-button,
.close-menu-button {
    height: 100%;
    width: auto;
    position: absolute;
    right: 15px;
    box-sizing: content-box;
    margin-top: -10px;
    border: 10px solid rgba(0, 0, 0, 0);
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
    cursor: pointer;
}
.open-menu-button:hover,
.close-menu-button:hover {
    background: rgba(0, 0, 0, 0.15);
}
#footer-menu {
    position: absolute;
    width: 100%;
    margin-top: 8em;
    text-align: center;
}

#footer-menu li {
    height: 2em;
    margin-right: -1px;
    position: relative;
    display: inline-block;
    list-style: none;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.5em;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
    margin-left: 0;
}
#footer-menu li a {
    font-family: 'SegoeUI-Regular', "Helvetica Neue";
    display: block;
    width: 100%;
    padding: 0.2em;
}

#footer-menu li:before {
    display: none;
}
#footer-menu li:last-child {
    border-right: none;
}

#footer-menu li:after {
    position: absolute;
    right: -2px;
    top: 0.3em;
    content: ' ';
    height: 30px;
    width: 1px;
    background: #ffffff;
}

#footer-menu li:last-child:after {
    display: none;
}

#footer-menu li:hover {
    background: rgba(255, 255, 255, 0.2);
}

/*--------------- 4 - Header ----------------*/

#top-header {
    height: 80px;
    width: 100%;
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10000;
}

.logo-wrapper {
    float: left;
    margin: 20px 0;
    height: 40px;
    padding: 5px 0;
}

#header {
    width: 100vw;
    height: 60vh;
    margin-top: 80px;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#homepage #header {
    background-image: url('images/front-page-bg.jpg');
    background-position: 70% 60%;
}

#header:before {
    content: '';
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.social-bar,
.contact-us-button {
    height: auto;
    width: auto;
    padding: 10px;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
    -webkit-transition: all ease .5s;
    transition: all ease .5s;
}

.social-bar span {
    display: none;
}

.contact-us-button {
    top: 400px;
    padding: 0 10px;
    width: 180px;
    -webkit-transform: translateX(-120px);
    transform: translateX(-120px);
}

.contact-us-button:hover {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.social-icon {
    height: 40px;
    width: auto;
    display: block;
    margin: 10px 0;
}

.contact-us-button p {
    font-size: 2rem;
    float: left;
    line-height: 2em;
    color: #ffffff;
    display: inline-block;
    margin: 0;
    font-weight: 800;
    margin-right: 10px;
}

.contact-us-button a {
    height: auto;
    width: auto;
    margin: 0.7em 0.2em;
    display: inline-block;
    float: right;
}

.social-icon img {
    height: 40px;
    width: 40px;
}

.contact-us-button img {
    height: 30px;
    width: 40px;
    margin: 1.05em 0;
    float: right;
}

.header-text-wrapper {
    padding: 0 5rem 5rem 20%;
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: right;
}

.header-text {
    font-size: 10rem;
    line-height: 1em;
    color: #ffffff;
    text-align: right;
    display: table-cell;
    vertical-align: bottom;
}

/*---------------  - Footer ----------------*/
#footer {
    background-position: center center;
    background-size: cover;
    min-height: 25em;
    height: auto;
    width: 100%;
    text-align: center;
    padding: 5em 0;
    position: relative;
    float: left;
}

#footer:before {
    content: '';
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.back-to-top {
    height: 50px;
    width: 100%;
    margin: 0 auto;
    position: absolute;
}

.back-to-top img {
    height: 100%;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.back-to-top img:hover {
    transform: scale(1.2);
}

.line {
    height: 1px;
    background: #ffffff;
    width: 80%;
    left: 10%;
    margin-top: 6em;
    position: absolute;
}

#qtranslate-chooser {
    position: absolute;
    bottom: 5em;
    width: 100%;
    margin: 0 auto;
    list-style: none;
}

#qtranslate-chooser li {
    display: inline-block;
    width: 3em;
    height: 2em;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
    margin-left: 0;
}

#qtranslate-chooser li:before {
    display: none;
}

#qtranslate-chooser li:hover {
    background: rgba(255, 255, 255, 0.2);
}

#qtranslate-chooser .active {
    background: rgba(255, 255, 255, 0.2);
}

#qtranslate-chooser li a {
    text-align: center;
}

#qtranslate-chooser li a img {
    width: auto;
    height: 1em;
    margin: 0.5em auto;
}

/*---------------  - Media Queries ----------------*/
/*-----------------------------------------------
Mobile (portrait)
-----------------------------------------------*/
@media screen and (min-width: 320px) {

}

/*-----------------------------------------------
Mobile only
-----------------------------------------------*/
@media screen and (min-width: 320px) and (max-width: 767px) {
    #footer,
    #footer:before {
        min-height: 38em;
    }

    #footer-menu li {
        background: rgba(255, 255, 255, 0.2);
        width: 80%;
        margin-left: 10%;
        display: block;
        padding: 0.2em;
        margin-top: 0.3em;
    }

    #footer-menu li:before {
        display: none;
    }

    .header-text-wrapper {
        padding: 0 1em;
    }

    .header-text {
        font-size: 4.5em;
        line-height: 0.9em;
        padding-bottom: 0.3em;
    }

    #news {
        margin: 0;
        margin-top: 3px;
    }

    #news,
    #testimonials {
        width: 100%;
    }

    #top-header {
        height: 60px;
    }

    .logo-wrapper {
        margin: 10px 0;
    }

    .menu-button {
        margin: 10px 0;
    }

    .social-bar {
        top: 60px;
        height: 60px;
        width: 310px;
        margin-left: -250px;
    }

    .social-bar:hover {
        margin-left: 0;
    }

    .social-bar span {
        display: inline-block;
        float: right;
        margin: 0;
    }

    .social-bar span img {
        border-radius: 6px;
    }

    .contact-us-button {
        top: 130px;
    }

    .social-icon {
        display: inline-block;
        height: 30px;
        margin: 0 0.25rem;
    }

    .jcarousel-control-prev {
        left: -2em !important;
    }

    .jcarousel-control-next {
        right: -2em !important;
    }

    .wrapper {
        width: 23rem;
        margin: 0 auto;
    }

    .content-text,
    .tab {
        width: 90%;
    }

    .tabs li {
        width: 100%;
        border: none;
        border-bottom: 1px solid #3366a1;
    }

    .tabs li:last-child,
    .tabs li:nth-last-child(2) {
        border: none;
    }

    .tabs li:first-child {
        border-top: 1px solid #3366a1;
    }

    .post-header {
        min-height: 20rem;
        padding: 3rem 0;
    }

    .post-title-wrapper {
        min-height: 14rem;
    }

    .bootstrap-dialog .bootstrap-dialog-title {
        font-size: 3rem !important;
    }

    .modal-body {
        width: 90%;
    }
}

/*-----------------------------------------------
Mobile (landscape) only
-----------------------------------------------*/
@media screen and (min-width: 568px) and (max-width: 767px) {
    .jcarousel-control-prev {
        left: -2.5em !important;
    }

    .jcarousel-control-next {
        right: -2.5em !important;
    }

    .wrapper {
        width: 42rem;
        margin: 0 auto;
    }

    .client-logo {
        width: 50% !important;
    }

    .header-text-wrapper {
        padding: 0 1.5em 1em 5em;
    }

    #header {
        height: 100vh;
    }
}

/*-----------------------------------------------
Tablet (portrait)
-----------------------------------------------*/
@media screen and (min-width: 768px) {
    .social-bar {
        top: 80px;
    }

    #partners-page .wrapper,
    .wrapper {
        width: 64rem;
        margin: 0 auto;
    }

    .modal-body {
        width: 80%;
    }

}

/*-----------------------------------------------
Mobile and Tablet only
-----------------------------------------------*/
@media screen and (min-width: 320px) and (max-width: 1023px) {

    .menu-header-menu-container {
        height: 1px;
    }

    #nav-menu {
        position: fixed;
        right: -70%;
        top: 0;
        height: 100%;
        width: 70%;
        overflow-y: scroll;
        z-index: 100;
    }

    .body-opened {
        right: 70%;
    }
    .nav-menu-opened {
        right: 0 !important;
    }

    #nav-menu li {
        float: none;
        color: #3366a1;
        height: auto;
        background: rgba(255, 255, 255, 0.9);
        padding: 14px;
        text-align: left;
        margin: 0;
        border-bottom: 1px solid #3366a1;
    }

    #nav-menu li:hover,
    #nav-menu li .sub-menu li:hover {
        background: rgba(0, 0, 0, 0.3);
        color: #ffffff;
    }

    #nav-menu li:after {
        display: none;
    }

    #nav-menu li:last-child {
        margin-right: 0;
        border-bottom: none;
    }

    #nav-menu li .sub-menu {
        position: inherit;
        pointer-events: auto;
        cursor: pointer;
        width: 100%;
    }

    #nav-menu li .sub-menu li {
        opacity: 1;
        border: none;
        color: #3366a1;
        background: rgba(0, 0, 0, 0.05);
    }

    #nav-menu li .sub-menu li:first-child {
        margin-top: 0.3em;
    }

    #nav-menu li .sub-menu li:last-child {
        margin-bottom: 1em;
    }

    .block-wrapper {
        height: 25em;
    }

    .block-text {
        font-size: 3.5em;
        line-height: 4em;
    }

    .title {
        font-size: 2.5em;
        line-height: 2em;
    }

    #benefits .block-wrapper {
        width: 100%;
        margin: 0;
        margin-top: 3px;
    }

    #benefits .block-text {
        font-size: 2em;
    }

    .benefit-title {
        margin-top: 2.5em;
    }

    .tabs li:first-child {
        margin-left: 0;
    }

    .post-title {
        font-size: 2em;
        line-height: 1em;
    }

    #testimonials-page .wrapper {
        width: 85% !important;
    }

    #testimonials-page .jcarousel ul li {
        width: 84vw !important;
    }
}

/*-----------------------------------------------
Tablet (portrait) only
-----------------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .header-text-wrapper {
        padding-left: 5em;
    }

    .header-text {
        line-height: 0.9em;
    }

    #nav-menu li {
        font-size: 2.5em;
    }

    .jcarousel-control-prev {
        left: -2.5em !important;
    }

    .jcarousel-control-next {
        right: -2.5em !important;
    }

    .content-text,
    .tab {
        width: 80%;
    }

    .tabs li {
        width: 50%;
    }

    .tabs li:first-child,
    .tabs li:nth-last-child(3) {
        border-left: none;
    }

    .tabs li:nth-last-child(2) {
        border-right: none;
    }

    .post-header {
        min-height: 30rem;
    }

    .post-title-wrapper {
        min-height: 20rem;
    }
}

/*-----------------------------------------------
Tablet (landscape) and Desktops
-----------------------------------------------*/
@media screen and (min-width: 1024px) {
    .menu-button {
        display: none;
    }

    .social-bar {
        top: 100px;
    }

    #partners-page .wrapper {
        width: 68rem;
        margin: 0 auto;
    }
    #homepage .wrapper {
        width: 112rem;
    }
    .wrapper {
        width: 100%;
        margin: 0 auto;
    }
    .jcarousel ul {
        text-align: left !important;

    }
    #partners-page .jcarousel ul, #homepage .jcarousel ul, #testimonials-page .jcarousel ul {
        text-align: center !important;
    }

    .jcarousel ul li {
        margin: 0 1rem;
    }
}

/*-----------------------------------------------
Tablet (landscape) only
-----------------------------------------------*/
@media screen and (min-width: 1024px) and (max-width: 1200px ) {

    .jcarousel-control-prev {
        left: -2.5em !important;
    }

    .jcarousel-control-next {
        right: -2.5em !important;
    }
}

/*-----------------------------------------------
 Printing
-----------------------------------------------*/
@media print {

    a, form, img {
        display: none !important;
    }
    .content-text a {
        display: inline-block !important;
    }
    .content-text {
        font-size: 18px !important;
        text-align: left !important;
        width: 100%;
    }
    #header {
        height: 100px !important;
    }
    .header-text-wrapper {
        margin: 0;
        padding: 0;
    }
    .header-text {
        font-size: 36px;
        text-align: left;
        width: 100%;
    }
    .title {
        font-size: 27px;
        text-align: left;
    }
    .block-wrapper {
        width: auto !important;
        height: auto !important;
    }

}