/*! 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: 1rem;
    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: rgba(14, 67, 75, 0.2);
    text-shadow: none;
}

::selection {
    background: rgba(14, 67, 75, 0.2);
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1rem 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.2rem 0;
    background: #ccc;
    color: #000;
    padding: 0.2rem 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Body*/
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 50%;
  background-color: #ed1b25;
}

body::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 4px;
  width: 50%;
  background-color: #1f3c78;
}

/* Headings */
h1 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: #2e4875;
}

h2, h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #00a3b4;
}

.apartments h2 {
  margin-top: 50px;
}

.apartments h1,
.book h1 {
  margin-bottom: 4%;
}

.contact h1 {
  color: #fff;
  text-align: left;
}

/* Images */
img {
  max-width: 100%;
}

/* Links */
a {
  text-decoration: none;
  color: #2e4875;
}

.link {
  font-weight: bold;
  word-break: break-all;
}
a:hover,
a:visited {
  text-decoration: underline;
}

.apartments a,
.book a {
  display: block;
  text-decoration: none;
  color: inherit;
}

footer a {
  display: block;
  margin-top: 20px;
  color: #506a98;
}

/* Buttons */
.book__description .btn,
.contact__info .btn,
.apartments__item .btn,
.save-the-date .btn{
  display: inline-block;
  padding: 6px 15px;
  background-color: #31a3b4;
  transition: background-color 0.5s ease;
  color: #fff;
}


.book__description .btn:hover,
.apartments__item .btn:hover {
  background-color: #2e4875;
  text-decoration: none;
}

