@import url(font-awesome.min.css);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;600;700;900&display=swap');

html {
  /*FireFox*/
  scrollbar-width: none;
  /*IE10+*/
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

html::-webkit-scrollbar {
  /*Chrome, Safari, Edge*/
  display: none;
}

body {
  background-color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin: 0;
  position: relative;
}

.w-100 {
  width: 100% !important;
}

.w-50 {
  width: 50% !important;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.m-0 {
  margin: 0;
}

.mt-10 {
  margin-top: 10px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-100 {
  margin-top: 100px;
}

.p-0 {
  padding: 0 !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.pr-80 {
  padding-right: 80px;
}

.w-50p {
  width: 50%;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-700 {
  font-weight: 700;
}

.zero {
  margin: 0;
}

.home {
  width: 100%;
}

.home.bottom {
  margin-bottom: 17.3vw;
}

.grid-layout {
  display: flex;
  flex-wrap: wrap;
  padding: .2vw .1vw;
}

@media (min-width: 921px) {
  .bottom-cover {
    position: relative;
    height: 50px;
    background-color: #fff;
  }
}

.owl-carousel, .grid-content, .owl-carousel .owl-stage-outer {
  transition: all 0.5s;
}

.grid-item {
  overflow: hidden;
  font-size: 14px;
  text-transform: uppercase;
  color: #000;
  margin: 0;
  flex: 0 0 auto;
  width: 50%;
}

@media screen and (max-width: 921px){
  .grid-item  {
    width: 100%;
  }
}

.grid-item.active {
  z-index: 2;
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.grid-item.right, .grid-item.left {
  z-index: 1;
  position: relative;
}

@media screen and (min-width: 921px){
  .grid-item.active .border:hover + .owl-carousel .owl-stage-outer, .grid-item.active .border:hover ~ .grid-content {
    -ms-transform: translateY(-1.5vw);
    -webkit-transform: translateY(-1.5vw);
    -moz-transform: translateY(-1.5vw);
    -o-transform: translateY(1.5vw);
    transform: translateY(-1.5vw);
    transition-delay: .2s;
  }

  .grid-content:hover {
    -ms-transform: translateY(-1.5vw);
    -webkit-transform: translateY(-1.5vw);
    -moz-transform: translateY(-1.5vw);
    -o-transform: translateY(-1.5vw);
    transform: translateY(-1.5vw);
    transition-delay: .2s;
  }
  
  /* EGYEDI MÉRETEZÉS */
  .grid-item.active .border:hover ~ #c-rd5.grid-content,
  .grid-item.active .border:hover ~ #c-rd15.grid-content,
  .grid-item.active .border:hover ~ #c-rd35.grid-content,
  .grid-item.active .border:hover ~ #c-rd43.grid-content,
  .grid-item.active .border:hover ~ #c-rd57.grid-content,
  .grid-item.active .border:hover ~ #c-rd58.grid-content,
  .grid-item.active .border:hover ~ #c-rd60.grid-content,
  .grid-item.active .border:hover ~ #c-rd64.grid-content {
    -ms-transform: translateY(-2.5vw);
    -webkit-transform: translateY(-2.5vw);
    -moz-transform: translateY(-2.5vw);
    -o-transform: translateY(2.5vw);
    transform: translateY(-2.5vw);
  }
  .grid-item.active .border:hover ~ #c-rd46.grid-content,
  .grid-item.active .border:hover ~ #c-rd63.grid-content {
    -ms-transform: translateY(-3.5vw);
    -webkit-transform: translateY(-3.5vw);
    -moz-transform: translateY(-3.5vw);
    -o-transform: translateY(3.5vw);
    transform: translateY(-3.5vw);
  }

  #c-rd5 .grid-content:hover,
  #c-rd15 .grid-content:hover,
  #c-rd35 .grid-content:hover,
  #c-rd43 .grid-content:hover,
  #c-rd57 .grid-content:hover,
  #c-rd58 .grid-content:hover,
  #c-rd60 .grid-content:hover,
  #c-rd64 .grid-content:hover {
    -ms-transform: translateY(-2.5vw);
    -webkit-transform: translateY(-2.5vw);
    -moz-transform: translateY(-2.5vw);
    -o-transform: translateY(-2.5vw);
    transform: translateY(-2.5vw);
  }
  #c-rd46 .grid-content:hover,
  #c-rd63 .grid-content:hover {
    -ms-transform: translateY(-3.5vw);
    -webkit-transform: translateY(-3.5vw);
    -moz-transform: translateY(-3.5vw);
    -o-transform: translateY(-3.5vw);
    transform: translateY(-3.5vw);
  }
}

@media screen and (max-width: 920px){
  .border:hover + .owl-carousel .owl-stage-outer, .border:hover ~ .grid-content {
    transform: translateY(-2.7vw);
  }
  
  /* EGYEDI MÉRETEZÉS */
  .border:hover ~ #c-rd5.grid-content,
  .border:hover ~ #c-rd15.grid-content,
  .border:hover ~ #c-rd35.grid-content,
  .border:hover ~ #c-rd43.grid-content,
  .border:hover ~ #c-rd57.grid-content,
  .border:hover ~ #c-rd58.grid-content,
  .border:hover ~ #c-rd60.grid-content,
  .border:hover ~ #c-rd64.grid-content {
    transform: translateY(-5vw) !important;
  }
  .border:hover ~ #c-rd46.grid-content,
  .border:hover ~ #c-rd63.grid-content {
    transform: translateY(-7vw) !important;
  }
}

