@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,300;1,400;1,700&family=Roboto+Slab:wght@400;500;600&display=swap');
.sliderhere #servspage.item-page #moreposl {
    display: block;
    text-align: center;
    font-size: 16px;
    line-height: 36px;
    text-transform: none;
    padding: 0;
    margin: 0 0 30px 0;
    font-weight: 400;
    color: #000;
    width: 195px;
    height: 40px;
    background: #CE9E5E;
    border: 2px solid #CE9E5E;
    box-sizing: border-box;
    border-radius: 52px;
}
.itemid-107 .item-page b, .itemid-107 .item-page strong,
.itemid-105 .item-page b, .itemid-105 .item-page strong {
    font-weight: bolder;
    padding: 44px 0 0 0;
    display: block;
    font-size: 24px;
}
.itemid-107 .topservrow, .itemid-105 .topservrow {
    min-height: auto;
    position: relative;
}
.itemid-107 #servspage #articleBody, .itemid-105 #servspage #articleBody {
    background: url(../img/lawmedbg.png) no-repeat right top;
    background-size: auto;
}
.sliderhere #servspage.item-page #moreposl:hover  {
    background: #B38140;
    border: 2px solid #CE9E5E;
    color: #000;
}
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
html {
	height:100%;
}
body {
    /*background: #1F1D1B;	*/
   /* font-family: 'Roboto Slab', serif;*/
    font-family: 'Merriweather', serif;
    /*font-family: 'Roboto Slab', serif;*/
    font-weight: 400;
    font-size: 16px;
    color: #000;
	margin: 0;
	height: 100%;
	line-height: 1.26; 
}
* {
    outline: 0 none;
  /*  transition: all 0.5s ease 0s;*/
}

a {
    color: #B28140;
	text-decoration:none;
	outline: 0 none !important;
}
a:focus,a:hover{
    color: #B2814090;
	text-decoration:underline
}
img {
    max-width: 100%;
}
.h1,h1{font-size: 40px;
    font-weight: bold;}
.h2,h2{font-size:24px}
.h3,h3{font-size:24px}
.h4,h4{font-size:23px}
.h5,h5{font-size:18px}
.h6,h6{font-size:16px}
p{margin:0 0 12.5px} 

