﻿/*---------MAIN--------------*/
html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}
body
{
    font-size: 16px;
    margin: 0;
    font-family: 'Arial';
}

a
{
    color: #778182;
    text-decoration: none;
    
}

a:hover
{
    color: #07709a;
}

.full-width
{
    background: white;
    position: relative;
    width: 100vw;
    height: auto;
    padding: 0px;
    margin: 0px auto;
    overflow: hidden;
    z-index: 0;
}

.content-container
{
    width:75%;
    margin-left: 12.5%;
    margin-right: 12.5%;
    position: relative;
}

.header-separator
{
    background: #bab8b8; /* Old browsers */
    background: -moz-linear-gradient(left,  #919191 0%, #066c95 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#919191), color-stop(100%,#066c95)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #919191 0%,#066c95 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #919191 0%,#066c95 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #919191 0%,#066c95 100%); /* IE10+ */
    background: linear-gradient(to right,  #919191 0%,#066c95 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#919191', endColorstr='#066c95',GradientType=1 ); /* IE6-9 */
    height: 8px;
}

.title {
    background: url(../img/esciss.jpg) center top;
    font-size: 2rem;
    text-align: left;
    padding: 5vh 0 5vh 13vw;
    font-weight: bold;
    text-transform: uppercase;
    color: #08668c;   
}
.line-up {
    margin-top: 65px;
    background: #08668c;
    height: 2px;
}
.line-down {
    background: #08668c;
    height: 2px;
    margin-bottom: 10px;
}

.grey-style {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: #778182;
    font-size: 1.4rem;
    font-weight: 600;
}

/* -----------------------------------------*/


/*---------MENU IN UPSTAIRS-----------*/

ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  display: flex;
}
ul li {
  list-style: none;
}
ul li a {
  position: relative;
  display: block;
  margin: 0 10px;
  padding: 5px 10px;
  color: #788182;
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  overflow: hidden;
}
ul li a::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  left: -100%;
  width: 100%;
  height: 4px;
  background: #07709a;
  transition: 0.5s;
}
ul li a:hover {
  color: #fff;
}
ul li a:hover::before {
  animation: animate .5s linear forwards; 
}

@keyframes animate {
  0% {
    top: calc(50% - 2px);
    left: -100%;
    height: 4px;
    z-index: 1;
  }
  50% {
    top: calc(50% - 2px);
    left: 0;
    height: 4px;
    z-index: 1;
  }
  100% {
    top: 0;
    left: 0;
    height: 100%;
    z-index: -1;
  }
}



.header 
{
    background: white;
}

.headhesive
{    
    background: white;
    position: fixed;
    width: 100%;
    transform: translateY(0);
    z-index: 5;
    transition: 0.5s;
}

.headhesive--stick 
{
    transform: translateY(0);
    z-index: 6;
}
.mid 
{
    width: 100%;
    margin: 0 auto;
    text-align: justify;
}

.logo-container > a > img
{
    width:18%;
    margin-left: 8%;
    margin-top: 0.3%;
    
}


.header-contacts
{
    
    position: absolute;
    top: 0.5rem;
    right: 15%;
    width: 10%;
}

.header-contacts > img
{
    margin-top: 0.7rem;
    height: 3rem;
}

.contact-list
{
    color: #778182;
    position: absolute;
    left: 4rem;
    top: 0.9rem;
    font-weight: 600;
}
/*--------------------*/



/*---------FIRST SLIDE WITH COMPANY NAME-----------*/
.main-content
{
    height: 72vh;
}
.main-content-row
{
    background-image:  url(../img/background_new.jpg);
    background-position: center;
    background-size: cover;
    height: 88.3vh;
    position: relative;
    
}
.main-tagline
{
    position: absolute;
    top: 11vh;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
}
.main-tagline > .emphase
{
    font-size: 2.6rem;
    color: #e0e0e0;
}
/*--------------------*/


/*---------MENU IN FIRST SLIDE-----------*/
.menu-line1
{
    top: 35vh;
    position: absolute;
}
/*
.menu-line2
{
    top: 53vh;
    position: absolute;
}
*/
.menu-item
{

    width: 24.3vw;
    height: 36vh;
    float: left;
    color: white;
}
.menu-item:hover {
    background: rgba(0,0,0,0.5);
     width: 24.6vw;
    height: 35vh;
    transition: 0.3s;
}

