@font-face {
    font-family: 'OpenSans-Bold';
    src: url('fonts/OpenSans-Bold-webfont.ttf') format('truetype');
}
@font-face {
    font-family: 'OpenSans-Regular';
    src: url('fonts/OpenSans-Regular-webfont.ttf') format('truetype');
}

.success, .error {
    background-color: #ccc;
    border-radius: 5px;
    width: fit-content;
    margin: 10px auto;
    padding: 10px;
    border: 1px dashed;
}
.success {
    color: green;
}
.error {
    color: red;
}
body {
    position: relative;
}
/**** Header *****/
header {
    background-color: #486c7c;
    border-bottom: 1px solid #000;
    display: flex;
    justify-content: space-between;
}
header .logo {
    margin-left: 20px;
}
header .menu1, header .menu2 {
    display: flex;
}
header .menu1 ul, header .menu2 ul {
    list-style-type: none;
    display: flex;
    align-items: center;
}
header .menu1 li, header .menu2 li {
    padding: 0 20px;
    font-family: 'OpenSans-Bold';
}
header .menu1 li:first-child {
    color: #FFF;
}
header .menu2 li:first-child a {
    display: flex;
    align-items: center;
}
header .menu2 li:first-child a img {
    margin: 0 5px;
}
header .menu2 .session {
    width: 165px;
    justify-content: center;
}
header .menu2 .session img[src='img/unroll.png'] {
    transform: rotateZ(180deg);
}
nav a {
    text-decoration: none;
    color: inherit;
}
nav a:hover {
    color: inherit;
}
@media screen and (max-width: 992px) {
    header {
        justify-content: space-around;
    }
    header .logo {
        width: 80px;
        height: auto;
    }
    header .menu1 {
        display: none;
    }
    header .menu2 li:first-child {
        display: none;
    }
    .menu2 .hamMenu {
        display: inline-block !important;
    }
}
header .menu2 .accountMenu {
    display: none;
    position: absolute;
    background-color: darkslategrey;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 3;
    margin-top: 1px;
    width: 165px;
}
header .menu2 .accountMenu ul {
    list-style-type: none;
    flex-direction: column;
    padding: 10px 14px;
}
header .menu2 .accountMenu li {
    padding: 0;
}
/****** Hamburger Menu *******/
#hamMenu {
    display: none;
    background-color: #FFF;
    width: 300px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
}
#hamMenu .cancel {
    width: 20px;
    height: auto;
    position: absolute;
    top: 20px;
    left: 20px;
}
#overlay {
    display: none;
    background-color: rgb(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2;
    cursor: pointer;
}
#hamMenu .myAccount {
    text-decoration: none;
    background-color: darkslategrey;
    color: #FFF;
    font-family: 'OpenSans-Bold';
    display: flex;
    align-items: center;
    margin-top: 80px;
    justify-content: center;
    
}
#hamMenu .myAccount img[src='img/unroll.png'] {
    transform: rotateZ(180deg);
}
#hamMenu .myAccount:hover {
    color: #FFF;
}
#hamMenu .myAccount img {
    margin: 0 5px;
}
#hamMenu form {
    margin-top: 80px;
    text-align: center;
}
#hamMenu form button {
    border: none;
    background-color: darkslategrey;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: 500;
}
#hamMenu form a {
    font-size: 13px;
}
#hamMenu .accountMenu {
    display: none;
}
#hamMenu .accountMenu ul {
    list-style-type: none;
    margin: 30px 0;
    padding: 0;
    width: 100%;
    text-align: center;
    color: #FFF;
}
#hamMenu .accountMenu li {
    font-family: 'OpenSans-Regular';
    margin: 10px 0;
    background-color: #486c7c;
}
#hamMenu .menu3 {
    display: flex;
}
#hamMenu .menu3 ul {
    margin: 30px 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    text-align: center;
    color: #FFF;
}
#hamMenu .menu3 li {
    font-family: 'OpenSans-Regular';
    margin: 10px 0;
    background-color: #486c7c;
}
#hamMenu .menu3 li:first-child {
    background-color: darkslategrey;
}
/******* Slider ********/
#carousel, #visible, #hidden {
	display: flex;
}
#carousel {
    background-color: #486c7c;
    width: 100%;
    height: auto;
    padding: 20px 0 150px 0;
}
#visible {
    width: 100%;
}
.elts {
	width: 100%;
	height: auto;
	margin: 20px;
	display: none;
}
#visible .elts {
	display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