.grid-item.translate:nth-child(2n-1) {
    -ms-transform: translateY(17.3vw);
    -webkit-transform: translateY(17.3vw);
    -moz-transform: translateY(17.3vw);
    -o-transform: translateY(17.3vw);
    transform: translateY(17.3vw);
}

@media screen and (max-width: 921px){
  .grid-item.translate:nth-child(2n-1) {
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

@media screen and (min-width: 921px){
  .grid-item.translate, .grid-item.translate .grid-layout {
    height: 53.1vw;
  }
}

@media screen and (max-width: 920px){
  .grid-item .translate {
    max-width: 700px;
  }
}

.grid-1, .grid-2, .grid-3 {
  transform-origin: 0 0;
  transition: transform 1s cubic-bezier(.57,-0.32,.38,1.31);
}

.grid-item .border {
  content: '';
  position: absolute;
  z-index: 3;
  border-color: #fff;
  transition: border 0s !important;
}

.grid-item.active .border {
  width: calc(100% - 140px);
  height: 100%;
  left: 70px;
}

.grid-item.left .border, .grid-item.right .border {
  width: 100%;
  height: 100%;
  border-top: .5vw solid #fff;
  border-bottom: .5vw solid #fff;
  cursor: pointer;
  transition: 1s;
}
.grid-item.left .border {
  border-right: .5vw solid #fff;
}
.grid-item.right .border {
  border-left: .5vw solid #fff;
}
@media screen and (min-width: 921px){
  .grid-item.left .border::before, .grid-item.right .border::before {
    content: url(https://rdstudio.hu/img/zoom.png);
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    -ms-transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    transition: .35s;
  }
  .grid-item.left .border:hover, .grid-item.right .border:hover {
    background-color: #0006;
  }
  .grid-item.left .border:hover::before, .grid-item.right .border:hover::before {
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}

@media screen and (max-width: 921px){
  .border {
    /*display: none;*/
    width: calc(100% - 120px) !important;
    left: 60px;
    border: none !important;
  }
  .grid-item.right, .grid-item.left {
      margin-top: 2px;
  }
}



.grid-2, .grid-3 {
  transform-origin: 0 0;
}

@media screen and (min-width: 921px){
  .grid-2 {
    -ms-transform: scale(0.5);
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }
  
  .grid-3 {
    -ms-transform: translate(50%, -100%) scale(0.5);
    -webkit-transform: translate(50%, -100%) scale(0.5);
    -moz-transform: translate(50%, -100%) scale(0.5);
    -o-transform: translate(50%, -100%) scale(0.5);
    transform: translate(50%, -100%) scale(0.5);
  }
}

.grid-content {
  padding: 5px 10px;
  margin-bottom: -50px;
  height: 40px;
  background-color: #fff;
  color: #000;
  font-size: .8vw;
  position: relative;
  z-index: 10;
  display: flex;
}

@media (min-width:921px) and (max-width:1100px) {
  .grid-content {
      padding: 3px 10px;
      height: 44px;
  }
}

@media screen and (max-width: 720px){
  .grid-content {
      padding: 2px 5px;
      height: 46px;
  }
}

@media screen and (max-width: 720px){
  .grid-content {
      padding: 2px 5px 5px;
      height: 45px;
  }
}

/*@media screen and (max-width: 1200px){*/
/*  .grid-content {*/
/*    font-size: 10px;*/
/*  }*/
/*}*/

/*@media screen and (max-width: 1200px){*/
/*  .grid-content {*/
/*    font-size: .8vw;*/
/*  }*/
/*}*/

@media screen and (max-width: 920px){
  .grid-content {
    font-size: 1.5vw;
  }
}

.grid-content .col-9 {
  width: 85%;
}

.grid-content .col-3 {
  width: 15%;
  text-align: right;
}

.grid-content .col-4 .block {
  display: block;
}

@media (min-width: 921px) {
  .owl-nav {
    display: none;
  }
}

.grid-item.active .owl-nav {
  display: flex;
}

.mt-130 {
  margin-top: 130px;
}

/* ====================================
Preloader 
==================================== */

.preloader, .prelogo, .pretext {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 10000;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	background: #fff;
	transition: 1s all ease;
}

.preloader.loaded , .prelogo.loaded {
	opacity: 0;
	visibility: hidden;
}

.preloader-body {
	text-align: center;
}

.preloader-body p {
	position: relative;
	right: -5px;
  color: #333;
}

.cssload-container {
  width: 100%;
  height: 36px;
  text-align: center;
}

.cssload-speeding-wheel {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border: 3px solid #000;
    border-bottom-color: rgb(0,0,0);
    border-left-color: rgb(0,0,0);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: cssload-spin 1s infinite linear;
}

@keyframes cssload-spin {
	100% {
		transform: rotate(360deg);
	}
}

/* ====================================
Logo div 
==================================== */

.prelogo img {
  width: 40vw;
  display: none;
}

.prelogo.done img {
  width: 40vw;
  position: fixed;
  display: flex;
}

.prelogo ::before,
.prelogo ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* block-$ */
.block-effect {
  font-size: 24px;
  font-weight: 100;
  letter-spacing: 30px;
}

.block-effect b {
  margin-left: 40px;
  font-weight: 900;
}

.block-effect span {
  font-weight: 600;
}

.block-reveal {
  --t: calc(var(--td) + var(--d));

  color: transparent;
  padding: 4px;

  position: relative;
  overflow: hidden;

  animation: revealBlock 0s var(--t) forwards;
}

.block-reveal::after {
  content: '';

  width: 0%;
  height: 100%;
  padding-bottom: 4px;

  position: absolute;
  top: 0;
  left: 0;

  background: #fff;
  animation: revealingIn var(--td) var(--d) forwards, revealingOut var(--td) var(--t) forwards;
}

/* animations */
@keyframes revealBlock {
  100% {
    color: #fff;
  }
}

@keyframes revealingIn {

  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes revealingOut {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }

}

.abs-site-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: hsla(0, 0%, 0%, .6);
  font-size: 16px;
}

/* ====================================
Text div 
==================================== */

.text-js-row-1, .text-js-row-2{
  font-weight: 200;
  min-height: 30px;
}


@keyframes flash{
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}

/* ====================================
Navigation 
==================================== */

nav {
  position: fixed;
  width: 100%;
  z-index: 99;
}

nav .container {
  display: flex;
  width: calc(100% - 60px);
  max-width: calc(100% - 60px);
  padding: 15px;
  min-height: 55px;
}

nav ul {
  position: absolute;
  display: flex;
  place-content: flex-end;
  list-style: none;
  right: 0;
  text-decoration: none;
  background-color: #fff;
  margin: 6px 0;
  padding: 10px 0;
  width: 0;
  overflow: hidden;
  transition: all 0.5s;
}

nav ul li {
  padding: 0 20px;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
}

nav ul li a.active-nav {
  font-weight: 700;
}

@media screen and (max-width: 1440px){
  nav ul li a {
    font-size: 12px;
  }
}

@media screen and (max-width: 1200px){
  nav ul {
    display: block;
  }
  nav ul li {
    padding: 10px 20px !important;
  }
  nav ul li a {
    padding: 10px 20px !important;
    font-size: 16px;
  }
}

nav.active ul {
  width: 50vw;
}

@media screen and (max-width: 600px){
  nav.active ul {
    width: 100vw !important;
  }
  .logo {
    z-index: 0 !important;
  }
}

.logo {
  position: absolute;
  top: 3vw;
  left: 60px;
  z-index: 1;
}

.logo img {
  width: calc(25vw - 70px);
  transition: 1s;
}

@media screen and (max-width: 600px){
  .logo {
    top: 22px;
  }
  .logo img {
    width: calc(25vw - 50px);
    min-width: 120px;
  }
}

.plus {
  height: 39px;
  width: 39px;
  float: right;
  cursor: pointer;
  position: absolute;
  right: 20px;
  background-color: #fff;
  margin-top: 6px;
}

.plus img {
  transition: 0.2s ease-in-out;
}

.active .plus img {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (max-width: 1200px){
  .plus {
    z-index: 100;
  }
}

.owl-nav {
  position: absolute;
  top: calc(50% - 50px);
  width: 100%;
}
.owl-nav .owl-next {
  position: absolute;
  right: 0;
}
.owl-nav .owl-prev {
  position: absolute;
  left: 0;
}
.owl-nav img {
  height: 50px;
  margin-top: 5px;
}

.bemutatkozas, .referenciak {
  position: absolute;
  top: 60px;
  left: 50%;
  width: calc(50% - 60px);
  height: 0;
  padding: 0 30px;
  background-color: #fff9;
  z-index: 99;
  overflow: hidden;
	transition: 1s all ease;
  text-transform:uppercase;
}

.bemutatkozas.active, .referenciak.active {
  height: calc(100vh - 60px);
  overflow-y: scroll;
}

.bemutatkozas.active img, .referenciak.active img {
  display: none;
}

.referenciak {
  font-size: 14px;
}

@media screen and (max-width: 1200px){
  .bemutatkozas, .referenciak {
    width: calc(100vw - 60px) !important;
    top: 0 !important;
    left: 0 !important;
    background-color: #fff;
  }
  .bemutatkozas.active, .referenciak.active {
    height: 100vh;
  }
  .bemutatkozas.active img, .referenciak.active img {
    display: block;
  }
}

/* ====================================
Burger king
==================================== */

.open-overlay {
  position: absolute;
  right: 5rem;
  top: 3rem;
  z-index: 100;
  width: 34px;
  display: block;
  cursor: pointer;
}

.open-overlay span {
  display: block;
  height: 1px;
  background-color: #fff;
  cursor: pointer;
  margin-bottom: 8px;
}

.animate-top-bar {
  animation: animate-top-bar .6s linear 1 both
}

.animate-bottom-bar {
  animation: animate-bottom-bar .6s linear 1 both
}

.animate-middle-bar {
  animation: animate-middle-bar .6s linear 1 both
}

.animate-out-top-bar {
  animation: animate-out-top-bar .6s linear 1 both
}

.animate-out-bottom-bar {
  animation: animate-out-bottom-bar .6s linear 1 both
}

.animate-out-middle-bar {
  animation: animate-out-middle-bar .6s linear 1 both
}


/* ====================================
Animation keyframes
==================================== */

@keyframes slide-in-nav-item {
  from {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%)
  }
  to {
    -webkit-transform: translateY(0);
    transform: translateY(0)
  }
}

@keyframes slide-in-nav-item-reverse {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0)
  }
  to {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%)
  }
}

