/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    overflow-y: scroll;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles: ag Project Management
   ========================================================================== */
/* Tipograf�as */
@font-face {
    font-family: 'SourceSansProSemiboldItalic';
    src: url('../fonts/SourceSansPro-SemiboldIt-webfont.eot');
    src: url('../fonts/SourceSansPro-SemiboldIt-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-SemiboldIt-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-SemiboldIt-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-SemiboldIt-webfont.svg#SourceSansProSemiboldItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProBold';
    src: url('../fonts/SourceSansPro-Bold-webfont.eot');
    src: url('../fonts/SourceSansPro-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Bold-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Bold-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Bold-webfont.svg#SourceSansProBold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProBoldItalic';
    src: url('../fonts/SourceSansPro-BoldIt-webfont.eot');
    src: url('../fonts/SourceSansPro-BoldIt-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-BoldIt-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-BoldIt-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-BoldIt-webfont.svg#SourceSansProBoldItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProBlack';
    src: url('../fonts/SourceSansPro-Black-webfont.eot');
    src: url('../fonts/SourceSansPro-Black-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Black-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Black-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Black-webfont.svg#SourceSansProBlack') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProBlackItalic';
    src: url('../fonts/SourceSansPro-BlackIt-webfont.eot');
    src: url('../fonts/SourceSansPro-BlackIt-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-BlackIt-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-BlackIt-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-BlackIt-webfont.svg#SourceSansProBlackItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProExtraLight';
    src: url('../fonts/SourceSansPro-ExtraLight-webfont.eot');
    src: url('../fonts/SourceSansPro-ExtraLight-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-ExtraLight-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-ExtraLight-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-ExtraLight-webfont.svg#SourceSansProExtraLight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProExtraLightItalic';
    src: url('../fonts/SourceSansPro-ExtraLightIt-webfont.eot');
    src: url('../fonts/SourceSansPro-ExtraLightIt-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-ExtraLightIt-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-ExtraLightIt-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-ExtraLightIt-webfont.svg#SourceSansProExtraLightItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProLight';
    src: url('../fonts/SourceSansPro-Light-webfont.eot');
    src: url('../fonts/SourceSansPro-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Light-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Light-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Light-webfont.svg#SourceSansProLight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProLightItalic';
    src: url('../fonts/SourceSansPro-LightIt-webfont.eot');
    src: url('../fonts/SourceSansPro-LightIt-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-LightIt-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-LightIt-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-LightIt-webfont.svg#SourceSansProLightItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProRegular';
    src: url('../fonts/SourceSansPro-Regular-webfont.eot');
    src: url('../fonts/SourceSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Regular-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Regular-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Regular-webfont.svg#SourceSansProRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProItalic';
    src: url('../fonts/SourceSansPro-It-webfont.eot');
    src: url('../fonts/SourceSansPro-It-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-It-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-It-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-It-webfont.svg#SourceSansProItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansProSemibold';
    src: url('../fonts/SourceSansPro-Semibold-webfont.eot');
    src: url('../fonts/SourceSansPro-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Semibold-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Semibold-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Semibold-webfont.svg#SourceSansProSemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}





@font-face {
    font-family: 'seganlight';
    src: url('../fonts/segan-light-webfont.eot');
    src: url('../fonts/segan-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/segan-light-webfont.woff') format('woff'),
         url('../fonts/segan-light-webfont.ttf') format('truetype'),
         url('../fonts/segan-light-webfont.svg#seganlight') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'AftasansItalic';
    src: url('../fonts/AftaSansThin-Italic-webfont.eot');
    src: url('../fonts/AftaSansThin-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/AftaSansThin-Italic-webfont.woff') format('woff'),
         url('../fonts/AftaSansThin-Italic-webfont.ttf') format('truetype'),
         url('../fonts/AftaSansThin-Italic-webfont.svg#AftasansItalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'AftasansRegular';
    src: url('../fonts/AftaSansThin-Regular-webfont.eot');
    src: url('../fonts/AftaSansThin-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/AftaSansThin-Regular-webfont.woff') format('woff'),
         url('../fonts/AftaSansThin-Regular-webfont.ttf') format('truetype'),
         url('../fonts/AftaSansThin-Regular-webfont.svg#AftasansRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

.upper{
    border-bottom: 2px solid #FFF;
    font-size: 14px;
    font-weight: lighter;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
    width: 310px;
}
h2.upper{
    font-size: 10px;
}
   
/* Main styles */

html{
    /*font-family: 'AftasansRegular';*/
    font-family: 'SourceSansProRegular';
    font-size: 14px;
    
}
body{
    background-color: black;
    color: white;    
}
#main{
    margin: 0 auto;
    padding: 10px;
    /*width: 940px;*/
   overflow: hidden;
    width: 960px;
}
#main-header{
    
}
#main-nav{
    margin-bottom: -10px;
    text-align: center;
    padding: 0;
    max-width: 100%;
}
#main-section{
    padding: 10px 0;
    margin-bottom: -20px;
}
#main-slider{
    border: 5px solid #FFF;
    clear: both;
    height: 226px;
    width: 980px;
    overflow: hidden;
}
#space{
    clear: both;
    display: block;
    height: 10px;
    width: 980px;
    overflow: hidden;
}
#second-slider{
    clear: both;
    /*height: 226px;*/
    /*width: 950px;*/
    overflow: hidden;
    margin-bottom: -10px;
}
#main-footer{
    border-bottom: 3px solid #FFF;
    clear: both;
    height: 40px;
    padding-bottom: 10px;
}
/* GRIDS */
.columns-container{
    border: none;
    display: table;
    margin-bottom: -30px;
    padding: 0;
    text-align: left;
    width: 100%;
}
.columns-container.separator{
	margin-top: 0!important;
}
.columns-container img{
    margin-bottom: 20px;    
}    
.one-column{
    display: block;
    line-height: 1.1;
    margin: 25px auto;
    width: 560px;
}
.one-column-contact{
    display: block;
    float: left;
    line-height: 1.1;
    margin: 0 auto;
    width: 100%;
}
.three-columns{
    display: table-cell;
    text-align: left;
    vertical-align: top;
    width: 315px;
}
.three-columns img{
    margin-left: 6px;    
}
.modul{
    padding-left: 5px;
    max-width: 315px;
    vertical-align: middle;
}
.scroll{
    /*height: 75px;*/
    height: 190px;
    overflow: auto;
}
.scroll-secciones{
    height: 80px;
    overflow: auto;
}
.separator{
    margin-bottom: 50px;
    max-height: 5px;
    overflow: hidden;
}
.left{
    float: left;
}
/* Header */
#main-header h1{
    display: block;
    float: left;
    font-size: 21px;
    font-weight: normal;
    vertical-align: bottom;
}
#multi-lang{
    float: right;
    padding: 0;
    vertical-align: bottom;
}
#multi-lang ul{
    list-style-type: none;
    margin-bottom: 0;
}
#multi-lang ul li{
    display: inline;   
}
#multi-lang ul li:first-child{
    border-right: 1px solid #777;
    padding-right: 5px;
}
#multi-lang ul li a{    
    font-size: 14px;
    text-transform: uppercase;  
}
#multi-lang ul li a:first-child{    
       
}
/* Links */
a:link, a:visited{
    color: white;
    text-decoration: none;
}

