/*
theme name: Farabi Theme
version: 1.0
Author: 2sweb.ir
Author URI: http://2sweb.ir
Desctiption:
*/
body {
    font-family: 'IRANSans', tahoma;
    background: #fff;
    color: #333;
}

:focus {
    outline: 0;
}

a {
    color: #2980B9;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
}

a:hover {
    text-decoration: none;
}

a:active,
a:visited,
a:focus {
    background: transparent;
    color: #a94ccd;
    outline: 0;
    text-decoration: none;
}
  #page_loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('images/loading_page2.gif') 50% 50% no-repeat rgb(255,255,255);
}
.masthead .wrapper-head .contact-head .nmbr:after,#articles .owl-buttons .owl-prev,
#articles .owl-buttons .owl-next,.title-section span:before,.title-section span:after 
{ 
background:url(images/sprites_icons.png) no-repeat;
 }

/*
=masthead
--------------------------------------------------------*/

.masthead {
    background: url(images/header_bg.png) no-repeat center;
    max-width: 1600px;
    margin: auto;
}

.masthead .logo-site {
    position: relative;
}

.masthead .logo-site h1 {
    position: absolute;
    right: 10px;
    top: 10px;
    text-indent: -999999px;
}

.masthead .logo-site .logo-icon img {
    width: 280px;
    height: 120px;
}

.masthead .wrapper-head .desc-title {
    float: right;
}

.masthead .wrapper-head h2.slogan {
    font-size: 15px;
    color: #666;
    padding: 10px 0;
}

.masthead .wrapper-head .contact-head {
    float: left;
    margin: 20px 0 20px 20px;
}

.masthead .wrapper-head .contact-head .nmbr {
    display: inline-block;
    position: relative;
    font-family: IRANSans-number, tahoma;
    text-align: left;
    direction: ltr;
    color: #777;
    letter-spacing: 1px;
    padding-left: 25px;
}

.masthead .wrapper-head .contact-head .nmbr:after {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    background-position: 0 -50px;
    width: 20px;
    height: 19px;
    color: #8bc34a;
}


/*
=nav
--------------------------------------------------------*/

.tw_nav {
    position: relative;
    background-color: #a94ccd;
    min-height: auto;
    margin-bottom: 10px;
}

.tw_nav ul,
.navbar-nav > li > .dropdown-menu {
    background-color: #a94ccd;
}

.tw_nav:after,
.tw_nav:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #fff;
    right: 0;
}

.tw_nav:before {
    top: 0px;
}

.tw_nav:after {
    bottom: 0px;
}

#tw_nav ul ul ul.dropdown-menu {
    top: 0 !important;
    right: 100%;
}

.tw_nav ul li a {
    padding: 12px 15px;
    font-size: 14px;
    color: #fff;
}

.tw_nav ul li a:hover {
    color: #444;
}

.nav > li > a:hover
 {
    text-decoration: none;
    background-color: #fff;
}
.nav > li > a:focus { 
background-color:transparent;
 }

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    border-color: #428bca;
    background-color: #fff;
    color: #444;
}

li.current_home_item {
    position: relative;
    width: 45px;
    height: 42px;
}

li.current_home_item:after {
    content: "\f015";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30px;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    width: 45px;
    height: 42px;
}

li.current_home_item a {
    text-indent: -9999px;
    width: 45px;
    height: 42px;
    z-index: 10;
}

.tw_nav ul li.current_home_item a:hover,
.tw_nav ul li.current_home_item a:active,
.tw_nav ul li.current_home_item a:focus,
.tw_nav ul li.current_home_item a:visited {
    background: transparent;
}

.tw_nav .navbar-collapse {
    padding-right: 5px;
}

.tw_nav .navbar-toggle {
    padding: 0 10px;
}

.tw_nav .navbar-toggle i {
    font-size: 26px;
    color: #fff;
    font-weight: normal;
}

/*
=main slider
-------------------------------------------------------*/

#main-slider {
    margin-top: 10px;
    border-radius: 6px;
}
/*
=middle
--------------------------------------------------------*/

#middle {
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    margin-top: 15px;
}

