@import url(http://fonts.googleapis.com/css?family=Ubuntu);

@-ms-viewport{
  width: device-width;
}

 body {margin:0;      
          padding:0;
           font-family: 'Ubuntu', Verdana, Tahoma;
           font-size: 18px !important;
           background-image: url(../images/bg1.jpg);
           background-size: cover;
    }

    a{
        color: white;
    }

	/* Style for our header texts
	* --------------------------------------- */
	h1{
		font-size: 5em;
		color: #fff;
		margin:0;
		padding:0;
	}

    h2{
		font-size: 2em;
		color: #fff;
		margin:0;
		padding:0;
	}

    h3{
        color:white;
        margin-top:0;
        font-size:0.9em;
    }

    p{
        color:white;
        font-size:1em;
        line-height:1.5em;
    }

    .label{
        color:white;
        padding-right:5%;
        padding-top:1em;
        font-size:0.6em;
    }

    .data{
        color:white;
        padding-right:5%;
    }

    .twoColumns{
        width:45%;
        float:left;
    }

    .menu{

    }
	/* Centered texts in each section
	* --------------------------------------- */
	.section{
		text-align:center;
	}

    .slide{
        width:100%;
    }

	/* Backgrounds will cover all the section
	* --------------------------------------- */
	#section0,
	#section1,
	#section2,
	#section3{
		background-size: cover;
		/*background-attachment: fixed;*/
         
	}

	/* Defining each sectino background and styles
	* --------------------------------------- */
	#section0{
		
		padding: 0 0 0 0;
        
	}

    
	
	#section3{
		/*background-image: url(../images/bg4.jpg);
        background-size: auto 100%;
        background-size: cover;*/
		padding: 5em 0 0 0;
	}



 	/*Adding background for the slides
	* --------------------------------------- */
	#section1 #slide1{
		background-image: url(../images/bg2-1.jpg);
        background-size: cover;
        position: relative;
	}

	/* #################### Video ############# */
    .videoBackground{
		position: absolute;
		right: 0;
		bottom: 0;
		top:0;
		right:0;
		width: 100%;
		height: 100%;
		background-size: 100% 100%;
 		background-color: black; /* in case the video doesn't fit the whole page*/
  		background-image: /* our video */;
  		background-position: center center;
        opacity:0.6;
  		background-size: contain;
   		object-fit: cover; /*cover video background */
   		z-index:1;
	}

    .overlay{
        position: absolute;
		right: 0;
		bottom: 0;
		top:0;
		right:0;
		width: 100%;
		height: 100%;
        z-index:1;
    }

    /* ####### Fixed header and footer. ##### */
        #header, #footer {
            position: fixed;
            width: 100%;
            z-index: 9;
            text-align: center;
            color: #f2f2f2;
            display: block;
        }

	#header{
		top:0px;
       
	}
	#footer{
		bottom:0px;
	}


    #header li {
        list-style-type: none;
        padding-right: 2em;
        padding-left: 0;
        float: left;
        color: white;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

     #header ul{
        padding: 0.5em 0 0 20px;
    }

    li a{
        color: #FFFFFF;
        text-decoration: none;
    }

    #header .active {
        position: absolute;
        left:20px;
        top:0.7em;
        font-size: 3.5em;
        font-weight: bold;
        padding-left: 0;
    }

    footer{
        display:block;
        position:absolute;        
        bottom:-500px;
        left:0;
        right:0;
        z-index:100;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;

        
    }

    footer:before{
        font-family: FontAwesome;
          font-weight: normal;
          font-style: normal;
        display: block;
        position: absolute;
        width: 100px;
        height: 40px;
        content: '\f0c9';
        background-color: #034773;
        color:white;
        left: 50%;
        margin-left: -50px;
        top: -20px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        text-align: center;
        line-height: 2.5em;
        border-bottom: none;
        cursor:pointer;
            
    }

    

    footer .footerMenu{
        text-align:center;
        width:100%;
        height: 280px;
        background-color:rgba(3, 71, 115, 0.85);
    }

    footer .footerMenu li{
        font-size:1.5em;
        line-height:2.5em;
        list-style-type: none;
            padding-right: 1em;
            padding-left: 0;
            clear:both;
            color: white;
            -moz-transition: all 0.3s;
            -o-transition: all 0.3s;
            -webkit-transition: all 0.3s;
            transition: all 0.3s;
    }

    /* ######### Arrows ######### */
    .fp-controlArrow.fp-next {
        /*right: 45px !important;*/
    }
    
    #fp-nav.right {
        right: 1px !important;
    }

    .fp-slidesNav.bottom {
        bottom: 30px !important;
        }

    #fp-nav ul li a.active span, .fp-slidesNav ul li a.active span
     {
        background: white !important;
        
     }

    #fp-nav ul li a span, .fp-slidesNav ul li a span{
        border: 1px solid white !important;
    }

    .fp-up {
	    width: 0; 
	    height: 0; 
	    border-left: 5px solid transparent;
	    border-right: 5px solid transparent;
	
	    border-bottom: 5px solid white;
    }

    .fp-down {
        position:absolute;
        right:50px;
        bottom:20px;
	    width: 0; 
	    height: 0; 
	    border-left: 20px solid transparent;
	    border-right: 20px solid transparent;
	
	    border-top: 20px solid white;
    }


    /*########### Layout ##################*/
   

    .darkBackground{
        background-color:rgba(0, 0, 0, 0.8);
    }

    .homeContentContainerHolder{
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 80%;
        height: 30%;
    }
    .homeContentContainer{    
        margin:0 auto;
        height:50%;
        width:100%;      
        position:relative; 
    }

    .homeLogoContainer{
        margin:0 auto;
        height:50%;
        width:100%;
        position:relative;
    }

    .upContentContainer{
         margin:0 auto;
            height:50%;
            width:100%;
            position:relative;
    }

    .upContentContainer h2{
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0px;
        background-color:rgba(3, 71, 115, 0.6);
        text-align: right;
        padding: 0.3em 2em;
    }

    .downContentContainer{
         margin:0 auto;
            height:50%;
            width:100%;
            position:relative;
            text-align:right;
    }

    .downContentContainer p{
        padding: 1em 4em 5em 4em;
        margin-top: 0em;
        text-align:justify;
        display:block;
        overflow:hidden;
        min-height: 70%;
    }

    @media screen and (max-width: 510px) {
        .downContentContainer p{    
            padding: 1em 2em 5em 2em;
        }
    }

   


    /*############ Gallery ##################*/

     .galleryContentContainer{
         margin:0 auto;
            height:70%;
            width:100%;
            margin-top:8em;
    }

    .galleryContentContainer .galleryItem {
            display: block;
            float: left;
            width: 33%;
            height: 100%;
            margin-right: 0.15%;
            margin-left: 0.15%;
            z-index: -100;
            overflow: hidden;
    
        }

    .galleryContentContainer .galleryItem img {
        height: 100%;
        -webkit-animation-timing-function: ease;
        -moz-animation-timing-function: ease;
        -o-animation-timing-function: ease;
        animation-timing-function: ease;
        -moz-transition-duration: 15s !important;
        -o-transition-duration: 15s !important;
        -webkit-transition-duration: 15s !important;
        transition-duration: 15s !important;
    }

    .galleryContentContainer .galleryItem article {
        -moz-transition-duration: 0.7s !important;
        -o-transition-duration: 0.7s !important; 
        -webkit-transition-duration: 0.7s !important; 
        transition-duration: 0.7s !important;

        background-color: rgba(0, 0, 0, 0.7);
        height: 100%;
        -moz-transform: translateY(50px);
        -ms-transform: translateY(50px);
        -o-transform: translateY(50px); 
        -webkit-transform: translateY(50px); 
        transform: translateY(50px);
        color: white;

        text-align: justify;
        line-height: 1.5em;
        padding:1.5em;

        position: relative;        
        box-sizing: border-box;
    }

    .galleryContentContainer .galleryItem h2 {
        -moz-transition-duration: 0.4s !important;
        -o-transition-duration: 0.4s !important;
        -webkit-transition-duration: 0.4s !important; 
        transition-duration: 0.4s !important;

        background-color: rgba(3, 71, 115, 0.6);
        -moz-transform: translateY(50px);
        -ms-transform: translateY(50px);
        -o-transform: translateY(50px);
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        
        text-transform: uppercase;
        text-align: left;
        font-size: 1.5em;
        padding:0.5em;
        line-height: 1em;
        color: white;

        position: relative;
        box-sizing: border-box;

    }

    .galleryContentContainer .galleryItem:hover article {
        -moz-transform: translateY(-12em); 
        -ms-transform: translateY(-12em); 
        -o-transform: translateY(-12em);
        -webkit-transform: translateY(-12em);
        transform: translateY(-12em);
    }
    .galleryContentContainer .galleryItem:hover h2 {
        -moz-transform: translateY(-12.5em);
        -ms-transform: translateY(-12.5em);
        -o-transform: translateY(-12.5em);
        -webkit-transform: translateY(-12.5em);
        transform: translateY(-12.5em);
    }

        .galleryContentContainer .galleryItem:hover img {
            -moz-transform: translateX(-25%);
            -ms-transform: translateX(-25%);
            -o-transform: translateX(-25%);
            -webkit-transform: translateX(-25%);
            transform: translateX(-25%);
        }


    