.no-gut {
	margin: 0;
}
.no-gut > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}
.seven-gut {
	margin: 0 -7px;
}
.seven-gut > [class*='col-'] {
    padding-right:7px;
    padding-left:7px;
    display: flex;
    align-items: center;
}
.trtwu-gut {
	margin: 0 -32px;
}
.trtwu-gut > [class*='col-'] {
    padding-right:32px;
    padding-left:32px;
}
#cookie-box {
    display: none;
    padding: 15px 0;
    background-color: rgba(0,0,0,.75);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 5;    
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    font-weight: 300;
}
#cookie-box p a {
    color: #fff;
    text-decoration: underline;
}
#cookie-box p {
    margin: 0;
}
.btn {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
    padding: 7px 8px;
    font-size: 16px;
    text-transform: none;
    line-height: 1.26;
    border-radius: 50px;
    box-shadow: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn:focus {
    box-shadow: none;   
}

.btn-box .btn-ok {
    margin: 0 15px 0 0;
}
.ac-slide {
    height: 668px;
    color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
    min-height: 668px;
    padding-top: 250px;
    padding-bottom: 50px;
}
.ac-slide h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 34px;
    line-height: 1.26;
    margin: 30px 0 20px 0;
    text-transform: uppercase;
    font-weight: 500;
    color: #CE9E5E;
    max-width: 480px;
}
#slider {
    background-color: #000;
    position: relative;
    z-index: 0;
}
.carousel-indicators .active {
    background-color: #CE9E5E;
}
.carousel-indicators .active::after {
    position: absolute;
    display: block;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    box-sizing: border-box;
    border: 2px solid #000;
    border-radius: 20px;
    content: '';
}
/* .carousel-indicators .active::after {
    position: absolute;
    display: block;
    width: 16px;
    height: 16px;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border: 2px solid #000;
    border-radius: 20px;
    content: '';
} */
.carousel-indicators li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 20px;
    height: 20px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    border-radius: 20px;
    background-color: transparent;
    border: 1px solid #CE9E5E;
}
.btn-more {
    font-size: 16px;
    line-height: 1.2;
    padding: 10px 46px;
    font-weight: 400;
    color: #000;
    background: #CE9E5E;
    border: 2px solid #CE9E5E;
    text-transform: none;
    border-radius: 52px;    
}
.btn-more:hover,.btn-more:focus, .btn-more:active, .btn.submbtn:hover, .btn.submbtn:active, .btn.submbtn:focus {
    background: #B38140;
    border: 2px solid #CE9E5E;
    color: #000;

}
.btn.submbtn {
    margin: 0 auto;
    font-size: 16px;
    display: block;
    cursor: pointer;
    line-height: 1.2;
    color: #000;    
    width: 195px;
    height: 40px;
    background: #CE9E5E;
    border: 2px solid #CE9E5E;
    box-sizing: border-box;
    border-radius: 52px;
}
.sliderhere .askaqwest {
    font-size: 16px;
    line-height: 36px;
    text-transform: none;
    padding: 0;
    font-weight: 400;
    color: #fff;
    width: 195px;
    height: 40px;
    background: #1F1D1B;
    border: 2px solid #CE9E5E;
    box-sizing: border-box;
    border-radius: 52px;  
}
.sliderhere .askaqwest:hover, .sliderhere .askaqwest:focus, .sliderhere .askaqwest:active,.askaqwest:link {
    background: #373533;
    border: 2px solid #B38140; 
    color: #fff;
}
.askaqwest {
    font-size: 16px;
    line-height: 36px;
    text-transform: none;
    padding: 0;
    font-weight: 400;
    color: #000;
    width: 195px;
    height: 40px;
    background: #CE9E5E;
    border: 2px solid #CE9E5E;
    box-sizing: border-box;
    border-radius: 52px;  
}
.askaqwest:hover, .askaqwest:focus,.askaqwest:active,.askaqwest:link {
    background: #B38140;
    border: 2px solid #CE9E5E;
    color: #000;
}
.sliderhere #header {
    padding: 24px 0 10px 0px;
    z-index: 99;
    position: fixed;
    top: 0;
    background: rgba(0,0,0,.7);
    left: 0;
    right: 0;
}
#tophead {
    font-family: 'Roboto Slab', serif;
    color: #fff;
    font-weight: 500;
    top: 240px;
    text-transform: uppercase;
    opacity: 1;
    font-size: 21px;
    position: absolute;
    z-index: 9;
}
#header {
    padding: 24px 0 10px 0;
}
.navbar-nav .nav-link {
    padding: 15px 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    color: #000;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}
.navbar-nav .active .nav-link, .navbar-nav .nav-link:hover, 
.sliderhere .navbar-nav .active .nav-link, .sliderhere .navbar-nav .nav-link:hover {
    color: #CE9E5E;
}
.sliderhere .navbar-nav .nav-link{
    color: #fff;
}
.navbar {
    padding: 0;
}
.flexcolmid {
    display: flex;
    align-items: center;
    justify-content: center;   

}
.flexcolmid.p-0 {
    max-width: 100%;
}
@media (min-width: 992px) {
    .navbar-collapse2 {
        justify-content: center;
    }
}
.logobox p {
    margin: 0;
    width: 197px;
}
.search-btn {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.langs {
    width: 65px;
}
.langs ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.langs li {
    position: relative;
    margin: 0;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0;
}
div.mod-languages li {
    margin: 0;   
}
.langs li:first-child:after {
    content: '';
    position: absolute;
    top: 4px;
    right: 0px;
    bottom: 4px;
    width: 1px;
    background-color: #aaa4a4;
}
.langs li.lang-active a, .sliderhere .langs li.lang-active a, .sliderhere .langs li.lang-active a:hover  {
    font-weight: 500;
    color: #CE9E5E;
}
.langs li a, .langs li a:hover {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #000;
    text-decoration: none;
}
.sliderhere .langs li a, .sliderhere .langs li a:hover {
    color: #fff;  
}
.page-header {
    font-family: 'Roboto Slab', serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 126%;
    margin: 0;
    color: #B38140;
}
.page-header h1, .page-header h1 {
    font-family: 'Roboto Slab', serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 126%;
    margin: 0 0 40px 0;
    color: #B38140;
}
.item-page .page-header h1 {
    margin: 0 0 40px 0;
}
.blog .page-header h1 {
    margin: 40px 0 40px 0;
}
.article-info {
    margin: 10px 0;
    display: flex;
    font-size: 12px; 
    width: 380px;
}
.mt-20 {
    margin-top: 10px;
}
.blodhead {
    font-family: 'Roboto Slab', serif;
    color: #B28140;
    font-weight: 500;
    font-size: 40px;
    text-align: right;
    margin: 0 0 20px 0;
}
.article-info .category-name {
    margin: 0 5px 0 0;
    border-right: 1px solid #333;
    padding: 0 6px 0 0;
}
#services {
    position: relative;
    padding-top: 46px;
    padding-bottom: 15px;
    background-color: #2D2B29;
    overflow: hidden;
}
#services .container {
    padding: 0 32px;
}
#services .page-header {
    background:url(../img/8.svg) no-repeat scroll;
    background-position: calc(50% + 170px) 0;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    margin: 0 0 34px 0;
    padding: 27px 0 32px 0;
}
#services .page-header::after {
    content: '10';
    display: none;
    color: #CE9E5E;
    opacity: .08;
    position: absolute;
    top: 0;
    height: 119px;
    left: 50%;
    line-height: 55px;
    font-size: 220px;
}
#services .mod_articles_carousel {
    padding: 25px 0;
}
.servwrap .block_item a, .servwrap .block_item a:hover {
    text-decoration: none;
    color: #171717;
}
#services .carousel-inner {
    position: relative;
    width: 100%;
    overflow: visible;
}
.servwrap {
    padding-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.servwrap .block_item  h3 {
    margin: 0;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 2px;
    font-family: 'Roboto Slab', serif;
}
.blog .servwrap .block_item h3 {
    color: #2D2B29;
}
.servwrap .block_wrap {
    max-width: 360px;
}
.servwrap img {
    display: block;
    margin-left: auto;
}
.servwrap .block_item .moreserv, .servwrap .block_item .moreserv:hover {
    display: block;
    margin: 12px 0 0 0;
    color: #CE9E5E;
    font-size: 14px;
}
.servwrap .block_item .moreserv span {
    margin: 0 15px 0 0;
}
.wholeserv {
    font-size: 14px;
    text-decoration: none;
}
.wholeserv:hover {
    text-decoration: none;
    color: #B28140;
}
.wholeserv span {
    margin: 0 15px 0 0;
}
#aboutbox {
    padding-top: 60px;
    padding-bottom: 40px;
    background-color: #fff;
    overflow: hidden;
}
#aboutbox img {
    margin: 90px auto 0 auto;
    display: block;
}
#aboutbox .page-header {
    margin-bottom: 24px;
    text-transform: none;
}
.about_text {
    min-width: 505px;
}
.about-item .col-md:nth-child(2) {
    /* display: flex;
    align-items: flex-end; */
}
#aboutbox  p {
    margin-top: 0;
    line-height: 1.48;
    margin-bottom: 12px;
}
.invis {
    display: none;
}
#blogbox {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}
#blogbox .page-header {
    display: inline-block;
    margin: 0 48px 40px 0;
}
.blog_item {
    margin: 0 auto 30px auto;
}
.blog_img {
    margin-bottom: 24px;
}
.blog_item a, .blog_item a:hover{
    color: #252525;
    text-decoration: none;
}
.blog_item h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    font-size: 24px;
    margin-bottom: 15px;
    color: #B38140;
}
.blog_text {
    margin: 0;
    line-height: 1.48;
}
#blogbox .arrowbox {
    position: absolute;
    top: -71px;
    height: 32px;
    right: 0;
    width: 100px;
}
#blogbox .carousel-control-prev {
    width: 32px;
    height: 32px;
}
#blogbox .carousel-control-next {
    width: 32px;
    height: 32px;   
}
#projects .arrowbox {
    position: absolute;
    top: -71px;
    height: 32px;
    right: 0;
    width: 100px;
}
#projects .carousel-control-prev {
    width: 32px;
    height: 32px;
}
#projects .carousel-control-next {
    width: 32px;
    height: 32px;   
}
#projects {
    background: #1F1D1B;
    padding-top: 50px;
    padding-bottom: 30px;
    min-height: 410px;
    overflow: hidden;
}
#projects .page-header {
    text-align: left;
    margin: 0 0 40px 0;
    display: inline-block;
}
.topclirow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.arnav {
    cursor: pointer;
    user-select: none;
}
.navarrows {
    display: inline-flex;
    width: 170px;
    justify-content: space-between;
}
.projitem h3 {
    font-family: 'Roboto Slab', serif;
    color: #CE9E5E;
    font-weight: 500;
    font-size: 24px;
    margin: 24px 0 15px 0;
}
.projitem {
    text-align: center;
    color: #fff;
    font-size: 16px;
}
.projitem p:last-child {
    color: #fff;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 20px;
}
#projects .container {
    position: relative;
}
.projitem {
    max-width: 388px;
    margin: 0 auto;
}
.projitem .pro_text { 
    display: none;
}
#revmoditem h3 {
    margin: 0 40px 30px 0;
}
.projitem .moreserv, .projitem .moreserv:hover {
    display: block;
    cursor: pointer;
    margin: 12px 0;
    color: #CE9E5E;
    font-size: 14px;
}
.projitem .moreserv span {
    margin: 0 15px 0 0;
}
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 10px 0 30px 0;
}
#clients .slick-prev {
    position: absolute;
    border: 0 none;
    background: none;
    cursor: pointer;
    text-indent: -9000em;
    width: 30px;
    height: 30px;
    top: 40%;
    left: -40px;
    outline: 0 none ;
}
#clients .slick-prev::after {
    content: '';
    position: absolute;
    padding: 10px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(-135deg);
    top: 0;
    left: 0;
    outline: 0 none;
}
#clients .slick-next {
    position: absolute;
    border: 0 none;
    background: none;
    cursor: pointer;
    text-indent: -9000em;
    width: 30px;
    height: 30px;
    top: 40%;
    outline: 0 none ;
    right: -40px;
    z-index: 999;
}
#clients .slick-next::after {
    content: '';
    position: absolute;
    padding: 10px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
    top: 0;
    left: 0;
    outline: 0 none;
}
#clients {
    background-color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}
