﻿@font-face {
    font-family: MyriadProLight;
    src: url("fonts/MyriadProLight.otf") format("opentype");
}
@font-face {
    font-family: MyriadProBold;
    src: url("fonts/MyriadProBold.ttf") format("opentype");
}
@font-face {
    font-family: MyriadPro;
    src: url("fonts/MyriadProRegular.ttf") format("opentype");
}
@font-face {
    font-family: MyriadProBolder;
    src: url("fonts/MyriadProBlack.ttf") format("opentype");
}

:root{
    --main: #0c3b5e;
    --mainLight:#00aaff;
    --mainLighter:#00b4d8;
    --secondary:#abcc5f;
    --accent:#ff6f00;
    --accentFade:#ff6f0090;
    --accentStrong:#f94144;
    --accentLight:#ffcc00;
    --tableLight:#00b4d8;
    --bckgr:#f9f9f9;
    --gray:#efefef;
    --error: red;
    --errorBckgr: #fcd7d7;
    --lightGray: #d3d3d3;
}

html{
     scrollbar-width: thin;
     scrollbar-color: var(--main) var(--bckgr);  
}

html::-webkit-scrollbar{
    width: .5vw;
}

html::-webkit-scrollbar-button{
    background-color: #ddd2;
}

html::-webkit-scrollbar-thumb{
    background-color: var(--main);
}
html::-webkit-scrollbar-thumb:hover{
    background-color: var(--main);
}

html::-webkit-scrollbar-track{
    background-color: #ddd2;
}

html::-webkit-scrollbar-track:hover{
    background-color: #ddd;
}
h1,h2{
    font-family: MyriadPro, Arial;
    margin: 0px 0px 1rem 0px;  
    position: relative;
}
.responsive:is(h1,h2){
    max-width: 100%;
}

h1 a, h2 a{
    font-size: 70%;
    padding: .5rem;
    background-color: var(--main);
    color: var(--bckgr);
    border-radius: 1rem;
    cursor: pointer;
}
h1 a.responsive, h2 a.responsive{
    color: var(--main);
    background-color: var(--accent);
}

h2~ h3, h3~ h2 {
    margin: -.5rem 0 .5rem 0;
}

b{
    font-family: MyriadProBold, Arial;
}
body {
    background: var(--main);
    margin: 0px;
    padding: 0px;
    font-family: MyriadProLight, Arial;
    font-weight: lighter;
}
    body.responsive {
        font-size:150%;
    }
a {
    color:inherit;
    text-decoration:none;
    font-family: MyriadProBold, Arial;
    font-weight: bold;
    color: var(--accent);
}
strong a{
    display: block;
    text-align: center;
    margin: 1rem auto 2rem;
    font-size: 3rem;
    /* background-color: var(--accent); */
    border: .5rem solid var(--main);
    color: var(--main);
    padding: 2rem;
    border-radius: 2rem;
    width: max-content;
}
strong a:hover{
    background-color: var(--secondary);
}

a.visible{
    color:var(--main);
    padding: .5rem;
}
p {
text-align:justify;
margin: 0;
}
    p.responsive {
        padding: 0px 20px;
    }
ul {
    margin:0px;
    padding:0px;
}
li {
    margin:0px 0px 10px 0px;
    padding:0px;
    list-style:none;
}
em{
    font-style: normal;
    font-weight: bold;
    color: var(--main);
}
pre{
    max-width: 800px;
    margin: auto;
    padding: 1rem;
    text-align: justify;
    white-space: pre-line;       /* Since CSS 2.1 */
}
.holder {
    max-width: 1280px;
    margin:auto;
}
.holder.responsive{
    overflow: hidden;
}
.icon {
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
    text-align:center;
}
    .icon.sub {
        max-width: 300px;
        margin: 0px auto 20px;
        border: 5px solid var(--main);
    }
    .icon img {
        width:100%;
    }
