body{
    background-color: white;
}

body footer{
    background: rgba(0, 50, 80, 0.75);
    width: 100%;
    height: 30px;
    bottom: 0;
    position: fixed;
    text-align: center;
    color: rgba(180, 190, 200, 1);
    display: block;
    z-index: 1000;
}

body footer a{
    font-family: 'Ubuntu', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    padding: 15px 20px;
    color: rgba(180, 190, 200, 1);
}

body footer a:hover{
    background: rgba(100, 10, 50, 0.8);
}

.hidden{
    display: none;
}

header{
    width: 100%;
    height: 100px;
    background: rgba(0, 50, 80, 0.5);
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 1000;
}

.nav_color{
    background: rgba(100, 10, 50, 0.75);
}

header nav{
    float: right;
    display: block;
}

header nav ul{
    margin-top: 0px;
    list-style: none;
    overflow: hidden;
    float: left;
}

header nav ul li{
    float: left;
    margin-top: 41px;
    margin-right: 10px;
    margin-bottom: 5px;
    transition: background 200ms linear;
}

header nav ul li a{
    font-family: 'Ubuntu', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: rgba(255, 144, 0, 1.0);
    text-decoration: none;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 41px;
    padding-bottom: 5px;
}

header nav ul li a:hover{
    background: rgba(100, 10, 50, 0.75);
}

header a.hamburger{
    display: none;
    float: right;
    margin-right: 35px;
    margin-top: 41px;
    transition: background 100ms linear; 
    width: 24px;
    height: 19px;
    background: url('../img/hamburger.svg') no-repeat;
}

header a.hamburger.opened{
    background: url('../img/x.svg') no-repeat;
}

h1{
    font-size: 1.8em;
    padding-bottom: 1em;
    color: firebrick;
}

h2{
    font-size: 1.3em;
    padding-bottom: 1em;
    color: firebrick;
}

h3{
    font-size: 1.05em;
    padding-bottom: 0em;
    color: firebrick;
    padding-bottom: 0.2em;
}

p{
    padding-bottom: 0.3em;
}

a{
    text-decoration: none;
    color: firebrick;
}

hr.short{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.wrapper{
    margin: 0 auto;
}

.hero{
    width: 100%;
    height: 600px;
    position: relative;
    background: url('../img/0-background.jpg') no-repeat center;
    background-size: cover;
}

.appear{
    opacity: 0;
}

.appear_on_scrolling{
    opacity: 0;
    transition: opacity 500ms linear;
}

.delay{
    transition-delay: 350ms;
}

.name{
    font-family: 'Lovers Quarrel', 'Georgia', 'Times New Roman', serif;
    font-size: 96px;
    font-weight: 400;
    color: rgba(180, 190, 200, 1);
    padding-left: 20px;
    padding-top: 45px;
    display: block;
    float: left;
}

.contacts{
    width: 460px;
    height: 130px;
    margin: auto;
    background-color: rgba(100, 10, 50, 0.8);
    position: absolute;
    left: 60px;
    top: 505px;
}

.logo{
    padding: 10px;
    float: left;
    clear: left;
}

.address{
    font-family: 'Lora', 'Georgia', 'Times New Roman', serif; 
    font-size: 17px;
    font-weight: 400;
    line-height: 115%;
    padding: 9px;
    color: rgb(255, 144, 0);
    white-space: nowrap;
}

.padding{
    position: relative;
    height: 0;
    width: 0;
    top: -140px;
}

.article{
    position: relative;
    top: 140px;
    width: 80%;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    font-family:  'Lora', 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 400;
}

.caption{
    text-align: right;
    font-size: 14px;
}

.sochoa{
    width: 35%;
    float: right;
    min-width: 160px;
    max-width: 240px;
    display: inline-block;
    padding-bottom: 1em;
}

.copyright{
    font-size: 0.8em;
    padding: 0;
    float: right;
    text-align: right;
}

.disclaimer{
    font-size: 0.78em;
    width: 69%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    line-height: 110%;
}

.message{
    font-size: 0.9em;
    color: firebrick;
}

#counter.visible{
    display: block;
}

#logoiac.visible{
    display: block;
}

#news{
    top: 0px;
    margin-top: 40px;
}

.signature{
    font-family: 'Lovers Quarrel', 'Georgia', 'Times New Roman', serif;
    font-size: 2em;
    font-weight: 400;
    width: 69%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0;
    background:rgba(0,0,0,0);
}

div.oldnews{
    width: 100%;
    height: 28px;
    background: rgba(100, 10, 50, 0.8);
    color: rgba(255, 144, 0, 1.0);
    margin-top: 10px;
    text-align: center;
    display: none;
}

a.oldnews{
    font-family: 'Ubuntu', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: rgba(255, 144, 0, 1.0);
    text-decoration: none;
    display: none;
}

a.oldnews:hover{
    background: rgba(100, 10, 50, 1);
}

