/* Responsiveness */
@media screen and (max-width: 992px) {
    #inputJenis, #inputFoto-container{
        width:60%;
    }

    #fileName{
        display: inline-block;
        text-overflow: ellipsis;
    }

    .adjust-width{
        width: 350px;
    }

    .tm-image{
        max-width: 250px;
    }

    
} 

/* Medium to Extra Large*/
@media screen and (min-width: 993px) {
    #inputJenis, #inputFoto-container{
        width: 100%
    }

    #fileName{
        display: inline-block;
        text-overflow: ellipsis;
    }

    .adjust-width{
        width: 450px;
    }

    .tm-image{
        max-width: 300px;
    }
}


#main-div{
    margin-top: 40px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.add-margin-top{
    transform: translateY(50px);
}


.logo{
    max-width: 100%;
    height: auto;
}

#alert{
    top: -150px;
}

.alert-top{
    font-size: large;
    padding-top: 30px;
    padding-bottom: 30px;
    top: 0px;
    left: 0px;
    min-height: 100px;
    width: 100%;
    position: fixed;
    z-index: 20;
    text-align: center;
}

.alert-fade{
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.alert-form{
    text-align: center;
    display: block;
}

.hidden-alert-form {
    display: none;
}


#inputAspirasi{
    text-align: center;
    min-width : 100%;
    padding:20px;
    border:0.5px solid #000000;
    outline:none;
    border-radius: 15px;  
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
    box-shadow : 3px 3px rgba(0, 0, 0, .12);
}

select { 
    text-align-last:center; 
    float:none;
}

.btn-close{
    right:15;
    top:10;
    position: absolute;
}

/* Button used to open the contact form */
.open-button {
    letter-spacing: 1px;
    border-radius: 10px;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
}

.open-button:hover{
    color: #ddd;
    transform: translate(1px, 1px);
}



/* Add styles to the form container */
.form-container {
    border-radius: 15px;
    text-align: center;
    padding: 30px;
    margin-bottom:0;
    background-color: white;
}

/* Add a red background color to the cancel button */
.cancel {
    background-color: red;
}

.submit{
    background-color: rgb(39, 171, 43);
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
    opacity: 1;
}

/* When the inputs get focus, do something */
.form-container #input-nim:focus{
    background-color: #fff;
}

.form-container #output-nama, .form-container #output-kelas{
    background-color: #eee;
    color: #535353;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password]{
    width: 100%;
    padding:8px;
    border-radius: 10px;
    margin-bottom: 7px;
    border: none;
    background: #f1f1f1;
    outline: none;
}
  
  /* Set a style for the submit/login button */
.form-container .btn{
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    margin-bottom:10px;
    opacity: 0.8;
    border-radius: 8px;
    padding:8px;
}

/* The popup form - hidden by default */
.form-popup {
    padding-top: 15px;
    padding-bottom: 10px;
    border-radius: 15px;
    position: fixed;
    left: 50%;
    top: -100%;
    opacity: 0;
    transform: translate(-50%, -50%); 
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    border: 3px solid #9a9a9a;
    z-index: 3;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* Transition for dropping form */
.showForm{
    opacity: 1;
    top: 50%;
}

/* Shaking to help validation on input field */
.shakeIfEmpty{    
    background-color: #f8d7da;
    animation: shake .1s linear;
    animation-iteration-count: 5;
}

@keyframes shake {
    0% { transform: translateX(-5px); }
    100% { transform: translateX(10px); }
}


/* Styling input picture */
.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

input[type="file"] {
    display: none;
}

#btnResetInputFoto{
    display: none;
}



/* Loader */
.spinner{
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(0);
    opacity: 0;
    transform-origin: center;
    margin: 0;
    padding: 0;
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.please-wait{
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -20%);
    text-align: center;
}


.loader {
    position: fixed;
    z-index: 1;
    margin: 0;
    padding: 0;
    left: 50%;
    top: 40%;
    border: 10px solid #ffd9a7;
    border-radius: 50%;
    border-top: 10px solid #EF3825;
    margin-left: -30px;
    margin-top: -30px;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    align-self: center;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* Navbar */
.navbar{
    background-color: white;
    box-shadow: 0 4px 4px -4px rgba(0,0,0,.2);
    position: fixed;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 5;
}

.navbar-brand, .navbar-nav, .nav-link{
    color: #f3822c !important;
}

.nav-link:hover{
    color: #EF3825 !important;
}

.vo-logo-container{
    max-width: 35px;
}

.nav-item > .active{
    color: #EF3825 !important;
    border-bottom: 2px solid #EF3825 !important;
    display: inline-block;
}

.nav-link{
    padding-bottom: 0 !important;
}

.nav-item{
    margin-bottom: 10px;
}



/* Bio */
.row{
    margin: 0;
}

.tm-section{
    min-height: 400px;
}

.tm-item{
    min-height: 200px;
    margin-bottom: 50px;
}

#section-1 #section-5{
    background-color: rgba(255, 255, 255, 0.5);
}

#section-2, #section-4{
    background-color: rgb(243, 130, 44);
    /* background-color: #f3822c; */
}

.tm-white-curve-right{
    padding: 50px;
    background-color: #f3822c;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.tm-white-curve-left{
    padding: 50px;
    background-color: white;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.text-orange{
    color: #EF3825;
    background-color: white;
}

.text-orange:hover, .text-orange:active{
    background-color: #EF3825;
    color: white;
}