html,
body {
  height: 100%;
}

body {
   background-color: #f5f5f5;
}

.myform {
  width: 100%;
  max-width: 400px;
  padding: 15px;
  margin: auto;
}

.myform .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}


* {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}
html {
    scroll-behavior: smooth;

}
.bg-fon {
    background: url(/assets/images/bg-grid.svg) 100% 0em repeat-x;
}

.multilanguage {
    font-size: 14px;
}

/*----------------NEWS  */
.see-all:after {
    content: "";
    display: inline-block;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3E_%3C/title%3E%3Cpath fill='%231D819B' d='M10.958,27.042a1,1,0,0,1-.707-1.707l9.376-9.376L10.334,6.666a1,1,0,0,1,1.414-1.414l10,10a1,1,0,0,1,0,1.414L11.666,26.749A1,1,0,0,1,10.958,27.042Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    height: 1rem;
    margin-left: 0.3125rem;
    top: 0.1875rem;
    width: 1rem;
}

/*  Scrool top*/
.scroll-up {
    position: fixed;
    display: none;
    z-index: 999;
    bottom: 2em;
    right: 2em;
}

.scroll-up a {
    background-color: rgba(135, 135, 135, 0.5);
    display: block;
    width: 35px;
    height: 35px;
    text-align: center;
    color: #fff;
    font-size: 15px;
    line-height: 30px;
    border-radius: 50%!important;
}


/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: 1pt solid #eee;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
    padding-top: 60px;
}

/* Create a sticky/fixed navbar */
#navbar {


    padding: 10px 10px; /* Large padding which will shrink on scroll (using JS) */
    transition: 0.4s; /* Adds a transition effect when the padding is decreased */

    width: 100%;

    z-index: 99;
}

/* Style the navbar links */
#navbar a {
    float: left;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
}

/* Style the logo */
.logo {
    width: 80px;

    transition: 0.4s;
}

/* Links on mouse-over */
#navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* Style the active/current link */
#navbar a.active {
    background-color: dodgerblue;
    color: white;
}

/* Display some links to the right */
#navbar-right {
    float: right;
}

/* ------ Carousel ----- */

#mycarousel {
    background: url('../images/banner5.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    margin-bottom:0;
    height: 500px;
}

#mycarousel .carousel-caption {
    z-index: 10;
}

#mycarousel .carousel-item {
    height: 500px;
}
#mycarousel .carousel-inner > .item > img {
    position: absolute;
    min-width: 100%;
    height: 500px;
    left: 0;
    top: 0;
}

/*--------- NEWS---------*/
.bd-news-img {
    height: 150px;
    object-fit: cover;
    object-position: top;
    border-radius: 0;

}

.card {
    background-color: transparent !important;
    border-radius: 0;
    border: none !important;
}

.img-blog-2{
    width: 300px;
    height: 200px;
    float: left;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    margin-right: 5px;
}

.img-blog-2 img{
    width: 100%;
    height: 100%;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    transition: all 1s ease-out;
    object-fit: cover;

}

.img-blog-2 img:hover{
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -o-transform:scale(1.1);
    transform:scale(1.1);
}

/*-----------OUR PARTNERS----    */

.templatemo-line-header {
    margin-top:50px;
    margin-bottom:50px;
}

.templatemo-line-header span {
    font-size: 18px;
    float :left;

}

.templatemo-partners .templatemo-partner-item {
    margin-bottom: 5px;
}


.team_hr {
    border: 1px solid #fff;
    width: 39.5%;
    float: left;
}

.team_hr_left {
    margin-right: 30px;
    margin-left: 15px;
}

.team_hr_right {
    margin-left: 30px;
}

.hr_gray {
    border: 1px solid #cccccc;
}

/*--------REGISTRATION---------*/
.has-success .form-control{
    background-color: #f1f8e9;
    border-color: #c5e1a5 !important;
}
.has-error .form-control{
    background-color: #fde0dc;
    border-color: #f69988 !important;
}

 .has-error .help-block {
    color:#F44336 !important;
}

/*----------GALLERY---------*/

.templatemo-project-gallery {
    margin:0 0 0 0;
    margin-top:30px;
    margin-left: -40px;
}
.templatemo-project-gallery li {
    list-style:none;
    margin-bottom:25px;
}
.templatemo-project-gallery li img {
    cursor: pointer;
}


.templatemo-project-box {
    background-size: cover;
    position: relative;
    overflow: hidden;
    cursor:pointer;
    height: 130px;
    width: 200px;
}

.templatemo-project-box:hover .project-overlay {
    transition: all 0.3s ease-in-out 0s;
    visibility: visible;
    opacity: 1;
}
.project-overlay {

    border : 2px solid #ff7600;
    visibility: hidden;
    position: absolute;
    text-align:center;
    padding:25%;
    color: #ffffff;
    height: 100%;
    width: 100%;
    opacity: 0;
    right: 0;
    top: 0;
}


.templatemo-project-gallery li {
    margin:15px;
}