#clients img {
        max-height: 135px;
        -webkit-filter: grayscale(1);
        filter: grayscale(1);
        -webkit-transition: -webkit-filter .25s;
        transition: -webkit-filter .25s;
        -o-transition: filter .25s;
        transition: filter .25s;
        transition: filter .25s,-webkit-filter .25s;
}
#clients  img:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}
#footer {
    background-color: #2D2B29;
    color:#fff;
    font-size: 14px;
    line-height: 20px;
}
#footer a:hover {
    color: #B38140;
    text-decoration: none;
}
#footer a {
    text-decoration: none;
    color: #fff;
    text-align: left;
    margin: 0;
    padding: 0;
}
#footer .nav-link {
    font-size: 16px;
    margin: 5px 0;
}
#footer .active .nav-link, #footer .nav-link:hover {
    color: #B38140;
    text-decoration: none;
}
#footer a:hover {
    color: #B38140;
}
#footer #botmats a {
    margin-bottom: 20px;
    display: block;
    font-size: 16px;
}
footer .logobox p {
    margin: 0 0 15px 0;
    width: auto;
}
.frow {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(253,253,253,.42);
    margin-bottom: 10px;
}
#footer .page-header {
    font-weight: 700;
    color: #B38140;
    margin-top: 0;
    margin-bottom: 40px;
    font-size: 20px;
    text-transform: none;
}
#footright {
    text-align: right;
}
.maxwidth850 {
    max-width: 850px;
    margin: 0 auto;
}
.view-article.itemid-111 #articleBody,
.view-article.itemid-112 #articleBody {
    margin: 30px auto;  
    width: 710px;
}
div#widthminimer {
    max-width: 1142px;
    margin: 0 auto;
}
.fg4 {
    flex-grow: 4;
}
.flexcolmid {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#articleBody .infoblogconts p {
    margin: 0;
}
.infoblogconts p:last-child {
    font-size: 14px;
}
.infoblogconts {
    padding: 1px 0 5px 30px;
    border-left: 1px solid #B28140;
}
.blogpagebox {
	margin: 50px -32px 0 -32px;
}
.blogpagebox > [class*='col-'] {
    padding-right:32px;
    padding-left:32px;
}
.blogright .page-header {
    color: #474544;
    margin: 0 0 30px 0;
    font-size: 20px;
}
.category-module {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mod-articles-category-title span {
    font-family: 'Roboto Slab', serif;
    display: block;
    font-weight: 500;
    color: #B28140;
    font-size: 24px;
    margin: 24px 0;
}
#articleBody h2, #articleBody h3 {
    font-size: 20px;
    font-weight: 500;
}
#articleBody p {
    margin: 0 0 30px;
    line-height: 150%;
}
#articleBody dl, #articleBody ol, #articleBody ul {
    margin-top: 0;
    margin-bottom: 30px;
    padding: 0 0 0 20px;
}
#articleBody ol li, #articleBody ul li{
    margin: 0 0 15px 0;
}
#articleBody ol li::marker, #articleBody ul li::marker {
    color: #B28140;
}
.sliderhere #main {
    padding: 0;
    overflow: hidden;
}
#main {
    padding: 0 0 30px 0;
}
.pagination-list a {
    padding: 5px;
    display: block;
}
.pagenav {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content:flex-start;
}
.pager.pagenav a{
    display: inline-block !important;
}
.pagenav a {
    display: inline-block;
    width: auto;
    height: 30px;
    padding: 0 15px;
    margin: 15px 0;
    border-radius: 52px;
    font-size: 16px;
    text-align: center;
    line-height: 28px;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.pagenav a:hover {
    text-decoration: none;
}
.actions span, .actions a {
    margin: 0 15px 15px 0;
}

.item-page .item-image img {
    margin: 0 auto;
    display: block;
}
.form-sbox{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 176px;
    display: flex;
    height: 100%;
    padding: 0;
}
.close {
    font-size: 2rem;
    font-weight: 700;
    position: absolute;
    right: 14px;
    top: 15px;
    color: #fff;
    text-shadow: none;
    opacity: 1;
    width: 45px;
    height: 45px;
    outline: 0 none;
}
.close:hover {
    color: #fff;
}

.close:focus {
    outline: 0 none;  
}
.close:not(:disabled):not(.disabled):focus, .close:not(:disabled):not(.disabled):hover {
    color: #fff;
    text-decoration: none;
    opacity: 1;
}
.modalbox .close:not(:disabled):not(.disabled):focus, .modalbox .close:not(:disabled):not(.disabled):hover {
    color: #000;
    text-decoration: none;
    opacity: 1;
}
#popupbox-search .modal-content {
    border: 0 none;
    background-color: transparent;
}
#searchword, #searchword:focus, #searchword:active {
    width: calc(100% - 20px);
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 2px 1px;
    border-bottom: 1px solid #fff;
    font-size: 12px;
    cursor: default;
    line-height: 16px;
    border-radius: 0;
    position: relative;
    outline: none;
}
#searchword::placeholder {
    color: #fff;
}
.noslider #searchword::placeholder {
    color: #000;
}
.noslider #searchword, .noslider #searchword:focus, .noslider #searchword:active {
    color: #000;
    border-bottom: 1px solid #000;
}
.noslider .sbtn circle, .noslider .sbtn line, .noslider .search-btn circle, .noslider .search-btn line{
    stroke: #000;
}
.noslider #header.active #searchword::placeholder {
    color: #fff;
}
.noslider #header.active #searchword, .noslider #header.active #searchword:focus, .noslider #header.active #searchword:active {
    color: #fff;
    border-bottom: 1px solid #fff;
}
.noslider #header.active .sbtn circle, .noslider #header.active .sbtn line, .noslider #header.active .search-btn circle, .noslider #header.active .search-btn line{
    stroke: #fff;
}
button:focus {
    outline: 0 none;
}
#origword {
    font-size: 24px;
    font-weight: bold;
    margin: 0 15px 0 0 ;
}
.result-text {
    margin-bottom: 30px;
}
.result-title {
    margin-bottom: 10px;
}
.search-header {
    margin: 30px 0;
}
.sbtn {
    width: 20px;
    height: 20px;
    margin: 1px 0 0 0;
    padding: 0;
    color: #fff;
    line-height: 0;
    border: none;
    background: none;
    border-radius: 0;
    cursor: pointer;
}
#popupbox-book .modalbox {
    text-align: center;
}
.modal-subtitle {
    font-size: 20px;
    margin: 25px 0 15px 0;
}
.modal-link:hover {
    color: #e2a048;
    text-decoration: none;
}
.modal-link {
    font-size: 20px;
}
.modal-dialog {
    margin: 180px auto;
}
#popupbox {
    background: rgba(0,0,0,.7);
}
.modalbox {
    padding: 40px;
}
.modalbox .close, .modalbox .close:hover {
    color: #000;
}
.modal-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}
.inputbox {
    border: 1px solid transparent;
    border-bottom: 1px solid #000;
    padding: 7px 0;
    width: 100%;
    font-size: 16px;
    margin-bottom: 15px;
}
.inputbox::placeholder {
    color: #C8C8C8;
}
.inputbox:focus {

}
label.error {
    display: none !important;
}
.thank {
    text-align: center;
    margin: 30px;
}
.socicons {
    justify-content: flex-start;
    display: flex;
}
@media (min-width: 769px) {
.sliderhere .socicons {
    position: fixed;
    z-index: 555;
    top: calc(50% - 80px);
    right: 15px;
    display: block;
}
.sliderhere #footer .socicons a {
    border: 0 none !important;
}
}
#footer .socicons a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    width: 38px;
    height: 38px;
    margin: 0 15px 15px 0;
    border: 1px solid #afaea9;
}
#footer .socicons a svg {
    fill: #afaea9;
}
#footer .socicons a:hover svg {
    fill: #CE9E5E;
}
#footer .socicons a:hover {
    border: 1px solid #CE9E5E;
}
#clients .block_item {
    max-width: 198px;
    margin: 0 auto;
}
.modal-content {
    border-radius: 0;
}
.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: -webkit-transform .4s;
    transition: -webkit-transform .4s;
    -o-transition: transform .4s;
    transition: transform .4s;
    transition: transform .4s,-webkit-transform .4s;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.ham1 .top {
    stroke-dasharray: 40 139;
}
.line {
    fill: none;
    -webkit-transition: stroke-dasharray .4s,stroke-dashoffset .4s;
    -o-transition: stroke-dasharray .4s,stroke-dashoffset .4s;
    transition: stroke-dasharray .4s,stroke-dashoffset .4s;
    stroke: #fff;
    stroke-width: 5.5;
    stroke-linecap: round;
}
.ham1 .bottom {
    stroke-dasharray: 40 180;
}
.hamRotate.active {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.ham .line {
    stroke: #CE9E5E;
}
.sliderhere .ham .line {
    stroke: #CE9E5E;
}
.ham1.active .top {
    stroke-dashoffset: -98px;
}
.ham1 .top {
    stroke-dasharray: 40 139;
}
.ham1.active .bottom {
    stroke-dashoffset: -138px;
}
.ham1 .bottom {
    stroke-dasharray: 40 180;
}
#header.active {

} 
#header.active .tofix {
    margin: 0;
    padding: 76px 0 0 0;
    display: block;
    position: absolute;
    background-color: rgba(45,43,41,1);
    top: 0;
    right: 0;
    height: 1200px;
    z-index: 999;
    width: 320px;
}
#header.active .tofix::after {
    content: '';
    background-color: rgba(45,43,41,1);
    z-index: -1; 
    position: fixed;
    width: 320px;
    height: 100vh;
    top: 0;
    right: 0;
}
#header.active .tofix .col {
    display: block;
    width: 100%;
    padding: 0 25px;
}
#header.active .tofix .nav-justified .nav-item {
    display: block;
    width: 100%;
    text-align: left;
}
#header.active .navbar-nav .nav-link {
    padding: 0 5px !important;
    font-size: 36px;
    font-weight: 400;
    line-height: 72px;
}
.noslider #header.active .navbar-nav .nav-link {
    color: #fff;
}
.noslider #header.active .langs li a, .noslider #header.active .langs li a:hover {
    color: #fff;
}
#header.active .langs {
    width: 100%;
    margin: 20px 0;
}
#header.active .langs li a, #header.active .langs li a:hover {
    font-size: 24px;
}
#header.active .search-btn {
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin: 40px 0 20px 0;
}
#header.active .search-btn svg{
    width: 40px;
    height: 40px;
}
#header.active .langs li:first-child:after {
    top: 0px;
}
#header.active .tofix .togbox {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    width: 50px;
}
#header.active .tohidesm, #header.active .navbar-nav {
    display: block;
}
#header.active #topform {
    top: 0;
    background: rgba(0,0,0,.7);
    left: 0;
}
#header.active .askaqwest {
    display: none;
} 
.fivecar img {
    display: block;
}
.tofix {
    margin: 0;
    flex-grow: 2;
}
.whitebtn {
    width: 195px;
    height: 40px;
    margin: 15px auto;
    background: #FFFFFF;
    border: 2px solid #CE9E5E;
    box-sizing: border-box;
    border-radius: 52px;
    cursor: pointer;
    color: #000000;
    text-align: center;
    line-height: 36px;
}
.openbtn {
    display: none;
}
.opentext.about_text, .opentext.abouttotext {
    height: auto;
}
.opentext.about_text::after, .opentext.abouttotext::after {
    display: none;
}
/*
.row {
    margin-right: -20px;
    margin-left: -20px;
}
.container {
    padding-right: 20px;
    padding-left: 20px;
}*/
.projitem {
    padding: 0;
    max-width: 368px;  
}  
.togbox {
    padding-left: 0;
}
.scarousel {
    margin: 0 -34px;
}
.sslide.slick-slide {
    margin: 0 34px;
}
body.muted:after {
    content: '';
    background: rgba(0,0,0, .7);
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 98;
}
.closeserch {
    display: none;

}
.servhead {
    font-family: 'Roboto Slab', serif;
    font-size: 34px;
    line-height: 1.26;
    margin: 30px 0 28px 0;
    text-transform: none;
    font-weight: 500;
    color: #CE9E5E;
}
.servpodhead {
    font-size: 16px;
    margin: 0 0 30px 0;
}
#servspage ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;   
}
#servspage ul li {
    background:url(../img/lawlimark.svg) no-repeat scroll 30% 0;  
    display: block;
    max-width: 403px;
    padding: 130px 60px 0 0;
    margin: 0 0 120px 0;
    flex-grow: 1;
    width: 33%;
}
#servspage #articleBody {
    margin: 138px 0 0 0;
}
#servspage p {
    padding: 39px 0 0 0;
    margin: 0 0 120px 0;
    position: relative;
}
#servspage #articleBody > div {
    margin-bottom: 120px;  
}
#servspage p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 420px;
    height: 3px;
    background-color: #B38140;
}
/*
#servspage #articleBody > p:nth-child(1) {
    max-width: 650px;
    margin: 0 0 120px 130px;
}*/
#servspage #articleBody > p {
    max-width: 650px;
    margin: 0 0 120px 130px;
}
#servspage p img {
    max-width: 100%;
    height: auto !important;
}
#servspage #articleBody {
    background:url(../img/lawmedbg.png) no-repeat scroll right top;  
    background-size: contain;
}
.flexmid {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sliderhere #servspage.item-page a {
    color: #fff;
    font-size: 16px;
}
#servspage .article-info {
    color: #fff;
    margin: 0;
    padding: 10px 0 38px;
    display: flex;
    font-size: 12px;
    width: auto;
}
.sliderhere #servspage .article-info a {
    color: #B38140;
    font-size: 12px;
}
#servspage .article-info .category-name {
    margin: 0 5px 0 0;
    border-right: 1px solid #fff;
    padding: 0 6px 0 0;
}
.servs.actions {
    color: #fff;
    max-width: 640px;
    margin: 0 0 120px 0;
}
.servs.actions .infoblogconts {
    padding: 10px 0 5px 30px;
    border-left: 1px solid #B28140;
}
.sliderhere .servs.actions .askaqwest {
    display: block;
    font-size: 16px;
    line-height: 36px;
    text-transform: none;
    padding: 0;
    font-weight: 400;
    color: #000;
    width: 195px;
    height: 40px;
    background: #CE9E5E;
    border: 2px solid #CE9E5E;
    box-sizing: border-box;
    border-radius: 52px;
}
.itemid-109.sliderhere .blog, .itemid-110.sliderhere .blog {
    padding: 120px 0;
}
.itemid-109.sliderhere .blog .servwrap .block_item h3, .itemid-110.sliderhere .blog .servwrap .block_item h3 {
    color: #fff;
}

