/*
*    1200 start
*/

@media screen and (max-width: 1200px) {
    .form-container {
        padding-right: 30px !important;
        padding-left: 30px !important;
    }
}

/*
*    1200 end
*/

/*
*    1024 start
*/

@media screen and (max-width: 1024px) {
    /*header*/
    header #ast-desktop-header {
        display: block !important;
    }
    
    header #ast-mobile-header {
        display: none !important;
    }
    
    .site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container {
        padding: 0 !important;
        width: 100% !important;
    }
    
    .subs-btn .menu-link {
        font-weight: 700;
        font-size: 16px !important;
        background: #82AF76 !important;
        padding: 10px 25px !important;
        line-height: 25px !important;
        text-align: center;
        max-width: 140px !important;
    }
	
	.survey-btn .menu-link {
        font-weight: 700;
        font-size: 16px !important;
        background: #FDCA40 !important;
        padding: 10px 25px !important;
        line-height: 25px !important;
        text-align: center;
        max-width: 140px !important;
		margin-top: 5px !important;
    }
    
    
    /*font*/
    h1 {
        font-size: 44px !important;
        line-height: 48px !important;
    }
    h2 {
        font-size: 36px !important;
        line-height: 40px !important;
    }
    h4 {
        font-size: 28px !important;
        line-height: 36px !important;
    }
    
    /*articles*/
    .articles .article .info-wrap {
        width:55%;
    }
    
    /*authors*/
    .authors-list .single-item-wrap {
        width: 35%;
    }
    
    /*featured article*/
    .featured-article .info-wrap {
        max-width: 350px;
        margin-right: 50px;
    }
    
    .featured-article .img-wrap {
        width: 350px;
    }
    .featured-article .the-img {
        min-height: 350px;
    }
    
    
    .featured-article .info-wrap .title a {
        font-size: 36px;
        line-height: 44px;
    }
    
    /*extra*/
    .ast-separate-container #primary, .ast-separate-container #secondary {
        padding: 0 !important;
    }
    
    /*custom page title*/
    .single-article .ast-container .custom-pagetitle {
        min-height: 400px;
    }
}

/*
*    1024 end
*/

/*
*    921 start
*/

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

/*
*    921 end
*/

/*
*    800 start
*/

@media screen and (max-width: 800px) {
    /*font*/
    h1 {
        font-size: 36px !important;
        line-height: 40px !important;
    }
    h2 {
        font-size: 28px !important;
        line-height: 30px !important;
    }
    h4 {
        font-size: 20px !important;
        line-height: 24px !important;
    }
    
    /*subscription form*/
    .subscription-form .wpforms-form {
        flex-direction: column;
    }
    .subscription-form .wpforms-form .wpforms-field-container {
        width: 100%;
        margin-bottom: 20px;
    }
    .subscription-form .wpforms-form .wpforms-submit-container {
        width: 100% !important;
    }
    .subscription-form .wpforms-form .wpforms-field:last-child {
        margin-right: 0;
    }
    .subscription-form .wpforms-form .wpforms-field input {
        height: 60px !important;
    }
    .subscription-form .wpforms-submit {
        height: 60px !important;
        width: 100% !important;
        padding: 18px 45px !important;
    }
    
    /*articles form*/
    .articles-subs-form .subscription-form .wpforms-form .wpforms-field {
        margin-right: 0 !important;
    }
    
    .articles-subs-form .subscription-form .wpforms-submit {
        padding: 15px 45px !important;
        height: 60px !important;
    }
    
    /*articles*/
    .articles .article {
        margin-bottom: 30px;
    }
    
    .articles .article__wrap {
        flex-direction: column;
    }
    
    .articles .img-wrap {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px !important;
    }
    
    .articles .the-img {
        min-height: 300px;
    }
    
    .articles .article .info-wrap {
        width: 100%;
    }
    
    /*authors*/
    .authors-list .single-item-wrap {
        width: 60%;
        margin: 0 0 50px;
        
    }
    
    /*featured article*/
    .featured-article .wrap {
        flex-direction: column-reverse;
    }
    
    .featured-article .info-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .featured-article .img-wrap {
        padding: 0 30px;
        margin-bottom: 30px;
    }
    
    .featured-article .the-img {
        min-height: 350px;
    }
    
    .featured-article .img-wrap {
        width: 410px;
    }
    
    .featured-article .info-wrap .title a {
        font-size: 32px;
        line-height: 40px;
    }
    
    /*tags*/
    
    .tags-container .tag {
        min-width: 160px;
        padding: 12px 25px;
        font-size: 16px;
        line-height: 20px;
    }
    
    /*pagination*/
    ul.page-numbers li a.page-numbers, ul.page-numbers li span.page-numbers.current {
    }
    
    ul.page-numbers li a.page-numbers.next, ul.page-numbers li a.page-numbers.prev {
        margin: 0 30px;
    }
    
    .article-subscription-form h2 {
        font-size: 28px !important;
        line-height: 35px !important;
    }
}

/*
*    800 end
*/