input[type="text"], input[type="password"], textarea {
    padding: 1rem;
    margin: 0 auto .5rem;
    background: white;
    /* border: 1px solid var(--main); */
    border: 0;
    border-radius: .5rem;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
    color: rgb(128, 128, 128);
    width: -moz-calc(100% - 2rem);
    width: -webkit-calc(100% - 2rem);
    width: -o-calc(100% - 2rem);
    width: calc(100% - 2rem);
}
.inverted input[type="text"], .inverted input[type="password"],.inverted textarea {
    padding: 1rem;
    margin: 0 auto .5rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--bckgr);
    color: var(--bckgr) !important; 
}
    input[type="text"].responsive, input[type="password"].responsive, textarea.responsive, #captcha.responsive, input[type="submit"].responsive, select.responsive {
        display: block;
    margin: 0 auto .5rem;
        font-size: 1.5rem;
    }
input:is([type="datetime-local"],[type="time"]){
    padding: .5rem;
    color: var(--main);
    border: 2px solid var(--main);
}
input[type="file"]{
    padding: 0 1rem .5rem 1rem;
}
label[for]{  
    margin-top: .5rem;
    display: inline-block;
}
label[for] img{
    max-width: 3rem;
}
label[for] svg{
    display: inline-block;
    margin: 0 .5rem;
}
select{
    padding: 1rem;
    margin: 0 auto .5rem;
    /* border: 1px solid var(--main); */
    border: 0;
    border-radius: .5rem;
    box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.2);
    background-color: white;
    color: rgb(128, 128, 128);
    width: 100%
}
input[type="submit"] {
        margin: 1rem auto;
        display: block;
        background: var(--main);
        padding: 1rem 1.5rem;
        color: white;
        border: none;
        cursor: pointer;
    }
    input[type="submit"]:disabled{
        background: rgba(105,105,105,0.24);
        color: rgb(128, 128, 128);
    }