.topservrow {
   min-height: 580px;
   position: relative;
}
.topservrow::before {
   position: absolute;
   content: '';
   top: -130px;
   left: -1000px;
   right: -1000px;
   bottom: 0;
   background-color: #000;
   z-index: -1;
}
.itemid-109.sliderhere, .itemid-110.sliderhere, .itemid-107.sliderhere, .itemid-105.sliderhere   {
    background-color: #1F1D1B;
}
.itemid-109.sliderhere .item-page, .itemid-110.sliderhere .item-page, .itemid-107.sliderhere .item-page, .itemid-105.sliderhere .item-page  {
    padding: 90px 0 0 0;
}
.itemid-114.sliderhere, .itemid-115.sliderhere  {
    background-color: #000;
}
.itemid-114.sliderhere .item-page, .itemid-115.sliderhere .item-page  {
    background:url(../img/contbg.jpg) no-repeat scroll bottom right;
    padding: 130px 0 150px 0;
}
.itemid-114.sliderhere .item-page .page-header h1 , .itemid-115.sliderhere .item-page .page-header h1  {
 margin: 0 0 75px 0;
}
.sliderhere .item-page {
    color: #fff;
}
.sliderhere .item-page a {
    color: #fff;
    font-size: 22px;
}
.itemid-114.sliderhere .item-page p a, .itemid-115.sliderhere .item-page p a {
   /* padding: 10px 0 10px 67px;*/
    padding: 10px 0 10px 67px;
    display: block;
    text-decoration: none !important;
}
/*
.itemid-114.sliderhere .item-page p:nth-child(2) a, .itemid-115.sliderhere .item-page p:nth-child(2) a {
    background:url(../img/tele-ic.svg) no-repeat scroll;
}
.itemid-114.sliderhere .item-page p:nth-child(3) a, .itemid-115.sliderhere .item-page p:nth-child(3) a {
    background:url(../img/vib-ic.svg) no-repeat scroll;
}
.itemid-114.sliderhere .item-page p:nth-child(4) a, .itemid-115.sliderhere .item-page p:nth-child(4) a {
    background:url(../img/whats-ic.svg) no-repeat scroll;
}*/
ul.pagination-list.pagination {
    display: flex;
    font-size: 18px;
    list-style: none;
    padding: 0;
}
#blogimagebox {
    position: relative;
}
#blogimagebox img {
    width: 100%;
}
#blogimagebox.noimga .blogpage-header {
    position: relative;
    background: none;
}
#blogimagebox.noimga .blogpage-header h1 {
    color: #B28140;
}
.blogpage-header {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    align-items: flex-end;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30.73%, rgba(0, 0, 0, 0.7) 68.75%);
    display: flex;
}
.blogpage-header h1 {
    font-family: 'Roboto Slab', serif;
    text-align: center;
    margin: 60px auto;
    max-width: 900px;
    font-size: 40px;
    font-weight: 500;
    color: #fff;
}
.dropdown {
    color: #898989;
    font-size: 12px;
    width: 110px;
    line-height: 22px;
    height: 22px;
    position: relative;
    margin: 8px 0px;
    cursor: pointer;
}
.dropdown svg {
    line-height: 22px;
    margin: 0 7px 0 0;
    display: inline-block;
    vertical-align: top;
}
ul.drop-menu {
    display: none;
    list-style: none;
    margin: 0;
    position: absolute;
    border: 1px solid #898989;
    padding: 16px;
    font-size: 12px;
    color: #898989;
    background: #fff;
    z-index: 9;
}
ul.drop-menu a {
    color: #898989;
    text-decoration: none;  
}
ul.drop-menu li {
    margin: 0 0 7px 0;
    cursor: pointer;
    display: block;
    height: 20px;
    width: 100%;
}
ul.drop-menu li a:hover {
    color: #B38140; 
    text-decoration: none;   
}
ul.drop-menu li:hover , ul.drop-menu li:hover svg path {
    color: #B38140;
    fill: #B38140;

}
ul.drop-menu li svg {
    margin: 0 10px 0 0;
}
.diflex {
    display: flex;
}
.dropdown.sizes {
    color: #898989;
    font-size: 12px;
    width: 178px;
    line-height: 22px;
    height: 22px;
    position: relative;
    margin: 8px 0px 8px 10px;
    cursor: pointer;
}
#articleBody[data-fsize="fsize-small"] p, #articleBody[data-fsize="fsize-small"] li {
    font-size: 14px;
}
#articleBody[data-fsize="fsize-medium"] p, #articleBody[data-fsize="fsize-medium"] li {
    font-size: 16px;
}
#articleBody[data-fsize="fsize-large"] p, #articleBody[data-fsize="fsize-large"] li {
    font-size: 20px;
}
#articleBody[data-fsize="fsize-small"] h2, #articleBody[data-fsize="fsize-small"] h3 {
    font-size: 18px;
}
#articleBody[data-fsize="fsize-medium"] h2, #articleBody[data-fsize="fsize-medium"] h3 {
    font-size: 20px;
}
#articleBody[data-fsize="fsize-large"] h2, #articleBody[data-fsize="fsize-large"] h3 {
    font-size: 24px;
}

