/*
Theme Name: Másholország
Theme URI: https://masholorszag.hu
Description: A Másholország családi bölcsőde weboldalának alapértelmezett sablonja
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

*{
margin: 0;
padding: 0;
border: 0;
text-decoration: none; 
}

*, *:after, *::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body { max-width: 2000px; margin: auto; font-family: 'PT Serif', serif; font-size: 18px; font-weight: 400; color: #555; line-height: 25px; overflow-x: hidden; }
body.rwd_menu__opened { overflow: hidden !important; }

textarea, input, select, button { font-family: 'PT Serif', serif; font-size: 15px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

hr { margin: 30px 0; border-top: 5px solid #efefed; }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1200px; margin-left: auto; margin-right: auto; position: relative; }
.inner_900 { 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: #f1655c; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.sec_font, #content h3 { font-family: 'Pacifico', cursive; }

/* 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, #header ul.menu li a:after, .button_has_arrow:after, ul.single_gallery li a:after, a.thumbnail:after { -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 25px; font-size: 19px !important; font-weight: 700; text-decoration: none !important; text-align: center; color: white !important; line-height: 50px; background-color: #ff7223; 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; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
.button:hover { background-color: #483290; }
.button:disabled { color: white !important; background-color: #ccc !important; }

.button.button_big { height: 60px; padding: 0 30px; line-height: 60px; }

.button.button_green { background-color: #9cc624; }
.button.button_green:hover { background-color: #243238; }

.button.button_has_arrow { padding-right: 70px !important; }
.button.button_has_arrow:after { width: 26px; height: 26px; right: 30px; top: 50%; background: url(images/icon_arrow_white.svg) no-repeat center; background-size: 100% auto; position: absolute; content: ''; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.button.button_has_arrow:hover:after { right: 20px; }

/* 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: #9cc624; 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: #9cc624; position: relative; display: block; content: ''; }


/*
-----------------
	ANIMATION
-----------------
*/
.slide_up { top: 20px !important; position: relative; opacity: 0; -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); }
body.loaded .slide_up { top: 0 !important; opacity: 1; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 80px; bottom: 0; font-size: 18px; color: white; position: fixed; z-index: 100; visibility: hidden; opacity: 0; overflow: hidden; }
#rwd_menu p { margin-bottom: 10px; }
#rwd_menu p:last-child { margin-bottom: 0; }
#rwd_menu p label { margin-bottom: 5px; font-size: 15px; font-weight: 700; text-transform: uppercase; color: #dde0e4; display: block; }
#rwd_menu p a { font-size: 20px; color: white; }

#rwd_menu .rwd_menu_overlay { width: 100%; height: 100%; left: 0; top: 0; background: #483290; position: absolute; }
#rwd_menu .rwd_menu_wrapper { max-height: 100%; margin-top: -30px; padding: 50px 20px 20px 20px; position: relative; overflow-y: auto; opacity: 0; }

/* Menu */
#rwd_menu .rwd_menu_wrapper ul { margin-bottom: 20px; position: relative; z-index: 1; } 
#rwd_menu .rwd_menu_wrapper ul li { list-style: none; } 
#rwd_menu .rwd_menu_wrapper ul li a { padding: 5px 0; font-size: 30px; font-weight: 700; color: white; line-height: 1; display: block; position: relative; }
#rwd_menu .rwd_menu_wrapper ul li ul li a { padding: 5px 10px; font-size: 26px; font-weight: normal; text-transform: none; }

/* RWD nav opened */
body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 1; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrapper { margin-top: 0; opacity: 1; }


/*
---------------
	HEADER
---------------
*/
#header { height: 110px; background: #fff7f0; position: relative; }
#header:after { width: calc((100% - 1200px) /2); height: 100%; right: 0; top: 0; background: white; position: absolute; content: ''; }
#header .inner { height: 100%; }

/* Logo */
#header .logo { width: 230px; height: 64px; font-size: 30px; color: #ff7223; letter-spacing: 1.2px; line-height: 32px; display: block; }
#header .logo span { font-size: 20px; color: #243238; letter-spacing: 0; display: block; }

