/*GENERAL*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:after, :before {
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

body {
	color: black;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    background-color: #F5F5F5;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.72rem;
    letter-spacing: 0.02rem;
    text-align: center;
    overflow-x: hidden;
}

h2, h3, h4, p, li, a {
	opacity: 0.64;
}

h1 {
	font-weight: 300;
	letter-spacing: -0.2rem;
	font-size: 4.2rem;
	line-height: 4.28rem;
	color: white;
	opacity: 0.9;
}

h2 {
	font-size: 3rem;
	line-height: 2.86rem;
	letter-spacing: -0.10rem;
	opacity: 0.58;

}

h3 {
	font-size: 1.72rem;
	line-height: 2.28rem;
}

h4 {
	font-weight: 600;
	font-size: 1.2em;
}

p {
	 font-size: 1.2em;
}

a {
	cursor: pointer;
	color: white;
	text-decoration: none;
}

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

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

ul {
	list-style: none;
}

ul li {
	display: inline-block;
}

.bold {
	font-weight: 600;
}

.white-font {
	color: white !important;
	-webkit-text-stroke-width: 0.5px;
   -webkit-text-stroke-color:#6C6C6C ;
}

.grey-font {
	color: #6C6C6C !important;
}

.activelink {
	color: #ff171d !important;  
}

i.active {
	color:#2196f3;
}

.centered {
	margin: 0 auto;
}

.no-center {
	text-align: left;
}

.mobile-only {
	display: none;
}

.no-padding {
	padding: 0 !important;
}

.wrap {
	word-wrap: break-word;
}

/*MAIN ELEMENTS*/

.container {
	width: 100%;
	padding-right:  0;
	padding-left: 0;
}

.container:after {
    display: table;
    content: " ";
}

.container:before {
    display: table;
    content: " ";
}

.wrapper {
	padding-top: 3em;
	padding-bottom: 6em;
}

.page-title {
	margin-bottom: 4.5em;
}

.full-bg {
	width: 100%;
	opacity: 1;
	height: 100%;
}

.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;
    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;
    padding: 0.5em 2rem;
    margin: 1.5em;
    -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;
}

.btn a {
	opacity: 1;
}

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

.bounce {
    -moz-animation: bounce 3s infinite;
    -webkit-animation: bounce 3s infinite;
    animation: bounce 3s infinite;
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
}

.card {
	background-color: white;
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

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


/*MENU*/
header {
	width: 100%;
	height: 5em;
}

.menu-wrapper {
	position: fixed;
	width: 100%;
	width: 50%;
    z-index: 2;
    right: 0;
}
.menu {
	float: right;
	margin-top: 0.5em;
	margin-right: 4.8em;
}

.block {
	display: block;
	text-align: right;
	line-height: 2.25em;
	margin-right: 1%;
}


.menu li {
	margin: 0 0.8em;
	padding-top: 0.3em;
	font-size: 1.3em;
	opacity: 1;
}

.menu li a {
	color: white;
	font-weight: 500;
	line-height: 1.25em;
	padding-top: 0.44em;
	opacity: 1;
	font-size: 1.3em;
}

.menu li a:hover {
	border-top: 2px solid;
    color: #ff171d;  
}

.menu li.block a:hover {
	border-top: 0;
	border-bottom: 2px solid;
}

/*HERO*/

#hero {
	height: calc(100vh - 2em);
}

.container-hero .full-bg {
	background: url(../images/home_background_01.jpg) no-repeat center center;
	background-size: cover;
	height: calc(100vh - 2em);
	position: fixed;
}

.content-hero {
	clear: both;
    margin-top: 6em;
}

.content-hero h1 {
	margin-top: 0.5em;
}

.content-hero p {
	color: white;
	opacity: 0.9;
	font-size: 1.4rem;
	max-width: 42.156em;
}

.content-hero img {
	width: 20em;
	position: relative;
}

.hero-arrow i {
	color: white;
	position: absolute;
    bottom: 0;
    margin-bottom: 1em;
}

main, footer {
	position: relative;
}
/*DIVISIONS*/

#divisions, #contact, main {
	background-color: #F5F5F5;
}