@keyframes animate-top-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #fff
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #29363B;
  }
}

@keyframes animate-bottom-bar {
  0% {
    background-color: #fff;
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #fff;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #29363B;
  }
}

@keyframes animate-middle-bar {
  0% {
    background-color: #fff;
  }
  80% {
    background-color: #fff;
  }
  100% {
    background-color: #29363B;
  }
}

@keyframes animate-out-top-bar {
  0% {
    background-color: #29363B
  }
  50% {
    -webkit-transform: translateY(9px);
    transform: translateY(9px)
  }
  80% {
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    background-color: #29363B
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #FFF;
  }
}

@keyframes animate-out-bottom-bar {
  0% {
    background-color: #29363B
  }
  50% {
    -webkit-transform: translateY(-9px);
    transform: translateY(-9px)
  }
  80% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #29363B;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    background-color: #FFF;
  }
}

@keyframes animate-out-middle-bar {
  0% {
    background-color: #29363B
  }
  80% {
    background-color: #29363B;
  }
  100% {
    background-color: #fff;
  }
}
.home-logo {
  text-decoration: none;
  position: absolute;
  left: 5rem;
  top: 3rem;
  z-index: 10;
  padding-bottom: 3px;
}
@media (max-width: 767px) {
  .open-overlay {
    top: 1.5rem;
    right: 1.5rem;
  }
  .home-logo {
    top: 1.5rem;
    left: 1.5rem;
  }
}

