/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc; /*Pale Cornflower Blue*/
    text-shadow: none;
}

::selection {
    background: #b3d4fc; /*Pale Cornflower Blue*/
    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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc; /*Very Light Grey*/
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
html {
    overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
    background: #808080;/*Gray*/
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #646464;/*Dim Gray*/
}
a img {
    border: none;
}
h1 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 10px;
}
h2 {
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 10px;
}
h3 {
    font-size: 17px;
    line-height: 21px;
    margin-bottom: 10px;
}
h4 {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
}
h5 {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 10px;
}
h6 {
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 10px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {

    }


#page {
    overflow: hidden;
    padding-top: 40px;
    width: 310px;
    margin: 0 auto;
    }


#main {
    width: 310px;
    margin-left: 0;
    background: #B0B0B0; /*Dark Gray*/
    }

div.section_header {
    border-top: 1px solid; /*Whisper*/
}

.section_header .section_title {
    height: 60px;
    position: relative;
    margin-bottom: 0;
    float: left;
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.section_header .section_title span.icon,
.section_header .section_title strong span.icon {
    position: absolute;
    top: 0;
    left: -60px;
    display: block;
    width: 60px;
    height: 60px;
    }

.section_header .section_title span.icon:before,
.section_header .section_title strong span.icon:before {
    font-size: 28px;
    color: #fff;
    width: 60px;
    height: 40px;
    padding-top: 13px;
    text-align: center;
    line-height: normal;
    text-indent: 1px;
    display: block;
    top: 3px;
    left: 0;
    position: absolute;
    }

span.icon {
    display: none;
    }

.section_name {
    font-size: 19px;
    display: block;
    height: 60px;
    overflow: hidden;
    position: relative;
    line-height: 59px;
    width: 135px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    }




/*=====PROFILE=====*/

#profile {
    position: relative;
    }

.profile_section_header {
    border-top: none;
    min-height: 155px;
    }

.section_header .profile_section_title span.icon, 
.section_header .profile_section_title strong span.icon {
     background-color: #003B70; /*Prussian Blue*/
    }


.section_header.profile_section_header .section_title {
    height: 60px;
    }

.profile_section_header .section_name {
   background-color: #003B70; /*Prussian Blue*/

    }

#profile_header {
    padding: 0 15px;
    clear: both;
    overflow: hidden;
    }

#profile_user {
    overflow: hidden;
    float: left;
    width: 100%;
    max-width: 325px;
    }

#profile_photo {
    margin-right: 20px;
    border: 4px solid #e5e5e5;
    border-radius: 2px;
    float: left;
    width: 87px;
    display: none;
    }

#profile_photo img {
    width: 100%;
    vertical-align: top;
    height: auto;
    }

#profile_name_area {
    overflow: hidden;
    padding-top: 15px;
    }

#profile_title {
    text-transform: uppercase;
    font-size: 25px;
    line-height: 30px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0;
    }

#profile_position {
    font-size: 18px;
    line-height: 20px;
    color: #327ea3; /*Lochmara*/
    display: block;
    }

#profile_data {

    font-size: 12px;
    line-height: 20px;
    padding: 20px 5px 0 0;
    overflow: hidden;
    position: relative;
    width: auto;
    margin-bottom: 25px;    
    float: none;
    right: 0;
    display: block;
    margin-top: 0;
    }

#profile_data .profile_row {
    overflow: hidden;
    }

#profile_data .th {
    font-weight: bold;
    width: 90px;
    margin-right: 10px;
    text-align: right;
    display: block;
    float: left;
    color: #000;
    }

.profile_section_body {
    padding: 24px 30px 56px;
    display: block;
    }

#profile_data .td {
    font-weight: bold;
    } 

#profile_data .td a {
    text-decoration: none;
    color: #646464;
    }   

#profile_data .td a:hover {
    color: #fff;
    } 


/*=====RESUME=====*/

#resume {
    position: relative;
    }



.resume_section_header {
    border-top: none;
    }

.section_header .resume_section_title span.icon, 
.section_header .resume_section_title strong span.icon {
    background-color: #FFA500; /*Orange*/
    }



.section_header.resume_section_header .section_title {
    height: 60px;
    }

.resume_section_header .section_name {
     background-color: #FFA500; /*Orange*/
    }

#resume_buttons {
    display: none;
    position: absolute;
    top: 0px;
    right: -60px;
    width: 60px;
    margin: 0 0 60px;
}

#resume_link_print span.icon, 
#resume_link_download span.icon {
    font-size: 28px;
    line-height: 32px;
    display: block;
    text-align: center;
    color: #fff;
    padding-top: 13px;
    z-index: 9999;
    position: relative;
}

