@charset "UTF-8";
/* 
*    Created on : 02-Oct-2017, 16:54:18
*    Author     : lingjing
*/


html {
  font-size: 62.5%; 
}

body {
    line-height: normal;
    font-size: 1.4rem;
    background-color: rgba(242,242,239,0.7);
    position: relative;
}

*:hover {
    transition: all .2s ease 0s;
}

h1 {
    margin: 1.5rem;
}


header nav a img {
    width: 150px;
    height: auto;
    transition: width 0.8s ease 0s;    
}

header, footer .row:first-of-type {
    background: linear-gradient(to right bottom ,rgba(227, 213, 212,0.9), rgba(227, 213, 212,1),rgba(227, 221, 238,0.8));
}

header nav {
    font-size: 1.9rem;
}

header nav ul li a i {
    padding-right: 5px;
    color: rgba(62,62,195,0.8);
}

header nav ul li:hover i.fa, footer a:hover i.fa {
    transform: scale(1.3);
    color: darkslateblue;
}

header nav ul.navbar-nav {
    flex-basis: 100%;
    justify-content: space-around;
}

/*build underline when menue item is selected or page scrolled to the corresponding position */
header nav ul > li {
    position: relative;
}

header nav ul > li > a::after {
    content: "";
    position: absolute; 
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: grey;      
    transition: width 0.5s ease 0s;       
}
/* end underline */

section {
    text-align: center;
}

section:first-of-type, section:last-of-type {
    margin-top: 4rem;
    margin-bottom: 6rem;
}


#carouselIndicators, footer .row:last-of-type {
    background-color: rgba(115,152,168,0.2);
}

#carouselIndicators img, #contact .row div {
    margin: 0 auto;
}

.carousel-caption {
    color:rgba(227,213,212,0.8);
}

/* marquee */
#presentation .marquee {
    overflow: hidden;
    background-color: rgba(227,213,212,0.8);
    padding: 10px;
    border-radius: 5px;
    color: darkred;  
    white-space: nowrap;
    margin-bottom: 5px;
}

.marquee p {
    -webkit-animation: marquee 30s linear infinite;
    animation: marquee 30s linear infinite; 
    text-indent: 50%; 
}

.marquee p:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused
}

.marquee i {
    padding: 6px;
    font-size: 1.2em;
}

/* Make marquee move */
@-webkit-keyframes marquee {
    0%   { -webkit-transform: translate(50%, 0); transform: translate(50%, 0); }
    100% { -webkit-transform: translate(-100%, 0); transform: translate(-100%, 0); }
}
@keyframes marquee {
    0%   { -webkit-transform: translate(50%, 0); transform: translate(50%, 0); }
    100% { -webkit-transform: translate(-100%, 0); transform: translate(-100%, 0); }
}


#presentation h1 {
    background: -webkit-linear-gradient(#eee, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px;
    font-weight: bold;
    font-family: 'Domine', "Open Sans", sans-serif;
    margin-bottom: 5px;
    background-color: transparent;
    color: #004085;
}

#presentation h1 img {
    max-width: 18vw;
    height: auto;
    padding-left: 2rem;
}


#presentation p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

table#planning {
    margin: 10px 0;
    text-align: center;
}

table [rowspan] {
    vertical-align: middle;
}

.red {
    color: rgba(220, 53, 69, 0.8);
}

.purple {
    color: purple;
}

table > tbody > tr.last, table > tbody > tr.first > td:first-of-type {
    border-bottom: 2px solid rgba(209, 212, 215, 0.6);
   /* box-shadow: 1px 2px 1px #888888;*/
}

#tariftotal, #annual, #period, #licence ul {
    padding-top: 10px;
    padding-bottom: 10px;      
}

#annual,  #period, #licence  {
    border: 1px solid rgba(209,212,215,0.8);  
}

#tariftotal:hover, #annual:hover, #period:hover {
    background-color: rgba(207,207,205,0.8); 
}

#tariftotal {
    background-color: #e3ddee;  
}

#planning, #annual, #period, #licence {
    background-color: rgba(242,242,239,0.8);
}

#licence ul li {
    padding-top: 10px;
}
#licence ul {
    margin: 0 auto;
}

/* inscription */
#inscription button {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* open eye*/
#inscription button.collapsed:before {
    font-family: FontAwesome;
    content: "\f06e";
    padding-right: 5px;    
}

/* close eye*/
#inscription button:not(.collapsed):before {
    font-family: FontAwesome;
    content: "\f070";
    padding-right: 5px;    
}

iframe {
    width: 80%;
    height: 40vh;
    border: none;
    margin: 10px auto;
}

/* contact */
.form-control {
    font-size: inherit;
}
form .floating-label-form-group .fa {
    font-size: 4rem;
    color: #7398A8;
}
    
form .floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: .5em;
    border-bottom: 1px solid #eee;
}    

.input-group:hover i.fa  {
    transform: scale(1.1);
    color: darkslateblue;
    opacity: 1;
}

#contact:hover .input-group:not(:hover) i.fa  {
    opacity: 0.5;
    transform: skew(15deg);
}

.text-danger {
    color: #a94442 !important;
}

.help-block {
    position: absolute;
    top: 1rem; 
    right: 1rem;
    z-index: 10;
    border-radius: 5px;
}

#licence ul, #inscription ul, .help-block ul {
    list-style: none;
}

#contactForm #success {
    margin-bottom: 2rem;
}

/* footer */
footer .row:first-of-type {
    margin-top: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

footer .row div img {
    display: block;
    margin: 0 auto;
}

footer #address p {
    padding-left: 0;
}

footer div:last-of-type p {
    padding: 12px;
    margin: 0 auto;
}

/* only for smartphone */
@media screen and (max-width: 576px) {
    footer .row div:nth-child(2)  {
        text-align: center !important;
    }
}
/*tablette */
@media screen and (min-width: 576px) {
    body {
        font-size: 1.6rem;
    }
    
    header nav {
        font-size: 2rem;
    }
    
    header {
        position: sticky;
        top: 0;
        z-index: 100;
    }
    main #presentation h1 {
      font-size: 3.2rem;
    }
}

/* large size screen*/

@media screen and (min-width: 992px) {
    header nav ul > li > a.active::after {
         width: 100%;
    }
}