/* Menu */
#header ul.menu { height: 50px; left: 250px; padding-top: 10px; padding-left: 30px; font-size: 0; border-left: 1px solid #dcdcdc; position: absolute; z-index: 100; }
#header ul.menu li { margin-right: 20px; vertical-align: top; display: inline-block; position: relative; }
#header ul.menu li a { height: 30px; font-size: 19px; font-weight: 700; color: #483290; line-height: 30px; display: block; }
#header ul.menu li a:hover { color: #ff7223; }
#header ul.menu li.current_page_item a, 
#header ul.menu li.current-menu-item a { color: #ff7223; border-bottom: 1px solid #ff7223; }

#header ul.menu li ul { height: auto; left: 0; top: 100%; background: white; position: absolute; visibility: hidden; opacity: 0; -moz-box-shadow: 0 2px 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.1); box-shadow: 0 2px 3px rgba(0,0,0,0.1); }
#header ul.menu li ul li { margin-right: 0; border-bottom: 1px solid #ffead7; display: block; }
#header ul.menu li ul li:last-child { border-bottom: none; }
#header ul.menu li ul li a { height: auto; padding: 10px 15px; font-size: 18px; font-weight: normal; line-height: 20px; }

#header ul.menu li.menu-item-has-children { padding-right: 16px; background: url(images/icon_arrow_down.svg) no-repeat right center; background-size: auto 10px; }
#header ul.menu li.menu-item-has-children:hover > a { color: #ff7223; }
#header ul.menu li.menu-item-has-children:hover ul { visibility: visible; opacity: 1; }

/* Phone and contact link */
#header .phone_contact { height: 100%; right: 0; top: 0; padding-left: 20px; background: white; position: absolute; }
#header .phone_contact .phone { height: 100%; padding: 0 20px 0 30px; vertical-align: top; display: inline-block; }
#header .phone_contact .phone a { height: 30px; font-size: 19px; font-weight: 700; color: #ff7223; line-height: 30px; display: block; }
#header .phone_contact .button_wrapper { height: 100%; vertical-align: top; display: inline-block; }

/* RWD menu */
#header .rwd_button_wrapper { width: 80px; height: 100%; right: 0; top: 0; background: white; position: absolute; }
#header .rwd_button { width: 50px; height: 50px; right: 15px; background: #ff7223; position: absolute; cursor: pointer; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
#header .rwd_button .burg { width: 30px; height: 2px; left: 10px; 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); }


/*
-------------
	SLIDE
-------------
*/
#slide { padding-bottom: 70px; background: #fff7f0; position: relative; }
#slide:before { width: calc((100% - 1200px) /2); height: 100%; right: 0; top: 0; background: white; position: absolute; content: ''; }
#slide .inner { height: 100%; padding-bottom: 80px; }

#slide .row .col.col_slide_content { padding-top: 100px; padding-bottom: 100px; padding-left: calc((100% - 1200px) /2); padding-right: 100px; position: relative; z-index: 0; }
#slide .row .col.col_slide_content:before { width: 80%; height: 80%; left: -10%; bottom: 0; background: url(images/decor_elephant.svg) no-repeat center; background-size: 100% auto; position: absolute; content: ''; z-index: -1; }
#slide .row .col.col_slide_content .subtitle { margin-bottom: 20px; font-size: 24px; color: #ff7223; line-height: 1; }
#slide .row .col.col_slide_content .title { max-width: 600px; font-size: 50px; color: #483290; line-height: 1.4; }
#slide .row .col.col_slide_content .text { max-width: 600px; margin-top: 20px; font-size: 18px; color: #666; line-height: 30px; }
#slide .row .col.col_slide_content .button_wrapper { margin-top: 20px; }

#slide .row .col.col_slide_image { position: relative; }
#slide .row .col.col_slide_image .image { width: 100%; height: 100%; left: 0; top: 0; background: #483290; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; }


/*
----------------
	SERVICES
----------------
*/
#services { padding: 70px 0; }
#services .services_wrapper { font-size: 0; }
#services .services_wrapper .service { width: 33.3333333333%; padding: 0 20px; font-size: 17px; vertical-align: top; color: #666; line-height: 25px; display: inline-block; }
#services .services_wrapper .service img { width: auto; height: 80px; margin: 0 auto 30px; display: block; }
#services .services_wrapper .service .title { margin-bottom: 15px; font-size: 25px; color: #483290; line-height: 25px; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus .row .col.col_text { width: 50%; padding-top: 100px; padding-bottom: 100px; padding-left: calc((100% - 1200px) /2); padding-right: 100px; font-size: 18px; vertical-align: middle; color: #666; line-height: 30px; }
#aboutus .row .col.col_text .title { margin-bottom: 20px; font-size: 60px; color: #483290; line-height: 1; }

