/* Base */
* {
    outline: none;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Titillium Web', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Titillium Web', sans-serif;
}

a {
    color: #404040;
}

a:hover {
    color: #404040;
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: linear;
}

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

/* Header */
.top {
    background-color: #005aa9;
    padding: 5px 0;
    color: #fff;
    font-size: 14px;
}

.top p {
    margin: 0;
}

.top ul {
    margin: 0;
    padding: 0;
}

.top li i {
    color: #fff;
}

.top li a {
    color: #fff;
}

.top li a:hover {
    text-decoration: none;
}

.top li a:hover,
.top li a:hover i {
    color: #005FA6;
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: linear;
}

/* Navigation */
.navbar {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.navbar .container {
    position: relative;
}

.navbar-default {
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    width: 100%;
    border: none;
    border-bottom: 1px solid #e7e7e7;
    background-color: #fff;
}

.navbar-default .navbar-nav>li>a {
    color: #404040;
    font-weight: normal;
    font-size: 14px;
}

.navbar-default .navbar-nav>li>a:hover {
    background-color: transparent;
    color: #005FA6;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background-color: transparent;
    color: #005FA6;
}

.navbar-default .navbar-nav .active>a,
.navbar-default .navbar-nav .active>a:hover,
.navbar-default .navbar-nav .active>a:focus {
    color: #005FA6;
    background-color: transparent;
    font-weight: bold;
}

.navbar-default .navbar-toggle {
    margin: 10px 0 0 15px;
}

.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    border: none;
    background: #f3f3f3;
}

.navbar-default .navbar-toggle i {
    font-size: 31px;
}

.navbar-default .navbar-collapse {
    float: right;
    border-top: none;
    padding-left: 0;
    padding-right: 0;
}

.navbar-brand>img {
    padding: 5px;
}

@media screen and (max-width: 768px) {
    .navbar-default .navbar-collapse {
        padding-left: inherit;
        padding-right: inherit;
    }
}

@media screen and (max-width: 992px) {
    .navbar-default .navbar-collapse {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        max-height: none;
    }
}

@media (min-width:768px) {

    .navbar>.container .navbar-brand,
    .navbar>.container-fluid .navbar-brand {
        margin-left: 0;
    }
}

.main-navbar-nav {
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.main-navbar-nav>li>a {
    padding-top: 30px;
    padding-bottom: 30px;
    line-height: 1;
}

.main-navbar-nav li>.dropdown-menu {
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    min-width: 225px;
    border: none;
    border-top: 2px solid #005FA6;
}

.main-navbar-nav li>.dropdown-menu>li>a {
    padding: 10px;
    position: relative;
    color: #404040;
    line-height: 1.12857143;
    font-size: 12px;
}

.main-navbar-nav li>.dropdown-menu>li>a:hover,
.main-navbar-nav li>.dropdown-menu>li>a:focus {
    color: #005FA6;
    background-color: transparent;
}

.main-navbar-nav li>.dropdown-menu>li>a i {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -8px;
    font-size: 16px;
}

@media screen and (min-width: 993px) {
    .main-navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .main-navbar-nav .dropdown:hover>.dropdown-menu .dropdown:hover .dropdown-menu {
        left: 225px;
        top: 0;
        margin-top: -2px;
    }
}

@media screen and (max-width: 992px) {
    .main-navbar-nav>li {
        border-bottom: 1px solid #f3f3f3;
    }

    .main-navbar-nav>li:last-child {
        border-bottom: none;
    }

    .main-navbar-nav>li>a {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

.navbar-brand {
    height: auto;
    padding: 0;
}

@media screen and (max-width: 992px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .main-navbar-nav.navbar-nav,
    .main-navbar-nav.navbar-nav>li {
        float: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
        overflow-y: auto !important;
    }
}

/* Hero */
.hero_area {
    background-image: url(img/abstract-bg2.jpg);
    background-position: top center;
    background-repeat: repeat-y;
    min-height: 700px;
    padding: 0;
}

.hero_content {
    padding: 50px 0 0 0;
}

.hero_content h1 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
    color: #005FA6;
    font-weight: 700;
    font-size: 40px;
}

.hero_content h2 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    color: #000;
    font-weight: 700;
    font-size: 22px;
    margin-top: 10px;
}

.hero_content p {
    clear: both;
    font-size: 16px;
    line-height: 22px;
    color: #000;
}

.herobox {
    padding: 20px;
    margin: 10px;
    background: rgba(255, 255, 255, 0.8);
}

.herobox img {
    margin-right: 10px;
}

/* Boxes */
.boxes_area {
    padding-top: 40px;
    padding-bottom: 10px;
    padding-left: 0;
    padding-right: 0;
    background-color: #f8f8f8;
}

.box {
    position: relative;
}

.box h3 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    color: #005FA6;
}

