/*
Theme Name: OnePage
Author: Frederik Myhr
contributor: Hannibal Paulsen
Description: REKOM OnePage Theme
Version: 1.0.116
Details URI: http://wpupdater.rekom.dk/ThemeUpdates/details.html'
Text Domain: 
Tags: OnePage
*/


/*------------------------------------*\
    MAIN Global styling
\*------------------------------------*/


/* global box-sizing */

*,
*:after,
*:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*-webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;*/
}


/* html element 62.5% font-size for REM use */

* {
    margin: 0;
    padding: 0;
}

body {
    line-height: calc(1.6em + (1.8 - 1.6) * ((100vw - 300px)/(1600 - 300)));
}


/* clear */

.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
    max-width: 100%;
    vertical-align: bottom;
    height: auto;
}

a {
    text-decoration: none;
    -webkit-transition: .2s;
    transition: .2s;
}

a:focus {
    outline: 0;
}

a:hover,
a:active {
    outline: 0;
    text-decoration: none;
}

input:focus {
    outline: 0;
    border: 1px solid #04A4CC;
}

.priser p {
    text-transform: uppercase;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/


/* wrapper */

.wrapper {
    margin: 0 auto;
    position: relative;
}

.outer-wrapper {}


/* header */

.header {
    position: relative;
    z-index: 99999;
    width: 100%;
    padding: 0 2em;
}

.nav {
    min-height: 20px;
    text-align: center;
    padding: 16px 0;
}

.nav li {
    list-style-type: none;
    display: inline-block;
    padding: 0 20px;
}

.nav a {
    /*text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8em;
    font-weight: bold;*/
    text-decoration: none;
    padding: 15px 0;
    display: block;
}

.nav a:hover {
    text-decoration: none;
}

/*Custom field input*/
.hide-navigation .header,
.hide-navigation .nav,
.hide-navigation #responsive-menu-button {
    display: none;
}

.nav ul {
    padding-left: 0 !important;
}

#responsive-menu-wrapper {
    padding: 1.5em !important;
}


/* logo */

.logo {
    margin: 0 auto;
}

/*.logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 33.33333333%;
    margin-left: 33.33333333%;
}*/

.page-template-page-splash nav,
.page-template-page-splash #responsive-menu-button {
    display: none !important;
}


/* sections */

.scroll-section {
    text-align: center;
    position: relative;
    float: left;
    width: 100%;
    display: flex;
    padding: 100px 2em;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.scroll-section.top {}

.scroll-section .video-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -2;
}

.scroll-section video {
    position: absolute;
    /*z-index: -100;*/
    right: 0;
    top: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(calc((100% - 100vw) / 2));
}

.scroll-section .content {
    width: 100%;
    margin: auto;
    padding: 4em;
    justify-content: center;
    z-index: 1;
}

.no-touch .scroll-section.top {
    background-attachment: fixed;
}

/***Media Query***/

@media only screen and (max-width: 768px) {
    .hide-header-768 {
        display: none;
    }

    .scroll-section {
        padding: 50px 1em;
    }
}

@media only screen and (max-width: 640px) {

    .scroll-section .content {
        padding: 3em 2em;
    }

    .scroll-section .video-wrapper {
        position: absolute;
    }

    .scroll-section video {
        max-height: 100%;
    }
}

@media only screen and (max-width: 414px) {
    .scroll-section .content {
        padding: 2em 1em;
    }

    .logo {
        width: 100%;
    }
}


/*------------------------------------*\
    WP BLOCKS CORRECTIONS
\*------------------------------------*/

@media only screen and (max-width: 600px) {
    .wp-block-media-text .wp-block-media-text__content {
        padding: 0;
        padding-top: 20px;
    }
}


/*------------------------------------*\
    SLIDER SECTION
\*------------------------------------*/

.hero-slider-section {
    position: relative;
    width: 100%;
    display: flex;
}