div.gallery{
    padding-bottom: 0.2em;
    width: 100%;
    height: 450px;
    overflow-x: auto;
    overflow-y: hidden;
    opacity: 0;
}

div.gallery_container{
    min-width: 600px;
    height: 100%;
    white-space: nowrap;
    float: left;
}

img.single{
    width: 100%;
    border: 1px solid black;
}

img.gallery{
    height: 100%;
    border: 1px solid black;
}

/*  responsive css */

@media (max-width:2000px){
    .hero{
        height: 860px;
    }

    .contacts{
	left: 80px;
	top: 770px;
  }

@media (max-width:1300px){
    .hero{
        height: 780px;
    }

    .contacts{
	left: 60px;
	top: 690px;
    }
}

@media (max-width:1100px){
    .hero{
        height: 700px;
    }

    .contacts{
	left: 40px;
	top: 610px;
    }

    header{
	height: 90px;
    }

    .article{
	top: 130px;
    }

    .padding{
	top: -130px;
    }

    header nav ul li{
	margin-top: 36px;
	margin-bottom: 5px;
    }

    header nav ul li a{
	padding-top: 36px;
	padding-bottom: 5px;
    }

    .name{
	font-size: 88px;
	padding-top: 40px;
    }

    div.gallery{
	height: 430px;
    }
}

@media (max-width:930px){
    .hero{
        height: 700px;
    }

    .contacts{
	left: 20px;
	top: 610px;
    }

    header{
	height: 80px;
    }

    .article{
	top: 120px;
    }

    .padding{
	top: -120px;
    }

    header a.hamburger{
	margin-right: 25px;
	margin-top: 31px;
    }

    .name{
	font-size: 82px;
	padding-left: 10px;
	padding-top: 35px;
    }

    header a.hamburger{
        display: block;
    }

    header nav{
        position: absolute;
	display: none;
        width: 40%;
        top: 75px;
        right: 25px;
        float: none;
        z-index: 20;
        overflow: hidden;
        background: rgba(100, 10, 50, 0.9);
	color: rgba(255, 144, 0, 1.0);
        border-top: 5px solid rgb(180, 190, 200);
        border-bottom: 5px solid #bfd9f2;
        max-width: 250px;
    }

    header nav.active{
	display: block;
    }

    header nav ul{
        display: block;
        width: 100%;
        text-align: center;
    }

    header nav ul li{
        display: block;
        width: 100%;
        float: none;
        margin: 0;
        border-bottom: 1px solid rgb(255, 255, 255);
    }

    header nav ul li a{
        display: block;
        padding: 12px 0;
        transition: background 200ms linear;
        transition: color 200ms linear;
    }

    header nav ul li a:hover{
	color: rgb(100, 10, 50);
        background: rgba(255, 144, 0, 0.7);
    }

    header nav ul li:last-child{
        border-bottom: 0;
    }

    .disclaimer{
	width: 80%;
    }

    div.gallery{
	height: 350px;
    }
}

@media (max-width:820px){
    .article{
	font-size: 15px;
	width: 88%;
    }

    .caption{
	font-size: 13px;
    }

    div.gallery{
	height: 325px;
    }

    body footer a{
	padding: 10px 15px;
    }
}

@media (max-width:720px){
    .hero{
        height: 450px;
    }

    header{
	height: 60px;
    }

    header nav{
        top: 55px;
        right: 25px;
    }
    
    header nav ul li a{
        padding: 8px 0;
    }

    header a.hamburger{
	margin-right: 25px;
	margin-top: 21px;
    }

    .name{
	font-size: 68px;
	padding-left: 10px;
	padding-top: 25px;
    }

    ul{
	list-style: none;
    }
    
    .article{
	top: 100px;
	width: 94%;
	font-size: 14px;
    }

    .padding{
	top: -100px;
    }

    .caption{
	font-size: 12px;
    }

    .contacts{
	left: 10px;
	height: 110px;
	top: 375px;
    }

    .logo{
	padding: 0;
	padding-right: 10px;
    }
    
    .address{
	font-size: 14px;
    }
    
    .disclaimer{
	width: 90%;
    }

    div.gallery{
	height: 325px;
    }

    body footer a{
	padding: 10px 10px;
    }
}

@media (max-width:620px){
    body footer{
	display: none;
    }

    div.oldnews{
	display: block;
    }

    a.oldnews{
	display: block;
    }
    
    .sochoa{
	display: none;
    }

    div.gallery{
	height: 250px;
    }
}

@media (max-width:540px){
    .contacts{
	width: 100%;
	height: 110px;
	margin: 0;
	top: 450px;
	left: 0px;
    }

    #news{
	top: 0px;
	margin-top: 115px;
    }
    
    #tn{
	margin-top: 115px;
    }

    #counter.visible{
	display: none;
    }
    
    #logoiac.visible{
	display: none;
    }
}
