/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) { 
    html {
        font-size: 8px;
    }
    .title p {
        font-size: 1.2rem;
    }
    /* header */
    .icon_top {
        margin: 0 1.5rem 0 0;
    }
    .top_nav {
        padding: 0 !important;
    }
    .top_nav .nav-item a {
        padding:0
    }
    .top_nav .tabs {
        width: 100%;
        text-align: center;
        border: none;
        box-shadow: none;
        margin-bottom: 0;
        padding-bottom: 0;
        box-shadow:16px 16px 30px rgb(233, 243, 251);
    }
    .top_nav .tabs ul {
        margin:0;
    }
    .top_nav .tabs ul a {
        margin:0;
        color: #064acb;
        border:none
    }
    .top_nav .tabs ul a:hover ,
    .top_nav .tabs ul a:focus ,
    .btn-primary:not(:disabled):not(.disabled):active {
        background:transparent;
        border:none;
        box-shadow: none !important;
        color: #064acb;
    }
    .top_nav .tabs .card {
        border: none;
        box-shadow: none;
    }
    .top_nav .tabs .btn {
        background:transparent;
        border:none;
        box-shadow: none;
        padding: 0;
    }
    .top_nav .logo {
        text-align:center;
        padding:10px 0;
    }
    nav#slide-menu .logo
    {
        width:100%;
        margin:auto;
        box-shadow: 16px 16px 30px rgb(233, 243, 251);
        background:#fff;
        padding: 10px;
        text-align: center;
    }
    nav#slide-menu #logo
    {
    	margin-top:20px;
    }
    
    nav#slide-menu 
    {
    	position: fixed;
    	top: 0;
    	right: -267px;
    	bottom: 0;
    	width: 100%;
    	overflow: auto;
    	max-width: 267px;
    	height: 100%;
    	-moz-transition: all 300ms;
    	-webkit-transition: all 300ms;
    	transition: all 300ms;
    	z-index: 99999;
    	box-shadow: 1px 0px 8px rgba(0,0,0,0.4);
    	background: url(../images/sidearea.png);
    	background-size: 100%;
    }
    
    nav#slide-menu ul ,
    nav#slide-menu nav 
    {
        /*display: block;*/
        padding: 0;
        list-style: none;
        -moz-transition: all 300ms;
        -webkit-transition: all 300ms;
        transition: all 300ms;
        padding: 22px 8px 0 0;
    }
    
    nav#slide-menu ul li a
    {
         color: #064acb;
         cursor: pointer;
         font-size: 15px;
         padding: 2px;
    }
    nav#slide-menu ul li
    {
    	display:block;
    	/* padding-top: 13px; */
    }
    nav#slide-menu .dropdown-inner ul li 
    {
    	padding:10px 0;
    }
    nav#slide-menu .search
    {
        margin-top:15px;
    }
    nav#slide-menu .search input
    {
        background:transparent;
        box-shadow:none;
        padding: 20px 12px;
        border-right:0;
    }
    nav#slide-menu .search button
    {
        background:transparent;
        box-shadow:none;
        border:1px solid #ccc;
        border-left:0;
        border-right:0;
        padding: 3px 13px 2px;
    }
    nav#slide-menu .search button i:before
    {
        margin-left:0;
        color:#000;
        font-size: 25px;
    }
    .closebtn {
        position: absolute;
        background-color: #064acb;
        color: #efefef;
        width: 30px;
        height: 30px;
        line-height: 38px;
        text-align: center;
        font-size: 22px;
        font-weight: bold;
        cursor: pointer;
        top: 0px;
        left: 0px;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        -ms-transition: 0.3s;
        transition: 0.3s;
        padding: 0;
        z-index: 99999999999999999999;
    }
    .overlay
    {
        width: 100%;
        height:100%;
        top: 0;
        background:rgba(0,0,0,0.5);
        position: fixed;
        display: none;
        transition: all 0.5s ease-in-out;
    }
    
    body.menu-active .overlay
    {
        display:block;
        transition: all 0.5s ease-in-out;
        z-index: 999;
    }
    
    body.menu-active nav#slide-menu 
    {
        right: 0px;
    }
    
    body.menu-active nav#slide-menu ul 
    {
        right: 0px;
        opacity: 1;
    }
    body.menu-active nav#slide-menu ul.dropdown-menu
    {
        right: 0;
        position:  relative;
        text-align:  center;
    }
    .navbar-toggle
    {
    	background:transparent;
    	border:none;
    }    

    body.menu-active .menu-trigger:before {
        transform: rotate(45deg);
    }
    body.menu-active .menu-trigger:after 
    {
        transform: rotate(-45deg);
    }
    
    body.menu-active .menu-trigger {
        background-color: transparent;
        transition: all .25s;
    }
    body.menu-active div#content 
    {
        /* right: 284px; */
        border-radius: 0 7px 7px 0;
    }
    
    body.menu-active  .menu-trigger 
    {
        right: 10px;
    }
    
    nav#slide-menu .social-media
    {
        margin-top:20px;
        padding: 0;
        text-align: center;
    }
    nav#slide-menu .social-media li {
        display:inline-block;
    }
    nav#slide-menu .social-media li a
    {
        margin:0 3px;
    }
    nav#slide-menu .social-media li i:before
    {
        color:#fff;
        font-size:15px;
        margin-left: 0;
    }
    .menu-trigger {
        height: 50px;
        position: relative;
        width: 76px;
        text-align: center;
    }
    .navbar-toggler-icon ,
    .navbar-toggler-icon:after , 
    .navbar-toggler-icon:before
    {
        transition: all .25s;
        content: "";
        position: relative;
        right: 0;
        top: 0;
        height: 3px;
        width: 28px;
        border-radius: 15px;
        background: #ffffff; /* Old browsers */
    }
    .navbar-toggler-icon:after
    {
        position: absolute;
        top: 10px;
        right: 0;
        height: 3px;
        width: 28px;
    }
    
    .navbar-toggler-icon:before 
    {
        position:absolute;
        top: -10px;
        right: 0;
        height: 3px;
        width: 28px;
    }
    .contacts_top p {
        font-size: 1.5rem;
    }
    .contacts_top span {
        font-size: 1.5rem;
    }
    .icon_top svg {
        width: 2.5rem;
    }
    .header-info .flex:after {
        left: -1rem;
        height: 3rem;
        top: 1.2rem;
    }
    .top_nav .contacts_top {
        font-size: 0.8rem;
        padding-left: 0.25rem;
    }
    .search-btn {
        background:transparent;
        box-shadow:none;
        right: 0;
        position: relative;
        /* float:left; */
        margin: 0;
        /* top: 2px; */
        padding: 0;
        border: none;
    }
    .search-btn i:before {
        font-size: 21px;
    }
    #search {
        background: rgba(0,0,0,0.8);
    }
    #search .modal-content {
        background:transparent;
        color: #fff;
        border:none;
        height:100%;
        display: table-cell;
        vertical-align: middle;
    }
    #search .modal-header {
        border:0;
        /* position:relative; */
        padding: 5px 20px;
        margin-bottom: 30px;
    }
    #search .modal-header h5 {
        position:relative;
        padding: 5px 20px;
    }
    #search .modal-header h5:after {
        content:"";
        position:absolute;
        right:0;
        top:0;
        width:8px;
        height: 100%;
        background:#fff;
        border-radius: 5px;
    }
    #search .modal-header .close { 
        position:absolute;
        top:20px;
        left:0;
        opacity:1;
        color:#fff !important;
        text-shadow:none;
    }
    #search .modal-dialog {
        height:100%;
        display: table;
        /* width: 90%; */
        margin: auto;
    }
    #search .search .input-group {
        width: 100% !important;
        margin:auto;
    }
    /* End header */
    /* mainslider */
    .ls-bottom-slidebuttons {
        bottom: -23px !important;
    }
    .ls-bottom-slidebuttons a {
        width:5px !important;
        height:5px !important;
        margin:3px;
    }
    /*about */
    .about_text p {
        font-size:12px;
        text-align: justify;
    }
    .about_img  video {
        width:290px !important;
        height:194px !important
    }
    .about_img  {
        /* display: none; */
    }
    .rowaadnum .rowaadnum-slider .d-flex {
        flex-wrap: wrap;
    }
    .rowaadnum .rowaadnum-slider .d-flex > .d-flex {
        flex: 0 0 50%;
    }
    .rowaadnum .rowaadnum-slider .item svg {
        width: 35px;
    }
    .search .input-group {
        width: auto !important
    }
    .section_about {
        padding:20px 0;
    }
    .about_text h2 {
        padding:10px 0;
        font-size:20px;
    }
    .about_text .more {
        text-align:center;
    }
    .about_text .more a {
        padding: 6px 40px;
        font-size: 15px;
        margin-bottom:15px;
        color: #000;
    }
    .policy_img svg {
        width: 5rem
    }
    /* End about */
    .title .slash {
        right: 0;
    }
    .title h2 {
        font-size: 15px;
    }
    /* services */
    .services .item p {
        font-size:12px;
    }
    .services .item h3 {
        font-size:17px;
    }
    .services .item .btn {
        padding:8px 40px;
        font-size:12px;
        /* margin: 0; */
    }
    .services .swiper {
        min-height: auto;
    }
    .services .swiper-button-next, 
    .services .swiper-button-prev {
        display: none;
    }
    /* End services */
    /* media */
    .media .row {
        padding:0 15px;
    }
    .media ul.float-left {
        float:none !important;
        margin: 5px 0 !important;
    }
    .media .nav-pills .nav-item {
        margin:0 5px
    }
    .media .nav-pills .nav-item a {
        width: 76px;
        font-size: 11px;
        padding: 4px 0;
    }
    /* End media */
    /* updates */
    .updates .item ,
    .updates .item .image img{
        border-radius:15px;
    }
    .updates .item .caption span {
        float:none;
        display:block;
    }
    .updates .item .caption p {
        font-size:14px;
        line-height:20px;
        text-align:justify;
    }
    .updates .more a {
        right: 37px;
        padding: 5px 20px;
        font-size: 12px;
    }
    /* End updates */
    /* projects */
    .projects-slider .item > div {
        flex-direction: column;        
    }
    .projects-slider .item .al_circle ,
    .projects-slider .item .image ,
    .projects-slider .item .caption {
        width: fit-content;
    }
    .projects-slider .item .caption {
        padding: 0;
    }
    .projects-slider .item .al_circle svg {
        width: 6rem;
        height: 6rem;
    }
    .projects-slider .item .al_circle img {
        width: 40%;
    }
    .projects-slider .item .al_circle .line {
        display: none;
    }
    .projects-slider .swiper-wrapper {
        height: 48rem
    }
    .projects-slider .item p.date_pro {
        font-size: 30px;
    }
    .projects-slider .item .caption h3 {
        font-size:12px;
    }
    .projects-slider .item .caption p {
        font-size:12px;
    }
    .projects-slider .item {
        padding: 13px;
    }
    /* End projects */
    /* news */ 
    .post-slider .item .caption p {
        font-size:12px;
    }
    .post-slider .item .caption {
        padding:5px 10px
    }
    /* End news */
    /* newsletter */
    .newsletter {
        padding: 0;
    }
    .newsletter .text {
        padding: 0 0 1rem 0;
        margin: 0 0 3rem 0
    }
    /* End newsletter */
    /* partners */
    .partners- {
        padding:0
    }
    /* End partners */
    /* newletter */
    .newsletter .text h3 {
        font-size: 18px;
    }    
    .newsletter .text p {
        font-size: 12px;
    }
    .newsletter .email- {
        width:100%;
        height: 55px;
    }
    .newsletter .email- input[type=submit] {
        padding: 2rem;
    }
    .newsletter .email- input::placeholder {
        font-size:11px;
    }
    .newsletter i:before {
        font-size:35px;
        margin-left: 10px;
    }
    .newsletter .social_text {
        padding: 0;
    }
    .newsletter .col-12:last-of-type {
        display: flex;
        align-items: center;
        padding: 2rem;
        justify-content: center
    }
    /* End newletter */
    /* footer */
    footer {
        padding: 2rem
    }
    .col-md-3.col-6 {
        flex: 0 0 50% !important;
    }
    .col-md-3.col-6 {
            flex: 0 0 33% !important;
            /* width: 100%; */
    }
    footer a {
        line-height:25px;
        font-size:13px;
    }
    .footer-widget-title {
        margin:0;
        font-size:18px;
    }
    /* End footer */
    .copyright {
        padding:15px 0 !important
    }
    .copyright_flex
    {
        display: block;
        text-align: center;
    }
    .policy_content p {
        font-size:12px;
    }
    .pager div.img img {
        width: 53px;
        height: 53px;
    }
    .post-content p {
        font-size: 12px;
        line-height: 25px;
        text-align: justify;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
    .social-media{
        /* padding: 1rem 0 !important; */
        /* justify-content: center; */
    }
    .social-media li svg {
        width: 3rem;
    }
    .header{padding: 0px 0 !important;}
    .top_nav .col-sm-10 {
        padding:0;
    }
    .navbar-default ul li {
        display:inline-block;
    }
    
    .site-nav nav {
        padding:0 !important
    }
    .services .item  {
        margin: 10px 5px !important;
    }
    .services .item .btn {
        padding:10px 50px;
    }
    .services .item h3 {
        font-size:15px;
    }  display: block;
    
    .footer-widget-title {
        font-size:15px;
    }
    .policy_content p {
        font-size:10px;
    }
    footer a {
        font-size:12px;
    }
    .newsletter .text h3 {
        font-size:16px;
    }
    .newsletter .text p {
        font-size:10px; 
    }
    .newsletter .email- input::placeholder {
        font-size:12px;
    }
    .opinion-slider .owl-controls .owl-buttons div.owl-prev {
        left: -1% !important;
    }
    .opinion-slider .owl-controls .owl-buttons div.owl-next {
        right: -4% !important;
    }
    .opinion-slider .item .caption p {
        padding: 5px 40px;
    }
    .projects-slider .owl-buttons {
        display:none;
    }
    .updates .item h4 {
        margin-bottom:8px !important
    }
    .pager div.icon h5, .pager div.icon span {
        font-size: 8px;
    }
    .pager div.icon {
            padding: 10px 7px 10px 6px;
    background: #fff;
    border-radius: 25px;
    }
    .posts .item .img {
        text-align:center;
    }
    #comments .wpbs-textarea p:before {
    top: 0px;
}
#comments textarea {
    padding: 10px 40px;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    .icon_top {
        margin:0 0 0 8px
    }
    .opinion-slider .owl-buttons .owl-prev {
        left: 1% !important;
    }
    .opinion-slider .owl-buttons .owl-next {
        right:-2% !important
    }
    .navbar-default {
        display:inline-block;
        padding: 0;
    }
  
}
@media (max-width:767px) {
    .page-contact .wpcf7-submit {
	width: 60% !important;
}
    .pager div.next-post:hover{
    margin-left: 20px;}
   .pager div.prev-post:hover 
    {margin-right:20px;}
    .pager div.next-post,.pager div.prev-post
     {padding:0;}
    .posts .type_posts {
    font-size: 1rem;
    }
    .page-contact .contacts_us .contact {
    padding: 0px;
    }
    .contact_form {
        padding: 2rem;
    }
    .contact_form .gfield {
        width: 100% !important;
        margin: 2rem 0;
    }
    .contact_heading p{padding:10px;font-size:14px;line-height:1.7}
    .icon_top i:before{font-size: 30px !important;}
    .width_input .input-group{width:100% !important;}
    .page-title{font-size:20px;}
    .page_archive{font-size:14px;}
    .widget_media_image {
    padding-top: 0;
    }
    .search .input-group{margin-right:0;}
    .newsletter .es_subscription_message {
    position: relative;
    color: #0542b5;
    background: #fff;
    font-size: 14px;
    z-index: 999;
    top: 0;
    right: 0;
}
    }
    @media (min-width:768px) and (max-width:991px) {
    .search .btn {
        padding:0 !important;
    }
    .header .navbar-nav{
            flex-direction:row;
        }
        .navbar-default .navbar-nav > li > a.dropdown-toggle:before{
            display:none;
        }
        .search .input-group{
            width:100% !important;
        }
        .projects-slider .item > div{
            display:block !important;
        }
        .projects-slider .item .caption{
            width:100%;
        }
        .newsletter{
            padding:2rem 0;
        }
        footer{
            padding:0
        }
    .search .btn {
        padding:0 !important;
    }
    .navbar-default .navbar-nav > li > a {
        font-size: 11px;
        padding: 0 12px;
    }
   .header .search .input-group i:before {
        top: 9px;
        font-size: 16px;
        left: 7px;
    }
    .search .btn{margin-right:0}
    .header .search .btn{padding:0 !important;}
    .header .search .input-group {
        width: 147px !important;
        height: 40px
    }
    .search input::placehlolder {
        font-size:.9rem;
    }
  
}