#about {
    padding: 0;
}

.wrapper-section figure,
#services figure {
    position: relative;
    background-color: #fbfafa;
    border-radius: 10px;
    box-shadow: 0 0 6px #ccc;
}

#about figure .thumb-about {
    max-width: 100%;
    width: 412px;
    height: 347px;
    border-radius: 10px 10px 0 0;
}

#about figure figcaption h4 {
    padding: 5px 10px 0;
    font-size: 18px;
    color: #666;
    line-height: 30px;
}

#about figure figcaption p {
    text-align: justify;
    color: #666;
    line-height: 34px;
    font-size: 13px;
    padding: 2px 15px;
    margin-top: 10px;
}

.title-section {
    text-align: center;
}

.title-section span {
    display: inline-block;
    position: relative;
    font-size: 18px;
    color: #666;
    padding: 5px 0;
}

.title-section span:before,
.title-section span:after {
    content: "";
    position: absolute;
    top: 19px;
    width: 60px;
    height: 10px;
}

.title-section span:before {
    background-position: -80px -80px;
    right: -72px;
}

.title-section span:after {
    background-position: 0 -80px;
    left: -72px;
}


/*service*/

#services {
    padding: 0 10px 0 0;
}

#services .services-item {
    padding: 0 7px;
    margin-bottom: 15px;
}

#services figure {
    position: relative;
    background-color: #000;
}

#services figure figcaption {
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

#services figure img {
    width: 361px;
    height: 250px;
    max-width: 100%;
    border-radius: 6px 6px 0 0;
 -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

#services figure figcaption h4 {
    text-align: center;
    padding: 4px;
    font-size: 16px;
    color: #777;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#services figure:after {
    content: "\f21e";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: 38%;
    font-size: 30px;
    line-height: 50px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-weight: normal;
    color: #fff;
    text-align: center;
    border: 3px solid #fff;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    -webkit-transform: scale(0) rotate(-180deg);
    -moz-transform: scale(0) rotate(-180deg);
    -o-transform: scale(0) rotate(-180deg);
    transform: scale(0) rotate(-180deg);
}

#services .services-item:hover figure img {
    opacity: .5;
}

#services .services-item:hover figure:after {
    -webkit-transform: scale(1) rotate(0);
    -moz-transform: scale(1) rotate(0);
    -o-transform: scale(1) rotate(0);
    transform: scale(1) rotate(0);
}

#services .services-item:hover figure figcaption {
    background-color: #a94ccd;
}

#services .services-item:hover figure figcaption h4 {
    color: #fff;
}


/*
=articles
---------------------------------------------------------*/

#articles {
    width: 100%;
    margin: auto;
    max-width: 1600px;
    background: url(images/article_bg.jpg) no-repeat center;
    border-bottom: 2px solid #ddd;
    height: 302px;
}

#articles .article-item {
    margin: 15px;
}

#articles .article-item figure,
#articles .article-item figure figcaption h5 {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

#articles .article-item figure {
    border: 2px solid #ddd;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

#articles .article-item figure::before,
.inner-page .box-tabitm .tb_container ul li.item-tabpost figure:before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

#articles .article-item figure:hover::before,
.inner-page .box-tabitm .tb_container ul li.item-tabpost:hover figure:before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

#articles .article-item figure img {
    width: 251px;
    height: 175px;
    padding: 4px;
}

#articles .article-item:hover figure {
    border-color: #ccc;
}

#articles .article-item figure figcaption h5 {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#articles .article-item figure figcaption h5:hover {
    color: #a94ccd;
}

#articles .owl-buttons {
    width: 100%;
    position: absolute;
    top: 40%;
}

#articles .owl-buttons .owl-prev,
#articles .owl-buttons .owl-next {
    position: absolute;
    width: 23px;
    height: 37px;
}

#articles .owl-buttons .owl-prev {
    right: -20px;
    background-position: -35px 0;
}

#articles .owl-buttons .owl-next {
    left: -20px;
    background-position: 0 0;

}


/*
=footer
-----------------------------------------------------*/

