@charset "UTF-8";
/*
Theme Name: IntermodalNews

Author: Dynamic Websites
Author URI: https://dynamicwebsites.pl
Requires at least: WordPress 4.9.6
Version: 1.0

*/

/*--------------------------------reset browser-----------------*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

@import url("css/nav.css");
@import url("css/buttons.css");
@import url("css/search.css");
@import url("css/post.css");
@import url("css/widgets.css");
@import url("css/banners.css");
@import url("css/buissnescard.css");

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.white_block {
  background: #fff;
}

a {
  text-decoration: none;
  color: #111;
  transition: all 0.3s ease;
  display: block;
}

a:hover,
#rpwe_widget-2 .rpwe-li:first-child .rpwe-title a:hover {
  color: #e54e53;
  text-decoration: none;
  transition: all 0.3s ease;
}

p a {
  display: inline-block;
}

#timeNow {
  margin-left: 10px;
}

.scrollable2 {
  position: fixed !important;
  bottom: 230px;
}

img.report-cover {
  height: auto;
}

.tnp-lock {
  margin: 0 !important;
  border: none !important;
}
/*--------------------------------FONTS-----------------*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/*--------------------------------Global-----------------*/
body {
  font-size: 14px;
  color:#1e1e1e;
  line-height: normal;
  font-family: 'Open Sans', sans-serif;
  text-align: unset;
}

strong {
  font-weight: 700;
}

img {
  max-width: 100%;
}

p {
  margin-bottom: 10px;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}
h2 {
  font-size: 30px;
  font-weight: 700;
}
h3 {
  font-size: 18px;
 
}
h4 {
  font-size: 12px;
}
h5 {
  font-size: 10px;
}
h6 {
  font-size: 8px;
}

.logo {
  width: auto;
}

.wp-block-image figcaption {
  font-size: 12px;
}

.top_padding {
  padding-top: 10px;
}

.spacer {
  margin-bottom: 20px;
}

.text_padding {
  padding: 10px;
}

.overlay_banner {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
}

.z-index1 {
  z-index: 1;
  position: relative;
}
.z-index9 {
  z-index: 9;
  position: relative;
}

.wp-block-image {
  margin: 10px 0;
}

.work_offerts ul {
  list-style: circle;
  padding-left: 15px;
  margin-bottom: 10px;
}

/*--------top warper---------*/
.wraper {
  border-bottom: 1px solid #eee;
  display: grid;
  height: 60px;
  align-items: center;
}

.banner_top {
  margin-bottom: 10px;
}

.banner_top img {
  width: 100%;
  border: 1px solid #eee;
}

.border_wrap {
  border: 0;
  border-left: 1px solid #dedede;
  border-right: 1px solid #dedede;
  border-radius: 0;  
}

.language_select {
  outline: none;
  cursor: pointer;
  font-size: 10px;
  height: 36px;
  border: 0;
}
.flag_pl {
  width: 10px;
  height: 10px;
  display: grid;
  grid-template-rows: 50% 50%;
}
.poland_w {
  width: 10px;
  height: 5px;
  background: #fff;
}
.poland_r {
  width: 10px;
  height: 5px;
  background: #c91111;
}
.language_select:focus{
  box-shadow: none;
}

.wpcf7 form {
  background: #eee;
  padding: 15px;
}

.wpcf7 form p {
  margin-bottom: 10px;
}

.wpcf7 form label,
.wpcf7 form input,
.wpcf7 form textarea {
  width: 100%;
} 

.wpcf7 form input {
  line-height: 46px;
}

.topfooter {
  background: #252525;
  color: #fff;
}

.footer {
  background: #1e1e1e;
  color:#ffffff;
}

#menu-footer_menu {
  list-style-type: circle;
  padding-left: 30px;
  border: none;
  display: block;
}
#menu-footer_menu li {
  display: list-item;
  padding: 5px;
  border: none;
}
#menu-footer_menu li a {
  color: #6c6c6c;
}
#menu-footer_menu .current-menu-item,
#menu-footer_menu .menu-item:hover {
  border-bottom: none;
  font-weight: bold;
}
#menu-footer_menu .current-menu-item a,
#menu-footer_menu .menu-item:hover a {
  color: #fff;
  text-decoration: none;
}

.topfooter .widget-title {
  font-size: 12px;
  text-transform: uppercase;
  padding-bottom: 0px;
  border: none;
}

.tnp-widget-minimal input.tnp-submit {
  background: #0dac4c !important;
  margin-top: 5px !important;
}

