@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900&display=swap&subset=latin-ext');

/*test*/
html,
body { width: 100%; height: 100%; }
body { font-family: 'Lato', sans-serif; font-weight: 400; color: #666; font-size: 16px; }

/*START: HEADER*/

header { transition: .3s; border-bottom: 1px solid #ddd; height: 150px; width: 100%; background-color: #fff; z-index: 2; display: flex; padding: 0 50px; justify-content: space-between; }
/*header.scroll { height: 65px; transition: .3s; }*/
header div { align-self: center; }

#block-header-contact { font-weight: 700; text-align: right; color: #494949; }
#block-header-contact p { margin-bottom: 0; }

#block-site-brand { font-size: 18px; text-transform: uppercase; display: flex; align-items: center; color: #494949; }
#block-site-brand span { font-weight: 300; color: #EA8005; }
#block-site-brand .site-name { line-height: 22px; width: 195px; margin: 0 15px 0 20px; font-weight: 900; color: #3C88CF; }

@media (max-width: 900px) {
    /*header { padding: 0 0 0 30px; }*/
}

@media (max-width: 768px) {
    header { padding: 0 30px; min-height: 150px; height: initial; flex-wrap: wrap; }
}

@media (max-width: 743px) {
    #block-header-contact { margin: 0 auto 20px; text-align: center; }
    #block-site-brand { margin: 20px auto; }
}

@media (max-width: 500px) {
    #block-site-brand { flex-wrap: wrap; justify-content: center;  }
}

@media (max-width: 420px) {
    header { padding: 0 15px; }
}

/*END: HEADER*/

/*START: MENU*/

#nav-icon { width: 35px; height: 27px; position: relative; cursor: pointer; display: none;
    -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out; -moz-transition: .5s ease-in-out; -o-transition: .5s ease-in-out; transition: .5s ease-in-out; }
#nav-icon span { display: block; position: absolute; height: 5px; width: 100%; background: #fff; opacity: 1; left: 0;
    -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out; }
#nav-icon span:nth-child(1) { top: 0; }
#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) { top: 10px; }
#nav-icon span:nth-child(4) { top: 20px; }
#nav-icon.open span:nth-child(1) { top: 18px; width: 0; left: 50%; }
#nav-icon.open span:nth-child(2) { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); }
#nav-icon.open span:nth-child(3) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); }
#nav-icon.open span:nth-child(4) { top: 18px; width: 0; left: 50%; }

#block-main-menu { text-align: center; font-size: 15px; font-weight: 700; color: #000; background-color: #3C88CF; height: 57px; }
#block-main-menu ul { margin: 0; padding: 0; }
#block-main-menu li { position: relative; margin: 0; display: inline-block; transition: .3s; padding: 0 20px; }
#block-main-menu a { text-transform: uppercase; border-bottom: 5px solid transparent; padding: 20px 10px; display: inline-block; line-height: .8; transition: .3s; }
#block-main-menu .active-trail a { border-bottom-color: #fff; color: #fff; }
#block-main-menu a.is-active { border-bottom-color: #fff; color: #fff; }
#block-main-menu a:hover { border-bottom-color: #fff; color: #fff; transition: .3s; }

@media (max-width: 992px) {
    #block-main-menu li.activated { border-bottom: 5px solid transparent; }
    #block-main-menu li.activated a { padding: 10px 0; color: #666; }
}

@media (max-width: 850px) {
    /*#block-main-menu a { padding: 10px 15px; }*/
}

@media (max-width: 768px) {
    #nav-icon { display: block; margin: 0 auto; }
    #block-main-menu { padding-top: 16px; }
    #block-main-menu ul { z-index: 2; background-color: #3C88CF; transition: .3s top; display: none; position: absolute; top: 207px; left: 0; width: 100%; padding: 0; /*box-shadow: 0 5px 10px -6px rgba(0,0,0,0.3);*/ }
    .scroll #block-main-menu ul { top: 65px; transition: .3s top; }
    #block-main-menu ul.open { display: block; }
    #block-main-menu li { display: block; padding: 0; position: relative; border-bottom: none; }
    .scroll #block-main-menu li { padding: 0; }
}

