﻿@media only screen {
    html, body {
        margin: 0px;
        background-color: white;
        font-family: 'Segoe UI', Calibri, Arial;
        color: #555;
        font-size: 12pt;
        background-color: #fbfbfb;
    }

    body {
        transition: padding-top 0.3s;
        padding-top: 520px;
        padding-bottom: 25px;
    }

    header {
        height: 520px;
        position: fixed;
        top: 0;
        width: 100%;
        transition: height 0.3s, top 0.3s;
        z-index: 1;
    }

    .bglLightgray {
        background-color: lightgray;
    }

    .scrolled {
        height: 120px;
        top: -68px;
    }

    .scrolledBody {
        padding-top: 180px;
    }

    #headerc {
        position: relative;
        height: 400px;
        /*overflow: hidden;*/
        /*background-color: #f4e0e7;*/
        /*background-color: #ffe7f4;*/
    }

    #headercImages {
        position: absolute;
        top: 0px;
        width: 100%;
        height: 100%;
        /*overflow: hidden;*/
    }

    .headerItem {
        position:absolute;
        top:0px;
        left: 0px;
        bottom: 0px;
        width: 100%;
        /*overflow: hidden;*/
        opacity: 0;
        pointer-events: none;
        transition: opacity 2s;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size:cover;
    }

    .posCurr {
        opacity: 1;
        pointer-events:all;
    }

    #headercIndex {
        position: absolute;
        bottom: 10px;
        width: 100%;
        height: 15px;
    }

    #NajDoktorContainer {
        position: absolute;
        top: 5px;
        width: 100%;
        height: 80px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 1s;
    }

        #NajDoktorContainer img {
            /*width: 85px;*/
        }

    .opacity1 {
        opacity: 1 !important;
    }

    .indexItem {
        border: 1px solid white;
        background-color: lightgray;
        width: 11px;
        height: 11px;
        float: right;
        margin-right: 5px;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .currIndex {
        background-color: var(--document-h123-color) !important;
    }

    #headerHead {
        position: relative;
        height: var(--header-height);
        width: 100%;
        /*background-color: whitesmoke;*/
        /*background-color: #ffebf6;*/
        /*background-color: #fcedf6;*/
        /*background-color: #f8f1f5;*/
        background-color: var(--header-color);
        /*border-bottom: 2px solid hotpink;*/
        /*border-bottom: 1px solid var(--header-color-border);*/
        border-bottom: var(--header-border);
        box-shadow: var(--header-shaddow);
        z-index: 10;
    }

    #top {
        height: 68px;
        overflow:visible;
        /*background: linear-gradient(lightpink, whitesmoke);*/
    }

    #topc {
        position: relative;
        max-width: 1000px;
        margin-left: auto;
        margin-right:auto;
    }

    #company {
        position:absolute;
        padding-left: 140px;
        top: 0px;
        left: 10px;
        height: 68px;
        width: 417px;
        line-height: 68px;
        font-size: 14pt;
        background-image: url('Images/GaLogoTrans.png');
        background-repeat: no-repeat;
        background-size: 120px;
        background-position: left center;
    }

    #lngLink {
        position:absolute;
        right: 10px;
        height: 38px;
        line-height: 36px;
        font-size: 9pt;
        color: #555;
    }

    #lngLink a {
        color: #777;
        text-decoration: none;
        transition: color 0.3s;
    }

    #lngLink a:hover {
        color: #aaa;
    }

    main {
        
    }

    .autoWidth {
        position: relative;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    #mainc {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    #mainCntainer {
        display: inline-block;
        position: relative;
        width: 100%;
    }

    #linksContainer {
        width: 100%;
    }

        #linksContainer a {
            position: relative;
            display: block;
            float:left;
            width: 320px;
            height: 400px;
            color: #777;
            background-color: white;
            text-decoration: none;
            transition: color 0.3s, background-color 0.3s;
            margin-right: 20px;
            margin-top: 20px;
        }

            #linksContainer a:hover {
                color: black;
            }

                #linksContainer a:hover .linksContainerImage {
                    opacity: 0.85;
                }

    .lnkBg {
        position:absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        border: 1px solid #f0f0f0;
    }

    .linksContainerImage {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        /*background-color: lightgray;*/
        position: absolute;
        left: 0px;
        top: 0px;
        right: 0px;
        height: 200px;
        transition: opacity 0.3s;
    }

    .linksContainerContent {
        position: absolute;
        left: 10px;
        top: 200px;
        right: 10px;
        bottom: 10px;
        overflow: hidden;
    }

        .linksContainerContent h3 {
            font-weight: 500;
            margin: 0px;
            padding: 0px;
            /*color: #ed40a4;*/
            color: var(--document-h123-color);
        }

        .linksContainerContent p {
            margin: 0px;
            padding: 0px;
            margin-bottom: 10px;
            font-size: 10pt;
        }

    #newsContainer {
        margin-top: 20px;
        padding: 10px;
        border: 1px solid #f0f0f0;
        background-color: white;
    }

    #newsContainer h1 {
        font-size: 14pt;
        font-weight: 500;
        margin: 0px;
        padding: 0px;
        /*color: #ed40a4;*/
        color: var(--document-h123-color);
        margin-bottom: 20px;
    }

    #newsContainer ul {
        list-style:none;
        margin: 0px;
        padding: 0px;
    }

        #newsContainer ul li {
            margin-bottom: 7px;
            color: #777;
            font-size: 10pt;
        }

        #newsContainer a {
            text-decoration: none;
            /*color: #ed40a4;*/
            color: #777;
            font-size: 10pt;
            transition: color 0.3s;
        }

            #newsContainer a:hover {
                color: black;
            }

    #shortcutsContainer {
    }
        #shortcutsContainer img {
            max-width: 200px;
            float: left;
            margin: -10px;
            margin-right: 30px;
        }   

        #shortcutsContainer a {
            display: inline-block;
            width: calc(100% - 20px);
            vertical-align: top;
            background-color: white;
            margin-top: 20px;
            padding: 9px;
            border: 1px solid #f0f0f0;
            color: #777;
            text-decoration: none;
        }

            #shortcutsContainer a:hover {
                color: black;
            }

        #shortcutsContainer h1 {
            font-size: 14pt;
            font-weight: 500;
            margin: 0px;
            padding: 0px;
            /*color: #ed40a4;*/
            color: var(--document-h123-color);
            margin-bottom: 20px;
        }

    #ensurance {
        display: inline-block;
        width: 100%;
        margin: 0;
        padding: 0;
        padding-top: 10px;
        padding-bottom: 20px;
        background-color: #ededed;
        vertical-align: top;
    }

    #ensuranceBlock {
        float: right;
        display: inline-block;
        width: 50%;
        vertical-align: top;
    }

    #ensuranceBlock div:first-child {
        font-size: 10pt;
        margin-bottom: 7px;
        font-weight: 500;
        color: #999;
    }

    #cardsBlock {
        float: left;
        display: inline-block;
        width: 50%;
        vertical-align: top;
    }

    #cardsBlock div:first-child {
        font-size: 10pt;
        margin-bottom: 7px;
        font-weight: 500;
        color: #999;
    }

    .ensuranceItem {
        position: relative;
        float: left;
        /*width: 320px;
        height: 160px;*/
        width: 150px;
        height: 70px;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .cardsItem {
        position: relative;
        float: left;
        /*width: 320px;
        height: 160px;*/
        width: 70px;
        height: 50px;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    #social {
        padding-bottom: 10px;
    }

        #social a {
            font-size: 0px;
            line-height: 0px;
            margin-right: 5px;
        }

        #social a img {
            border: 0px solid transparent;
        }

    footer {
        position: fixed;
        background-color: black;
        width: 100%;
        height: 30px;
        bottom: 0px;
        color: white;
    }

    #footerc {
        height: 100%;
        max-width: 1000px;
        margin-left: auto;
        margin-right:auto;
        text-align:right;
        padding-right: 10px;
        color: #999;
        font-size: 8pt;
        height: 30px;
        line-height: 29px;
        font-weight: 700;
    }

    #copyr {
        background-color: lightgray;
        font-size: 10pt;
        text-align:center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #copyrc {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    #copyrc span {
        font-weight: 500;
    }
}