.fontssel {
    position: relative;
}
.fontsbox {
    display: none;
    list-style: none;
    margin: 0;
    position: absolute;
    border: 1px solid #898989;
    padding: 10px;
    font-size: 12px;
    color: #898989;
    background: #fff;
    z-index: 9;  
    left: 15px;
}
.dropdown.sizes svg {
    margin: 3px 7px 0 0;
}
.fontsbox svg {
    margin: 0 10px 0 0;
}
.fontsbox svg {
    cursor: pointer;
}
.fontsbox svg.active path, .fontsbox svg:hover path {
    fill: #B38140;
}
.contentpane .blogright, .contentpane .fontssel , .contentpane .actions{
    display: none;
}
.botconts strong:hover {
    color: #CE9E5E;
}
.botconts strong {
    font-weight: normal;
    text-decoration: underline;
    cursor: pointer;
}
/* сиерталка */
/* .openbtn {
    display: block;
}

.about_text {
    height: 161px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}   
.about_text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0% ,rgba(255, 255, 255, 0) 80%, #FFFFFF 100%);
    z-index: 1;
} */
/* сверталка энд */
/* Pager for service */
.navipager {
    margin: 30px 0;
    padding: 0;
    list-style: none;
    display: flex;
}
.navipager li:nth-child(2) {
    margin: 0 0 0 15px;
}
.navipager .btn-more {
    font-size: 14px;
    padding: 5px 15px;
}
/* The end of pager for service  */
@media (max-width: 992px) {
    .view-article.itemid-111 #articleBody, .view-article.itemid-112 #articleBody {
        margin: 15px auto;
        width: 100%;
    } 
    #aboutbox {
        padding-top: 40px;
        padding-bottom: 25px;
    } 
    .topmenubox {
        display: none;
    }
    .about_text {
        min-width: 427px;
    }   
    #aboutbox img {
        top: 70px; 
    }  
    .tofix {
        flex-grow: 0;
    }
    .itemid-114.sliderhere .item-page, .itemid-115.sliderhere .item-page {
        background-size: 950px;
    }   
}
@media (max-width: 470px) {
    .askaqwest {
     display: none;
    } 
}
@media (max-width: 768px) {
    #servspage .article-info {
        justify-content: center;
    }
    .servhead {
        font-size: 28px;
    }
    .fullimga img {
        margin: 0 auto;
        display: block;
    }
    div#servspage {
        text-align: center;
    }
    #servspage #articleBody > p:nth-child(1) {
        max-width: 100%;
        margin: 0 0 90px 0;
    }
    #servspage #articleBody {
        margin: 54px 0 0 0;
    }
    #servspage p::before {
        content: '';
        position: absolute;
        top: 0;
        width: 310px;
        left: 50%;
        margin: 0 0 0 -160px;
        height: 3px;
        background-color: #B38140;
    }
    .topservrow {
        min-height: auto;
        position: relative;
    }
    #servspage ul li {
        background: url(../img/lawlimark.svg) no-repeat scroll top center;
        display: block;
        padding: 100px 30px 0 30px;
        margin: 0 0 100px 0;
        flex-grow: 1;
        width: 50%;
    }
    #servspage p {
        padding: 39px 0 0 0;
        margin: 50px 0 50px 0;
        position: relative;
    }
    .blogpage-header h1 {
        font-family: 'Roboto Slab', serif;
        text-align: center;
        margin: 30px auto;
        max-width: 900px;
        font-size: 30px;
        font-weight: 500;
    }    
    .itemid-114.sliderhere .item-page, .itemid-115.sliderhere .item-page {
        background-size: 450px;
    }
    .projitem {
         margin: 0 auto;
    }
    .fivecar img {
        display: block;
        margin: 0 auto;
    }
    .blog_item {
        max-width: 100%;
        margin: 0 0 30px 0;
    }
    #botconts .page-header {
        margin: 0 0 30px 0;
    }
    .mw190sm {
        min-width: 190px;
    }
    .logobox img {
        max-width: 162px;
    }
    .flexgr2sm {
        flex-grow: 2;
    }
    .psm0 {
        padding: 0;
        flex-grow: 7;
    }
    .tohidesm {
        display: none;
    }
    #tophead {
        text-align: center;
        font-size: 24px;
    }  
    #clients .slick-next {
        right: 0;
    }     
    #clients .slick-prev{
        left: 0;
    }    
    .footbox {
        margin: 15px 0;
    }
    #aboutbox {
        padding-top: 30px;

    }   
    #blogbox {
        padding-top: 24px;
        padding-bottom: 24px;
    }    
    #projects {
        padding-top: 30px;   
    }

}


