#wrapper,#wrapper2 {
    float: left;
    width: 100%;
    overflow: hidden;
}
#header {
    float: left;
    width: 100%;
    left: 0px;
    top: 0px;
    color: #000;
    position: fixed;
    z-index: 9999;
}
#header2 {
    float: left;
    width: 100%;
    left: 0px;
    top: 0px;
    color: #000;
    position: absolute;
    z-index: 9999;
}
#header2:before {
    content: "";
    background-image: url(../images/ribbon2.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 352px;
}
#header-inner {
    width: 100%;
    margin: 0px auto;
    left: 0;
    right: 0;
    transition: all 0.2s;
}

.header-box{
    margin: 0;
    padding: 0;
    border-radius: 0px;
    transition: all 0.2s ease-in-out;
    background-color: rgba(0,0,0,0.7);
}
.header-box.bg-blue{
    background-color: #00a7e9;
}
.header-box-row {
    margin: 0 auto;
    padding: 0;
    display: table;
    width: 100%;
    color: #FFF;
    max-width: 1200px;
}
.header-box-logo {
    display: table-cell;
    vertical-align: bottom;
    padding: 20px 0 10px 0;
    width: 200px;
    transition: all 0.2s;
}
.header-box-logo img {
    width: auto;
    height: auto;
    max-height: 100%;
    transition: all 0.3s;
}
.header-box-menu {
    display: table-cell;
    vertical-align: bottom;
}

#header-bg {
    display: block;
    position: absolute;
    height: 85px;
    width: 100%;
    z-index: -1;
	background-color:#000;
	opacity:1;
}

#header-inner-logo {
    display: table;
    padding: 0;
    text-align: center;
    margin: 0 auto;
    top: 65px;
    z-index: 1;
}
#header2 #header-inner-logo {
    display: table;
    padding: 0;
    text-align: center;
    margin: 0 auto;
    top: 40px;
    z-index: 1;
    right: 0;
    position: absolute;
}
#header-inner-logo a{
    display: inline-block;
}
#header-inner-logo img {
    width: auto;
    max-width: 100%;
    height: 180px;
    max-height: 100%;
    object-fit: contain;
}
#header2 #header-inner-logo img {
    width: auto;
    max-width: 100%;
    height: 75px;
    max-height: 100%;
    object-fit: contain;
}
#header-inner-logo-icon {
	float: left;
	height: 60px;
	width: 50px;
	font-size: 40px;
	text-align: center;
}
#header-inner-logo-text {
	float: left;
	font-size: 20px;
}
#header-inner-logo-text span {
	font-weight: 600;
}
#header-inner-nav {
	float: right;
	position:relative;
}
#header-inner-nav p {
    font-size: 14px;
    text-decoration: none;
    display: block;
    float: left;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
	margin: 0px;
    padding: 5px 30px;
	font-weight:bold;
	color:#FFF;
	border-top:2px solid rgba(255,255,255,0);
	border-bottom:2px solid rgba(255,255,255,0);
}
#header-inner-nav p:hover {
	color: rgba(255,255,255,1);
	cursor:pointer;
	border-top:2px solid rgba(255,255,255,1);
	border-bottom:2px solid rgba(255,255,255,1);
}
.header-box-row nav {
    position: relative;
    float: right;
    margin: 0;
}
.tab {
	float: left;
	width: 100%;
	position: relative;
	overflow: hidden;
}
.tab img {
}
.tab-headline {
	position: absolute;
	left: 50%;
	top: 50%;
}
.tab-headline p {
	border: 4px solid rgba(255,255,255,1);
	font-size: 100px;
	color: rgba(255,255,255,1);
	padding-left: 30px;
	padding-right: 30px;
	font-weight: 300;
	margin: 0px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.tab-headline p:hover {
	color: rgba(239,74,74,1);
	border-top-color: rgba(239,74,74,1);
	border-right-color: rgba(239,74,74,1);
	border-bottom-color: rgba(239,74,74,1);
	border-left-color: rgba(239,74,74,1);
}
.tab-button{
	float: left;
	height: 60px;
	line-height: 60px;
	background-color: #282b34;
	margin-right: 30px;
	margin-left: 30px;
}
.tab-button a {
	color: rgba(255,255,255,1);
	text-decoration: none;
	display: block;
	font-size: 16px;
}
.tab-button:hover .tab-button-icon{
	background-color: #0093fd;
}
.tab-button:hover .tab-button-text{
	background-color: #3D414E;
}
.tab-button-icon{
	float: left;
	height: 60px;
	width: 60px;
	text-align: center;
	background-color: #ef4a4a;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
.tab-button-icon a {
	font-size: 25px;
}
.tab-button-text{
	float: left;
	height: 60px;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
.tab-button-text a {
	padding-left: 30px;
	padding-right: 30px;
}

@media only screen and (max-width:1024px){
#header-inner-logo {
    height: auto !important;
    margin: 20px 0px;
    padding: 0px;
    top: 0px !important;
    transition: all 0.4s ease;
    position: relative;
    background: none;
    box-shadow: none;
    display: inline-block;
}
#header-inner-logo img {
    width: auto;
    height: 50px;
    object-fit: contain;
}
#header:before{
    display: none;
}
.header-box-row {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: table;
}
}