* {
    margin: 0px;
}

body {
    background: #F9F9FC;
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
}

a:hover {
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
}

#header {
    background-color: #6A879C;
    position: fixed;
    top: 0px;
    width: 100%;
    display: block;
    z-index: 999;
    box-shadow: 0px 0px 5px 5px #6A879C;

}

#header-container {
    padding: 5px 0 0 0;
    margin-right: 50px;
}

.header-right {
    float: right;
}

.header-left a {
    float: left;
    width: 350px;
}

#header-menu {
    transition: 0.3s;
}

.menu_link {
    display: none;
    transition: .3s all ease;
/*     border: 1px solid red; */
}

#header-menu > a > i {
    right: 15px;
    padding: 9px 9px;
    margin-top: 0px!important;
    position: absolute;
    top: 42%;
    transform: translate(0, -40%);
    font-size: 30px;
    border: 2px solid #f9f9fc;
    color: #f9f9fc;
    line-height: 16px;
    border-radius: 4px;
}

.header_l-sm {
    background: url(../images/logo_web_header.png) 0px 0px no-repeat;
    transition: 0.3s;
    height: 100%;
}

.header_l-bg {
    background: url(../images/logo_web_header.png) 0px 10px no-repeat;
    transition: 0.3s;
    height: 100%;
}


.pt0 {
    padding-top: 0px;
}

.pt18 {
    padding-top: 34px;
}

@media only screen and (max-width: 480px) {
    .header_size_l_bg {
        margin-left: 10px;
        background-size: 200px;
        margin-top:5px !important;
    }

    .header_size_l_sm {
        margin-left: 10px;
        background-size: 200px;
    }
    
    .header-left a {
        width: 201px;
    }

    .h40 {
        height: 35px;
        transition: 0.3s;
    }

    .h62 {
        height: 72px;
        transition: 0.3s;
    }

    #main_container {
        padding-top: 82px;
    }

    .contact_form {
        padding: 0 !important;
    }
}

@media only screen and (min-width: 481px) {
    .header_size_l_bg {
        margin-left: 40px;
        background-size: 300px;
    }

    .header_size_l_sm {
        margin-left: 40px;
        background-size: 200px;
    }

    .h40 {
        height: 35px;
        transition: 0.3s;
    }

    .h62 {
        height: 72px;
        transition: 0.3s;
    }

    #main_container {
        padding-top: 75px;
    }

    #header-menu > a > i {
        top:46%;
        margin-top: -1px!important;
        font-size: 40px;
        padding: 3px 20px;
        line-height: 29px;
    }
}

.h100p {
    height: 100%;
}

nav ul {
    padding-left: 0px;
    list-style: none;
    margin: 0px;
}

nav li {
    display: inline-block;
    padding-left: 30px;
    padding-right: 5px;
    position: relative;
}

nav li:first-of-type {
    padding-left: 0px;
}

nav li > a {
    display: inline;
    font-family: Marvel, "Text Me One", sans-serif;
    font-size: 27px;
    color: #204662;
}

nav li > a:hover, nav li > a.active {
    color: #F9F9FC;
}

nav li > a:hover:after, nav li > a.active:after {
    content: "";
    height: 4px;
    width: calc(100% - 35px);
    background: #98B7CD;
    position: absolute;
    top: 38px;
    left: 30px;
}

nav li:first-of-type > a:hover:after, nav li:first-of-type > a.active:after {
    width: 100%;
    left: 0px;
}


@media only screen and (min-width: 1601px) {
    .about_f_size {
        font-size: 1.3em;
    }
}

@media only screen and (max-width: 1600px) and (min-width: 801px) {
    .about_f_size {
        font-size: 1.111em;
    }

    .mobile_menu {
        display: block !important;
    }
}

