/* CSS for Tablet, ex: iPad
=====================================================================*/

@media (min-device-width:1024px) and (max-width:989px),
       screen and (max-device-width:480px),
       (min-device-width:481px) and (max-device-width:1024px) and (orientation:portrait) {
img {
	max-width: 100%;
}
html {
	-webkit-text-size-adjust: none;
}
body#withslideshow, body.innerpage {
	background: url(../images/theme/background.png);
}
#container {
	background: none;
}
#banner {
	width: 100%;
	height: 160px;
	padding: 0;
}
.logo {
	margin-left: 15px;
	float: none;
}
#slogan {
	font-size: 12px;
	float: none;
	display: block;
	margin: -25px 0 0 20px;
}
#frmsearch {
	margin-right: 5px;
	background: none;
	width: 160px;
	height: 30px;
	margin-top: -50px;
	
}
#frmsearch .textboxsearch {
	width: 110px;
	height: 25px;
	border: none;
	background: #fff;
	font-size: 11px;
}
.submitsearch {
	display: none;
}
.imgframe {
	padding: 6px;
}
#navigationtop {
	background: rgba(239, 239, 239, 0.6);
	border-bottom: 2px solid #d2e0e7;
	height: auto;
	margin: 20px 0 20px 0;
}
#mainmenu {
	clear:none;
	float:left;
	right:0;
	text-align:left;
	height: auto;
}
#mainmenu li {
	display:inline;
	float:left;
	position:relative;
	left:0;
	height: auto;
	margin-bottom: 1px;
}
#mainmenu li a {
	padding: 16px 11px 0 11px;
	height: 30px;
	font-size: 11px;
}
#navigationtop ul ul {
	top: 46px;
}
#slideshow {
	background: url(../images/theme/back_slideshow_mobile.png) repeat-x 0 100%;
	width: 100%;
	height: auto;
	padding: 20px 0 40px 0;
	margin-bottom: 20px;
}
#placeslideshow {
	width: 90%;
	height: auto;
	margin-left: 20px;
}
#slideshow #placeslideshow .ui-tabs-panel {
	width: 100%;
	height: auto;
}
#slideshow #placeslideshow .ui-tabs-panel p {
	font-size: 14px;
	margin: 0 0 20px 0;
	line-height: 1.8em;
}
#slideshow #placeslideshow .ui-tabs-panel figure {
	width: 45%;
	height: auto;
	margin-right: 15px;
	margin-bottom: 15px;
}
h2.titleslideshow {
	font-size: 22px;
	color: #3f3f3f;
	margin: 0 0 20px 0;
}
#menutabs {
	left: 0;
	bottom: -40px;
}
#content {
	padding: 30px 0 35px 0;
	min-width: 0;
	width: 100%;
}
#testimonialhome {
	width: 95%;
	padding: 0;
}
#testimonialhome img {
	float: left;
	margin: 0 20px 0 0;
	width: 64px;
	height: 64px;
}
#testimonialhome article {
	float: left;
	width: 75%;
}
#testimonialhome article p {
	font-size: 16px;
	line-height: 1.6em;
	padding: 0 0 10px 0;
}
#testimonialhome article p span {
	font-size: 14px;
}
#boxfront {
	width: 95%;
	margin: 0 auto;
	padding: 0;
}
#boxfront article {
	width: 29%;
	margin-right: 4%;
}
#boxfront article h3 {
	font-size: 14px;
	width: 78%;
}
#boxfront article p {
	font-size: 12px;
}
#portfoliohome {
	width: 95%;
	margin: 0 auto 5px auto;
	padding: 0;
}
#listportfoliohome {
	width: 100%;
}
#listportfoliohome li a span {
	display: none;
}
#listportfoliohome li {
	width: 140px;
	height: auto;
	margin: 0 35px 15px 0;
	float: left;
}
#listportfoliohome li.last {
	margin-right: 15px;
}
#listportfoliohome li a {
	height: auto;
	float: none;
}
#tooltip, .tooltip {
	z-index: -5;
}
#contentinfo {
	width: 95%;
	margin: 0 auto;
	padding: 20px 0 10px 0;
}
#navigationfooter {
	height: 24px;
	float: none;
	clear: both;
}
#menufooter {
	float: left;
	margin: 15px 0 0 0;
}
#menufooter li {
	margin: 0 10px 5px 0;
}
#menufooter li a {
	font-size: 12px;
}
.boxfooter {
	width: 29%;
	margin-right: 4%;
}
.maparea {
	width: 100%;
	height: 240px;
	box-shadow: 0 1px 2px #b2b2b2;
	-webkit-box-shadow: 0 1px 2px #b2b2b2;
	padding: 0;
	background: none;
}
.widget-title {
	font-size: 14px;
}
.widget-footer {
	margin: 0 0 20px 0;
}
.butmore, .butmore:link, .butmore:visited {
	width: 121px;
	height: 25px;
	background: #89a7b4;
	text-align: center;
	font-size: 11px;
	color: #4f6e7b;
	text-shadow: none;
	padding: 10px 0 0 0;
	text-decoration: none;
	border-radius:5px;
}
.butmore:hover {
	background: #7b9caa;
	padding: 10px 0 0 0;
	height: 25px;
	color: #b9ced6;
	text-shadow: none;
}
.submit-comment, .submit-contact {
	background: #89a7b4;
	padding: 0;
}
.submit-comment:hover, .submit-contact:hover {
	background: #7b9caa;
	color: #b9ced6;
	text-shadow: none;
}
.butquote, .butquote:link, .butquote:visited {
	width: 130px;
	height: 29px;
	background: #809601;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	padding: 13px 0 0 0;
	text-decoration: none;
	border-radius:5px;
	margin: 0;
}
.butquote:hover {
	background: #748c00;
	padding: 12px 0 0 0;
	height: 30px;
	color: #596b02;
	text-shadow: 0 1px 1px #abb93f;
}
#textcopyright {
	font-size: 11px;
	line-height: 1.4em;
	margin: 5px 0 0 0;
}
#wrapcontent {
	width: 95%;
	margin: 0 auto;
	padding: 0;
}
#maincontent {
	width: 63%;
}
#content.innerpage {
	padding: 30px 0 35px 0;
	min-width: 0;
	width: 100%;
}
#nav {
	width: 32%;
}
#nav .widget-container {
	width: 100%;
	margin: 0 0 27px 0;
	padding: 6px 0 18px 0;
}
#nav .widget-title {
	width: 96%;
	background: url(../images/theme/back_titlenav.png) repeat-x 0 100%;
	margin: 0 0 7px -1px;
	padding: 6px 0 5px 12px;
	font-size: 14px;
}
#nav .widget-container .menu li {
	padding: 7px 0 9px 0;
}
#nav .widget-container .menu.news li hgroup {
	float: none;
	width:auto;
	display: inline;
}
.news-list figure {
	width: 40%;
	height: auto;
	margin-bottom: 15px;
	float: right;
	margin-left: 30px;
}
.textbox-comment {
	width: 70%;
}
.textarea-comment {
	width: 100%;
}
#maincontent ul#list-comments li ul li {
	margin-left: 20px;
}
#maincontent ul#list-comments li header h3 {
	margin-left: 10px;
	margin-bottom: 0;
	font-size: 11px;
}
#maincontent ul#list-comments li header time {
	float: left;
	margin-left: 8px;
	font-size: 10px;
	margin-top: 9px;
}
#portfolio-page {
	width: 38%;
	margin: 0;
}
#tabs-portfolio {
	width: 55%;
	float: right;
}
#fullwidth ul#menu-tabs-portfolio li {
	height: 40px;
}
#fullwidth ul#menu-tabs-portfolio li a {
	height: 31px;
	font-size: 12px;
	padding: 8px 16px 0 16px;
	border: none;
}
#fullwidth ul#menu-tabs-portfolio li.ui-tabs-selected a {
	height: 31px;
	background: #c5cfd4;
	color: #52656f;
}
#slideshow-portfolio {
	width: 99%;
	height: auto;
	margin:0 0 25px 0;
}
#slideshow-portfolio img {
	padding: 5px;
}
#maincontent ul#list-services li img {
	width: 64px;
	height: 64px;
}
#maincontent ul#list-services li h3 {
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 1px 0;
	padding: 6px 0 7px 0;
}
#maincontent ul#list-services li h3 a {
	color: #717171;
	text-decoration: none;
}
#maincontent ul#list-services li h4 {
	font-size: 14px;
}
#maincontent ul#list-services li hgroup {
	width: 80%;
}
#maincontent ul#list-team li article {
	width: 78%;
	float: left;
}
#maincontent ul#list-team li img {
	width: 50px;
	height: 58px;
	margin-right: 22px;
}
table {
	width: 95%;
}
#maincontent .colhalf {
	width:45%;
	margin-right:7%;
}
#fullwidth .colhalf {
	width:45%;
	margin-right:7%;
}
#maincontent blockquote, #fullwidth blockquote {
	margin: 0 0 0 20px;
}
#frmcontact label {
	float: none;
	display: block;
	padding-left: 0;
}
.submit-contact {
	margin-left: 0;
}
.textboxcontact {
	width:90%;
}
.textareacontact {
	width:90%;
}



}


