/*! 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
   ========================================================================== */
/*GretaArabic-Regular*/
@font-face {
    font-family: 'GretaArabic-Regular';
    src: url('../fonts/GretaArabic-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/GretaArabic-Regular.woff') format('woff'), url('../fonts/GretaArabic-Regular.ttf') format('truetype'), url('../fonts/GretaArabic-Regular.svg#GretaArabic-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}


.top-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .top-items ul li {
        display: inline-block;
    }

        .top-items ul li a {
            text-decoration: none;
            font-size: 18px;
            font-family: "Greta Arabic";
            display: block;
            padding: 0 20px;
            text-align: center;
            color: #979797;
            position: relative;
        }

            .top-items ul li a p {
                margin: 5px 0 0 0;
                font-size: 13px;
            }

            .top-items ul li a img {
                width: 35px;
            }

.ftop > .container {
    max-width: 1600px;
    width: 100%;
}

body {
    /* font-family: "GretaArabic-Regular"; */
    font-family: "GretaArabic-Regular";
}

.row .rtl-col {
    float: right;
}

.mainmenu > ul > li {
    position: relative;
}
/*.mainmenu ul li:hover ul {display:block;}*/
.mainmenu ul li ul {
    position: absolute;
    z-index: 9;
    background: rgba(30, 79, 111, .8);
    margin: 2px 0 0 0;
    min-width: 200px;
    border-right: 3px solid #ACC510;
    display: none;
    right: 0;
    top: 38px;
    border-top: 2px solid #fff;
}

.mainmenu ul li a:hover, .mainmenu ul li:hover {
    background: #4BA5A9;
}

.mainmenu ul li ul li {
    display: block;
}

    .mainmenu ul li ul li a {
        border: 0 none;
        border-bottom: 1px solid #fff;
        text-align: right;
        padding: 15px 20px 15px 0;
    }

.menu-top {
    border-bottom: 2px solid #fff;
}

.mainmenu ul {
    margin: 15px 0 15px 0;
    padding: 0;
    list-style: none;
    text-align: center;
    display: table-row;
}

    .mainmenu ul li {
        display: table-cell;
        position: relative;
    }

        .mainmenu ul li a {
            display: block;
            text-decoration: none;
            color: #fff;
            font-size: 20px;
            line-height: 20px;
            padding: 10px 0 10px 0;
            border-right: 1px solid #fff;
        }

.menu-top {
    background: #1E4F6F;
}

.mainmenu ul li:last-child a {
    border: 0 none;
}

img {
    max-width: 100%;
}

.top-items {
    padding: 30px 0 30px 0;
    position: relative;
}

.logo-cnt {
    margin: 30px 0 30px 0;
}

.footer p {
    display: inline-block;
    font-size: 16px;
    margin: 0 0 5px 0;
}

.footer {
    margin: 5px 0 0 0;
    border-top: 5px solid #1E4F6F;
}

.butus {
    background: url(../img/buty.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 5px solid #47AAAF;
}

    .butus h2 {
        margin: 220px 0 10px 0;
        font-size: 50px;
        color: #1E4F6F;
    }

        .butus h2 span {
            font-size: 30px;
        }

.about p {
    color: #3E3E3E;
    font-size: 21px;
    text-align: right;
    margin: 0 0 0 0;
}

.about .section-title h2 {
    margin: 20px 0 30px 0;
}

    .about .section-title h2:after {
        bottom: -15px;
        width: 100px;
    }

.about .section-title h2 {
    margin: 20px 0 30px 0;
}

    .about .section-title h2:after {
        bottom: -15px;
        width: 100px;
    }

a.readmore {
    text-decoration: none;
    background: #47aaaf;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    padding: 0 0 0 15px;
    height: 30px;
    line-height: 30px;
    margin: 8px 0 0 0;
}

    a.readmore img {
        max-height: 100%;
    }

.bookanappoinment {
    background: url(../img/baa.jpg);
    background-repeat: no-repeat;
    background-size: 100% auto;
}

    .bookanappoinment h2 {
        font-size: 50px;
        color: #fff;
        margin: 45px 0 0 0;
    }

    .bookanappoinment p {
        color: #fff;
        font-size: 25px;
        margin: 15px 0 15px 0;
    }

    .bookanappoinment a.bkapp-btn {
        background: #47AAAF;
        text-decoration: none;
        font-size: 25px;
        color: #fff;
        padding: 0 50px;
        display: inline-block;
        line-height: 50px;
        margin: 0 0 45px 0;
    }

.singlenews h2 {
    text-align: right;
}

    .singlenews h2 a {
        color: #47aaaf;
        text-decoration: none;
        font-size: 22px;
        line-height: 30px;
    }

.singlenews span.ne-date {
    color: #acc510;
    font-size: 23px;
    text-align: right;
    display: block;
    font-family: "Lato";
}

.singlenews {
    border-bottom: 1px solid #aeaeae;
    margin: 10px 0 25px 0;
}
.imagesinglenews {
    height: 202px;
}

.newsandevents {
    padding: 15px 0 0 0;
}

.section-title h2 {
    text-align: right;
    font-size: 30px;
    color: #1e4f6f;
    position: relative;
    margin: 10px 0 10px 0;
}

    .section-title h2:after {
        content: "";
        display: block;
        overflow: hidden;
        height: 1px;
        width: 85px;
        border-bottom: 1px solid #acc510;
        position: absolute;
        right: 0;
        bottom: -5px;
    }

.ftop {
    background-color: #1e4f6f;
    padding: 20px 0;
}

.owl-prev {
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    height: 98%;
    top: 0;
    left: 0;
    border-right: 2px solid #fff;
    width: 55px;
    text-indent: -99999px;
    overflow: hidden;
}

.owl-next {
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    right: 0;
    height: 98%;
    top: 0;
    border-left: 2px solid #fff;
    width: 55px;
    text-indent: 99999px;
    overflow: hidden;
}

.bottom-slider .container-fluid {
    margin: 0;
    padding: 0;
}

.bottom-slider {
    max-height: 200px;
    overflow: hidden;
    margin: 10px 0;
}

.owl-next:after, .owl-prev:after {
    content: "";
    display: block;
    overflow: hidden;
    clear: both;
    position: absolute;
    height: 35px;
    width: 25px;
    background: url("../img/farrow.png");
    top: 45%;
    right: 0;
    left: 0;
    margin: 0 auto;
}

.owl-next:after {
    background-position: center right;
}

.ftop ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 25px;
    line-height: 35px;
    text-align: right;
    display: block;
}

.ftop ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fmenu ul li {
    float: right;
    min-width: 300px;
}

.fmenu {
    overflow: hidden;
}

    .fmenu ul li a {
        padding: 5px 40px 5px 0;
        /* min-width: 97px; */
        /* overflow: hidden; */
        background: url(../img/fbulet.jpg);
        background-repeat: no-repeat;
        background-position: center right;
    }

.social span {
    color: #fff;
    font-size: 25px;
    margin: 0 0 0 10px;
}

.social a {
    height: 35px;
    width: 35px;
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    background: url(../img/social.jpg);
    text-indent: 9999px;
}

    .social a + a {
        background-position: -45px 0;
    }

        .social a + a + a {
            background-position: -92px 0;
        }

.social {
    border-top: 1px solid #fff;
    padding: 10px 0 0 0;
}

.shdul ul li a {
    padding: 5px 40px 5px 0;
    background: url(../img/fbulet.jpg);
    background-repeat: no-repeat;
    background-position: center right;
}

.shdul h3 {
    display: inline-block;
    margin: 0 20px 25px 0;
    font-size: 25px;
    color: #fff;
    position: relative;
}

.shdul {
    text-align: right;
}

    .shdul h3:after {
        content: "";
        position: absolute;
        width: 100px;
        border-bottom: 1px solid #fff;
        right: 0;
        bottom: -5px;
    }

    .shdul img {
        width: 40px;
        height: 40px;
        margin: 0 0 10px 0;
        vertical-align: middle;
    }

    .shdul ul {
        margin: 0 10px 5px 0;
    }

ol.service-carousel-indicators {
    margin: 40px 0 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
    position: inherit;
    left: inherit;
    width: inherit;
}

    ol.service-carousel-indicators li, .carousel-indicators .active {
        display: inline-block;
        width: 24.73%;
        cursor: pointer;
        position: relative;
        height: auto;
        text-indent: 0;
        margin: 0;
        border: 0 none;
        border-radius: 0;
        vertical-align: top;
    }

.service-slide-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .service-slide-content ul li {
        text-align: right;
        display: block;
        font-size: 20px;
        line-height: 30px;
        color: #3e3e3e;
        padding: 0 30px 0 0;
        background: url(../img/bulte.jpg);
        background-position: right 10px;
        background-repeat: no-repeat;
    }

.service-slide-content p {
    text-align: right;
    color: #47aaaf;
    font-size: 30px;
    margin: 5px 0 5px 0;
}

.service-slide-content h2 {
    font-size: 30px;
    margin: 5px 0 0 0;
    text-align: right;
}

a.service-slide-btn {
    display: inline-block;
    background: #47aaaf;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    padding: 5px 20px;
    margin: 20px 0 0 0;
}

.service-slide-content {
    text-align: right;
}

.service-btm {
    border-bottom: 20px solid #f0f0f0;
    padding: 10px 0 10px 0;
}

.service-top {
    background-color: #f0f0f0;
}

a.service-carousel-control {
    position: absolute;
    top: 20px;
    left: 15px;
    background: url(../img/arrows.jpg);
    text-indent: 99px;
    overflow: hidden;
    height: 40px;
    width: 30px;
    background-position: left center;
    background-repeat: no-repeat;
}

a.right.service-carousel-control {
    left: 48px;
    background-position: right center;
}


ol.service-carousel-indicators li p {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-size: 25px;
    background-color: rgba(0,0,0,0.5);
    height: 100%;
    line-height: 35px;
    padding: 25px 0 0;
    vertical-align: bottom;
}

ol.service-carousel-indicators li:hover p, ol.service-carousel-indicators li.active p {
    color: #1e4f6f;
    background-color: rgba(255,255,255,0.5);
}

.carousel-indicators .active {
    border-bottom: 5px solid #acc510;
    height: 110px;
    overflow: hidden;
}

.about {
    background-color: #edecec;
    background-image: url(../img/about.png);
    background-repeat: no-repeat;
    background-position: left top;
    padding: 0 0 20px 0;
    border-top: 20px solid #edecec;
}

.caption ul li.active {
    display: block;
}

.caption ul li {
    /* display: none; */
}

.sticker {
    position: absolute;
    z-index: 9999;
    border-left: 5px solid #acc510;
    background: #fff;
    padding: 0;
    width: 130px;
    text-align: center;
    right: -110px;
    /* right: 0px; */
    top: 230px;
    border-bottom: 2px solid #acc510;
    border-top: 2px solid #acc510;
}

    .sticker a {
        text-decoration: none;
        color: #979797;
        width: 110px;
        display: inline-block;
    }

    .sticker span.icon i {
        transition-delay: 0.2s;
    }

    .sticker:hover span.icon i {
        transform: rotate(180deg);
    }

    .sticker > * {
        display: inline-block;
        float: left;
    }

    .sticker span {
        background: #acc510;
        display: inline-block;
        width: 15px;
        height: 100px;
        line-height: 150px;
        font-size: 25px;
        color: #fff;
        border-right: 5px solid #acc510;
    }

    .sticker p {
        font-size: 16px;
        font-family: "lato";
    }

.slider-container {
    position: relative;
}

.big-sld {
    margin: -112px 54px 0 0;
    /*border-bottom: 5px solid #47aaaf;*/
    position: absolute;
    bottom: 0px;
    top: 479px;
    right: 0;
    /*left: 0;*/
    /*margin: 0 auto;*/
}

.caption-controls.text-right {
    width: 50%;
    height: 100px;
    /* background:rgba(0,0,0,.5); */
    margin-left: 45.2%;
    width: 100px;
}

.caption ul li a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 30px;
    padding: 10px 25px 70px 70px;
    background-color: rgba(0,0,0,0.5);
}

.caption {
    /*  background: rgba(0,0,0,0.5); */
    display: inline-block;
    width: 80%;
    vertical-align: top;
    min-height: 95px;
    max-height: 95px;
    /* 	position:absolute;
	bottom:0;
	left:0; */
    overflow: hidden;
}

.carousel-caption {
    right: 0;
    left: 0;
    padding: 0;
    z-index: 99999999999999999;
    /* bottom: 17px; */
    top: 367px;
}

.caption ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.big-carousel-control {
    display: inline-block;
    width: 100%;
}

    .big-carousel-control a {
        display: block;
        height: 47px;
        overflow: hidden;
        text-indent: 99999px;
        width: 100%;
        background: url(../img/bigsliderarrow.png);
        background-repeat: no-repeat;
        background-position: -10px -15px;
    }

        .big-carousel-control a.right {
            margin: 1px 0 0 0;
            background-position: -9px -95px;
        }

body.inner-page .butus {
    background-image: url(../img/butyinr.jpg);
    border: 0 none;
}

    body.inner-page .butus h2 {
        margin-top: 120px;
        border: 0 none;
    }

.content-entry img {
    width: 33.33%;
    float: left;
    margin: 0 20px 0 0;
}

.content-entry p {
    font-size: 20px;
    text-align: right;
}

.content-entry h2 {
    text-align: right;
    color: #1e4f6f;
    font-size: 25px;
}

.maincontent {
    padding: 20px 0 20px 0;
}

.breadcrumbz {
    background: #6cbbbf;
}

    .breadcrumbz a {
        color: #3e3e3e;
        text-decoration: none;
        font-size: 20px;
        line-height: 40px;
    }

    .breadcrumbz img {
        width: 45px;
        vertical-align: bottom;
    }

.inner-social span {
    display: inline-block;
    color: #47aaaf;
    font-size: 20px;
    margin: 0 0 0 10px;
}

.inner-social a {
    width: 30px;
    height: 30px;
    display: inline-block;
    background: url(../img/innersocial.jpg);
    vertical-align: top;
}

.inner-social {
    float: left;
}

    .inner-social a.tw {
        background-position: -34px 0;
    }

    .inner-social a.in {
        background-position: -68px 0;
    }

    .inner-social a.em {
        background-position: -102px 0;
    }

    .inner-social a.prnt {
        background-position: -135px 0;
    }

.top-items ul li a:after {
    content: "";
    position: absolute;
    border-right: 1px solid #bfbfbf;
    right: 0;
    z-index: 9999;
    height: 33px;
    top: 15px;
}

.m-menu {
    display: none;
}

.top-items ul li:last-child a:after {
    display: none;
}

/* 
Customized Boostrap Slider
================================================
*/
.ticker-headline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 15px 0;
    margin: 0;
    font-size: 18px;
}

