@import url('https://fonts.googleapis.com/css2?family=Fasthand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mr+Dafoe&display=swap');

header {
    background-image: url(../images/header.jpg);
    background-size: cover;
}

.small-container {
    width: 95%;
    margin: 0 auto;
}

.overlay {
    /*background-color: rgb(255 255 255 / 51%);*/
    width: 100%;
    height: 100%;
}

.img-fluid {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.col-md-4 {
    overflow: hidden;
}

.violet-overlay {
    background-color: #8bc7eb;
    width: 100%;
    height: 100%;
    padding: 70px 0;
}

.white-overlay {
    background-color: rgba(255, 255, 255, .7);
    height: 100%;
    width: 100%;
}

.normalarticle h1 {
    margin:0 0 30px;
    font-family: "Mr Dafoe", cursive;
    color:#005270;
    font-size:70px
}

.normalarticle h2 {
    margin:30px 0 15px;
    color:#00668b;
    font-weight:normal;
    font-size:25px;
    font-weight:bold
}

.normalarticle h3 {
    margin:30px 0 5px;
    color:#816b4e;
    font-weight:normal;
    font-size:20px;
    font-weight:bold;
}




.normalarticle {
    padding:40px 0 70px
}

.normalarticle a {
    color:#005f82;
    text-decoration:underline
}

.normalarticle a:hover {
    text-decoration:none
}

.normalarticle li {
    list-style:disc
}

@media (max-width: 480px) {
    .normalarticle h1 {
    font-size:40px;
        margin:0 0 10px;
}
    .normalarticle {
    padding:10px 0 30px
}
}

h2 span, h1 span {
    color: #5ec3ff;
}

li {
    list-style-type: none;
}

a:hover {
    text-decoration: none;
}

a, button {
    /*transition: all .1s ease;*/
}

button {
    padding: 0
}

body {
    font-size: 1.1rem;
}

/* navbar */

.footermenu {
    list-style:none;
    margin:0;
    padding:0;
}

.footermenu li a {
    margin:0;
    padding:2px 0;
}

.navbar-brand img {
    width:100%
}
.navbar-brand {
    width:300px;
    margin:10px 0
}

@media (max-width: 480px) {
.navbar-brand {
    width:175px;
    margin:5px 0
}
}

nav.navbar {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    width: 100%;
    z-index: 1000;
    font-family: 'Open Sans', sans-serif;
}

nav.navbar ul li a {
    color: #005270!important;
    font-weight:bold;
    border-radius:20px;
    display:block;
}

nav.navbar ul li.current a {
    color:#8bc7eb!important
}

nav.navbar ul li a:hover {
    color: #ffb71a !important;
}

nav.navbar ul li {
    padding: 0 15px;
}

nav.navbar .search-container {
    position: relative;
}

nav.navbar form {
    padding: 5px;
    background-color: white;
    position: absolute;
    width: 260px;
    display: none;
}

nav.navbar form input {
    padding: 5px 10px;
    border: 1px solid #b7b5b5;
    background-color: #e6e3e3;
    width: 100%;
}

/* header */
nav .container {
    position:relative
}

#contactinfo {
    display:none
}

@media (min-width: 776px) {
    #contactinfo {
    position:absolute;
    top:20px;
    right:30px;
        display:block
}

    
#contactinfo .item {
    font-size:18px;
    font-weight:bold;
    background:#005270;
    color:#fffde9;
    padding:5px 12px;
    border-radius:20px
}

    #contactinfo .item:hover {
    background:#ffa323;
    color:#005270;
}
}

header {
    position: relative;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    text-shadow:2px 2px 10px #00000078
}

