/*/////////////////////////////////////////////////////////////////////
 // 
 // Custom theme code styles
 // Written by Themelize.me (http://themelize.me)
 // 
 // This is an empty starter template for overriding styles
 // set by Bootstrap & the theme
 // 
 // ----------------------------------------------------
 // 
 // Remove unused code for better performances
 // 
 // ----------------------------------------------------
 // 
 // $see - Usefuls tools online for editing
 // 1. http://charliepark.org/bootstrap_buttons/ - Button style generator
 // 2. http://www.colorzilla.com/gradient-editor/ - CSS3 gradient maker
 // 
 // $note
 // To ensure custom styles are picked up
 // wrap definitions in body tag
 // ie.
 // body .navbar-inner {
 //   background: #ff0000;
 // }
 // 
 /////////////////////////////////////////////////////////////////////*/

/*******************************************************
 * Custom theme code styles
 * Written by Themelize.me (http://themelize.me)
 *
 * Includes the base variables & mixins needed for all
 * scss files
 *******************************************************/

/*
 * --------------------------------------------------
 * 1. General Elements
 *--------------------------------------------------
 */

/* line 39, assets/scss/custom-style.scss */

#header {
  /* 1. Header wrapper */
}

/* line 40, assets/scss/custom-style.scss */

#highlighted {
  /* 2. Highlighted (below header) wrapper */
}

/* line 41, assets/scss/custom-style.scss */

#content {
  /* 3. Content wrapper */
}

/* line 42, assets/scss/custom-style.scss */

#content-below {
  /* 4. Content Below wrapper */
}

/* line 43, assets/scss/custom-style.scss */

#footer {
  /* 5. Footer wrapper */
}

/*
 * --------------------------------------------------
 * 2. Colours
 *-------------------------------------------------- 
 */

/*
 * --------------------------------------------------
 * 3. Responsiveness/media queries
 *--------------------------------------------------
 */

/* Extra small devices (phones, less than 768px) */

/* No media query since this is the default in Bootstrap */

@media (min-width: 576px) {
  /* Small devices (576px and up). Mixin: media-breakpoint-up(sm) */
}

@media (min-width: 768px) {
  /* Medium devices (768px and up). Mixin: media-breakpoint-up(md) */
}

@media (min-width: 992px) {
  /* Large devices (992px and up). Mixin: media-breakpoint-up(lg) */
}

@media (min-width: 1200px) {
  /* X-Large devices (1200px and up). Mixin: media-breakpoint-up(xl) */
}

/* max-width */

@media (max-width: 575.98px) {
  /* Small devices (575px and down). Mixin: media-breakpoint-down(xs) */
}

@media (max-width: 767.98px) {
  /* Medium devices (767px and down). Mixin: media-breakpoint-down(sm) */
}

@media (max-width: 991.98px) {
  /* Large devices (992px and down). Mixin: media-breakpoint-down(md) */
}

@media (max-width: 1199.98px) {
  /* X-Large devices (1200px and down). Mixin: media-breakpoint-down(lg) */
}

/* target one breakpoint */

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Small devices (between 576px and 767px). Mixin: media-breakpoint-only(sm) */
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Medium devices (tablets, between 768px and 991px). Mixin: media-breakpoint-only(md) */
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Large devices (desktops, between 992px and 1199px). Mixin: media-breakpoint-only(lg) */
}

@media (min-width: 1200px) {
  /* Extra large devices (large desktops, 1200px and up). Mixin: media-breakpoint-only(xl) */
}

/* span multiple screenwidths */

@media (min-width: 768px) {
  /* From medium to large (between 768px and 1199px). Mixin: media-breakpoint-between(md, xl)  */
}

/*
 * --------------------------------------------------
 * 4. Misc
 * Other stuff
 *--------------------------------------------------
 */

.timeline-stacked .timeline-item {
    border-bottom: 3px solid #34495e !important;
}

.card-effect a {
    display: block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

/* Wideo z YT */

.youtube_videos{
    list-style:none;
    margin:0 auto;
    display:block;
    padding:0;
}
.youtube_videos .youtube{
    display:inline-block;
    margin-bottom:1em;
    margin-right:0.5em;
    margin-left:0.5em;
    margin-top:0;

}
.youtube,.thumb{
    width:360px;
    height:250px;
    cursor:pointer;
    position:relative;
    -webkit-box-shadow:0 0.5px 2px #1D242B;
    -moz-box-shadow:0 0.5px 2px #1D242B;
    box-shadow:0 0.5px 2px #1D242B;
}

.youtube > a {
    display: block;
}

.youtube_video{
    width:360px;
    height:250px;
}
.thumb,.youtube_video{
    border:0;
    outline:0;
}

.youtube > span {
    position: absolute;
    bottom: 0;
    background-color: black;
    z-index: 100;
    width: 100%;
    color: white;
    text-align: center;
    margin-bottom: 3px;
}

.modalYT {
    position: fixed;
    visibility: collapse;
    display: none;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    perspective: 100vw;
}

.modalYT iframe {
    border: none;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    /*margin: -240px 0 0 -427px;*/
}

.modalYT img {
    width: 64px;
    right: 0;
    top: 0;
    position: absolute;
    margin: 10px;
    transition: all 200ms ease-in-out;
    opacity: .7;
}

.modalYT img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modalYT.open {
    display: block;
    visibility: visible;
    animation: modalOpen ease-out 300ms;
}

.modalYT.open iframe {
    animation: modalIframeOpen ease-out 500ms;
}

.modalYT.close {
    display: block;
    animation: modalClose ease-out 300ms;
}

.modalYT.close iframe {
    animation: modalIframeClose ease-out 500ms;
}

.image-box {
    position: relative;
}

.play-movie {
    display: inline-block;
    position: relative;
}

.play-movie:after {
    background-image: url(/gfx/play.png);
    background-repeat: no-repeat;
    background-position: center;
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
}

.play-movie img {

}