@media only screen and (max-width: 800px) {
    .services_mobile {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)) !important;
    }


    .menu_link {
        display: block;
    }

    .mobile_menu {
        right: 0px;
        margin-top: 35px;
        position: absolute;
        background-color: gray;
        text-align: center;
        width: 100vw;
        display: none;
    }

    .mobile_menu li{
        /*     width: 100vw;/ */
        display: block !important;
        background-color: gray;
        border-bottom: 1px solid #4c4c4c;
        padding: 20px 40px 20px 40px !important;
        /*     margin: 25px 0; */
    }

    .mobile_menu li:first-of-type {
        margin-top: 0px !important;
        padding-top: 19px !important;
    }

    nav li > a:hover:after, nav li > a.active:after {
        top: 70px!important;
        left: 0 !important;
        width: 100vw !important;
    }

    .about_f_size {
        font-size: 1.00em;
    }

    .about_img_container_1 {
        width: 340px !important;
        height: 230px !important;
    }

    .about_img_container_2 {
        width: 220px !important;
        height: 150px !important;
    }


    .banner-slider_nav_item > a {
        width: calc(100vw * 0.02) !important;
        height: calc(100vw * 0.02) !important;
    }

    .contact {
        grid-template-columns: 100% !important;
    }


    .footer_selflink {
        display: none;
    }

    .footer_lower {
        grid-template-columns: auto auto !important;
    }

}

@media only screen and (max-width: 398px) {
    .services_container {
        padding: 40px 2px 0px 2px !important;
    }

    .about_f_size {
        font-size: 0.9em;
    }

    .about_img_container_1 {
        width: 98vw !important;
        height: calc(100vw * 0.64) !important;
        margin: 0 0 0 -35px !important;
        float: left !important;
    }

    .about_img_container_2 {
        width: 220px !important;
        height: 150px !important;
    }

    .contact_address > h1 {
        font-size: 2em !important;
    }

    .contact_address > h1 > img {
        width: 48px !important;
        height: 30px !important;
    }

    input[type="text"], textarea {
        margin: 2px !important;
    }

    textarea {
        width: calc(100% - 35px) !important;
    }

    input[type=text] {
        width: calc((100% - 78px) / 2) !important;
    }
}

#ie-filler {
    position: absolute;
    display: block;
    width: 90%;
    height: 60px;
}

.about {
    font-family: Roboto, sans-serif;
    line-height: 1.9;
    letter-spacing: 0.016em;
    word-spacing: 0.010em;
    font-weight: 300;
    word-wrap: break-word;

}

.about_txt_container {
    margin-left: 40px;
    margin-right: 45px;
    margin-top: 30px;
    text-align: justify;
    text-justify: inter-character;
}

.about_txt_container b {
    font-weight: 400;
}

.about_txt_container h2, .services_container > h2 {
    font-size: 30px;
    margin: 0 10px;
    font-family: "Exo 2", sans-serif;
    line-height: 1.9;
    letter-spacing: 0.015em;
    word-spacing: 0.010em;
    font-weight: 600;
    text-align: center;
    color: #f9f9fc;
    background-color: rgba(0,0,0,0.6);
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}


.about_txt_container h3 {
    font-size: inherit;
    font-family: Roboto, sans-serif;
    line-height: 1.9;
    letter-spacing: 0.015em;
    word-spacing: 0.010em;
    font-weight: 600;
    padding: 10px 0px;
}

.about_img_container_1 {
    float: right;
    margin-top: 20px;
    margin-left: 30px;
    background: url("../images/about_6.jpg") no-repeat center;
    background-size: 100%;
    width: 550px;
    height: 350px;
    box-shadow: inset 0 0px 25px 30px #F9F9FC;
}

.about_img_container_2 {
    float: left;
    margin: 30px;
    background: url("../images/about.jpg") no-repeat center;
    background-size: 100% 100%;
    width: 300px;
    height: 200px;
    box-shadow: inset 0 0px 25px 30px #F9F9FC;
}

.about_space {
    width: 100%;
    height: 50px;
}

