
.wrapper, body, html {
    height: auto;
}

.container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    height: 100%;
}

@media (min-width: 640px) {
    .container, footer {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container, footer {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container, footer {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container, footer {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container, footer {
        max-width: 1536px;
    }
}

.container-shadow {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.primary-color, a {
    color: #2f417e;
}

.btn-primary {
    background: #2f417e !important;
    border-color: #2f417e !important;
}

.font-color {
    color: #212529;
    text-transform: none;
}

nav .logo {
    width: 150px !important;
    margin-top: -1.3rem;
    margin-bottom: -1.3rem;
}

.navbar {
    border-bottom: 2px solid #2f417e;
}

.navbar-brand {
    flex: 1;
}

.navbar-light {
    background-color: white;
}

.nav-link {
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-nav > li {
    padding: 0 15px;
}

.navbar-nav > li > a {
    color: #999;
    font-size: .875rem;
    padding: 0 !important;
    padding-bottom: 7px !important;
    text-transform: uppercase;
    transition: .1s ease-in-out;
    transition-property: color, background-color;
}

.navbar-nav .nav-item img {
    padding-right: 5px;
}

.navbar-nav li.active a, .navbar-nav > li > a:hover {
    border-bottom: 2px solid #2f417e;
}

.navbar .navbar-nav .dropdown a {
    /*color: #222222;
    margin-right: -30px;*/
    padding: 8px 19px 8px 16px;
}

.icon-nav:hover {
    border-bottom: none !important;
}

.dropdown-item {
    font-size: 0.9rem;
    border-left: 3px solid transparent;


}

.dropdown-item:hover {
    border-left: 3px solid #2f417e;
    color: #2f417e !important;
}

.dropdown-item:active {
    background-color: transparent !important;
    color: #2f417e !important;
}

.authors p {
    margin-bottom: 5px;
}

.thumb-info p {
    margin-bottom: 5px;
}

.thumb {
    margin-bottom: 30px;
}

.thumb hr {
    border-top: 2px solid #2f417e;
}

.thumb a:hover {
    color: #2f417e;
}

.thumb p, span {
    font-size: 14px;
}

.thumb-title {
    padding: 0 10px;
    color: #233f40;
    font-weight: 400;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.thumb-effect, .card {
    transition: all .2s ease;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
}

.thumb-effect:hover, .card:hover {
    transform: translateY(-4px);
    -webkit-transform: translateY(-4px);
    box-shadow: 0 17px 25px rgba(0, 0, 0, .13);
    -webkit-box-shadow: 0 17px 25px rgba(0, 0, 0, .13);
    -moz-box-shadow: 0 17px 25px rgba(0, 0, 0, .13);
    -o-box-shadow: 0 17px 25px rgba(0, 0, 0, .13);
    cursor: pointer;
}

.img-thumb-pub {
    max-width: 30%;
}

.card-no-hover {
    box-shadow: none;
}

.card-no-hover:hover {
    transform: none;
    box-shadow: none;
    cursor: default;

}

.sidebar a:hover {
    text-decoration: underline;
    color: #2f417e;
}

.link {
    cursor: pointer;
}

.icon-link {
    cursor: pointer;
    color: #2f417e;

}

.link-menu {
    cursor: pointer;
}

.link-menu.active {
    font-weight: bold;

}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: .25rem;
    margin-left: -1.25rem;
}

.form-check label {
    font-size: 14px;
    font-weight: 500;
}

.form-group a {
    color: grey;
    font-size: 12px;
}

.form-group .back {
    /*color: grey;*/
    font-size: 12px;
    font-weight: bold;
}

.form-group a:hover {
    color: #2f417e;

}

a:hover {
    text-decoration: none;
}

.carousel-caption {
    padding-bottom: 45px;
}

.card-footer {
    background: none;
    text-align: center;
    padding-bottom: 1.25rem;
}

.card-footer .btn, .btn-custom {
    background: #2f417e;
    border: none;
    transition: color .2s ease-in, box-shadow .6s;
    padding: 0 30px;
    line-height: 38px;
}

.card-footer .btn:hover, .btn-custom:hover {
    background: #2f417e;
}

.btn-custom-outline {
    background-color: transparent;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.btn-custom-outline:hover {
    border: 3px solid #2f417e;
}

.section-title p {
    font-size: 1rem;
    color: #666;
}

.increase-font {
    font-size: .8rem;
}

footer {
    /*position: absolute;*/
    bottom: 0;
    background-color: #3c3d41;
    color: white;
    padding-top: 30px;
    padding-bottom: 15px;
    flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    width: 100%;
}

footer a:hover {
    /*text-decoration: underline;*/
    color: white;
}

footer a {
    color: #e6e6e6;
}

footer .logo {
    width: 200px !important;
}

.footer .contact .icon-item:first-child {
    padding-top: 3px;
}

.footer .contact .icon-item {
    padding: 5px 0;
}

.footer .contact .icon-item a p:first-child {
    padding-top: 9px !important;
}

.footer .contact .icon-item a p {
    font-size: 15px;
    font-style: initial;
}

.footer .contact .icon-item i {
    font-size: 24px;
    color: #fff;
    float: left;
    line-height: 1;
    padding-right: 15px;
}

.footer .contact .icon-item a p {
    font-size: 15px;
    font-style: initial;
}


.footer .contact .icon-item a p:not(:first-child) {
    margin-left: -10px !important;

}


.footer p {
    padding: 0 0 0 42px;
    line-height: 18px;
    font-size: 16px;


    margin-top: -8px;
    margin-left: -40px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E1AA17;
}

.footer ul {
    text-decoration: none;
    margin-left: -40px;
    font-size: 16px;
    list-style: none;
}

.footer ul li {
    color: #fff;
    text-decoration: none;
    padding-bottom: 10px;
    font-size: 15px;
    border-bottom: 1px solid #484849;
}

.footer ul li i {
    padding-right: 7px;
    color: #E1AA17;
}

.mg-left-item {
    margin-left: -10px !important;
}

.mgTop10 {
    margin-top: 10px !important;
}

.mgTop15 {
    margin-top: 15px !important;
}

.active {
    color: #2f417e !important;
}

.page-item.active .page-link {
    background-color: #2f417e !important;
    border-color: #2f417e !important;
}

.dropdown .dropdown-menu {
    padding: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.dropdown .flag {
    margin-top: -3px;
}

.dropdown-item .flag {
    margin-top: -3px;
}

.dropdown.no-show .dropdown-menu {
    display: none;
}

.dropdown.no-show sub {
    display: none;
}

.dropdown i {
    font-size: 1rem;
}

.form-group-pd {
    padding-right: 15px !important;
}

@media screen and (max-width: 600px) {
    .topnav a, .topnav input[type=text] {
        float: none;
        display: block;
        text-align: left;
        width: 100%;
        margin: 0;
        padding: 14px;
    }

    .topnav input[type=text] {
        border: 1px solid #ccc;
    }
}

.grid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.mt-align-content {
    margin-top: 149px;
}

.list-group {

    margin: auto;
    float: left;
    padding-top: 20px;
}

.lead {
    margin: auto;
    left: 0;
    right: 0;
}

.panel-group {
    border: 1px solid #eaeef1;
}

.panel-heading {
    transition: all .2s;
    background-color: #f9fbfc;
    padding: 12px 30px 12px 25px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.38;
}

.panel .panel-title {
    font-size: 14px;
    margin-bottom: 0;
}

.panel .panel-title a:hover {
    text-decoration: none;
}

.panel .panel-body {
    font-size: 14px;
    line-height: 1.38;
}

.panel .panel-body .table td {
    border-top: 0;
    padding: .5rem .75rem;
}

.panel .panel-body .table td a {
    padding: 0 15px 0 20px;
    color: #3f444a;
}

.panel .panel-body .table td a:hover {
    text-decoration: none;
    color: #2f417e;
}

.header-top-full {
    height: 55px;
    z-index: 999;
}

.mt-content {
    margin-top: 9px;
}

.mt-content-map {
    margin-top: 16px;
}

.sidebar-map {
    height: calc(100vh - 76px);
    overflow-y: scroll;
}

.sidebar-map .title-name {
    font-size: 22px;
    color: #2f417e !important;
}

.sidebar-map .panel-body {
    padding: 0 29px;
}

.page-link {
    color: #2f417e;
}

.page-link:hover {
    color: #2f417e;
}

@media (max-width: 992px) {
    .navbar-nav {
        margin: 20px 0;
        background: #f3f7f9;
    }

    .navbar-nav > li {
        padding: 10px 15px;
        text-align: center;
    }

    .navbar-nav > li:first-of-type, .navbar-nav > li:last-of-type {
        margin-top: 10px;
    }

}

iframe {
    width: 100%;
    height: 500px;
}


.modal-body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-transform: none;
    max-height: 500px;
    overflow-y: scroll;
}

.modal-footer form {
    width: 100%;
    float: left;
    color: #212529;
    text-transform: none;

}

.image-background {
    height: 150px;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
}

.modal-body .modal-intro {
    color: #333 !important;
}

.modal-body ul {
    margin-left: 30px;
}

.center {
    margin-left: auto;
    margin-right: auto;
}


.result-option {
    text-decoration: none;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #212529;
}

#lblSaved {
    font-size: 10px;
    background: #ff0000;
    color: #fff !important;
    /*padding: 0 5px;*/
    vertical-align: top;
    margin-left: -7px;
    margin-top: -4px;
}

.badge.badge-saved {
    font-size: 10px;
    background: #ff0000;
    color: #fff !important;
    /*padding: 0 5px;*/
    vertical-align: top;
    margin-left: -7px;
    margin-top: -4px;
    padding-left: 2px !important;
    padding-right: 2px !important;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    width: 15px;
    height: 15px;
    padding-right: 0 !important;
    font-weight: bold;
    position: absolute;
}

.modal.history ul {
    margin: 10px 0 0 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #b3b9bd;
}

.modal.history li {
    outline: 0;
    background: #fff;
    border-bottom: 1px solid #b3b9bd;
    padding: 5px;
    list-style: none;
    cursor: pointer;
}

.modal.history li.selected {
    background: #2f417e;
    color: #fff;
}

.filter-line label {
    line-height: 1.5;
}

.input-group-text-password {
    height: 38px;
    margin-top: 4px;
    margin-left: -1px;
}

.details p {
    margin-bottom: 0.3rem !important;
}

.info-btn {
    position: absolute;
    bottom: -10px;
    font-size: 10px;
    left: -10px;
    color: #212529;
}

.see-info {
    left: 0px;
}

.td-action {
    padding-top: 8px !important;
}

.content {
    min-height: 620px;
}

/*input[type=checkbox] {
    color: #2f417e;
    !*font-style: italic;*!
}*/
/*
.label-warning[href],
.badge-saved-danger[href] {
    background-color: #c67605;
}
*/
@media print {
    body * {
        visibility: hidden;
    }

    .no-print, .no-print * {
        /*visibility: hidden;*/
        background-color: green;
    }

    .section-to-print * {
        visibility: visible;
    }

    .section-to-print {
        position: absolute;
        left: 0;
        top: 0;
    }
}


#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #fff url("../img/preloader.svg") no-repeat center center;
}


/* Center the loader */
#loader {
    position: absolute;
    left: 45%;
    /*top: 50%;*/
    z-index: 1;
    width: 40px;
    height: 40px;
    margin-top: 10px;
    /*margin: -76px 0 0 -76px;*/
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #2f417e;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }
    to {
        bottom: 0;
        opacity: 1
    }
}