@media (min-width: 768px){
    .container {
        max-width: 768px;
    }
}
@media (min-width: 576px) {
    .container {
        max-width: 100%;
    }
}
@media (min-width: 992px) {
    .togbox {
        display: none;
    }
}
@media (max-width: 992px) {
    #botconts .page-header {
        margin-top: 50px;
    }     
}
@media (max-width: 767px){
    .tocenterxs {
        margin: 0 auto;
        max-width: 100px;
    }
    #botconts .page-header {
        margin: 0 0 30px 0;
    }
    div#botmats, div#botmats a {
        text-align: center;
    }
    #footer #botmats a {
        margin-bottom: 10px;
    }
    .openbtn {
        display: block;
    }

    #aboutbox .page-header {
        font-size: 36px;   
        display: block;
        max-width: 210px;
    }
    #aboutbox {

        /* background:url(../img/about-sm.jpg) no-repeat scroll right 20px; */
        background:url(../img/datienko-sm.jpg) no-repeat scroll right 20px;
        
    }
    .about_text {
        position: relative;
        font-size: 14px;
        padding: 150px 0 0 0;
        min-width: 100%;
        height: 366px;   
        overflow: hidden;
        z-index: 0;
    }   
    .about_text::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0% ,rgba(255, 255, 255, 0) 80%, #FFFFFF 100%);
        z-index: 1;
    }
}
@media (max-width: 400px){
    #servspage ul li {
        background: url(../img/lawlimark.svg) no-repeat scroll top center;
        display: block;
        padding: 100px 30px 0 30px;
        margin: 0 0 100px 0;
        flex-grow: 1;
        width: 100%;
    }
    .wholeserv svg {
        display: none;
    }
    #aboutbox .page-header {
        max-width: 100%;
    }
    .about_text {
        padding: 290px 0 0 0;   
    }
    #aboutbox {
        /* background:url(../img/about-sm.jpg) no-repeat scroll right 80px; */
        background:url(../img/datienko-sm.jpg) no-repeat scroll center 140px;
    }   
}