.content-divisions {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.container-divisions {
	margin-left: 10%;
	margin-right: 10%;
}

.container-divisions .page-title p {
	width: 56%;
}

.card-divisions {
	width: 42%;
	padding: 3em 3em 2em 3em;
}
.card-divisions h4 {
	margin-bottom: 0;
}
.card-img-wrapper {
	width: 14.286em;
	height: 10.714em;
	margin: 0 auto;
}

.afeka {
	margin-right: 1em;
}

.avner {
	margin-left: 1em;
}

.afeka-logo {
	width: 9.61em;
}

.avner-logo {
	width: 12.249em;
}

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

/*ABOUT*/

.container-about {
	background-color: #3C3C3C;
	padding-top: 6em;
}

.container-about.full-bg {
	background: url(../images/buildings-bg-g.jpg) no-repeat center center;
	background-size: cover;
}

.card-about {
	width: 55.148em;
	display: flex;
    padding: 4em;
}
.about-img {
	width: 17.142em;
}

.about-text-wrapper p {
	text-align: justify;
	font-weight: 300;
	margin-left: 4em;
	line-height: 1.6em;
}

/*CONTACT*/

.container-contact {
	margin-left: 20%;
	margin-right: 20%;
}
.container-contact .page-title p {
	width: 51.8%;
}

.content-contact {
	display: flex;
}

.contact-form-wrapper {
	width: 50%;
}

.contact-info-wrapper {
	width: 35%;
}

.contact-form-wrapper {
	margin-right: 10%;
}

.contact-info-wrapper {
	margin-left: 10%;
}

.contact-info-wrapper ul li {
	display: list-item;
	font-size: 1.2em;
    margin-bottom: 2em;
    margin-left: 0.5em;
}

.contact-info-wrapper ul li i {
	position: absolute;
	margin-left: -1.65em;
	color: #2196f3;
}

.contact-info-wrapper ul li svg {
	width: 1.6em;
    position: absolute;
    margin-left: -2.65em;
}

.logo-flag {
	width: 2.025em;
	margin-right: 0.5em;
}

/*FORM*/

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: 1.2em;
    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;
    padding: 1.6rem 0;
    resize: none;
}

.input-field label {
    opacity: 0.7;
    position: absolute;
    top: 0.8rem;
    left: 0rem;
    font-size: 1.2em;
    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;
}

#contact-form .material-icons {
    margin-left: -1.8em;
    margin-top: 0.2em;
    position: absolute;
}

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

.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[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;
}

#contact-form label {
	font-weight: 500;
	color: #9e9e9e;
	font-size: 1.2em;
	text-align: justify;
	width: 23em;
	
}

#contact-form .mdl-checkbox__label {
    left: 0.6em;
}

#contact-form .mdl-checkbox {
    position: relative;
    padding-bottom: 4em !important;
    font-weight: 500;
}

#contact-form .btn {
	margin-left: 0;
}


/*FOOTER*/
footer {
	background-color: #3C3C3C;
}

.container-footer {
	margin: 2em 0 ;
}

footer li, footer a {
	color: white;
	font-size: 0.9em;
	line-height: 1em;
}

footer ul {
	padding-left: 0;
}

footer ul li:nth-child(2) {
    border-left: solid 1px gray;
    margin-left: 0.75em;
    padding-left: 0.75em;
    padding-top: 0;

}
footer ul li:nth-child(2) a {
	color: #2196f3;
}

/*THANK YOU PAGE*/

#thankyou a {
	opacity: 1;
	color: black;
	color: #ff171d;
}

#thankyou p {
	font-size: 1.5rem;
}

#thankyou .logo {
	width: 20em;
	margin-top: 2em;
	margin-bottom: 4em;
}

#thankyou i {
	font-size: 2.5rem;
}

/*AFEKA*/
#afeka #hero {
	height: calc(100vh - 2em);
}

#afeka #hero .full-bg {
	background: url(../images/afeka-bg.jpg) no-repeat center center;
	background-size: cover;
	position: fixed;
}

#afeka .container-hero {
	top: 25%;
    position: relative;
}

.container-main img {
	width: 10em;
}
/*RESPONSIVE*/
@media all and (max-width: 1024px) and (max-height: 1366px) {
	header {
		visibility: hidden;
	}

	.content-hero {
	    margin-top: 14em;
	}
	.card-divisions {
	    width: 46%;
	}

	.container-divisions {
		margin-right: 1%;
		margin-left: 1%;
	}

	.container-contact {
	    margin-left: 8%;
	    margin-right: 8%;
	}
}

@media all and (max-width: 1024px) and (max-height: 768px) {
	.content-hero {
	    margin-top: 10%;
	}
}

@media all and (max-width: 812px) and (max-height: 414px) {
	.mobile-only {
		display: block;
	}

	img.mobile-only {
		width: 10em;
		margin-bottom: 2em;
	}

	.about-img {
		display: none;
	}

	.content-hero {
	    margin-top: 0%;
	}

	.content-hero h1 {
	    font-size: 2.2rem;
        margin-bottom: 0;
	}

	.content-hero p {
		font-size: 1rem;
	    max-width: 27.156em;
	}

	.content-hero img {
	    width: 10em;
	}	
	.fa-3x {
	    font-size: 2em;
	}

	h2 {
	    font-size: 2rem;
	}

	p, h4 {
	    font-size: 1em;
	}

	h3 {
	    font-size: 1.52rem;
	}

	.afeka-logo {
	    width: 8.61em;
	}

	.avner-logo {
	    width: 11.249em;
	}

	.card-divisions {
	    width: 48%;
	    padding: 2em 1em 1em 1em;
	}

	.content-about {
		margin-left: 1%;
		margin-right: 1%;
	}

	.card-about {
	    width: 100%;
  	}

	.btn {
	    font-size: 0.8em;
	}

	#contact-form .btn {
		width: 11em;
	}

	#contact-form label {
		width: 100%;
	}

	#contact-form i {
		display: none;
	}

	.container-contact {
	    margin-left: 3%;
	    margin-right: 3%;
	}

	.mdl-checkbox__label{
		font-size: 0.77em;
	}

	#contact-form .mdl-checkbox {
	    left: 0;
	}

	footer li, footer a {
	    font-size: 0.6em;
	}
}

