/*
Theme Name: Gyógytornász szemmel
Theme URI: https://gyogytornaszszemmel.hu
Description: A Gyógytornász szemmel weboldal alapértelmezett sablonja
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

*{
margin: 0;
padding: 0;
border: 0;
text-decoration: none; 
background-repeat: no-repeat;
}

*, *:after, *::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body { font-family: 'PT Sans', sans-serif; font-size: 18px; font-weight: 400; color: #575757; line-height: 1.6; overflow-x: hidden; }

textarea, input, select, button { font-family: 'PT Sans', sans-serif; font-size: 16px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

hr { margin: 30px 0; border-top: 5px solid #efefed; }
hr.white { border-top-color: rgba(255,255,255,0.2); }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1200px; margin-left: auto; margin-right: auto; position: relative; }
.inner_960 { max-width: 900px; }
.alignleft { margin: 0 20px 5px 0; float: left; }
.alignright { margin: 0 0 5px 20px; float: right; }
.aligncenter { margin: 0 auto 20px auto; display: block; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.hide { display: none !important; }
.red { color: #ff0000; }
.p_l_50 { padding-left: 50px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.sec_font { font-family: 'Barlow Condensed', sans-serif; }

/* Cols */
.row { font-size: 0; }
.row .col { font-size: 18px; vertical-align: top; display: inline-block; }
.row .col_50 { width: 50%; }
.row .col_33 { width: 33.3333333333%; }

.row.row_table { width: 100%; display: table; table-layout: fixed; }
.row.row_table .col { display: table-cell; }