#aboutus .row .col.col_image { width: 50%; position: relative; }
#aboutus .row .col.col_image .image { width: 100%; height: 100%; right: 0; top: 0; background-color: #483290; background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; }
#aboutus .row .col.col_image .image:before { width: 20px; left: -20px; top: 20px; bottom: 20px; background: #ffa012; position: absolute; content: ''; }
#aboutus .row .col.col_image .image:after { width: 180px; height: 180px; right: 10%; bottom: -90px; background: url(images/decor_01.svg) no-repeat center; background-size: cover; position: absolute; content: ''; }


/*
------------
	BLOG
------------
*/
#blog { padding: 100px 0; position: relative; }
#blog:before { width: 100%; height: 55%; left: 0; bottom: 0; background: #fff7f0; position: absolute; content: ''; }
#blog .title { margin-bottom: 50px; font-size: 60px; color: #483290; line-height: 1; }

.blog_wrapper { margin-left: -20px; margin-right: -20px; font-size: 0; }
.blog_wrapper article { width: 33.3333333333%; margin-top: 40px; padding-left: 20px; padding-right: 20px; vertical-align: top; display: inline-block; }
.blog_wrapper article:nth-child(-n+3) { margin-top: 0; }
.blog_wrapper article .thumbnail { display: block; position: relative; overflow: hidden; }
.blog_wrapper article .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); }
.blog_wrapper article .thumbnail:hover img { -ms-transform: scale(1.05) translateZ(0); -webkit-transform: scale(1.05) translateZ(0); transform: scale(1.05) translateZ(0); }
.blog_wrapper article .thumbnail .datetime { width: 80px; height: 80px; right: 0; bottom: 0; padding-top: 17px; color: white; background: #9cc624; position: absolute; z-index: 2; }
.blog_wrapper article .thumbnail .datetime .month { margin-bottom: 5px; font-size: 17px; font-weight: 700; line-height: 16px; }
.blog_wrapper article .thumbnail .datetime .day { font-size: 28px; line-height: 1; }

.blog_wrapper article .entry { padding-top: 20px; }
.blog_wrapper article .entry h3 { margin-bottom: 10px; font-size: 30px; color: #ff7223; line-height: 1; display: block; }
.blog_wrapper article .entry .excerpt { margin-bottom: 20px; font-size: 17px; color: #666; line-height: 25px; }
.blog_wrapper article .entry .read_more { font-size: 17px; font-weight: 700; text-decoration: underline; color: #483290; }

body.home .blog_wrapper { margin-bottom: 50px; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { height: 200px; margin-bottom: 30px; font-size: 17px; font-weight: 700; color: #483290; line-height: 20px; background: #fff7f0 url(images/bgr_wave.svg) repeat-x left bottom; background-size: auto 30px; }
#before_content .inner { height: 100%; padding-bottom: 30px; }
#before_content a { font-weight: normal; text-decoration: underline; color: #ff7223; }
#before_content a:hover { color: #243238; }
#before_content h1 { margin-bottom: 20px; font-size: 60px; line-height: 1; }


/*
----------------
	CONTENT
----------------
*/
#content { padding-bottom: 50px; font-size: 18px; text-align: justify; line-height: 30px; }

#content p { margin-bottom: 30px; }
#content img { max-width: 100%; height: auto; margin-bottom: 30px; }

#content h3 { margin-bottom: 20px; font-size: 30px; color: #ff7223; }

/* List */
#content ol, 
#content ul { margin-left: 30px; margin-bottom: 30px; }

#content ul.nomargin { margin-left: 0; }
#content ul.nomargin li { list-style: none; }

/* Table */
#content table { width: 100%; margin-bottom: 30px; text-align: left; border-spacing: 0; border-collapse: collapse; }
#content table thead th { padding: 5px 10px; font-size: 15px; color: white; line-height: 16px; background: #ff7223; }
#content table tbody td { padding: 10px; font-size: 16px; line-height: 16px; border: 1px solid #efe9e9; }

#content table.cookies thead th:last-child,
#content table.cookies tbody td:last-child { width: 140px; }

/* Gallery */
#content ul.single_gallery { margin-left: -10px !important; margin-right: -10px; font-size: 0; }
#content ul.single_gallery li { width: 20%; margin-top: 20px; padding-left: 10px; padding-right: 10px; vertical-align: top; display: inline-block; }
#content ul.single_gallery li:nth-child(-n+5) { margin-top: 0; }
#content ul.single_gallery li a { display: block; position: relative; overflow: hidden; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
#content ul.single_gallery li a:after { width: 100%; height: 100%; left: 0; top: 0; border: 0 solid #483290; position: absolute; content: ''; z-index: 2; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
#content ul.single_gallery li a:hover:after { border-width: 5px; }
#content ul.single_gallery li img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }

/* Gallery chooser */
#content .gallery_chooser { margin-left: -20px; margin-right: -20px; font-size: 0; }
#content .gallery_chooser .gallery_article { width: 25%; margin-top: 40px; padding-left: 20px; padding-right: 20px; vertical-align: top; display: inline-block; }
#content .gallery_chooser .gallery_article:nth-child(-n+4) { margin-top: 0; }
#content .gallery_chooser .gallery_article a.thumbnail { margin-bottom: 20px; display: block; position: relative; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; overflow: hidden; }
#content .gallery_chooser .gallery_article a.thumbnail:after { width: 100%; height: 100%; left: 0; top: 0; border: 0 solid #483290; position: absolute; content: ''; z-index: 2; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
#content .gallery_chooser .gallery_article a.thumbnail:hover:after { border-width: 5px; }
#content .gallery_chooser .gallery_article img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
#content .gallery_chooser .gallery_article h3 { margin-bottom: 0; text-align: left; line-height: 25px; }
#content .gallery_chooser .gallery_article h3 a { font-size: 25px; color: #ff7223; line-height: 1; display: block; }
#content .gallery_chooser .gallery_article .count { font-size: 16px; color: #999; }

/* 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; }

/* Google Map */
#map_canvas { height: 400px; }


/*
----------------------
	LOGOS
----------------------
*/
#logos { padding: 10px 0; }
#logos .logos_wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
#logos .logos_wrap img { width: auto; height: 80px; margin: 10px; display: block; }


/*
---------------
	FOOTER
---------------
*/
#footer { font-size: 20px; color: white; background: #483290 url(images/bgr_footer.svg) no-repeat center; background-size: 100% auto; }

/* Footer top */
#footer .footer_top { padding: 50px 0; }
#footer .footer_top .inner { max-width: 400px; }

#footer .footer_top .logo { margin-bottom: 30px; font-size: 30px; color: white; letter-spacing: -0.1px; line-height: 45px; display: block; }
#footer .footer_top .logo span { letter-spacing: 1px; display: block; }

#footer .footer_top .address { font-weight: 700; }
#footer .footer_top .phone { margin: 20px 0; font-size: 30px; color: white; line-height: 1; display: block; }
#footer .footer_top .email { font-size: 25px; color: #00e0ff; line-height: 1; display: block; }
#footer .footer_top .email:hover { text-decoration: underline; }

/* Footer top */
#footer .footer_bottom .inner { padding-top: 20px; padding-bottom: 20px; font-size: 16px; color: #b3adcc; line-height: 20px; border-top: 1px solid #6d5ba6; }
#footer .footer_bottom .inner a { text-decoration: underline; color: #b3adcc; }
#footer .footer_bottom .inner a:hover { color: white; }
#footer .footer_bottom .inner ul { margin: 20px 0; list-style: none; }
#footer .footer_bottom .inner ul li { margin: 2px 0; }
#footer .footer_bottom .inner small { }


/*
--------------
	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: 16px; font-weight: 700; text-align: left; color: #333; display: block; }

.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; border: 2px solid #dcdcdc; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -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; } 

.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-color: white; border-color: #483290; }

.form-row textarea { min-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 { display: block; }

.wpcf7 .wpcf7-form-control.wpcf7-radio { padding-top: 10px; display: block; }

.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item { margin: 0 !important; position: relative; }
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item label { padding-left: 30px; line-height: 20px; }
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item label input[type=checkbox] { left: 0; top: 0; margin-top: -2px !important; position: absolute; }

/* 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: #162d5a; }

/* 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) { 

	/* HEADER */
	#header { height: 100px; }
}

@media only screen and (max-width: 1200px) { 

	/* DISPLAY: None */
	.hide_in_1200 { display: none !important; }

	/* DEFAULT */
	.p_l_30 { padding-left: 20px; }
	.p_r_30 { padding-right: 20px; }
	
	/* HEADER: Menu */
	#header ul.menu li { margin-right: 20px; }
	
	/* HEADER: Phone and contact link */
	#header .phone_contact { padding: 0 20px; }
	
	/* SLIDE */
	#slide .row .col.col_slide_content { padding: 75px 75px 75px 20px; }
	#slide .row .col.col_slide_content .title { font-size: 45px; }
	
	/* ABOUT US */
	#aboutus .row .col.col_text { padding: 75px 20px; }
	#aboutus .row .col.col_text .title { font-size: 45px; }
	
	/* BLOG */
	#blog { padding: 75px 0; }
	#blog:before { height: 60%; }
	#blog .title { font-size: 45px; }
}

@media only screen and (max-width: 960px) { 

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* ANIMATION */
	.slide_up { top: auto !important; opacity: 1; }
	body.loaded .slide_up { top: auto !important; }

	/* HEADER */
	#header { height: 80px; }
	
	/* HEADER: Phone and contact link */
	#header .phone_contact { right: 80px; }
	
	/* SLIDE */
	#slide { padding-bottom: 0; }
	#slide:before { display: none; }
	#slide .inner { padding-bottom: 0; }

	#slide .row { display: block; }
	#slide .row .col.col_slide_content { padding: 50px 20px; text-align: center; position: relative; z-index: 2; }
	#slide .row .col.col_slide_content:before { width: 100%; height: 100%; left: 0; top: 0; bottom: 0; background: rgba(72,50,144,0.5); }
	#slide .row .col.col_slide_content .title { margin-left: auto; margin-right: auto; color: white; }
	#slide .row .col.col_slide_content .text { margin-left: auto; margin-right: auto; color: white; }

	#slide .row .col.col_slide_image { width: 100%; height: 100%; left: 0; top: 0; position: absolute; z-index: 1; }
	
	/* SERVICES */
	#services { padding: 50px 0; }
	
	/* ABOUT US */
	#aboutus .row { display: block; }
	#aboutus .row .col { width: 100% !important; display: block; }
	#aboutus .row .col.col_text { padding: 50px 20px; border-top: 1px solid #ddd; }

	#aboutus .row .col.col_image .image { height: auto; right: auto; top: auto; position: relative; }
	#aboutus .row .col.col_image .image:before { width: auto; height: 20px; left: 20px; top: -20px; right: 20px; bottom: auto; }
	#aboutus .row .col.col_image .image:after { width: auto; height: auto; right: auto; bottom: auto; padding-top: 50%; background: none; display: block; position: relative; }
	
	/* BLOG */
	#blog { padding: 50px 0; }
	#blog:before { height: 70%; }
	
	.blog_wrapper { margin-left: -10px; margin-right: -10px; }
	.blog_wrapper article { width: 33.3333333333%; margin-top: 20px; padding-left: 10px; padding-right: 10px; }
	
	.blog_wrapper article .entry h3 { font-size: 25px; }
	
	/* CONTENT: Gallery */
	#content ul.single_gallery li { width: 25%; }
	#content ul.single_gallery li:nth-child(-n+5) { margin-top: 20px; }
	#content ul.single_gallery li:nth-child(-n+4) { margin-top: 0; }
	
	/* CONTENT: Gallery chooser */
	#content .gallery_chooser .gallery_article { width: 33.3333333333%; }
	#content .gallery_chooser .gallery_article:nth-child(-n+4) { margin-top: 40px; }
	#content .gallery_chooser .gallery_article:nth-child(-n+3) { margin-top: 0; }
}

@media only screen and (max-width: 768px) { 

	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }
	
	/* SLIDE */
	#slide .row .col.col_slide_content .title { font-size: 7vw; }
	
	/* SERVICES */
	#services { padding: 30px 0; }
	#services .services_wrapper .service .title { font-size: 20px; line-height: 20px; }
	
	/* BLOG */
	#blog { padding: 30px 0; }
	#blog:before { height: 70%; }
	
	.blog_wrapper article { width: 50%; }
	.blog_wrapper article:nth-child(-n+3) { margin-top: 20px; }	
	.blog_wrapper article:nth-child(-n+2) { margin-top: 0; }

	body.home .blog_wrapper { margin-bottom: 30px; }
	body.home .blog_wrapper article:nth-child(3) { display: none !important; }
	
	/* BEFORE CONTENT */
	#before_content { height: auto; padding: 30px 0; background-size: auto 25px; }
	#before_content .inner { height: 100%; padding-bottom: 25px; }
	#before_content .vertical_middle { top: auto; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
	#before_content h1 { font-size: 7vw; }
	
	/* CONTENT */
	#content { padding-bottom: 20px; }
	
	/* CONTENT: Gallery */
	#content ul.single_gallery li { width: 33.3333333333%; }
	#content ul.single_gallery li:nth-child(-n+4) { margin-top: 20px; }
	#content ul.single_gallery li:nth-child(-n+3) { margin-top: 0; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding: 30px 0; }
}

@media only screen and (max-width: 640px) { 

	/* HEADER: Logo */
	#header .logo { width: calc(100% - 220px); height: 52px; font-size: 22px; line-height: 26px; display: block; }
	#header .logo span { font-size: 18px; }
	
	/* HEADER: Phone and contact link */
	#header .phone_contact { padding-right: 0; }
	
	/* SLIDE */
	#slide .row .col.col_slide_content .title { font-size: 8vw; }
	
	/* SERVICES */
	#services .services_wrapper .service { width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; margin-bottom: 30px; padding: 0; display: block; }
	#services .services_wrapper .service:last-child { margin-bottom: 0; }
	
	/* BLOG */
	#blog:before { height: 100%; }

	.blog_wrapper { margin-left: 0; margin-right: 0; }
	.blog_wrapper article { width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; display: block; }
	.blog_wrapper article:nth-child(-n+2) { margin-top: 20px; }
	.blog_wrapper article:nth-child(1) { margin-top: 0; }
	
	/* BEFORE CONTENT */
	#before_content { background-size: auto 20px; }
	#before_content .inner { padding-bottom: 20px; }
	#before_content h1 { font-size: 8vw; }
	
	/* CONTENT: Gallery chooser */
	#content .gallery_chooser { margin-left: -10px; margin-right: -10px; }
	#content .gallery_chooser .gallery_article { width: 50%; padding-left: 10px; padding-right: 10px; }
	#content .gallery_chooser .gallery_article:nth-child(-n+3) { margin-top: 40px; }
	#content .gallery_chooser .gallery_article:nth-child(-n+2) { margin-top: 0; }
	#content .gallery_chooser .gallery_article h3 { line-height: 20px; }
	#content .gallery_chooser .gallery_article h3 a { font-size: 20px; }
	
	/* FORM */
	.form-row.form-row-first, 
	.form-row.form-row-last { width: 100%; float: none; }
	
	.form-row .button { width: 100%; display: block; }
}

@media only screen and (max-width: 480px) { 

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* DEFAULT: Button */
	img.alignleft, 
	img.alignright { max-width: 40%; height: auto; }
	
	.button { height: 40px; padding: 0 20px; font-size: 18px !important; line-height: 40px; }
	.button.button_big { height: 50px; padding: 0 25px; line-height: 50px; }
	
	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrapper { padding: 30px 20px 20px 20px; }
	
	/* HEADER: Logo */
	#header .logo { width: calc(100% - 100px); }
	
	/* SLIDE */
	#slide .row .col.col_slide_content .title { font-size: 9vw; }
	
	/* BEFORE CONTENT */
	#before_content { background-size: auto 15px; }
	#before_content .inner { padding-bottom: 15px; }
	#before_content h1 { font-size: 10vw; }
	
	/* CONTENT */
	#content { text-align: left; }
	
	/* LOGOS */
	#logos .row { display: block; }
	#logos .row .col { width: 100%; display: block; }
	#logos img { width: 100%; }
}

@media only screen and (max-width: 320px) { 

	/* CONTENT: Gallery */
	#content ul.single_gallery li { width: 50%; }
	#content ul.single_gallery li:nth-child(-n+3) { margin-top: 20px; }
	#content ul.single_gallery li:nth-child(-n+2) { margin-top: 0; }
}