@media (max-width: 1100px) {   
    #blogbox .col-md:last-child {
        display: none;
    }
    #topform {
        display: none;
        position: fixed;
        background: rgba(0,0,0,.9);
        right: 0;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
    }
    .form-sbox {
        width: 70%;
        display: flex;
        height: 40px;
        padding: 0;
        margin: 150px auto 15px auto;
    }   
    .form-sbox svg {
        width: 30px;
        height: 30px;
    }    
    .form-sbox .sbtn {
        width: 40px;
        height: 40px;
    }
    #searchword, #searchword:focus, #searchword:active {
        width: calc(100% - 40px);
        font-size: 16px;
        line-height: 24px;
    }    
    .closeserch {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        color: #fff;
        padding: 0;
        background: none;
        border: 0 none;
    }
    .noslider #topform {
        background: #fff;
    }
    .search-btn {
        display: block !important;
    }   
    #aboutbox img {
        position: absolute;
        width: 460px;
        /* height: 645px; */
        max-width: initial;
    }
    .seven-gut > [class*='col-'] {
        padding-right: 7px;
        padding-left: 7px;
        display: flex;
        justify-content: center;
        max-width: 100%;
        flex: auto;
        align-items: center;
    }
    .servwrap img {
        display: block;
        margin: auto;
    }
    .servwrap .block_wrap {
        max-width: 100%;
        text-align: center;
    }    
}
@media (min-width: 1100px) {
    #blogbox .carousel-item > .row {
        justify-content: space-between;
    }
    #blogbox .col-md {
        max-width: 398px;
    }
    #topform {
        display: block !important;;
    }   
    .search-btn {
        display: none;
    }
} 

