html, body {
    height: 100%;
}

body {
    background: #000;
    color: #fff;
    font-family: "Rubik", sans-serif;
    font-weight: 300;
}

header {
    background: #fff;
    color: #000;
    z-index: 9999;
    position: relative;
}

ul {
    margin: 0;
    padding: 0;
}

header #logo h1 {
    background: url('img/bookkeeper_logo_2.png') no-repeat;
    text-indent: -99999px;
    outline: none;
    width: 300px;
    height: 45px;
    margin: 20px auto;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    header #logo h1 {
        background: url('img/bookkeeper_logo_2@2x.png') no-repeat;
        background-size: 300px 45px;
    }
}

header nav {
    list-style: none;
}

header nav li {
    list-style: none;
    text-align: center;
    font-size: 14px;
    padding: 5px 0;
}

header nav li a {
    text-decoration: none;
    display: block;
    padding: 3px 0;
    color: #000;
}

header nav li.active a {
    color: #00A89C;
}

header nav li a:hover {
    text-decoration: underline;
    color: #000;
}

header nav li.login a {
    color: #00A89C;
}

#home {
    height: 500px;
    position: relative;
}

#home .quote-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    min-width: 200px;
    color: #fff;
}

#quote-subject {
    padding: 0 10px;
    border-radius: 5px;
}

#subjects {
    display: none;
}

#subjects.expanded {
    height: 100%;
    border-top: 105px solid #fff;
}

.subject-intro {
    text-align: center;
}

.subject-text {
    text-align: center;
}

#subjects-mobile {
    background: #1AD7FF;
}

#subjects-mobile .subject-wrapper {
    padding-bottom: 0;
}

#subjects-mobile .subject-wrapper:last-child {
    padding-bottom: 50px;
}

#subjects-mobile .subject {
    padding: 0 10%;
}

.subject {
    text-align: center;
}

.subject-wrapper {
    padding: 50px;
    position: relative;
    text-align: center;
}

a.subject {
    display: block;
    color: #fff;
    position: relative;
}

.subject-wrapper .read-more {
    font-style: italic;
    position: absolute;
    bottom: 30px;
    display: block;
    width: 100%;
    text-align: center;
}

.read-more-mobile {
    color: #fff;
    font-style: italic;
}

.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 15px 15px 15px;
    border-color: transparent transparent #18b5da transparent;
    position: absolute;
    left: 50%;
    top: -15px;
    margin-left: -15px;
    display: none;
}

.subject:hover {
    text-decoration: none;
}

.subject h2 {
    margin: 0;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
}

#subjects-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
}

#subjects-text h2 {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}

.subject-intro {
    padding: 20px 0 0 0;
}

a.subject:hover h2{
    text-decoration: underline;
}

.subject:hover .triangle {
    display: block;
}

#subjects-close {
    position: absolute;
    top: 30px;
    right: 30px;
    display: block;
    width: 30px;
    height: 30px;
    background: url('img/close.png');
    text-indent: -99999px;
    outline: none;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    #subjects-close {
        background: url('img/close@2x.png');
        background-size: 30px 30px;
    }
}

.quote-link {
    text-align: center;
}

.quote-link a {
    font-size: 18px;
    border-radius: 30px;
    padding: 15px 20px;
    background: #fff;
    color: #00A59B;
}

#home .quote-box .quote-title {
    font-weight: 700;
    font-size: 25px;
}

#home .quote-box .quote-link a {
    color: #fff;
    border-radius: 32px;
    padding: 12px 25px;
}

#home-background {
    height: 350px;
    background-position: center !important;
    background-size: cover !important;
}

.about {
    background: #F1F1F1 url('img/quote_wall.png') no-repeat center top;
    background-size: 1377px 709px;
}

.about .container {
    padding: 50px 0;
}

.about .about-content {
    font-size: 20px;
    line-height: 180%;
    margin: 65px 0 40px 0;
    padding: 0 20px;
}

#employees {
    margin: 0 0 0 0;
}

footer {
    background: #000;
    color: #fff;
    padding: 40px 0 70px 0;
}

.footer-left {
    padding: 0 0 50px 0;
}

.footer-left h2 {
    margin: 0 auto;
}

.footer-right {
    padding: 0 5%;
}

.footer-middle, .footer-right {
    padding: 30px 25%;
}

#contact-right {
    padding: 30px 0 0 0;
}

