/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
	.top-nav {
		width:725px;
		margin-top:120px;
		padding-left:40px;
		z-index:555;	
	}

	.apply-now-butt {
		right:0;
	}

	.social-menu {
		right:155px;
	}

	#offlajn-ajax-search223 {
		right:0 !important;
	}

	.top-nav.fixednav .top-nav-inner {
		width:768px;
	}

	.top-nav.fixednav .nav-stuff {
		margin-right:160px;
	}

	.top-nav.fixednav #offlajn-ajax-search223 {
		margin-top:-123px;
	}
	
	.search {
		display:none;	
	}
	
	.top-nav .logo {
		top:-135px;
		left:320px;	
	}

.slider {
		height:740px;
	}

	#homevideo {
		top:195px;
	}
	
	.slider .flex-caption {
		margin: 0 auto;	
	}
	
	.slider-box h3 {
		font-size:18px;	
		line-height:20px;
	}
	
	.slider-box {
		height:180px;
		background:none;
		z-index:555;
		position:relative;	
		padding-right:20px;
	}
	
	
	.news-item img {
		width:166px;	
	}
	
	.home .newshead .picture{
		min-height:	120px !important;
		height: 120px !important;
		width: 170px !important;
		min-width: 170px !important;
	}
	
	.footer-bottom {
		height:100px;	
	}
	
	.footer-contact {
		margin: 8px 15px;
		border-top:none;
		padding-top:5px;	
	}
	
	.about {
		width:94%;	
	}

	.span3.contact-form {
		width:220px !important;
	}
	
	.contact-form input.m4jInputField {
		height:30px !important;
		width:220px !important;
		padding-top:7px !important; 
	}

	body.inquire-now input.m4jInputField, body.inquire-now select.m4jSelection, body.inquire-now textarea.m4jTextArea, body.inquire-now .m4jRadioWrap, body.inquire-now .m4jCheckboxWrap,
	body.apply-now input.m4jInputField, body.apply-now select.m4jSelection, body.apply-now textarea.m4jTextArea, body.apply-now .m4jRadioWrap, body.apply-now .m4jCheckboxWrap {
		width:253px !important;
	}

	body.inquire-now .m4jSelectItem {
		white-space:normal;
	}

	#phocagallery-module-ri .phocagallery-box-file {
		width:170px !important;
	}

	.phocagallery-box-file-first, .phocagallery-box-file-second, .phocagallery-box-file-third {
	    height: auto !important;
	    margin: 5px auto !important;
	    width: 150px !important;
	}

	.moduletablenow-twitter, .moduletablenow-facebook, .moduletablenow-blog, .fb_iframe_widget iframe {
		width:170px !important;
	}

	#jusertube-scroller-1 div.masksinglethumb {
		width:550px !important;
	}

	#jusertube-scroller-1 div.boxsinglethumb {
		width:558px !important;
	}

	#jusertube-scroller-1 div.boxsinglethumb > div {
		width:186px !important;
	}

	#jusertube-scroller-1 div.imgbox, #jusertube-scroller-1 div.vid_icon {
		width:170px !important;
		height:82px !important;
	}

	#jusertube-scroller-1 div.imgbox a img {
		width:170px !important;
		height:auto !important;
	}

	#jusertube-scroller-1 div.vid_icon {
		width:170px !important;
	}

	#jusertube-scroller-1 div.titlebelow {
		width:170px !important;
		height:auto !important;
	}

	html#facebook > body.plugin > div._li > div.pluginSkinLight > div._4s7c > div.phm.pluginLikeboxStream {
    	display: none !important;
	}

	
	/*.m4j_form_wrap {
		width:500px !important;	
	}*/
	
	
	.page-header h2 {
		margin-top:-10px;
		background-color:#ffffff;
		color:#1b1b1b;	
	}
	.breadcrumb {
    width: 715px;}
	
	#offlajn-ajax-search223 {
    position: absolute;
    right: 12px;
    top: -80px;
}
		
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
	body.contact-us input.m4jInputField, textarea.m4jTextArea {
		width:275px !important;
	}	

	nav.mobile-nav ul li a {
		font-size:16px !important;
		line-height:25px !important;
	}

	.items-row .item {
		min-height:0;
	}
}
 