.sfsiplus_footerLnk {
  display: none;
}

.searchTitle {
  margin-bottom: 20px;
  border-bottom: 1px solid #dedede;
}

.searchPost {
  margin-bottom: 10px;
  box-shadow: 0 0 10px #eee;
  padding: 15px;
  border: 1px solid #eee;
}

.more-link {
  border: 1px solid #eee;
  padding: 10px 15px;
  background: #23367b;
  color: #fff;
}

.searchPost .post-title {
  font-size: 16px;
}

.searchPost h3 {
  font-size: 12px;
}

#sb_instagram .sbi_photo img {
  height: 100%;
  object-fit: cover;
}


/* If the screen size is 601px or more */

@media only screen and (max-width: 1500px) {
  #baner_overlay,
  #baner_overlay2 {
    display: none;
  }
}
@media only screen and (min-width: 1400px) {
  .container {
    max-width: 90%;
  }
}
@media only screen and (max-width: 990px){
  /* html5 banner */
  .container_orlen {
    grid-template-columns: 2fr 2fr 1fr;
  }

  .container_orlen,
  .container_orlen::before  {
    height: 210px;
    width: 100%;
  }

  .dsc_orlen {
    font-size: 12px;
    letter-spacing: 3px;
    margin-top: -30px;
  }

  .year_orlen,
  .old_orlen {
    font-size: 4em;
  }

  .logo_orlen::before {
    width: 310px;
    height: 370px;
  }
}
@media only screen and (max-width: 601px) {
  .desctop {
    display: none;
  } 

  .cta_orlen button {
    padding: 5px;
    height: 32px;
    font-size: 12px;
  }

  .logo_orlen img {
    width: 70%;
    height: 80px;
  }
  
  .container_orlen {
    grid-template-columns: auto auto auto !important;
  }

  .container_orlen, .container_orlen::before {
    height: 160px;
    width: 100%;
  }
  
  .logo_orlen::before {
    width: 300px;
    height: 320px;
  }

  .scrollable2 {
    position: relative !important;
    max-width: 100%;
    bottom: auto;
  }

  .topNewsArea {
    background-color: #dc3545;
  }
  
  .mobile {
    display: block;
  }

  .banner_top {
    /* display: none; */
    height: auto;
    margin-top: 10px;
  }

  .banner_top img {
    height: auto;
  }

  .topNewsArea {
    padding: 0;
  }

  .topNews {
    margin: 20px auto;
  }

  .postFirstSection {
    display: grid;
    grid-template-areas: 
              "first"
              "Second"
              "b"
              "c"
              "d"
              "e";
  }
  .postFirstSection li:nth-child(1),
  .postFirstSection li:nth-child(2),
  .postFirstSection li:nth-child(3),
  .postFirstSection li:nth-child(4),
  .postFirstSection li:nth-child(5),
  .postFirstSection li:nth-child(6){
    margin: 0;
  }

  .topNews {
    display: grid;
    grid-template-areas: 
              "head"
              "a"
              "b"
              "c"
              "d";
    grid-template-columns: 1fr;
  } 
  .topNews li:nth-child(1) {
    height: 300px;
  }
  .topNews li:nth-child(1),
  .topNews li:nth-child(2),
  .topNews li:nth-child(3),
  .topNews li:nth-child(4),
  .topNews li:nth-child(5) {
    width: 100%;
    margin-right:0;
    margin-bottom: 5px;
  }

  .topNews li:nth-child(2) .post_img img, .topNews li:nth-child(3) .post_img img, .topNews li:nth-child(4) .post_img img, .topNews li:nth-child(5) .post_img img {
    height: auto;
  }


  .more_btn {
    padding: 20px 0 !important;
    margin-bottom: 20px;
    text-align: left;
    text-transform: uppercase;
    background: transparent;
    color:#23367b !important;
    font-weight: bold;
    border-top: 1px solid #eee;
    text-decoration: underline;
  }

  .wp-block-media-text {
    display: block !important;
  }
  .wp-block-media-text__media {
    margin-bottom: 20px !important;
  }
  .wp-block-media-text__content {
    margin: 0 !important;
  }

  .flip-card {
    height: 902px;
  }

  .flip-card-back  {
    height: 902px;
    max-height: 902px;
  }

  .expoertName {
    font-size: 20px;
  }

  .expertBox {
    grid-template-columns: 1fr;
  }

  .expertPhoto img {
    height: 350px;
  }
  
}