/* CSS for Smartphone, ex: iPhone, Android, Blackberry
=====================================================================*/
@media (min-device-width:1024px) and (max-width:509px), (max-device-width:480px) and (orientation:portrait), 			 (max-device-width:480px) and (orientation:landscape) {
img {
    max-width: 100%;
 }
 html {
	-webkit-text-size-adjust: none;
}
body#withslideshow, body.innerpage {
    background: url(../images/theme/background.png);
}
#banner {
    text-align: center;
}
.logo {
    float: none;
}
#slogan {
    float: none;
    text-align: center;
    display: block;
    margin: -25px 0 0 0;
    font-size: 12px;
}
#frmsearch {
     display: none;
}
#navigationtop {
	background: none;
	border: none;
	width: 100%;
}
#mainmenu {
	width: 90%;
	margin: 0 auto;
	padding: 0 0 0 18px;
	right: 0;
}
#mainmenu li {
	width: 100%;
	height: auto;
	left: 0;
	margin: 0;
}
#mainmenu li a, #mainmenu li.active a, #navigationtop #mainmenu li:hover ul li a, #navigationtop #mainmenu li:hover ul li a:link, #navigationtop #mainmenu li:hover ul li a:visited  {
	padding: 12px 0 12px 8px;
	width: auto;
	display:block;
	font-size: 11px;
	background: #ececed;
	border-bottom:2px solid #87a6b3;
	height: auto;
	text-transform: uppercase;
}
#navigationtop #mainmenu ul {
	display: block;
	position: relative;
	top: 0;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}
