/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    /*    line-height: 1.4;*/
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
/*::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}*/
/*
 * A better looking default horizontal rule
 */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */
audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */
.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
header, nav, main, footer {
    /*   min-width: 940px; */
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
	Contains main css code
	@Author: Yura Heiko
	         yura.heiko@gmail.com
   ========================================================================== */

body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

/*#header #header_slider:after {*/
/*content: "";*/
/*position: absolute;*/
/*width: 100%;*/
/*height: 100%;*/
/*top: 0;*/
/*left: 0;*/
/*background: rgba(0, 0, 0, .5);*/
/*}*/

/*#header #header_slider li {*/
/*outline: none;*/
/*}*/

/*#header #header_slider li img {*/
/*max-height: 678px;*/
/*width: 100%;*/
/*object-fit: cover;*/
/*}*/

#header #header-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: url(../img/top-header_BG.png);
    background-size: contain;
}

#header #top-header {
    padding: 15px 10px;
    color: #ffffff;
    background: url("../img/top-header_BG.png");
    background-size: contain;
}

#header #top-header .contact-details {
    float: left;
}

#header #top-header .contact-details p span {
    color: #38A7B4;
    font-size: 14px;
}

#header #top-header .contact-details a {
    text-decoration: none;
    font-weight: bold;
    color: #FFFFFF;
}

#header #top-header .contact-details a:hover {
    text-decoration: underline;
}

#header #top-header #social {
    float: right;
}

#header #top-header #social nav ul li {
    display: inline-block;
}

#header #top-header #social nav ul li a {
    padding: 0 2px;
    margin: 0 3px;
}

#header #top-header #social nav ul li a:hover > .fa {
    opacity: 0.7;
}

#header #top-header #social nav ul li:last-child a {
    margin-right: inherit;
    padding-right: inherit;
}

#header #top-header #social nav ul li a .fa {
    font-size: 14px;
    color: #98A3AF;
}

#header #bottom-header {
    padding: 20px 10px;
}

#header #bottom-header #logo-wrapper {
    float: left;
}

#header #bottom-header #logo-wrapper a img {
    width: 141px;
    height: 50px;
}

#header #bottom-header #mob-trigger {
    display: none;
}

#header #bottom-header #main-menu {
    float: right;
}

#header #bottom-header #main-menu nav ul li {
    display: inline-block;
}

#header #bottom-header #main-menu nav ul li a {
    text-decoration: none;
    display: block;
    font-size: 15px;
    color: #FFFFFF;
    padding: 12px 10px;
    margin: 0 14px;
    font-weight: bold;
}

#header #bottom-header #main-menu nav ul li:last-child a {
    margin-right: inherit;
    padding-right: inherit;
}

#header #bottom-header #main-menu nav ul li a:hover {
    text-decoration: underline;
}

#header #bottom-header #main-menu nav ul li.menu-item-has-children {
    position: relative;
}

#header #bottom-header #main-menu nav ul li.menu-item-has-children .sub-menu {
    position: absolute;
    visibility: hidden;
    z-index: 100;
    background: url("../img/top-header_BG.png");
    background-size: contain;
    left: 15px;
    padding: 10px;
}

#header #bottom-header #main-menu nav ul li.menu-item-has-children .sub-menu li {
    display: block;
    margin: 8px 0;
}

#header #bottom-header #main-menu nav ul li.menu-item-has-children .sub-menu li a {
    padding: inherit;
    margin: inherit;
}

#header #bottom-header #main-menu nav ul li.menu-item-has-children:hover > .sub-menu {
    visibility: visible;
}


#main #about-us {
    padding: 100px 10px 80px;
}

#main #about-us .image {
    float: left;
}

#main #about-us .content {
    float: left;
    margin-left: 35px;
    padding: 30px 0;
    max-width: 530px;
}

#main #about-us .content .section-title h2 {
    line-height: 1;
    padding-bottom: inherit;
    text-align: left;
    background: none;
}

#main #about-us .content .section-title span {
    font-size: 30px;
    font-weight: 700;
}

#main #about-us .content .text {
    margin-top: 20px;
}