.carousel.vertical .carousel-inner {
    height: 100%;
    width: auto;
}

    .carousel.vertical .carousel-inner > .item {
        width: auto;
        padding-right: 0px;
        transition: 0.6s ease-in-out top;
    }

@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel.vertical .carousel-inner > .item {
        transition: 0.6s ease-in-out;
    }

        .carousel.vertical .carousel-inner > .item.next, .carousel.vertical .carousel-inner > .item.active.right {
            transform: translate3d(0, 100%, 0);
            top: 0;
        }

        .carousel.vertical .carousel-inner > .item.prev, .carousel.vertical .carousel-inner > .item.active.left {
            transform: translate3d(0, -100%, 0);
            top: 0;
        }

            .carousel.vertical .carousel-inner > .item.next.left, .carousel.vertical .carousel-inner > .item.prev.right, .carousel.vertical .carousel-inner > .item.active {
                transform: translate3d(0, 0, 0);
                top: 0;
            }
}

.carousel.vertical .carousel-inner > .active,
.carousel.vertical .carousel-inner > .next,
.carousel.vertical .carousel-inner > .prev {
    display: block;
}

.carousel.vertical .carousel-inner > .active {
    top: 0;
}

.carousel.vertical .carousel-inner > .next,
.carousel.vertical .carousel-inner > .prev {
    position: absolute;
    top: 0;
    width: 100%;
}