#footer {
    width: 100%;
    background: #fbfbfb url(images/footer_bg.png);
    padding-bottom: 10px;
}

#footer .footer-box .footer-box-title {
    font-size: 18px;
    color: #555;
    padding: 10px 25px 5px;
}

#footer .footer-link,
#footer .footer-contact {
    position: relative;
    padding: 0;
    border-left: 1px solid #eee;
}

#footer .footer-link:before,
#footer .footer-contact:before {
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 15px;
    font-weight: normal;
    font-size: 17px;
    color: #777;
}

#footer .footer-link:before {
    content: "\f02c";
}

#footer .footer-contact:before {
    content: "\f041";
    font-size: 22px;
    top: 9px;
    right: 5px;
}

#footer .footer-link ul li a {
    display: block;
    position: relative;
    padding: 7px 12px 7px 2px;
    font-size: 13px;
    color: #555;
}

#footer .footer-link ul li a:hover {
    color: #a94ccd;
}

#footer .footer-link ul li a:before {
    content: "\f0d9";
    font-family: FontAwesome;
    position: absolute;
    font-weight: normal;
    right: 0;
    top: 5px;
    font-size: 14px;
    color: #444;
}

#footer .footer-contact {
    padding: 0 10px;
}

#footer .footer-contact .map_footer {
    display: block;
    float: left;
    width: 220px;
    height: 220px;
    border-radius: 100%;
    border: 1px solid #ddd;
    margin: 5px;
    margin-top: -45px;
}

#footer .address-box p {
    font-size: 13px;
    color: #555;
}

#footer .footer-social .footer-box-title {
    text-align: center;
}

#footer .footer-social ul {
    display: table;
    margin: auto;
}

#footer .footer-social ul li {
    float: left;
    margin: 5px;
}

#footer .footer-social ul li a {
    display: block;
    width: 28px;
    height: 28px;
    background: url(images/social_media_icons.png) no-repeat;
}

#footer .footer-social ul li a:hover {
    opacity: .7;
}

#footer .footer-social ul li.apparat-icon a {
    background-position: 0 0;
}

#footer .footer-social ul li.linkedin-icon a {
    background-position: -41px 0;
}

#footer .footer-social ul li.twitter-icon a {
    background-position: -83px 0;
}

#footer .footer-social ul li.google-icon a {
    background-position: -124px 0;
}

#footer .footer-social ul li.instagram-icon a {
    background-position: -166px 0;
}

#footer .footer-social ul li.facebook-icon a {
    background-position: -207px 0;
}

#footer .footer-social ul li.telegram-icon a {
    background-position: -248px 0;
}

#copyright {
    width: 250px;
    margin: 10px auto;
    box-shadow: 0 0 6px #ccc;
    padding: 10px 10px 15px;
    border-radius: 10px;
    background-color: #fff;
}

#copyright p,
#copyright span {
    text-align: center;
}

#copyright p {
    font-size: 13px;
    color: #777;
}

#copyright span {
    display: block;
    font-size: 12px;
    margin-top: 10px;
}

#go-top {
    position: fixed;
    left: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #a94ccd;
    border-radius: 100%;
    display: none;
    cursor: pointer;
    transition: all .4s;
}

#go-top i {
    font-size: 25px;
    margin: auto;
    right: 0;
    position: absolute;
    top: 10px;
    left: 0;
    text-align: center;
    color: #fff;
}

#go-top:hover {
    background-color: #222;
}


/*
=single
---------------------------------------------------------*/

.inner-page {
    margin-top: 15px;
    background-color: #f5f5f5;
    width: 100%;
}

.breadcrumb {
    background-color: #fff;
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: 0;
    border: 1px solid #eee;
}
.breadcrumb li {
display:inline-block;
 }
.breadcrumb li + li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/";
}
.breadcrumb a {
    color: #666;
    font-size: 13px;
}

.breadcrumb > .active {
    font-size: 12px;
}

.breadcrumb a:hover {
    color: #9B59B6;
}