@media all and (max-width: 800px) {
	.card-about {
		flex-wrap: wrap;
		width: 95%;
	}

	img.mobile-only {
		display: block;
		width: 10em;
		margin-bottom: 2em;
	}

	.about-img {
		display: none;
	}

	.about-text-wrapper p {
		margin-left: 0;
	}

	.container-divisions .page-title p, .container-contact .page-title p {
	    width: 95%;
	}

	.content-contact {
		flex-wrap: wrap;
	}

	.contact-form-wrapper, .contact-info-wrapper {
		width: 100%;
	}

	.contact-info-wrapper {
		margin-left: 0;
	}

	.contact-form-wrapper {
		margin-right: 0;
	}

	.contact-form-wrapper .btn {
		width: 11em;
	}
}

@media all and (max-width: 668px) and (max-height: 376px) {
	.avner {
		margin-left: 0;
		margin-top: 1em;
	}

	.afeka {
		margin-right: 0;
	}

	p, h4, li, a {
	    font-size: 1em;
	}

	.card-divisions {
    	width: 95%;
    }

    .content-contact {
    	flex-wrap: wrap;
    }

    .contact-form-wrapper, .contact-info-wrapper {
		width: 100%;
	}
}

@media all and (max-width: 640px) {
	.hero-arrow i {
		margin-bottom: 2em;
	}
	.fa-3x {
		font-size: 1.5em;
	}

	#contact-form .material-icons {
		visibility: hidden;
	}
}

@media all and (max-width: 560px) {
	.card-divisions, .card-about {
    	width: 85%;
	}

	.card-about {
		padding: 2em;
	}

	.afeka {
		margin-right: 0;
	}

	.avner {
		margin-left: 0;
		margin-top: 2em;
	}
}

@media all and (max-width: 568px) and (max-height: 320px) {
	#hero {
	    height: calc(100vh - 1em);
	}

	.fa-3x {
	    font-size: 1.5em;
	}
}

@media all and (max-width: 480px) and (max-height: 320px) {
	.container-divisions .page-title p {
		width: auto;
	}

	.card-about {
		flex-wrap: wrap;
	    padding: 2em;
	}
	.about-text-wrapper p {
		margin-left: 0;
	}

	.card-divisions {
	    width: 100%;
	}

	.content-hero {
	    margin-top: -6%;
	}
}

@media all and (max-width: 414px) and (max-height: 812px) {

	h1 {
	    letter-spacing: 0rem;
	}
	.content-hero h1 {
	    font-size: 2.2rem;
        margin-bottom: 0;
	}

	.content-hero p {
		font-size: 1.2rem;
	    max-width: 19.156em;
	}

	.content-hero img {
	    width: 15em;
	}	
	.fa-3x {
	    font-size: 2em;
	}
	h1 {
	    line-height: 3.28rem;
	}

	h2 {
	    font-size: 2rem;
	}

	p, h4 {
	    font-size: 1em;
	}

	h3 {
	    font-size: 1.52rem;
	}

	.afeka-logo {
	    width: 8.61em;
	}

	.avner-logo {
	    width: 11.249em;
	}

	.card-divisions {
	    width: 100%;
	    padding: 2em 2em 1em 2em;
	}

	.afeka, .avner {
		margin-left: 1em;
		margin-right: 1em;
	}

	.avner {
		margin-top: 1em;
	}

	.content-about {
		margin-left: 5%;
		margin-right: 5%;
	}

	.card-about {
		flex-wrap: wrap;
		width: 100%;
		padding: 2em;
	}

	.about-text-wrapper p {
		margin-left: 0;
	}

	.content-contact {
		flex-wrap: wrap;
	}

	#contact-form i {
		display: none;
	}

	#contact-form .mdl-checkbox {
		left: 0;
	}

	#contact-form label {
		width: 100%;
	}

	.contact-info-wrapper {
		margin-left: 0;
	}

	.contact-form-wrapper {
	    margin-right: 0;
	}

	 .contact-form-wrapper, .contact-info-wrapper {
		width: 100%;
	}

	#contact-form .btn {
	    width: 11em;
	} 

	.btn {
	    font-size: 0.8em;
	}

	.mdl-checkbox__label{
		font-size: 0.77em;
	}

	footer li, footer a {
	    font-size: 0.6em;
	}
}

@media all and (max-width: 320px) and (max-height: 569px) {

	.container-divisions .page-title p, .content-hero p {
	    width: 20em;
	}

	.content-hero {
	    margin-top: 0%;
	}
}