#visible .eltpt1 {
    width: 350px;
}
#visible .eltpt1 h5, #visible h6 {
    color: #1e2a30;
}
#visible .eltpt1 h5 a {
    color: inherit;
}
#visible .eltpt1 button {
    border: none;
    padding: 10px 20px;
    background-color: darkslategrey;
    color: #FFF;
    font-weight: 700;
}
#visible .eltpt2 {
    background-color: darkslategrey;
    border-radius: 4px;
    text-align: center;
    padding: 10px;
    width: 50%;
}
@media screen and (max-width: 884px) {
    #visible .eltpt1 {
        width: 100%;
        margin-bottom: 20px;
    }
    #visible .eltpt2 {
        width: 100%
    }
}
#visible .eltpt2 h4 {
    padding: 10px 20px 0 30px;
}
#visible .eltpt2 .countries {
    height: 400px;
    overflow: hidden;
}
#visible .countries .scrollBox {
    width: 103%;
    overflow: auto;
    height: 100%;
}
#visible .eltpt2 .countries h6 {
    color: #FFF;
}
#visible .eltpt2 .countries hr {
    width: 100%;
    color: darkslategrey;
}
#visible .eltpt2 .countries img {
    width: 250px;
    height: auto;
}
#carousel .button {
	cursor: pointer;
    margin: 0 20px;
    display: flex;
}
#carousel .button img {
    margin: auto;
}
@media screen and (max-width: 454px) {
    #carousel {
        display: block;
    }
    #carousel .button:nth-child(1) {
        display: none;
    }
    #hidden + .button img {
        display: block !important;
    }
}
section .sliderChoise {
    width: 100%;
    position: relative;
    bottom: 150px;
    display: flex;
    justify-content: center;
}
section .circles {
    margin: 0 5px;
}
section .sliderChoise img {
    width: auto;
    height: 13px;
    display: inline-block;
}
section .caracteristics {
    display: inline-flex;
    background-color: #fff;
    position: relative;
    left: 50%;
    bottom: 116px;
    transform: translateX(-50%);
    flex-wrap: wrap;
}
section .caracteristic {
    margin: 0 20px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}