@media (max-width: 420px) {
    #block-main-menu a,
    #block-main-menu li.activated a { padding: 20px 30px; }
}

/*FRONT*/

.slider img { width: 100%; height: auto; }
.slider .text { position: absolute; right: 50px; bottom: 25%; color: #fff; background-color: rgba(60,136,207,.8); width: 500px; padding: 50px 30px; }
.slider strong { font-weight: 700; }
.slider .text p:first-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .slider img { width: 150%; }
}

@media (max-width: 600px) {
    .slider .text { right: 5%; width: 90%; bottom: 25px; }
}

@media (max-width: 550px) {
    .slider img { width: auto; height: 400px; }
}

@media (max-width: 400px) {
    .slider img { height: 450px; }
}

.numbers { margin-bottom: 100px; }
.numbers .section-title { font-size: 24px; color: #3C88CF; text-align: center; margin: 30px 0; }
.circles { display: flex; justify-content: center; flex-wrap: wrap; }
.circle { width: 300px; height: 300px; border-radius: 100%; background-color: #3C88CF; display: flex; flex-direction: column; justify-content: center; margin: 20px; }
.circle img { display: block; margin: 0 auto; width: auto; height: 133px; }
.circle p { color: #fff; font-weight: 700; text-align: center; }
.circle .circle-title { font-size: 13px; }
.circle .circle-number { font-size: 36px; }

.section.articles .section-title { font-size: 15px; text-transform: uppercase; color: #494949; margin: 0 0 20px 30px; font-weight: 700; padding-top: 50px; }
.section.articles .container-fluid { padding-left: 30px; padding-right: 30px; }
.section.articles .row { margin-left: -5px; margin-right: -5px; }
.section.articles .col-box { padding-left: 5px; padding-right: 5px; }
.section.articles img { width: 100%; height: auto; }
.section.events { background-color: #F6F4F4; }
.section .more { text-align: center; }
.section .more .button { font-size: 13px; color: #918F8F; padding: 10px 30px; border: 1px solid #c4c4c4; display: inline-block; margin-bottom: 30px; }
.section.news .more .button:after { content: '>>'; margin-left: 15px; }

#block-footer { background-color: #E5E5E5; padding: 50px; font-size: 15px; color: #000; }
#block-footer .views-row { display: flex; flex-wrap: wrap; }
#block-footer .views-row div { flex: 0 0 25%; padding: 0 20px; }
#block-footer .views-row strong { font-weight: 700; }

@media (max-width: 1170px) {
    #block-footer .views-row div { flex: 0 0 50%; }
}

@media (max-width: 1170px) {
    #block-footer .views-row div { flex: 0 0 100%; margin: 10px auto; text-align: center; }
}

/*END FRONT*/

/*NEWSLETTER*/

#block-newsletter { background: no-repeat center /cover; padding: 100px 0; color: #fff; }
#block-newsletter .content { width: 600px; margin: 0 auto; text-align: center; }
#block-newsletter .title { font-size: 24px; text-transform: uppercase; font-weight: 700; margin-bottom: 0; }
#block-newsletter .text { font-size: 24px; padding: 0 10px; line-height: 29px; }
#block-newsletter .form { font-size: 13px; margin-bottom: 30px; }
#block-newsletter .form-element { border-radius: 20px; border: 0; }
#block-newsletter .form input { border-radius: 20px; border: 0; color: #918F8F; padding: 10px 15px; background-color: #fff; /*width: 100%;*/ margin: 0 5px 0 0; }
#block-newsletter .form .send-button { width: initial; color: #fff; padding: 10px 29px; background-color: #EA8005; text-transform: uppercase; font-weight: 600; margin: 0 0 0 5px; }
#block-newsletter a { transition: .3s; }
#block-newsletter a:hover { opacity: .8; transition: .3s; }
#block-newsletter .form-item-email { display: inline-block; width: calc(100% - 160px); }
#block-newsletter .form-item-email label { display: none; }
#block-newsletter .form-actions { display: inline-block; }

@media (max-width: 700px) {
    #block-newsletter .content { width: 100%; margin: 0 auto; padding: 0 50px; }
}

@media (max-width: 550px) {
    #block-newsletter .content { padding: 0 30px; }
}

@media (max-width: 450px) {
    #block-newsletter .form-element { display: block; }
    #block-newsletter .form-item-email { width: 100%; margin-bottom: 15px; }
    #block-newsletter .form .send-button { margin: 0 auto; }

}

/*END NEWSLETTER*/

/*START: LIST-NEWS PAGE*/

.views-page .top { margin-bottom: 75px; }
.views-page .container-fluid { padding: 0 50px; }
.views-page .row { margin: 0 -5px; }
.views-page .news { padding: 0 5px; }

.articles .filters { font-size: 14px; height: 60px; background-color: #fff; display: flex; align-items: center; padding: 0 50px; width: 100%; margin-bottom: 15px; }
.articles .filters span { line-height: 1; color: #918F8F; font-weight: 700; cursor: pointer; transition: .3s; }
.articles .filters span:hover { color: #3C88CF; transition: .3s; }
.articles .filters.scroll { position: fixed; top: 100px; left: 0; z-index: 1; }
.articles .filters .active { color: #3C88CF; }
.articles .filters a { color: inherit; }

.articles .date-filters { font-size: 17px; visibility: hidden; }
.articles .date-filters span:first-child { margin-right: 10px; }
.articles .date-filters span:last-child { margin-left: 10px; }

.articles .category-filters { width: 100%; margin-left: -171px; text-align: center; }
.articles .category-filters span { margin: 0 10px; }

.news a { display: block; }

.articles .news .img { height: 340px; overflow: hidden; position: relative; }
.articles .news .img:after { transition: .3s all; /*border-bottom: 10px solid transparent;*/ content: ''; width: 100%; display: block; position: absolute; bottom: 0; }
.articles .news .img img { transition: .3s all; width: 100%; height: 100%; position: absolute; left: 50%; transform: translateX(-50%); object-fit: cover; }

.articles .content { margin-top: 25px; }
.articles .content p { margin: 0; }
.articles .content .date { color: #3C88CF; font-weight: 500; }
.articles .content .title { color: #494949; font-size: 18px; font-weight: 700; margin-bottom: 10px; transition: .3s; }
.articles a:hover .content .title { color: #3C88CF; transition: .3s; }
.articles .content .text { color: #494949; font-size: 14px; margin-bottom: 10px; padding-right: 10px; }
.articles .content .read-more { color: #c4c4c4; font-size: 14px; margin-bottom: 50px; }

.views-page .col-box:hover .img:after { transition: .3s all; /*border-bottom-color: #3C88CF;*/ }
.views-page .col-box:hover .img img { transform: scale(1.1) translateX(-45%); transition: .3s all; /*border-bottom-color: #43BAB8;*/ }


@media (max-width: 991px) {
    .views-page .filters { display: block; height: initial; padding: 20px 50px; }
    .views-page .date-filters { margin-bottom: 20px; }
    .views-page .category-filters { width: 100%; text-align: left; margin: 0; }
    .views-page .category-filters span:first-child { margin-left: 0; }

    .views-page .filters.scroll { position: static; }
}

@media (max-width: 570px) {
    .views-page .category-filters span { display: block; margin: 10px 0; }
}

@media (max-width: 550px) {
    .views-page .container-fluid { padding: 0 30px; }
    .views-page .filters { padding: 20px 30px; }
    .views-page .top { margin-bottom: 20px; }
}

/*END: NEWS PAGE*/

/*START: ARTICLE*/

.page { position: relative; margin-bottom: 50px; }
.page .container { font-size: 17px; color: #494949; margin-top: 100px; }
.article.page .container { margin-top: 60px; }
.publication.page .container { margin-top: 60px; }
.page .text { margin-bottom: 30px; }
.page .text hr { border: none; background-color: #c4c4c4; height: 1px; }
.page .text img { max-width: 100%; height: auto; }
.page .highlighted-text { background-color: rgba(67, 186, 184, 0.23); padding: 30px; margin-bottom: 30px; }
.page .gallery img { width: 100%; height: auto; }

.page .gallery { display: flex; flex-wrap: wrap; /*justify-content: space-between; */margin-bottom: 50px; }
.page .gallery a { flex: 0 0 25%; padding: 15px; max-height: 130px; overflow: hidden; }

.article .date { font-size: 32px; color: #3C88CF; font-weight: 300; margin-bottom: 30px; display: block; }
.article h1 { font-size: 32px; color: #494949; }
.article h2 { font-size: 18px; color: #494949; line-height: 1.5; }

@media (max-width: 1150px) {
}

@media (max-width: 840px) {
}

@media (max-width: 575px) {
    .page .container { padding: 0 20px; }
}

@media (max-width: 550px) {
    .page .gallery a { flex: 0 0 100%; }
}


/*END ARTICLE*/

/*SIMPLE PAGE*/

.simple-page { margin: 50px auto; }
.simple-page h1 { font-size: 32px; color: #494949; }
.simple-page .container { font-size: 17px; color: #494949; }

/*END SIMPLE PAGE*/

/*POPUP*/

#popup-img { position: fixed; left: 0; top: 0; background: rgba(0, 0, 0, .5); width: 100%; height: 100vh; display: flex; justify-content: center; align-items: center; display: none; z-index: 1000; }
#popup-img .content { background: #fff; border-radius: 15px; position: relative; }
#popup-img .content img { width: 100%; height: auto; max-height: 95vh; display: block; margin: 0 auto; padding: 25px; }
#popup-img .content .close { cursor: pointer; font-size: 25px; position: absolute; right: 5px; top: -2px; display: block; width: 20px; text-align: center; opacity: .7; transition: opacity .3s; }
#popup-img .content .close:hover { opacity: .4; transition: opacity .3s; }

/*POPUP*/

/*LOGIN FORM*/

#user-login-form .login-form { margin-top: 50px; padding: 0 30px; }
#user-login-form .logo { text-align: center; }
#user-login-form .logo img { width: 320px; height: auto; margin-bottom: 50px; }
#user-login-form .logo h1 { font-weight: 400; transition: .3s; font-size: 24px; margin: 0 0 50px; font-family: 'Roboto Condensed', sans-serif; }
#user-login-form .logo h1 span { font-weight: 700; }
#user-login-form .logo h2 { color: #666666; font-family: 'Montserrat', sans-serif; font-size: 16px; margin-bottom: 50px; }

#user-login-form #edit-name--description,
#user-login-form #edit-pass--description { display: none; }

#user-login-form .login-fields label { display: none; }
#user-login-form .login-fields .form-text { width: 500px; margin-bottom: 30px; height: 25px; border-radius: 5px; border: 2px solid #6666; background-color: #F3F4EE; padding-left: 5px; font-size: 14px; }
#user-login-form .login-fields .form-text:focus { border: 2px solid #0085D0; }
#user-login-form .login-fields .field { display: flex; margin: 0 auto; }
#user-login-form .login-fields { max-width: max-content; margin: 0 auto; }
#user-login-form .login-fields p { line-height: 20px; width: 150px; color: #666666; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: normal; }
#user-login-form .login-submit { max-width: max-content; margin: 0 0 0 auto; }
#user-login-form #edit-submit { padding: 10px 50px; border-radius: 5px; border: 0; background-color: #0085D0; color: white; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: normal; }
#user-login-form #edit-submit:hover { opacity: 0.85; }


@media (max-width: 700px) {
    #user-login-form .login-fields .form-text { width: 100%; }
}

@media (max-width: 450px) {
    #user-login-form .login-fields .field { display: block; }
    #user-login-form .login-fields p { margin: 0; }
    #user-login-form .login-submit { margin: 0 auto; }

    #user-login-form .logo img { width: 100%; }
}
