﻿body {


    clear: both;
    margin: 0;
    margin-bottom: 100px;
    padding: 0;
}

html {
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
    padding: 0;
    background-color:  #5055a3;

}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#logo {

    text-align: center;
    color: #fff;
    background-color: #5055a3;
    padding: 10px;
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;

}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

img {
    width: 100%;
    max-width: 980px;
}

#navbar {
    z-index: 100;
    position: relative;
    height: 25px;
    background-color: #5055a3;
}

.menu {
    border: 0;
    max-height: 70px;
    float: left;
    width: 100%;
    text-align: center;
}

.desktop {
    font-size: 0;
    min-height: 25px;
    background: none;
    padding-left: 10px;
    padding-right: 10px;
    float: none;

}



.desktop li {
    border: 0;
    margin: 2px;
    height: 25px;
    display: inline-block;
    float: none;

    padding: 0;
    position: relative;
    list-style-position: outside;
}

.desktop li a {
    transition: all 300ms ease;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    margin: 0 2px;
    text-transform: uppercase;

    display: inline-block;
    height: 25px;
    padding: 3px 33px;
    background-color: #2a3795;
    background-image: url(../img/red.jpg);
    background-repeat: no-repeat;
    background-position: 5% 50%;
}

.desktop li a:hover {
    transition: all 300ms ease;

    background-image: url(../img/green.jpg);
    background-repeat: no-repeat;
}


.desktop .submenu {
    position: absolute;
    display: block;
    margin-top: 0;
    padding: 0;
    min-height: 100px;
    width: 200px;
    height: initial;
    visibility: hidden;
    text-align: left;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform-origin: 50% 0;
    -webkit-transition: transform 300ms ease, opacity 300ms ease;
    -moz-transition: transform 300ms ease, opacity 300ms ease;
    -ms-transition: transform 300ms ease, opacity 300ms ease;
    -o-transition: transform 300ms ease, opacity 300ms ease;
    transform: scaleY(0);
    -ms-transform: scaleY(0);
    -webkit-transform: scaleY(0);
}

.desktop li a:hover + .submenu,
.desktop li a + .submenu:hover {
    visibility: visible;
    opacity: 0.95;
    transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
}

.desktop .submenu li {
    border: 0;
    font-size: 0;
    line-height: 1;
    text-align: left;
    width: 200px;
    height: initial;
    margin: 0 auto;
}

.desktop .submenu .submenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    top: 0;
    width: 200px;
}

.desktop .submenu .submenu li {
    width: 200px;
}

.desktop .submenu li a {
    display: block;
    background-color: #2a3795;
    min-height: 45px;
    height: auto;
    border: 0;
    line-height: 1;
    text-align: left;
    margin: 0 auto;
    margin-bottom: 0;
}

.desktop .submenu li a:hover {
    background-color: #2a3795;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

#openMenu {
    cursor: pointer;
    color: #ffffff;
    position: absolute;
    top: 27px;
    left: 20px;
    display: none;
}

.mobile {
    opacity: 0.95;
    background-color: #333;
    text-align: left;
    margin: 0 auto;
    overflow-y: hidden;
    transition: all 300ms ease;
    width: 300px;
    position: absolute;
    top: 70px;
    left: -300px;
}

.open {
    opacity: 0.97;
    display: block;
    left: 0px;
}

.mobile li {
    display: block;
}

.mobile li a {
    padding: 12px 8px;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

.mobile li a:hover {
    color: #4286f4;
    background-color: #ffffff;
}

.overlay {
    cursor: pointer;
    width: 100%;
    height: calc(100% - 70px);
    position: absolute;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.main {
    color: #ebeae9;
    background-color: #5055a3;


    width: 75%;
    margin: 0px auto;
    padding: 20px;


}

.main a {
    color: yellow;
    text-decoration: none;


}

.main img {
    border: 1px solid #fff;
    margin: 10px;
	width:100% !important;
	height:auto !important;
	max-width: 640px;
	


}

.container {
    clear: both;
}

#footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 100px;
    background-color: #333;
    color: silver;
    text-align: center;
    margin: 0px auto;
    padding: 20px;
    clear: both;

}

#footer img {
    margin-bottom: -5px;
    width: 52px;
    height: 26px;

}




#footer a {
    color: silver;

}

#footer ul li {
    display: inline;
    margin: 0 3px;
}
		
	
	@media only screen and (max-width : 768px)
	{
	

	
	.main {
    


    width: 90% !important;
   


}
{




