/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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.
 */

/* ==========================================================================
   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
   ========================================================================== */

/* BASE */


body {
    color: white;
    font-family: 'Roboto', sans-serif;
    background-color: black;
    
}


h1 {
   opacity: 0.64;
    font-weight: 300;
    letter-spacing: -0.2rem;
    font-size: 4.2rem;
    line-height: 4.28rem;
    margin: 1.72rem 0px 1.72rem 0px; 
}

h4 {
    opacity: 0.64;
    font-weight: 400;
    font-size: 1.72rem;
    line-height: 2.28rem;
    margin: 1.72rem 0px 1.14rem 0px;
}

.center {
	text-align: center;
}

a {
    cursor: pointer;
    color: white;
     font-weight: 400;
}

a[href^=tel] {
    color: inherit;
    text-decoration: none;
}

a:hover, a:focus {
    color: white;
    text-decoration: none;
   
}

ul {
    list-style: none;
}

.italic {
	font-style: italic;
}
.bold {
	font-weight: 600;
}

.subtext {
	padding-bottom: 1em;
}

.new-line, .next-line {
	display: block;
}

.material-icons {
	 color: #9e9e9e;
     font-size: 30px;
}
.right {
    float: right;
}

#second h1,
#fourth h1 {
   color: black;
	opacity: 0.58;
    font-weight: 400;
    letter-spacing: -0.10rem;
    font-size: 3rem;
    line-height: 2.86rem;
    margin: 1.72rem 0px 1rem 0px;
}

p, li{
	color: black;
    opacity: 0.64;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.02rem;
    line-height: 1.72rem;
    margin: 1rem 0px 1.72rem 0px;
}

.btn {
	background-color: #2196f3;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.08), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: #FFF;
    text-align: center;
    letter-spacing: 0.8px;
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    -ms-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    cursor: pointer;
    height: 2.57rem;
    padding: 0 1.5rem;
    margin: 2em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-clip: padding-box;
    line-height: 2.57rem;
    text-transform: uppercase;
    border: none;
    -webkit-tap-highlight-color: transparent;

}

.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all 650ms ease;
    -moz-transition: all 650ms ease;
    -o-transition: all 650ms ease;
    -ms-transition: all 650ms ease;
    transition: all 650ms ease;
   
}

.btn:hover {
        box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.border {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}



/*NAVIGATION*/


#navigation {
      width: 100%;
    height: 5em;
    top: -1em;
    z-index: 3;
    position: fixed;
}

#navigation li{
	     opacity: 0.8;
    font-size: 24px;
        margin-top: 13px;
}

#navigation a{
    font-weight: 500;
}

.navbar-top {
    background-color: transparent;
    border-color: transparent;
    float: right;
    position: absolute;
}

.navbar {
	left: 14em;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    background-color: transparent;
    border-top: 2px solid;
    color: #A52C2F;
    opacity: 1;
}

.navbar-default .navbar-nav>li>a:hover {
    border-top: 2px solid;
    color: #A52C2F;
    opacity: 1;
}

.home-link {
	border-top: none !important;
    color: #777 !important;
}

/* BOUNCING ARROW */

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.bounce {
    -moz-animation: bounce 3s infinite;
    -webkit-animation: bounce 3s infinite;
    animation: bounce 3s infinite;
}


.arrow-down {
	position: relative;
    width: 3em;
    margin: 0 auto;
    top: 4em;
}


/* BACKGROUND AND LOGO */

.background {
	background: url(../images/home_background_01.jpg)no-repeat center center;
        height: 100%;
    position: fixed;
    width: 100%;
    -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
    opacity: 1;
}

.logo {
    width: 20em;
      margin: 0 auto;
    top: -2em;
     position: relative;
}

.logo img{
	width: 20em;
    padding: 1em;
}

.logo-small {
	position: absolute !important;
    display: none;
   left: -60.9em;
    top: 1.1em;
}

/* FIRST SECTION */

#top-main {
	position: absolute;
   width: 100%;
    height: 100%;
    left: 0;
    overflow: hidden;
    top: 0;
    opacity: 1;
}

.statement {
    position: relative;
	    top: -11em;
}

.statement p {
    color: white;
  opacity: 0.9;
    font-weight: 400;
    letter-spacing: 0.02rem;
    font-size: 1.4rem;
    line-height: 1.72rem;
    margin: 0px 0px 0rem 0px;  
}