@media only screen and (min-width: 1021px) {

    #linksContainer a:nth-child(3n+3) {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 1020px) {
    header {
        height: calc(40vw + 70px);
        /*background-color: whitesmoke;*/
    }

    .scrolled {
        height: 70px;
        top: 0px;
    }

    .scrolledBody {
        padding-top: 100px !important;
    }

    #topc {
        background-position: 50px center;
    }

    #company {
        background-size: 100px;
        padding-left: 120px;
    }

    body {
        padding-top: calc(40vw + 70px);
    }

    #headerc {
        width: 100%;
        height: 40vw;
        left: unset;
        bottom: 0px;
    }

    #headerHead {
        height: 68px;
    }

    .scrolled {
        height: 40px !important;
    }

    .autoWidth {
        max-width: 660px;
    }

    #mainc {
        max-width: 660px;
    }


    #copyrc {
        width: calc(100% - 20px);
        max-width: unset;
        margin-left: 10px;
        margin-right: 10px;
    }

    #linksContainer a:nth-child(2n+2) {
        margin-right: 0px;
    }

    /*#linksContainer a {
        width: calc(50% - 10px);
    }*/
}

@media only screen and (max-width: 675px) {

    #mainc {
        width: 100%;
        max-width: unset;
        margin-left: unset;
        margin-right: unset;
    }

    .autoWidth {
        width: 100%;
        max-width: unset;
        margin-left: unset;
        margin-right: unset;
    }

    #company span {
        display: none;
    }

    #linksContainer a:nth-child(2n+2) {
        margin-right: unset;
    }

    #linksContainer a {
        float: unset;
        width: calc(100% - 10px);
        margin-right: 5px;
        margin-left: 5px;
        height: unset;
    }

    .linksContainerImage {
        position: relative;
        left: unset;
        top: unset;
        right: unset;
        height: 50vw;
    }

    .linksContainerContent {
        position: relative;
        left: unset;
        top: unset;
        right: unset;
        height: unset;

        margin: 10px;
    }

    #ensuranceBlock {
        float: unset;
        width: calc(100% - 10px);
        margin-left: 5px;
        margin-right: 5px;
    }

    #cardsBlock {
        float: unset;
        width: calc(100% - 10px);
        margin-left: 5px;
        margin-right: 5px;
    }

    #social {
        padding-left: 5px;
        padding-right: 5px;
    }
}