.carousel.vertical .carousel-inner > .next {
    top: 100%;
}

.carousel.vertical .carousel-inner > .prev {
    top: -100%;
}

    .carousel.vertical .carousel-inner > .next.left,
    .carousel.vertical .carousel-inner > .prev.right {
        top: 0;
    }

.carousel.vertical .carousel-inner > .active.left {
    top: -100%;
}

.carousel.vertical .carousel-inner > .active.right {
    top: 100%;
}

.carousel.vertical .carousel-control {
    left: auto;
    width: 50px;
}

    .carousel.vertical .carousel-control.up {
        top: 0;
        right: 0;
        bottom: 50%;
    }

    .carousel.vertical .carousel-control.down {
        top: 50%;
        right: 0;
        bottom: 0;
    }

    .carousel.vertical .carousel-control .icon-prev,
    .carousel.vertical .carousel-control .icon-next,
    .carousel.vertical .carousel-control .glyphicon-chevron-up,
    .carousel.vertical .carousel-control .glyphicon-chevron-down {
        position: absolute;
        top: 50%;
        z-index: 5;
        display: inline-block;
    }

    .carousel.vertical .carousel-control .icon-prev,
    .carousel.vertical .carousel-control .glyphicon-chevron-up {
        left: 50%;
        margin-left: -10px;
        top: 50%;
        margin-top: -10px;
    }

    .carousel.vertical .carousel-control .icon-next,
    .carousel.vertical .carousel-control .glyphicon-chevron-down {
        left: 50%;
        margin-left: -10px;
        top: 50%;
        margin-top: -10px;
    }

    .carousel.vertical .carousel-control .icon-up,
    .carousel.vertical .carousel-control .icon-down {
        width: 20px;
        height: 20px;
        line-height: 1;
        font-family: serif;
    }

    .carousel.vertical .carousel-control .icon-prev:before {
        content: '\2039';
    }

    .carousel.vertical .carousel-control .icon-next:before {
        content: '\203a';
    }

/* 
Customized Boostrap Slider
===============================================================
*/

.slider-container .carousel .item img {
    width: 100%;
}

.slider-container {
    position: relative;
    max-height: 584px;
    overflow: hidden;
}

.menu-top > div.container {
    width: 100%;
    max-width: 1600px;
}

.mainmenu {
    display: table;
    width: 100%;
}

.headerarea > .container {
    width: 100%;
    max-width: 1600px;
}


/* li.srcbox {
    position: relative;
}
 */
.src-frm {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    z-index: 999999;
    background-color: #fff;
    height: 100%;
    overflow: hidden;
    padding: 40px 0;
}

body.inner-page .bookanappoinment {
    margin-bottom: 5px;
}

.src-frm input {
    height: 100%;
    width: 100%;
    outline: 0;
    border: 0;
    font-size: 32px;
    text-transform: uppercase;
    color: #bbb;
    background: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    display: inline-block;
    width: 90%;
    color: #ddd;
}

.src-frm .btn-close {
    background: transparent;
    border: 0 none;
    font-size: 26px;
    color: #ddd;
    line-height: 40px;
    display: inline-block;
    vertical-align: bottom;
    cursor: pointer;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

    .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,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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;
    }
}
