body {
    padding: 0;
    margin: auto;
    font-family: 'Cabin', sans-serif;
    background: white;
}

a, div{
    box-sizing: border-box;
    /* transition: 0.5s ease all; */
    /* -webkit-transition: 0.5s ease all; */
}

header#menu a {
    color: white;
    text-decoration: none;
}

div{
    display: block;
    box-sizing: border-box;
}



*{
    transition: 0.5s ease all;
    -webkit-transition: 0.5s ease all;
    /* box-sizing: border-box; */
}

img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

div {
    background-size: cover !important;
    background-position: center !important;
}

#toprow{
    height: 80vh;
    width: 100%;
    background: url('../images/visualhome_maglod2.jpg') fixed no-repeat;
    position: relative;
}

#menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
    box-shadow: 0 0 5px black;
}

.flex-box1.highlight_box {
    background: #10468b;
    color: white;
}

.page {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background: white;
    /* padding: 5px; */
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.55); */
}

.row {
    width: 100%;
}

div#mini_contact span {
    padding: 5px;
    display: inline-block;
}

div#mini_contact {
    border-bottom: 1px solid lightgray;
    text-align: right;
}

ul, menu, dir {
    display: block;
    list-style-type: none;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}

li {
    display: inline-block;
    text-align: -webkit-match-parent;
}

header#menu img {
    height: 25px;
    width: auto;
}

header#menu li {
    font-size: 1em;
    line-height: 26px;
    height: 26px;
    text-transform: uppercase;
    vertical-align: middle;
    padding: 7px 10px;
    background: #10468b;
    margin: auto;
    float: left;
    color: white;
    cursor: pointer;
}

header#menu li:hover {
    background: white;
    color: #10468b;
}

.flex-container{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    display: -moz-flex;
    -ms-flex-flow: row;
        flex-flow: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}

.flex-box1{
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    -moz-flex: 1;
    -webkit-flex: 1;

}

.blueback{
    background: #10468b;
}

.flex-box2{
    -webkit-box-flex: 2;
        -ms-flex: 2;
            flex: 2;
    -moz-flex: 2;
    -webkit-flex: 2;

}

.flex-box3{
    -webkit-box-flex: 3;
        -ms-flex: 3;
            flex: 3;
    -moz-flex: 3;
    -webkit-flex: 3;
}

.inner_content {padding: 10px;}

img#mainlogo {
    position: absolute;
    bottom: 10%;
    /* bottom: 0; */
    width: 100%;
    max-width: 400px;
    right: 0;
    background: rgba(255, 255, 255, 0.90);
}

.shadow{
    box-shadow: 0 0 5px black;
}

div#image_separator1 {
    height: 500px;
    width: 100%;
    background: url(../images/debrecen.2971.jpg) fixed no-repeat;
    position: relative;
}

.inner_content ul li {
    display: list-item;
    margin-left: 2em;
    list-style-type: square;
}

h3:before {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #10468b;
    content: '';
    margin-right: 5px;
}

video {
    width: 100%;
}

.row.black {
    background: #000000;
    z-index: 2;
    /* position: relative; */
}
.maxw25 {
    min-width: 25%;
   -ms-flex-preferred-size: 25%;
       flex-basis: 25%;
}
.maxw50 {
   -ms-flex-preferred-size: 50%;
       flex-basis: 50%;
   max-width: 50%
}




a.bluelink {
	box-shadow:inset 0px 0px 15px 3px #23395e;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #2e466e), color-stop(1, #415989));
	background:-webkit-linear-gradient(top, #2e466e 5%, #415989 100%);
	background:linear-gradient(to bottom, #2e466e 5%, #415989 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2e466e', endColorstr='#415989',GradientType=0);
	background-color:#2e466e;
	border-radius: 0;
	border:1px solid #1f2f47;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	padding:6px 13px;
	text-decoration:none;
	text-shadow:0px 1px 0px #263666;
	margin: 2px;
}
a.bluelink:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #415989), color-stop(1, #2e466e));
	background:-webkit-linear-gradient(top, #415989 5%, #2e466e 100%);
	background:linear-gradient(to bottom, #415989 5%, #2e466e 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#415989', endColorstr='#2e466e',GradientType=0);
	background-color:#415989;
}
a.bluelink:active {
	position:relative;
	top:1px;
}

h4 {
    display: block;
    -webkit-margin-before: 5px;
    -webkit-margin-after: 5px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    text-transform: uppercase;
    border-left: 2px solid #10468b;
    padding-left: 5px;
}

img#sep1 {
    position: absolute;
    top: 0;
    left: 0;
}

img#sep2 {
    position: absolute;
    left: 0;
    bottom: 0;
}

div#video_container {
    position: relative;
    background: url('../images/poster2.jpg') center no-repeat;
    min-height: 200px;
    background-size: cover !important;
}

img.border_bottom_image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99;
}


.item {
  position: relative;
  /* margin: 2%;*/
  overflow: hidden;
  /* width: 31%; */
  /* min-height:300px; */
  /* float:left; */
  display: inline-block;
  /* border: 5px solid white; */
  box-sizing: border-box;
  /* margin: 1%; */
}
.item img {
  max-width: 100%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  width: 100%;
}
.item:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

a.inv_linkbox {
    display: block;
    width:100%;
    height:100%;
    position:absolute;
    z-index: 16;
}

div#virtual_tour_row {
    text-align: center;
    /* padding: 20px 0px; */
    /* margin: 20px 0; */
    background: rgb(16, 70, 139);
    position: relative;
}

.item-overlay.top {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 11px;
    padding-left: 15px;
    padding-right: 10px;
    background: rgba(16, 70, 139, 0.76);
    text-transform: uppercase;
    z-index: 15;
    color: white;
    font-weight: normal;
}

div#virtual_tour_row h2, div#virtual_tour_row h3 {
    padding: 5px;
    margin: 0;
    text-align: left;
    background:white;
    width:auto;
    display: inline-block;
}

div#virtual_tour_row .inner_content {
    width: 100%;
    max-width: 1200px;
    display: block;
    margin: auto;
    left: 0;
    right: 0;
    text-align: left;
}

h2.this_is_new:before {
    content: 'ÚJDONSÁG';
    font-size: 0.6em;
    text-transform: uppercase;
    padding: 5px 7px;
    background: #a00000;
    color: white;
    display: inline-block;
    margin: 4px;
}

.menuhighlight {
    background: #a00000 !important;
}

.menuhighlight:hover {
    background: white !important;
    color: #a00000 !important;
}

li.menuitem.nohover {
    background: #10468b !important;
}