
@media only screen and (max-width:767px) and (orientation:Portrait) {
	.product-inner-col img.product-float-img {float: none !important}
}


@media only screen and (max-width:767px) {
	.about-outer h1 {margin:0 10px;}
	ul#menu-main_menu .dropdown-menu {width: 100%;}
	.service-box {text-align: center;}

	/** Slider Section **/		
	.slider-banner .slider-text {font-size: 30px; line-height: inherit !important; padding: 0 20px;}
	.slider-banner .slider-text br {display: none;}
	.slider-banner .slider-text a {padding:12px 13px;}
	.slider-text .company_name {font-size: 15px;}
	.slider-text span {margin-top: 30px;}

	/** Footer Section **/	
	.copyright-footer-section {line-height: inherit; padding:15px 0;}
	.copyright-company {padding-left: 0px; width: 100%; display: block; text-align: center}		
	.social-section {padding-bottom: 0px; padding-top: 0; text-align: center;}
	.main-footer-section .aboutAlliance {max-width: 100%;}
	.main-footer-section ul.footer-links li a, .main-footer-section p {font-size: 18px !important;}
	.main-footer-section .col-md-4 {margin-bottom: 30px;}	
	.nav-outer #slidemenu li a {font-size: 18px; padding:15px 30px; text-align: left;}	

	.team-list .modal-dialog.modal-md {width: 100% !important;margin: 0;}
	.team-list .modal.in {padding: 0px;}
	.team-list .modal.in .modal-content {margin-left: 10px; margin-top: 10px; margin-bottom: 10px;}
	.team-list .modal.in button.close {left: 20px;top: 20px;font-size: 30px;}
	.team-list .icon-plus {font-size: 30px;}

	img.float-img {padding-bottom: 20px;float: none;clear: both;display: block;text-align: center;margin: 0 auto;}
	.product-img {margin-bottom: 20px; text-align: center;}
	.life-quote #field_14_1 #input_14_1_3_container, .life-quote #field_14_1 #input_14_1_6_container {width: 100%;}
	.motor-quote #field_12_1 #input_12_1_3_container, .motor-quote #field_12_1 #input_12_1_6_container {width: 100%;}
	.life-quote #input_14_2 .ginput_full, .life-quote #input_14_2 .ginput_right, .life-quote #input_14_2 .ginput_left {width: 100%;}
	.commercial-quote #field_7_2 #input_7_2_3_container, .commercial-quote #field_7_2 #input_7_2_6_container {width: 100%;}
	.boat-quote #field_13_5 .ginput_full, .boat-quote #field_13_5 .ginput_left, .boat-quote #field_13_5 .ginput_right  {width: 100%;}
	.boat-quote .gform_wrapper .top_label li.gfield.gf_left_half, .boat-quote .gform_wrapper .top_label li.gfield.gf_right_half {width: 100%; padding-right: 0px;}

	.team-profile {max-width: 350px; margin:30px auto 0 auto; float: none}
	.slider-banner .slider-text .ph-info {margin: 0 0 20px 0;clear: both;width: 100%;}


	.slider-banner {display: none;}
	.home-outer {padding-top: 50px;}
	ul#gform_fields_13 li.gfield#field_13_9, ul#gform_fields_13 li.gfield#field_13_10, ul#gform_fields_13 li.gfield#field_13_11,
	ul#gform_fields_13 li.gfield#field_13_12, ul#gform_fields_13 li.gfield#field_13_13, ul#gform_fields_13 li.gfield#field_13_14,
	ul#gform_fields_13 li.gfield#field_13_16,ul#gform_fields_13 li.gfield#field_13_17, ul#gform_fields_13 li.gfield#field_13_18,
	ul#gform_fields_13 li.gfield#field_13_19 {padding-right: 0 !important}
	ul#gform_fields_7 li#field_7_2 #input_7_2_3_container {padding-right: 0px;}

}

@media only screen and (min-width:768px) and (max-width: 1024px) {		
	/** Top Navigation Section **/	
	.nav-outer #slidemenu li a {font-size: 18px; padding:15px 30px; text-align: left;}
	.nav-outer .navbar-right {float:none !important; display: inline-block;}
	#slide-nav #slidemenu, #navbar-height-col {width:33.3%;}
	ul#menu-main_menu .dropdown-menu {width: 100%;}
}


@media only screen and (max-width:1024px) {
    .flashit{width: 240px;padding-top: 46px;}
	#slide-nav .desktop-nav-logo {display: block}
#slide-nav .nav-close {display: block}


#menu-main_menu .menu-item-has-children span.dropdown-arrow {
    position: absolute;
    top: 0;
    right: 0;
    transition:all 0.2s ease-in-out 0s; -webkit-transition:all 0.2s ease-in-out 0s; -moz-transition:all 0.2s ease-in-out 0s;
    width: 40px;
    height: 100%;
    background: #eee;
    text-align: center;
}