@media (min-width:769px) {
    .boxes_area div[class*="col-"]:after {
        content: " ";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 100%;
        background-color: #ebebeb;
    }

    .boxes_area div[class*="col-"]:last-child:after {
        display: none;
    }
}

/* Home */
.home_content h2:after,
.box h3:after {
    content: '';
    position: absolute;
    width: 30px;
    background-color: #005FA6;
    height: 2px;
    left: 0;
    bottom: 0;
}

.box i {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
    color: #005FA6;
    font-size: 45px;
}

.boxes_area h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 18px;
}

.services {
    padding-top: 50px;
    padding-bottom: 50px;
}

h2.section-title {
    text-align: center;
    color: #404040;
}

.services p.desc {
    text-align: center;
    font-size: 13px;
    margin-bottom: 20px;
}

.services .media {
    margin-top: 30px;
}

.services .media i {
    font-size: 45px;
    color: #005FA6;
}

.services .media h4 {
    font-size: 15px;
    font-weight: 600;
    color: #404040;
}

.services .media p {
    text-align: left;
}

/* News */
.home-area {
    padding-bottom: 50px;
}

.home_content h2 {
    position: relative;
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 20px;
    color: #404040;
    margin-bottom: 30px;
}

.home_list ul {
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
}

.home_list ul li {
    list-style: none;
}

.home_list .thumbnail {
    border: none;
    padding: 0;
}

.thumbnail .caption {
    padding: 9px;
    color: #404040;
    padding-left: 0;
    padding-right: 0;
}

.home_list h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #404040;
}

.home_list p {
    color: #8c8c8c
}

.home_list a.btn {
    font-size: 13px;
    padding: 0;
    color: #005FA6;
}

.home_bottom .row {
    margin-left: -5px;
    margin-right: -5px;
}

.home_bottom div[class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
    position: relative;
}

/* References */
.carousel-control {
    width: 4%;
}

.carousel-control.left,
.carousel-control.right {
    margin-left: 0;
    background-image: none;
}

@media (max-width: 767px) {
    .carousel-inner .active.left {
        left: -100%;
    }

    .carousel-inner .next {
        left: 100%;
    }

    .carousel-inner .prev {
        left: -100%;
    }

    .active>div {
        display: none;
    }

    .active>div:first-child {
        display: block;
    }
}

@media (min-width: 767px) and (max-width: 992px) {
    .carousel-inner .active.left {
        left: -50%;
    }

    .carousel-inner .next {
        left: 50%;
    }

    .carousel-inner .prev {
        left: -50%;
    }

    .active>div {
        display: none;
    }

    .active>div:first-child {
        display: block;
    }

    .active>div:first-child+div {
        display: block;
    }
}

@media (min-width: 992px) {
    .carousel-inner .active.left {
        left: -25%;
    }

    .carousel-inner .next {
        left: 25%;
    }

    .carousel-inner .prev {
        left: -25%;
    }
}

/* Footer */
footer.site-footer {
    background: #e6e6e6;
    padding: 20px 0 0;
    float: left;
    width: 100%;
    margin-top: 20px;
}

footer.site-footer h4 {
    font-size: 17px;
    font-weight: 700;
}

footer.site-footer ul {
    padding-left: 0;
    margin-bottom: 20px;
    list-style: none;
}

footer.site-footer ul a {
    color: #666;
    font-size: 13px;
}

footer.site-footer p {
    font-size: 13px;
}