.services_container {
    background-image: url("../images/services.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px 40px 60px 40px;
}

.services {
    display: grid;
	display: -ms-grid;
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
	-ms-grid-columns: 48.3% 40px 48.4%;
	-ms-grid-rows: 50% 40px 50% 40px 50% 40px 50% 40px 50% ;
    grid-gap: 40px;
    align-items: stretch;
}

.card-ico {
    height: 100%;
    float: left;
    padding: 0 10px 0px 20px;
}


.card-ico > i {
    font-size: 50px;
    position: relative;
    top: 40px;
}

@supports (display:grid) {
    .card-ico > i {
	top: calc(50% - 30px)!important;
    }
} 

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border-radius: 5px;
    background-color: #f9f9fc;
    opacity: 0.95;
    color: #363333;
    display: flex;
}

.card-ie-1 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

.card-ie-2 {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}

.card-ie-3 {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}

.card-ie-4 {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
}

.card-ie-5 {
  -ms-grid-row: 5;
  -ms-grid-column: 1;
}

.card-ie-6 {
  -ms-grid-row: 5;
  -ms-grid-column: 3;
}

.card-ie-7 {
  -ms-grid-row: 7;
  -ms-grid-column: 1;
}

.card-ie-8 {
  -ms-grid-row: 7;
  -ms-grid-column: 3;
}

.card-ie-9 {
  -ms-grid-row: 9;
  -ms-grid-column: 1;
}

.card-ie-10 {
  -ms-grid-row: 9;
  -ms-grid-column: 3;
}

.wrapper {
    margin: 0;
    padding: 0;
    float: left;
}

.card:hover {
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.5);
    background-color: rgb(222, 224, 232);
}

.card-text {
    padding: 0px 30px 5px 15px;
    font-family: Roboto, sans-serif;
    font-size: 1em;
    line-height: 1.9;
    letter-spacing: 0.026em;
    word-spacing: 0.010em;
    font-weight: 300;
    word-wrap: break-word;
}

.card-text > h4 {
    padding: 18px 0 7px 15px;
    text-align: left;
}

.card-text > p {
    padding-bottom: 20px;
    text-align: justify;
    text-justify: inter-character;
}

.contact {
    min-height: 300px;
    display: grid;
	display: -ms-grid;
    grid-template-columns: auto 1px auto;
	-ms-grid-columns: 55% 40px 39%;
    grid-gap: 40px;
    align-items: stretch;
    padding: 60px 0px 60px 0px;
}

.contact-ie-1 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

.contact-ie-2 {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}

.contact_form {
    padding: 0px 40px 0px 40px;
}

.contact_form > h2 {
    font-family: Roboto, sans-serif;
    font-size: 1.6em;
    letter-spacing: 0.16em;
    word-spacing: 0.010em;
    font-weight: 600;
    word-wrap: break-word;
    text-align: center;
    padding-bottom: 10px;
    color: #7a7a7a;
}

.contact_address {
    font-family: Roboto, sans-serif;
    font-size: 1em;
    line-height: 1.9;
    letter-spacing: 0.026em;
    word-spacing: 0.010em;
    font-weight: 300;
    word-wrap: break-word;
    text-align: center;
    color: #7a7a7a;
    padding: 0px 40px 60px 40px;
}

.contact_col {
    text-align: left;
    display: grid;
	display: -ms-grid;
    grid-template-columns: auto auto;
	-ms-grid-columns: 43% 30px 65%;
	-ms-grid-rows: 50px 30px 50px 30px 50px;
    grid-gap: 30px;
}

.contact-col-ie-1{
	-ms-grid-row: 1;
	-ms-grid-column: 1;
 }
 
 .contact-col-ie-2{
	-ms-grid-row: 1;
	-ms-grid-column: 3;
 }
 
 .contact-col-ie-3{
	-ms-grid-row: 3;
	-ms-grid-column: 1;
 }
 
 .contact-col-ie-4{
	-ms-grid-row: 3;
	-ms-grid-column: 3;
 }
 
 .contact-col-ie-5{
	-ms-grid-row: 5;
	-ms-grid-column: 1;
 }
 
 .contact-col-ie-6{
	-ms-grid-row: 5;
	-ms-grid-column: 3;
 }