.hero-slider-section .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-slider-section .content {
    position: absolute;
    width: calc(100% - 2em);
    padding: 4em 4em;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hero-slider {
    width: 100%;
    overflow: hidden;
}

.flickity-viewport {}

.hero-slider .hero-slider-slide {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-slider .hero-slider-slide .slider-inner {
    margin: 0 auto;
    padding: 20px 50px 40px;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}

.hero-slider .flickity-prev-next-button {
    width: 80px;
    height: 80px;
    background: transparent;
    z-index: 2;
}

.hero-slider .flickity-prev-next-button:hover {
    background: transparent;
}

.hero-slider .flickity-prev-next-button .arrow {
    fill: white;
}

.hero-slider .flickity-page-dots {
    bottom: 30px;
}

.hero-slider .flickity-page-dots .dot {
    width: 30px;
    height: 4px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
    border: 0 solid white;
    border-radius: 0;
}

.hero-slider .flickity-page-dots .dot.is-selected {
    background: #fff;
    border: 0 solid #fff;
}

@media only screen and (max-width: 640px) {

    .hero-slider-section .content {
        padding: 3em 2em;
    }

}

@media only screen and (max-width: 414px) {

    .hero-slider-section .content {
        padding: 2em 1em;
    }

}


/*------------------------------------*\
    FOOTER
\*------------------------------------*/

footer {
    padding-top: 50px!important;
    padding-bottom: 50px!important;
    flex-wrap: wrap;
}

footer .content .widget-container {
    display: flex;
    flex-wrap: wrap;
}

footer .content .widget-area {
    flex: 1;
    min-width: 180px;
    padding: 0 10px;
    margin: 0 auto 40px;
}

footer .content .widget-area h5 {
    margin-bottom: 4px;
}

footer .gdpr-group {
    text-align: center;
    width: 100%;
    max-width: 70%;
    margin: 0 auto;
}

footer .gdpr-group ul {
    margin-bottom: 10px;
}

footer .gdpr-group li {
    list-style-type: none;
    display: inline-block;
    padding: 0 20px;
}

footer .copyright {
    font-size: 86%;
}

/***Media Query***/

@media only screen and (max-width:768px) {
    footer .content .widget-container {
    flex-wrap: wrap;
        flex-basis: 50%;
        flex-grow: 0;
    }
}

@media only screen and (max-width:640px) {
    footer .content .widget-area {
        /*flex-basis: 100%;
        flex-grow: 1;*/
    }
}

@media only screen and (max-width:414px) {
    footer .content .widget-area {
        flex-basis: 100%;
        flex-grow: 1;
    }
}

/*------------------------------------*\
    Selskabsinfo pop-up
\*------------------------------------*/

.onepage-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(16, 20, 27, 0.42);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
    z-index: 1;
}

.onepage-popup.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
    z-index: 999999;
}

.onepage-popup-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: 4em auto;
    background: #FFF;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px);
    /* Force Hardware Acceleration in WebKit */
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.onepage-popup-content {
    padding: 4em 3em;
}

.onepage-popup-content h1,
.onepage-popup-content h2,
.onepage-popup-content h3,
.onepage-popup-content h4,
.onepage-popup-content h5,
.onepage-popup-content h6,
.onepage-popup-content p,
.onepage-popup-content a {
    color: #666 !important;
}

.onepage-popup .close-circle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 3px solid #E91E63;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
}

.onepage-popup .close-circle:after,
.onepage-popup .close-circle:before {
    width: 18px;
    height: 3px;
    background-color: #E91E63;
    content: "";
    left: 50%;
    top: 50%;
    margin-left: -9px;
    margin-top: -1.8px;
    position: absolute;
}

.onepage-popup .close-circle:after {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    /*@include transform-origin(100%,100%);*/
}

.onepage-popup .close-circle:before {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    /*@include transform-origin(0%,0%);*/
}

.onepage-popup .close-circle[data-animation="magnify"]:not(.magnify) {
    -moz-transition: ease-in-out 100ms;
    -o-transition: ease-in-out 100ms;
    -webkit-transition: ease-in-out 100ms;
    transition: ease-in-out 100ms;
}

