/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
.pc-mobileno .help-line {display: none !important;}
.container.mobilepadd,.mobilepadd {padding-top: 10px;}
.mobilepad0{padding: 0;}
.register-form input[type="text"]{ height: 40px;margin: 5px 10px;padding: 0 10px;width: 88%; }
.register-form textarea{height: 60px;margin: 5px 10px;padding: 8px 10px;width: 88%;}
.safety-homebanner .txt-head {font-size: 26px;padding: 50px 0 0 38%;}
.safety-homebanner .txt-cnt {font-size: 18px;padding: 10px 0 0 38%;}
.safe-home-list {padding-right: 0;}
.contact-us {margin-left: 0;}
.register-form {margin-left: 0;}
.mobile-header .col-md-9,.mobile-header .col-md-3  {width: 100% !important; display: block;}
.help-line{ padding: 12px 0 15px 40px !important;}
.safe-home-list.safe_lists {padding: 15px 10px 15px;}
.smwrapper-max{width:100%;    padding-top: 10px}
.smwrapper-max div{ padding:8px;}
.smwrapper-max .linkb {
    font-size: 12px;
}
.accordion .accordion_tab{font-size: 15px;
    padding: 15px 10px;}
	.accordion--headline::before, .accordion--headline::after{    width: 10px;    right: 5px;}
	.accordion .accordion_content {
    padding: 0 10px;
}
.res_cnt{font-size: 13px;    padding-bottom: 20px;}
#safe-matri{margin-bottom:0;}
.safe-matrimony{padding-bottom:0;}
.accordion .accordion_content .accordion_item p.item_title{font-size: 13px;}
.accordion .accordion_content .accordion_item p:last-child {font-size: 12px;}
	.safevideo{width: 95%;}
}
/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
.safty-head {font-size: 13px;}
.safe_lists p{font-size: 13px !important;}
.inline-block.v-middle > img {
    width: 42px;
}
.inline-block.v-middle .linkb{font-size:100% !important;}
.safety-homebanner .container { background-position: -156px !important;}
.title{font-size: 16px; color:#333; font-weight:bold; padding:0 0 10px 25px;display: block;}
.smwrapper-max .font14{font-size:80% !important}
}
/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 480px) {
.safety-homebanner .container {
background-position: -136px ;
}
.safety-homebanner .txt-head {
padding: 60px 0 0 38%;
}
.inline-block.v-middle .linkb{font-size:90% !important;}
.title{font-size: 16px; color:#333; font-weight:bold; padding:0 0 10px 25px;display: block;}
.smwrapper-max .font14{font-size:80% !important}
}
/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 360px) {
.mobile-header .col-md-9,.mobile-header .col-md-3  {width: 100% !important; display: block;}
.safety-homebanner .container { background-position: -156px !important;}
.inline-block.v-middle .linkb{font-size:85% !important;}
.title{font-size: 16px; color:#333; font-weight:bold; padding:0 0 10px 25px;display: block;}
.smwrapper-max .font14{font-size:80% !important}
}

/* Samsung Galaxy S5 ----------- */


@media only screen and (max-device-height: 640px){
.mobile-header .col-md-9 {
width: 65%; display: inline-block;
}
.mobile-header .col-md-3 {
width: 32%; display: inline-block;
}
.mobilepad0{padding: 0;}
.safety-homebanner .container {}
.help-line{ padding: 3px 0 15px 40px;}
.title{font-size: 16px; color:#333; font-weight:bold; padding:0 0 10px 25px;display: block;}
}
@media screen and (max-width: 40em) {
#topnav-login-menu a {background: inherit; padding: 0;}
}
@media screen and (max-width: 767px) {
.mobile_menuno.mobilepadd {display: block;}
.safe-identify-list { padding-right: 0;}
.safe-media-list { margin: 0;}
.contact-us {padding-top: 15px;}
.safe-lft-cnt {
border-right: medium none;}
.mobilepad0{padding: 0;}
.safe-menu {
position:relative;
display:block;background:#006a4e ;
}

.safe-menu ul.active {
display:none;
}

.safe-menu ul {
width:96%;
position:absolute;
top:120%;
left:0px; margin: 0 7px;
padding:0 18px;
box-shadow:2px 1px 3px rgba(0, 0, 0, 0.15);
border-radius:3px;
background:#f7f7f7 ; z-index: 9;   border: 1px solid #ddd;
}

.safe-menu ul:before {
width:0px;
height:0px;
position:absolute;
top:0%;
right:22px;
content:'';
transform:translate(0%, -100%);
border-left:7px solid transparent;
border-right:7px solid transparent;
border-bottom:7px solid #d9d9d9;
}


.safe-menu li {
border-bottom: 1px dotted #ddd;
display: block;
float: none;
padding: 10px;
}
.safe-menu li:last-child {
border-bottom: medium none;
}
.safe-menu li a:hover, .safe-menu li a.active{color:#66a992 !important;}
.safe-menu a {
display:block; text-shadow: inherit !important; color:#777 !important;
}

.toggle-nav {
padding:12px; width: 100%;text-align: right;
float:right;font-weight: normal;
display:inline-block;
box-shadow:0px 1px 1px rgba(0,0,0,0.15);
border-radius:3px;
text-shadow:0px 1px 0px rgba(0,0,0,0.5);
color:#ffffff;
font-size:20px;
transition:color linear 0.15s;   cursor: pointer;
}

.toggle-nav:hover, .toggle-nav.active {
text-decoration:none;
color:#66a992;
}

.search-form {
margin:12px 0px 0px 20px;
float:left;
}

.search-form input {
box-shadow:-1px 1px 2px rgba(0,0,0,0.1);
}
#topnav-login-menu a {
font-weight: normal;
}
.container-fluid.header-fixed {
position: fixed;
top: 0;
z-index: 99;  box-shadow: 1px 2px 4px #bfbfbf;
}
.container-fluid.header-fixed .toggle-nav{background:url("//imgs.communitymatrimony.com/cbsimages/cbs.png") no-repeat scroll 10px 3px / 46px auto!important;}

}
@media screen and (max-width: 768px) {
.safe-lft-cnt {
border-right: medium none;}


}
@media screen and (max-width: 800px) {
.safe-lft-cnt {
border-right: medium none;}
}
@media screen and (max-width: 980px) {
.safe-lft-cnt {
border-right: medium none;padding-bottom: 0;}
.contact-us, .register-form  {margin-left: 0;}
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
#topnav-login-menu a {font-size: 14px;padding: 18px 9px 17px;}
.register-form input[type="text"]{ width: 300px;}
.help-line{  padding: 4px 0 15px 40px;}
}