.contact_address > h1 {
    font-size: 2.8em;
    font-family: "Prosto One", serif;
    line-height: 1.9;
    letter-spacing: 0.2em;
    word-wrap: break-word;
}

.contact_address > h1 > img {
    padding-right: 18px;
    top: 4px;
    position: relative;
}

.contact_address > hr {
    border: 1px solid lightgray;
    margin: 35px 0;
}

.contact_ico {
    font-size: 2.5em;
    line-height: 5px;,
position: relative;
    text-align: center;
}

.contact_ico > i {
    position: relative;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    text-align: center;
}

.contact_txt {
    padding-top: 0px;
}

.contact_vr {
    border-right: 1px solid lightgray;
    z-index: -1;
}

.reverse {
    unicode-bidi: bidi-override;
    direction: rtl;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[type=text], input[type=submit], textarea {
    padding: 15px;
    margin: 0 15px;
    font-family: inherit;
}

textarea {
    width: calc(100% - 60px);
    height: 100px;
    border: 1px solid lightgray;
}

input[type=text] {
    width: calc((100% - 130px) / 2);
    border: 1px solid lightgray;
}

input[type=submit] {
    width: calc((100% - 130px) / 2);
    border: 1px solid lightgray;
    float: right;
    color: #333333;
}

.form-row {
    display: block;
    padding: 15px;
}

.footer {
    background-color: #312f2f;
    color: #f9f9fc;
    font-family: inherit;
    font-size: 0.7em;
    box-shadow: 0 0 6px 6px #312f2f;
}

.footer_made {
    text-align: right;
}

.footer_copy {
    text-align: left;
}

.footer_made > img {
    position: relative;
    top: 1px;
}

.footer_selflink {
    text-align: center;
}

.footer_lower {
    display: grid;
    grid-template-columns: 33% auto 33%;
    box-shadow: 0 0 1px 1px #4c4c4c;
    padding: 2px;
}

.footer_lower > span {
    padding: 0 15px;
}

.footer_higher {
    min-height: 40px;
    position: relative;
    padding: 15px 10px 10px 15px;
    font-family: Roboto, sans-serif;
    font-size: 1.4em;
    line-height: 1.9;
    letter-spacing: 0.026em;
    word-spacing: 0.010em;
    font-weight: 300;
    word-wrap: break-word;
    display: grid;
    grid-template-columns: auto auto;
}


.footer_media > a > i {
    font-size: 25px;
    padding: 0px 15px 0 15px;
}

.footer_links {
    text-align: right;

}

.footer_links > a {
    margin: 0 10px;
}

.footer a {
    text-decoration: none;
    color: #f9f9fc;
}

.footer a:hover, footer a:active {
    color: gray;
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
}

.info_window {
    display: block;
    top: 0;
    left: 0;
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: rgba(117, 117, 117, 0.8);
    z-index: 999;
}

.info_popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
/*     height: 100px; */
    width: 340px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 1px 1px 4px 4px rgba(0,0,0,0.4);
    border-radius: 8px;
    font-size: 0.85em;
}

.popup_header {
    background-color: rgba(93, 88, 84, 0.6);
    color: #f9f9fc;
    margin: 3px;
    padding: 3px 3px 3px 6px;
    border-radius: 3px;
    font-weight: bold;
        letter-spacing: 0.013em;
    word-spacing: 0.010em;
}

.popup_red {
    background-color: rgba(200,0,4,0.6) !important;
}

.popup_green {
    background-color: rgba(0, 133, 0, 0.6) !important;
}

.popup_text {
    padding: 10px;
}

.popup_text > p {
    margin-bottom: 10px;
}

.popup_button {
    float: right;
    padding: 0 10px 10px 0;
}

.ok_button {
    border: 1px solid black;
    padding: 4px 20px;
}

.display_n{
    display: none;
}