/* Main Navigation */
#main-nav ul{
    /* Gradient Background */
    background: rgb(239,239,239); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNlZmVmZWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI4NyUiIHN0b3AtY29sb3I9IiM4MjhjOTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjOGU4ZThlIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-radial-gradient(center, ellipse cover,  rgba(239,239,239,1) 0%, rgba(130,140,149,1) 87%, rgba(142,142,142,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(239,239,239,1)), color-stop(87%,rgba(130,140,149,1)), color-stop(100%,rgba(142,142,142,1))); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(239,239,239,1) 0%,rgba(130,140,149,1) 87%,rgba(142,142,142,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover,  rgba(239,239,239,1) 0%,rgba(130,140,149,1) 87%,rgba(142,142,142,1) 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover,  rgba(239,239,239,1) 0%,rgba(130,140,149,1) 87%,rgba(142,142,142,1) 100%); /* IE10+ */
    background: radial-gradient(ellipse at center,  rgba(239,239,239,1) 0%,rgba(130,140,149,1) 87%,rgba(142,142,142,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#8e8e8e',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */      
    
    height: 20px;
    padding: 10px 0;
    text-align: center;
    border-bottom: 5px solid #FFF;
    overflow: hidden;
}
#main-nav ul li{
    display: table-column;
    float: left;
    margin:0 auto;    
    padding: 0px;
    text-align: center;
}
.ie9#main-nav ul li{
    display: none;
    text-align: center;
}
#main-nav ul li a{
    display: inline;
    text-align: center;
    color: #666;
    font-size: 15px;
    padding: 10px 50px;
    /*text-shadow: 0 0 2px #555;*/ 
}