.menu-item-header
{
    margin: 1rem 1.5rem 0 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.menu-item-content
{
    padding: 1rem 1.5rem 0rem 1.5rem;
    font-size: 0.9rem;
}

.menu-item-details
{
    color: white;
    position: absolute;
    left: 1.2rem;
    bottom: 1rem;
    padding: 0.4rem;
    font-size: 0.8rem;
    background: #073648;
    text-transform: uppercase; 
}
.about-link
{
    background: #014a66;
}
.documents-link
{
    background: #075d80;
}
.contacts-link
{
    background: #07709a;
}

/*--------------------*/


/*---------ABOUT COMPANY-----------*/
.about-content-container
{
    width: 90%;
    margin-left: 5%;
}
.about-section-header
{
    background: #014a66;
    color: white;
    padding: 0.5rem;
    font-weight: bold;
}
/*--------------------*/



/*---------DOCUMENTS-----------*/
.clearfix:before,.clearfix:after
{
    display:table;
    line-height:0;
    content:""
}
.clearfix:after
{
    clear:both
}
.documents-container
{
    margin-top: 3vh;
    margin-bottom: 6vh;
}

.document-container
{
    float: left;
}

.document-container > img
{
    width: 23vw;
    margin: 0 1vw 0 0;
    border: 1px solid black;
}
.document-container a
{
    color: white;
}
.document-container a:hover
{
     color: #07709a;
}


.document-header
{
    color: white;
    background: #014a66;
    margin: 1rem 1rem 1rem 0;
    text-align: center;
    padding: 0.5rem 0 0.5rem 0;
    font-weight: bold;
}
/*--------------------*/



/*---------CONTACTS-----------*/
.contacts-left-column
{
    width: 30%;
    float: left;
    margin: 5rem 0rem 2rem 4rem;
}

.contacts-right-column
{
    width: 60%;
    float: left;
    margin: 2rem 0 0 4rem;
}

.footer-content
{
    text-align: center;
    margin-top: 6vh;
    margin-bottom:  6vh;
    color: #778182;
    font-size: 1.4rem;
    font-weight: 600;
}

.section-header
{
    color: white;
    background: #014a66;
    padding: 0.5rem 0 0.5rem 0;
    margin: 0px 0px 1rem 0px;
    font-size: 1.5rem;
    width: 85%;
    text-align: center;
}

.contacts-map
{
    width: 85%;
}

.contacts-map-link
{
    margin: 1rem 0 1.5rem 0;
}
/*-------------------*/






/*---------BUTTONS-----------*/
.button_back {
    align-content: center;
    font-weight: 700;
    text-decoration: none;
    color: #014a66;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    
    border-width: 2px;
    border-style: solid;
    border-color: #014a66;
    border-radius: 3rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    padding-right: 0.7rem;
    padding-left: 1.2rem;
    
    transition: 0.3s ease-out;
}
.button_back:hover {
    color: white;
    background-color: #014a66;
}
.button-first {
    color: red;
    border-color: red;
    background-color: white;   
}
.button-first:hover {
    color: white;
    background-color: red;
}
/*-------------------*/





/*-----------MEDIA---------------*/

@media (min-width:0px) and (max-width: 950px) and (orientation:landscape) {


}


@media (min-width:190px) and (max-width: 320px) {
    html {
        font-size: 9px;
}
    ul li a {
        font-size: 1rem; 
    }
    
    .logo-container > a > img
{
    opacity: 0;
    
}
    .header-contacts {
        display: none;
    }

    .contacts-left-column
{
    width: 100%;
    }
    .contacts-right-column
{
    width: 90%;
    }
}
    
@media (min-width:321px) and (max-width: 490px) {
    html {
        font-size:10px;
}
    ul li a {
        font-size: 1rem;
    }
    .logo-container > a > img
{
    opacity: 0;
    
}
    .header-contacts {
        display: none;
    }

    .contacts-left-column
{
    width: 100%;
    }
    .contacts-right-column
{
    width: 90%;
    }
}

@media (min-width:491px) and (max-width: 767px) {
    html {
        font-size: 12px;
    } 
    ul li a {
        font-size: 1.1rem;
    }
    .logo-container > a > img
{
    opacity: 0;
    
}
    .header-contacts {
        display: none;
    }
    .menu-item-header
{

    font-size: 1rem;
    margin: 1rem 2rem 0 1rem;
    }
    .contacts-left-column
{
    width: 100%;
    }
    .contacts-right-column
{
    width: 90%;
    }
}

@media (min-width:768px) and (max-width: 950px) {
    html {
        font-size: 14px;
    }
    ul li a  {
        font-size: 1.1rem;
        margin: 1rem 2rem 0 1rem;
    }
    .logo-container > a > img
{
    opacity: 0;
    
}
    .header-contacts {
        display: none;
    }
    .menu-item-header
{

    font-size: 1.1rem;
    margin: 1rem 2rem 0 1rem;
    }
    .contacts-left-column
{
    width: 100%;
    }
    .contacts-right-column
{
    width: 90%;
    }
}
@media (min-width:951px) and (max-width: 1199px) {
    html {
        font-size: 15px;
}
    .header-contacts {
        display: none;
    }
    .menu-item-header
{

    font-size: 1.1rem;
    margin: 1rem 2rem 0 1rem;
    }
    
    .contacts-left-column
{
    width: 100%;
    }
    .contacts-right-column
{
    width: 90%;
    }
}
@media (min-width:1200px) and (max-width: 1400px){
    html {
        font-size: 16px;
}
 
}