#main #about-us .content .text p {
    font-size: 16px;
    color: #262626;
    font-weight: normal;
}

#main #about-us .content .about-us-item {
    font-weight: bold;
    margin-top: 20px;
}

#main #about-us .content .about-us-item .icon {
    width: 20px;
    height: 20px;
    float: left;
    margin-top: -2px;
    margin-right: 15px;
}


#main .section-title h2 {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 25px;
    text-align: center;
    background-image: url("../img/section-title_line.png");
    background-repeat: no-repeat;
    background-position: 50% 100%;
}


#main #services {
    padding: 80px 10px 100px;
    background: url("../img/services_BG.jpg") no-repeat;
    background-size: cover;
}

#main #services .section-title h2,
#main #contact-us .section-title h2 {
    color: #FFFFFF;
}

#main #services #main-services {
    margin-top: 70px;
}

#main #services #main-services .row:not(:first-child) {
    margin-top: 32px;
}

#main #services #main-services .service-item {
    display: inline-block;
    max-width: 343px;
    min-height: 254px;
    background: #FFFFFF;
    text-align: center;
    padding: 35px;
    vertical-align: top;
    border-radius: 6px;
    text-decoration: none;
}

#main #services #main-services .service-item:not(:last-child) {
    margin-right: 32px;
}

#main #services #main-services .service-item .icon {
    height: 75px;
}

#main #services #main-services .service-item .icon img {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    object-fit: scale-down;
}

#main #services #main-services .service-item .item-title {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

#main #services #main-services .service-item .item-text {
    margin-top: 10px;
}

#main #services #main-services .service-item .item-text p {
    font-size: 16px;
    color: #262626;
}


#main #how-we-do {
    padding: 50px 0;
    background: #38A7B4;
}

#main #how-we-do #how-we-do-block {
    padding: 25px 60px;
    background: #195159;
    border: 8px solid #FFFFFF;
    text-align: center;
}

#main #how-we-do #how-we-do-block .section-subtitle h3 {
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1;
}

#main #how-we-do #how-we-do-block .section-title h2 {
    padding-bottom: inherit;
    background: none;
    color: #FFFFFF;
    font-size: 48px;
}

#main #how-we-do #how-we-do-block .text {
    max-width: 720px;
    margin: 10px auto 0;
}

#main #how-we-do #how-we-do-block .text p {
    font-size: 16px;
    color: #FFFFFF;
}


#main #double-section {
    padding: 80px 10px 90px;
}

#main #double-section #blog,
#main #double-section #reviews {
    width: 48%;
}

#main #double-section .content {
    margin-top: 30px;
}

#main #double-section #blog #latest-blog-item {
    position: relative;
}

#main #double-section #blog #latest-blog-item .image img {
    min-width: 510px;
}

#main #double-section #blog #latest-blog-item .blog-item-content {
    width: 420px;
    background: #FFFFFF;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    padding: 25px 25px 0;
    bottom: -110px;
}

#main #double-section #blog #latest-blog-item .blog-item-content .item-title {
    font-size: 25px;
    color: #333333;
    text-transform: capitalize;
    font-weight: bold;
}

#main #double-section #blog #latest-blog-item .blog-item-content .item-text {
    margin-top: 10px;
}

#main #double-section #blog #latest-blog-item .blog-item-content .item-text p {
    font-size: 14px;
    color: #898989;
}

#main #double-section #blog #latest-blog-item .blog-item-content .btn {
    margin-top: 20px;
}

#main .btn {
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    color: #FFFFFF;
    font-size: 14px;
    background: #38A7B4;
    padding: 8px 20px;
    border-radius: 20px;
}

#main .btn:hover {
    opacity: 0.8;
}

#main #double-section #reviews .review-item {
    padding-bottom: 25px;
    border-bottom: 1px dashed #E1E1E1;
}

#main #double-section #reviews .review-item:not(:first-child) {
    margin-top: 25px;
    border-bottom: none;
}

#main #double-section #reviews .review-item .image-title {
    font-family: "Kaushan Script", sans-serif;
    width: 99px;
    height: 99px;
    float: left;
    text-align: center;
}