/* SECOND SECTION */

#second {
	background-color: #F5F5F5;
    position: relative;
   top: 47em;
    height: 49em;
}

.divisions-header {
	top: 0em;
    position: relative;
}
.divisions {
    position: relative;
   top: -4em;
}
#second img{
	
   display: block;
    margin: 0 auto;
    padding: 2em 3em;
   
}

.avner img {
    width: 20em;
}

.afeka img {
    width: 15.61em;
}

.afeka, .avner, .about {
	 box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    padding: 1em;
background-color: white;
    top: 3em;
}

.afeka {
left: 6em;
}

.avner {
	left: 3.5em;
}

/* THIRD SECTION */

#third {
    position: relative;
	background-color: #3C3C3C;
    top:47em;
    height: 737px !important;
}

.third-bg {
	position: absolute;
    top: 0;
}

#third p{
	color: black;
    opacity: 0.64;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.02rem;
    line-height: 1.72rem;
    margin: 0px 0px 1.72rem 0px;
    text-align: justify;
}

.img-big{
	max-width: 100%;
    margin: 10px 0 10px 20px;
}
.img-responsive {
	display: none;
}
.about {
    top: -1em;
    width: 55%;
    margin-left: 22%;
}

.photo {
    padding-top: 4%;
    padding-left: 4%;
    padding-bottom: 4%;
}

.info {
    padding-top: 5%;
    padding-left: 4%;
    padding-right: 0%;
    width: 51%;
}

/* FOURTH SECTION */

#fourth {
	background-color: white;
    color: black;
    position: relative;
    top: 42em;
}

.form-box {
	top: -6.5em;
}


.contact-details {
	top: 0em;
}

.contact-details h4{
	left: 1.4em;
    position: relative;
    padding-bottom: 1em;
}

.contact-details i{
    top: 0.3em;
	padding-right: 1em;
    position: relative;
    color: #2196f3;
}

.contact-details li{
	font-size: 18px;
}


.logo-flag {
    padding-right: 1%;
}

.space {
	    position: absolute;
    left: 6.5em;
    top: 8em;
}

/* Contact Box*/

.form {
	background:white;
	padding:2rem;
	margin:0 auto;
	z-index:2;
	position:relative;
	color:black;
	margin-top:3rem;
	margin-bottom: 1rem;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.contact_form .input-field {
    margin-bottom: 0.72rem;
}

/*-- CONTACT FORM MESSAGE STYLING --*/

#message {
    display:none;
    position: fixed;
    z-index:3000;
    width:40rem;
    top:50%;
    left:50%;
    margin-top:-8.5rem;
    margin-left:-20rem;
    text-align:center;  
}

#alert {
	display:table-cell;
	vertical-align: middle;
    padding-bottom:2rem;
    padding-top:2rem;
    padding-left:2rem;
    padding-right:2rem;
}

.alert_icon {
	font-size:2rem;
	color:white;
}

.unordered li {
    margin:0 !important;
}

.contact_icon {
	font-size:2rem;
	margin-top:4rem;
	margin-bottom:1rem;
}

#message.warning {
	background:#F44336;
}

#message.success {
	background:#4CAF50;
}

.input-field {
	position: relative; 
}

.input-field label {
    opacity:0.7;
    position: absolute;
    top: 0.8rem;
    left: 0rem;
    font-size: 1rem;
    cursor: text;
    -webkit-transition: 0.2s ease-out;
    -moz-transition: 0.2s ease-out;
    -o-transition: 0.2s ease-out;
    -ms-transition: 0.2s ease-out;
    transition: 0.2s ease-out; 
}

.input-field label.active {
    font-size: 0.8rem;
    opacity:0.7;
    -webkit-transform: translateY(-130%);
    -moz-transform: translateY(-130%);
    -ms-transform: translateY(-130%);
    -o-transform: translateY(-130%);
    transform: translateY(-130%); 
}

.input-field input[type=text].valid,
.input-field input[type=password].valid,
.input-field input[type=email].valid,
.input-field input[type=date].valid,
.input-field input[type=tel].valid,
.input-field textarea.valid {
    border-bottom: 1px solid #4CAF50;
    -webkit-box-shadow: 0 1px 0 0 #4CAF50;
    -moz-box-shadow: 0 1px 0 0 #4CAF50;
    box-shadow: 0 1px 0 0 #4CAF50; 
}