/* Landscape phones and down */
@media (max-width: 480px) { 
#pfmTemplate_2 input[type="text"] {height:40px!important;}
.request-information {box-shadow:none;}
.eventshome {position:inherit;}
.short-form {margin-top:0px;}
.m4j_header_text {padding:0px!important;}
.apply-now-butt {top:0px; position:inherit; height:35px; padding:8px 0px 0px 9px;}
	.news h2, 
	.about h3,
	.social h3,
	.contact-form h3,
	.mobile-home,
	.page-header h2 {
		text-align:center;
		background-color:#192163;
		width:100%;
		line-height:30px;
		color:#ffffff;
		font-size:14px;
		text-transform:uppercase;
	}
	
	.page-header h2 {
		margin-top: -20px;	
	}
	
	.banner {
		display:none;	
	}
	
	.slider {
		height:500px;	
	}
		
	.slider-box {
		background:none;
		padding:10px;
		height:156px;
		margin-bottom:20px;
	
	}
	
	.slider-box h2,
	.slider-box h3,
	.slider-box p {
		color:#515151;	
	}
	
	.slider-box h3 {
		font-size:20px;	
	}
	
	.slider-box.green {
		background-color:transparent;	
		border-left:7px solid #5e831d;	
	}
	
	.slider-box.orange {
		background-color:transparent;	
		border-left:7px solid #fb8405;	
	}
	
	.slider-box.blue {
		background-color:transparent;	
		border-left:7px solid #032366;	
	}
	
	.slider-box a {
		background-color:#d6d6d6;
		color:#000000;	
	}
	
	.news-item img {
		max-width:260px;
		height:auto;
		width:260px;	
	}
	
	.news .newslist .infoleft {
		margin-top:40px;	
	}
	
	.news-item .newsdate {
		bottom:35px;	
	}

	.read-more,
	.news-item .link a {
		display:inline-block;
		width:100%;	
		background-color:#d6d6d6;
		color:#000000;	
		padding:5px;
		text-align:center;
		position:relative;
		bottom:0px;
	}

	.contact-form input.m4jInputField {
		height:40px !important;
		width:277px !important;
		padding:4px 0px 4px 30px !important;
	}
	
	/*.m4j_form_wrap {
		width:260px !important;	
	}*/
	
	
	.contact-form input[type="submit"] {
		width:100%;
		padding:10px 0px;	
		margin-left:0px;
	}
	

	body.summer-at-gra input.m4jInputField, body.staying-in-touch input.m4jInputField {
		width:200px !important;
	}
	
		.footer-bottom {
		height:100px;	
	}
	
	.footer-contact {
		margin: 8px 15px;
		border-top:none;
		padding-top:5px;	
	}
	
	.social-list:before,
	.social-list:after {
	  display: table;
	  line-height: 0;
	  content: "";
	}

	.social-list:after {
	  clear: both;
	}
	
	
	.social-list li {
		display:block;
		width:84px;
		height:84px;
		float:left;
		margin-right:3px;
	}
	
	.social-list li:last-child {
		display:none;	
	}
	
	.social-list a {
		display:block;
		width:84;
		height:84px;
		background: #d6d6d6 url('../images/mobile-social.png') no-repeat !important;
		text-indent: -9999px;	
	}
	
	.social-list a.fb {
		background-position: 17px 20px !important;	
	}
	
	.social-list a.twitter {
		background-position: 17px -46px !important;	
	}
	
	.social-list a.send-email{
		background-position: 17px -107px !important;	
	}
	
	.about {
		display:none;	
	}
	
	.footer-bottom {
		background-color:transparent;
		background:none;	
	}
	
	.footer-bottom p {
		color:#f2f2f2;
		text-shadow:none;	
	}
	.breadcrumb {display:none;}
	.category-title {/*display:none;*/ background-color: transparent;
    color: #000000;
    display: block;
    padding: 0;
    position: relative;
    top: 40px;
	margin-top:15px;
	}
	.sidebar-left {margin-top:30px;}
    .footer-mobile {border:none;}
    .blog .category-desc {padding:8px 0;}
	
}

@media (min-width: 1200px) { 
 	.content-area {
		width:690px;
		margin-left:30px;	
	}
	.blog  .content-area {
		width:700px;
		margin-left:20px;
	}
}