header.normalheader {
    background:#dff3ff;
    height:200px;
    background-color: #ffffff; /* For browsers that do not support gradients */
  background-image: linear-gradient(#d3f3ff, #ffec9c);
}

@media (max-width: 480px) {
    header.normalheader {
height:120px;
}
}

header .container {
    height: 100%
}

header .container > div {
    margin: 0 auto;
    position: relative;
/*    text-align: center;*/
}

header .container > div h1 {
    font-size: 90px;
}

header button {
    background-color: transparent;
    display: block;
    border: 1px solid #FFF;
    border-radius: 50px;
    padding: 0;
    margin: 30px auto;
}

header button a {
    padding: 10px 40px;
    display: block;
    color: #FFF;
}

header button:hover {
    background-color: #ffa623;
    border: 1px solid #ffa623;
}

header button:hover a {
    color: white;
}

.mod-breadcrumbs__wrapper {
    background:#8bc7eb;
}

.mod-breadcrumbs {
    background:0;
    border-radius:0;
    color:#fff;
    max-width:1100px;
    margin:0 auto
}

.mod-breadcrumbs a {
    color:#005270
}

.mod-breadcrumbs a:hover {
    text-decoration:underline
}

/* contact */

.contact {
    background-image: url('../imgs/contact.jpg');
    background-size: cover;
}

.contact h2 {
    color: white;
    margin-bottom: 30px;
}

.contact .contact-form {
    width: 50%;
    margin: 0 auto;
}

.contact form input, .contact form textarea {
    width: 100%;
    outline: none;
    border: none;
    padding: 5px 10px;
}

.contact form input{
    border-radius: 10px;
    margin-bottom: 20px;
}

.contact form textarea {
    resize: none;
    height: 130px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact form input[type="submit"] {
    width: 130px;
    height: 40px;
    padding: 0;
    line-height: 40px;
    background-color: #ffa024;
    color: white;
    margin: 0 auto;
    display: block;
}

/* footer */

footer, footer a {
    color: white;
}

footer {
    display: block;
    overflow: hidden;
    background-color: #005270;
    padding:40px 0 0
}

footer a:hover {
    color: #ffe209
}

footer .container > ul {
    overflow: hidden;
    margin: 30px 0;
    padding-left: 0;
}

footer .container > ul li {
    float: left;
    padding-right: 25px;
}

footer .item h4 {
    margin-bottom: 20px;
    text-transform: uppercase;
}

footer .item p.address {
    line-height: 1.2;
    font-size: 16px;
}

footer .item ul {
    padding-left: 0;
}

footer .item ul li {
    margin-bottom: 3px;
    font-size: 16px;
}

footer .date p {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 300;
}

footer .item form {
    overflow: hidden;
}

footer .item form input {
    width: 100%;
    margin-bottom: 15px;
    padding: 5px 10px;
}

footer .item form input[type="submit"] {
    width: 100px;
    height: 40px;
    line-height: 4px;
    background-color: #ffa024;
    border: none;
    float: right;
    color: #FFF;
    padding: 0
}

footer .copyright {
    background-color: #002d3e;
    padding: 15px 0;
    margin:40px 0 0
}

footer .copyright p {
    margin-bottom: 0;
    font-size: 16px;
}

#system-message-container {
    z-index:9999;
    position:absolute;
    width:100%;
    text-align:center;
    padding:0;
    font-weight:bold;
}

joomla-alert[type="success"] {
    background:#006f37f2;
    border:0;
    color:#fff;
}

joomla-alert[type="danger"] {
    background:#6f0000f2;
    border:0;
    color:#fff;
}

.alert-message {
  padding:30px 0  
}

.visually-hidden {
    display:none
}


.com-users-login {
    max-width:500px;
    margin:20px auto;
    border:solid 1px #d6d6d6;
    padding:20px 30px;
    border-radius:20px
}
.plg_system_webauthn_login_button {
    display:none
}

.com-users-login .com-users-login__input {
    margin:10px 0 10px
}

.com-users-login__submit .btn-primary {
    background:#00526f;
    border:0;
    margin:10px 0
}

.com-users-login__options a {
    border:0;
    margin:0;
    padding:0;
    background:none;
    color:#00526f
}

.com-users-login__options a:hover {
    text-decoration:underline
}

/* media queries */

@media (max-width: 1200px) {
    
    /* about */
    
    .about-us .row > .col-lg-6:first-of-type {
        left: -10px;
    }
    .about-us .small-container .text-right p {
        width: 70%
    }
    .about-us .item {
        width: 150px
    }
    .about-us .item img {
        height: 125px
    }
    .about-us .item:first-of-type {
        left: 440px;
        bottom: 154px;
    }
    .about-us .item:nth-of-type(2) {
        left: 167px;
        bottom: 153px;
    }
    .about-us .item:nth-of-type(3) {
        top: 149px;
        left: 19px;
    }
    .about-us .item:last-of-type {
        left: 305px;
        top: 132px;
    }
    
    .about-us .row > div > .item:nth-of-type(3) img {
        position: static
    }
    
    .about-us .row > div > .item:nth-of-type(3) p {
        display: none;
    }

    /* agency */
    
    .agency img:first-of-type, .agency img:last-of-type {
        width: 150px
    }
    .agency .container > div > div img {
        max-width: 400px;
        width: 100%;
    }
    .agency .container > div h2 {
        bottom: 87px;
        left: 164px;
        font-size: 30px;
    }
    .agency .container > div h2 {
        display: none;
    }

}

@media (max-width: 992px) {
    
    /* header */
    
    header h1 {
        font-size: 65px !important;
    } 
    
    /* navbar */
    
    .navbar ul {
        background-color: rgb(255 255 255);
        box-shadow:1px 1px 10px 1px #0000007d
    }
    .navbar ul li {
        margin: 10px 0;
        text-align:center
    }
    nav.navbar form {
        width: 100%;
        position: static;
    }
    
    /* about */
    
    .about-us .small-container > p + div {
        padding: 50px 0;
    }
    .about-us .row > .col-lg-6:first-of-type {
        height: 350px;
        left: 50px;
    }
    .about-us .small-container .text-right p {
        width: 100%;
    }
    
    /* services */
    
    .services .slide {
        width: 80%
    }
    
    .services .carousel-control-next, .services .carousel-control-prev {
        width: 50px;
        height: 50px;
    }
    
    /* agency */
    
    .agency img:first-of-type, .agency img:last-of-type {
        display: none
    }
    .agency .container > div > div img {
        display: block;
    }
    .agency .container > div {
        width: 56%;
    }
    
    /* statistics */
    
    .statistics .col-lg-3 {
        margin-bottom: 40px
    }
    
    /* contact */
    
    .contact .contact-form {
        width: 70%
    }
    
    /* footer */
    
    footer .col-lg-3 {
        margin-bottom: 40px;
    }
    
}

@media (max-width: 768px) {
    
    /* header */
    
    header h1 {
        font-size: 50px !important;
    } 
    
    /* about */
    
    .about-us .row > .col-lg-6:first-of-type {
        display: none;
    }
    
    /* services */
    
    .services .slide {
        width: 90%
    }
    .services .carousel-control-next, .services .carousel-control-prev {
        display: none;
    }
    
    /* agency */
    
    .agency .container > div {
        width: 87%;
    }
    
}