/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/

/* ==========================================================================
CSS Reset
========================================================================== */

/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================================================================
Web fonts
========================================================================== */

/*@import url(//fonts.googleapis.com/earlyaccess/alefhebrew.css);*/
@import url(http://fonts.googleapis.com/earlyaccess/opensanshebrew.css);
/*@import url(http://fonts.googleapis.com/earlyaccess/notosanshebrew.css);*/


/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
* Remove text-shadow in selection highlight:
* https://twitter.com/miketaylr/status/12228805301
*
* These selection rule sets have to be separate.
* Customize the background color to match your design.
*/

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
* A better looking default horizontal rule
*/

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
* Remove the gap between audio, canvas, iframes,
* images, videos and the bottom of their containers:
* https://github.com/h5bp/html5-boilerplate/issues/440
*/

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
* Remove default fieldset styles.
*/

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
* Allow only vertical resizing of textareas.
*/

textarea {
    resize: vertical;
}

/* ==========================================================================
Browser Upgrade Prompt
========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
Author's custom styles
========================================================================== */

body {
    background: url(../img/bg.jpg);
    font-family: 'open sans hebrew', sans-serif;
}

.wrapper {
    display: block;
    margin: 0 auto;
    max-width: 960px;
    box-shadow: 0px 15px 0 -5px rgba(0,0,0,0.2);
    box-shadow: 0 0 23px 5px #ffffff;
}

.vis_container {
    position: relative;
}

.visual {
    width: 100%;
}

.sale_pics {
    display: block;
    position: absolute;
    top: 0%;
    z-index: -1;
}

.agent {
    display: block;
    position: absolute;
    bottom: 12.2%;
    right: 2.3%;
}

.formbox {
    display: block;
    padding-top: 10px;
    padding-bottom: 3px;
    width: 100%;
    background: #000000;
    box-shadow: 0px 0px 6px rgba(0,0,0,1.6);
	
}

.form_txt {
    display: block;
    direction: rtl;
    padding-right: 10%;
    padding-bottom: 5px;
    color: #ffffff;
    font-family: 'open sans hebrew', sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    text-align: right;
}

.formbox ul {
    display: block;
    list-style: none;
    direction: rtl;
    width: 90%;
    margin: 0 auto;
    padding: 0;
    margin: 0;
}

.formbox li {
    display: inline-block;
    width: 20%;
    padding-left: 23px;
}

.input {
    width: 100%;
    text-align: center;
    outline: none;
    border: 1px solid #b60000;
    border-radius: 6px;
    padding: 5px 0;
    margin-bottom: 7px;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.input:focus {
    background-color:#F0F0F0
}

input[type=text]:focus, input[type=email]:focus, input[type=submit]:focus {
    outline: none;
}

.input::-webkit-input-placeholder {
    color:#bbb;
}
.input::-moz-input-placeholder {
    color:#bbb;
}
.input::-ms-input-placeholder {
    color:#bbb;
}


.send_btn {
    width: 100%;
    background: #b60000;
    color: #fff;
    font-family: 'open sans hebrew', sans-serif;
    font-weight: bold;
    text-align: center;
    outline: none;
    border: none;
    border-radius: 6px;
    padding: 5px 0;
    margin-bottom: 7px;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.send_btn:hover, .send_btn:active {
    background: #cfcfcf;
}

.call_txt {
    background: transparent;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 3px;
    font-weight: bold;
    font-size: 1.1rem;
}

.call_txt span {
    color: #2eabab;
    font-weight: bold;
    font-size: 1rem;
}
.sitelink {
    display: block;
    width: 100%;
    padding: 4px 0;
    background: #dff7f8;
    text-align: center;
    color: #60a4df;
    font-weight: bold;
}


.ty_block {
    display: block;
    position: relative;
    direction: rtl;
    width: 50%;
    background: #fff;
    margin: 0 auto;
    margin-top: 20px;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    font-family: 'open sans hebrew', sans-serif;
    font-size: 2em;
    font-weight: 600;
    color: #343434;
    box-shadow: 0 4px 0 rgba(0,0,0,0.4);
}

.ty_icon {
    display: block;
    position: absolute;
    top: 0%;
    right: 0%;
    height: 100%;
}

footer {
    clear: both;
    padding: 0px 0;
    color: #000;
    text-align:center;
    font-family:'tahoma',  sans-serif;
    font-size: 0.75em;
}

.logo_geek {
    display: block;
    width: 24px;
    margin: 0 auto;
}

/* ==========================================================================
Media queries
========================================================================== */

@media only screen and (max-width: 768px) {
    .agent {
        bottom: 16%;
        right: 0%;

    }

    .form_txt {
        padding: 0 29px;
        font-size: 1.6em;
	text-align: center;
    }


    .formbox li {
        display: block;
        width: 90%;
    }

    .input {
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .send_btn {
        padding: 10px 0;
        font-size: 1.6em;
        margin-bottom: 7px;
    }

    .call_txt {
        padding: 10px 0;
    }

    .sitelink {
        padding: 10px 0;   
    }

    .ty_block {
        font-size: 1.6em;
    }
}

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

    .input {
    }

    .ty_block {
        font-size: 1.2em;
    }
}



/* ==========================================================================
Responsive Slides
========================================================================== */

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}


/* ==========================================================================
Animations
========================================================================== */

@-webkit-keyframes anim {
    0% {
    }

    50% {
    }

    100% {
    }
}

@keyframes anim {
    0% {
    }

    50% {
    }

    100% {
    }
}

@-webkit-keyframes shaker {
    0%, 90%, 100% {
        -webkit-transform: translateX(0);
    }

    92%, 97% {
        -webkit-transform: translateX(-5px);
    }

    95%, 99% {
        -webkit-transform: translateX(5px);
    }
}

@keyframes shaker {
    0%, 90%, 100% {
        transform: translateX(0);
    }

    92%, 97% {
        transform: translateX(-5px);
    }

    95%, 99% {
        transform: translateX(5px);
    }
}

.shaker {
    -webkit-animation: shaker 3s infinite;
    animation: shaker 3s infinite;
}

.anim {
    -webkit-animation-name: anim;
    animation-name: anim;
}

.delay5 {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.delay10 {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.delay15 {
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
}

.delay20 {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}
/* ==========================================================================
Helper classes
========================================================================== */

.desktop {
    display: block;
}

.mobile {
    display: none;
    margin-top: 0px;
}

@media only screen and (max-width: 768px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
}

/*
* Hide visually and from screen readers:
* http://juicystudio.com/article/screen-readers-display-none.php
*/

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
* Hide only visually, but have it available for screen readers:
* http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
    visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
These examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
    (-o-min-device-pixel-ratio: 5/4),
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 120dpi) {
        /* Style adjustments for high resolution devices */
    }

/* ==========================================================================
Print styles.
Inlined to avoid the additional HTTP request:
http://www.phpied.com/delay-loading-your-print-css/
========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
        http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
    * Don't show links that are fragment identifiers,
    * or use the `javascript:` pseudo protocol
    */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
    * Printing Tables:
    * http://css-discuss.incutio.com/wiki/Printing_Tables
    */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