.footer-right {
    padding: 0 25%;
}

footer h2 {
    text-indent: -99999px;
    outline: none;
    background: url('img/bookkeeper_logo_footer.png') no-repeat;
    width: 364px;
    height: 125px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    footer h2 {
        background: url('img/bookkeeper_logo_footer@2x.png') no-repeat;
        background-size: 364px 125px;
    }
}

.contact-details li {
    list-style: none;
    padding: 5px 0 5px 40px;
}

.contact-details li a {
    color: #fff;
    text-decoration: none;
}

.contact-details li a:hover {
    text-decoration: underline;
}

.contact-details .address {
    background: url('img/contact_address.png') no-repeat left center;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .contact-details .address {
        background: url('img/contact_address@2x.png') no-repeat left center;
        background-size: 28px 28px;
    }
}

.contact-details .phone {
    background: url('img/contact_phone.png') no-repeat left center;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .contact-details .phone {
        background: url('img/contact_phone@2x.png') no-repeat left center;
        background-size: 28px 28px;
    }
}

.contact-details .email {
    background: url('img/contact_email.png') no-repeat left center;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .contact-details .email {
        background: url('img/contact_email@2x.png') no-repeat left center;
        background-size: 28px 28px;
    }
}

.social {
    float: left;
    /*border-top: 1px solid #fff;*/
    margin: 0;
    clear: left;
    position: relative;
    left: 50%;
}

.social li {
    list-style: none;
    float: left;
    margin: 0 15px 0 0;
    position: relative;
    right: 50%;
}

.social li a {
    display: block;
    width: 28px;
    height: 28px;
    background: url('img/social.png');
    text-indent: -99999px;
    outline: none;
    background-size: 28px 140px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .social li a {
        background: url('img/social@2x.png');
        background-size: 28px 140px;
    }
}

.social li.whatsapp a {
    background-position: 0 -28px;
}

.social li.instagram a {
    background-position: 0 -56px;
}

.social li.twitter a {
    background-position: 0 -84px;
}

.social li.facebook a {
    background-position: 0 -112px;
}

#slider {
    margin: 100px 0;
    float: left;
    width: 100%;
}

.square {
    position: relative;
    background: #fff;
    color: #000;
    width: 350px;
    height: 350px;
    text-align: center;
    font-size: 13px;
    line-height: 170%;
    margin: 60px auto 20px auto;
    -webkit-box-shadow: 7px 11px 19px -12px rgba(0,0,0,0.53);
    -moz-box-shadow: 7px 11px 19px -12px rgba(0,0,0,0.53);
    box-shadow: 7px 11px 19px -12px rgba(0,0,0,0.53);
}

.square-image, .square-image img {
    width: 100px;
    height: 100px;
}

.square-image img {
    border: 3px solid #fff;
    border-radius: 50px;
}

.square-image {
    position: absolute;
    top: -60px;
    left: 122px;
}

.square-top {
    width: 100%;
    padding: 60px 8%;
}

.square-bottom {
    width: 100%;
    position: absolute;
    text-transform: uppercase;
    bottom: 0;
    height: 80px;
    padding: 20px 0 0 0;
    line-height: 120%;
}

.carousel-control-prev, .carousel-control-next {
    background: url('img/arrow-left.png') no-repeat;
    display: block;
    width: 19px;
    height: 50px;
    text-indent: -99999px;
    outline: none;
    top: 50%;
    margin-top: -25px;
}

.carousel-control-prev {
    margin-left: 10px;
}

.carousel-control-next {
    background: url('img/arrow-right.png') no-repeat;
    margin-right: 10px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    .carousel-control-prev {
        background: url('img/arrow-left@2x.png') no-repeat;
        background-size: 19px 50px;
    }

    .carousel-control-next {
        background: url('img/arrow-right@2x.png') no-repeat;
        background-size: 19px 50px;
    }
}

.container {
    padding: 0;
    max-width: none;
}

.row {
    margin: 0;
}

.col-md-6 {
    padding: 0;
}

#about-full {
    display: none;
}

.vacancies-wrapper {
    background: #F1F1F1;
    padding-bottom: 50px;
}

.vacancies-intro {
    font-size: 16px;
    padding: 65px 15% 40px 15%;
    color: #000;
    line-height: 180%;
}