.input-field input[type=text].invalid,
.input-field input[type=password].invalid,
.input-field input[type=email].invalid,
.input-field input[type=date].invalid,
.input-field input[type=tel].invalid,
.input-field textarea.invalid {
    border-bottom: 1px solid #F44336;
    -webkit-box-shadow: 0 1px 0 0 #F44336;
    -moz-box-shadow: 0 1px 0 0 #F44336;
    box-shadow: 0 1px 0 0 #F44336;
}

.contact_form input[type=text], .contact_form input[type=password], .contact_form input[type=email], .contact_form input[type=date], .contact_form input[type=tel], .contact_form textarea {
    border-bottom: 1px solid rgba(0, 0, 0, .4);
}
       
.input-field .prefix {
    position: absolute;
    width: 2rem;
    top:1rem;
    font-size: 1.72rem;
    -webkit-transition: color 0.2s;
    -moz-transition: color 0.2s;
    -o-transition: color 0.2s;
    -ms-transition: color 0.2s;
    transition: color 0.2s; 
}

.input-field .prefix ~ input,
.input-field .prefix ~ textarea {
    margin-left:3rem;
    width: 92%;
    width: calc(100% - 3rem);
}

.input-field .prefix ~ textarea {
    padding-top: 0.8rem; 
}

.input-field .prefix ~ label {
    margin-left: 3rem; 
}
    
input[type=text],
input[type=password],
input[type=email],
input[type=date],
input[type=tel],
textarea {
	background-color: transparent;
	border: none;
	outline: none;
	height: 3rem;
	width: 100%;
	font-size: 1rem;
	margin: 0 0 15px 0;
	padding: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
}

textarea {
	overflow-y: hidden;
	/* prevents scroll bar flash */
	padding: 1.6rem 0;
	/* prevents text jump on Enter keypress */
	resize: none;
}

.hiddendiv {
	display: none;
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
	/* future version of deprecated 'word-wrap' */
	padding-top: 1.2rem;
	/* prevents text jump on Enter keypress */
}

select:focus {
    outline: 1px solid #f8c1c3;
}

.btn:focus {
    outline: none;
}

label {
	font-size: 0.8rem;
	color: #9e9e9e;
} 

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=date]:focus, input[type=tel]:focus, textarea:focus {
    border-bottom: 1px solid #2196f3;
    -webkit-box-shadow: 0 1px 0 0 #2196f3;
    -moz-box-shadow: 0 1px 0 0 #2196f3;
    box-shadow: 0 1px 0 0 #2196f3;
}

.form-box .material-icons {
	left: -1.5em;
    top: 0.3em;
    position: absolute;
   
}

.mdl-checkbox {
    position: relative;
	left: -3em;
    padding-bottom: 4em !important;
    font-weight: 500;
}
.mdl-checkbox__label {
    left: 0.6em;
}

#contact-form .btn{
	width: 10.2em;
   margin-left: 0;
    top: -1em;
    
}
.waves-button-input {
color: white;
    background-color: transparent;
    border: none;
    font-style: normal;
}
/* COLORBOX */

#inline_content p,
#inline_content2 p {
	padding: 0.5em 3em;
    text-align: justify;
}

#cboxClose {
	text-transform: uppercase;
    font-weight: 500;
    color: #2196f3;
    opacity: 0.8;
}

#cboxClose:hover {
	opacity: 1;
}

/* FOOTER */

footer {
	background-color: #3C3C3C;
        position: relative;
    top: 38em;
}
footer ul li {
    display: inline-block;
}
footer li, footer a {
    line-height: 1;
    text-align: justify;
    font-weight: 500;
    opacity: 0.8;
    font-size: 12px;
    color: white;
}

footer a {
   margin-left: 6px;
    color: #2196f3;
}
footer .copyright li:nth-child(2) {
    border-left: solid 1px gray;
    margin-left: 0.75em;
    padding-left: 0.75em;
    padding-top: 0;
}

.copyright {
	    padding-top: 2em;
    padding-bottom: 1em;
    width: 21em;
    margin: 0 auto;
}

/* WAYPOINTS */
.visible {
   display: block;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * 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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (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,
    *:first-letter,
    *:first-line {
        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;
    }
}