/* pretty checkbox */
input[type="checkbox"] {
    position: absolute;
    left: -9000px;
    top: -9000px;
    visibility: hidden;
  }
  
  input[type="checkbox"] + label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }
  
  input[type="checkbox"] + label::before {
    content: "";
    width: 3.3em;
    height: 1.7em;
    background-color: #efefef;
    border: 2px solid var(--main);
    border-radius: 1em;
    margin-right: .25em;
    transition: background-color 200ms ease-in-out;
  }
  
 input[type="checkbox"] + label::after {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    content: "\2715";
    font-size: .6em;
    left: .429em;
    width: 2.5em;
    height: 2.5em;
    background-color: #777;
    color: white;
    border-radius: 50%;
    transition: background-color 200ms ease-in-out, transform 200ms ease-in-out;
  }
  
  input[type="checkbox"]:focus + label::before {
    outline: 1px solid var(--main);
  }
  
  input[type="checkbox"]:checked + label::before {
    background-color: #efefef;
  }
  
  input[type="checkbox"]:checked + label::after {
    content: "\2713";
    transform: translateX(100%);
    background-color: var(--main)
  }
  
  input[type="checkbox"]:disabled + label {
    color: #777;
  }
  
  input[type="checkbox"]:disabled + label::before {
    background-color: #CCC;
  }
  
  input[type="checkbox"]:disabled + label::after {
    background-color: #777;
  }

  input[type="text"].displayOnly , span.displayOnly {
    background-color: var(--bckgr);
    color: var(--main);
    font-family: MyriadPro, Arial;
    font-weight: bold;  
    padding: 0px 0px 0px 1rem;
    box-shadow: none;
  }

    .loading:not(svg){
        display: inline-block;
        width: 2rem;
        aspect-ratio: 1;
        transform: rotate(360deg);
        animation: spin 1s linear infinite alternate;
        fill: var(--main);
        margin: auto;   
        display: none;
        /* border: 3px solid var(--main); */
        /* background-color: var(--main);
        -webkit-mask-image: url(../img/liga/icon-tennis-ball.svg);
        mask-image: url(../img/liga/icon-tennis-ball.svg); */
    }

    @keyframes spin {
        0%{ rotate: 0deg; }
        100%{ rotate: 360deg; }
    }

    /** Loading SVG **/

      svg.machine {
            fill: var(--main);
            position: absolute;
            width: 10%;
            padding: 1rem;
            top: 0px;
            bottom: 0px;
            margin: auto;
            left: 0px;
            right: 0px;
        }
      
        svg .small-shadow, svg .medium-shadow, svg .large-shadow {
        fill: rgba(0, 0, 0, 0.05); }
      
        svg .small {
        -webkit-animation: counter-rotation 2.5s infinite linear;
             -moz-animation: counter-rotation 2.5s infinite linear;
               -o-animation: counter-rotation 2.5s infinite linear;
                  animation: counter-rotation 2.5s infinite linear;
        -webkit-transform-origin: 100.136px 225.345px;
            -ms-transform-origin: 100.136px 225.345px;
                transform-origin: 100.136px 225.345px; }
      
                svg .small-shadow {
        -webkit-animation: counter-rotation 2.5s infinite linear;
             -moz-animation: counter-rotation 2.5s infinite linear;
               -o-animation: counter-rotation 2.5s infinite linear;
                  animation: counter-rotation 2.5s infinite linear;
        -webkit-transform-origin: 110.136px 235.345px;
            -ms-transform-origin: 110.136px 235.345px;
                transform-origin: 110.136px 235.345px; }
      
                svg .medium {
        -webkit-animation: rotation 3.75s infinite linear;
             -moz-animation: rotation 3.75s infinite linear;
               -o-animation: rotation 3.75s infinite linear;
                  animation: rotation 3.75s infinite linear;
        -webkit-transform-origin: 254.675px 379.447px;
            -ms-transform-origin: 254.675px 379.447px;
                transform-origin: 254.675px 379.447px; }
      
                svg .medium-shadow {
        -webkit-animation: rotation 3.75s infinite linear;
             -moz-animation: rotation 3.75s infinite linear;
               -o-animation: rotation 3.75s infinite linear;
                  animation: rotation 3.75s infinite linear;
        -webkit-transform-origin: 264.675px 389.447px;
            -ms-transform-origin: 264.675px 389.447px;
                transform-origin: 264.675px 389.447px; }
      
                svg .large {
        -webkit-animation: counter-rotation 5s infinite linear;
           -moz-animation: counter-rotation 5s infinite linear;
               -o-animation: counter-rotation 5s infinite linear;
                  animation: counter-rotation 5s infinite linear;
        -webkit-transform-origin: 461.37px 173.694px;
            -ms-transform-origin: 461.37px 173.694px;
                transform-origin: 461.37px 173.694px; }
      
                svg .large-shadow {  
        -webkit-animation: counter-rotation 5s infinite linear;
             -moz-animation: counter-rotation 5s infinite linear;
               -o-animation: counter-rotation 5s infinite linear;
                  animation: counter-rotation 5s infinite linear;
        -webkit-transform-origin: 471.37px 183.694px;
            -ms-transform-origin: 471.37px 183.694px;
                transform-origin: 471.37px 183.694px; }
      
      @-webkit-keyframes rotation {
          from {-webkit-transform: rotate(0deg);}
          to   {-webkit-transform: rotate(359deg);}
      }
      @-moz-keyframes rotation {
          from {-moz-transform: rotate(0deg);}
          to   {-moz-transform: rotate(359deg);}
      }
      @-o-keyframes rotation {
          from {-o-transform: rotate(0deg);}
          to   {-o-transform: rotate(359deg);}
      }
      @keyframes rotation {
          from {transform: rotate(0deg);}
          to   {transform: rotate(359deg);}
      }
      
      @-webkit-keyframes counter-rotation {
          from {-webkit-transform: rotate(359deg);}
          to   {-webkit-transform: rotate(0deg);}
      }
      @-moz-keyframes counter-rotation {
          from {-moz-transform: rotate(359deg);}
          to   {-moz-transform: rotate(0deg);}
      }
      @-o-keyframes counter-rotation {
          from {-o-transform: rotate(359deg);}
          to   {-o-transform: rotate(0deg);}
      }
      @keyframes counter-rotation {
          from {transform: rotate(359deg);}
          to   {transform: rotate(0deg);}
      }

    /** End Loading SVG **/

