/*** Author: Oleg Svetlov http://getsimplecms.ru/ ***/
body{
	font-size : 13px;
	line-height : 20px;
}
#navigation select {
    display: none;
    width: 100%;
    border : none;
}
#gallery-cycle-slider.gallery-cycle .gallery-container {
 height : 405px;
}
@media only screen and (min-width: 1600px) {

body{
	font-size:15px;
	line-height : 25px;
}
}
@media only screen and (min-width: 1280px) and (max-width: 1599px)  {

body{
	font-size:14px;
	line-height : 22px;
}
}
@media only screen and (max-width: 1279px) {

body{
	font-size:13px;
	line-height : 20px;
}
#wrapper {
	margin : 30px auto 30px;
}
.search .search-words {
	padding: 19px 0 19px!important;
}
.search .search-words:focus {
	padding: 19px 18px 19px 58px!important;
}
#gallery-cycle-slider.gallery-cycle .gallery-container {
 	height: 325px;
}
.padding-right {
	padding-right : 15px;
}
.right .padding-right {
	padding-left : 15px;
}
}

@media only screen and (max-width: 959px) {

body{
	font-size:12px;
	line-height : 18px;
}
#wrapper {
	margin : 20px auto 20px;
}
#logo span {
	font-size : 12px;
}
.search .search-words {
	padding: 18px 0 18px!important;
}
.search .search-words:focus {
	padding: 18px 18px 18px 58px!important;
}
p.gallery-title {
	text-align : center;
	font-size : 14px;
	font-weight : bold;
}
#gallery-cycle-slider.gallery-cycle .gallery-container {
 	height: 255px;
}
#gallery-cycle-slider.gallery-cycle .gallery-text {
	bottom:20px!important;
}
.padding-right {
	padding-right : 10px;
}
.right .padding-right {
	padding-left : 10px;
}
}
@media only screen and (max-width: 767px) {

nav {
	padding : 10px 0px;
	background-color : #303030;
}
#navigation select {
    display: block;
}
#navigation {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width : 98%;
	left : 1%;
	background-color : transparent;
}
#navigation select {
    font-size: 13px;
    padding: .5em;
    padding-right: 2.5em;	
    border: 0;
    margin: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-indent: 0.01px;
    text-overflow: '';
    -webkit-appearance: button;
    width : 100%;
}
#navigation::before,
#navigation::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
#navigation::after {
    content: "\25BC";
    height: 1em;
    font-size: .625em;
    line-height: 1;
    right: 1.2em;
    top: 50%;
    margin-top: -.5em;
}
#navigation::before {
    width: 2em;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 0 3px 3px 0;
}
#navigation::before {
    background-color: #4C4C4C;
}
#navigation::after {
    color: White;
}
#navigation ul {
    display: none;
}
.search {
	display : none;
}
#wrapper {
	margin-top : 15px;
	margin-bottom : 15px;
}
.padding-right {
	padding-right : 0px;
}
.right .padding-right {
	padding-left : 0px;
}
.picture {
	margin-right : 0px;
}
#header {
	padding : 10px 0px 0px;
}
#logo {
	text-align : center;
}
#logo span {
	display : block;
	margin-top : 10px;
	padding-left : 0px;
	margin-left : 0px;
	border-left : 0px none;
	top : 0px;
}
.top-contact {
	top : 0px;
}
.phone, .social {
	text-align : center;
}
#gallery-cycle-slider.gallery-cycle .gallery-container {
 	height: 160px;
}
#gallery-cycle-slider.gallery-cycle .gallery-text {
	padding : 10px!important;
	bottom:0px!important;
}
div.gallery .gallery-thumb {
	width : 48%;
}
#index div.gallery .gallery-thumb, #full-width div.gallery .gallery-thumb {
	width : 48%;
}
div.gallery .gallery-thumb:nth-child(3n+1) {
	clear : none;
}
#index div.gallery .gallery-thumb:nth-child(4n+1), #full-width div.gallery .gallery-thumb:nth-child(4n+1) {
	clear : none;
}
div.gallery .gallery-thumb:nth-child(2n+1), #index div.gallery .gallery-thumb:nth-child(2n+1), #full-width div.gallery .gallery-thumb:nth-child(2n+1) {
	clear : left;
}
.gallery-thumb a {
	cursor : default;
}
.gallery-thumb a:hover {
	opacity:1;
}
.gallery-thumb a:before {
	display : none;
}
#our-team .gallery-thumb a {
	cursor : pointer;
}
#our-team .gallery-thumb a:hover {
	opacity:0.5;
}
#our-team .gallery-thumb a:before {
	display : block;
}
#footer .col-4 {
	margin-bottom : 30px;
}
.col-48 {
	width : 48%;
}
.col-4.mb-5 {
	margin : 0px 1% 20px;
}
}	

@media only screen and (max-width: 479px) {

#wrapper {
	margin : 0px auto;
}
.article p img {
	float : none;
	margin : 5px auto 10px;
	width : 100%!important;
	display : block;
}
.nm_post_image {
	float : none;
}
#sidebar .action img {
	width : 95%!important;
}
.nm_post_image img {
	border : 0px none;
	padding : 0px;
}
#gallery-cycle-slider.gallery-cycle .gallery-container {
 height : 130px;
}
#gallery-cycle-slider.gallery-cycle .gallery-text {
	display : none;
}
div.gallery .gallery-thumb {
	width : 98%;
	float : none;
}
#our-team .gallery-thumb a {
	cursor : default;
}
#our-team .gallery-thumb a:hover {
	opacity:1;
}
#our-team .gallery-thumb a:before {
	display : none;
}
#index div.gallery .gallery-thumb, #full-width div.gallery .gallery-thumb {
	width : 98%;
}
p {
	margin-bottom : 10px;
}
#gallery-cycle-slider.gallery-cycle .gallery-control {
	display : block;
}
.gallery-cycle .next, .gallery-cycle .prev {
	display : none;
}
form a {
	position : relative;
	top : auto;
	left : auto;
	margin-bottom : 15px;
	display : block;
	max-width : 100px;
	text-align : center;
}
#gb .gbentries span.data {
	float : none!important;
	display : block!important;
	margin-top : 5px!important;
}

.gallery-thumb a:hover {
	opacity:1;
	cursor : default;
}
.gallery-thumb a:before {
	display : none;
}
}

@media only screen and (max-width: 383px) {

#gallery-cycle-slider.gallery-cycle .gallery-container {
 height : 105px;
}
}

@media only screen and (max-width: 319px) {

#gallery-cycle-slider.gallery-cycle .gallery-container {
 height : 100px;
}
}
@media only screen and (max-width: 240px) {

#gallery-cycle-slider.gallery-cycle .gallery-container {
 height : 80px;
}
}