@media (min-width: 1000px) {
    .diflex {
        justify-content: flex-end;
    }
    #blogbox .page-header {
        margin: 0 48px 39px 0;
    }
    .container {
        max-width: 1240px;
    }   
    #aboutbox .container {
        max-width: 1190px;
    } 
    
}
.fg10{
    flex-grow: 28;
} 
@media (min-width: 968px) and (max-width: 1124px) {
    #tophead {
        top: 170px;   
    }
    .ac-slide {
        height: auto;
        color: #fff;
        background-repeat: no-repeat;
        background-size: 765px 399px;
        background-position: right bottom;
        min-height: 489px;
        padding-top: 170px;
        padding-bottom: 50px;
    }
}
@media (min-width: 668px) and (max-width: 968px) {
    #tophead {
        top: 150px;   
        font-size: 16px;
    }
    .ac-slide {
        height: auto;
        color: #fff;
        background-repeat: no-repeat;
        background-size: 549px 287px;
        background-position: right 90px;
        min-height: 410px;
        padding-top: 150px;
        padding-bottom: 20px;
    }
    .ac-slide h2 {
        font-size: 20px;
        max-width: 286px;
    }    
}
@media (max-width: 668px) {
    .navarrows {
        display: flex;
        width: auto;
        left: 0;
        right: 0;
        position: absolute;
        justify-content: center;
        bottom: -15px;
    }
    #projects .page-header {
        text-align: center;
        margin: 0 0 40px 0;
        display: block;
        width: 100%;
    }   
    .arnav {
        margin: 0 10px;
    }   
    .blog_item h3 {
        font-size: 20px;
    }
    .blog_text {
        font-size: 14px;
    }   
    #tophead {
        top: 296px;
        right: 0;
        left: 0;
        font-size: 20px;
        text-align: center;
    }
    .ac-slide {
        height: auto;
        color: #fff;
        background-repeat: no-repeat;
        background-size: 553px 289px;
        background-position: right 34px;
        min-height: 577px;
        padding-top: 296px;
        padding-bottom: 20px;
    }
    .ac-slide h2 {
        font-size: 25px;
        margin: 30px auto 20px auto;
        display: block;
        text-align: center;
        max-width: 360px;
    }   
    .btn-more {
        margin: 0 auto;
        width: 194px;
        display: block;
    }
    #header, .sliderhere #header {
        padding: 7px 0 5px 0px;   
    }
}