.inner-page .main-content .title-post {
    position: relative;
    font-size: 18px;
    color: #555;
    padding-right: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.inner-page .main-content .title-post:before {
    content: "\f046";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
    color: #9B59B6;
}

.inner-page .main-content {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 10px;
    margin-bottom: 15px;
}

.inner-page .main-content .content {
    float: right;
    width: 100%;
    margin-top: 5px;
}

.inner-page .main-content .content p,
.inner-page .main-content .content span,
.inner-page .main-content .content div {
    font-size: 13px;
    color: #555;
    line-height: 30px;
}

.inner-page .main-content .content ul,
.inner-page .main-content .content ol {
    padding-right: 15px;
}

.inner-page .main-content .content li {
    position: relative;
    line-height: 30px;
    font-size: 13px;
    color: #555;
}

.inner-page .main-content .content ul li {
    list-style: disc;
}

.inner-page .wrapper-sidebar {
    margin-top: 6px;
    padding: 0;
}
.inner-page  .footer-meta-post {
    width: 100%;
    background-color: #f8f8f8;
    clear: both;
    margin-top: 10px;
    float: right;
    padding: 10px;
    border: 1px solid #eee;
}
.inner-page .footer-meta-post .title-cat {
    font-size: 14px;
    color: #a94ccd;
}
.inner-page  .footer-meta-post a {
    display: inline-block;
    position: relative;
    padding: 0 5px 0 7px;
    font-size: 12px;
    color: #777;
}
.inner-page .footer-meta-post a:after {
    content: "/";
    position: absolute;
    left: 0;
    top: 0;
}
.inner-page .footer-meta-post a:last-child:after { 
display:none;
 }

.inner-page .box-tabitm {
    margin-bottom: 15px;
    background-color: #fff;
    padding: 4px;
}

.inner-page .box-tabitm .nav-tabs {
    border-bottom-color: #e5e5e5;
}

.inner-page .box-tabitm .tb_body {
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-top: 0;
}

.inner-page .box-tabitm .nav-tabs > li > a {
    padding: 10px;
    border-radius: 0;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: #f7f7f7;
    color: #666;
    border-color: #e5e5e5;
    border-bottom-color: transparent;
}

.inner-page .box-tabitm .tb_container ul li.item-tabpost {
    float: right;
    width: 100%;
    clear: both;
    margin-bottom: 9px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9e9e9;
}

.inner-page .box-tabitm .tb_container ul li.item-tabpost:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.inner-page .box-tabitm .tb_container ul li.item-tabpost a.thumb {
    display: block;
    float: right;
    margin-left: 6px;
    width: 80px;
    height: 70px;
}

.inner-page .box-tabitm .tb_container ul li.item-tabpost figure {
    position: relative;
}

.inner-page .box-tabitm .tb_container ul li.item-tabpost figure img {
    width: 80px;
    height: 70px;
}

.inner-page .box-tabitm .tb_container ul li.item-tabpost .title-tabpost {
    line-height: 26px;
    margin-top: 7px;
}

.inner-page .box-tabitm .tb_container ul li.item-tabpost .title-tabpost a {
    display: block;
    font-size: 12px;
    color: #666;
}

.inner-page .box-tabitm .tb_container ul li.item-tabpost .title-tabpost a:hover {
    color: #a94ccd;
}

.inner-page .inner-sidebar .widget {
    float: right;
    width: 100%;
    margin-bottom: 15px;
    background-color: #fff;
    border: 1px solid #eee;
}
.inner-page .inner-sidebar .widget .ads img {
margin:7px auto;
 }

.inner-page .inner-sidebar .widget .widg-title {
    position: relative;
    font-size: 15px;
    padding-right: 30px;
    color: #fff;
    background-color: #a94ccd;
}

.inner-page .inner-sidebar .widget .widg-title:before {
    content: "\f14a";
    font-family: FontAwesome;
    position: absolute;
    right: 5px;
    font-weight: normal;
    top: 0;
    font-size: 20px;
    color: #fff;
}

.inner-page .inner-sidebar .widget .widg-content {
    padding: 8px;
}

.inner-page .inner-sidebar .widget .widg-content ul li {
    border-bottom: 1px solid #f6f6f6;
}

.inner-page .inner-sidebar .widget .widg-content ul li a {
    display: inline-block;
    position: relative;
    font-size: 13px;
    color: #555;
    padding: 5px 22px 5px 5px;
    line-height: 25px;
}

.inner-page .inner-sidebar .widget .widg-content ul li a:hover,
.inner-page .inner-sidebar .widget .widg-content ul li a:hover:before {
    color: #a94ccd;
}

.inner-page .inner-sidebar .widget .widg-content ul li a:before {
    content: "\f191";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: 5px;
    font-weight: normal;
    font-size: 16px;
    color: #777;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}


/*
=widget styles
----------------------------------------------------------*/

.textwidget {
    font-size: 12px;
    line-height: 25px;
    text-align: justify;
    color: #777;
    padding: 5px;
}


/*** tag ***/

.tagcloud a {
    display: inline-block;
    padding: 5px;
    font-size: 12px;
    color: #fff;
    border: 1px solid #f5f5f5;
    background-color: #a94ccd;
    margin: 4px 2px;
}

.tagcloud a:hover {
    opacity: .7;
}


/*** calendar_wrap ***/

#wp-calendar {
    width: 100%;
    line-height: 24px;
    font-family: IRANSans-number, tahoma;
}

#wp-calendar caption {
    text-align: center;
    font-size: 18;
    font-weight: normal;
    margin-bottom: 5px;
    color: #666;
}

