/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Aug 16, 2018, 9:54:54 AM
    Author     : Shaam
*/
@font-face {
    font-family: 'Myriad-Ar';
    src: url('../fonts/myriad-arabic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PORKYS';
    src: url('../fonts/PORKYS_.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MyriadProBoldSemiExtended';
    src: url('../fonts/MyriadProBoldSemiExtended.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MyriadPro-Regular';
    src: url('../fonts/MyriadPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html,body{
    width:100%;
    height:auto;
    padding: 0;
    margin: 0;
    line-height: 1;
    font-family: 'MyriadProBoldSemiExtended';
}
input[type="submit"],input[type="text"],input[type="button"],input[type="email"]{
    outline: none !important;
}
img{
    max-width: 100%;
    height:auto;
    display: block;
}
.create-account-background{
    position: relative;
}
.inner-container{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    /*opacity: 0.5;*/
}
.enviro-logo {
    width: 70%;
    height: 19.6%;
    margin-left: 16%;
    display: block;
}
.bg-layer {
    width: 61.3%;
    margin: auto;
    margin-top: 2%;
    background-color: rgba(255,255,255,0.5);
    border-radius: 4.6vw;
    padding: 1.4vw;
    box-sizing: border-box;
}
.form-bg {
    background-image: url(../images/account/bgg.png);
    background-size: 100% auto;
    width: 100%;
    /*height: 100%;*/
    border-radius: 4.6vw;
    background-color: rgba(255,255,255,0.8);
}

.form-bg h1{
    font-family: 'PORKYS';
    padding-top: 4.2%;
    margin: 0;
    text-align: center;
    font-size: 2.54vw;
    font-weight: normal;
    letter-spacing: 0.4vw;
    margin: auto;
    text-transform: uppercase;
    color: #5da9dd;
    padding-left: 0.9%;
}

.form-bg form{
    margin: auto;
    width: 75.2%;
    margin-top: 2%;
}

.form-group {
    padding-top: 1.5%;
}

.form-control {
    width: 100%;
    height: 5.7vw;
    border: solid 0.3vw #c4c4c4;
    box-sizing: border-box;
    border-radius: 1.5vw;
    font-size: 2vw;
    text-indent: 4%;
    letter-spacing: 1px;
    background-color: #e9e9e9 !important;
    outline: none !important;
    color: #bdbdbd !important;
    font-family: 'MyriadProBoldSemiExtended';
    -webkit-appearance: none;

}
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    background-color: #e9e9e9 !important;
    background-image: none !important;
    color: #bdbdbd !important;
}

.form-button{
    background-image: url(../images/account/button-bg.png);
    width: 60%;
    margin: auto;
    display: block;
    height: 6.5vw;
    border: none;
    background-color: transparent;
    background-size: 100% auto;
    cursor: pointer;
    padding: 0;
    font-family: 'PORKYS';
    color: #fff;
    letter-spacing: 0.6vw;
    font-size: 3.2vw;
    background-repeat: no-repeat;
    transition: 0.5s;
}
select.form-control{
    background-image: url(../images/account/select-arrow.png);
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 1.5vw auto;
}

.form-button:hover{
    transform: scale(1.1);
    transition: 0.5s;
}

.button-group{
    padding-top: 5%;
    padding-bottom: 4.5%;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #bdbdbd;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #bdbdbd;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #bdbdbd;
}
:-moz-placeholder { /* Firefox 18- */
    color: #bdbdbd;
}

.login-container .form-bg h1 {
    padding-top: 7.5%;
    transition: all linear 0.8s;
}



.login-container .form-bg form {
    margin-top: 4%;
    transition: opacity linear 0.8s,display linear 2s;
}
.login-container .bg-layer{
    margin-top: 2%;
}

.form-group span{
    font-family: 'MyriadPro-Regular';
    color: #919191;
}

/* The container */
.container {
    display: block;
    position: relative;
    padding-left: 3vw;
    margin-bottom: 12px;
    font-size: 1.4vw;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: 'MyriadPro-Regular';
    color: #919191;
    margin-top: 2%;
    line-height: 1.5;
    margin-left: 3%;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;

}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.2vw;
    width: 1.2vw;
    background-color: #e9e9e9;
    border: solid 0.2vw #c4c4c4;
    border-radius: 0.3vw;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background: #c4c4c4;
    border-color: #dcd9d9;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    /*background-color: #2196F3;*/
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 35%;
    top: 10%;
    width: 0.2vw;
    height: 0.6vw;
    border: solid white;
    border-width: 0 0.2vw 0.2vw 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.create-account-link{
    background-image: url(../images/account/create-new-account-button.png);
    width: 60.5%;
    display: block;
    margin: auto;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    font-family: 'PORKYS';
    font-size: 1.7vw;
    letter-spacing: 0.2vw;
    background-size: 100% auto;
    height: 4.1vw;
    line-height: 4vw;
    text-decoration: none;
    background-repeat: no-repeat;
}

.login-container .button-group{
    padding-bottom: 2.8%;
}

.gmail-login{
    background-image: url(../images/account/gmail-login.png);
    float: left;
    color: #fff;
    text-decoration: none;
    font-family: 'MyriadPro-Regular';
    margin-left: 18%;
    width: 29%;
    height: 4.3vw;
    display: block;
    background-size: 100% auto;
    line-height: 4.6vw;
    text-indent: 7.8%;
    text-transform: uppercase;
    font-size: 1.2vw;
    background-repeat: no-repeat;
}

.facebook-login{
    background-image: url(../images/account/facebook-login.png);
    float: left;
    color: #fff;
    text-decoration: none;
    font-family: 'MyriadPro-Regular';
    margin-left: 6%;
    width: 29%;
    height: 4.3vw;
    display: block;
    background-size: 100% auto;
    background-repeat: no-repeat;
    line-height: 4.6vw;
    text-indent: 6%;
    text-transform: uppercase;
    font-size: 1.2vw;
}

.login-with{
    margin-top: 4%;
}

.clear{
    width: 100%;
    height: 0;
    clear: both;
}

.login-container .form-bg{
    padding-bottom: 1.7vw;
}

.flashMessage{
    opacity: 0;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    margin-top: 0;
    font-size: 85%;
    opacity: 1;
}
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.hideForm,a.hideForm{
    opacity: 0;
    display: none;
}
#back-to-lib-link,
#register-on-book-test{
    margin-top: 3vw;
    margin-bottom: 2vw;
}

#back-to-lib-link{
    margin-top: 3vw;
    margin-bottom: 0;
    padding-bottom: 3vw;
}
.alert{
    margin: 20px auto;
    width: 75%;
    text-align: center;
    padding: 30px 15px;
    font-size: 120%;
}
#create-account-link,#login-link,#top-ten-link{
    margin-bottom: 2vw;
}

.flashMessage.alert.alert-danger ul{
    list-style: none;
}

@media(max-width:1024px){
    .alert {
        padding: 15px;
    }
}

.login-body-ar *,.create-account-body-ar *,.join-test-ar *{
    font-family: 'Myriad-Ar' !important;
    letter-spacing: 0 !important;
}

.top-ten-list{
    padding-top: 2em;
    padding-bottom: 2em;
    text-align: center;
    /*font-family: 'PORKYS';*/
}

.top-ten-list ul{
    list-style-type: none;
}

.top-ten-list li{
    font-size: 2.1vw;
    margin: 8px 0;
}

.top-ten-list img{
    width: 40px;
    position: absolute;
    /* top: 112px; */
    left: 23%;
    cursor: pointer;
}