#resume_link_print,
#resume_link_download {
    height: 60px;
    text-decoration: none;
    display: block;
    color: #fff;
}

#resume_link_print span.label, 
#resume_link_download span.label {
    width: 0;
    position: absolute;
    height: 60px;
    right: 0;
    opacity: 0;
    font-size: 19px;
    font-weight: bold;
    color: #fff;
    line-height: 59px;
    padding: 0 15px;
    z-index: 999;
    text-transform: uppercase;
}

#resume_link_print {
        background: #FFA500; /*Orange*/
}


#resume_link_download {
    background: #FFA500; /*Orange*/
    /* background: #ffce38; /*Sunglow*/
}

#resume_body {
    padding: 24px 30px 56px;
    display: block;
    clear: both;
    overflow: hidden;
}

.category_title {
    background: #373737;
    height: 25px;
    color: #fff;
    padding-left: 10px;
    padding-top: 3px;
    }

.resume_skills {
    overflow: hidden;
    float: right;
    width: 100%;
    max-width: 250px;
    color: #fff;
    margin-top: 15px;
}

.resume_main_content {
    overflow: hidden;
    float: left;
    width: 100%;
    max-width: 250px;
}

.resume_employment {
    margin-top: 15px;
}

h5.resume_job_title {
    margin-bottom: 0;
}

.resume_job_title{
    font-weight: bold;
    color: #000;
}

.period_from, .period_to {
    font-weight: bold;
}

.resume_period {
    margin-bottom: 5px;
}

.resume_job_body_last{
    margin-bottom: 20px;
}

.category_subtitle {
padding-left: 50px;
    color: #000;
    font-weight: bold;
}

.training_institution {
    font-weight: bold;
    }
.resume_training {
    margin-bottom: 20px;
}

h5.training_institution {
    color: #000;
}

h5.training_institution span {
    display: table;
    color: #646464;/*Dim Gray*/
  }

h5.resume_education_school span {
    display: table;
  }

.education_degree_major {
    display: block;
}

.training_year {
    float: right;
    display: none;
}

.soft_skills {
   padding-top: 15px;
}

.skill_set{
    color: #646464;/*Dim Gray*/
}

/*=====PORTFOLIO=====*/

#portfolio {
    position: relative;
    }

.portfolio_section_header {
    border-top: none;

    }

.section_header .portfolio_section_title span.icon, 
.section_header .portfolio_section_title strong span.icon {
    background-color: #0B5377; /*Dark Cerulean*/
    }

.section_header.portfolio_section_header .section_title {
    height: 60px;
    }

.portfolio_section_header .section_name {
     background-color: #0B5377; /*Dark Cerulean*/
    }



 .portfolio_menu {
        clear: both;
    padding: 15px;
 }


.img-gallery img{
    width: 90%;
    padding-bottom: 15px;
}

.img-gallery{
  transform: scale(1);
}

.thumb {
    margin-left: 30px;
}

.portfolio_section_header {
    height: 60px;
}

.portfolio_itms .gallery{
    position: relative;
    overflow: hidden;
    height: 160px;
}



.thumb img {
  max-width: 90%;
  width: 100%;
  height: auto;
}


.btn {
  font-family: Lato;
  font-size: 1rem;
  font-weight: normal;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  line-height: normal;
  padding: 0.5rem 1rem;
  margin: 0;
  height: auto;
  border: 1px solid;
  vertical-align: middle;
  -webkit-appearance: none;
  color: #555;
  background-color: rgba(0, 0, 0, 0);
  margin-bottom: 10px;
  margin-left: 5px;

}

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

.btn:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0);
  box-shadow: 0 0 0 3px var(--darken-3);
    background-color: #646464;/*Dim Gray*/;
    color: white;
    font-weight: bold;
}