/*
*    768 start
*/

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

/*
*    768 end
*/

/*
*    700 start
*/

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

/*
*    700 end
*/

/*
*    640 start
*/

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

    /*header*/
    .subs-btn .menu-link {
        font-weight: 700;
        font-size: 16px !important;
        background: #82AF76 !important;
        padding: 10px 15px !important;
        line-height: 25px !important;
        text-align: center;
        max-width: 120px !important;
    }
	
	.survey-btn .menu-link {
        font-weight: 700;
        font-size: 16px !important;
        background: #FDCA40 !important;
        padding: 10px 15px !important;
        line-height: 25px !important;
        text-align: center;
        max-width: 120px !important;
		margin-top: 5px !important;
    }
    
    /*home subs form*/
    .subscription-form .wpforms-form .wpforms-field-container {
        flex-wrap: wrap;
    }
    
    .subscription-form .wpforms-form .wpforms-field:first-child {
        width: 100%;
    }
    
    .subscription-form .wpforms-form .wpforms-field {
        width: 100% !important;
        margin: 0 0 20px;
    }
    
    .subscription-form .wpforms-form .wpforms-field:last-child {
        margin: 0;    
    }
    
    /*tags*/
    .tags-container .tag {
        width: 100%;
        min-width: 0;
        margin: 0 0 20px;
    }
    
    /*articles form*/
    .articles-subs-form .subscription-form .wpforms-form .wpforms-field:first-child {
        margin-right: 0px !important;
    }
    
    .article-subscription-form .subscription-form .wpforms-form .wpforms-field:first-child {
        margin-right: 0px !important;
    }
    
    /*content header*/
    .single-article .content-header .buttons-wrap {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .single-article .content-header .default-btn {
        width: 48%;
        justify-content: center;
        margin: 0 0 20px;
        padding: 5px 10px;
        font-size: 18px;
    }
    
    .article-image-details {
        padding-left: 30px;
    }
    
    /*author info*/
    .author-info-container .wrap {
        flex-direction: column;
    }
    .author-info-container .author-info {
        margin: 0 0 30px !important;
    }
    
    /*custom page title*/
    .single-article .ast-container .custom-pagetitle {
        min-height: 300px;
    }
    
    /*nav*/
    ul.page-numbers li a.page-numbers.next,
    ul.page-numbers li a.page-numbers.prev {
        width: 50px;
        height: 50px;
    }

    ul.page-numbers li a.page-numbers, ul.page-numbers li span.page-numbers.current {
        width: 15px;
        height: 15px;
        margin: 0 8px;
    }
    
    ul.page-numbers li a.page-numbers.next, ul.page-numbers li a.page-numbers.prev {
        margin: 0 10px;
    }
	
	.single-article .content-header,
	.single-article .the-content{
    	padding: 0 30px !important;
	}
}

/*
*    640 end
*/

/*
*    480 start
*/

@media screen and (max-width: 480px) {
    /*articles*/
    .articles .article {
        padding: 30px 30px;
    }
    
    .articles .img-wrap {
        max-width: 220px;
    }
    
    .articles .the-img {
        min-height: 220px;
    }
    
    /*authors*/
    .authors-list .single-item-wrap {
        width: 100%;
        margin: 0 0 30px;
        
    }
    
    /*featured article*/
    .featured-article .img-wrap {
        width: 100%;
        padding: 0;
    }
    
    .featured-article .info-wrap .title a {
        font-size: 24px;
        line-height: 30px;
    }
    
    .featured-article .the-img {
        min-height: 400px;
    }
    
    .single-article .content-header .custom-meta {
        font-size: 14px;
    }
	
	/*single article*/
	.single-article .the-content img{
        padding: 0;
    }
	
	.wp-caption-text {
		margin-left: 65px !important;
		padding: 0px 30px 0 0;
	}
}

/*
*    480 end
*/

/*
*    414 start
*/

@media screen and (max-width: 414px) {
    
    .featured-article .the-img {
        min-height: 350px;
    }
    
    ul.page-numbers li a.page-numbers, ul.page-numbers li span.page-numbers.current {
        width: 12px;
        height: 12px;
        margin: 0 5px;
    }
}

/*
*    414 end
*/

/*
*    380 start
*/

@media screen and (max-width: 380px) {
    /*articles*/
    .articles .img-wrap {
        max-width: 180px;
    }
    
    .articles .the-img {
        min-height: 180px;
    }
    
    element {

}

    .author-bio {
        margin-top: 30px;
    }
    
    .author-info-container .author-info .author-img{
        margin-right: 0 !important;    
    }
    
    .author-info-container .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-article .the-img {
        min-height: 320px;
    }
}

/*
*    380 end
*/

/*
*    360 start
*/

@media screen and (max-width: 360px) {
    
    .featured-article .the-img {
        min-height: 300px;
    }
}

/*
*    360 end
*/

/*
*    320 start
*/

@media screen and (max-width: 320px) {
    
    .featured-article .the-img {
        min-height: 250px;
    }
}

/*
*    320 end
*/