input[type="text"].search{
    border-radius: 2rem;
    position: relative;
    width: 10rem;
}

.error {
    border: 1px solid red !important;
    background-color: #fcd7d7;    
}
span.error{
    background: none;
    border:none !important;
    color: red;
    font-size: .8rem;
    display: block;
}

.menu{
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: .5rem solid var(--main);
    background: var(--bckgr);
}
.menu svg{
    padding:1rem 0;
}
.menu.responsive{
    padding-bottom: 0 !important;
}
.menu .content {
    width: 100%;
    max-width: 1280px;
    display: flex;
}
    .menu .content.responsive {
        flex-direction: column;
        align-items: center;
    }
.menu .logo {
    width: 30%;
    max-width: 150px;
}
.menu .logo img {
    max-width:150px;
    cursor:pointer;
}
.menu ul{
    display:flex;
    margin: 0 0 0 1rem;
}

.menu ul.responsive{
    margin: 1rem 0 0 0;
}
.menu li {
    height:100%;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 150%;
    line-height: 80px;
    padding: 0 2rem;
}
.menu li a {
    font-family: MyriadProLight, Arial;
    font-weight: normal;
    color: inherit;
}
.menu li.active{
    background-color: var(--main);
    color: var(--bckgr);
    font-weight: bold;
}
    .menu li.responsive {
        margin: 0;
        padding: 1rem;
        line-height: normal;
        font-size: 120%;
    }

 /* user menu */   