@media screen and (max-width: 777px) {
    section .caracteristics {
        display: flex;
        padding: 0 20px;
    }
    section .caracteristic {
        margin: 0 auto;
    }
}
section .caracteristic h5 {
    display: flex;
    align-items: center;
}
section .caracteristic img {
    width: 40px;
    height: auto;
    margin: 0 5px;
}
section .caracteristic span {
    align-self: center;
    font-weight: 500;
}
.separate {
    width: 80%;
    color: darkslategrey;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
/******* Home *******/
article h4 {
   font-weight: 700;
   font-family: 'OpenSans-Bold';
   width: 80%;
   position: relative;
   left: 50%;
   transform: translateX(-50%);
}
article .plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.plan {
    background-color: darkslategrey;
    margin: 0 20px;
    padding: 30px;
    width: 300px;
    height: 450px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
}
.plan img {
    width: 80px;
    height: auto;
}
.plan .imgWrite {
    color: #FFF;
    position: relative;
    bottom: 65px;
}
.plan .imgWrite h5 {
    margin: 0;
}
.plan button {
    border: none;
    background-color: #486c7c;
    border-radius: 10px;
    padding: 10px 20px;
}
article .otherPlans {
    border: none;
    background-color: darkslategrey;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
/********* Footer *********/
footer {
    background-color: #486c7c;
    display: flex;
    flex-direction: column;
}
aside {
    width: 80%;
    margin: auto;
    padding: 20px 0 0 0;
    display: flex;
    justify-content: space-between;
}
aside img {
    width: 80px;
    height: auto;
    align-self: center;
}
aside ul {
    list-style-type: none;
}
aside li {
    display: inline-block;
    padding: 0 20px;
    line-height: 100px;
    font-family: 'OpenSans-Regular';
}
aside li a {
    text-decoration: none;
    color: inherit;
}
aside li a:hover {
    color: inherit;
}
footer .num {
    width: 80%;
    margin: auto;
}
footer .copyright {
    text-align: end;
    margin-right: 10%;
    color: #FFF;
    font-family: 'OpenSans-Regular';
    font-size: 15px;
}
@media screen and (max-width: 768px) {
    footer aside {
        flex-direction: column;
    }
    aside img {
        align-self: flex-start;
    }
    aside ul {
        display: flex;
        flex-wrap: wrap;
    }
    aside li {
        display: block;
        padding: 0 10px;
        line-height: inherit;
        text-decoration: underline;
    }
}
@media screen and (max-width: 545px) {
    aside ul {
        flex-direction: column;
    }
}
/****** Apps and Devices ****/
#appsDevices, #appDeviceSingle {
    width: 80%;
    margin: 0 10%;
    background-color: darkslategrey; 
    border-radius: 10px;
}
#appsDevices .apps, #appsDevices .devices {
    display: flex;
    flex-wrap: wrap;
}
#appsDevices h3 {
    display: flex;
    font-family: 'OpenSans-Bold';
    padding: 20px;
}
#appsDevices h3 img {
    width: 30px;
    height: auto;
    align-self: center;
    margin-right: 5px;
}
#appsDevices .app, .device, .download {
    margin: 30px auto;
    text-align: center;
}
#appsDevices img {
    width: 250px;
    height: auto;
}
#appsDevices .app button, #appsDevices .device button {
    margin-top: 20px;
    background-color: #486c7c;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
}
#appsDevices .download {
    display: flex;
    flex-direction: column;
    padding: 20px;
}
#appsDevices .download a {
    text-decoration: none;
    color: #FFF;
    margin: auto;
    overflow-wrap: anywhere;
}
#appsDevices .download a:hover {
    color: #FFF;
}
/***** Single Apps and Devices *****/
#appDeviceSingle {
    text-align: center;
    padding: 20px;
}
#appDeviceSingle img {
    width: 250px;
    height: auto;
}
#appDeviceSingle p {
    width: 80%;
    margin: 0 10%;
    text-align: justify;
    font-family: 'OpenSans-Regular';
}
@media screen and (max-width: 375px) {
    #appDeviceSingle img {
        width: 210px;
    }
}
/*********** Pricing *******/
#pricing, #contact {
    width: 80%;
    margin: 0 10%;
}
#pricing h4, #contact h4 {
   font-weight: 700;
   font-family: 'OpenSans-Bold';
}
#pricing .plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
button:disabled {
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
/******* Contact *******/
#contact p {
    font-weight: 600;
}
#contact input, #contact textarea {
    width: 60%; 
    border: 1px solid #000;
    outline: none;
}
#contact button {
    border: none;
    background-color: darkslategrey;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
}
.aideInput {
    font-size: 13px;
    color: red;
}
/******* Connexion *******/
#connexion {
    text-align: center;
    height: auto;
    margin: 0 20%;
    padding: 50px 0;
    box-shadow: 0px 0px 25px 0px;
    border-radius: 10px;
}
#connexion h4 {
    font-family: 'OpenSans-Bold';
}
#connexion h4 span {
    cursor: pointer;
}
#connexion h4 span:first-child {
    color: #486c7c;
}
#connexion input[type="text"], #connexion input[type="password"], #connexion .rememberForgot, #connexion input[type="email"] {
    width: 50%;
}
#connexion input {
    border: 1px solid #000;
    outline: none;
}
#connexion .rememberForgot {
    margin: auto;
    display: flex;
    justify-content: space-between;
}
#connexion .rememberForgot label {
    display: flex;
    align-items: center;
}
#connexion .rememberForgot input[type="checkbox"] {
    width: 12px;
    height: 12px;
    margin-right: 5px;
}
#connexion .rememberForgot .link {
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}
#connexion button {
    border: none;
    background-color: darkslategrey;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
}
#connexion form:last-child span {
    font-size: 13px;
}
@media screen and (max-width: 992px) {
    #connexion {
        margin: inherit;
        border-radius: inherit;
    }
    #connexion .rememberForgot {
        flex-direction: column;
    }
}
/******* My Plans ********/
#myPlans {
    width: 80%;
    margin: 0 10%;
}
#myPlans h4 {
   font-weight: 700;
   font-family: 'OpenSans-Bold';
}
#myPlans .change {
    display:flex;
    align-items:center;
}
.changePlan {
    border: none;
    background-color: darkslategrey;
    border-radius: 5px;
    padding: 4px 10px;
    font-weight: 600;
}
@media screen and (max-width: 992px) {
    #myPlans .change {
        flex-direction: column;
    }
}
#myPlans .checkout {
    text-align: center;
    height: auto;
    margin: 50px 20%;
    padding: 50px 0;
    box-shadow: 0px 0px 25px 0px;
    border-radius: 10px;
}
#myPlans .checkout img {
    width: 80px;
    height: auto;
}
#myPlans .checkout .imgWrite {
    color: #000;
    position: relative;
    bottom: 65px;
}
#myPlans .checkout .imgWrite h5 {
    margin: 0;
}
#myPlans .checkout input[type="radio"] {
    margin: 0 7px;
}
#myPlans .checkout input[type="text"] {
    outline: none;
}
#myPlans .checkout .bouquets {
    text-align: left;
    margin-left: 10%;
}
#myPlans .checkout button {
    border: none;
    background-color: darkslategrey;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
} 
@media screen and (max-width: 992px) {
    #myPlans .checkout {
        margin: 50px 0;
        border-radius: inherit;
    }
}
#myPlans .selection {
    display: flex;
}
#bouquets, #myPlans .selectedBouquets {
    width: 50%;
    height: 300px;
}
#bouquets option {
    display: none;
}
#myPlans .checkout .allChannels input {
    height: 12px;
    margin-left: 7px;
    vertical-align: middle;
}
#myPlans .selectedBouquets {
    background-color: #486c7c;
    padding: 20px;
    color: #FFF;
    overflow-y: scroll;
}
#myPlans .selectedBouquets h5 {
    color: #000;
}
@media screen and (max-width: 992px) {
    #myPlans .selection {
        flex-direction: column;
    }
    #bouquets, #myPlans .selectedBouquets {
        width: 100%;
    }
    #myPlans .selectedBouquets {
        margin-top: 20px;
    }
}
/******** CheckOut **********/
#checkout {
    width: 80%;
    margin: 0 10%;
}
#checkout h4 {
   font-weight: 700;
   font-family: 'OpenSans-Bold';
}
#checkout .order {
    text-align: center;
    height: auto;
    margin: 50px 20%;
    padding: 50px 20px;
    box-shadow: 0px 0px 25px 0px;
    border-radius: 10px;
}
#smart-button-container .paypal-buttons {
    width: 50%;
}
@media screen and (max-width: 992px) {
    #checkout .order {
        margin: 50px 0;
        border-radius: inherit;
    }
}
/********* My Subscriptions  **********/
#mySubscriptions {
    width: 80%;
    margin: 0 10%;
}
#mySubscriptions h4 {
   font-weight: 700;
   font-family: 'OpenSans-Bold';
}
#mySubscriptions .subscriptions {
    text-align: center;
    height: auto;
    margin: 50px 0;
    padding: 50px 20px;
    box-shadow: 0px 0px 25px 0px;
    border-radius: 10px;
}
#mySubscriptions .subscriptions p {
    color: darkslategrey;
}
#mySubscriptions .subTab {
    border: 1px solid #486c7c;
    margin: 20px 0;
    width: 100%;
}
#mySubscriptions .subRow:first-child {
    background-color: #486c7c;
    color: #FFF;
}
#mySubscriptions .subRow h5 {
    padding: 0 50px;
    border: 1px solid black;
}
#mySubscriptions .subRow select {
    width: 200px;
}
#mySubscriptions .subRow .m3uLink {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

