/*
 Description:  Desktop-first responsive styles for wsm theme
 Version:      1.0.0
*/
/* TABLE OF CONTENTS

1. Large Desktop - min-width: 1300px
2. Desktop - max-width: 1200px

3. Tablet and Dekstop - min-width: 768px, max-width: 1300px (Exception)
4. Large Tablet - max-width: 991px
5. Tablet - max-width: 768px (Changed to 991px by client)
6. Tablet - max-width: 767px (Exception)

7. Mobile - max-width: 640px
8. Small Mobile - max-width: 480px
9. Stone Age Mobile - max-width: 320px

*/

/* -------------------------------------------------------------------------- *
 * 1. Large Desktop - min-width: 1300px                                       *
 * -------------------------------------------------------------------------- */

@media screen and ( min-width: 1300px ) {
   
}

/* -------------------------------------------------------------------------- *
 * 2. Desktop - max-width: 1200px                                             *
 * -------------------------------------------------------------------------- */

@media screen and ( max-width: 1200px ) {

	.colorgrid .brandTitle {
		font-size: 18px;
	}


}

/*parent theme fix*/
@media (max-width: 1199px) {
	.search-active {
	    left: inherit;
	}
}
@media (min-width: 1199px) {
	.wr-megamenu-container {
		display: block!important;
	}
}

/* -------------------------------------------------------------------------- *
 * 3. Tablet and Dekstop - min-width: 768px, max-width: 1300px (Exception)    *
 * -------------------------------------------------------------------------- */

@media screen and ( min-width: 768px ) and ( max-width: 1300px ) {
    
}

/* -------------------------------------------------------------------------- *
 * 4. Large Tablet - max-width: 991px                                         *
 * -------------------------------------------------------------------------- */

@media screen and ( max-width: 991px ) {
   .container {
       width: 100%;
   }
	
	.page-box .wr-megamenu-container ul.wr-mega-menu > li {
		position: static;
	}
	.colorgrid {
		margin-bottom: 30px;
	}

	.newsletter-wg-title {
		text-align: center;
		margin-bottom: 15px;
	}

	.main-content-bottom-frontpage .newsletter {
		padding-top: 20px;
		padding-bottom: 30px;
		padding-left: 0px;
	}

	.main-content-bottom-frontpage form {
		margin-left: 30px;
		margin-right: 30px;
	}

	.internal-txt {
		font-size: 18px;
		line-height: 36px;
	}

	form .newsletter-field {
		padding-left: 5px;
		padding-right: 5px;
	}

	#main a.listLinks {
    	font-size: 16px;
    	padding: 10px;
	}

	#sidebar-right .newsletter .submitBtn {
		font-size: 12px;
	}

	.detail-profile .profile-image {
		float: none;
	}

}

/* -------------------------------------------------------------------------- *
 * 5. Tablet - max-width: 768px (Changed to 991px by client)                  *
 * -------------------------------------------------------------------------- */

@media screen and ( max-width: 768px ) {
   
}

/* -------------------------------------------------------------------------- *
 * 6. Tablet - max-width: 767px (Exception)                                   *
 * -------------------------------------------------------------------------- */

@media screen and ( min-width: 768px ){
	.right-box .wr-megamenu-container{
		display: block!important;
	}
}