.contact__info .btn:hover {
  background-color: #576e96;
  text-decoration: none;
}
.heading-wrapper .btn--red {
  background-color: #ff0000;
  font-size: 23px;
  font-weight: bold;
  top: -4px;
  position: relative;
}
/* Layout */
.wrapper {
  position: relative;
  padding: 0 20px;
  background: rgb(255,255,255);
  background: -moz-linear-gradient(top, rgb(255,255,255) 35%, rgba(14, 67, 75, 0.1) 100%);
  background: -webkit-linear-gradient(top, rgb(255,255,255) 35%,rgba(14, 67, 75, 0.1) 100%);
  background: linear-gradient(to bottom, rgb(255,255,255) 35%,rgba(14, 67, 75, 0.1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#7db9e8',GradientType=0 );
}

.wrapper--no-gradient {
  background: #fff;
}

.wrapper--no-gradient.wrapper--contact {
  background: #2e4875;
}

.wrapper__inner {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

section {
  margin: 60px auto;
}

.save-the-date {
  text-align: center;
}

.save-the-date-subtitle {
  font-size: 2rem;
}

.save-the-date-description {
  font-size: 1.4rem;
}
.save-the-date-subtitle,
.save-the-date-description {
  color: #2e4875;
  font-weight: bold;
}

.save-the-date-subtitle span,
.save-the-date-description span{
  color: #ed1b25
}

.save-the-date-strong {
  color: #ed1b25;
  font-weight: bold;
}

.apartments,
.book,
.contact {
  width: 100%;
  padding-bottom: 90px;
  overflow: hidden;
}

.apartments__item,
.book__description,
.book__image {
  width: 48.7%;
  float: left;
}

.contact__info {
  width: 31%;
  float: left;
}

.apartments__item:nth-child(2),
.book__description{
  margin-right: 2%;
}

/* Logo */
.logo {
  margin: 60px auto;
}

.logo img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

/* About us */
.about-us {
  border-bottom: 2px solid #ebedf2;
  padding-bottom: 64px;
  text-align: center;
  font-size: 1.188rem;
}

.about-us span {
  font-weight: 800;
  color: #184274;
}

/* Apartments */
.apartments__title span {
  color: #00a3b4;
}

.apartments img {
  border: 4px solid #ebeded;
}

/* Book */
.book__title span {
  color: #ed1b25;
}

/* Contact */
.contact {
  margin-bottom: 0;
  padding-top: 60px;
  color: #fff;
}

/* Footer */

footer {
  padding-bottom: 30px;
  text-align: center;
}

footer p {
  padding: 0;
  margin: 0;
  text-align: center;
  color: #7b92bb;
}

/* Style classes */
.highligth {
  color: #00a3b4;
  font-weight: 800;
}

.heading-wrapper {
  text-align: center;
}

.heading-wrapper h1 {
  display: inline-block;
  margin-right: 20px;
}

.heading-wrapper .btn--red span {
  font-size: 14px;
  position: relative;
  top: -4px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (min-width: 0) and (max-width: 768px) {
  .save-the-date-subtitle {
    font-size: 1.2rem;
  }

  .save-the-date-description {
    font-size: 1rem;
  }
  section {
    margin: 10px auto;
  }

  .contact {
    margin-bottom: 0;
    padding-top: 0;
  }

  .apartments, .book, .contact {
    padding-bottom: 20px;
  }

  .logo {
    margin: 30px auto;
  }

  .about-us {
    margin-top: 3%;
    padding-bottom: 10px;
    font-size: 1rem;
  }

  .apartments__item,
  .book__description,
  .book__image,
  .contact__info {
    width: 100%;
    float: none;
  }

  .apartments__item:nth-child(2),
  .book__description{
    margin-right: 0;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.1rem;
  }
  .apartments h2 {
    margin-top: 15px;
  }

  .logo img {
    width: 306px;
  }

  .heading-wrapper .btn--red {
    font-size: 17px;
    top: 0;
  }


}
/* ==========================================================================
   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: 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:
   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;
    }
}

.column li {

    list-style: none;
    margin-bottom: 10px;

}

.column h4 {
  color: #ed1b25;
}

.red {
  color: #ed1b25;

}

/* OBAVIJEST CSS */
.over-title {
  color: #495383;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 14px;
  position: relative;
  padding-left: 40px;
}

.over-title::after {
  content:'';
  width: 100%;
  height: 5px;
  background-color: #C51C23;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.title-upper {
  color: #C51C23;
  font-size: 32px;
  text-transform: uppercase;
  margin-top: 40px;
  margin-bottom: 0;
  padding-left: 40px;
  text-align: center;
}

.title-lower {
  color: #0f3169;
  font-size: 32px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 40px;
  padding-left: 40px;
  text-align: center;
}

.location {
  font-size:28px;
  color: #C51C23;
  font-weight: 700;
  position: relative;
  padding-left: 40px;
}

.location::before {
  content:'';
  width: 100%;
  height: 1px;
  background-color: #C51C23;
  position: absolute;
  top: -20px;
  left: 0;
}

.hotel {
  font-size:28px;
  color: #0f3169;
  font-weight: 100;
  position: relative;
  padding-left: 40px;
}

.hotel::after {
  content:'';
  width: 100%;
  height: 1px;
  background-color: #0f3169;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.program {
  margin-top: 40px;
}

.program-category {
  display: flex;
  margin-bottom: 20px;
}

@media screen and (max-width: 470px) {
  .program-category  {
    flex-direction: column;
  }
}

.program-title {
  min-width: 250px;
  color: #C51C23;
  font-weight: 700;
  padding-left: 40px;
}

@media screen and (max-width: 470px) {
  .program-title, .over-title, .title-upper, .title-lower, .location, .hotel {
    padding-left: 0px;
  }
}

.program-list > div {
  color: #0f3169;
  margin-bottom: 5px; 
}

.themes {
  position: relative;
}

.themes::after {
  content:'';
  width: 100%;
  height: 1px;
  background-color: #C51C23;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.cotisation {
  margin-top: 40px;
}

.contact-links {
  margin-top: 40px;
  position: relative;
}

.contact-links > .program-list {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.contact-links::after {
  content:'';
  width: 100%;
  height: 1px;
  background-color: #C51C23;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.logos {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  margin-bottom: 40px;
}

@media screen and (max-width: 754px) {
  .logos {
    flex-direction: column;
    justify-content: center;
  }
}

.logos > a > img, .logos > img  {
  max-height: 100px;
  width: auto;
  height: 100px;
}

@media screen and (max-width: 754px) {
  .logos > img:nth-child(2) {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

.download-link {
  text-align: center;
  font-weight: 700;
  color: #0f3169;
  font-size: 28px;
  margin-top: 80px;
}

.download-link > .btn {
  display: inline-block;
  padding: 6px 15px;
  background-color: #31a3b4;
  transition: background-color 0.5s ease;
  color: #fff;
}