html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:1;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
/* start editing from here */
a{text-decoration:none;}
.txt-rt{text-align:right;}/* text align right */
.txt-lt{text-align:left;}/* text align left */
.txt-center{text-align:center;}/* text align center */
.float-rt{float:right;}/* float right */
.float-lt{float:left;}/* float left */
.clear{clear:both;}/* clear float */
.pos-relative{position:relative;}/* Position Relative */
.pos-absolute{position:absolute;}/* Position Absolute */
.vertical-base{	vertical-align:baseline;}/* vertical align baseline */
.vertical-top{	vertical-align:top;}/* vertical align top */
nav.vertical ul li{	display:block;}/* vertical menu */
nav.horizontal ul li{	display: inline-block;}/* horizontal menu */
img{max-width:95%;}
/*end reset*/
/****-----start-body----****/
body{
    background:rgba(31, 64, 108, 1);/*:#F7DA55;*/
    font-family: 'Open Sans', sans-serif;

}

.modal-footer {   border-top: 0px; }
.box-cookies.hide {
    display: none !important;
}

.box-cookies {
    position: fixed;
    background: rgba(0, 0, 0, .9);
    width: 100%;
    z-index: 998;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box-cookies .msg-cookies,
.box-cookies .btn-cookies {
    text-align: center;
    padding: 25px;
    color: #fff;
    font-size: 18px;
}

.box-cookies .btn-cookies {
    background: #1e88e5;
    cursor: pointer;
    align-self: normal;
}


.modal {
    text-align: center;
    padding: 0!important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px; /* Adjusts for spacing */
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
.modal-backdrop.show {
    background-color: gray;
    opacity: 0.75;
}


.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 15px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 1px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #5ead39;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 10px;
}

.slider.round:before {
    border-radius: 50%;
}

.login-form {
    border: 1px black solid;
    background:#fff;
    position: relative;
    -webkit-border-radius: 0.4em;
    -o-border-radius: 0.4em;
    -moz-border-radius: 0.4em;
}


.head img {

    padding-left : 5%;
}
img {
    padding-top:0.8%;
    margin-left:0.8%;
}

.footer
{
    font-size:16px;
    color:#fff;
}
.main{
    position:relative;
}
.main h1{
    font-size:30px;
    color:#676767;
    font-family: 'Open Sans', sans-serif;
    font-weight:400;
    padding-top: 19%;
    text-align: center;
}
.login {
    width: 80%;
    margin: 0 auto;
    padding: 6% 0 9% 0;
}
.main p {
    text-align: center;
}
.login p a {
    color: #888;
    font-family: 'Open Sans', sans-serif;
}
login p a:hover {
    color:#21A957;
}
input[type="text"],input[type="email"], input[type="password"]{
    text-align:left;
    position: relative;
    width:92%;
    padding:3%;
    background:#D3D3D3;
    margin-bottom: 6%;
    font-family: 'Open Sans', sans-serif;
    color: #676767;
    font-weight:600;
    font-size: 16px;
    outline: none;
    border: none;
    border-radius: 5px;
    border:1px solid #DED6D6;
    -webkit-appearance:none;
    height: 0%;
}
input[type="text"]:hover, input[type="password"]:hover{
    border:1px solid #949494;
    transition:0.5s;
    -webkit-transition:0.5s;
    -moz-transition:0.5s;
    -o-transition:0.5s;
    -ms-transition:	0.5s;
    height: 0%;
}
button[type="submit"]{

    padding: 3%;
    width: 100%;
    background:rgba(31, 64, 108, 1); /*#21A957;*/
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    box-shadow: inset 0px 0px 10px #666464;
    -webkit-text-shadow: 0px 0px 3px #000;
    -moz-text-shadow: 0px 0px 3px #000;
    -o-text-shadow: 0px 0px 3px #000;
    -ms-text-shadow: 0px 0px 3px #000;
    font-size: 16px;
    outline: none;
    border: none;
    cursor: pointer;
    font-weight:500;
    border-radius: 5px;
    transition: 0.5s;
    -webkit-appearance:none;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    height: 0%;
    border-color:#00719c;
}
button[type="submit"]:hover{
    background:#00719c;
    color:#fff;
    border-color:#00719c;
    border-radius: 5px;
}

/*Botao do registar da pagina de Login*/
button[id="btnreset"]{
    width: 99%;
    padding: 3%;
    margin-bottom: 8%;
    background:#449d44; /*#21A957;*/
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 16px;
    outline: none;
    border: none;
    cursor: pointer;
    font-weight:500;
    border-radius: 5px;
    transition: 0.5s;
    -webkit-appearance:none;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    height: 0%;
}

@media only screen and (min-width: 768px) {
    .Logotipo{
        width: 25%;

        margin-left: 37%;
    }

}




@media screen and (min-width: 1180px) and (max-width:1440){
    .login  {
        width: 100%;
    }
}
@media screen and (max-width: 600px) {
    .box-cookies {
        flex-direction: column;
    }
}

/*-----start-responsive-design------*/
@media only screen and  (max-width:1440px){

    .Logotipo{
        width: 22%;
        padding-left:38%;
        padding-top:8%;

    }

    .main h1 {
        padding-top: 23%;
    }

}
@media only screen and  (max-width:1366px){

    .Logotipo{
        width: 30%;
        padding-left:33%;
        padding-top:8%;

    }


}
@media only screen and  (max-width:1280px){

    .Logotipo{
        width: 30%;
        padding-left:33%;
        padding-top:8%;

    }


}
@media only screen and  (max-width:1024px){

    .Logotipo{
        width: 38%;
        padding-left:30%;
        padding-top:8%;
        display: none;
    }


}
@media only screen and  (max-width:768px){

    .Logotipo{
        width: 40%;
        padding-left:30%;
        padding-top:8%;
        display: none;
    }
    .footer
    {
        font-size:12px;
        color:#fff;
    }

}
@media only screen and (max-width:640px){  

    .Logotipo{
        width: 50%;
        padding-left:23%;
        padding-top:8%;

    }



}
@media only screen and  (max-width:480px){                                  

    .main h1 {
        font-size: 22px;
    }
    .head img {
        width: 78%;
    }
    .head {
        top: -15%;
        left: 34%;
    }
    input[type="text"], input[type="password"], button[type="submit"] {
        font-weight: 600;
        margin-bottom: 4%;
    }
    @media (max-width:320px){                                  
        .main h1 {
            padding-top: 20%;
            font-size: 20px;
        }
        .head img {
            width: 60%;
            border: 5px solid rgba(221, 218, 215, 0.23);
        }
        .head {
            top: -15%;
            left: 36%;
        }
        input[type="text"], input[type="password"],button[type="submit"] {
            font-weight:600;
            font-size: 15px;
        }
        .main login p a {
            font-size: 15px;
        }
        button[type="submit"] {
            padding: 4%;
        }

    }}