.onepage-popup .close-circle[data-animation="magnify"]:not(.magnify):hover {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

.onepage-popup .close-circle.magnify {
    -moz-transition: ease-in-out 200ms;
    -o-transition: ease-in-out 200ms;
    -webkit-transition: ease-in-out 200ms;
    transition: ease-in-out 200ms;
    -moz-transform: scale(1.6);
    -ms-transform: scale(1.6);
    -webkit-transform: scale(1.6);
    transform: scale(1.6);
    opacity: 0;
}

.onepage-popup .fromMiddle:before,
.onepage-popup .fromMiddle:after {
    z-index: 9999;
    -moz-transition-delay: 150ms;
    -o-transition-delay: 150ms;
    -webkit-transition-delay: 150ms;
    transition-delay: 150ms;
    -moz-transition: ease-in-out 400ms;
    -o-transition: ease-in-out 400ms;
    -webkit-transition: ease-in-out 400ms;
    transition: ease-in-out 400ms;
}

.onepage-popup .fromMiddle span {
    width: 32px;
    height: 32px;
    background-color: #E91E63;
    display: inline-block;
    position: absolute;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    left: -1px;
    top: -2.2px;
    z-index: -9999;
    -moz-transform: scale(0.3);
    -ms-transform: scale(0.3);
    -webkit-transform: scale(0.3);
    transform: scale(0.3);
    opacity: 0;
    -moz-transition: ease-in-out 300ms;
    -o-transition: ease-in-out 300ms;
    -webkit-transition: ease-in-out 300ms;
    transition: ease-in-out 300ms;
}

.onepage-popup .fromMiddle:hover:before,
.onepage-popup .fromMiddle:hover:after {
    position: absolute;
    background-color: #fff;
}

.onepage-popup .fromMiddle:hover span {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}


/*------------------------------------*\
    SPLASH
\*------------------------------------*/

.splash_division {
    height: 100vh;
    width: 50%;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.splash_divisions {
    text-align: center;
    position: relative;
    float: left;
    width: 100%;
    display: block;
}

.splash_division:hover {
    opacity: .9;
}

.page-template-page-splash .scroll-section {
    padding: 0 !important;
}


/*------------------------------------*\
    INSTAGRAM
\*------------------------------------*/

#instafeed {
    width: 100%;
    float: left;
}

#instafeed a {
    width: calc(100% / 4);
    float: left;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

#instafeed a:before {
    content: "";
    clear: both;
    display: block;
    padding-top: 100%;
}

#instafeed a img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    background-size: cover;
    min-height: 100%;
    min-width: 100% !important;
}


/***Media Query***/

@media only screen and (max-width: 414px) {
    #instafeed a {
        width: calc(100% / 2);
    }
}

@media only screen and (max-width: 640px) {}

@media only screen and (max-width: 768px) {
    #instafeed a {
        width: calc(100% / 2);
    }
}


/*------------------------------------*\
    GALLERY SECTIONS
\*------------------------------------*/

.gallery,
.logo-gallery {
    width: 100%;
    float: left;
    position: relative;
}

.logo-gallery {
    padding: 0px 1px 1px 0px;
}

.logo-gallery .content {
    margin: 0 auto;
    text-align: center;
}

.gallery .gallery-img,
.logo-gallery .logo-gallery-img {
    float: left;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    -webkit-transition: .15s;
    transition: .15s;
}

.gallery li {
    width: calc(100% / 4);
}

.logo-gallery .logo-gallery-img a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    text-decoration: none;
}

.gallery .gallery-img:before,
.logo-gallery .logo-gallery-img:before {
    content: "";
    clear: both;
    display: block;
    padding-top: 100%;
}

.gallery .gallery-img img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    object-fit: cover;
    background-size: cover;
    min-height: 100%;
    min-width: 100% !important;
}

.logo-gallery .logo-gallery-img img {
    position: absolute;
    padding: 12%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100% !important;
}


/***Media Query***/

@media only screen and (max-width: 414px) {
    .gallery .gallery-img {
        width: calc(100% / 2);
    }
}

@media only screen and (max-width: 640px) {}

@media only screen and (max-width: 768px) {
    .gallery .gallery-img {
        width: calc(100% / 2);
    }
}


/*------------------------------------*\
    FULLSCREEN SECTION
\*------------------------------------*/

.fullscreen {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0!important;
}

.fullscreen article {
	width: 100%;
}


/*------------------------------------*\
    FORM
\*------------------------------------*/

.gform_button,
.button {
    display: inline-block !important;
    width: auto !important;
    margin: 10px auto 0 auto !important;
    line-height: 1;
    text-decoration: none !important;
}

.gform_button:hover,
.button:hover {
    text-decoration: none;
}

label {
    font-weight: 300 !important;
}

.gform_footer {
    text-align: center;
}

input,
select {
    background-color: #fff;
    border: none;
    width: 100% !important;
}

.gform_wrapper li {
    width: 50%;
    display: inline-block;
}

.clear-multi .ginput_container {
    width: 33, 3% !important;
}

.clear-multi select {
    width: 100%;
}

