/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	.header-logo img,
	.footer-logo img{
		width: 100%;
		height: auto;
	}
	.header-question-item{
		width: 450px;
		margin: auto;
		margin-top: 38px;
		font-size: 16px;
	}
	.header-question-items:before{
		width: 970px;
		margin-left: -485px;
	}
	.header-question-items:after{
		margin-left: -20px;
	}
	.choice-table-wrap:before,
	.choice-table-wrap:after{
		width: 1000px;
		margin-left: -500px;
		background-size: 100% 100%;
	}
	section.choice,
	section.next,
	section.benefits,
	section.feedback,
	section.portrait,
	section.statistics{
		min-height: auto;
		padding-bottom: 30px;
		background-size: cover;
	}	
	.next-img{
		position: absolute;
		top: 95px;
		bottom: 0;
		margin-top: 0;
		margin-left: 0;
	}
	.next-img img{
		width: 100%;
		height: auto;
	}	
	.next-form,
	.statistics-form{
		position: static;
		width: 100%;
		margin-left: 0;
		margin-top: 20px;
	}
	.benefits-title,
	.feedback-title,
	.statistics-title,
	.support-descr{
		margin-top: 30px;
	}
	.portrait-item{
		width: 240px;
		margin: 0 auto;
		margin-top: 70px;
	}
	.portrait-items-wrap .col-lg-3:nth-of-type(n+2):nth-of-type(-n+4) .portrait-item{
		margin-top: 70px;
	}
	.portrait-title{
		margin-top: 30px;
		text-align: center;
	}
	section.support{
		min-height: auto;
		background: url(../img/bg7.jpg) no-repeat center -270px;
		padding-bottom: 60px;
	}
	.support-descr p{
		white-space: inherit;
	}
	.table-responsive{
		width: 100%;
    	margin-bottom: 15px;
   	 	overflow-y: hidden;
   		-ms-overflow-style: -ms-autohiding-scrollbar;
	}
	.table{
		width: 1160px;
    	max-width: 1160px;
	}
	/*section.choice .container{
		width: auto;		
		margin-right: auto;
    	margin-left: auto;
	}*/
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.header-logo,
	.footer-logo{
		text-align: center;
	}
	.header-logo img,
	.footer-logo img{
		width: auto;
	}
	.header-feedback a:nth-of-type(1),
	.footer-feedback a:nth-of-type(1){
		font-size: 26px;
	}
	.header-feedback a:nth-of-type(2),
	.footer-feedback a:nth-of-type(2){
		font-size: 20px;
	}
	.header-question-items:before,
	.header-question-items:after{
		display: none;		
	}	
	.choice-table thead th:nth-of-type(1){
		width: auto;
		padding-left: 20px !important;		
	}
	.choice-table-wrap:before,
	.choice-table-wrap:after{
		width: 100%;
		margin-left: -375px;
	}
	.mainform input{
		display: block;
		margin: 0 auto;
		margin-top: 20px;		
	}
	.mainform button{
		margin-top: 20px;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
	
	

	
	/*Disable Animation on Mobile Devices*/
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}

	header{
		padding-bottom: 30px;
		background-size: cover;
	}

	.col-xs-12{
		padding: 0;
	}
	.header-benefits,
	.footer-benefits{
		width: 300px;
		margin: 0 auto;
		margin-top: 20px;
		padding: inherit;
		border-left: none;		
	}
	.header-feedback,
	.footer-feedback{
		width: 300px;
		margin: 0 auto;
		margin-top: 20px;
	}
	.header-feedback a,
	.footer-feedback a{
		text-align: left;
	}
	.header-feedback a:nth-of-type(1):before,
	.header-feedback a:nth-of-type(2):before,
	.footer-feedback a:nth-of-type(1):before,
	.footer-feedback a:nth-of-type(2):before{
		left: -25px;
	}
	.header-question-item{
		display: block;		
		width: 300px;
		margin: 0 auto;
		margin-top: 30px;
		position: relative;
	}
	.header-question-item span{
		position: absolute;
		left: -40px;
		top: 50%;
		margin-top: -15px;
	}
	.header-question-item br{
		display: none;		
	}
	.header-title{
		margin-top: 30px;
	}
	.next-callback{
		margin-left: 0;
	}
	.portrait-item{
		margin: 0 auto;
		margin-top: 50px;
	}
	.portrait-items-wrap .col-lg-3:nth-of-type(n+2):nth-of-type(-n+4) .portrait-item{
		margin-top: 50px;
	}
	.map-descr{
		width: 320px;
		left: 50%;
		margin-left: -160px;
		background-size: 100% 100%;
	}
	.map-descr h4{
		padding-top: 60px;
		font-size: 26px;
	}
	.map-descr:before,
	.map-descr:after{
		width: 104%;
    	margin-left: -167px;
		background-size: 100% 100%;
	}
	section.map .container{
		padding: 0;
	}
	.popupform{
		width: 280px;
		padding: 0 10px;
		padding-bottom: 20px;
	}
	.popupform input{
		width: 260px;
	}
	.popupform button{
		width: 260px;
	}
	.popupform button:before{
		left: 60px;
	}
	.popupform button:after{
		width: 100%;
	}
	.popupform#question{
		width: 280px;
		padding: 10px;
	}
	.popupform#question input{
		margin: auto;
		margin-top: 10px;
	}
	.popupform#question button{
		width: 260px;
		margin: auto;
		margin-top: 10px;
	}
	.popupform#question button:before{
		left: 20px;
	}
	#policy{
		width: 280px;
	}

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
	.header-feedback a,
	.footer-feedback a{
		padding-left: 30px;
	}
	.header-feedback a:nth-of-type(1):before,
	.header-feedback a:nth-of-type(2):before,
	.footer-feedback a:nth-of-type(1):before,
	.footer-feedback a:nth-of-type(2):before{
		left: 0;
	}
	.header-question-item span{
		display: none;		
	}
	.header-title h2,
	.benefits-title h2,
	.portrait-title h2,
	.statistics-title h2,
	.support-descr h2{
		font-size: 30px;
	}
	.header-title h1{
		font-size: 38px;
	}
	.header-title h1:after{
		width: 290px;
	}	
	.next-form{
		box-shadow: none;
	}
	.next-form h4,
	.feedback-title h2,
	.popupthx h3{
		font-size: 22px;
	}
	.next-form p{
		font-size: inherit;
	}
	.next-form button{
		font-size: 13px;
	}
	.mainform input{
		width: 280px;
	}
	.mainform button{
		width: 280px;		
	}
	.mainform button:after{
		width: 100%;
	}
	.benefits-title p,	
	.statistics-form h4{
		font-size: 20px;
	}
	.feedback-title span,
	.statistics-form p{
		font-size: 18px;
	}
	.benefits-item{
		margin-top: 30px;
	}
	.feedback-form form,
	.statistics-form form{
		margin-top: 20px;
	}
	.next-callback a{
		font-size: 28px;
	}
	.feedback-form button:before{
		left: 40px;
	}
	.statistics-form{
		padding: 30px 0;
	}
	.statistics-form span{
		margin-top: 10px;
	}
	.support-descr a{
		width: 290px;
		margin-top: 25px;
	}
	.support-descr a:before{
		left: 35px;
	}
	section.map .container{
		position: static;
	}
	section.map{
		position: relative;
	}
	.map-descr{
		width: 100%;
		left: 0;		
		margin-left: 0;
		box-shadow: 0 0 10px 0 rgba(0,0,0, .5);
	}
	.map-descr:before,
	.map-descr:after{
		display: none;		
	}
	.map-descr p:before{
		width: 100%;
	}
	.choice-table-wrap:before,
	.choice-table-wrap:after{
		display: none;		
	}
	.popupthx{
		width: 280px;
		padding: 20px;
		background-size: cover;
	}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
	
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}