#wp-calendar thead th {
    background: #a94ccd;
    width: 24px;
    color: #fff;
    text-align: center;
    padding-bottom: 5px;
    border-left: 1px solid #ddd;
}

#wp-calendar tbody td {
    color: #9f9f9f;
    border: 1px solid #ededed;
    text-align: center;
}

#wp-calendar tbody td a {
    color: red;
}

#wp-calendar tfoot td a {
    color: red;
}


/*** serchform ***/

#searchform {
    display: table;
    padding: 8px;
    width: 232px;
    margin: 10px auto;
    max-width: 100%;
}

#searchform label {
    display: none;
}

#searchform input[type="text"] {
    float: right;
    border: 0;
    border: 1px solid #ddd;
    border-radius: 1px;
    padding: 3px 2px;
    width: 160px;
    height: 35px;
    line-height: 35px;
    max-width: 100%;
}

#searchform input[type="submit"] {
    border: 0;
    border-radius: 1px;
    padding: 7px 8px 5px;
    background: #a94ccd;
    color: #fff;
    font-size: 12px;
    height: 35px;
}


/*** category list ***/

ul li.cat-item {
    font-size: 10px;
    color: #999;
}

ul li.cat-item a {
    display: inline-block;
    padding: 10px 17px 10px 5px;
    color: #777;
}


/*
=archive
------------------------------------------------------------*/

.archive-page .archive-post {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
}

.archive-page .archive-post .thumb-archive {
    display: block;
    float: right;
    margin: 5px 0 0 8px;
}

.archive-page .archive-post .thumb-archive figure {
    position: relative;
    overflow: hidden;
    width: 80px;
    height: 70px;
}

.archive-page .archive-post .thumb-archive figure img {
    width: 80px;
    height: 70px;
    margin-bottom: 0;
}

.archive-page .archive-post .archive-caption h4 a {
    font-size: 14px;
    color: #666;
}

.archive-page .archive-post .archive-caption h4 a:hover {
    color: #a94ccd;
}

.archive-page .archive-post .archive-caption p {
    font-size: 12px;
    color: #777;
    line-height: 20px;
}

.archive-page .archive-post .archive-caption .date-post {
    display: inline-block;
    position: relative;
    float: left;
    font-size: 11px;
    color: #999;
    font-family: IRANSans-number, tahoma;
    padding-left: 10px;
    padding-right: 18px;
}

.archive-page .archive-post .archive-caption .date-post:before {
    content: "\f274";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    top: -1;
    font-size: 13px;
    color: #E74C3C;
}


/*** pagenavi ***/

#pagnavi {
    display: table;
    margin: auto;
    ;
}

.wp-pagenavi {
    margin: 15px;
}