/*
#main-nav ul li:last-child, #main-nav ul li:first-child{    

    padding: 10px 20px;
}
*/
#main-nav ul li a:hover, .active-navigation{
    color: #FFF;
    /* Gradient Background */
    background: rgb(99,182,219); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM2M2I2ZGIiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMzA5ZGNmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-radial-gradient(center, ellipse cover,  rgba(99,182,219,1) 0%, rgba(48,157,207,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(99,182,219,1)), color-stop(100%,rgba(48,157,207,1))); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(99,182,219,1) 0%,rgba(48,157,207,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover,  rgba(99,182,219,1) 0%,rgba(48,157,207,1) 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover,  rgba(99,182,219,1) 0%,rgba(48,157,207,1) 100%); /* IE10+ */
    background: radial-gradient(ellipse at center,  rgba(99,182,219,1) 0%,rgba(48,157,207,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#63b6db', endColorstr='#309dcf',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
    -moz-box-shadow: 5px 0px 20px #000000;
    -webkit-box-shadow: 5px 0px 20px #000000;
    box-shadow: 5px 0px 20px #000000;
    /*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
    text-shadow: -1px -1px 1px #777;
}
#main-nav ul li a.active-navigation{
    color: #FFF;
}
/* Moduls */
.modul ul{
    line-height: 1;
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
    text-align: left;
}
.modul ul li{
    font-size: 13px;
}
.modul ul li:before{
    content: "- ";
}

/* Main Footer */
#social-logos-ul{
    display: block;
    float: right;
}
#main-footer ul li{
    display: inline;
}
/* Contact page */
.contact-content{
    float: right;
    font-size: 16px;
    line-height: .3;
    width: 50%;
}

/* ==========================================================================
    Tabs
    ========================================================================= */
#tabs-column { background: #000;/*height: 210px*/; padding: 0 10px; margin: 0 0 15px 0;}

#tabs-column .nav-tabs { border-bottom: 1px solid #FFF; overflow: hidden; margin: 0; padding: 0; }
#tabs-column .nav-tabs li { width: 97px; float: left; margin: 0 10px 0 0; }
#tabs-column .nav-tabs li.last { margin-right: 0; }
#tabs-column .nav-tabs li a { display: block; padding: 5px; text-transform: uppercase; color: white; font-size: 10px; text-align: center; border: 0; }
#tabs-column .nav-tabs li a:hover { color: rgb(99,182,219);  }

#tabs-column ul { list-style: none; padding: 0; }
#tabs-column ul li a { display: block; border-bottom: 1px solid #666; padding: 4px; color: #666; }
#tabs-column ul li a:hover, #tabs-column ul li a:focus { color: white; }
#tabs-column ul li:last-child a { border: none; }

ul#fotos-list{padding: 0;margin-top: -75px;}

#tabs-column li.nav-one a.current, ul.projects-list li a:hover { background-color: #0575f4; color: white; }
#tabs-column li.nav-two a.current, ul.fotos-list li a:hover { background-color: #d30000; color: white; }
#tabs-column li.nav-three a.current, ul.jquerytuts li a:hover { background-color: #8d01b0; color: white; }
#tabs-column li.nav-four a.current, ul.classics li a:hover { background-color: #FE4902; color: white; }

.current{
    color: blue;
}
.nopadding{
    padding: 0!important;
}
/* Generic Utility */
.hide { position: absolute; top: -9999px; left: -9999px; }
/* ==========================================================================
    Projects
    ========================================================================= */
ul.project-description{
    /*border-bottom: 1px solid #333;*/
    padding-bottom: 10px;
}
ul.project-description li{
    line-height: 1.1;
}
#proyectos{
}
/* ==========================================================================
    Ventana modal +info
    ========================================================================= */
a.masinfo, a.masinfo:hover{
    color: red;
}
.modal-container{
    display: none;
}
.modal-container{
    background: #000;
    border: 3px solid #333;
    height: auto;
    max-height: 90%;
    padding: 20px 10px;
    max-width: 600px;
}
#slider-wrap{
    display: block;
    height: 389px;
    margin: 0 auto;
    max-width: 700px;
    overflow: hidden;
    padding: 75px;
    /*margin-top: 45px;*/
}
#slider-wrap #slider{
    margin:0 auto;
    padding: 0;
}
#fotos{
    margin-bottom: -10px;
    margin-top: 40px;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}
