
/*--------------------------------------------------------login------------------------------------------------------------*/

.login-page {
    padding-top: 0;
}

.gradient-bg {
    width: 100%;
    position: fixed;
    width: 100%;
    height: 100vh;
    //background: linear-gradient(270deg, #397bb3, #92fffb, #00ffc9);
    //background: linear-gradient(270deg, #397bb3, #92fffb, #00d6a9, #397bb3);
    //background: linear-gradient(270deg, #397bb3, #84e5e1, #0aadb8);
    //background: linear-gradient(270deg, #397bb3, #5f8da2, #0351a0);
    background: linear-gradient(270deg, #476884, #5f8da2, #0351a0);
    background-size: 600% 600%;
    -webkit-animation: AnimationName 15s ease infinite;
    -moz-animation: AnimationName 15s ease infinite;
    animation: AnimationName 15s ease infinite;
    top: 0;
    left: 0;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

@keyframes AnimationName { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

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

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 30px 35px;
    box-sizing: border-box;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.content-wrap {
    min-height: calc(100vh - 104px);
    position: relative;
    width: calc(100% - 240px);
    margin: auto;
    max-width: 1500px;
}
.input-wrap {
    display:flex;   
    align-items: baseline;
}
.input-wrap div {
    width: 10%;
    margin-right: 10%;
    color: #223583;
    text-align: left;
}
#login .content-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 170px;
    box-sizing: border-box;
}

.login-page h1 {
    font-size: 50px;
    letter-spacing: 10px;
    margin-bottom: 40px;
    color: #223583;
}

.login-page input {
    width: 80%;
    color: #464646;
    background: none;
    box-sizing: border-box;
}

.login-page input[type=text] , .login-page input[type=password] {

    border: 1px solid #a05593;
    padding: 10px 13px;
    margin-bottom: 10px;
    text-transform: none;
}

.login-page input[type=password] {
    line-height: 2;
}
.login-page input[type=submit] , .login-page input[type=button] {
    /*
        border: 3px solid #4171af;
        font-family: 'Roboto', sans-serif;
        text-transform: uppercase;
        font-size: 16px;
        letter-spacing: 2px;
        padding: 8px 25px;
        margin: 5px 0 30px;
        box-sizing: border-box;
        cursor: pointer;
        transition: 0.3s ease;*/
    font-size: 18px;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    margin: 0 5px 5px 0;
    padding: 15px 30px;
    cursor: pointer;
    transition: .3s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #a05593;
    width: auto;
}

.login-page input[type=submit]:hover , .login-page input[type=button]:hover {
    border-color: #397bb3;
}

.login-page ::placeholder {
    color: #464646;
    text-transform: uppercase;
}

.login-page .g-recaptcha > div{

    margin: 0 auto;
    margin-bottom: 10px;
}
input {
    outline: none;
}

.reminder {
    font-size: 15px;
    //color: #4dc2be;
    color: #4171af;
    font-style: italic;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
    transition: 0.3s ease;
}

.reminder:hover, .reminder:hover > a {
    color: #397bb3;
}

.reminder > a {
    //color: #4dc2be;
    color: #4171af;
}

.login-page.lightbox-wrapper {
    background: rgba(0,0,0,0.5);
}

.headings {
    font-size: 20px;
    text-transform: uppercase;
    color: #4dc2be;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 35px;
    font-weight: 500;
    color: #4171af;
}

.forget-pw-box {
    width: 470px;
    background: rgba(255,255,255,0.95);
    margin: 15% auto;
    padding: 70px 45px 45px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}

/*--------------------------------------------------------login------------------------------------------------------------*/

/*-------------------------------------------------------register----------------------------------------------------------*/

.login-title {
    font-size: 32px;
    font-family: 'HelveticaNeue-Condensed';
    color: #4dc2be;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 55px;
    color: #4171af;
}

.reg-box {
    background: rgba(255,255,255,0.9);
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 70px 50px 35px;
    box-sizing: border-box;
}

#register .content-wrap {
    padding-top: 150px;
    box-sizing: border-box;
}

#register form {
    font-size: 0;
}

.login-page select {
    width: 100%;
    background: transparent;
    border: 1px solid #4171af;
    padding: 9px;
    box-sizing: border-box;
    outline: none;
    margin-bottom: 10px;
    min-height: 40px;
    height: 40px;
    border-radius: 0 !important;
    font-family: Times New Roman, serif;
    text-transform: uppercase;
}

#register .left {
    padding-right: 10px;
}

#register .right {
    padding-left: 10px;
}

#register .reminder.non-click:hover {
    color: #4dc2be;
    cursor: auto;
}

#register .reminder.non-click {
    text-align: left;
}

#register .g-recaptcha > div {
    margin: 0 0 10px auto;
}

#register input[type=submit] , #register input[type=button] {
    margin-bottom: 20px;
}

.float {
    margin-left: auto;
    display: none;
}

/*-------------------------------------------------------register----------------------------------------------------------*/

/*----------------------------------------------------login_home--------------------------------------------------------*/

#login_home .login-title, #subspecialty .login-title {
    color: white;
    margin-bottom: 35px;
}