#navigationtop #mainmenu ul li {
	width: 100%;
	height: auto;
}
#navigationtop ul ul ul {
	left: 0;
}
h2.titleslideshow {
	font-size: 16px;
}
#slideshow #placeslideshow .ui-tabs-panel p {
	font-size: 12px;
	margin: 0 0 15px 0;
	line-height: 1.8em;
}
#testimonialhome img {
	float: none;
	margin: 0 0 15px 0;
}
#testimonialhome {
	text-align: center;
	margin-bottom: 20px;
}
#testimonialhome article {
	float: none;
	width: 100%;
	text-align: left;
}
#testimonialhome article p {
	font-size: 14px;
	line-height: 1.6em;
}
#testimonialhome article p span {
	font-size: 14px;
}
#testimonialhome img {
	width: 72px;
	height: 72px;
}
#boxfront article {
	width: 90%;
	margin: 0;
	float: none;
	display: block;
	padding: 0 0 10px 0;
}
#listportfoliohome li {
	width: 100px;
	height: auto;
	margin: 0 30px 10px 0;
	float: left;
}
#listportfoliohome li.last {
	margin-right: 30px;
}
.boxfooter {
	width: 100%;
	margin: 0 0 20px 0;
}
.maparea {
	height: 150px;
	width: 90%;
}
#maincontent {
	width: 95%;
}
#maincontent p a {
	text-shadow: none;
}
#nav {
	width: 100%;
	margin: 15px 0 0 0;
}
#nav .widget-container {
	background: #e7e9eb;
	width: 100%;
}
#nav .widget-title {
	width: 95%;
}
#maincontent ul#list-comments li ul li {
	margin-left: 15px;
}
#portfolio-page, #tabs-portfolio {
	width: 100%;
	margin: 0;
	float: none;
}
#slideshow-portfolio {
	margin: 0 0 15px 0;
	width: 97%;
}
#maincontent ul#list-services li h3 {
	font-size: 14px;
}
#maincontent ul#list-services li h4 {
	font-size: 12px;
}
#maincontent ul#list-team li article {
	width: 70%;
}
#maincontent ul#list-team li article hgroup h3 {
	font-size: 16px;
}
#maincontent ul#list-team li article hgroup h4 {
	font-size: 12px;
	margin: 4px 0 0 0;
}
table {
	width: 100%;
}
#maincontent .colhalf, #fullwidth .colhalf {
	width:100%;
	margin-right: 0;
	float: none;
}


}


/* CSS for Smartphone (Landscape), ex: iPhone, Android, Blackberry
=====================================================================*/
@media (max-device-width:480px) and (orientation:landscape) {

#navigationtop {
	margin-left: 10%;
	width: 80%;
}

}

 
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
body#withslideshow, body.innerpage {
    background: url(../images/theme/background.png);
	background-size: 120px 108px;
}

 .logo {
	width:92px;
	height:53px;
 }
 #slogan {
	margin-top:-7px;
 }
 #slideshow {
 	background-size:30px 400px;
 }
 #menutabs li a {
 	background-size: 15px 30px;
 }
 #menutabs li,  #menutabs li a {
 	width: 15px;
 	height: 15px;
 }
 #menutabs li a:hover, #menutabs li.ui-tabs-selected a {
 	background-position: 0 -15px;
 }

 #content {
 	background-size: 47px 22px, 120px 97px;
 }
 .iconboxfront {
 	width: 16px;
 	height: 16px;
 	margin: 4px 5px 0 0;
 }
 #menusocial li a {
 	background-size:16px 32px;
 }
 #menusocial li a:hover {
 	background-position: 0 -16px; 	
  }
  #menusocial li {
  	width: 16px;
  	height: 16px;
  	margin: 0 5px 5px 0;
  }
  #menusocial li a {
  	width: 16px;
  	height: 16px;
  }
#nav .widget-title {
	background-size:122px 50px;
}

#nav .widget-container .menu ul.socialteamnav li a, #maincontent ul#list-team li ul.socialteamnav li a {
	background-size:16px 32px;
}
.icontwitter16 {
	background: url(../images/theme/icon_twitter.png) no-repeat;
}
.iconlinkedin16 {
	background: url(../images/theme/icon_linkedin.png) no-repeat;
}
.iconfacebook16 {
	background: url(../images/theme/icon_facebook.png) no-repeat;
}
.icongplus16 {
	background: url(../images/theme/icon_gplus.png) no-repeat;
}
 
 
 }