@media screen and ( max-width: 767px ) {

	h2.slider-pageTitle {
		font-size: 36px;
		line-height: 56px;
	}

		.frontpage-tweets .latest-tweets {
	  		height: 70px;
		}

	.right-box .wr-megamenu-inner {
		display: none!important;
	}

	.pre-header, .search-header{
		display: none;
	}
   
   
   .right-box .it-responsive-mega {
		display: block;
   }
   .right-box .collapse {
   	display: block;
   	visibility: visible;
   }
   .right-box .collapsing {
		height:25px;
   }
	
	footer .navbar-nav {
		margin: 0;
	}

	#footer .phone, #footer .address {
	    width: auto; 
	    padding-left: 0;
	    margin: 0;
	    line-height: 20px;
	}

    .footer-bottom-right span.mail {
		margin:0;
    }
	
	.right-box-wrapper, .right-box, .right-box .collapse {
		position: static;
	}

	.header-wrapper {
		position: relative;
	}

	.right-box .wr-megamenu-container {
	    display: block;
	    position: absolute;
	    left: 0;
	    top: 68px;
	}
	
   	.right-box .wr-megamenu-container {
		display: none;
   	}
	
	.page-box .wr-megamenu-container ul.wr-mega-menu > li {
    	position: static;
    	width: 50%;
    	background-color: #4F5D6B;
	}

	.page-box .wr-megamenu-container ul.wr-mega-menu > li.wr-megamenu-item > a.menu-item-link {
    	padding: 10px 20px;
    	font-weight: bold;
	}


	h2.pageTitle-inner {
		font-size: 36px;
	}

	.main-content-bottom-frontpage .widget h2 {
		font-size: 20px;
	}

	.main-content-bottom-frontpage .newsletter-field input {
		margin-bottom: 10px;
	}
	
	.accreditation-img {
    	width: auto;
	}

	.before-title, .after-title {
    	vertical-align: middle;
    	margin: 0 15px;
    	width: 40px;
	}
	
	.content-col {
		padding-left: 15px;
	}

	.events-and-news h3 {
    	margin: 0 0 5px;
	}

	ul.single-item-filter li:last-child {
		display: none;
	}

	.wr-megamenu-container {
    	background-color: #4F5D6B;
	}

	.wr-megamenu-container .pre-header{
		display: block!important;
		clear: both;
		background-color: #4F5D6B; 
	}
	
	.wr-megamenu-container .pre-header-left {
		text-align: center;
	}
	
	.wr-megamenu-container .pre-header-left .widget{
		display: inline-block;
		overflow: auto;
	}

	.wr-megamenu-container .pre-header-left .widget a {
		float: left;
	}

	.wr-megamenu-container .pre-header-left .widget a .fa{
		color: #A1A287;
		font-size: 36px;
		margin: 20px 10px 0;
	}

	.wr-megamenu-container .pre-header-right {
		text-align: center;
	}
	.wr-megamenu-container .contact-links>span {
    	display: block;
	}
	.wr-megamenu-container .contact-links span a{
		display: inline-block;
		color: #A1A287!important;
	}
	
	.header .right-box .wr-megamenu-container form.search-form {
		display: block!important;
		width: 90%;
		margin: 20px auto;
		height: 40px;
	}
	.header .right-box .wr-megamenu-container form.search-form input{
		border-radius: 0;
	}
	
	.header .wr-megamenu-container .search-form .search-submit {
		top:5px;
		color: #000;
	}
}

@media screen and ( max-width: 680px ) {
	
   
}

/* -------------------------------------------------------------------------- *
 * 7. Mobile - max-width: 640px                                               *
 * -------------------------------------------------------------------------- */

@media screen and ( max-width: 640px ) {

   
}

@media screen and ( max-width: 600px ) {

   .block-brand-btns a{
		width: 100%;
		text-align: center;
   }
   .brand-box-btn span {
		width: 75px;
   }

	.footer-bottom-left {
		width: 100%;
		position: relative;
		left: 0;
		text-align: center;
	}

	.footer-bottom-right {
		width: 100%;
		position: relative;
		left: 0;
		text-align: center;
	}

	.footer-contacts {
		float: right;
		width: 100%;
	}
	.soc-links {
		width: 100%;
		
	}

	.footer-contacts span {
		width: 100%;
		display: inline-block;
	}
	.footer-contacts span:last-child{
		margin: 0px;
	}

	.soc-links i{
		font-size: 32px;
		padding: 20px 15px 30px;
	}

	h2.pageTitle-inner {
		font-size: 28px;
	}

}


@media screen and ( min-width: 640px ) and ( max-width: 680px ) {
    
}

@media screen and ( max-width: 560px ) {

	.footer-menu {
		width: 50%;
		min-height: 155px;

	}
   
}