.gform_wrapper {
    margin-top: 0 !important;
}

.gfield_error,
.validation_error {
    background-color: #fff !important;
    padding: 1em !important;
}

.ui-datepicker {
    background: #f7f7f7;
}

/*------------------------------------*\
    GRAVITY FORMS CORRECTIONS
\*------------------------------------*/

/*** Custom form styling ***/
.gform_fields {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: left;
}

.gform_fields li {
    list-style: none;
    text-decoration: none;
    flex: 45%;
    margin: 0 10px 10px;
}

.gform_fields li textarea {
    width: 100%;
    border-radius: 3px;
    border: none;
    resize: vertical;
}

.flex-grow-1 {
    flex-grow: 1;
}

.gform_fields li label {
    padding: 2px 0 4px;
    display: block;
}

.gfield_required {
    font-size: 145%;
    margin: 3px 3px 0;
    position: absolute;
    color: #f11f46;
}

.screen-reader-text {
    position: absolute;
    overflow: hidden;
    height: 0;
    width: 0;
    /*this text is hidden from wiev*/
}

.gform_footer {
    margin-top: 10px;
}

.ui-datepicker {
    margin: 0px auto !important;
    background: #6e6e73;
    box-shadow: 0px 10px 30px -8px rgba(0, 0, 0, 0.35);
}

.ui-datepicker-prev {
    margin-right: 8px;
}

.ui-datepicker-header {
    margin: 8px;
}

.ui-datepicker-calendar {
    margin: 0 8px 8px;
}

.ui-datepicker-calendar td {
    padding: 2px 5px;
    text-align: center;
    background: #a5a5a5;
    color: #fff;
}

.ui-datepicker-calendar td:hover {
    background: #898989;
}

.ui-datepicker-calendar td a {
    text-decoration: none;
}

.ui-datepicker-calendar td a:hover {
    color: #fff;
}

/**Error massages**/
.validation_error {
    display: none;
}

.gfield_error {
    background-color: rgba(255, 0, 0, 0) !important;
    padding: 0em !important;
}

.validation_message {
    background-color: #f11f46;
    font-size: 85%;
    padding: 5px 5px 1px;
    border-radius: 0 0 4px 4px;
    margin-top: -4px;
}


.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper.gf_browser_chrome select,
.gform_wrapper select {
    padding: 8px 8px !important;
    height: 40px;
    border-radius: 3px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.gform_wrapper ul.gform_fields li.gfield select {
    margin-left: 0px !important;
    /*background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');*/
    background-image: url('./img/down-solid.svg');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}


/*------------------------------------*\
    RESPONSIVE MENU CORRECTIONS
\*------------------------------------*/

#responsive-menu-container #responsive-menu-wrapper {
    background: none !important;
    width: 100%;
    max-height: 100vh;
}

#responsive-menu-container #responsive-menu,
#responsive-menu-container #responsive-menu ul {
    background: none !important;
}

#responsive-menu-container #responsive-menu li.responsive-menu-item a {
    background: none !important;
}

.responsive-menu-box {
    height: 25px !important;
}

/*** vertical certering list in flyout menu***/
#responsive-menu-wrapper {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#responsive-menu-container li.responsive-menu-item {
    margin: 10px 0 !important;
}

/**** burger menu ****/

button#responsive-menu-button {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50px !important;
}

.responsive-menu-box {
    height: 25px !important;
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4em;
    margin: 0 0 0.2em 0;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:768px) {
    .sub-menu {
        display: none;
        text-align: left;
        padding: 20px;
        position: absolute;
    }

    .sub-menu li {
        display: block;
    }
}

@media only screen and (min-width:641px) {
    .gform_wrapper ul.gform_fields li.gfield:nth-child(even) {
        padding-right: 0px !important;
    }

    .mobile-video {
        display: none;
    }
}

@media only screen and (max-width:640px) {
    .gform_wrapper {}

    .desktop-video {
        display: none;
    }

}

@media only screen and (max-width:1024px) {

    .gform_wrapper {
        max-width: 350px !important;
        margin: 0 auto !important;
    }

    .gform_wrapper li {
        width: 100%;
        padding-right: 0px !important;
    }
}

@media only screen and (min-width:1140px) {}

@media only screen and (min-width:1280px) {}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
only screen and (min-resolution:144dpi) {}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}


/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}


/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    .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;
    }

    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;
    }
}
