@import url('http://fonts.googleapis.com/css?family=Lato:100italic,100,300italic,300,400italic,400,700italic,700,900italic,900');
@import url('http://fonts.googleapis.com/css?family=Droid+Serif:400italic,400,700italic,700');
@import url('http://fonts.googleapis.com/earlyaccess/opensanshebrew.css');
@import url('http://fonts.googleapis.com/css?family=Roboto:100italic,100,300italic,300,400italic,400,500italic,500,700italic,700,900italic,900');
@import url('http://fonts.googleapis.com/css?family=Titillium+Web:200italic,200,300italic,300,400italic,400,600italic,600,700italic,700,900');

body { background: #78c3df; color: #FFF; }
body.page main { max-width: 1100px; padding: 35px 0px; margin: 0 auto; }
.tm-headerbar, .uk-navbar { max-width: 1100px; margin: 0 auto; margin-top: 20px; margin-bottom: 20px;}
.uk-navbar { background: #364f6e; height: 40px; margin-bottom: 10px; }
.uk-navbar li a { color: #FFF; font-family: Lato; font-weight: 900; font-size: 14px; text-transform: uppercase; height: 40px; line-height: 40px; }
.uk-navbar li .uk-dropdown.uk-dropdown-navbar { width: 250px; }
.uk-navbar li .uk-dropdown.uk-dropdown-navbar ul li a { color: #364f6e; line-height: 20px; font-size: 12px; height: auto; border-bottom: 1px solid #364f6e; }
.uk-navbar li .uk-dropdown.uk-dropdown-navbar ul li:last-child a { border-bottom: none; }
.uk-navbar li .uk-dropdown.uk-dropdown-navbar ul li:hover a{ background: #364f6e; color: #FFF; line-height: 20px; }
.uk-navbar-flip span { color: #FFF; font-family: Lato; font-weight: 900; font-size: 14px; padding-left: 35px; background: transparent url('images/call-us.png') no-repeat left center; padding-top: 5px; padding-bottom: 5px; }
.tm-headerbar .tm-logo img { width: 250px; }
.tm-headerbar { position: relative; }
.tm-headerbar .tm-logo span { text-decoration: none; color: #FFF; position: absolute; top: 70px; left: 96px; font-family: DroidSerif; font-weight: 900; font-style: italic; font-size: 14px;}
.uk-container, body.home main  { max-width: 100%; padding: 0px; }
.tm-top-a .uk-panel { max-width: 1080px; margin: 0 auto;}
.tm-top-a .uk-panel-box, .tm-top-a { background: #FFF; }
.tm-content h1.uk-article-title, .tm-content p.uk-article-meta, ul.uk-subnav.uk-subnav-line, #comments { display: none;}
.first_box { background: #FFF; padding-bottom: 20px; }
.first_box .content, .second_box .content { max-width: 1100px; margin: 0 auto; }
.first_box .content .img, .second_box .content .img { position: relative; }
.first_box .content .text { position: absolute; bottom: 0px; width: 100%; background: rgba(54,79,110,0.54); }
.first_box .content .text .t1 { padding: 30px 25px; font-size: 24px; margin-bottom: 0px; font-family: DroidSerif; color: #FFF; font-weight: bold; font-style: italic; }
.first_box .content .img .button { position: absolute; box-shadow: 0px 0px 9px #000; right: 10px; bottom: 10px; background: #39b54a url('images/calendar.png') no-repeat 18px 40%; border: 5px solid #FFF; border-radius: 5px; padding: 12px 18px; padding-left: 50px; }
.first_box .content .img .button a { color: #FFF; font-size: 24px; font-family: Lato; font-weight: 900; text-decoration: none; }
.second_box .content { padding: 80px 0px;}
.second_box .content .img .t2 { position: absolute; bottom: 50px; left: 30px; width: 90%; border-radius: 10px; background: rgba(54,79,110,0.54); padding: 30px 25px; font-size: 15px; margin-bottom: 0px; font-family: 'Open Sans Hebrew', serif; color: #FFF; font-weight: bold; }
.second_box .content .img .btn1 { position: absolute; border-radius: 55px; top: 95px; left: 20px; background: #993333; border: 3px solid #ddeef4; padding: 15px 0px; box-shadow: 0px 0px 9px #000;}
.second_box .content .img .btn1 a, .second_box .content .img .btn2 a { font-size: 24px; font-family: Roboto; font-weight: 300; color: #FFF; padding: 0px 95px; }
.second_box .content .img .btn1 a:hover, .second_box .content .img .btn2 a:hover { text-decoration: none; }
.second_box .content .img .btn2 { position: absolute; border-radius: 55px; top: 95px; right: 20px; background: #993333; border: 3px solid #ddeef4; padding: 15px 0px; box-shadow: 0px 0px 9px #000;}

.second_box .content .img .btn3 { position: absolute; border-radius: 55px; top: 200px; left: 20px; background: #993333; border: 3px solid #ddeef4; padding: 15px 0px; box-shadow: 0px 0px 9px #000;}
.second_box .content .img .btn3 a, .second_box .content .img .btn4 a { font-size: 24px; font-family: Roboto; font-weight: 300; color: #FFF; padding: 0px 95px; }
.second_box .content .img .btn3 a:hover, .second_box .content .img .btn4 a:hover { text-decoration: none; }
.second_box .content .img .btn4 { position: absolute; border-radius: 55px; top: 200px; right: 20px; background: #993333; border: 3px solid #ddeef4; padding: 15px 0px; box-shadow: 0px 0px 9px #000;}

.tm-footer { background: #FFF; padding: 45px 0px; margin-top: 0px; margin-bottom: 0px; }
.tm-footer .uk-panel p { font-family: Titillium Web; font-size: 16px; color: #464646; font-weight: 600;}
.tm-footer .uk-panel { max-width: 1100px; margin: 0 auto; }
#lang_sel_list a { background: transparent !important; }
#lang_sel_list img.iclflag { width: 25px; height: 16px; }
#lang_sel_list { margin-top: 0px; }
main .wpcf7-form p { margin-top: 0px; margin-bottom: 10px; }
main .wpcf7-form .wpcf7-response-output { margin-top: 50px; font-weight: bold; border: none; }
main .wpcf7-form .wpcf7-response-output.wpcf7-validation-errors { color: red;}
main .wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok { color: green;}
main .wpcf7-form p.quiz { width: 20%; text-align: center; float: left; }
main .wpcf7-form input, main .wpcf7-form textarea { padding: 5px; width: 100%; border: none; color: #000;}
.wpcf7-form input, .wpcf7-form textarea { color: #000; }
#fancybox-content p.quiz { width: 50%; float: left; margin-top: 0px; }
#fancybox-content p.quiz span { color: #000; font-size: 24px; font-family: Lato; }
#fancybox-content .wpcf7-submit { float: right;  padding: 0px 20px; font-weight: bold; width: 30%; background: #933; border-radius: 8px; color: #FFF; border: none; }
#fancybox-content input, #fancybox-content textarea { width: 100%; line-height: 40px; height: 40px; padding: 5px; border-radius: 7px; border: 1px solid rgba(0,0,0,0.3); }
#fancybox-content textarea { height: 100px; }
#fancybox-content { border: 5px solid #39b54a ; padding: 10px; }
#fancybox-content input.wpcf7-quiz { width: 50%; }
#fancybox-content .wpcf7-form-control-wrap { width: 100%; }
#fancybox-content .wpcf7-response-output { color: #000; }
.caption { background: #FFF; padding: 7px; border-radius: 5px; }
.caption p { margin: 5px; text-align: center !important; color: #000; }
main .wpcf7-form input.wpcf7-submit { width: 40%; float: right; font-weight: bold; margin-top: 17px; border-radius: 15px; background: #993333; border: 3px solid #ddeef4; color: #FFF; padding: 5px 0px; box-shadow: 0px 0px 9px #000;}
main .uk-article h2 { margin-top: 0px; }
main .uk-article p { text-align: justify; }
.wp-page-133 main article img { border: 5px solid #FFF; border-radius: 7px; }
.wp-page-133 main article a:hover { text-decoration: none; }
.wp-page-133 main article .name { width: 533px; margin: 0 auto; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; text-align: center; background: white; padding: 10px 0px; margin-top: -7px;}
.wp-page-133 main article img.size-medium { width: 250px !important; height: 320px; }
main table tr.tableizer-firstrow { background: #364f6e !important; padding: 5px; }
main table tr.tableizer-firstrow th { padding: 5px; }
main table tr:nth-child(even) { background: rgba(255, 255, 255,0.2);}
main table tr { border-bottom: 1px solid rgba(54, 79, 110,0.2);}
main table tr td { padding: 5px; }
main table tr td:nth-child(2) { text-align: right; font-weight: bold; }
main table { width: 100%; margin-top: 30px; }
.uk-navbar-toggle, .uk-navbar-toggle:hover { color: #FFF; }
.second_box .content img { width: 100% !important; }
.wp-page-65 #fancybox-overlay,.wp-page-65 #fancybox-wrap,
.wp-page-133 #fancybox-overlay,.wp-page-133 #fancybox-wrap,
.wp-page-139 #fancybox-overlay,.wp-page-139 #fancybox-wrap,
.wp-page-145 #fancybox-overlay,.wp-page-145 #fancybox-wrap,
.wp-page-163 #fancybox-overlay,.wp-page-163 #fancybox-wrap,
.wp-page-169 #fancybox-overlay,.wp-page-169 #fancybox-wrap,
.wp-page-171 #fancybox-overlay,.wp-page-171 #fancybox-wrap
  { display: none !important; }
#hs-rsp-image-wrap p { color: #000; }
#fancybox-content { background: #FFF !important; }
#fancybox-outer { background: transparent !important; }
.uk-article p {
    color: #364f6e;
    
}
.uk-article ul li{
    color: #364f6e;
    
}
.uk-article {
    color: #364f6e;
    
}

@media all and (min-width: 768px ) {
	.first_box .content .text .t1 { width: 65%; }	
	#fancybox-wrap { width: 380px !important; }
}
@media all and (max-width: 768px ) {
	.first_box .content .img .button { background-image: none; padding: 5px 8px 5px 8px; }
	.first_box .content .img .button a { font-size: 14px; }
	.first_box .content .text .t1 { padding: 10px 5px; font-size: 14px; width: 65%; }
	.second_box .content .img .t2 { position: static; width: 100%; border-radius: 0px; padding: 0px; }
	.second_box .content .img .btn2 a, .second_box .content .img .btn1 a { font-size: 16px; padding: 10px; }
	.second_box .content .img .btn2, .second_box .content .img .btn1 { padding: 5px 0px; text-align: center; position: static; border-radius: 0px; }
	.second_box .content { padding: 0px; }
	.wp-page-139 .uk-article div { width: 100% !important; }
	.wp-page-139 .uk-article .alignright { float: left !important;}
	.wp-page-151 iframe, .wp-page-71 iframe { max-width: 300px; height: auto; } 
	.wp-page-157 .uk-width-1-3, .wp-page-157 .uk-width-2-3, .wp-page-53 .uk-width-1-2, .wp-page-133 .uk-width-1-2, .wp-page-71 .uk-width-1-3, .wp-page-71 .uk-width-2-3 { width: 100%; }
	.wp-page-133 main article .name { width: auto; }
	.wp-page-71 .uk-width-2-3 { text-align: center; }
	#fancybox-wrap { width: 290px !important; }
	#lang_sel_list { padding: 20px 0px; bottom: 10px; width: 150px; }
}