#main #double-section #reviews .review-item .image-title img {
    padding-bottom: 20px;
}

#main #double-section #reviews .review-item .review-content {
    float: left;
    max-width: 400px;
    margin-left: 33px;
    padding-top: 10px;
}

#main #double-section #reviews .review-item .review-content .review-title {
    font-size: 20px;
    color: #333333;
    font-weight: bold;
}

#main #double-section #reviews .review-item .review-content .review-text {
    margin-top: 15px;
}

#main #double-section #reviews .review-item .review-content .review-text p {
    font-size: 14px;
    color: #898989;
    line-height: 1.85;
}

#main #double-section #reviews .review-item .review-content img {
    max-width: 100px;
    margin-top: 25px;
}

#main #contact-us {
    padding: 75px 10px;
    background: url("../img/contact-us_BG.jpg") no-repeat;
    background-size: cover;
}

#main #contact-us #contact-form {
    max-width: 736px;
    margin: 75px auto 0;
}

#main #contact-us #contact-form .left,
#main #contact-us #contact-form .right {
    width: 49%;
}

#main #contact-us #contact-form input,
#main #contact-us #contact-form select {
    width: 100%;
    padding: 10px;
    background: #FFFFFF;
    border: none;
    outline: none;
    color: #4C4C4C;
}

#main #contact-us #contact-form .left .wpcf7-form-control-wrap:not(:last-child),
#main #contact-us #contact-form .right .wpcf7-form-control-wrap:not(:last-child) {
    margin-bottom: 20px;
    display: block;
}

#main #contact-us #contact-form textarea {
    width: 100%;
    padding: 10px;
    background: #FFFFFF;
    border: none;
    outline: none;
    min-height: 110px;
    resize: vertical;
    margin-top: 20px;
}

#main #contact-us #contact-form::placeholder {
    font-size: 16px;
    color: #4C4C4C;
}

#main #contact-us #contact-form .wpcf7-submit {
    border: none;
    outline: none;
    padding: 12px 25px;
    text-align: center;
    width: 155px;
    margin: 45px auto 0;
    display: block;
}


#footer {
    background: #124A52;
}

#footer #top-footer {
    padding: 45px 10px 75px;
}

#footer #top-footer .footer-item {
    display: table-cell;
    vertical-align: top;
    width: 27%;
}

#footer #top-footer .footer-item .item-title h3 {
    text-transform: uppercase;
    font-size: 18px;
    color: #EAECEF;
}

#footer #top-footer .footer-item .item-content {
    margin-top: 25px;
}

#footer #top-footer .footer-item .item-content .text p {
    font-size: 14px;
    color: #959DA7;
    max-width: 270px;
}

#footer #top-footer .footer-item .item-content .text p:not(:first-child) {
    margin-top: 20px;
}

#footer #top-footer .footer-item .item-content .blog-item {
    padding-bottom: 10px;
    max-width: 260px;
}

#footer #top-footer .footer-item .item-content .blog-item:not(:last-child) {
    border-bottom: 1px dashed #2A5C64;
    margin-bottom: 10px;
}

#footer #top-footer .footer-item .item-content .blog-item .image {
    float: left;
    width: 63px;
    height: 63px;
}

#footer #top-footer .footer-item .item-content .blog-item .image img {
    border-radius: 50%;
    min-width: 63px;
    min-height: 63px;
}

#footer #top-footer .footer-item .item-content .blog-item-content {
    float: left;
    margin-left: 10px;
    padding-top: 5px;
}

#footer #top-footer .footer-item .item-content .blog-item-content .item-title {
    font-size: 16px;
    color: #EAECEF;
    text-decoration: none;
}

#footer #top-footer .footer-item .item-content .blog-item-content .blog-date {
    margin-top: 5px;
    color: #959DA7;
    font-size: 13px;
}

#footer #top-footer .footer-item #services-menu ul li {
    display: block;
    max-width: 260px;
}

#footer #top-footer .footer-item #services-menu ul li:not(:last-child) {
    padding-bottom: 10px;
    border-bottom: 1px dashed #959DA7;
}