/*################ Cubes & Shadows ###################*/

.cubeContainer {
    -moz-transform: translateZ(0px) translateZ(0px) scaleX(0.45) scaleY(0.47) rotateX(45deg) translateX(50px);
    -ms-transform: translateZ(0px) scaleX(0.45) scaleY(0.47) rotateX(45deg) translateX(50px) ;
    -o-transform: translateZ(0px) scaleX(0.45) scaleY(0.47) rotateX(45deg) translateX(50px) ;
    -webkit-transform: translateZ(0px) scaleX(0.45) scaleY(0.47) rotateX(45deg) translateX(50px) ;
    transform: translateZ(0px) scaleX(0.45) scaleY(0.47) rotateX(45deg) translateX(50px) ;
    position: absolute;
    left: 50%;
    margin-left: -80px;
    top: 100%;
    margin-top: 0px;
    z-index:100;

    
}


.cube, .shadow {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.rightFace,
.leftFace,
.topFace {
    position: absolute;
}

.leftFace {
    padding: 10px;
    width: 180px;
    height: 190px;
    -webkit-transform: translateZ(0px) skewY(30deg);
    -moz-transform: translateZ(0px) translateZ(0px) skewY(30deg);
    -ms-transform: translateZ(0px) skewY(30deg);
    -o-transform: translateZ(0px) skewY(30deg);
    transform: translateZ(0px) skewY(30deg);
    background-color: #034773;
}

.rightFace {
    padding: 10px;
    width: 182px;
    height: 190px;
    -webkit-transform: translateZ(0px) skewY(-30deg);
    -moz-transform: translateZ(0px) translateZ(0px) skewY(-30deg);
    -ms-transform: translateZ(0px) skewY(-30deg);
    -o-transform: translateZ(0px) skewY(-30deg);
    transform: translateZ(0px) skewY(-30deg);
    background-color: #aba8a8;
    left: 200px;
}

.topFace div {
    padding: 11px;
    width: 180px;
    height: 180px;
    -webkit-transform: translateZ(0px) skewY(-30deg) scaleY(1.16);
    -moz-transform: translateZ(0px) translateZ(0px) skewY(-30deg) scaleY(1.16);
    -ms-transform: translateZ(0px) skewY(-30deg) scaleY(1.16);
    -o-transform: translateZ(0px) skewY(-30deg) scaleY(1.16);
    transform: translateZ(0px) skewY(-30deg) scaleY(1.16);
    font-size: 0.862em;
    background-color: #fff;
}

.topFace {
    -webkit-transform: translateZ(0px) rotate(60deg);
    -moz-transform: translateZ(0px) translateZ(0px) rotate(60deg);
    -ms-transform: translateZ(0px) rotate(60deg);
    -o-transform: translateZ(0px) rotate(60deg);
    transform: translateZ(0px) rotate(60deg);
    top: -158px;
    left: 100px;
}

.cube1,.cube2, .cube3, .cube4, .cube5, .cube6, .cube7, .cube8, .cube9 {
    z-index: -10;
    display:none;
}

.shadow1,.shadow2, .shadow3, .shadow4, .shadow5, .shadow6, .shadow7, .shadow8, .shadow9 {
    z-index: -10;
    display:none;
}



/*################# END Cubes & Shadows ##############*/

/*################# Contact section ##################*/

.contact{
    padding-top:2em;
}

.contact .content{
    width:30%;
    float:left;
    padding-bottom:3em;
}


/*################## End Contact section ##################*/

.esifContainer img{
    width:100%;
    max-width: 380px;
    padding: 1em; 
}

.esifContainer img.hamag{
    background: white;
    box-sizing: border-box;
    width: 250px;
    margin-bottom: 1em;
    margin-right: 1em;
}

.esifContainer{    
    display: block;
    text-align: right;
    width:100%;
    font-size: 0.8em;
}

@media screen and (max-width: 510px) {
    .esifContainer{    
        text-align: initial;
    }
}

