/*! HTML5 Boilerplate v6.1.0 | 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;
}


/**
 * Fix fonts that render as bold in Firefox
 *
 * Put this near the top of your style.css
 * Before any overriding styles
 */

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-weight: 400;
}

/**
 * Firefox specific rule
 */

@-moz-document url-prefix() {
    body {
        font-weight: lighter !important;
    }
}





/*
 * 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;
    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 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;
    color: #000;
    padding: 0.2em 0;
}

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

/* ==========================================================================
   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);
    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;
    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: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !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) ")";
    }

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

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #000;
    overflow-x: hidden;
}

img {
    padding: 0;
    margin: 0;
}

.img-full {
    width: 100%;
    height: auto;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6, .link-as-button
.col-7,
.col-8,
.col-9,
.col-10 {
    /* background: #eee; */
}

#content p { /* not #content just to lower priority from class */
    color: #000;
}

/* unify all margin tops */
.row h2, .row h3, .row h4, .row p {
    margin-top: 25px;
}

.row a {
    text-decoration: none;
    color: black;
}

.row h3 {
    font-size: 30px;
    line-height: 36px;
    color: #000;
    font-weight: normal;
}

.fullwidth {
    width: 100%;
    height: auto;
}

.fullwidth.image {
    position: relative;
}

.fullwidth.image .container-overlay-text {
    position: absolute;
    top: 30px;
}

.fullwidth.image .container-overlay-text > div {
    padding-top: 20px;
}

/*.image-quote {*/
.fullwidth.image .image-quote {
    position: relative;
    right: -90px;
    top: 4px;
}

#content .fullwidth.image .container-overlay-text p {
    color: #fff;
    padding: 0;
    margin: 0;
    font-size: 28px;
    line-height: 34px;
}

.fullwidth.image .container-overlay-text--black p {
    color: #000;
}

ul.arrows {
    list-style: none;
    padding-left: 0px;
    font-size: 18px;
}

ul.arrows li {
    padding-left: 50px;
    position: relative;
}

ul.arrows p {
    padding-left: 50px;
}

ul.arrows li:before {
    content: "\2192 ";
    position: absolute;
    left: 0px;
}

.filler {
    display: block;
    height: 1px;
    width: 1px;
}

/*
.big-quote {
    height: 64px;
    width: 64px;
}
*/

.big-quote:before {
    /*
    content: "\02EE";
    font-size: 100px;
    */
    /*
    background: url("../../img/elements/narekovaji.png") no-repeat;
    min-height: 64px;
    min-width: 64px;
    display: inline-block;
    */
}

#header {
    padding: 20px 0 0 0;
}

.footer {
    width: 100%;
    background: #4ea1d4 url("../../img/background/footer-blue.png") no-repeat top center;
    height: 440px; /* fixes bottom 20px white strip */
}

.button {
    padding: 5px 15px 7px 15px;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
}

.button--blue {
    background: #4ea1d4;
    color: #fff;
}

.button--yellow {
    background: #f7a31c;
    color: #fff;
}

#mobile-menu {
    width: 20%;
    float: left;
}

a.button--blue, a.button--yellow {
    color: #fff !important;
}

ul.menu--two_rows {
    width: 574px;
    padding: 0;
    margin: 0;

    font-size: 14.35px; /* otherwise one element does not fit into one line*/
}

ul.menu--two_rows li a {
    width: 262px;
    border-top: 1px solid #000;
    height: 30px;
    line-height: 30px;
    display: block;
    text-decoration: none;
    color: #000;
    transition: background-color 0.5s ease;
}

#header-inner ul.menu--two_rows li a.active {
    background: #e6e4d4;
}

ul#bottom_menu.menu--two_rows li a.active {
    font-weight: bold;
    font-size: 13.1px;
    line-height: 30px;
}

#header-inner ul.menu--two_rows li a:hover {
    background: #e6e4d4;
}

ul#bottom_menu.menu--two_rows li a:hover {
    font-weight: bold;
    font-size: 13.1px; /* otherwise one element does not fit into one line*/
    line-height: 30px;
}

ul.menu--two_rows li a:before {
    content: "\2192 ";
    margin-right: 5px;
}

