/*
Theme Name: biu
Theme URI: https://cyber.biu.ac.il/
Description: BIU Cyber Center
Author: Dogma
Author URI: http://www.dogma.co.il
Version: 1.0
*/
/* = CSS Reset
-------------------------------------------------------------- */
/*
 * Open Sans Hebrew (Hebrew) http://www.google.com/fonts/earlyaccess
 */
/*
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 300;
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-LightItalic.eot);
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-LightItalic.eot?#iefix) format('embedded-opentype'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-LightItalic.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-LightItalic.woff) format('woff'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-LightItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 300;
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Light.eot);
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Light.eot?#iefix) format('embedded-opentype'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Light.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Light.woff) format('woff'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 400;
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Italic.eot);
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Italic.eot?#iefix) format('embedded-opentype'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Italic.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Italic.woff) format('woff'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Italic.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 400;
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Regular.eot);
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Regular.eot?#iefix) format('embedded-opentype'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Regular.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Regular.woff) format('woff'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 700;
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-BoldItalic.eot);
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-BoldItalic.eot?#iefix) format('embedded-opentype'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-BoldItalic.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-BoldItalic.woff) format('woff'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-BoldItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 700;
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Bold.eot);
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Bold.eot?#iefix) format('embedded-opentype'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Bold.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Bold.woff) format('woff'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 800;
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBoldItalic.eot);
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBoldItalic.eot?#iefix) format('embedded-opentype'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBoldItalic.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBoldItalic.woff) format('woff'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBoldItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 800;
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBold.eot);
    src: url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBold.eot?#iefix) format('embedded-opentype'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBold.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBold.woff) format('woff'),
    url(//fonts.gstatic.com/ea/opensanshebrew/v3/OpenSansHebrew-ExtraBold.ttf) format('truetype');
}
*/
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 300;
    src: url(fonts/opensanshebrew-lightitalic-webfont.eot);
    src: url(fonts/opensanshebrew-lightitalic-webfont.eot?#iefix) format('embedded-opentype'),
    url(fonts/opensanshebrew-lightitalic-webfont.woff) format('woff'),
    url(fonts/opensanshebrew-lightitalic-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 300;
    src: url(fonts/opensanshebrew-light-webfont.eot);
    src: url(fonts/opensanshebrew-light-webfont.eot?#iefix) format('embedded-opentype'),
    url(fonts/opensanshebrew-light-webfont.woff) format('woff'),
    url(fonts/opensanshebrew-light-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 400;
    src: url(fonts/opensanshebrew-italic-webfont.eot);
    src: url(fonts/opensanshebrew-italic-webfont.eot?#iefix) format('embedded-opentype'),
    url(fonts/opensanshebrew-italic-webfont.woff) format('woff'),
    url(fonts/opensanshebrew-italic-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/opensanshebrew-regular-webfont.eot);
    src: url(fonts/opensanshebrew-regular-webfont.eot?#iefix) format('embedded-opentype'),
    url(fonts/opensanshebrew-regular-webfont.woff) format('woff'),
    url(fonts/opensanshebrew-regular-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 700;
    src: url(fonts/opensanshebrew-bolditalic-webfont.eot);
    src: url(fonts/opensanshebrew-bolditalic-webfont.eot?#iefix) format('embedded-opentype'),
    url(fonts/opensanshebrew-bolditalic-webfont.woff) format('woff'),
    url(fonts/opensanshebrew-bolditalic-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 700;
    src: url(fonts/opensanshebrew-bold-webfont.eot);
    src: url(fonts/opensanshebrew-bold-webfont.eot?#iefix) format('embedded-opentype'),
    url(fonts/opensanshebrew-bold-webfont.woff) format('woff'),
    url(fonts/opensanshebrew-bold-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 800;
    src: url(fonts/opensanshebrew-extrabold-webfont.eot);
    src: url(fonts/opensanshebrew-extrabold-webfont.eot?#iefix) format('embedded-opentype'),
    url(fonts/opensanshebrew-extrabold-webfont.woff) format('woff'),
    url(fonts/opensanshebrew-extrabold-webfont.ttf) format('truetype');
}
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 800;
    src: url(fonts/opensanshebrew-extrabold-webfont.eot);
    src: url(fonts/opensanshebrew-extrabold-webfont.eot?#iefix) format('embedded-opentype'),
    url(fonts/opensanshebrew-extrabold-webfont.woff) format('woff'),
    url(fonts/opensanshebrew-extrabold-webfont.ttf) format('truetype');
}
body {
    font-family: 'Open Sans Hebrew', sans-serif;
    /*font-family: 'Heebo', sans-serif;*/
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

.font-bold {
    font-weight: 700 !important;
}

a,
.text-blue {
    color: #163158 !important;
}

.text-biu {
    color: #1957a6 !important;
}

.text-red {
    color: #ef4036;
}

.text-white {
    color: #fff !important;
}

.fs-2 {
    font-size: 2rem !important;
}

.fs-25 {
    font-size: 2.5rem !important;
}

.fs-11 {
    font-size: 1.1rem !important;
}

.fs-15 {
    font-size: 1.5rem !important;
}

.bg-red {
    background-color: #ef4036 !important;
}

.bg-biu {
    background-color: #1957a6 !important;
}

.bg-cyan {
    background-color: #6bccdd !important;
}

.bg-faded {
    background-color: #fff;
    padding: 1rem;
}

.bg-biu ul li {
    color: #fff;
}

.s-m-auto {
    margin: 0 auto 1.5rem !important;
}

.img-thumbnail {
    padding: 1px;
}

#header {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.main-title {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    background-color: rgba(19, 37, 66, 0.6);
    padding: 1rem 0.5rem;
}

.header-inner {
    width: 50%;
    height: calc(100vh - 216px);
    top: 140px;
    position: relative;
    text-align: center;
    padding: 3rem 1rem;
    clear: both;
}

.header-inner span {
    display: block;
    font-size: 2rem;
}

.underline {
    text-decoration: underline;
}

.block {
    padding: 4rem 1rem;
}

#partners.block {
    padding: 2rem 1rem 4rem !important;
}

.block-dark {
    background-color: #2e3842;
}

.block-light {
    background-color: #fff;
}

.block-gray {
    background-color: #e7e7e7;
    /*background-color: #6bccdd;*/
}

.btn-biu:active,
.btn-biu.active,
.show > .btn-biu.dropdown-toggle,
.btn-biu {
    color: #fff;
    background-color: #1957a6;
    border-color: #1e2fa6;
}

.btn-biu:hover {
    color: #fff;
    background-color: #1e2fa6;
}

.signup-btn {
    z-index: 9999;
    /*border-radius: 0;*/
    color: #fff !important;
    position: fixed;
    bottom: 5px;
    right: calc(50vw - 162px);
    font-size: 1.5rem;
    line-height: 1.5;
    padding: 0.5rem 4rem;
    display: none;
}

#ai-main {
    height: 140px;
}

#main-menu .nav-link.active {
    text-decoration: underline;
}

.rewards span {
    color: #ffed00;
    font-weight: bold;
    font-size: 2.5rem;
    border: 5px dotted;
    padding: 0 2rem;
    display: inline-block;
}

#partners img {
    max-width: 100%;
}

.navbar-brand img {
	max-height: 100px;
	width: auto;
}

@media (max-width: 767px) {
    .navbar-brand > img {
        width: 70%;
        height: auto;
    }

    .logo-right {
        position: absolute;
        width: 50px;
        height: 50px;
    }

    .logo-right img {
        max-height: 50px;
        max-width: 50px;
    }

    .header-inner {
        width: 100%;
        height: calc(100vh - 90px);
        top: 90px;
        text-align: right;
        padding: 1rem;
    }

    .header-inner span {
        font-size: 1.3rem;
        line-height: 1;
    }

    .header-inner img {
        width: 50%;
    }

    .main-title h1 {
        font-size: 1.5rem;
    }

    #partners img {
        height: auto;
    }
}

@media (min-width: 768px) {
    #last-year .col-md-2 {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 20%;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .navbar-light .navbar-brand img {
        width: 250px;
        height: auto;
    }

    .logo-right img {
        width: 75px;
        height: 75px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .navbar-brand > img {
        width: 40%;
    }
}

@media (max-width: 575px) {
    .signup-btn {
        right: 5px;
        width: calc(100% - 10px);
    }
}
