@keyframes pulse {
  25% { transform: scale(1.05); }
  75% { transform: scale(0.95); }
}

#header-scene {
 background: #006083; /* Old browsers */
background: -moz-linear-gradient(top,  #006083 0%, #4e8aa6 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #006083 0%,#4e8aa6 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #006083 0%,#4e8aa6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006083', endColorstr='#4e8aa6',GradientType=0 ); /* IE6-9 */
}

#header-frame h2.color-yellow span {
    display: flex;
}
#header-frame .text-box {
   /* margin-left: 20%;
    margin-right: 20%;
    text-align: center;
    color: #ffffff;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    display: flex;
    align-items: center;
    z-index: 2;*/
	 margin-left: 40%;
    margin-right: 24px;
}
/*
.text-box.ease-out-back > p {
    font-size: 18px;
    line-height: 24px;
	color:#fff;
}*/
.text-box.ease-out-back > p {
    color: #fff;
    font-family: Arial;
    font-size: 15px;
    line-height: 15px;	
	font-weight: bold;
    line-height: 16px;
    margin-bottom: 10px;
    margin-top: 15px;
}

.text-box.ease-out-back h2.color-yellow {
    padding-bottom: 20px;
}

#header-frame .button-box {
    position: absolute;
    left: 0;
    right: 0px;
    bottom: 48px;
    z-index: 1000;
}

#header-frame.transition-to .text-box {
    transform: translate(0, -300px);
    opacity: 0;
}

#header-frame.transition-to #more-button {
    transform: translate(0, 300px);
}

#more-button {
    cursor: pointer;
}

#more-button:hover {
    animation-name: pulse;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#header-frame .logo {
    height: 36px;
    left: 18px;
    position: absolute;
    top: 18px;
    width: 48px;
}

#header-video, #header-image {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    opacity: .7;
}

#header-video.init, #header-image.init {
    display: none;
}

#header-image {
    display: none;
}

/* iPad (Landscape) */
@media (max-width: 1024px) and (orientation: landscape) {
    #header-video {
        height: 768px;
    }
}

/* iPad (Portrait) */
@media (max-width: 768px) and (orientation: portrait) {
    #header-scene .text-box {
        margin: 40% 20% 20% 20%;
        text-align: center;
    }

    #header-video, #header-image {
        right: -200px;
        height: 768px;
    }
}

/* iPhone (Landscape) */
@media (max-width: 736px) and (orientation: landscape) {
    #header-scene .text-box {
        margin: 10% 20% 25% 20%;
        text-align: center;
        bottom: initial;
    }

    #header-frame .logo {
        transform: scale(.6);
    }

    #header-video, #header-image {
        height: 414px;
    }

    #header-image {
        display: block;
    }

    #header-video {
        display: none;
    }
}

@media (max-width: 568px) and (orientation: landscape) {
    #header-frame .logo {
        transform: scale(.6);
    }

    #header-frame .button-box {
        bottom: 18px;
    }

    #header-image {
        display: block;
    }

    #header-video {
        display: none;
    }
}

/* iPhone (Portrait) */
@media (max-width: 414px) and (orientation: portrait) {
    #header-scene .text-box {
        margin: 40% 20% 20% 20%;
        text-align: center;
        bottom: initial;
    }

    #header-frame .logo {
        transform: scale(.6);
    }

    #header-image {
        display: block;
    }

    #header-video {
        display: none;
    }
}

@media (max-width: 320px) and (orientation: portrait) {
    #header-scene .text-box {
        margin-top: 35%;
        bottom: initial;
    }
    #header-image {
        display: block;
    }

    #header-video {
        display: none;
    }
	.float-right {
		float: right !important;
		text-align: center;
	}
	h2 {
		font-size: 26pt;
		line-height: 26pt;
	}
	.text-box.ease-out-back > p {
		color: #fff;
		font-family: akzidgrobeligcn;
		font-size: 11.5px;
		line-height: 15px;
	}	
	#header-scene .text-box {
		bottom: initial;
		margin-top: 20%;
	}
	#header-scene .text-box {
		margin-bottom: 6%;
		margin-left: 6%;
		margin-right: 6%;
		text-align: center;
	}
	.imgText-align > a img {
		width: 55px;
	}
	#header-frame h2.color-yellow span {
		display: inline;
		font-size: 26px;
	}
	.color-yellow > span:nth-child(2) {
		margin-right: 9px;
	}
}

#header-frame .image-box {
    margin-left: 18px;
    margin-right: 96px;
}
.imgText-align {
    align-items: center;
    display: flex;
	font-size:24px;
	margin-top: 20px;
}
.imgText-align img {
    width: 65%;
}
.color-yellow{
	color:#fbbd0f;
	
}
.color-dark-yellow{
	color:#f9bc30;
	
}

/* iPhone (Portrait) */
@media (max-width: 414px) and (orientation: portrait) {
	#header-scene .text-box {
		bottom: initial;
		margin-top: 17%;
	}
#header-scene .text-box {
    margin-bottom: -20px;
    margin-left: 6%;
    margin-right: 6%;
    text-align: center;
}
#header-frame .image-box {
    margin-left: 58px;
    margin-right: 96px;
}
#header-frame h2.color-yellow span {
		display: inline;
		font-size: 26px;
	}
	.color-yellow > span:nth-child(2) {
		margin-right: 9px;
		
	}
	
}