.user-menu{
    background-color: var(--main);
    color: var(--bckgr);
    width: 100%;
}
.user-menu ul{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.user-menu ul li{
    margin: 0;
    padding: 0;
}
.user-menu ul li a{
    display: flex;
    padding: .5rem;
    min-height: 3rem;
    align-items: center;
    font-family: MyriadProLight, Arial;
    font-weight: normal;
    color: inherit;
}
.user-menu ul li:hover, .user-menu ul li.active{
    color: var(--main);
    background-color: var(--secondary);
}

/*banner*/
.banner {
    max-height: 30rem;
    overflow: hidden;
    width: 100%;
    position: relative;
    text-align: center;
    background-color: var(--main);
}
.banner img {
    width: 100%;
    max-width: 1280px;
}
.banner .text{    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: rgba(69, 161, 218, .5); */
}
.banner .text .container{ 
    width: 100%;
    text-align: left;
    max-width: 1280px;
    color:white
 }
 .banner .text .container .holder{
    padding: 2rem;
 }

.banner h1{
    font-size: 4rem;
}
.banner .mask{
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    background-color: rgba(69, 161, 218, .5);
}
.banner .mask.responsive{
    top: 0;
}


.footer {
    text-align:center;
    background-color:var(--main);
    color: var(--bckgr);
    padding:2rem;
}
    .footer img {
        margin:5px;
        max-height:50px;
    }

form.register{
    background-color: white;
    border-radius: 3rem 0 3rem 0;
    padding: 2rem;
}

.login{
    width: 100%;
    align-items: center;
    justify-content: center;
}
.login .logo{
    width:80%;
    max-width: 25rem;
    padding: 5rem 2rem;
    border-right: 1px solid var(--bckgr);
}
.login .logo.responsive{
    border: none;
}
.login.responsive{
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.login form{
    color: white;
    border-radius: 3rem;
    padding: 3rem;
    width: max-content;
}

.login form.responsive{
  width: -moz-available;          /* For Mozzila */
  width: -webkit-fill-available;  /* For Chrome */
  width: stretch;                 /* Unprefixed */
}

form.new{
    background-color: white;
    border-radius: 3rem 0 3rem 0;
    padding: 2rem;
}

.layout{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background-color: var(--bckgr);
}

svg.userIcon , .userIcon img{
    fill: #CCC;
    aspect-ratio: 1;  
    border-radius: 50%;
    max-width: 10rem;
    border: 2px solid var(--main);
    margin: 2rem;
}

.layout .content{
    padding: 1rem;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1280px;
    position: relative;
}
.layout .content.responsive{
    width: auto;
}

.location{
    border: 1px dashed var(--main);
    padding: 1rem;
    margin: 1rem 1rem 2rem 1rem;
    border-radius: 1rem;
}
.location h2{
    margin: 0px;
    margin-top: 0px;
    padding: 0 .5rem;
    margin-top: -2rem;
    background-color: var(--bckgr);
    display: block;
    width: fit-content;
    text-transform: capitalize;
}
/* team match*/
.matchList{
    .wrap{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .wrap.responsive{
        flex-direction: column;
    }
}
.teamMatch{
    display: grid;
    grid-template-columns: repeat(7, max-content);
    grid-template-rows: repeat(2, minmax(auto, 2rem));
    margin: .5rem;
    width: max-content;
    align-items: center;
    text-align: center;
    border-style: solid;
    border-color: var(--main);
    border-width: 2px 1px 1px 2px;
    div {
        padding: 0 .5rem;
        border-color: var(--main);
        border-style: solid;
        border-width: 0 1px 1px 0;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    div[data-win="1"]{
        background-color: var(--accentFade);
    }
    .score{
        font-weight: bold;
        font-family: MyriadProBold, Arial;
        color: var(--main);
        border-color: var(--main);
        border-style: solid;
        border-width: 0 1px 1px 0;
    }
    .category{
        grid-column: 1/8;
        color: white;
        background-color: var(--main);
        font-weight: bold;
    }   
    .category[data-category="PREMIER"]{
        background-color: var(--main);
        font-weight: bold;
    }
    .category[data-category="CHALLENGER"]{
        color: var(--main);
        background-color: var(--secondary);
        font-weight: bold;
    }

    .teamLogo{
        display: inline-block;
        aspect-ratio: 1;
        overflow: hidden;
        border-radius: 50%;
        background-color: var(--bckgr);
        border: 3px solid var(--secondary);
        text-align: center;
        height: 2rem;
        width: 2rem;
        margin: 0.2rem;
    }
    .description{
        display: flex;
        justify-content: left;
        align-items: center;
    }
}

.teamMatchFull{
    display: grid;
    grid-template-columns: max-content 10rem repeat(3,auto) 10rem;
    /* grid-template-rows: repeat(2, minmax(auto, 2rem)); */
    margin: .5rem;
    width: max-content;
    align-items: center;
    text-align: center;
    border-style: solid;
    border-color: var(--main);
    border-width: 2px 1px 1px 2px;
    div {
        padding: 0 .2rem;
        border-color: var(--main);
        border-style: solid;
        border-width: 0 1px 1px 0;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    div[data-win="1"]{
        background-color: var(--accentFade);
    }
    .score{
        font-weight: bold;
        font-family: MyriadProBold, Arial;
        color: var(--main);
        border-color: var(--main);
        border-style: solid;
        border-width: 0 1px 1px 0;
    }
    .category{
        grid-column: 1/7;
        color: white;
        background-color: var(--main);
        font-weight: bold;
    }   
    .category[data-category="PREMIER"]{
        background-color: var(--main);
        font-weight: bold;
    }
    .category[data-category="CHALLENGER"]{
        color: var(--main);
        background-color: var(--secondary);
        font-weight: bold;
    }

    .teamLogo{
        display: inline-block;
        aspect-ratio: 1;
        overflow: hidden;
        border-radius: 50%;
        background-color: var(--bckgr);
        border: 3px solid var(--secondary);
        text-align: center;
        height: 2rem;
        width: 2rem;
        margin: 0.2rem;
    }
    .description{
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: capitalize;
    }
}

/* team list*/

.teamList{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: space-between;
    width: 100%;
}
.teamList .wrap{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: space-between;
    width: 100%;
}
.teamList .team{
    display: flex;
    flex-direction: column;
    border: 2px solid var(--main);
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    margin: 0 .5rem .5rem 0;
    border-radius: 1.5rem;
    overflow: hidden;
}
.teamList .team:not([data-own-team="1"]) .edit{
    display: none;
    visibility: hidden;
}
.teamList .team[data-own-team="1"] .edit{
    display: inline-block;
}

.teamList .team .name{
    font-size: 120%;
    font-weight: bold;
    color: var(--secondary);
    background-color: var(--main);
    padding: .5rem;
    display: flex;
    align-items: center;  
}
.teamList .team .name span{
    padding: .2rem;
    border: 2px solid var(--secondary);
    background: white;
    border-radius: 50%;
    margin-right: .2rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;  
}
.teamList .team .name span img{
    max-height: 2rem;
}
.teamList .team .members{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0 .5rem .5rem .5rem;
    text-transform: capitalize;
}
.teamList .team .members span{
    display: flex;
    align-items: center;
}
.teamList .team .members span img{
    max-height: 1.5rem;
    border: 2px solid var(--main);
    border-radius: 50%;
    margin: .25rem;
}

.two-columns{
    display: flex;
}
.two-columns:nth-child(2n+1) {
    flex-direction: row-reverse;
}
.two-columns .img-holder{
    max-width: 25%;
}
.two-columns .img-holder.responsive{
    max-width: 70%;
    margin: 0 auto;
}
.two-columns img{
    max-width: 100%;
    border-radius: 2rem;
    overflow: hidden;
}
.two-columns.responsive{
    display: flex;
    flex-direction: column;
}

.vertical-center{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    padding: 1rem 2rem;
}

/* lists */
.list{
    position: relative;
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
    margin-bottom: 2rem;;
}
.list .wrap{
    border-collapse: collapse;
    display: table;
    background-color: var(--bckgr) !important;
}
.list div{
    display: table-row;    
    position: relative;
}
.list div.title{
    font-family: MyriadPro, Arial;
    font-weight: bold;
    background-color: var(--bckgr) !important;
    color: var(--main);
    border-bottom: 1px solid var(--main);
}
.list div:nth-child(2n+1){
    background-color: var(--gray);
}
.list div:hover{
    background-color: var(--lightGray);
}
.list div span{
    display: table-cell;
    padding: .5rem;
    position: relative;
    vertical-align: middle;
}
.list .actions a{
    display: inline-flex;
    margin-right: .5rem;
    position: relative;  
    align-items: center;
    cursor: pointer;
}
.list .actions a span{
    position: relative;
    width: min-content;
    padding-left: 0px;
}
.list .actions a svg{
    fill: var(--main);
    width: 2.5rem;
    vertical-align: middle;
    pointer-events: none;
}
.list div[data-status="-1"]{ /*status deleted*/
    text-decoration: none;
    background-color: var(--accentLight);
}
.list div[data-status="0"]{ /*status deleted*/
    text-decoration: line-through;
    background-color: var(--errorBckgr);
}

*[data-tooltip="0"]:hover::after{
    content: attr(data-tipmessage);
    position: absolute;
    background-color: var(--bckgr);
    color: var(--main);
    display: block;
    padding: .5rem;
    border-radius: 1rem 1rem 0 1rem;
    border: 2px solid var(--main);
    font-weight: bold; 
    bottom: 100%;
    right: 100%;
}

/*fin admin*/
.pages{
    width: 100%;
    text-align: center;  
    background-color: var(--bckgr) !important;
    border-top: 1px solid var(--main);
}
.pages a{
    margin: .5rem; 
    padding: .5rem;   
    display: inline-block;
    cursor: pointer;
}
.pages a.current{
    border-bottom: 5px solid var(--main);
}

.confirm.wrapper{
    background-color: #0006;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}

div.confirm:not(.wrapper){
    background-color: white;
    padding: 1rem;
    border-radius: 2rem;
    box-shadow: 0 0 0 1rem #0008;
    display: flex;
    flex-direction: column;
    min-width: 20rem;
}
div.confirm:not(.wrapper).responsive{
    min-width: none;
    width: 100%;
    margin: 1rem;
}
.confirm:not(.wrapper) .box{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.confirm:not(.wrapper) .box .icon{
    max-width: 4rem;
}
.confirm:not(.wrapper) .box .icon img{
    width: 100%;
}
.confirm:not(.wrapper) .box .message{
    padding-left: 1rem;
}
.confirm:not(.wrapper) .actions{
    text-align: right;
    margin-top: 1rem;
}
.confirm:not(.wrapper) .actions a{
    display: inline-block;
    padding: .25rem .5rem;
    border-radius: 1rem;
    color: var(--main);
    border: 1px solid var(--main);
}
.confirm:not(.wrapper) .actions a.cancel:not([href]){
    background-color: white;
    background-color: var(--main);
    color: white;
    cursor: pointer;
}
.searchResult{
    display: block;
    box-shadow: 0 0 10px 10px black;
    position: absolute;
    background: white;
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.34);
    padding: 1rem;
    border-radius: 0 1rem 1rem;
}
.searchResult a{
    display: flex;
    flex-direction: column;
}
.searchResult a span:first-child{
    color: var(--main);
    font-weight: bold;
}
.searchResult a span:last-child{
    text-transform: capitalize;
}

.filter{
    display: flex;
    align-items: center;
    align-content: center;
    padding-bottom: 1.5rem;
}
.filter.responsive{
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-left: 1rem;
}
.filter.responsive span{
    padding: .5rem;
}
.filter span{
    padding: 1rem;
    text-transform: capitalize;
    cursor: pointer;
}
.filter span.active{
    border-bottom: 3px solid var(--main);
}



.msgBox{
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;  
    background-color: rgba(0,0,0,.6);
  }
    .msgBox .wrapper{ 
        position: relative;
        background-color: var(--bckgr);
        border-radius: 1rem;
        padding: 1rem;
        border: 10px solid rgba(0,0,0,.8);  
        max-width: 90%;
        max-height: 100%;
    }

    .msgBox .wrapper iframe{  
        width: 80vw;
        min-height: 80vh;
        height: 100%;
        border: 0px;
    }

    .msgBox .closeBtn {
        position: absolute;
        width: 40px;
        height: 40px;
        top: -25px;
        right: -25px;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
        color: white;
        text-align: center;
        line-height: 42px;
        font-size: 40px;
        border: 1px solid white;
        cursor: pointer;
        z-index: 99;
    }
    .msgBox .msg{
        position: relative;
        background: white;
        padding: 1rem;
        border: 10px solid rgba(0,0,0,.8);
        border-radius: 1rem;  
        display: grid;
        grid-template-columns: 60px auto;
        padding-bottom: 60px;
    }
    .msgBox .msgIcon img{
        position: relative;
        width: 100%;
        vertical-align: middle;
    }
    .msgBox input[type="submit"]{
        position: absolute;
        bottom: -10px;
        right: 10px;
    }
    .msgBox .wrapper input[type="submit"]{
        position: relative;
    }

    #overlay{
        display: flex;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--main);
        justify-content: center;
        align-items: center;
        z-index: 100;
    }