#login_home .content-wrap, #subspecialty .content-wrap {
    padding-top: 170px;
}

.sub-item {
    width: 235px;
    height: 235px;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    position: relative;
}

.sub-list {
    width: calc(100% - 240px);
    display: flex;
    margin: 0px auto 50px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.sub-list > li {
    margin: 15px;
    transition: 0.3s ease;
    width: calc(100% / 3 - 30px);
}
.sub-list > li a {
    width: 100%;
}
.sub-list .flip-container {
    width: 100%;
    border: 10px inset #253a95;
}
.sub-list .front {
    width: 100%;
}
.sub-list .back {
    width: 100%;
}
.sub-list .front h3 {
    color: #fff;
}
.sub-category.sub-list > li{
}
.sub-item > img {
    position: absolute;
    opacity: 0.2;
    transition: 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#login_home .headings {
    color: #464646;
    position: relative;
    z-index: 1;
    margin: 0;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    padding: 0 20px;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.sub-item:hover {
    background: #397bb3;
    width: 250px;
    height: 250px;
}

.sub-item:hover > img {
    opacity: 1;
}

#login_home .sub-item:hover .headings {
    color: white;
}

.sub-list > li:hover {
    margin: 7.5px;
}

.user {
    display: none;
    align-items: center;
}

.header img.setting {
    width: inherit;
    margin-left: 10px;
    cursor: pointer;
}

/*----------------------------------------------------login_home--------------------------------------------------------*/

/*----------------------------------------------------subspecialty--------------------------------------------------------*/

.mode-list {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    right: 0;
    top: 170px;
}

.mode-list > li {
    width: 55px;
    height: 55px;
    background: #464646;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    opacity: 0.6;
    transition: 0.3s ease;
    cursor: pointer;
}

.mode-list > li:hover {
    opacity: 1;
}

.mode-list > li.active {
    background: #397bb3;
    opacity: 1;
}

.mode-content > li {
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    height: 0;
    overflow: hidden;
}

.mode-content > li.active {
    visibility: visible;
    opacity: 1;
    height: auto;
}

#subspecialty .content-wrap {
    max-width: 1200px;
}

.material-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.material-list > li {
    width: calc(100% / 3);
    padding: 20px;
    box-sizing: border-box;
}

.thumb {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.thumb:after {
    content: '';
    padding-top: 64%;
    display: block;
}
/*
.overlay {
    width: 100%;
    height: 100%;
    background: rgba(70,70,70,0.5);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}*/

.mat-item:hover .overlay {
    visibility: visible;
    opacity: 1;
}

.mat-title {
    background: white;
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #464646;
    padding: 20px 25px;
    box-sizing: border-box;
    line-height: 1.5;
    letter-spacing: 1px;
    transition: 0.3s ease;
    max-height: 90px;
    overflow: hidden;
}

.mat-item:hover .mat-title {
    background: #397bb3;
    color: white;
}

.mode-content {
    margin-bottom: 70px;
}

.book-wrap .thumb:after {
    padding-top: 74%;
}

.book-wrap .overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(70,70,70,0.4);
}

.book-wrap .mat-item:hover .overlay {
    opacity: 0;
}

.book-wrap .mat-title {
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.book-wrap .mat-item:hover .mat-title {
    opacity: 1;
}

.book-lightbox {
    display: block;
}

.book-lightbox .lightbox {
    margin: 10% auto 4%;
    max-width: 1280px;
    background: none;
}

.page {
    background-size: cover;
    background-position: center;
}

.back-tri {
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 13px solid white;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    opacity: 0.7;
    transition: 0.3s ease;
}

.p-btn {
    top: 50%;
    transform: translate(0,-50%);
    left: -50px;
    transition: 0.3s ease;
}

.n-btn {
    top: 50%;
    transform: translate(0,-50%);
    right: -50px;
    transition: 0.3s ease;
}

.flip-control {
    text-align: center;
    font-size: 18px;
    position: absolute;
}

.n-btn .back-tri {
    border-left: 18px solid white;
    border-right: none;
}

.back-tri:hover {
    opacity: 1;
}

.book-list > li {
    display: none;
}

.book-list > li.active {
    display: block;
}

.mat-title a {
    margin-left: auto;
    transition: 0.3s ease;
}

.mat-item:hover .fa {
    color: white;
}

/*----------------------------------------------------subspecialty--------------------------------------------------------*/

#gallery .grid-item {
    float: left;
    width: calc(33.3% - 10px);
    height: 280px;
    margin: 0 10px 10px 0;
}


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

    .login-page h1 {
        font-size: 30px;
    }
    .sub-list > li {
        width: 100%;
    }
}
@media screen and (max-width: 992px) {

    .sub-list .flip-container {
        display: block;
    }
    .sub-list {
        width:100%;
    }
}
@media screen and (max-width: 500px) { 
    .content-wrap {

        width: calc(100% - 100px);
        padding-top: 0;
    }
    #login_home .content-wrap {
        
        padding-top: 0;
    }
    #login .content-wrap  {

        padding-top: 0;

    }
    .login-panel {
        padding: 0;
    }
    .login-page h1 {

        font-size: 18px;
    }
    .input-wrap div {
        margin-right: 20%;
    }
}