@import url('https://fonts.googleapis.com/css?family=Lato');

body{
  font-family: 'Lato', sans-serif;
  border-image: url(../images/szines-csik-felulre.png) 30 30 round;
  border-bottom: 0px solid white;
  border-top: 3px white solid;
  color: #31417c;
}

.hero-body{
  padding: 1rem 0.5rem;
}

.hero .head{
  height: 200px;
}

.content h1{
  color: #31417c;
  line-height: 1;
}

/*same size box*/
.box{
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 0;
  overflow: hidden;
  
  /*egyforma box magasságok miatt kell!*/
  height: 100%;
}

.column .box{
  padding: 1.25rem;
  max-width: none;
}

.links-table{
  margin-top: 40px;
}

.links-table .column{
  padding: 1px;
}

.links-table .link-text p{
  color: #31417c;
  position: relative;
  top: 50%;
  transform: perspective(1px) translateY(-50%);
  padding-left: 10px;
}

.box .box-overlay{
  background: rgba(0,0,0,0.4);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.box-image{
	width: 100%;
}

.box .box-overlay:hover{
	background: rgba(0,0,0,0.1);
}

.box .box-text{
	position: relative;
  top: 50%;
  transform: perspective(1px) translateY(-50%);
}


.disable {
  position: absolute;
  height: 50%;
  width: 90%; /* Set your own width: percents, ems, whatever! */
  margin: auto; /* Center the item vertically & horizontally */
  top: 0; left: 0; bottom: 0; right: 0; /* Set the bounds in which to center it, relative to its parent/container */
}

.is-size-1-desktop{
  font-size: 5rem!important;
}

.is-horizontal-center {
  justify-content: center;
}

.is-horizontal-left{
  justify-content: flex-start;
}

.is-horizontal-right {
  justify-content: flex-end;
}

.keret{
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 3px rgba(10,10,10,.1), 0 0 0 1px rgba(10,10,10,.1);
}

.ba p img{
  max-height: 150px;
}

.ba p:nth-child(2){
  font-size: 1.25rem;
  color: #384a87;
}


.ba .box{
  border: 2px solid rgba(222, 195, 110, 0.5);
  box-shadow: none;
}