#mySubscriptions .subscriptions .m3u {
    margin: 0 10%;
    width: 80%;
}
#mySubscriptions .subscriptions .m3u input {
    width: 100%;
    border: 1px solid #486c7c;
}
#mySubscriptions .subscriptions .m3u img {
    width: 20px;
    vertical-align: middle;
    align-self: center;
    transform: translateX(-110%);
    cursor: pointer;
}
@media screen and (max-width: 992px) {
    #mySubscriptions .subTab {
        width: auto;
        margin: 20px auto;
    }
    #mySubscriptions .subTab tbody {
        display: flex;
    }
    #mySubscriptions .subRow th, #mySubscriptions .subRow td {
        display: flex;
        flex-direction: column;
    }
    #mySubscriptions .subRow th {
        width: 80px;
    }
    #mySubscriptions .subRow select {
        width: 100%;
    }
    #mySubscriptions .subscriptions .changeForm {
        text-align: center !important;
        margin: inherit !important;
    }
}
/******** My Profile *********/
#profile {
    width: 80%;
    margin: 0 10%;
}
#profile h4 {
   font-weight: 700;
   font-family: 'OpenSans-Bold';
}
#profile .profileInfos {
    text-align: center;
    height: auto;
    margin: 50px 0;
    padding: 50px 20px;
    box-shadow: 0px 0px 25px 0px;
    border-radius: 10px;
}
#profile .profileInfos label {
    display: flex;
    justify-content: space-between;
}
#profile .profileInfos input {
    outline: none;
}
#profile .profileInfos label .changePlan {
    background-color: #486c7c;
    font-size: 13px;
}
#profile .profileInfos input[type="email"] {
    width: 300px;
}
#profile .profileInfos .aideInput {
    display: flex;
    justify-content: end;
    margin-bottom: 20px;
}
#profile .profileInfos input[name="password"] {
    margin: 0 20px;
}
#profile .profileInfos input[name="password"] + input {
    margin: 0 0 0 20px;
}
@media screen and (max-width: 992px) {
    #profile .profileInfos input {
        width: 200px;
        margin: auto !important;
    }
    #profile .profileInfos label {
        justify-content: inherit;
        flex-direction: column;
    }
    #profile .profileInfos label .passChange {
        flex-direction: column;
    }
}