/* Mobile Portrait View */
@media screen and (max-width:320px) {
	.labelname{ width:25%;}
	
	#about p {
    text-align: left;
    padding-bottom: 20px;
}

}

@media screen and (max-width:360px) {

	#about p {
    text-align: left;
    padding-bottom: 20px;
}

}

@media screen and (max-width:384px) {

	#about p {
    text-align: left;
    padding-bottom: 20px;
}

}

@media screen and (max-width:412px) {

	#about p {
    text-align: left;
    padding-bottom: 20px;
}
}

@media screen and (max-width:414px) {

	#about p {
    text-align: left;
    padding-bottom: 20px;
}
}

@media screen and (max-width:375px) {

	#about p {
    text-align: left;
    padding-bottom: 20px;
}

}

@media screen and (max-width:767px) {
*{box-sizing:border-box;}
.slider-main{min-height:100px !important;}
#slider .top-bar { padding:0 20px; top:35px;}
#slider .top-bar h1 { font-size:25px; padding-bottom:25px;}
#slider .top-bar a{ font-size:14px; padding:8px 20px; margin-top:0; width:auto;}
.arrow-down { display:none;}
.container { width:100%; padding:0 10px; box-sizing:border-box}
.header{ width:100%; padding:0; position:relative } 
.logo { float:none; text-align:center;}
.meinfo-caption{ display:none;} 
section{padding:35px 0;} 
.fourbox{ width:100%; margin-bottom:10%; margin-right:0;}
.education-col{ padding:20px; float:none; display:block; width:100%; margin-right:0; margin-bottom:15%;}
.education-thumb{ height:64px; right:0;}
.education-date, .education-description{ float:none; display:block; width:100%; margin-right:0; margin-bottom:5%;}
.blogposts { width:auto; display:block; margin-bottom:30px; margin-right:0;}
.blogpostcontent{ width:100%; float:none; margin:-1px 0 0 0;}
.blogthumbs{ width:100%; float:none;}
.blogthumbs img{ width:100%; height:auto; vertical-align:middle;}
.wpcf7 form input[type="text"], .wpcf7 form input[type="email"], .wpcf7 form input[type="tel"], .wpcf7 form input[type="url"], .wpcf7 form input[type="date"], .main-form-area input[type="text"], .main-form-area input [type="url"], .main-form-area input[type="email"], .main-form-area input[type="tel"], .wpcf7 form textarea, .main-form-area textarea{ width:100%;}
.home-contact-info{ width:100%;}
.backbtn a{ margin:0 auto 15px auto; display:table; float:none;}
#sidebar input[type="submit"]{ margin-top:10px;}
.skill { width:auto; float:none; margin-bottom:50px;}
.team-members { width:auto; float:none; }
.team-col { width:auto; display:block; float:none; margin-left:0;margin-bottom:20px;}
.team-col img { min-width:100%;}
.copyright-wrapper .inner{ width:100%;}
.footer-menu, .copyright{ float:none; text-align:center; margin-bottom:10px;}
.sicons { width:auto;}
.footer, .copyright { width:auto; padding:0 20px;}
.copyright-txt, .design-by { text-align:center; float:none;}

/* ------ Extra ------ */
.one_half, .one_third{ width:100%; margin-right:0 !important;}
.price_col{ float:none;}
.message-thumb{ width:100%; height:inherit !important}
.photobooth .filter-gallery{ width:auto;}
.photobooth .gallery ul li{ width:100%; }
.photobooth .filter-gallery ul li a{ display:table;}
.toggle{display:block;}
.toggle a{width:100%; background:url(../images/mobile_nav_right.png) no-repeat right center #1b1b1b; padding:6px; margin:0; font-size:16px;}
.nav ul{background:#000000; color:#000; width:100%; float:none !important;}
/*.toggle a.active{color:#ff554e;}
.nav{display:none;}
.header .header-inner .nav{float:none; margin:0; position:relative; overflow-x:hidden; }

.header .header-inner .nav ul li{border-top:1px #303030 solid; display:block; float:none; text-align:left;}
.nav ul li a{padding:5px 10px; display:block; color:#000;}
.nav ul li a:hover{color:#ff8a00;}
.nav ul li ul, .nav ul li ul ul{ display:block !important;}
.nav ul li ul li a:before{content:"\00BB \00a0";}
.nav ul li ul li a{padding-left:20px !important;}
.nav ul li ul li ul li a{padding-left:30px !important;}*/
.header .header-inner{ width:100%; padding:0;}
.header .header-inner .logo{ float:none;}
#slider .top-bar p{ display:none;}
/* --------- Pages ------- */
.content-area{ width:auto; margin:0 10px; padding:20px 0;}
.site-main{ width:auto; margin:0; padding:0; float:none !important;}
#sidebar{ width:100%; margin:60px 0 0; padding:0; float:none;}
.nivo-caption{ top:0 !important; display:none !important;}
#slider .top-bar{ top:24px !important;}
#slider .top-bar h2{ font-size:35px !important; padding-bottom:10px !important;}
a.contact{ margin-top:5px !important; font-size:12px !important;}
.nivo-directionNav a{ top:35% !important;}
.bx-controls-direction{ display:none;}
#aboutsec .cont-fix{ width:auto; float:none; padding:70% 0 60px;}
#contactform_main .leftdiv, #contactform_main .rightdiv{ width:auto; float:none;}
.one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .four_fifth{ width:100%; margin-right:0; float:none; position:inherit !important;}
}

/* Mobile Landscape View */
@media screen and (min-width: 480px) and (max-width: 767px){
/* --------- Pages ------- */
.content-area{margin:0 20px;}
.site-main{ width:auto; margin:0; padding:0; float:none;}
#sidebar{ width:auto; margin:60px 0 0; padding:0; float:none !important;}
.nivo-caption{ top:0 !important; width:80% !important; height:90%;}
#slider .top-bar{ top:35px !important;}
.slider-main{min-height:100px !important;}
#slider .top-bar h2{ font-size:24px !important; padding-bottom:10px !important; line-height:35px;}
a.contact{ margin-top:5px !important; font-size:12px !important;}
.nivo-directionNav a{ top:39% !important;}
.bx-controls-direction{ display:none;}
#aboutsec .cont-fix{ width:auto; float:none; padding:70% 0 60px;}
#contactform_main .leftdiv, #contactform_main .rightdiv{ width:auto; float:none;}
.one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .four_fifth{ float:none; position:inherit !important;}

#about p {
    text-align: left;
    padding-bottom: 20px;
}

}

/* Tablet View */
@media screen and (max-width:1169px) and (min-width:768px) { 
*{box-sizing:border-box;}
.container{width:auto; padding:0 10px;}
.header{padding:0;}
section{padding:50px 0;}
.slider-main{min-height:250px !important;}
.meinfo-caption{width:57%; margin-top:7%;}
.meinfo-caption h2{font-size:30px !important;}
.meinfo-caption p{margin-bottom:15px;}
.meinfo-caption a.read-more{margin-top:15px; }
#resume .one_third .mystory, #resume .one_third .personalinfo{ padding:10px; min-height:420px;}
.labelname{ width:30%;}
.labelinfo{ width:69%; float:right;}
.blogposts { width:48.5%; display:inherit; float:left; margin-bottom:30px;}
.blogthumbs, .blogpostcontent{ float:none; width:100%;}
.blogthumbs img{width:100%; vertical-align:middle;}
.blogpostcontent{ margin:-1px 0 0 0}
.skill { width:auto; float:none; margin-bottom:50px;}
.team-members { width:auto; float:none;}
.team-col { width:44.69%; float:left; margin:0 18px 40px;}
.team-col img { min-width:100%;}
.sicons { width:94%; margin:auto;}
.footer, .copyright { width:auto; padding:0 20px;}
/* ------ Extra ------ */
.message-thumb{ width:100%; height:inherit !important}
.photobooth .filter-gallery{ width:auto;}
.toggle{display:block;}
.toggle a{width:100%; color:#ffffff; background:url(../images/mobile_nav_right.png) no-repeat right center #000000; padding:10px 10px; margin-top:0px; font-size:16px;}
.nav{display:none;}
.header .header-inner{ width:100%; padding:0;}
.header .header-inner .logo{ float:none; text-align:center;}
.wpcf7 form input[type="text"], .wpcf7 form input[type="email"], .wpcf7 form input[type="tel"], .wpcf7 form input[type="url"], .wpcf7 form input[type="date"], .main-form-area input[type="text"], .main-form-area input [type="url"], .main-form-area input[type="email"], .main-form-area input[type="tel"], .wpcf7 form textarea, .main-form-area textarea{ width:100%;}
/* --------- Pages ------- */
.content-area{ width:auto; margin:0 10px; padding:50px 0;}
.site-main{ width:60%; margin:0; padding:0; float:left;}
#sidebar{ width:35%; margin:0; padding:0; float:right;}
.nivo-caption{ top:0 !important; height:100% !important;}
#slider .top-bar{ top:80px !important; margin-bottom:0;}
a.read-more, .common_btn{ margin-top:10px;}
#slider .top-bar p{ font-size:16px !important; line-height:20px !important;}
#slider .top-bar h2{ font-size:35px !important; padding-bottom:10px !important; line-height:34px;}
a.contact{ margin-top:15px !important; font-size:18px !important;}
.nivo-directionNav a{ top:42% !important;}
#aboutsec .last_column{ width:100%; margin-right:0;}
#aboutsec .cont-fix{ width:auto; float:none; padding:70% 0 60px;}
.fourbox{width:24.4%; margin:0 0.7% 1% 0;}
.fourbox h3{ font-size:17px !important}
.education-thumb{ height:64px;}
.education-col{ width:45.5%; padding:20px 15px; display:inherit; float:left; min-height:220px;}
.education-date{ width:27%; margin:0 10px 0 0;}
.site-main .education-col{ padding:20px 15px;}
.site-main .education-date{width:100%;margin:0 0 10px 0;}
.site-main .education-description{ width:100%;}
.main-container{ overflow:hidden;}
.copyright-wrapper .inner{ width:95%; margin: auto;}
}
 
 
@media screen and (max-width: 980px){
.toggleMenu{display: block;}
.header .header-inner .nav{float:none; margin:0; position:relative; overflow-x:hidden; background-color:#000; }
.header .header-inner .nav ul{color:#000; width:100% !important; float:none !important; margin:0; padding:0;}
.header .header-inner .nav ul li{border-top:1px #cccccc solid; display:block; float:none; text-align:left;}
.header .header-inner .nav ul li a{padding:5px 10px !important; display:block; color:#000;}
.header .header-inner .nav ul li a:hover{color:#ffffff;}
.header .header-inner .nav ul.sub-menu{ /*margin-left:10px;*/}
.header .header-inner .nav ul li ul, .header .header-inner .nav ul li ul ul{ display:block !important;}
.header .header-inner .nav ul li ul li a:before{content:"\00BB \00a0";}
.header .header-inner .nav ul li ul li a{padding-left:20px !important;}
.header .header-inner .nav ul li ul li ul li a{padding-left:30px !important;}
.header .header-inner .nav ul li ul li ul li ul li a{padding-left:40px !important;}
.header .header-inner .nav ul li:hover > ul{ background:none !important;}
.header .header-inner .nav ul li:hover > ul{ background: transparent !important; width:auto !important; display:block; position: relative !important; left:0; right:0; top:0;}
.header .header-inner .nav ul li:hover ul li ul, .header .header-inner .nav ul li:hover ul li:hover > ul, .header .header-inner .nav ul li:hover ul li:hover > ul li ul{  background: transparent !important; display:block; position:relative !important;  right:0; left:0; top:0;}
.header .header-inner .nav ul li:hover ul li:hover ul, .header .header-inner .nav ul li:hover ul li:hover ul li:hover ul{ left:0 !important;}
.header .header-inner .nav ul li a .fa, .fixed .header-inner .nav ul li a .fa{ display:none;}
}
 
@media screen and (max-width:1600px) and (min-width:980px) { 
.header{ padding:0;}
.header .header-inner .nav ul li ul li{display:block; position:relative; float:none; }
.header .header-inner .nav ul li ul li a{color:#000; display:block; padding-top:10px; padding-bottom:10px; border-bottom:1px #313131 solid;}
.meinfo-caption{ margin-top:12%;}
.labelname{ width:22%;} 
.labelinfo{ width:75%;}
.personalinfo .social-icons a{margin-right:3px;}
#resume .one_third .mystory, #resume .one_third .personalinfo{ min-height:inherit;}
}