ul.menu--two_rows li:nth-last-of-type(-n+2) a {
    border-bottom: 1px solid #000;
}

ul.menu--two_rows li {
    padding-right: 46px; /* why not 50? */
    display: inline-block;
}

ul.menu--two_rows li:nth-child(even) {
    padding-right: 0px;
}

/* menu in the same line */
ul.menu--one_line {
    text-align: right;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.menu--one_line li {
    display: inline-block;
    padding-left: 20px;
}

ul.menu--one_line li:first-child {
    display: inline-block;
    padding-left: 0px;
}

ul.menu--one_line a {
    text-decoration: underline;
}

.fake-button-over-image {
    position: relative;
    /*top: -35px;*/
    top: -65px;
    left: 0px;
    height: 70px;
    line-height: 70px;
    font-size: 36px;
    background: #004266;
    color: #fff;
    text-align: center;
}

.header-text-wrapper p.yellow {
    font-size: 36px;
    color: #f7a31c;
    line-height: 40px;
}

.header-text-wrapper p.yellow:last-child {
    margin-bottom: 0;
}

#header .header-text-wrapper {
    padding-top: 44px;
    padding-bottom: 0px;
}

#header h1, #header h2, #header h3 {
    margin-top: 0px;
    margin-bottom: 12px;
}

#header p {
    padding: 0;
    margin: 0;
    margin-bottom: 12px;
}

#header p:last-child {
    margin-bottom: 0px;
}

/* needed separations for every page except first page */
#header + .fullwidth.image {
    margin-top: 45px;
}

.link-as-button {
    display: inline-block;
    line-height: 32px;
    /*height: 60px;*/
    font-size: 26px;
    /*background: white;*/
    color: #f7a31c !important;
    text-align: center;
    padding: 13px 20px 15px 20px;
    border: 1px solid #f7a31c;
    text-decoration: none;
}

.container--background {
    background: #e6e4d4;
    width: 100%;
    height: auto;
    padding: 50px 0;
}

.container--background .row {
    margin-bottom: 0px;
}

.container--line_only {
    height: 1px;
    overflow: hidden;
    font-size: 0px;
}

.row h2 {
    font-size: 40px;
    line-height: 40px;

    color: #f7a31c;
    font-weight: normal;

    padding: 0;
    margin: 0;

    margin-top: 30px;
}

.row p {
    color: #004266;

    padding: 0;
    margin: 0;

    padding-top: 15px;

    font-size: 22px;
    line-height: 26px;
}

.row p + .link-as-button {
    margin-top: 45px;
}

/*
.container--line_only .row  {
    height: 1px;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.container--line_only div {
    height: 1px;
    overflow: hidden;
}
*/

.archive-box {
    text-align: center;
    height: 260px;
    background: url('../../img/elements/arhiv-ozadje.jpg') no-repeat;

}

.archive-box a {
    display: inline-block;
    width: 100%;
    height: 260px;
    text-decoration: none;
    font-size: 20px;
    line-height: 260px;
    color: #004266;
}

#header-logo { /* logo */
    margin-top: 53px;
}

.menu--one_line a {
    color: #000;
    text-decoration: none;
}

/* content quirks */

.authors-contact h2 {
    margin-bottom: 20px;
}

.authors-contact h3 {
    padding: 0;
    margin: 0;
    font-size: 25px;
    margin-bottom: 10px !important;
    line-height: 32px;
    color: #f7a31c;
}

.authors-contact p {
    font-size: 18px;
    line-height: 25px;
    color: #004266;
    padding: 0;
    margin: 0 0 40px 0;
}

.authors-contact p a {
    color: #004266;
    text-decoration: underline;
}

.ordinary-content h2 {
    color: #000;
    font-size: 30px;
}

.ordinary-content p {
    color: #000;
    font-size: 18px;
}

.no-top-margin {
    /*margin-top: 0 !important;*/
    -webkit-margin-before: 0 !important;
    padding-top: 0 !important;
    margin-top: -4px !important;
}

.container.container-split_content p {
    color: #004266 !important;
}

#mobile-menu-wrapper {
    display: none;
    width: 100%;
    height: 100%;
    background: #e6e4d4;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000000000000000000000000000;
}

.show-mobile {
    display: none;
}