@media screen and (max-width:1200px){
	#sub-header p, #sub-header span{
		font-size:0.8em;
	}

	.social-icon-header img{
		width:10%;
	}

	
	.social-icon-footer img{
		width:8%;
	}

	.navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .active>.nav-link{
		font-size: 11px;
    padding: 0 8px;
	}

	#footer p {
		color: #fff;
		font-size: 12px;
	}
}

@media screen and (max-width:1000px){
    .logo img {
		margin-top: 16px;
	}
	
	.social-icon-footer{
		float: left;
	}

.navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .active>.nav-link{
		font-size:16px;
	}
	
	.m-toggle{
	    width: 100%;
    text-align: right;
	}
	
	.nav-link{
	    padding:0 1em;
	}
	
	.navbar{
	    padding: .5rem .5rem;
	}
	
	.social-icon-footer img {
    width: 18%;
}
}




@media screen and (max-width:771px){
	
	
	#sub-header{
	    	background-image: url("../img/banner-bg.jpg");
	}

	.banner-discrp {
		width: 90%;
	}
	
	.banner-discrp h3 {
    font-size: 2em;
}
	.social-icon-header img {
		width: 10%;
	}

	nav.navbar.navbar-expand-lg.navbar-light {
		float: right;
	}
	
	.abt-logo{
		text-align: center;
	}
	
	#membership h4{
	    font-size:1.2em;
	}





	.social-icon-footer img {
		width: 20%;
	}


	
	p.book {
    text-align: center !important;
}

	#sub-header p, #sub-header span{
		font-size:0.7em;
	}

}

@media screen and (min-width:768px){
    #about img{
        width:100%;
    }
    
    
	
	
}

@media screen and (max-width:768px){
    
	
	#sub-header p, #sub-header span{
		font-size:0.7em;
	}
	.social-icon-header img {
    width: 10%;
}
	
	
}

@media screen and (max-width:767px){
    .logo img {
		position: absolute;
		width: 30%;
			margin-top: 30px;
	}
	
	.dmca-img{
    float:none;
        padding: 2%;
}


.dmca-img img {
    width: 14%;
    margin-left: 7%;
}

.social-icon-footer{
		width: 100%;
		margin-top:2%;
	}

	.social-icon-footer img {
		width: 6%;
	}
	.social-icon-header img {
    width: 5%;
}

	#footer p{
		text-align: center;
	}
}

@media screen and (min-width:1200px){
    .navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .active>.nav-link{
        padding:0 12px;
    }
}


@media screen and (max-width:500px){
	.banner-discrp h3 {
		font-size: 2em;
	}
	
	.dmca-img img {
    width: 20%;
}
	
		#about h3{
		text-align:center;
	}
		#sub-header p, #sub-header span {
    font-size: 0.7em;
    margin-bottom: 0;
}

.logo img {
		position: absolute;
		width: 30%;
			margin-top: 30px;
	}
	
	.container-fluid{
	    padding: 0 !important;
	}
	.container{
	    padding: 3% 3% !important;
	}
	#header{
	    padding: 0 3% !important;
	}
	

	.social-icon-footer{
		width: 100%;
		margin-top:2%;
	}

	.social-icon-footer img {
		width: 10%;
	}

	.book img{
		width:80%;
	}
	
	.navbar-nav{
	    text-align:right;
	}
	
	.banner-discrp h2 {
    font-size: 2.7em;
	}

}


@media screen and (max-width:400px){
    .banner-discrp h3 {
    font-size: 1.2em;
}
	#sub-header p, #sub-header span {
    font-size: 0.6em;
    margin-bottom: 0;
}
.dmca-img img {
    width: 18%;
}
}

@media screen and (max-width:350px){
	.banner-discrp h3{
		font-size: 1.3em;
		font-weight: bold;
	}

	.banner-discrp p{
		font-size:10px;
	}
	.logo img {
		margin-top: 30px;
	}
	.call img{
		width:5%;
	}
	
	#sub-header p, #sub-header span {
    font-size: 0.6em;
    margin-bottom: 0;
}
.banner-discrp h2 {
    font-size: 2em;
}
}
@media screen and (max-width:991px) {
.box-m {margin: 0px 10px !important;}
.box-m p {text-align: left !important;}
#mobmenu,.wprmenu_bar {display:none !important;}
.wprmenu_bar.active{display:block !important;}
html { padding-top: 0 !important; }
.menu-item-has-children i{color:#fff; display:inline-block; float:left; width:10%; text-align:center;}
#mg-wprm-wrap.cbp-spmenu-left, #mg-wprm-wrap.cbp-spmenu-right{top : 0 !important;}
.menu-item-has-children a{width:auto; display:inline-block;}
.sub-menu {position:static !important;}
}

@media screen and (max-width:1199px) and (min-width:992px)  {
.box-m {margin: 0px 12px;}
#menu-main-menu li a {padding: 0 4px;}
}

@media screen and (max-width:1199px) {
    .box-s img {width: 100%;}
   .social-icon-header img, .social-icon-footer img {height: auto;width: auto;max-width: 25px;}
    #footer p {font-size:13px !important;text-align:left !important;}
    
}

@media screen and (max-width:991px) and (min-width:768px) {
    .social-icon-footer {margin-left: 5%;margin-top: 10px;}
    #menu-footer-menu li a {padding: 0 5px;}
}

@media screen and (max-width:767px) {
    .box-m {width:100% !important;margin:10px 0px !important;}
    .box-s img {width: 100%;max-width: 120px;display: block;}
    .box-s {min-height:auto;}
    .erii_mission p {font-size: 18px !important;padding-bottom: 5px;}
    .box-s img {min-height:auto;}
    #footer p {text-align:center !important;margin-top:10px;}
    #nav_menu-2 {max-width: 260px;margin: auto;text-align: center !important;float: none !important;}
    .social-icon-footer {margin-top: -15px !important;}
    .dmca-img {margin: 0 !important;}
    #footer #text-9 img { margin-top: -10px;}
}

@media screen and (max-width:479px) {
    #sub-header p {text-align: center;}
    .banner h3 {font-size: 22px;}
    .call {padding-right: 6px;}
    .call a {font-size: 12px;}
    .call img { width: auto; height: auto;max-width: 15px;}
    .social-icon-header img { max-width: 18px;}
    .affil-inner > .vc_column-inner {height:30px;}
    #sponsor h2 {font-size:14px;margin-bottom: 10px;}
    #footer p {font-size:12px !important;}
}

@media screen and (min-width:480px) and (max-width:767px) {
.banner h3 {font-size: 35px;}
.affil-inner > .vc_column-inner {height: 55px;}
#footer p {font-size: 12px !important;}
.call img {max-width: 18px;}
.call a {font-size: 14px;}
#text-7 p {padding-left: 30px;}
}

@media screen and (max-width:1199px) and (min-width:768px) {
    .box-s {min-height: 265px;}
    .box-s img {height: auto;max-width: 115px;}
}

@media screen and (min-width:992px) {
.rei {max-width: 65%;}
.pdtg {max-width: 89%;}
.berkeley {max-width: 35%;}
}