.fade-mode {

    overflow: hidden;
    position: relative;
    -webkit-box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.3);
}
.fade-mode img {
    width: 100%;
    height: 130px;
    top: 0;
    position: relative;
    left: 0;
    object-fit: cover;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    -o-transition: -o-transform 0.3s;
    transition: transform 0.3s;
}

.fade-mode:hover img {
    -webkit-filter: blur(2px);
    filter: blur(2px);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}


.templatemo-tweets {
    background-color: #8996a0;

    font-family:  'Open Sans', sans-serif;
    font-size:20px;
    color:#ffffff;
    margin-top:100px;
}
.tweet_txt {
    border-left:2px solid #ffffff;

}

.twitter_user {
    color: #FFFF33;
    font-size: 14px;
    float: right;
}

.list-inline-item img{
    width: 100px;
    height: 100px;
}

.footer-logo{
    width: 50px;
    height: 50px;
}

/*-- FOOTER---*/
/*--------------------*/

@keyframes animatedBackground {

    0% {
        background-position: 0 0
    }
    100% {
        background-position: 600px 0 /* Ð°Ð½Ð¸Ð¼Ð¸Ñ€ÑƒÐµÐ¼ ÑÐ²Ð¾Ð¹ÑÑ‚Ð²Ð¾ background-position */
    }
}

/* Mozilla Firefox 5.0+ */
@-moz-keyframes animatedBackground {
    0% {
        background-position: 0 0
    }
    100% {
        background-position: 600px 0
    }
}

/* Safari 4.0+, Chrome 4.0+ */
@-webkit-keyframes animatedBackground {
    0% {
        background-position: 0 0
    }
    100% {
        background-position: 600px 0
    }
}

/* Opera 12.0+ */
@-o-keyframes animatedBackground {
    0% {
        background-position: 0 0
    }
    100% {
        background-position: 600px 0
    }
}
#fon {
    background-image: url(/assets/images/ab649ba56334139cbd97344e356b94ca.jpg);
    background-size: cover;
    width: 100%;
    animation: animatedBackground 120s linear infinite;
    -moz-animation: animatedBackground 120s linear infinite;
    -webkit-animation: animatedBackground 120s linear infinite;
    -o-animation: animatedBackground 120s linear infinite;
}

.footer-bg {
    background-image: url(/assets/images/FONF06AB7F40B2CFF77F2C7BDFFD3FON.png);
    background-size: cover;
}


.footer-table {
    display: table;
    height: 100%;
    width: 100%;
}

.footer-table-cell {
    display: table-cell;
    vertical-align: middle;
}

.video-wrap a {
    -moz-animation: .8s cubic-bezier(0.8, 0, 0, 1) 1s normal none infinite running pulse;
    border-radius: 50%!important;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    text-align: center;
    width: 50px;
    background: rgba(255, 255, 255, 0.45);
}

.movie-wrap a {
    -moz-animation: .8s cubic-bezier(0.8, 0, 0, 1) 1s normal none infinite running pulse;
    border-radius: 50%;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    text-align: center;
    width: 50px;
    background: rgba(255, 255, 255, 0.45);
    position: absolute;
    top: 40%;
    left: 45%;
}

.screen-height-movie {
    background-position: center center;
    background-size: cover;
}


@media (min-width:991px) and (max-width: 1200px) {
    .team_hr {
        width: 37%;
    }
}

@media (min-width:683px) and ( max-width: 991px) {
    .team_hr {
        width: 33%;
    }
}

@media (min-width:585px) and ( max-width: 683px) {
    .member-thumb .thumb-overlay {
        padding-left: 25%;

    }
    .team_hr {
        width: 30%;
    }
}

@media (min-width:536px) and ( max-width: 585px) {
    .team_hr {
        width: 28%;
    }
}

@media  (min-width:410px) and  ( max-width: 536px) {
    .team_hr {
        width: 21%;
    }
}

@media  ( max-width: 410px) {
    .team_hr {
        width: 11%;
    }
}


@media (min-width: 768px) {
    #mycarousel .carousel-caption p {
        margin-bottom: 20px;
        line-height: 1.4;
        font-size: 21px;
    }

    #mycarousel .carousel-caption {
        padding-bottom: 140px;
        right: 20%;
        left: 20%;
    }
}

@media (max-width: 768px) {
    #mycarousel .carousel-caption {
        padding-bottom: 120px;
    }
}

@media (max-width: 1024px) {
    #mycarousel {
        background: url('../images/banner4.jpg') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;

        margin-bottom:0;
        height: 300px;
    }
}

/* ------ End of Carousel ----- */


/* Add responsiveness - on screens less than 580px wide, display the navbar vertically instead of horizontally */
@media screen and (max-width: 580px) {
    #navbar {
        padding: 20px 10px !important; /* Use !important to make sure that JavaScript doesn't override the padding on small screens */
    }
    #navbar a {
        float: none;
        display: block;
        text-align: left;
    }
    #navbar-right {
        float: none;
    }
}