/* --------------------------------------------------------------- */
/* Large Tablet : from 840px to 1023px
/* --------------------------------------------------------------- */

@media only screen and (max-width: 1023px) {
	html {
		overflow: scroll;
	}

    body {
		width: 100%;
		min-width: 319px;
		overflow-y: hidden; 
	}
	
    /* ----------------------------- */
    /* Header styles
    /* ----------------------------- */
	
	body .wrapper {
		position: relative;
		width: 100%;
		min-width: 319px;
		margin: 0 auto;
	}
	
    header {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		
		width: 100%;
		min-width: 319px;
		height: 60px;
		margin-left: 0;
		padding-bottom: 0.5em;
        background-color: #fff;
		
		-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 6px 5px 0 rgba(0,0,0,.24);
		-moz-box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 6px 5px 0 rgba(0,0,0,.24);
		box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 6px 5px 0 rgba(0,0,0,.24);
		
		z-index: 11;
    }
    
    .logo {

        padding-top: 0.45em;
    }
    
    .logo-icon {
        display: inline-block;
        float: left;
    }

    .logo-icon a img { 

        width: 4.75em;        
        padding-left: 1em;
        padding-right: 0.25em
    }
    
    .logo-icon h1 br {
        display: none;
    }

    h1 {        
        padding-top: 0.50em;
        font-family: 'PTSansBold', Arial, Helvetica, sans-serif;     
        font-size: 1.35em;
        text-transform: uppercase;
        vertical-align: middle;
    }

    h1 .subtitle {
        display: inline-block;
        margin-left: 0.25em;
        font-size: 1em;
        text-transform: uppercase;
    }   
	
	/* ----------------------------- */
    /* Mobile navigation styles
    /* ----------------------------- */
	
    .main-nav { display: none; }
    
    .mobile-nav-icon {
        display: inline-block;
        position: fixed;
        top: 0.5em;
        right: 0.5em;
		
        padding: 0.25em;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
    
    /* Change icon background color on click */
    .mobile-nav-icon-blue-bkg {
        background-color: #008FD5;
    }
    
    .mobile-nav-icon i {
        color: #008FD5;
    }
    
    /* Change icon font color on click */
    i.nav-icon-white {
        color: #fff;
    }
    
    .main-nav {
        position: fixed;
        width: 200px;
        top: 50px;
        right: 0.5em;
		-webkit-box-shadow: -3px 3px 12px 0px rgba(0,0,0,0.80);
		-moz-box-shadow: -3px 3px 12px 0px rgba(0,0,0,0.80);
		box-shadow: -3px 3px 12px 0px rgba(0,0,0,0.80);
    }
	
    .main-nav li {
        display: block;
		overflow: hidden;
        z-index: 1;
    }
    
    .navi > ul > li {
        display: block;
        list-style: none;
		
    }

    .navi > ul > li > a {
		display: block;
        height: auto;
        padding-top: 0.75em;
		padding-right: 1.5em;
        padding-bottom: 0.75em;
        padding-left: 0.75em;
        border-left: 8px solid transparent;
		vertical-align: text-top;
    }

	.navi > ul > li > a {
		font-family: 'PTSans', Verdana, Tahoma, Helvetica, sans-serif;
		font-size: 1em;
		color: #555;
		text-align: center;
		text-decoration: none;
		
	}
	
    .navi > ul > li > a {
        background-color: rgba(0,143,213, 1);
        color: #fff;
        text-align: left;
    }

    .main-nav li a.active {
    	border-left: 8px solid rgba(56,200,87, 1);
    	background-color: rgba(0,143,213, 1);
    }	
	
	.main-nav > li {
		border-bottom: 1px solid rgba(255,255,255, 0.60);
	}
	
	.main-nav > li:last-child {
		border-bottom: none;
	}
    
    .navi > ul > li > a > br {
        display: none;
    }
	
	/*.ink styles - the elements which will create the ripple effect. The size and position of these elements will be set by the JS code. Initially these elements will be scaled down to 0% and later animated to large fading circles on user click.*/
	.ink {
		display: block; position: absolute;
		background: hsl(180, 40%, 80%);
		border-radius: 100%;
		transform: scale(0);
	}

	/*animation effect*/
	.ink.animate {animation: ripple 0.65s linear;}
	
	@keyframes ripple {
		/*scale the element to 250% to safely cover the entire link and fade it out*/
		100% {opacity: 0; transform: scale(2.5);}
	}

    .cross {
        display: none;
    }
	
	.with--sidebar .site-cache {
		position: fixed;
		width: 100%;
		height: 100vh;
		top: 0;
		left: 0;
		
		background-image: -webkit-repeating-linear-gradient(rgba(0, 0, 0, 0.35), rgba(55, 55, 55, 0.25));
		background-image: repeating-linear-gradient(rgba(0, 0, 0, 0.35), rgba(55, 55, 55, 0.25));
		background-size: cover;
		background-position: cover;
		background-attachment: fixed;
		z-index: 6;
  	}
	
	/* Sticky navi */
    .sticky {
        position: fixed;
        width: 100%;    
        left: 0;
        top: 0;
        opacity: 1;
		
		-webkit-box-shadow: initial;
		-moz-box-shadow: initial;
		box-shadow: initial;

		-webkit-animation-duration: inherited;
	    animation-duration: inherited;
	    -webkit-animation-fill-mode: none;
	    animation-fill-mode: none;
	    -webkit-animation: none;
	    -apple-animation: none;
	    animation: none;
	    overflow: visible;
    }

    .sticky > header {
        position: relative;
        width: 100%;
        float: left;
		min-width: 319px;
		margin-left: 0;
		margin-right: 0;
		padding-bottom: 0.5em;
        background-color: #fff;
		
		-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 6px 5px 0 rgba(0,0,0,.24);
		-moz-box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 6px 5px 0 rgba(0,0,0,.24);
		box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 6px 5px 0 rgba(0,0,0,.24);	
	
    }

    .sticky > header > .logo {
		float: left;
        padding-top: 0.5em; 
        padding-right: 1em;
        vertical-align: text-bottom;
		text-align: left;
    }

    .sticky > header > .logo > .logo-icon > a > img {
        display: inline-block;
        float: left;
        
        width: 4.75em;
        height: auto;
        padding-left: 1em;
        padding-right: 0.25em
    }

    .sticky > header > .logo > .logo-icon > h1 {
        display: inline-block;
        padding-top: 0.45em;
        font-family: 'PTSansBold', Arial, Helvetica, sans-serif;
        font-weight: 900;
        font-size: 1.35em;
        text-transform: uppercase;
        vertical-align: middle;
    }

    .sticky > header > nav > .navi > ul > li > a { 
        display: inline-block;
        width: 100%;
        height: auto;
        padding-top: 0.75em;
        padding-right: 1.5em;
        padding-bottom: 0.75em;
        padding-left: 0.75em;
        vertical-align: text-top;
		text-align: left;
    }
	
	/* ----------------------------- */
	/* Banner styles
	/* ----------------------------- */

	.banner {
	   display: none;
	} 

	.banner-wrapper {
	 	margin-top: 80px;
	}
 
    
    /* ----------------------------- */
	/* Main menu styles
	/* ----------------------------- */

	.menu-wrapper {
	    display: block;
	}
   
	.menu {
		position: fixed;
		bottom: 0;
		width: 100%;
		min-width: 319px;
		height: auto;
		margin-top: -5.5em;
		margin-right: 0;
		margin-left: 0;
		cursor: pointer;
		
		-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 -5px 5px 0 rgba(0,0,0,.24);
		-moz-box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 -5px 5px 0 rgba(0,0,0,.24);
		box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 -5px 5px 0 rgba(0,0,0,.24);
		
		z-index: 15;
	}	
	
	.menu-title,
	.menu-address,
	.menu-cross-odd,
	.menu-cross-even {
		display: none;
	}
	
	#menu-img {
		display: inline-block;
		width: 2em;
		height: 2.5em;
		vertical-align: baseline;
	}

	#menu-img-baza {
		display: inline-block;
		width: 2.75em;
		height: 3.25em;
		margin-bottom: 0;
		padding-bottom: 0.75em;
		text-align: center;
	}
	
	ul.menu-list > li {
		display: inline-block;
		float: left;
		position: relative;
		width: 25%;
		height: 4em;

		padding-top: 0.75em;
		padding-right: 1em;
		padding-left: 1em;
		
		text-align: center;
		text-decoration: none;
		list-style: none;
		vertical-align: middle;
	}
	
	ul.menu-list > li:nth-child(odd) {
		border-right: 2px solid rbga(255,255,255, 0.5);
		background-color: #008FD5;
	}

	ul.menu-list > li:nth-child(even) {
		border-left: 2px solid rbga(255,255,255, 0.5);
		background-color: #008FD5;
	}
	
	/* ----------------------------- */
	/* Content styles
	/* ----------------------------- */

	.content {
		display: block;
		width: 100%;
		min-width: 319px;
		margin: 0 auto;
		margin-top: 0;
		padding-left: 1em;
		padding-right: 1em;
		
		background-color: #fff;
	}

	.section-title {
		font-size: 1.05em;
	}

	.contacts-section {
		width: 100%;
		margin-bottom: 1.5em;
	}

	.section-title {
		font-size: 1.15em;
	}

	.info-title {
		font-size: 1.05em;
	}	

	.info-sub-title {
		font-size: 0.95em;
	}

	.inner-content {
		font-size: 0.95em;
	}

	.map-title {
		font-size: 1.15em;
	}
	


	/* ----------------------------- */
	/* Aside menu styles
	/* ----------------------------- */

	.aside {
	  	display: none;	  	
	}

	


	/* -------------------------------- */
	/* Phone call and Navigation styles
	/* -------------------------------- */

	.phone-call-btn {
		display: inline-block;
		position: fixed;
		top: 79px;
		right: 8px;
		width: 50px;
		height: 50px;
		background-color: #38c857;
		border-radius: 50%;
		text-align: center;
		/*box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.40);*/
		box-shadow: 0 6px 11px 0 rgba(0,0,0,0.15), 0 4px 8px 0 rgba(0,0,0,0.4);
		z-index: 6;
	}

	.phone-call-btn .fa-phone {
		display: inline-block;
		padding-top: 0.4em;
		font-size: 1.75em;
		color: #fff;
		vertical-align: middle;
	}

	.map-marker-btn {
		display: inline-block;
		position: fixed;
		top: 145px;
		right: 8px;
		width: 50px;
		height: 50px;
		background-color: rgba(32,149,240, 1);	
		border-radius: 50%;
		text-align: center;
		/*box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.40);*/
		box-shadow: 0 6px 11px 0 rgba(0,0,0,0.15), 0 4px 8px 0 rgba(0,0,0,0.4);
		z-index: 6;
	}

	.map-marker-btn .fa-map-marker {
		display: inline-block;
		padding-top: 0.33em;
		font-size: 1.75em;
		color: #fff;
		vertical-align: middle;
	}

	/* ----------------------------- */
	/* Phone list styles
	/* ----------------------------- */

	.phone-list {
		display: none;
		position: fixed;
		top: 85px;
		right: 72px; 
		width: 225px;
		height: auto;		
		
		padding: 1em;
		padding-bottom: 1.25em;
		background-color: rgba(255,255,255,0.9);
		box-shadow: 0 10px 20px rgba(0,0,0,0.21), 0 6px 6px rgba(0,0,0,0.29);
		z-index: 2;
	}

	.phone-list:after {
		content: '';
		display: block;  
		position: absolute;
		right: -20px;
		top: 10px;
		margin-top: 0;
		width: 0;
		height: 0;
		border-top: 10px solid transparent;
		border-right: 10px solid transparent;
		border-bottom: 10px solid transparent;
		border-left: 10px solid rgba(255,255,255,0.9);
	}

	.dial-shortcut {
		display: inline-block;
		margin-top: 2px;
		margin-right: 1em; 
		font-size: 1.25em;
		color: #fff;
		vertical-align: bottom;
	}

	.phone-list-title {
		display: inline-block;
		width: 100%;
		margin: 5px auto;
		font-family: 'PTSansBold', Arial, Helvetica, sans-serif;
		font-size: 1.15em;
		text-align: center; 
	}

	.phone-list-separator {
		height: 11px;
	}

	.phones {
		display: inline-block;
		width: 100%;
		margin: 0 auto;
		font-family: 'PTSans', Verdana, Tahoma, Helvetica, sans-serif;
		text-align: center; 
	}

	.phones-dial {
		display: inline-block;
		margin-bottom: 12px;
		padding-top: 8px; 
		padding-bottom: 0px;
		padding-left: 1em;
		padding-right: 1em;
		border: 1px solid #38c857;
		height: 43px;
		background-color: #38c857;
		font-size: 1em;
		color: #fff;
		vertical-align: middle;		
	}

	/* ----------------------------- */
	/* Footer styles
	/* ----------------------------- */

	footer {
		display: block;
		position: relative;
		width: 100%;
		margin: 0 auto;
		background-color: #e0e0e0;
		margin-bottom: 50px;

		box-shadow: 0 -1px 3px rgba(0,0,0,0.12), 0 -1px 2px rgba(0,0,0,0.24);
		z-index: 5;
	}

	footer .footer-wrapper {
		display: block;
		width: 100%;
		position: relative;
		margin: 0 auto;
		padding-top: 1.5em;
		padding-left: 1em;
		padding-right: 0;
		padding-bottom: 1em;
	}

	.footer-address,
	.contacts, 
	.copyright {
		display: inline-block;
	}

	.contacts {
		position: relative;
		width: 275px;
		height: 235px;
		vertical-align: top;
	}

	.telephones {
		display: inline-block;
		margin-bottom: 1em;
	}

	.contacts-filler {
		display: none;
	}

	.telephones a {
		font-family: 'PTSans', Verdana, Tahoma, Helvetica, sans-serif;
		font-size: 1em;
		color: #333;
		text-decoration: none;
		pointer-events: none;
	   	cursor: default;
	}

	.footer-address {
		margin-right: 1.25em;
	}

	.base-address {
		font-weight: 700;
	}

	.base-address {
		margin-right: 5px;
		margin-bottom: 0.25em;
		display: block;
	}

	.base-address,
	.base-address-location {
		font-family: 'PTSans', Verdana, Tahoma, Helvetica, sans-serif;
		font-size: 1em;	
		color: #333;
		text-shadow: 0px 1px 1px rgba(100, 100, 100, 0.2);
		vertical-align: top;
	}

	.base-address-location {
		display: inline-block;
	}


	.to-map {
		display: inline-block;
		margin-bottom: 1em;
		font-family: 'PTSans', Verdana, Tahoma, Helvetica, sans-serif;
		font-size: 1em;
		text-shadow: 0px 1px 1px rgba(100, 100, 100, 0.2);
	
	}

	.back-to-top {
		display: inline-block;
		position: absolute;
		top: 1.5em;
		right: 16px;
		border: 3px solid #999;
		border-radius: 5px;
		padding: 4px;
		color: #999;
		z-index: 1;
	}

	.back-to-top:hover {
		cursor: pointer;
		border: 3px solid #555;
		color: #555;
		transition: all 0.8s, ease;
	}

	.fa-arrow-up {
		font-size: 2em;
	}

	.copyright {
		display: block;
		margin-top: 0;
		position: absolute;
		bottom: 0;
		left: 0;	
		font-family: 'PTSans', Verdana, Tahoma, Helvetica, sans-serif;
		font-size: 1em;
		text-shadow: 0px 1px 1px rgba(100, 100, 100, 0.2);
	}

	.footer-address h3,
	.contacts h3 {
		margin-bottom: 1em;
		font-family: 'PTSansBold', Arial, Helvetica, sans-serif;
		font-size: 1.15em;
		font-weight: bolder;
		color: #333;
		text-shadow: 0px 1px 1px rgba(100, 100, 100, 0.2);
	}

	.telephones a {
		color: #008FD5;
		pointer-events: auto;
		text-decoration: underline;
		cursor: pointer;

	}

	.footer-address .to-map a {
		color: #008FD5;
	} 

	.copyright a {
		color: #333;
		text-decoration: underline;
	}

	.copyright .copy-sign {
		display: inline-block;
		margin-right: 5px;
		margin-bottom: 0;
		vertical-align: middle;
	}
}

/* ------------------------------------------------------- */
/* Media queries for mobile phone at landscape orientation
/* ------------------------------------------------------- */

@media only screen and (max-height: 435px) {
	.navi > ul {
		height: 300px;
		overflow-y: scroll;
	}
}


@media only screen and (max-height: 414px) {
	.navi > ul {
		height: 280px;
		overflow-y: scroll;
	}
}


@media only screen and (max-height: 410px) {
	.navi > ul {
		height: 247px;
		overflow-y: scroll;
	}
}

@media only screen and (max-height: 375px) {
	.navi > ul {
		height: 235px;
		overflow-y: scroll;
	}
}

@media only screen and (max-height: 360px) {
	.navi > ul {
		height: 237px;
		overflow-y: scroll;
		-webkit-overflow-scrolling:touch; /* mobile safari */
	}
}

@media only screen and (max-height: 320px) {
	.navi > ul {
		height: 193px;
		overflow-y: scroll;
		-webkit-overflow-scrolling:touch; /* mobile safari */
	}
}