/* Animation */
.anim, .read_more:before { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.anim_cubic { -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -moz-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -o-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }

/* Button */
.button { height: 50px; padding: 0 30px; font-size: 15px !important; font-weight: 700; text-transform: uppercase; text-decoration: none !important; text-align: center; color: white !important; line-height: 50px; background: #04014d; display: inline-block; position: relative; cursor: pointer; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { background: #593aac; }
.button:disabled { color: white; background: #ccc; }

/* Section title */
.section_title { margin-bottom: 30px; padding-bottom: 20px; font-size: 60px; font-weight: 600; text-align: center; color: #04014d; line-height: 1; position: relative; }
.section_title:after { width: 20px; height: 2px; left: 50%; bottom: 0; margin-left: -10px; background: #ff7375; position: absolute; content: ''; }

/* Checkbox and radio */
input[type="checkbox"], 
input[type="radio"] { width: 24px; height: 24px; margin: -4px 4px 0 0 !important; padding: 0 !important; text-align: center !important; background-color: white; border: 1px solid #828282; clear: none; cursor: pointer; display: inline-block; line-height: 0; outline: 0; vertical-align: middle !important;  -webkit-appearance: none; -webkit-box-shadow: none; box-shadow: none; -webkit-transition: .05s border-color ease-in-out; transition: .05s border-color ease-in-out; }
input[type="radio"] { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

input[type="radio"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: #593aac; position: relative; border-radius: 8px; display: block; content: ''; }
input[type="checkbox"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: #593aac; position: relative; display: block; content: ''; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 80px; padding: 50px; color: white; background: #04014d; position: fixed; z-index: 100; visibility: hidden; opacity: 0; overflow: hidden; }
#rwd_menu ul li { list-style: none; }
#rwd_menu ul li a { padding: 10px 0; font-size: 30px; color: white; line-height: 1; display: block; }

body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 1; }


/*
---------------
	HEADER
---------------
*/
#header { height: 100px; border-bottom: 1px solid #ffedea; position: relative; }
body.home #header { border-bottom: none; }
#header:after { width: calc((100% - 1200px) /2); height: 100%; right: 0; top: 0; background: #ffedea; position: absolute; content: ''; }
#header .inner { height: 100%; }

/* Logo */
#header .logo { width: 140px; height: 130px; top: 0; padding: 20px; background: white; position: absolute; }
#header .logo img { width: auto; height: 100%; display: block; }

/* Logo - Home */
body.home #header .logo { top: 20px; padding: 0; background: none; }

/* Menu */
#header ul.menu { height: 100%; right: 0; top: 0; font-size: 0; position: absolute; }
#header ul.menu li { height: 100%; margin-left: 20px; padding-top: 40px; padding-left: 24px; vertical-align: top; display: inline-block; position: relative; }
#header ul.menu li:before { width: 4px; height: 4px; left: 0; top: 50%; margin-top: -2px; background: #ff7375; position: absolute; content: ''; }
#header ul.menu li:first-child { margin-left: 0; padding-left: 0; }
#header ul.menu li:first-child:before { display: none; }
#header ul.menu li a { height: 20px; font-size: 20px; font-weight: 600; color: #04014d; line-height: 1; display: block; }
#header ul.menu li a:hover { text-decoration: underline; }

#header ul.menu li.contact { margin-left: 40px; padding-left: 40px; background: #ffedea; }
#header ul.menu li.contact:before { display: none; }
#header ul.menu li.contact a { padding-left: 40px; background: url(images/icon_mail.svg) no-repeat left center; background-size: 20px auto; }

/* RWD menu */
#header .rwd_button { width: 80px; height: 80px; right: 0; background: #04014d; position: absolute; cursor: pointer; }
#header .rwd_button .burg { width: 30px; height: 2px; left: 25px; background: white; display: block; position: relative; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 30px; height: 2px; background: white; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: -8px; left: 0; }
#header .rwd_button .burg:after { top: 8px; right: 0; }

body.rwd_menu__opened #header .rwd_button .burg { background: transparent; }
body.rwd_menu__opened #header .rwd_button .burg:before { top: 0; -webkit-transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 0; -webkit-transform: rotate(-45deg); }


/*
--------------
	SLIDER
--------------
*/
#slide { margin-bottom: 50px; position: relative; }

/* Text */
#slide .slide_text { width: calc(50% + 100px); height: 100%; left: 0; top: 0; padding-left: calc((100% - 1200px) / 2); position: absolute; z-index: 5; }
#slide .slide_text .slide_title { font-size: 60px; font-weight: 600; color: #04014d; line-height: 1.2; }
#slide .slide_text .slide_content { max-width: 450px; margin-top: 30px; font-size: 19px; color: #04014d; line-height: 30px; }
#slide .slide_text .scroll_somewhere { width: 50px; height: 50px; right: 30%; bottom: 0; background: url(images/icon_arrow_down.svg) no-repeat center; background-size: auto 100%; display: block; position: absolute; }

/* Image */
#slide .slide_image { width: calc(50% + 100px); margin-left: calc(50% - 100px); height: 650px; background-color: purple; background-position: center; background-size: cover; right: 0; top: 0; position: relative; z-index: 1; }
#slide .slide_image:after { width: 40%; height: 90%; left: -20%; top: 17%; background: #ffedea; position: absolute; content: ''; z-index: 2; }
#slide .slide_image:before { width: 145px; height: 60px; left: -15%; top: 10%; background: url(images/dot_purple.png) repeat left top; position: absolute; content: ''; z-index: 3; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { padding-top: 70px; }
#aboutus .row .col_image { position: relative; z-index: 0; }
#aboutus .row .col_image .image { width: 360px; height: 100%; right: 0; top: 0; background-position: center; background-size: cover; position: absolute; }
#aboutus .row .col_image .image:before { width: 145px; height: 300px; left: -100px; bottom: -30px; background: url(images/dot_purple.png) repeat left top; position: absolute; content: ''; z-index: -1; }

#aboutus .row .col_text { padding: 70px 0 70px 70px; vertical-align: middle; }
#aboutus .row .col_text .subtitle { margin-bottom: 10px; font-size: 16px; font-weight: 700; color: #ff7375; line-height: 20px; }
#aboutus .row .col_text .title { margin-bottom: 20px; font-size: 60px; font-weight: 600; color: #04014d; line-height: 1; }
#aboutus .row .col_text .content { font-size: 19px; color: #04014d; line-height: 30px; }
#aboutus .row .col_text .read_more { margin-top: 30px; padding-left: 30px; font-size: 18px; font-weight: 700; color: #593aac; line-height: 20px; display: inline-block; position: relative; }
#aboutus .row .col_text .read_more:hover { padding-left: 35px; }
#aboutus .row .col_text .read_more:before { width: 15px; height: 2px; left: 0; top: 50%; background: #593aac; position: absolute; content: ''; }
#aboutus .row .col_text .read_more:hover:before { width: 20px; }


/*
------------------------
	ARTICLE and POST
------------------------
*/
.article_post_wrapper { margin-left: -15px; margin-right: -15px; font-size: 0; }
.article_post_wrapper .post { width: 33.3333333333%; margin-top: 30px; padding-left: 15px; padding-right: 15px; vertical-align: top; display: inline-block; }
.article_post_wrapper .post:nth-child(-n+3) { margin-top: 0; }
.article_post_wrapper .post .wrapper { background: white; position: relative; }
.article_post_wrapper .post .wrapper .thumbnail { background-color: #04014d; display: block; overflow: hidden; }
.article_post_wrapper .post .wrapper .thumbnail img { width: 100%; height: auto; display: block; position: relative; z-index: 1; transform: scale(1) translateZ(0); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }
.article_post_wrapper .post .wrapper .thumbnail:hover img { -ms-transform: scale(1.05) translateZ(0); -webkit-transform: scale(1.05) translateZ(0); transform: scale(1.05) translateZ(0); }

.article_post_wrapper .post .wrapper .entry { height: 220px; padding: 20px 30px; position: relative; overflow: hidden; }
.article_post_wrapper .post .wrapper .entry h3 { height: 100px; position: relative; }
.article_post_wrapper .post .wrapper .entry h3:after { width: 40px; height: 1px; left: 0; bottom: 0; background: #ff7375; position: absolute; content: ''; }
.article_post_wrapper .post .wrapper .entry h3 a { font-size: 30px; text-decoration: none !important; color: #04014d !important; line-height: 1; display: block; }
.article_post_wrapper .post .wrapper .entry .category_datetime { margin-bottom: 20px; font-size: 14px; font-weight: 700; color: #593aac; line-height: 16px; }
.article_post_wrapper .post .wrapper .entry .category_datetime span { padding-left: 20px; display: inline-block; position: relative; }
.article_post_wrapper .post .wrapper .entry .category_datetime span:before { width: 8px; height: 8px; left: 0; top: 50%; margin-top: -4px; background: #593aac; position: absolute; content: ''; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.article_post_wrapper .post .wrapper .entry .read_more { width: 100%; height: 50px; left: 0; bottom: -50px; font-size: 15px; font-weight: 700; text-decoration: none !important; color: white !important; line-height: 50px; background: #04014d; display: block; position: absolute; }
.article_post_wrapper .post .wrapper:hover .entry .read_more { bottom: 0; }

body.home #artciles .article_post_wrapper .post .wrapper, 
body.archive .article_post_wrapper .post .wrapper { background-color: #f7f5ff; }

.article_post_wrapper .post.training { padding-top: 26px; }
.article_post_wrapper .post.training .wrapper:before { width: 100%; height: 26px; left: 0; top: -26px; background: url(images/icon_paper_top.svg) repeat-x left top; background-size: auto 26px; position: absolute; content: ''; }


/*
----------------
	ARTICLES
----------------
*/
#artciles { padding-top: 70px; }
#artciles .section_title { padding-top: 70px; }


/*
------------
	NEWS
------------
*/
#news { padding: 70px 0; position: relative; }
#news:before { width: 100%; height: 60%; left: 0; bottom: 0; background: #ffedea; background: -moz-linear-gradient(top,  #ffedea 0%, #f7f5ff 100%); background: -webkit-linear-gradient(top,  #ffedea 0%,#f7f5ff 100%); background: linear-gradient(to bottom,  #ffedea 0%,#f7f5ff 100%); position: absolute; content: ''; }


/*
-----------------
	TRAININGS
-----------------
*/
#trainings { padding: 70px 0; background: #593aac; }
#trainings .title { margin-bottom: 30px; font-size: 50px; font-weight: 600; color: white; line-height: 1; }
#trainings .trainings_wrapper { margin-left: -15px; margin-right: -15px; font-size: 0; }
#trainings .trainings_wrapper .post { width: 33.3333333333%; padding-top: 26px; padding-left: 15px; padding-right: 15px; vertical-align: top; display: inline-block; }
#trainings .trainings_wrapper .post .wrapper { padding: 20px 30px; background: white; position: relative; }
#trainings .trainings_wrapper .post .wrapper:before { width: 100%; height: 26px; left: 0; top: -26px; background: url(images/icon_paper_top_white.svg) repeat-x left top; background-size: auto 26px; position: absolute; content: ''; }
#trainings .trainings_wrapper .post .wrapper h3 { height: 90px; }
#trainings .trainings_wrapper .post .wrapper h3 a { font-size: 30px; color: #04014d; line-height: 1; display: block; }
#trainings .trainings_wrapper .post .wrapper .meta { height: 16px; margin-bottom: 10px; padding-left: 25px; font-size: 14px; font-weight: 700; color: #593aac; line-height: 16px; background-position: left center; background-size: auto 100%; }
#trainings .trainings_wrapper .post .wrapper .meta:last-child { margin-bottom: 0; }
#trainings .trainings_wrapper .post .wrapper .meta.location { background-image: url(images/icon_marker.svg); }
#trainings .trainings_wrapper .post .wrapper .meta.datetime { background-image: url(images/icon_calendar.svg); }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { font-size: 15px; font-weight: 700; color: #04014d; }
#before_content a { font-weight: normal; text-decoration: underline; color: #ff7375; }
#before_content a:hover { color: #04014d; }


/*
----------------
	CONTENT
----------------
*/
#content { padding: 50px 0; }

#content h1 { margin-bottom: 30px; font-size: 60px; font-weight: 600; color: #04014d; line-height: 1; }
#content h3 { margin-bottom: 10px; font-size: 25px; font-weight: 600; color: #ff7375; line-height: 1; }

#content p { margin-bottom: 30px; }
#content a { text-decoration: underline; color: #ff7375; }
#content a:hover { color: #04014d; }

/* List */
#content ul { margin-bottom: 30px; margin-left: 30px; }
#content ul li { list-style: disc; }
#content ul.nomargin { margin-bottom: 0 !important; margin-left: 0 !important; }
#content ul.nomargin li { list-style: none; }

#content ol { margin-bottom: 30px; margin-left: 30px; }
#content ol li { list-style: decimal; }

/* Training metas */
#content .metas { margin-bottom: 20px; border-top: 1px solid #ddd; }
#content .metas .meta { padding: 10px 0; padding-left: 30px; font-size: 16px; font-weight: 700; color: #593aac; line-height: 20px; background-position: left center; background-size: auto 20px; border-bottom: 1px solid #ddd; }
#content .metas .meta.location { background-image: url(images/icon_marker.svg); }
#content .metas .meta.datetime { background-image: url(images/icon_calendar.svg); }

/* Methods */
#content .method { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #ddd; }
#content .method:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
#content .method p { margin-bottom: 20px; }
#content .method .related_article { margin-bottom: 20px; font-size: 15px; font-weight: 700; color: #ff7375; }

/* Iframe wrapper */
#content .iframe_wrapper { height: 0; margin-bottom: 30px; padding-bottom: 56.25%; padding-top: 25px; position: relative; }
#content .iframe_wrapper iframe { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }


/*
--------------
	FILTER
--------------
*/
#filter { margin-bottom: 30px; }
#filter ul { font-size: 0; }
#filter ul li { margin-right: 10px; margin-bottom: 10px; vertical-align: top; display: inline-block; }

#filter a { height: 36px; padding: 0 10px; font-size: 16px; text-decoration: none !important; color: white !important; line-height: 36px; background: #ff7375; display: inline-block; -webkit-border-radius: 18px; -moz-border-radius: 18px; border-radius: 18px; }
#filter a:hover { background: #04014d; }


/*
---------------
	FOOTER
---------------
*/
#footer { }

/* Footer top */
#footer .footer_top { padding: 50px 0; }
#footer .footer_top h3 { margin-bottom: 20px; font-size: 30px; font-weight: 600; color: #04014d; line-height: 1; }
#footer .footer_top .row .col { padding-left: 50px; font-size: 17px; color: #04014d; line-height: 25px; position: relative; }
#footer .footer_top .row .col .button, 
#footer .footer_top .row .col .buttons { right: 0; top: 0; font-size: 0; position: absolute; }
#footer .footer_top .row .col .buttons a.social { width: 50px; height: 50px; margin-left: 10px; vertical-align: top; background-color: #04014d; background-repeat: no-repeat; background-position: center; background-size: auto 24px; display: inline-block; }
#footer .footer_top .row .col .buttons a.social.facebook { background-image: url(images/icon_facebook_white.svg); }
#footer .footer_top .row .col .buttons a.social.instagram { background-image: url(images/icon_instagram_white.svg); }
#footer .footer_top .row .col .buttons a.social:hover { background-color: #593aac; }
#footer .footer_top .row .col .buttons a.social span { display: none; }

#footer .footer_top .row .col .text_wrapper { margin-bottom: 30px; position: relative; }
#footer .footer_top .row .col .text_wrapper.has_button { padding-right: 250px; }

#footer .footer_top .row .col .add_text { font-size: 15px; color: #ff7375; }
#footer .footer_top .row .col .add_text a { text-decoration: underline; color: #ff7375; }
#footer .footer_top .row .col .add_text a:hover { color: #04014d; }

/* Footer bottom */
#footer .footer_bottom .inner { padding-top: 20px; padding-bottom: 20px; font-size: 16px; color: #888; line-height: 1; border-top: 1px solid #ddd; }


/*
--------------
	FORM
--------------
*/
.form-row { margin-bottom: 10px !important; }
.form-row.form-row-first { width: calc(50% - 5px); float: left; }
.form-row.form-row-last { width: calc(50% - 5px); float: right; }
.form-row.form-row-wide { width: 100%; float: none; clear: both; }

.form-row a { text-decoration: underline; color: #333; }
.form-row a:hover { color: #000; }
.form-row br { display: none; }
.form-row label { font-size: 17px; font-weight: 700; text-align: left; color: #333; display: block; }
.form-row label.bold { margin-bottom: 20px; font-size: 18px; text-align: center; }

.form-row select,
.form-row textarea,
.form-row input[type=tel],
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=number],
.form-row input[type=password] { width: 100%; height: 50px; padding-left: 10px; font-size: 16px; background: #fff5f5; border: 1px solid #ffc3b9; }

.form-row select:focus,
.form-row textarea:focus,
.form-row input[type=tel]:focus,
.form-row input[type=text]:focus,
.form-row input[type=email]:focus,
.form-row input[type=number]:focus,
.form-row input[type=password]:focus { background: white; border-color: #ff7375; -moz-box-shadow: 0 0 10px rgba(255,115,117,0.5); -webkit-box-shadow: 0 0 10px rgba(255,115,117,0.5); box-shadow: 0 0 10px rgba(255,115,117,0.5); }

.form-row textarea { height: 150px; padding: 10px; resize: vertical; }

.wpcf7 h3 { margin-top: 30px; }
.wpcf7 .wpcf7-list-item { margin: 0 15px 0 0 !important; }

.wpcf7 .wpcf7-form-control-wrap.wpcf7-form-control-signature-input-wrap { min-height: inherit; }
.wpcf7 .wpcf7-form-control-wrap.vegzett-tevekenysegek .wpcf7-list-item { margin: 0 0 5px 0 !important; display: block; }

.wpcf7 .wpcf7-form-control-wrap.wpcf7-form-control-signature-input-wrap { min-height: inherit; }

.wpcf7 .wpcf7-form-control.wpcf7-radio { padding-top: 10px; display: block; }

/* Signature */
.wpcf7 .wpcf7-form-control-signature-global-wrap {}
.wpcf7 .wpcf7-form-control-signature-global-wrap .wpcf7-form-control-signature-wrap { width: 100% !important; margin-bottom: 20px; border: 3px solid #ddd; }
.wpcf7 .wpcf7-form-control-signature-global-wrap .wpcf7_signature_signature { width: 100% !important; }
.wpcf7 .wpcf7-form-control-signature-global-wrap input[type=button] { height: 40px; padding: 0 10px; font-size: 17px !important; font-weight: 700; text-transform: uppercase; text-decoration: none !important; color: white !important; line-height: 40px; background: #377ef2; display: inline-block; position: relative; cursor: pointer; -webkit-border-radius: 25px; -moz-border-radius: 25px; border-radius: 25px; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.wpcf7 .wpcf7-form-control-signature-global-wrap input[type=button]:hover { background: #04014d; }

/* Error */
.error { padding: 10px 20px; font-size: 16px; color: #242424; background: #fbcdcc; border-left: 5px solid #f1655c; position: relative; }



/*
-------------------
	RWD DESIGN
-------------------
*/
@media only screen and (max-width: 1440px) { 

	/* DEFAULT: Section title */
	.section_title { font-size: 55px; }

	/* HEADER */
	#header { height: 80px; }

	/* HEADER: Logo */
	#header .logo { width: 130px; height: 120px; }

	/* HEADER: Menu */
	#header ul.menu li { margin-left: 15px; padding-top: 30px; padding-left: 19px; }
	#header ul.menu li a { font-size: 19px; }

	#header ul.menu li.contact { margin-left: 30px; padding-left: 30px; }
	
	/* SLIDER: Text */
	#slide .slide_text .slide_title { font-size: 55px; }
	#slide .slide_text .slide_content { margin-top: 20px; }

	/* SLIDER: Image */
	#slide .slide_image { height: 600px; }
	
	/* ABOUT US */
	#aboutus .row .col_text .title { font-size: 55px; }
}

@media only screen and (max-width: 1200px) { 

	/* DEFAULT */
	.p_l_30 { padding-left: 20px; }
	.p_r_30 { padding-right: 20px; }
	
	/* DEFAULT: Section title */
	.section_title { font-size: 50px; }

	/* HEADER: Logo */
	#header .logo { width: 120px; height: 110px; left: 20px; }
	
	/* HEADER: Menu */
	#header ul.menu li.contact { padding-right: 30px; }
	
	/* SLIDER: Text */
	#slide .slide_text { padding-left: 20px; }
	#slide .slide_text .slide_title { font-size: 50px; }
	#slide .slide_text .slide_content { font-size: 18px; }

	/* SLIDER: Image */
	#slide .slide_image { height: 550px; }
	
	/* ABOUT US */
	#aboutus .row .col_text .title { font-size: 50px; }
	#aboutus .row .col_text .content { font-size: 18px; }
	
	/* ARTICLE and POST */
	.article_post_wrapper .post .wrapper .entry h3 a { font-size: 26px; }
	
	/* TRAININGS */
	#trainings { padding: 50px 0; }
	#trainings .trainings_wrapper .post .wrapper h3 a { font-size: 26px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding: 30px 0; }
	#footer .footer_top .row .col { padding-left: 0; }
	#footer .footer_top .row .col.col_contact { padding-left: 10px; }
	#footer .footer_top .row .col.col_newsletter .button { right: 10px; }
	#footer .footer_top .row .col .text_wrapper.has_button { padding-right: 170px; }
}

@media only screen and (max-width: 960px) { 

	/* DEFAULT: Section title */
	.section_title { font-size: 45px; }

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }

	/* HEADER: Logo */
	#header .logo { width: 90px; height: 85px; }
	
	/* HEADER: Menu */
	#header ul.menu { right: 80px; }
	#header ul.menu li { display: none; }
	#header ul.menu li.contact { display: block; }
	
	/* SLIDER: Text */
	#slide .slide_text .slide_title { font-size: 45px; }
	
	/* SLIDER: Image */
	#slide .slide_image { height: 500px; }
	
	/* ABOUT US */
	#aboutus .row .col_text .title { font-size: 45px; }
	
	/* ARTICLE and POST */
	.article_post_wrapper { margin-left: -10px; margin-right: -10px; }
	.article_post_wrapper .post { margin-top: 20px; padding-left: 10px; padding-right: 10px; }
	.article_post_wrapper .post .wrapper .entry { padding: 20px; }
	.article_post_wrapper .post .wrapper .entry .category_datetime span { padding-left: 0; }
	.article_post_wrapper .post .wrapper .entry .category_datetime span:before { display: none; }
	
	/* ARTICLES */
	#artciles { padding-top: 50px; }
	#artciles .section_title { padding-top: 50px; }
	
	/* NEWS */
	#news { padding: 50px 0; }
	
	/* TRAININGS */
	#trainings { padding: 50px 0; }
	#trainings .title { font-size: 45px; }
	#trainings .trainings_wrapper { margin-left: -10px; margin-right: -10px; }
	#trainings .trainings_wrapper .post { padding-left: 10px; padding-right: 10px; }
	#trainings .trainings_wrapper .post .wrapper { padding: 20px; }
	
	/* CONTENT */
	#content h1 { font-size: 50px; }

	/* FOOTER: Footer top */
	#footer .footer_top .row .col.col_newsletter { padding-right: 10px; }
	#footer .footer_top .row .col .button, 
	#footer .footer_top .row .col .buttons { right: auto; top: auto; position: relative; }
	#footer .footer_top .row .col .buttons a.social { margin-left: 0; margin-right: 10px; }
	#footer .footer_top .row .col.col_newsletter .button { right: auto; }

	#footer .footer_top .row .col .text_wrapper > div { margin-bottom: 10px; }
	#footer .footer_top .row .col .text_wrapper.has_button { padding-right: 0; }
}

@media only screen and (max-width: 768px) { 

	/* DEFAULT: Section title */
	.section_title { font-size: 40px; }

	/* SLIDER */
	#slide { margin-bottom: 30px; }

	/* SLIDER: Text */
	#slide .slide_text { width: 80%; }
	#slide .slide_text .slide_title { font-size: 40px; line-height: 1; }
	#slide .slide_text .slide_content { width: 80%; max-width: none; margin-top: 20px; }
	#slide .slide_text .scroll_somewhere { left: 40px; right: auto; }

	/* SLIDER: Image */
	#slide .slide_image { height: 450px; }
	#slide .slide_image { width: 80%; margin-left: 20%; }
	#slide .slide_image:after { width: 60%; height: 90%; left: -25%; }
	
	/* ABOUT US */
	#aboutus { padding-top: 30px; }
	#aboutus .row .col_image .image { width: 100%; left: 0; right: auto; }
	#aboutus .row .col_image .image:before { z-index: 2; }

	#aboutus .row .col_text { padding: 30px 0 30px 30px; }
	#aboutus .row .col_text .title { font-size: 40px; }
	#aboutus .row .col_text .read_more { margin-top: 20px; }
	
	/* ARTICLE and POST */
	.article_post_wrapper .post { width: 50%; }
	.article_post_wrapper .post:nth-child(-n+3) { margin-top: 20px; }
	.article_post_wrapper .post:nth-child(-n+2) { margin-top: 0; }
	
	body.home .article_post_wrapper .post:nth-child(3) { display: none; }
	
	/* ARTICLES */
	#artciles { padding-top: 30px; }
	#artciles .section_title { padding-top: 30px; }
	
	/* NEWS */
	#news { padding: 30px 0; }
	
	/* TRAININGS */
	#trainings { padding: 30px 0; }
	#trainings .title { margin-bottom: 20px; font-size: 40px; }
	#trainings .trainings_wrapper .post { width: 50%; }
	#trainings .trainings_wrapper .post:nth-child(3) { display: none; }
	
	/* CONTENT */
	#content { padding: 30px 0; }
	#content h1 { margin-bottom: 20px; font-size: 7vw; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .row .col { width: 100%; padding-left: 0 !important; padding-right: 0 !important; display: block; }
	#footer .footer_top .row .col.col_newsletter { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #ddd; }

	#footer .footer_top .row .col .text_wrapper { margin-bottom: 20px; }
}

@media only screen and (max-width: 640px) { 

	/* DISPLAY: None */
	.hide_in_640 { display: none !important; }
	
	/* DEFAULT: Section title */
	.section_title { font-size: 35px; }
	
	/* NAVIGATION */
	#rwd_menu { padding: 30px; }
	#rwd_menu ul li a { padding: 5px 0; }

	/* HEADER: Logo */
	#header .logo { width: 65px; height: 60px; top: 10px; padding: 0; background: transparent; }

	/* HEADER: Logo - Home */
	body.home #header .logo { top: 10px; }

	/* SLIDER: Text */
	#slide .slide_text { width: 100%; }
	#slide .slide_text .slide_title { font-size: 35px; }
	#slide .slide_text .slide_content { width: 100%; }
	#slide .slide_text .scroll_somewhere { left: 20px; }

	/* SLIDER: Image */
	#slide .slide_image { height: 400px; }
	#slide .slide_image { width: 100%; margin-left: 0; }
	#slide .slide_image:after { width: calc(100% - 80px); left: 0; opacity: 0.9; }
	
	/* ABOUT US */
	#aboutus .row .col_text { padding: 0; }
	#aboutus .row .col_text .title { font-size: 35px; }
	
	/* CONTENT */
	#content h1 { font-size: 8vw; }
	
	/* FORM */
	.form-row.form-row-first, 
	.form-row.form-row-last { width: 100%; float: none; }
}

@media only screen and (max-width: 480px) { 

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* NAVIGATION */
	#rwd_menu { padding: 20px; }
	#rwd_menu ul li a { font-size: 26px; }

	/* HEADER: Menu */
	#header ul.menu li.contact { margin-left: 0 !important; padding-left: 20px; padding-right: 20px; }
	#header ul.menu li.contact a { padding-left: 0; background: none; }
	
	/* SLIDER: Image */
	#slide .slide_image { height: 250px; }
	#slide .slide_image:after { width: 80%; }
	
	/* ARTICLE and POST */
	.article_post_wrapper { margin-left: 0; margin-right: 0; }
	.article_post_wrapper .post { width: 100%; padding-left: 0; padding-right: 0; display: block; }
	.article_post_wrapper .post:nth-child(-n+2) { margin-top: 20px; }
	.article_post_wrapper .post:nth-child(1) { margin-top: 0; }
	
	.article_post_wrapper .post .wrapper .entry { height: auto; padding-bottom: 70px; }
	.article_post_wrapper .post .wrapper .entry h3 { height: auto; padding-bottom: 20px; }
	.article_post_wrapper .post .wrapper .entry .read_more { bottom: 0; }
	
	/* TRAININGS */
	#trainings .title { font-size: 35px; }
	#trainings .trainings_wrapper { margin-left: 0; margin-right: 0; }
	#trainings .trainings_wrapper .post { width: 100%; padding-left: 0; padding-right: 0; }
	#trainings .trainings_wrapper .post:nth-child(1) { margin-bottom: 20px; }
	#trainings .trainings_wrapper .post .wrapper h3 { height: auto; margin-bottom: 20px; }	
	
	/* CONTENT */
	#content { padding: 20px 0; }
	#content h1 { font-size: 9vw; }
}

@media only screen and (max-width: 320px) { 

	/* HEADER: Menu */
	#header ul.menu li.contact { display: none; }
}