#footer #top-footer .footer-item #services-menu ul li:not(:first-child) {
    padding-top: 10px;
}

#footer #top-footer .footer-item #services-menu ul li a {
    display: inline-block;
    text-decoration: none;
    font-size: 15px;
    color: #959DA7;
}

#footer #top-footer .footer-item .contact-details ul li {
    display: block;
}

#footer #top-footer .footer-item .contact-details ul li:not(:last-child) {
    margin-bottom: 15px;
}

#footer #top-footer .footer-item .contact-details ul li a {
    display: block;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 13px;
}

#footer #top-footer .footer-item .contact-details ul li a .fa {
    width: 25px;
    height: 25px;
    background: #37A6B4;
    border-radius: 50%;
    text-align: center;
    padding-top: 6px;
    margin-right: 5px;
}

#footer #bottom-footer {
    padding: 25px 10px;
    border-top: 1px solid #35656C;
}

#footer #bottom-footer #copyright {
    float: left;
}

#footer #bottom-footer #copyright a {
    font-size: 14px;
    color: #959DA7;
    text-decoration: none;
    display: block;
}

#footer #bottom-footer #secondary-menu {
    float: right;
}

#footer #bottom-footer #secondary-menu ul li {
    display: inline-block;
}

#footer #bottom-footer #secondary-menu ul li a {
    display: block;
    text-decoration: none;
    font-size: 14px;
    color: #959DA7;
}

#footer #bottom-footer #secondary-menu ul li:not(:last-child) {
    margin-right: 20px;
}

#footer #bottom-footer #secondary-menu ul li a:hover,
#footer #bottom-footer #copyright a:hover {
    text-decoration: underline;
}