#menu-main_menu .menu-item-has-children span.dropdown-arrow {
	cursor: pointer;
}	

#menu-main_menu .menu-item-has-children ul.dropdown-menu {
	display: none
}

#menu-main_menu .menu-item-has-children ul.dropdown-menu.open-menu {
	display: block;
}

#menu-main_menu .menu-item-has-children.open span.dropdown-arrow .fa-angle-right::before {
	content: '\f106';
	transition:all 0.2s ease-in-out 0s; -webkit-transition:all 0.2s ease-in-out 0s; -moz-transition:all 0.2s ease-in-out 0s;
}


.navbar-nav li:hover {background:#ddd;}
#menu-main_menu li.menu-item-has-children .caret {float: right;margin-top: 8px;}
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 6px dashed;
    border-top: 6px solid \9;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
}

#menu-main_menu li.menu-item-has-children.open .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-bottom: 6px dashed;
    border-top: 0px solid transparent;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
}



		p.team-quote {font-style: normal;}
	

	/** About Section **/
	.about-inner-info .col-md-6 {padding-bottom: 20px;}
	.mvv-outer .col-md-4 {margin-bottom: 30px;}

	/** Footer Section **/
	.main-footer-section p {font-size: 14px;}
	.main-footer-section ul.footer-links li a {font-size: 14px;}
	.main-footer-section ul.footer-links li i {font-size: 14px;}
	.main-footer-section .main-footer-col-heading {font-size: 22px;}

	/** Header Section **/	
	.phone-bar.desktop-display-none {display: block;}
	.phone-bar.desktop-display-none i.fa-phone {font-size: 18px; margin-right: 5px; color:#fff;}
	.navbar-default .navbar-toggle {border-color: #023460;background: #023460;}
	.navbar-default .navbar-toggle .icon-bar {background-color: #fff;}
	.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {background-color: #023460;}
	.header{-webkit-transition: all 0.3s ease-in-out 0s;-moz-transition: all 0.3s ease-in-out 0s;-ms-transition: all 0.3s ease-in-out 0s;transition: all 0.3s ease-in-out 0s;}
	.header .navbar-nav .open .dropdown-menu {background:#000;}
	.navbar-inverse {background: none; border:none;}
	.navbar-inverse .navbar-toggle .icon-bar {background-color: #000;}
	#navbar-height-col.inverse {background-color: #fff}
	#slide-nav.navbar-inverse #slidemenu {background: none; }
	#slidemenu {overflow-y: auto !important;height: 100% !important;}
	.nav-panel .social-icon {margin:0px;}	
	.nav-outer #slidemenu li ul li a {padding: 10px 30px; font-size: 18px;}
	.rightMargin {right: -80% !important;}
	#slidemenu .nav-close {background-color: transparent;border: 0px;border-radius: 2px;margin: 0;padding: 0;position: absolute;top: 48px;right: 25px;height: 30px;z-index: 999999; outline: none;}
	#slidemenu .nav-close > span {background: #000000 none repeat scroll 0 0;border-radius: 10px;	display: block;	height: 5px;	margin: 4px 0;	-webkit-transform: rotate(-130deg);	-ms-transform: rotate(-130deg);	-moz-transform: rotate(-130deg);	-o-transform: rotate(-130deg);transform: rotate(-130deg);width: 30px;}
	#slidemenu .nav-close span + span {margin: -9px 0 0;	-webkit-transform: rotate(130deg);	-ms-transform: rotate(130deg);	-moz-transform: rotate(130deg);	-o-transform: rotate(130deg);transform: rotate(130deg);}
	.navbar-nav .open .dropdown-menu {position: absolute; width: 100%;}
	#slide-nav #slidemenu .navbar-nav  {position: relative; top:60px;}
	#topBar .main-container {width: 100% !important;margin:0 auto !important; display: none;} 

	.nav-panel .col-md-10 {width: 100%}

	.service-box p {min-height: auto;}

	#slidemenu ul li.active, .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {background:#ddd;}
	

#slidemenu ul li.dropdown .caret {display: inline-block; float:right; border:none}
#slidemenu ul li.dropdown .caret::after {position: relative;content: "\f107";display: inline-block;	font-family: FontAwesome;	font-size: 30px;	text-rendering: auto;-webkit-font-smoothing: antialiased;	-moz-osx-font-smoothing: grayscale;transition: all 500ms ease-in-out 0s;-webkit- transition: all 500ms ease-in-out 0s;	-ms- transition: all 500ms ease-in-out 0s;	-moz- transition: all 500ms ease-in-out 0s;	-o- transition: all 500ms ease-in-out 0s;	transform: rotate(-90deg);	-webkit-transform: rotate(-90deg);	-moz-transform: rotate(-90deg);	-o-transform: rotate(-90deg);	-moz-transform: rotate(-90deg);	right: 30px;}
#slidemenu ul li.dropdown.open .caret::after {transform: rotate(0deg);-webkit-transform: rotate(0deg);-o-transform: rotate(0deg);	-moz-transform: rotate(0deg);	-ms-transform: rotate(0deg);}
#slidemenu ul li.dropdown.open ul li.active, #slidemenu ul li.dropdown.open ul li.active a{background:#023460}
#slidemenu ul li.dropdown.open ul li:hover, #slidemenu ul li.dropdown.open ul li a:hover {background: #fff}
.call-us-panel .call-us {display: none}
.call-us-panel .call-no {display: none}
.header .logo {padding-top: 30px;}
.header .emailInfo {
    text-align: left;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
#slidemenu .desktop-nav-logo img {max-width: 235px;position: relative;top: 55px;left: 10px;margin-bottom: 20px;margin-top: 20px;}
}

@media only screen and (max-width:1023px) {
.midd-box:hover img{-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);filter: gray;transition: 1s;-moz-transition: 1s;-webkit-transition: 1s;-o-transition: 1s;}
.team-list .midd-box img{-webkit-filter: grayscale(0%);-moz-filter: grayscale(0%);-ms-filter: grayscale(0%);-o-filter: grayscale(0%);filter: grayscale(0%);filter: none;}
}

@media only screen and (max-width:320px) {
	.cw-footer-bottom-row ul li {padding:0px;}
}

@media only screen and (max-width:479px) {
	.teams.pop-content {padding: 20px 50px;}
	.team .tit {padding: 0 10px;}
	img.product-float-img {padding-bottom: 20px;float: none;clear: both;display: block;text-align: center;margin: 0 auto;}	
}

@media only screen and (min-width:768px) and (max-width:991px) {
	.team-profile:nth-child(3), .team-profile:nth-child(5) {clear:both;}
}

@media only screen and (max-width:991px) {
	.product-outer .col-md-6 {border-bottom: 1px solid #ddd; padding-bottom: 30px; padding-top: 20px;}
	.nav-panel .social-icon {position: relative;top: -20px;display: inline-block;}
    .service-panel .col-md-3:nth-child(3){clear:both;}
    .flashit{width: 144px;padding-top: 48px;} 
}
@media only screen and (max-width:576px) {
.product-subpage img.product-float-img {padding-bottom: 20px;float: none;clear: both;display: block;text-align: center;margin: 0 auto; padding-right: 0px;}
}
@media only screen and (max-width:767px) {
.flashit { float: none; padding-top: 20px; width: auto; margin: 0 auto;}
}

@media only screen and (max-width:630px) {
ul.company-list li span {display: table-row;}
ul.company-list li {margin-bottom: 25px;}
ul.company-list li span a {padding: 5px 0px;}
}

@media only screen and (min-width:577px) and (max-width: 767px) {
	.team-profile {float:left; width: 50%; max-width: 100%;}
	.team-profile:nth-child(3), .team-profile:nth-child(5) {clear:both;}
}

@media only screen and (min-width:992px) and (max-width:1024px) {
	.nav-panel .col-md-2 {display: inline-block; position: relative; top:-20px; padding: 0px;}
}

@media only screen and (min-width:768px) and (max-width:1024px) {
	.emailInfo .call-us-panel {display: block;}
	.emailInfo .call-info {position: relative; top: 70px; text-align: right}
}

.call-info-sec {
    display: none;
}
.header-middle .h-middle-single {
    width: 33.33%;
}
.row.header-middle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
	-webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
	width: 100%;
	margin: 0;
}
.call-info {
    font-size: 18px;
    line-height: 24px;
}
.call-us-panel {
    margin-top: 0;
    width: auto;
    text-align: center;
}
.header .container {
    width: 100%;
    max-width: 100%;
}
.header .logo {
    text-align: left;
}

@media (max-width:991px) {
.header-middle .h-middle-single {
    width: auto;
}
.header-middle .emailInfo.h-middle-single {
    width: 37%;
}
}

@media (max-width:767px) {
.call-info {
    font-size: 16px;
    line-height: 22px;
}
.flashit img {
    max-width: 45px;
}
.header .header-middle .emailInfo.h-middle-single {
    width: 45%;
}
.header-middle .h-middle-single {
    width: auto;
    padding: 0 10px;
}
.logo img {
    max-width: 180px;
}
}

@media (max-width:575px) {
.row.header-middle {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.header-middle .h-middle-single {
    width: 50%;
}
.header .header-middle .emailInfo.h-middle-single {
    width: 100%;
	margin-top: 15px;
}
.flashit {
    padding: 0 !important;
    text-align: right;
	margin-top: 2px;
}
.flashit img {
    max-width: 31px;
}
.call-us-panel {
    text-align: left;
}
.header {
    padding: 10px 0 !important;
}
.call-info {
    margin-bottom: 0;
}
}