#gallery .portfolio_itms {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    width:23%;
    margin:1%;
    display:none;
    float:left;
    overflow:hidden;
}
    .portfolio_itms .label {
        position: absolute;
        width: 100%;
        height:40px;
        bottom:-40px;
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    }

        .portfolio_itms .label-bg {
            background: #e95a44;
            width: 100%;
            height:100%;
            position: absolute;
            top:0;
            left:0;
        }
    
        .portfolio_itms .label-text {
            color:#fff;
            position: relative;
            z-index:500;
            padding:5px 8px;
        }
            
            .portfolio_itms .text-category {
                display:block;
                font-size:9px;
            }
    
    .portfolio_itms:hover .label {
    bottom:0;
  }
    .portfolio_itms:hover img {
    top:-30px;
  }

    .portfolio-wrapper {
        overflow:hidden;
        position: relative !important;
        background: #666;
        cursor:pointer;
    }

    .portfolio img {
        max-width:100%;
        position: relative;
        top:0;
    -webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);     
    }
    
    .portfolio .label {
        position: absolute;
        width: 100%;
        height:40px;
        bottom:-40px;
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    }

        .portfolio .label-bg {
            background: #e95a44;
            width: 100%;
            height:100%;
            position: absolute;
            top:0;
            left:0;
        }
    
        .portfolio .label-text {
            color:#fff;
            position: relative;
            z-index:500;
            padding:5px 8px;
        }
            
            .portfolio .text-category {
                display:block;
                font-size:9px;
            }
    
    .portfolio:hover .label {
    bottom:0;
  }
    .portfolio:hover img {
    top:-30px;
  } 



/* detail page */

#item1, #item2, #item3, #item4, #item5, #item6, #item7, #item8, #item9, #item10, #item11, #item12, #item13, #item14, #item15,
#item16, #item17, #item18, #item19, #item20, #item21, #item22, #item23, #item24, #item25, #item26, #item27, #item28, #item29,
#item30 {
  overflow: hidden;
  z-index: 999;
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  height: 0;
  width: 100%;
  background: #FFFFFF;
  -o-transition: transform 0.6s linear 0s, height 0s linear 0.6s; 
  -moz-transition: transform 0.6s linear 0s, height 0s linear 0.6s; 
  -ms-transition: transform 0.6s linear 0s, height 0s linear 0.6s; 
  -webkit-transition: transform 0.6s linear 0s, height 0s linear 0.6s; 
  transition: transform 0.6s linear 0s, height 0s linear 0.6s;
    background: #B0B0B0; /*Dark Gray*/
}

#item1:target, #item2:target, #item3:target, #item4:target, #item5:target, #item6:target, #item7:target, #item8:target, 
#item9:target, #item10:target, #item11:target, #item12:target, #item13:target, #item14:target, #item15:target,
#item16:target, #item17:target, #item18:target , #item19:target, #item20:target, #item21:target, #item22:target, #item23:target,
#item24:target, #item25:target, #item26:target, #item27:target, #item28:target, #item29:target, #item30:target {
  height: 100%;
  overflow: auto;
  -o-transition: transform 0.6s linear 0s, height 0s linear 0s; 
  -moz-transition: transform 0.6s linear 0s, height 0s linear 0s; 
  -ms-transition: transform 0.6s linear 0s, height 0s linear 0s; 
  -webkit-transition: transform 0.6s linear 0s, height 0s linear 0s; 
  transition: transform 0.6s linear 0s, height 0s linear 0s;
  -o-transform: translateZ(0) translateX(-100%);
  -moz-transform: translateZ(0) translateX(-100%);
  -webkit-transform: translateZ(0) translateX(-100%);
  -ms-transform: translateZ(0) translateX(-100%);
  transform: translateZ(0) translateX(-100%);
}


.button {
  display: inline-block;
  height: auto;
  width: auto; 
  padding: 5px 10px;
  border-radius: 10px;
  margin: 5px;
  -o-transition: all 0.3s linear 0s; 
  -moz-transition: all 0.3s linear 0s; 
  -ms-transition: all 0.3s linear 0s; 
  -webkit-transition: all 0.3s linear 0s; 
  transition: all 0.3s linear 0s;
  background: #0B5377; /*Dark Cerulean*/
}


 .left p {
  font-family: poppinsregular;
  padding: 0 20px;
  font-size: 1em;
  margin: auto;
}


.button p, input[type="submit"].button {
  margin: 0;
  font-family: poppinssemibold;
  color: #FFFFFF;
  font-size: 1em;
}

.left h2 {
  font-family: poppinssemibold;
  text-align: center;
  font-size: 1.2em;
  padding-top: 15px;
  font-weight: bold;

}


  .right img {
    display: block;
    width: 90%;
    margin: auto;
    padding-top: 25px;
  }


/*=====CONTACT=====*/

#contact {
    position: relative;
    }


#contact_header {
    padding: 0 15px;
    clear: both;
    overflow: hidden;
    }

#contact_info {
    clear: both;
    overflow: hidden;
    }


.contact_section_header {
    border-top: none;
    min-height: 155px;

    }

.section_header .contact_section_title span.icon, 
.section_header .contact_section_title strong span.icon {
    background-color: #0B5377; /*Dark Cerulean*/
    background-color: #327ea3; /*Lochmara*/
          background-color: #006c84; /*Cerulean*/
    }