.vacancy {
    margin: 0 10% 30px 10%;
    -webkit-box-shadow: 7px 11px 19px -12px rgba(0,0,0,0.53);
    -moz-box-shadow: 7px 11px 19px -12px rgba(0,0,0,0.53);
    box-shadow: 7px 11px 19px -12px rgba(0,0,0,0.53);
}

.vacancy .title  {
    display: block;
    text-align: center;
    padding: 20px 0;
}

.vacancy .title:hover  {
    text-decoration: none;
    color: #fff;
}

.vacancy.black {
    background: #000;
}

.vacancy.black a {
    color: #fff;
}

.vacancy .title h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
}

.vacancy .description {
    padding: 60px 20%;
    color: #000;
    background: #FFFFFF;
    display: none;
}

.vacancy .description h2 {
    color: #00BBF0;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
}

.vacancy .description h3 {
    font-size: 16px;
    color: #00BBF0;
}

.vacancy .description a {
    color: #00BBF0;
    text-decoration: underline;
}

.vacancy .description ul, .vacancy .description ol {
    padding: 10px 0 10px 20px;
}

.vacancy .description .contact-link {
    color: #fff;
    border-radius: 32px;
    padding: 16px 34px;
}

.vacancy .gradient {
    background-image: linear-gradient(to right, #00A59B , #00BBF0);
    color: #fff;
}

/* News */

.news-wrapper {
    background: #F1F1F1;
    padding: 50px 0;
}

.news-wrapper h1 {
    font-size: 28px;
    color: #00BBF0;
    font-weight: 700;
}

.news-item, .news-detail {
    padding: 0 0 30px 0;
    margin: 20px 0 30px 0;
    color: #000;
}

.news-detail a.link {
    color: #00BBF0;
}

.news-item h2 {
    font-size: 24px;
    margin: 0;
}

.news-intro {
    padding: 5px 0;
    font-size: 14px;
}

.news-intro p {
    margin: 0;
}

.news-item a.link {
    color: #000;
}

.news-wrapper .photos img {
    width: 100%;
}

.pagination-wrapper {
    width: 100%;
}

.pagination {
    margin: 0 auto;
    text-align: center;
    float: left;
    clear: left;
    position: relative;
    left: 50%;
}

.pagination a {
    color: #000;
}

.pagination li {
    margin: 0 5px;
    float: left;
    position: relative;
    right: 50%;
}

.pagination li.page-active {
    color: #00BBF0;
}


/* Extra page */
.text-wrapper {
    font-size: 16px;
    padding: 20px 0 40px 5%;
    color: #000;
    line-height: 180%;
}

.text-wrapper .text-block {
    font-size: 16px;
    line-height: 150%;
}

.text-wrapper .content-small {
    font-size: 12px;
}

.text-blocks h1 {
    font-size: 28px;
    color: #00BBF0;
    font-weight: 700;
}

.privacy .text-blocks h1 {
    font-size: 32px;
    margin: 20px 0;
}

.subtitle-index {
    padding: 20px 20% 20px 20%;
    color: #000;
    font-size: 13px;
}

.subtitle-index a {
    color: #000 !important;
}

.subtitle-index a:hover {
    color: #00BBF0 !important;
}

.subtitle-index ul {
    padding-left: 0 !important;
    list-style-type: none;
}

.subtitle-index ul li {
    margin-bottom: 5px;
}

h1.page-title {
    font-size: 45px;
    font-weight: 700;
}

.text-blocks h2 {
    font-size: 35px;
}

.privacy .text-blocks h2 {
    font-size: 28px;
    color: #00BBF0;
    font-weight: 400;
    margin: 10px 0;
    font-style: italic;
}

.text-blocks h3 {
    font-size: 28px;
}

.privacy .text-blocks h3 {
    font-size: 26px;
}

.text-blocks h4 {
    font-size: 25px;
}

.text-blocks h5 {
    font-size: 20px;
}

.text-blocks h6 {
    font-size: 18px;
}

.text-block {
    padding-bottom: 30px;
}

.text-block a {
    color: #00BBF0;
}

.text-block table td, .text-block table th {
    padding: 10px;
}

.text-block p {
    margin: 5px 0 20px 0;
}

.text-block ol, .text-block ul {
    padding-left: 40px;
    margin: 5px 0 20px 0;
    line-height: 150%;
}

.photo-block {
    padding: 10px 0;
}

.photo-block img {
    width: 100%;
}

.gradient {
    background-image: linear-gradient(to right, #00A59B , #00BBF0);
    color: #fff;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

    header nav li.login a {
        color: #fff;
    }

    .social {
        padding-top: 25px;
    }

    .social {
        left: auto;
    }

    .social li {
        right: auto;
    }

    .square {
        margin: 60px 160px 20px 160px;
        width: 400px;
        height: 400px;
        font-size: 15px;
    }

    .square-image {
        position: absolute;
        top: -60px;
        left: 136px;
    }

    .square-image, .square-image img {
        width: 120px;
        height: 120px;
    }

    .square-image img {
        border: 4px solid #fff;
        border-radius: 60px;
    }

    #main-nav {
         float: right;
         margin: 0 0 35px 0;
     }

    header #logo h1 {
        margin: 30px 0;
    }

    .remove-padding-left {
        padding-left: 0;
    }

    .remove-padding-right {
        padding-right: 0;
    }

    header nav li {
        border: none;
        display: inline;
        float: left;
        margin: 0 0 0 20px;
        padding: 4px 0 4px 0;
    }

    header nav li.login {
        border-radius: 20px;
        padding: 4px 20px;
        background: #000;
    }

    .container {
        padding: 0 15px;
        max-width: 720px;
    }

    #menu {
        display: block;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    #subjects-mobile {
        display: none;
    }

    .subject:hover {
        background: #18b5da;
    }

    a.subject {
        padding: 50px;
        height: 350px;
    }

    .subject-wrapper {
        padding: 0;
    }

    #subjects {
        display: block;
        box-sizing: border-box;
        width: 100%;
        height: 350px;
        background: #1AD7FF;
        position: absolute;
        bottom: 0;
    }

    #subjects-text .subject-wrapper {
        padding: 20px;
    }

    header {
        height: 105px;
    }

    #home {
        display: flex;
        position: relative;
        margin: -100px 0 0 0;
    }

    .subtitle-index {
        position: fixed;
        width: 250px;
        padding: 20px 0 20px 0;
    }

    .subtitle-index.full {
        height: 100%;
        top: 0;
        bottom: 0;
        background: #F1F1F1;
        padding-left: 10px;
        padding-right: 10px;
        border: 1px dashed #bbb;
        overflow-y: scroll;
    }

    #main-nav {
        margin: 35px 0 0 0;
    }

    header nav li {
        margin: 0 0 0 30px;
    }

    .remove-padding-left {
        padding-left: 15px;
    }

    .remove-padding-right {
        padding-right: 15px;
    }

    #about-full {
        display: block;
    }

    #about-single {
        display: none;
    }

    .backstretch {
        display: block;
    }

    #home {
        height: 100%;
    }

    #home .quote-box .quote-title {
        font-weight: 700;
        font-size: 55px;
    }

    #home .quote-box {
        top: 37%;
    }

    #home .quote-box .quote-link a {
        color: #fff;
        border-radius: 32px;
        padding: 16px 34px;
    }

    #home-background {
        display: none;
    }

    .about .about-content {
        font-size: 23px;
        padding: 0 110px;
    }

    #home .container {
        display: block;
    }

    #home .quote-box {
        min-width: 800px;
    }

    .footer-left h2 {
        margin: 20px 0 0 0;
    }

    .footer-left {
        float: left;
    }

    .footer-right {
        float: right;
    }

    .footer-middle, .footer-right {
        padding: 30px 0 0 0;
    }

    .footer-middle {
        float: left;
        padding: 40px 0 0 70px;
    }
    .contact-details {
        float: left;
    }

    #contact-right {
        padding: 0 0 0 50px;
    }

    .social {
        padding-top: 50px;
    }

    .square {
        margin: 60px 40px 20px 40px;
        float: left;
    }

    .container {
        max-width: 960px;
    }

    .row {
        margin-right: -15px;
        margin-left: -15px;
    }

    .col-md-6 {
        padding-right: 15px;
        padding-left: 15px;
    }

    .carousel-control-prev, .carousel-control-next {
        margin-right: 0;
        margin-left: 0;
    }

    .vacancies-intro {
        font-size: 20px;
    }

    #subjects-text {
        width: 992px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    #subjects-text {
        width: 1200px;
    }

    #subjects-text .subject-wrapper {
        padding: 50px;
    }

    .square {
        margin: 60px 85px 20px 85px;
    }

    .container {
        max-width: 1140px;
    }
}