@media only screen and (max-width: 1139px) {
    .container {
        width: 100%;
    }

    #header #top-header {
        text-align: center;
    }

    #header #top-header .contact-details {
        float: none;
    }

    #header #top-header #social {
        float: none;
        margin-top: 10px;
    }

    #header #bottom-header {
        text-align: center;
    }

    #header #bottom-header #logo-wrapper {
        float: none;
    }

    #header #bottom-header #mob-trigger {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 21px;
        line-height: 44px;
        cursor: pointer;
        color: #FFFFFF;
    }

    #header #bottom-header #main-menu {
        float: none;
        display: none;
    }

    #header #bottom-header #main-menu nav ul li {
        display: block;
    }

    #header #bottom-header #main-menu nav ul li a {
        display: block;
        margin: 7px 0;
        padding: inherit;
        font-size: 14px;
    }

    #header #bottom-header #main-menu nav ul li.menu-item-has-children .sub-menu {
        display: block;
        position: relative;
        top: 100%;
        visibility: visible;
        left: inherit;
    }

    #header #bottom-header #main-menu nav ul li.menu-item-has-children .sub-menu li {
        margin: 5px 0;
    }

    #header #bottom-header #main-menu nav ul li.menu-item-has-children .sub-menu li a {
        font-size: 11px;
        margin: inherit;
        padding: inherit;
    }


    #main #about-us {
        padding: 40px 10px;
    }

    #main #about-us .content .section-title h2 {
        text-align: center;
    }

    #main #about-us .image {
        float: none;
        max-width: 510px;
        margin: 0 auto;
    }

    #main #about-us .content {
        float: none;
        padding: inherit;
        max-width: 768px;
        margin: 20px auto 0;
        text-align: center;
    }

    #main #about-us .content .about-us-item {
        margin: 10px auto 0;
        font-size: 14px;
    }

    #main #about-us .content .about-us-item .icon {
        display: none;
    }


    #main #services {
        padding: 40px 10px;
    }

    #main .section-title h2 {
        font-size: 25px;
        padding-bottom: 15px;
    }

    #main #services #main-services {
        margin-top: 35px;
    }

    #main #services #main-services .row {
        text-align: center;
    }

    #main #services #main-services .service-item:not(:last-child) {
        margin-right: inherit;
        margin-bottom: 10px;
    }

    #main #services #main-services .row:not(:first-child) {
        margin-top: 10px;
    }

    #main #how-we-do {
        padding: 30px 0;
    }

    #main #how-we-do #how-we-do-block .section-subtitle h3 {
        font-size: 15px;
    }

    #main #how-we-do #how-we-do-block .section-title h2 {
        font-size: 25px;
    }

    #main #how-we-do #how-we-do-block .text p {
        font-size: 13px;
    }

    #main #how-we-do #how-we-do-block {
        padding: 20px 40px;
    }

    #main #double-section {
        padding: 40px 10px;
    }

    #main #double-section #blog, #main #double-section #reviews {
        width: inherit;
    }

    #main #double-section .left,
    #main #double-section .right {
        float: none;
    }

    #main #double-section #blog #latest-blog-item .image {
        max-width: 510px;
        margin: 0 auto;
    }

    #main #double-section #blog #latest-blog-item .image img {
        min-width: inherit;
    }

    #main #double-section #blog #latest-blog-item .blog-item-content {
        position: inherit;
        bottom: inherit;
        width: inherit;
        padding: inherit;
        margin-top: 10px;
    }

    #main #double-section #reviews {
        margin-top: 30px;
    }

    #main #double-section #reviews .review-item .image-title {
        float: none;
        margin: 0 auto;
    }

    #main #double-section #reviews .review-item .image-title img {
        padding-bottom: 5px;
    }

    #main #double-section #reviews .review-item .review-content {
        float: none;
        max-width: inherit;
        padding: 25px 0 0 0;
        margin: inherit;
        text-align: center;
    }

    #main #double-section #reviews .review-item .review-content img {
        margin-top: 15px;
    }

    #main #double-section #reviews .review-item:not(:first-child) {
        padding-bottom: inherit;
    }

    #main #contact-us {
        padding: 40px 10px;
    }

    #main #contact-us #contact-form {
        margin-top: 35px;
    }

    #main #contact-us #contact-form .left, #main #contact-us #contact-form .right {
        float: none;
        width: 100%;
    }

    #main #contact-us #contact-form .right {
        margin-top: 15px;
    }

    #main #contact-us #contact-form input:not(:last-child), #main #contact-us #contact-form select:not(:last-child) {
        margin-bottom: inherit;
    }

    #main #contact-us #contact-form input:not(:first-child), #main #contact-us #contact-form select:not(:first-child) {
        margin-top: 15px;
    }

    #main #contact-us #contact-form textarea {
        margin-top: 15px;
    }

    #main #contact-us #contact-form button[type=submit] {
        margin-top: 25px;
    }

    #footer #top-footer {
        padding: 40px 10px;
    }

    #footer #top-footer .footer-item {
        display: inherit;
        width: inherit;
        text-align: center;
    }

    #footer #top-footer .footer-item:not(:first-child) {
        margin-top: 15px;
    }

    #footer #top-footer .footer-item .item-content {
        margin-top: 15px;
    }

    #footer #top-footer .footer-item .item-content .text p {
        max-width: inherit;
    }

    #footer #top-footer .footer-item .item-content .blog-item,
    #footer #top-footer .footer-item #services-menu ul li {
        max-width: 240px;
        margin: 0 auto;
    }

    #footer #top-footer .footer-item .contact-details {
        max-width: 220px;
        margin: 15px auto 0;
        text-align: left;
    }

    #footer #bottom-footer {
        padding: 15px 10px;
        text-align: center;
    }

    #footer #bottom-footer #copyright {
        float: none;
    }

    #footer #bottom-footer #secondary-menu {
        float: none;
        margin-top: 10px;
    }

    #other-page #bottom-header #main-menu nav ul li.menu-item-has-children .sub-menu {
        left: inherit !important;
        padding: inherit !important;
    }

    #header .tp-static-layers {
        top: 75px;
    }

}


/* ========================================================================== */
/* ==========================================================================
   Helper classes
   ========================================================================== */
.row.no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.row.no-gutter [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

#text-content .text > ul {
    list-style-type: disc;
    margin-left: 20px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.inline {
    display: inline-table;
}

/*
 * Image replacement
 */
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.col:before,
.clearfix:after,
.col:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after,
.col:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
