/*!
 * Start Bootstrap - Business Casual (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/**************************** Breaking Points ************************/

/* < 768 px
768 - 991 px
992 - 1199 px
> 1199 px */

/**************************** Structural Components ************************/

body {
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    background: #121212;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    overflow:auto;
    position:relative;
}

footer {
  bottom: 0;
  width: 100%;
  height:40px;
  text-align: center;
}

#text_footer {
  color: white;
  position: auto;
  text-align: center;
}

/**************************** Common structures ************************/

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-family: "Josefin Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    font-size: 1em;
    line-height: 1.6;
    color: #585653;
    align-self: justify;
}

li {
  color: #585653
}

a {
  color: #585653
}

a:hover { 
  color:grey;
  text-decoration:none;
}

label {
  font-size: 1em;
  line-height: 1.6;
  color: #585653;
}

hr {
    max-width: 400px;
}

@media (max-width: 991px){
  .table {
    display: block;
    overflow-x: auto;
  }
}

.clickable:hover { 
  cursor: pointer;
  color: #1258bd;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: #1258bd;
  text-decoration-thickness: 4px;
  text-underline-offset: 0.5em;
}

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

/**************************** Custom structures ************************/

.text_login {
  text-justify: inter-cluster;
}

/* Main navigation bar properties */
.navbar 
{
   background-color: transparent;
   border-color: transparent;
   color: white;
   margin-top: 15px;
   margin-bottom: 15px;
}

.navbar-brand {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}

.container {
  padding-left: 7%;
  padding-right: 7%;
  position: relative;
}

.main_box {
  border-radius: 7.5px
}

.custom_buttons {
    color: white;
    background: #1258bd;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: lighter;
    margin-top: 10px;
    border-radius: 20px;
    border: 1.5px solid #1258bd;
  }

.subtab, .subtab:hover {
  color: #1258bd;
  font-weight: bold;
  background: white;
  border: 1.5px solid #1258bd;
}

.custom_select {
  -webkit-appearance: none;    
  border: none;
}

.nav_language {
  background: #121212;
  text-transform: uppercase;
}

.nav_components {
  letter-spacing: 2px;
  color: white;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10%;
}

@media ( max-width:768px) {
  .nav_components {
    left: 2%;
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
  }
}

.log_button {
  padding-right: 60px;
}

@media ( max-width:768px) {
  .log_button {
    padding-left:5px;
    padding-right: 30px;
  }
}

.tab { text-indent: 40px; }

.box {
    padding: 15px 15px;
    background: #fff;
    min-height: 650px;
}

.input_small {
  width: 100%;
  padding: 12px 20px;
  margin: 14px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4.5px;
}

.input_user {
  width: 95%;
  padding: 12px 30px;
  margin:auto;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 7.5px;
}

textarea {
  padding:12px 20px;
  margin: 8px 0;
}

select {
  padding:12px 20px;
  margin: 8px 0;
}

select::-ms-expand {
  display: none;
}

#select{
  width:120px;   
}

.brand {
  display: none;
}

/* Initially min-width:768 */
@media screen and (min-width:992) {

  .brand {
    display: inherit;
    margin: 0;
    padding: 30px 0 10px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-family: "Josefin Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 5em;
    font-weight: 700;
    line-height: normal;
    color: #fff;
  }

  .navbar {
      border-radius: 0;
      min-height: 0;
      padding: 35px;
  }

  .nav>li>a {
      padding: 35px;
    }

  .navbar-nav>li>a {
      line-height: normal;
    }

  .navbar-nav {
      display: table;
      float: none;
      margin: 0 auto;
      table-layout: fixed;
      font-size: 1.25em;
    }
}

@media screen and (min-width:1200px) {
    .box:after {
        content: '';
        display: table;
        clear: both;
    }
}

/**************************** listing ************************/

.available_image_flag {
  color:#1258bd;
  width: 100%;
  text-align:center;
  font-weight: bold;
}

.unavailable_image_flag {
  color:red;
  width: 100%;
  text-align:center;
  font-weight: bold;
}

/**************************** detail word ************************/

.detail_word_container {
  max-width: 1220px;
  margin: 0 auto;
}

/**************************** image grid ************************/

.row_grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column_grid {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column_grid img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 991px) {
  .column_grid {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 768px) {
  .column_grid {
    flex: 100%;
    max-width: 100%;
  }
}

.zoom {
  transition: transform .2s;
  margin: 0 auto;
  text-align: center;
  border-radius: 7.5px;
}

@media screen and (min-width: 991px) {
  .zoom:hover {
    transform: scale(2.25); 
    background: white;
  }
}

/**************************** login ************************/

.login_carousel {
  padding-top: 1em;
}

.image_carousel {
  width: 80%; 
  margin: auto;
  border-radius: 7.5px;
}


/**************************** Detail word ************************/

.image_detail_word {
  border-radius: 7.5px;
}

/**************************** Detail word ************************/

.table_reporting {
  margin-bottom:0;
  margin-top:2em;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width:95%;
}

/**************************** Training ************************/

.image_image_grid {
  border-radius: 7.5px;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 425px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  margin: 0 auto;
}


/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  overflow-y: auto;
}

.flip-card-front {
  background-color: #121212;
  color: white;
  border-radius: 7.5px;
}

.flip-card-back {
  background-color: white;
  color: #121212;
  transform: rotateY(180deg);
  border-radius: 7px;
}

.image_training {
  margin: auto;
  border-radius: 7.5px;
}

input[type="radio"] {
  margin-left: 15px;
}

input {
  width: 100%;
}

.training-tab {
  color: white;
  background: #1258bd;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: lighter;
  border-radius: 20px;
  border: 1.5px solid #1258bd;
  margin: 2px;
}

.training-subtab {
  color: #1258bd;
  background: white;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: bold;
  border-radius: 20px;
  border: 1.5px solid #1258bd;
  margin: 2px;
}

.col-sm-6-training {
  margin-bottom:2em;
}

.w3-container-training {
  margin-bottom: 3em;
  height: 60px;
}

.button-evaluate {
  position: relative;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}