/* -------------------------------------------------------------------------- *
 * 8. Small Mobile - max-width: 480px                                         *
 * -------------------------------------------------------------------------- */

@media screen and ( max-width: 480px ) {

	h2.pageTitle-inner {
		font-size: 22px;
	}


	.content-part {
    	overflow: auto;
    	padding-left: 15px;
    	padding-right: 15px;
    	width: 100%;
	}

	.blog-page .date-col {
    	width: auto;
    	margin-bottom: 20px;
	}

	.blog-author-img {
		width: 40px;
		float: left;
		margin-right: 20px;
		margin-left: 15px;
	}

	.blog-post-author {
		float: left;
		overflow: auto;
		margin-right: 30px;
	}

	.blog-page .date-col .blog-post-author label,
	.blog-page .date-col .blog-date-mobile label {
		margin-top: 0;
	}

	.blog-date-mobile {
    	float: left;
	}
	.filter-elements {
		width: 80%;
		margin: 0 auto;
	}

	.filter-elements>div {
    	margin-bottom: 50px;
    	width: 100%;
	}
	.detail-profile .profile-image img {
	    float: none; 
    	margin: 0 auto;
    	display: block;
	}
    
}
@media screen and ( max-width: 380px ) {
   

}
/* -------------------------------------------------------------------------- *
 * 9. Stone Age Mobile - max-width: 320px                                     *
 * -------------------------------------------------------------------------- */

@media screen and ( max-width: 320px ) {
   
}


@media only screen and (max-width: 783px) {
	
	nav .it-responsive-mega {
		display: none;
	}

	nav .wr-megamenu-container ul li {
		width: auto;
	}

	nav .wr-megamenu-container ul li {
		border: 0;
	}

	nav .wr-megamenu-container a.menu-item-link {
		margin: 0;
	}

	nav .wr-mega-menu .wr-menu-down {
		display: none;
	}

	.navbar-collapse {
		padding-left: 0;
	}
	
	.wr-megamenu-container {
		margin-top: 10px;
	}

	.inner-header .wr-megamenu-container {
		margin-top: 0px;
	}



	.wr-megamenu-container ul.wr-mega-menu ul.sub-menu, .wr-megamenu-inner {
	    border-color: #ddd;
	    border-style: solid;
	    border-width: 0 1px 1px 1px;
	    display: block!important;
	    visibility: hidden;
	    z-index: 9999;
	    position: absolute;
	    top: auto;
	    margin: 0;
	    padding: 0;
	    filter: alpha(opacity=0);
	    -webkit-opacity: 0;
	    -moz-opacity: 0;
	    -ms-opacity: 0;
	    -o-opacity: 0;
	    opacity: 0;
	    -webkit-transform: translateY(40px);
	    -moz-transform: translateY(40px);
	    -ms-transform: translateY(40px);
	    -o-transform: translateY(40px);
	    transform: translateY(40px);
	    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	    -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	    -ms-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	    -o-box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	    -webkit-transition: -moz-transform 0.3s;
	    -moz-transition: -moz-transform 0.3s;
	    -ms-transition: -ms-transform 0.3s;
	    -o-transition: -o-transform 0.3s;
	    transition: transform 0.3s 0s;
	}

	.wr-megamenu-container ul.wr-mega-menu li:hover > ul.sub-menu, .wr-megamenu-container ul.wr-mega-menu li:hover > .wr-megamenu-inner {
	    visibility: visible;
	    filter: alpha(opacity=100);
	    -webkit-opacity: 1;
	    -moz-opacity: 1;
	    -ms-opacity: 1;
	    -o-opacity: 1;
	    opacity: 1;
	    -webkit-transform: translateY(0);
	    -moz-transform: translateY(0);
	    -ms-transform: translateY(0);
	    -o-transform: translateY(0);
	    transform: translateY(0);
	}

	.right-box .it-responsive-mega {
	    background: url(../images/mobile-menu-icon.png) center no-repeat;
	    background-size: contain;
	    width: 25px;
	    height: 25px;
	}

}
 
