﻿body {
    font-family: 'Ubuntu', Arial, sans-serif;
}

/*source styles overrides*/
.header-topline {
    height: 60px;
    float: left;
    width: 100%;
    background-color: #2c344a;
}

.header-bottom-line {
    float: left;
    width: 100%;
    background-color: #edf1f5;
}

.header-bottom-content {
    float: left;
    width: 100%;
    height: 90px;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}

@media (max-width: 992px) {
    .header-bottom-content {
        height: auto;
        padding: 15px 0;
        display: block;
    }
}

.logo {
    float: left;
    width: 90%;
}

@media (max-width: 992px) {
    .logo {
        float: none;
        display: table;
        margin: 0 auto;
        width: 250px;
        margin-bottom: 30px;
    }
}

    .logo img {
        float: left;
        width: 100%;
    }

.footer {    
    float: left;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: #2c344a;
}

    .footer > .container {
        height: 276px;
    }    

    @media (max-width: 992px) {
        .footer .container .row {
            display: flex;
            -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        }
    }

    @media (max-width: 768px) {
        .footer .container .row {
            display: block;
        }
    }

.footer-contact-info {
    float: left;
    width: 100%;
    padding-left: 67px;
    margin-bottom: 30px;
}

@media (max-width: 1199px) {
    .footer-contact-info {
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    .footer-contact-info {
        padding: 0;
    }
}

    .footer-contact-info .footer-contacts {
        float: left;
        width: 100%;
        color: #fff;
        font-size: 13px;
        line-height: 21px;
        font-family: 'Fira Sans',sans-serif;
        font-weight: 400;
        margin-bottom: 12px;
    }

    .footer-contact-info .footer-logo {
        float: left;
        width: 100%;
        margin-bottom: 15px;
        position: relative;
    }

    @media (max-width: 768px) {
        .footer-contact-info .footer-logo {
            float: none;
            display: table;
            margin: 0 auto;
            width: 200px;
            margin-bottom: 15px;
        }
    }

        .footer-contact-info .footer-logo:before {
            content: "";
            display: block;
            float: left;
            width: 48px;
            height: 60px;
            background: url(/Content/images/footer-logo.png) no-repeat;
            -webkit-background-size: 100% 100%;
            -o-background-size: 100% 100%;
            background-size: 100% 100%;
            position: absolute;
            left: -70px;
            top: 50%;
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
            transform: translateY(-50%);
        }

        @media (max-width: 1199px) {
            .footer-contact-info .footer-logo:before {
                width: 30px;
                height: 40px;
                left: -40px;
            }
        }

        .footer-contact-info .footer-logo img {
            float: left;
            width: 100%;
        }

        @media (max-width: 992px) {
            .footer-contact-info .footer-logo img {
                width: 80%;
            }
        }

        @media (max-width: 768px) {
            .footer-contact-info .footer-logo img {
                width: 100%;
            }
        }

ul.header-networks {
    float: right;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    list-style-type: none;
}

ul.header-networks li {
    margin-right: 10px;
}

ul.header-networks li a {
    width: 26px;
    height: 26px;
    float: left;
    -webkit-transition: ease-in-out .3s;
    -moz-transition: ease-in-out .3s;
    -ms-transition: ease-in-out .3s;
    -o-transition: ease-in-out .3s;
    transition: ease-in-out .3s;
}

ul.header-networks li a img {
    float: left;
    width: 100%;
}
/*source styles overrides*/

/*bootstrap  overrides*/
a {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
}

a:hover {
    transition: color 0.5s ease;
    color: #fa5456;
    text-decoration: none;
}

.pagination a {
    text-decoration: none;
}

.pagination > .active > a, .pagination > .active > span {
    background-color: #1390D0;
    border-color: #1390D0;
}

.pagination > .active > a:hover {
    background-color: #1390D0;
    border-color:  #1390D0;
}

.pagination > li > a, .pagination > li > span {
    color: rgb(55, 60, 165);
}

.pagination > li > a:hover, .pagination > li > span:hover {
    color: rgb(55, 60, 165);
}
div.bootstrap-select > div > ul > li > a:focus {
     outline: none;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }
}

@media (min-width: 768px) {
    .col-sm-6 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .col-sm-6 {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .col-md-3 {
        width: 25%;
        float: left;
    }
}

@media (max-width: 992px) {
    .col-md-3 {
        max-width: 50%;
        flex: 0 0 50%;
    }
}

@media (min-width: 992px) {
    .col-md-2 {
        width: 16.66666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

@media (min-width: 1200px) {
    .col-lg-3 {
        width: 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .g5-header-logo {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .g5-footer-logo {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/*bootstrap  overrides*/

/*common styles*/
#horizontal-multilevel-menu > li > ul {
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

div.g5-fullwidth {
    width: auto; 
    padding-top: 10px;
    margin: 0 50px;
}

.g5-empty-list-text {
    margin-bottom: 40px;
}

div.g5-show-pages {
    display: inline-block;
}

div.g5-show-pages > select {
    width: 80px !important;
}

.g5-verticalmiddle { 
    vertical-align: middle !important; 
}

/*common styles*/

/*Document page*/
.g5-documentpage-caption {
    font-weight: 500;      
    font-size: 22px;
}
.g5-documentpage-caption > div > span {
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    width: 100%;
}
.g5-documentpage-pageheader {
    margin-top: 4px;
}
.g5-documentpage-image {
    border: 1px solid #000;
    max-width: 100%;
    width: auto;
}
/*Document page*/

/*Main page*/
header {
    height: 170px;
}

div.bootstrap-select button {
    background-image: none;
}

div.bootstrap-select button:hover, div.bootstrap-select button:focus {
    background-color: #fff;
}

.g5-mainpage-resultpanel {    
    border-color: #1390D0;
    border-radius: 0px;
}

.g5-mainpage-resultpanel > div.panel-heading {    
    background-color: #1390D0;
    background-image: none;    
    font-size: 18px;
    border-radius: 0px;
}

.search-button, .clear-button {
    width: 100px;
}

label.g5-exact-check-label {
    font-weight:normal;
}

input[type="checkbox"].g5-exact-check {
    padding-top: 0px;
}

div.g5-from-text-container {
    text-align:center;
}

table.g5-resultlist > thead > tr > th:last-child {
    text-align: center;
}

table.g5-resultlist > tbody > tr > td:last-child {
    width: 140px;
}

/*Main page*/

.g5-searchfield {
    color: #333;
    font-size: 14px;
}

.btn-default[disabled]:focus {
    background-color: #e0e0e0;
}

h1, .h1 {
    font-size: 50px;
    line-height: 50px;
}