@font-face {
    font-family: 'Roboto-Thin';
    src: url('../fonts/Roboto/Roboto-Thin.ttf')  format('truetype');
  }

body {
    margin: 0px;
    font-family: 'Roboto-Thin';
    min-width: 550px;
}

#header {
    display: flex;
}

#banner {
    width: 100%;
    min-width: 550px;
    height: 110px;
    background: url(../images/banner_web.png) no-repeat center scroll transparent;
    position: absolute;
    background-size: cover;
}

#menu_slider {    
    display: none;
}

#menu_background {
    width: 100%;
    min-width: 550px;
    height: 24px;
    background: #CCCCCC;  
    display: flex;
    margin-top: 110px; 
}

nav#menu {
    display: block;
    height: auto; 
    margin: auto; 
    font-size: 18px;
}

nav#menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}
  
nav#menu ul li {
    width: 128px;
    display: inline-block;
    text-align: center;
}

nav#menu a {
    display: block;
    color: black;
    text-decoration: none;
    font-weight: bold;
}
  
nav#menu a:hover {
    color: white;
}

nav#menu ul li#close_menu {
    display: none;
}

#welcome_image {
    background: url(../images/welcome_image.jpg) no-repeat center scroll transparent;
    background-size: cover;
}

#about_us {
    background-size: cover;
    display: flex;
    background: #CCCCCC;
}

h2 {
    text-align: center;
    font-size: 24px;
    font-family: 'Roboto-Thin';
    text-decoration: underline;
    text-decoration-color: #3B7CFF;
    color: black;
    margin: 0px;
    padding: 40px;
}

#about_us p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    text-align: center;
    color: black;
    padding: 0px 20px 10px 40px;
    margin: 0;
    opacity: 10;
}

#about {
    width: 50%;
    font-family: sans-serif;
    margin-bottom: 20px;
}

#about img {
    margin-top: 57px;
}

#certificates {
    width: 50%;
    font-family: sans-serif;
    margin-bottom: 25px;    
}

.certificates_body {
    height: 320px;
    display: flex;
}

.certificate {
    width: 224.5px; 
    margin: 0 auto;
    background-size: 100%;
    background-repeat: no-repeat;
}

#certificateA {
    background-image: url(../images/certificateA.jpg);
}

#certificateB {
    background-image: url(../images/certificateB.jpg);
}

#certificateC {
    background-image: url(../images/certificateC.jpg);
}

#certificateD {
    background-image: url(../images/certificateD.jpg);
}

#certificateE {
    background-image: url(../images/certificateE.jpg);
}

#galery {
    background: gray;
}

#galery h2 {
    color: white;
    padding-bottom: 20px;
}

#contact {
    background: white;
}

#adress {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 20px 0 20px;
    width: 50%;
    margin: auto;
}

#adress h {
    font-size: 20px;
}

#adress p {
    font-size: 16px;
    color: gray;
}

#adress_contact_form {
    display: flex;
}

#contact_form {
    min-width: 550px;
    width:50%;
    margin: auto;
    padding-bottom: 40px
}

#contact_form table {
    margin: auto;
}

#contact_form th {
    max-width: 40%;
    text-align: right;
    font-size: 16px;
    text-decoration: bold;   
}

#contact_form td {
    width: 60%;
    padding: 5px 0 5px 20px;
}

#contact_form input, textarea {
   border-radius: 4px;
}

#contact_form .button {
    width: 100%;
    height: 30px;
    font-family: 'Roboto-Thin';
    font-size: 16px;    
    font-weight: bold;
}

.text {
    font-size: 16px;    
    width: 100%
}

#frm-contactForm-content {
    width: 100%;
    height: 200px;
}

#foot {
    width: 100%;
    min-width: 550px;
    height: 110px;
    background: url(../images/foot.png) no-repeat center scroll transparent;
    position: absolute;
    background-size: cover;
    text-align: center;
    line-height: 110px;
}

#copy_right {
    height: 100%;
}

#foot h {
    font-family: 'Roboto-Thin';
    font-size: 24px;
}

.tab {
    overflow: hidden;   
    width: 990px;
    margin: auto;
}

.tab button {
    background-color: inherit;
    float:  left;
    border: 1px solid #CCCCCC;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 15px;
    width: 165px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

.tab button:hover {
    background-color: #CCCCCC;
    color: white;
}

.tabcontent {
    display: none;
    margin-top: 20px;
}

img {
    display: block;
    margin: auto;
    padding-top: 5px;
    animation-name: fade;
    animation-duration: 1.5s;
    object-fit: contain;
    max-width: 100%;
}

.slideshow-container {
    max-width: 1100px;
    position: relative;
    margin: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 50px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: white;
    color: gray;
}


.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
  
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.eu-cookies {
    position: fixed;
    top: 0;
    width: 100%;
    color: black;
    background-color: gray;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.eu-cookies button {
    color: white;
    border: 1px solid #CCCCCC;
    background-color: inherit;
    transition: 0.3s;
    padding: 10px;
}

.eu-cookies button:hover {
    background-color: #CCCCCC;
    color: white;
}

@media only screen and (max-width: 1099px) 
{
    #menu_slider {
        display: block;
        width: 100%;
        min-width: 550px;      
        height: 40px;
        text-align: right;
        margin-top: 110px;
        background: #CCCCCC;
        line-height: 40px
    }

    #menu_slider a {
        color: black;
        text-decoration: none;
        font-family: sans-serif;
        font-size: 30px;
        padding-right: 30px;
    }

    #menu_slider a:hover {
        color: white;
    }

    #adress_contact_form {
        display: block;
    }

    #menu_background {
        margin: 0;
        height: 0;
    }

    #about_us {
        display: block;
    }

    #about_us p {
        padding: 0px 40px 20px 40px;
    }

    h2 {
        font-size: 28px;
    }
    

    #about {
        width: 550px;
        margin: auto;
    }

    #certificates {
        width: 550px;
        margin: auto;
    }

    .tab {
        width: 549px;
    }

    .tab button {
        width: 183px;
    }

    #contact_form {
        margin-top: 100px;
    }

    #header {
        display: grid;
        height: auto;
    }

    nav#menu { 
        background: black;  
        width: 100%;
        transition: 0.5s;
        overflow-x: hidden;
        margin: 0;
        height: 0;
        background-color: #CCCCCC;
        opacity: 0.8;
    }    

    nav#menu a {
        color: black;
        font-size: 24px;
    }

    nav#menu ul {
        padding: 30px 30px 0 0;
    }

    nav#menu ul li {
        width: 100%;
        display: block;
        height: auto;
        text-align: right;
        padding: 0 0 10px 0;
    }

    nav#menu ul li#close_menu {
        display: unset;
    }
}