/* Owl */

.item svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.item h1 {
  color: #ffffff;
  font-size: 4rem;
}

.owl-dots {
  height: auto !important;
  position: absolute;
  inset: auto 50% 20px;
  display: flex;
  width: fit-content;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

.owl-dot span {
  width: 30px !important;
  height: 5px !important;
  border-radius: 2.5px !important;
}

/* FOOTER */

footer {
  background-color: #111;
  color: #eee;
}

footer.home {
  position: relative;
  width: 100%;
  margin: 0;
}

footer.other {
  position: absolute;
  width: 100%;
}

footer p {
  text-align: center;
  padding: 5px 0;
  margin: 0;
  font-size: 14px;
}

footer a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

/* ALOLDALAK */

.row {
  display: flex;
  flex-wrap: wrap;
}
.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.header {
  width: 100%;
  height: 500px;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header .cover {
  width: 100%;
  height: 500px;
  background-color: #0005;
}

.header .title {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
}

.header h1 {
  text-align: center;
  font-size: 52px;
  color: white;
  margin: 0;
}

.header.references {
  background-image: url(https://images.unsplash.com/photo-1619759247142-b457e9e6b634?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2071&q=80);
}

.header.about {
  background-image: url(https://firstvoice.fsb.org.uk/static/37569596-0218-4284-a4414f48aacf8463/webp62legocredit-gettyimages-491780933-ex.png);
}

.header.contacts {
  background-image: url(http://sol-v2.sonardev.com.au/app/uploads/SOL_Banner_2.jpg);
}

.container {
  max-width: 700px;
  margin: auto;
  padding: 0 50px;
  min-height: 80px;
}


@media (min-width: 921px) {
  .container {
    max-width: 1100px;
  }
}

.text-container {
  padding: 50px;
}

.text-container h2 {
  font-size: 32px;
  margin-top: 0;
}

.text-container p {
  text-align: justify;
}

.text-container b {
  font-weight: 700;
}

.contact-wrapper {
  background: #fff;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  position: relative;
}

@media (max-width: 1000px) {
  .col-6 {
    width: 100%;
  }
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  .text-container {
    padding: 20px;
  }
}

.noArrow .owl-nav {
  display: none;
}

.tri-grid {
  margin: .15vw;
}

.tri-grid .grid-item {
  margin: 0;
  transform: translateY(0);
}

.tri-grid .grid-item .small-box-single {
  transform: scale(0.5);
  transform-origin: top left;
}