@import url(https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900&amp;display=swap);

:root {
  --primary: #4682b4;
  --primary-dark: #38678f;
  --primary-darker: #294d6b;
  --primary-color: #fff;
  --secondary: #ff0000;
  --border: #c5c5c5;
  --alt: #fff;
}

body {
    font-family: Raleway, sans-serif;
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 14px;
}

form {
    width: 100%;
}

h1 {
    margin-top: 0;
    font-size: 4em;
    margin-bottom: 0.2em;
}

h2 {
    font-size: 2em;
}

p {
    line-height: 1.5em;
}

a {
    color: var(--primary-dark);
    font-size: 14px;
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

input[type="text"], input[type="number"], input[type="email"], input[type="password"], select, textarea {
    padding: 0.6em 0.6em;
    font-size: 1em;
    font-family: Raleway;
    width: 100%;
    border: 1px solid var(--border);
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus {
    border: 1px solid var(--primary);
    outline: 0;
}

input[type="text"], input[type="number"], input[type="email"], input[type="password"], button, textarea, select, .button {
    border-radius: 6px;
}

textarea {
    padding: 0.6em 0.6em;
    width: 100%;
    height: 100%; 
    box-sizing: border-box;
    border: 1px solid var(--border); 
    line-height: 1.6em;       
}

label {
    margin: 1.4em 0 0.4em 0;
    clear: both;
    display: block;
}

label span {
    color: green;
}

.button {
    text-align: center;
    width: auto !important;
    display: inline-block;
}

button, .button {
    background-color: var(--primary);
    border: 1px solid var(--primary-dark);
    margin: 0.5em 0.1em 0.5em 0;
    padding: 0.5em 1.2em;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    font-family: Raleway;
    line-height: normal;
}

button:hover, .button:hover {
    background-color: var(--primary-dark);
    border: 1px solid var(--primary-darker);
    color: var(--primary-color);
}

.alt {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: #333;        
}

.alt:hover {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

ul {
    /*margin: 2em 0;*/
    margin: 0em 0;
    list-style-type: circle;
}

li {
    line-height: 1.8em;
}

input[type="checkbox"] {
  /*margin: 1.4em;*/
  top: 0.3em;
  position: relative;
  width: 1.4em; height: 1.4em;
}

input[type="radio"] {
    margin: 1.6em 0 2em 1em;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    background-color: var(--primary);
    color: var(--primary-color);
}

th, td {
    border: 1px var(--primary-darker) solid;
    padding: 0.7em;
}

td:hover {
    cursor: pointer;
}

tr:hover, tr:nth-child(odd):hover {
    background-color: #fdfdea;
}

tr:nth-child(odd) {
    background-color: #f3f3f3;
}

hr {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 2em 0;
}

.float-right {
    float: right;
    position: relative;
}

.float-left {
    float: left;
    position: relative;
}

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

.text-right {
    text-align: right;
}

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

.container {
    width: 90%;
    max-width: 940px;
    margin: 0 auto;
    padding: 1em;
}

.pagination {
    display: inline-block;
    margin: 1em 0;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
}

.pagination a.active {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.pagination a:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination a:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.card-heading {
    font-size: 1.2em;
    background-color: var(--primary);
    color: var(--primary-color);
    padding: 12px;
    border: 1px solid var(--primary-darker);
}

.card-body {
    padding: 20px;
}

.card {
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
    margin-bottom: 1em;
}

#overlay {
    background-color: black;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0.7;
}

#modal-container {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: -3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal {
    width: 90%;
    /*max-width: 570px;*/
    max-width: 600px;
    z-index: -4;
    background-color: white;
    opacity: 0;
    position: relative;
    margin-top: -160px;
    transition: 0.3s;
}


.modal-body h5 {
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.modal p {
    text-align: center;
}

#delete-modal p:nth-child(1) {
    margin: 0;
    /*font-size: 18px;
    font-weight: bold;*/
}

.modal p:nth-child(3) {
    margin: 0;
}

.modal-heading {
    font-size: 1.2em;
    background-color: var(--primary);
    padding: 12px;
    color: var(--primary-color);
    border: 1px solid var(--primary-darker);
    text-transform: uppercase;
}

.modal-danger {
    background-color: red !important;
    border: 1px #990000 solid;
}

.modal-body {
    padding: 20px;
}

.modal textarea {
    font: inherit;
    font-size: 15px;
    margin: 0;
    overflow: auto;
    padding: 8px;
    display: block;
    border: 1px solid #ccc!important;
    color: #000!important;
    background-color: #fdf5e6!important;
    min-height: 7em;
    resize: none;
    line-height: 1.5em;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.form-field-validation-error {
    border: 3px #ff0000 solid !important;
    background-color: #ff000011 !important;
}

.validation-error-alert {
    padding: 12px 12px 0 12px;
    border-radius: 12px;
}

.validation-error-alert h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    color:  #ff0000;
}

.validation-error-report  {
    color:  #ff0000 !important;
}

.validation-error-report > div {
    margin-bottom: 7px;
    font-size: 16px;
}

.spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    position: relative;
    margin: 0.6em;
}

.spinner::after {
    animation: spinning 0.5s infinite linear;
    width: 24px;
    height: 24px;
    background: 0 0;
    border: 3px solid var(--primary);
    border-radius: 50%;
    border-right-color: transparent;
    border-top-color: transparent;
    content: "";
    display: block;
    opacity: 1;
    padding: 0;
    position: absolute;
    z-index: 1;
}

.spinner-lhs {
    justify-content: flex-start;
}

.spinner-rhs {
    justify-content: flex-end;
}

@keyframes spinning {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.blink{
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-timing-function:ease-in-out;
    -webkit-animation-direction: alternate;
}

@-webkit-keyframes blinker {
  from {opacity: 1.0;}
  to {opacity: 0.0;}
}

@media screen and (max-width: 550px) {
  button, .button {
    width: 100%;
    display: block;
  }
  .modal {
    max-height: 85vh;
    overflow-y: auto;
  }
}

.troncol {
    /*background-color: dodgerblue;
    color: white;*/
    padding: 1rem;
    height: 1rem;
    text-align: left;
  }
  
.tronrow {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  * {
    box-sizing: border-box;
  }
  
  /* For mobile phones: */
  [class*="col-"] {
    float: left;
    padding: 5px;
    width: 100%;
  }

@media only screen and (min-width: 600px) {

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

}

.row::after {
    content: "";
    clear: both;
    display: table;
} 

.upload-box {
    /*border: 1px;
    border-style: dotted;*/
    position:absolute; top:-100px;
}

.separator {
    display: flex;
    align-items: left;
    text-align: left;
  }
  
  .separator::before,
  .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #000;
  }
  
  .separator:not(:empty)::before {
    margin-right: .25em;
  }
  
  .separator:not(:empty)::after {
    /*margin-left: .25em;*/
  }

  a.ex1:hover{ color: var(--border);}
  a.ex1:active {color: var(--secondary);}
  .active{ color: var(--secondary)}

  .collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
  }
  
  /*.active, .collapsible:hover {
    background-color: #555;
  }*/
  
  .collapsible:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
  }
  
  .active:after {
    content: "";
  }
  
  .content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
  }

a.card-heading-a:link{
    color: white;
    background-color: var(--primary);
    border: 1px solid var(--primary);
}

a.card-heading-a:visited{
    color: whitesmoke;
    background-color: var(--primary);
    border: 1px solid var(--primary);
}

a.card-heading-a:hover{
    color: rgb(201, 201, 201);
    background-color: var(--primary);
    border: 1px solid var(--primary);
}

table th,
table td { border-left: 1px solid rgb(201, 201, 201); }
table th,
table td:first-child { border-left: none; }

#spinner-div {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}
#spin-wrap{
    width: 100%;
    height: 100%;
    display: flex;    
    justify-content: center;
    align-items: center;
}


.star-rating {
    /*line-height:32px;
    font-size:1.25em;*/
    float:right;
  }
  
  .star-rating .fa-star{color: #de9e09;}