.section_header.contact_section_header .section_title {
    height: 60px;
    }

.contact_section_header .section_name {
     background-color: #0B5377; /*Dark Cerulean*/
     background-color: #327ea3; /*Lochmara*/
      background-color: #006c84; /*Cerulean*/
    }


#contact_header {
    padding: 25px 30px;
    clear: both;
    overflow: hidden;
    min-height: 300px;
}


#contact_header p{
   font-weight: bold;
}

.first_contact {
    width: 95%;
}

#contact-info .fa-envelope {
    color: #006c84;
    font-size: 24px;
    margin-right: 20px;
}

#contact ul {
    list-style: none;
}


#contact ul li {
    display: inline-block;
}

#contact ul a {
    text-decoration: none;
    color: #006c84;
    font-weight: bold;
    font-size: 24px;
    padding-right: 25px;
}


#email-header span{
    font-weight: bold;
}

 .email_text {
    vertical-align: top;
    color: #006c84;
    font-weight: bolder;
    font-size: 16px;
}
 
.email {
  color: #006c84;
    font-weight: bold;
    font-size: 24px;
    padding-right: 25px;
}

.email a{
 text-decoration: none;
 padding-left: 15px;
}

#internet {
    clear: both;
    padding-top: 15px;
}

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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 30em)  {
    /*480px*/
    /* Style adjustments for viewports that meet the condition */

#page {
    width: 460px;
    }

#main {
    width: 400px;
    margin-left: 60px;
    }

span.icon {
    display: block;
    }

#profile_header {
    padding: 0 30px;
    padding-top: 30px;
    }

#profile_photo {
    display: block;
    }

#profile_data {
    clear: both;
    }

.resume_main_content {
    max-width: 350px;
    }

.training_year {
    display: block;
}

.resume_skills {
    max-width: 350px;
    }

h5.resume_education_school span {
    display: inline-block;
  }

.education_degree_major {
    display: inline-block;
    padding-right: 15px;
}

.left p {
    margin: 50px;
    }

.button p{
    margin: 0;
}

  .right img {
    width: 85%;
  }

.email a{
 text-decoration: none;
 padding-left: 25px;
}

}


@media only screen and (min-width: 35em)  {
    /*560px*/
    /* Style adjustments for viewports that meet the condition */

    .img-gallery img {
    width: 80%;
    padding-bottom: 15px;
}

.thumb {
    margin-left: 60px;
}

#contact_header {
    min-height: 175px;
}

}


@media only screen and (min-width: 48em)  {
    /*768px*/
    /* Style adjustments for viewports that meet the condition */

#page {
    width: 740px;
    }

#main {
    width: 620px;
    }

#profile_header {
    padding: 0 15px;
    padding-top: 30px;
    }

#profile_data {
    float: right;
    padding-top: 2px;
    clear: none;
    }

#resume_buttons {
    display: block;
    }

.resume_main_content {
    max-width: 390px;
    border-right: double;
    border-color: #646464;/*Dim Gray*/
    padding-right: 10px;
    }

.resume_skills {
    max-width: 150px;
    margin-top: 0;
    }

    .portfolio_menu {
    clear: both;
    padding: 15px 30px;
}

.thumb {
    margin-left: 75px;
}

.category_subtitle {
    text-align: center;
    padding-left: 0;
    }


#contact_connect {
    overflow: hidden;
    float: left;
    width: 100%;
    max-width: 300px;
}


#internet {
    clear: none;
    padding-top: 0px;
}

}

@media only screen and (min-width: 60em)  {
    /*960px*/
    /* Style adjustments for viewports that meet the condition */

#page {
    width: 940px;
    }

#main {
    width: 820px;
    }

#profile_user {
    max-width: 425px;
    }

#profile_header {
    padding: 0 30px;
        padding-top: 30px;
    }

#profile_data {
    position: relative;
    right: 0px;
    padding: 2px 10px 0 0;
    overflow: hidden;
    float: right;
    width: 310px;
    font-size: 12px;
    line-height: 20px;
    margin-top: 0;
    }

.resume_main_content {
    max-width: 550px;
    }

.resume_skills {
    max-width: 190px;
    }


#gallery {
      margin: 1rem 0;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 1rem;
  -moz-column-gap: 1rem;
  column-gap: .5rem;
  -webkit-column-width: 50%;
  -moz-column-width: 50%;
  column-width: 50%;
}

 p.desc {
    padding-left: 22%;
    padding-right: 22%;
}

 .right img {
    width: 50%;
  }

#internet {
    float: right;
    margin-right: 50px;
}


}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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