@media (min-width:992px) and (max-width:1199px) {
    .navbar-default .navbar-nav > li > a {
        font-size: 14px;
        padding: 0 11px;
    }
    .special_fluid .col-xs-7  {
        display: flex !important;
    }
    #site-menu li a {
        padding: 0.3rem;
        font-size: 1rem;
    }
    .contacts_top p ,
    .contacts_top span {
        font-size: 0.8rem
    }
    .page-contact  .contacts_us .col-sm-4 {
        flex: 0 0 32.333333% !important;
    }
    .page-contact .contacts_us .contact{margin: 0 0;}
    .posts .type_posts{
        /* left: 10px; */
        padding: 0 15px;
        font-size: 12px;
    }
    .services,.projects  {
        padding:0 !important;
    }
    .header .search .input-group i:before {
        top: 9px;
        font-size: 16px;
        left: 7px;
    }
    .search .btn {
        margin-right:0;
    }
    .header .search .btn {
        padding:0 !important;
    }
    .header .search .input-group {
        width: 147px !important;
        height: 40px
    }
    .search input::placehlolder {
        font-size:.9rem;
    }
}


@media(max-width: 768px ) and (min-width: 500px) {
     .header .navbar-nav{
            flex-direction:row;
        }
            .caret {
                left: 7px;
                top: 11%;
            }
        .navbar-default .navbar-nav > li > a.dropdown-toggle:before{
            display:none;
        }
         .navbar-default .navbar-nav > li > a{
        padding: 1rem 2px;
        font-size: 10px;
    }
    .infoHeader div{
        justify-content: center;
    }
}

    .about_text .more a {
        color: #000;
}