.wp-pagenavi a.page,
.wp-pagenavi a.larger {
    display: inline-block;
    color: #333;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    background: #fff;
    margin: 8px 0;
    font-size: 11px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: IRANSans-number, tahoma;
}

.wp-pagenavi a.page:hover,
.wp-pagenavi a.larger:hover {
    background: #a94ccd;
    color: #fff;
}

.wp-pagenavi span.pages {
    background: #a94ccd;
    color: #fff;
    padding: 8px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-family: IRANSans-number, tahoma;
}

.wp-pagenavi span.current {
    display: inline-block;
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #a94ccd;
    font-size: 11px;
    border-radius: 100%;
    font-family: IRANSans-number, tahoma;
}

@media screen and (min-width:1200px) {}

@media screen and (max-width:1200px) {
    #articles .article-item figure img {
        width: 100%;
    }
}

@media screen and (max-width:992px) {
    .masthead .logo-site .logo-icon img {
        margin: auto;
    }
    .wrapper-section figure {
        width: 412px;
        max-width: 100%;
        margin: 10px auto;
    }
    #services figure {}
    #footer .footer-contact {
        border: 0;
    }
    #footer .footer-link {
        display: table;
        margin: auto;
        border: 0;
    }
    .slide-text > h1 {
        font-size: 25px;
        line-height: 55px;
    }
    .slide-text {
        top: 5%;
    }
    .slide-text > a.btn-default,
    .slide-text > a.btn-primary {
        padding: 12px;
    }
    #articles {
        height: auto;
        background: #f7f7f7;
    }
    .wrapper-main {
        padding: 0;
    }
}

@media screen and (max-width:768px) {
    .tw_nav ul {
        padding: 0 8px;
    }
    .masthead .wrapper-head .desc-title {
        float: none;
        width: 100%;
    }
    .masthead .wrapper-head h2.slogan {
        text-align: center;
    }
    .masthead .wrapper-head .contact-head {
        float: none;
        margin: 5px auto 10px;
        display: table;
    }
    #articles .owl-buttons {
        top: -30px;
        right: 0;
    }
    #articles .owl-buttons .owl-prev {
        right: 20px;
    }
    #articles .owl-buttons .owl-next {
        left: auto;
        right: 50px;
    }
}
@media screen and (max-width: 1199px) and (min-width: 992px)  { 
.tw_nav ul li a { 
font-size:13px;
padding:12px 10px;
 }
#services figure img {
height:210px;
 }
#about figure .thumb-about { 
height:290px;
 }
}
@media screen and (max-width:690px) {
    #services .services-item {
        width: 100%;
    }
    #services figure {
        background: #fff;
        padding: 5px;
    }
    #services figure img {
        margin: auto;
        border-radius: 6px;
    }
    #services figure::after {
        display: none;
    }
    #services .services-item:hover figure figcaption {
        background-color: #fff;
    }
    #services .services-item figure figcaption h4 {
        white-space: normal;
    }
    #services .services-item:hover figure figcaption h4 {
        color: #666;
    }
}

@media screen and (max-width:600px) {
    #tmb-slr {
        margin-top: 50px;
    }
    #articles .owl-buttons .owl-prev,
    #articles .owl-buttons .owl-next {
        right: 0;
        left: 0;
        margin: auto;
    }
    #articles .owl-buttons .owl-next {
        right: 60px;
    }
    #footer .footer-contact .map_footer {
        float: none;
        margin: 10px auto;
    }
}

@media screen and (max-width:480px) {
    .slide-text > h1 {
        font-size: 14px;
        line-height: 40px;
        padding: 5px;
    }
    .slide-text > p {
        display: none;
    }
    .slide-text > a.btn-default,
    .slide-text > a.btn-primary {
        display: none;
    }
.slide-text > h1 { 
text-align:right;
font-size:12px;
padding:3px 4px;
line-height:28px;
 }
#about figure .thumb-about { 
width:100%;
height:auto;
 }
}

@media screen and (max-width:360px) {
    #services .services-item figure img {
        width: 100%;
        height: auto;
    }
    #footer .footer-social ul li {
        margin: 1px;
    }
}