footer.site-footer p a {
    color: #666;
}

p.text {
    color: #666;
}

#copyright {
    background: #000;
    color: #ccc;
    padding: 15px 0;
    font-size: 12px;
    margin-top: 20px;
}

#copyright p,
#copyright ul {
    margin: 0;
    float: left;
    font-size: 12px;
}

#copyright a {
    color: #fff;
    font-size: 12px;
}

.site-footer li a:hover {
    color: #005FA6;
}

ul.big li {
    float: left;
    width: 49%;
}

ul.big li:nth-child(2n) {
    margin-left: 2%;
}

@media (max-width:462px) {
    .fbox:last-child {
        margin-top: 20px;
        float: left;
        width: 100%;
    }
}


/* Breadcrumb */
.bread_area {
    border-bottom: 1px solid #e7e7e7;
    padding: 15px 0 10px 2px;
    margin-bottom: 40px;
    background: #000;
    color: #eee;
}

.bread_area p {
    font-weight: 400;
    font-size: 1.2em;
}

.breadcrumb {
    margin: 0;
    background: #fff;
    padding: 0;
}


/* Sidebar */
.widget {
    border-left: 1px solid #ccc;
}

.widget p {
    background: #eee;
    text-align: center;
    margin-left: -15px;
    font-size: 14px;
    font-weight: 700;
}

.widget h4,
h2.page-title,
h2.category-title {
    position: relative;
    margin-top: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 700;
    color: #404040;
    width: 100%;
}

.widget h4 {
    font-size: 15px;
    margin-left: 15px;
}

.widget h4:after,
h2.page-title:after,
h2.category-title:after {
    content: '';
    position: absolute;
    width: 30px;
    background-color: #005FA6;
    height: 2px;
    left: 0;
    bottom: 0;
}

.widget {
    margin-bottom: 30px;
}

.sidebar ul {
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 0 0 15px;
}

.sidebar ul li {
    font-size: 14px;
    list-style: square;
}

.sidebar ul li a {
    padding: 3px 15px;
    display: block;
    margin-left: -15px;
    margin-right: -15px;
    color: #005FA6;
    font-weight: 700;
}

.sidebar li.current a {
    background-color: #005FA6;
    margin-left: -15px;
    margin-right: -15px;
    color: #FFFFFF;
}

.sidebar ul li a:hover {
    background-color: #005FA6;
    color: #FFFFFF;
    text-decoration: none;
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
}

/* Responsive */
@media screen and (max-width:990px) {
    .top {
        text-align: center;
    }

    .top ul.list-inline {
        float: none !important;
        text-align: center;
    }

    .hero_content {
        padding: 80px 0;
    }

    .hero_content h1 {
        font-size: 32px;
        background: rgba(255, 255, 255, 0.5);
        padding: 20px;
        width: 100%;
    }

    .hero_content h2 {
        width: 90%;
        font-size: 21px;
        background: rgba(255, 255, 255, 0.5);
        padding: 20px;
        width: 100%;
    }

    /*.boxes_area .row {margin-left: -20px;margin-right: -20px;}*/
    .boxes_area .box p {
        margin-bottom: 30px;
    }

    .services .media .media-left {
        padding-right: 15px;
    }

    .sidebar {
        margin-top: 40px;
    }
}

@media (min-width:463px) and (max-width:768px) {
    .fbox {
        float: left;
    }

    .fbox:nth-child(3) {
        float: right !important;
    }
}

*,
*:before,
*:after {
    box-sizing: border-box !important;
}

/* 
.gallery .row {
    -moz-column-width: 25em;
    -webkit-column-width: 25em;
    -moz-column-gap: .5em;
    -webkit-column-gap: .5em;

}

.gallery .panel {
    display: inline-block;
    margin: .5em;
    padding: 0;
    width: 98%;
} */

.site-main a {
    color: #005FA6;
    background-color: transparent;
    font-weight: bold;
}

.new {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #b00000;
    color: #fff;
    padding: 20px;
    font-size: 20px;
}

.gallerybox {
    display: grid;
    grid-template-columns: 1fr 1fr;
}