body, html {
    background: #ffffff;
    color: #ffffff;
    width:100%;
    height: 100%;
    padding:0;
    margin:0;
    font-family: 'Roboto', sans-serif;

   text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body{
    overflow-x:hidden;
}
img{
    max-width: 100%;
    height: auto;
    display: block;
}
.wrapper{
    width:80%;
    margin:auto;
}
#header{
    padding: 31.5px 0;
}
#header .logo img{
    margin:auto;
}
#descriere{
    background: url("../img/bg-header.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}
#descriere .titlu{
    position:absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top:35%;
    animation-delay: 1s;
}
#descriere .subtitlu{
    position:absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top:55%;
    animation-delay: 1.5s;
}
#descriere .papagal{
    position:absolute;
    bottom:0;
    right:7%;
    animation-delay: 0.5s;
}
#descriere .badge{
    position:absolute;
    right: 0;
    top: 10%;
    animation-delay: 2s;
}
#pachete{
    background: url("../img/bg-pachete.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}
#pachete .p1{
    position: absolute;
    top:10%;
    left:10%;
    z-index:1;
    animation-delay: 0.5s;
}
#pachete .p2{
    position: absolute;
    top:10%;
    left:25%;
    z-index:2;
    animation-delay: 2s;
}
#pachete .p3{
    position: absolute;
    top:5%;
    left:49%;
    z-index:1;
    animation-delay: 1s;
}
#pachete .p4{
    position: absolute;
    top:25%;
    left:60%;
    z-index:2;
    animation-delay: 1.5s;
}
#contact{
    background: url("../img/bg-contact.jpg");
    background-size: cover;
    background-position: bottom left;
    background-repeat: no-repeat;
    position: relative;
    padding:50px 0 100px;
}
#contact .detalii{
    display: inline-block;
    width: 50%;
    /*vertical-align:bottom;*/
}
#contact .formular{
    display: inline-block;
    width: 50%;
    /*vertical-align:bottom;*/
}
#contact .detalii h2{
    font-size:30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
}
#contact .detalii p{
    font-size:30px;
    font-weight: normal;
    padding:0;
    margin:0;
}
#contact .detalii p.copyright{
    font-size:16px;
}
#contact .detalii .logo-footer{
    padding-top:30px;
    padding-bottom:60px;
}
#contact .formular .descriere-formular h2{
    font-size:30px;
    font-weight: bold;
    margin-top: 0;
}
#contact .formular #formular-contact{
    background: #ffffff;
    border-radius:4px;
    box-shadow: 0px 0px 50px -15px #000000;
    padding:50px;
}
#contact .formular .wrap-form{
    width:500px;
    max-width: 100%;
    margin:auto;
}
#contact .detalii .wrap-detalii{
    width:500px;
    max-width: 100%;
    margin:auto;
}
#contact .formular .form-group{
    margin-bottom:10px;
}
#contact .formular .form-group input:not(#form-regulament){
    width:100%;
    border:none;
    border-bottom:1px solid #BCBEC0;
    color:#434343;
    font-size:16px;
    padding:10px 0;
    font-family: 'Roboto', sans-serif;
}
#contact .formular .form-group textarea{
    height:100px;
    width:100%;
    resize: none;
    border:none;
    border-bottom:1px solid #BCBEC0;
    color:#434343;
    font-size:16px;
    padding:10px 0;
    font-family: 'Roboto', sans-serif;
}
#contact .formular .form-group label{
    font-size:14px;
    color:#434343;
    font-family: 'Roboto', sans-serif;
}
#contact .formular .form-group label a{
    font-weight: bold;
    text-decoration: none;
    color:#434343;
    font-family: 'Roboto', sans-serif;
}
#contact .formular #contact-buton{
    height:40px;
    line-height: 40px;
    font-size:18px;
    color:#ffffff;
    text-transform: uppercase;
    text-align:center;
    max-width: 100%;
    width: 180px;
    border:none;
    background: #005BA5;
}
#erori{
    background: red;
    text-align: center;
    padding: 15px;
    margin-bottom: 30px;
    color: #fff;
    border:1px solid #ffffff;
    border-radius:4px;
}
#erori.trimis{
    background: green;
}
.dialog, .dialog__overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
#closide {
    position: absolute;
    top: 5px;
    right: 0;
    border: none;
    color: #fff;
    font-size: 12px;
    background: 0 0;
}
.dialog {
    position: fixed;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    pointer-events: none;
    z-index: 109999;
}
.dialog__overlay {
    position: absolute;
    z-index: 1;
    background: rgba(0,0,0,.8);
    opacity: 0;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    -webkit-backface-visibility: hidden;
}
.dialog--open .dialog__overlay {
    opacity: 1;
    pointer-events: auto;
}
.dialog__content {
    width: 100%;
    max-width: 800px;
    min-width: 290px;
    text-align: left;
    position: relative;
    z-index: 5;
    opacity: 0;
    color:#434343;
}
.dialog--open .dialog__content {
    pointer-events: auto;
}

.dialog--open .dialog__overlay {
    -webkit-transition-duration: .8s;
    transition-duration: .8s;
}
.dialog--close .dialog__overlay {
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
}
.dialog__content {
    padding: 0;
    background: 0 0
}
.dialog--open .dialog-inner {
    padding: 0;
    opacity: 1;
    -webkit-transition: opacity .85s .35s;
    transition: opacity .85s .35s;
    padding:30px;
}
#somedialog.dialog.dialog--open .dialog__content {
    opacity: 1;
    background: #ffffff;
    background-size: cover;
    min-height: 590px;
    max-width: 85%;
    width: 800px;
    -webkit-box-shadow: 11px 14px 16px -9px rgba(0,0,0,0.55);
    -moz-box-shadow: 11px 14px 16px -9px rgba(0,0,0,0.55);
    box-shadow: 11px 14px 16px -9px rgba(0,0,0,0.55);
    border: 3px solid #000000;
    max-height: 100%;
    overflow: auto;
}



.footer{
	display: none;
}




/*MAC LAPTOP 13" RETINA HD*/
@media only screen and (max-width:1500px){
	

}



/*TABLET PORTRAIT*/
@media only screen and (min-width:700px) and (max-width:800px) and (orientation: portrait) {
	
	#descriere .titlu {

	    left: 38%;
	    top: 28%;
    
    }
    
    #descriere .titlu img{
	    width: 100%;
    }
	
	
	#descriere .subtitlu {

	    top: 61%;
	    left: 26%;
	
	}
	
	#descriere .subtitlu img {

	    width: 300px;
	
	}
	
	#descriere .papagal img{

	    width: 447px;
	
	}
	
	
	#descriere .badge {

	    top: 5%;
	
	}
	
	
	#descriere .badge img {

	    width: 217px;
	
	}
	
	
	
	#pachete .p1 {
	    position: absolute;
	    top: 14%;
	    left: 9%;
	    z-index: 1;
	    width: 320px;
	}
	
	
	#pachete .p2 {
	    position: absolute;
	    top: 58% ;
	    left: 10%;
	    z-index: 2;
	    width: 279px;
	}
	#pachete .p3 {
	    position: absolute;
	    top: 3%;
	    left: 52%;
	    z-index: 1;
	    width: 238px;
	}

	
	#pachete .p4 {
	    position: absolute;
	    top: 53%;
	    left: 54%;
	    z-index: 2;
	    width: 305px;
	}
	
	
	
	
	
	#contact .detalii{
		width: 100%;
	}
	
	#contact .detalii .wrap-detalii{
		width: 100%;
		text-align: center;
	}
	
	#contact .detalii h2{
		font-size: 50px;
	}
	
	
	#contact .detalii p{
		font-size: 20px;
	}
	
	#contact .detalii .logo-footer img{
		margin: 0 auto;
	}
	
	#contact .detalii p.copyright{
		display: none;
	}
	
	
	
	#contact .formular{
		width: 100%;	
		
	}
	
	
	#contact .formular .descriere-formular h2{
		text-align: center;
		font-size: 38px;
	}
	
	
	#contact .formular #formular-contact{
		padding: 40px;
	}
	
	
	#contact .formular #contact-buton{
		display: block;
		margin: 0 auto;
	}
	
	
	.footer {

	    display: block;
	    text-align: center;
	    margin-top: 40px;
	
	}
	
	
	
}



/*TABLET LANDSCAPE*/
@media only screen and (min-width:800px) and  (max-width:1024px){
	
	
	#descriere .papagal img{
		width: 450px;
	}
	
	#descriere .badge img{
		width: 200px;
	}
	
	
	#descriere .titlu {
		left: 33%;
		top: 41%;
	}
	
	
	#descriere .titlu img{
		width: 400px;
	}
	
	#descriere .subtitlu{
		
		left: 38%;
		top: 62%;
	}
	
	
	#descriere .subtitlu img{
		width: 300px;
	}
	
	
	
	#pachete .p1 {

	    position: absolute;
	    top: 9%;
	    left: -7%;
	    z-index: 1;
	    animation-delay: 0.5s;
	    width: 400px;
	
	}
	
	#pachete .p2 {

	    position: absolute;
	    top: 30%;
	    left: 18%;
	    z-index: 2;
	    animation-delay: 2s;
	    width: 368px;
	
	}
	
	
	#pachete .p3 {

	    position: absolute;
	    top: 6%;
	    left: 47%;
	    z-index: 1;
	    animation-delay: 1s;
	    width: 363px;
	
	}
	
	#pachete .p4 {

	    position: absolute;
	    top: 29%;
	    left: 67%;
	    z-index: 2;
	    animation-delay: 1.5s;
	    width: 400px;
	
	}
	
	
	
	#contact .detalii{
		width: 100%;
	}
	
	#contact .detalii .wrap-detalii{
		width: 100%;
		text-align: center;
	}
	
	#contact .detalii h2{
		font-size: 50px;
	}
	
	
	#contact .detalii p{
		font-size: 20px;
	}
	
	#contact .detalii .logo-footer img{
		margin: 0 auto;
	}
	
	#contact .detalii p.copyright{
		display: none;
	}
	
	
	
	#contact .formular{
		width: 100%;	
		
	}
	
	
	#contact .formular .descriere-formular h2{
		text-align: center;
		font-size: 38px;
	}
	
	
	#contact .formular #formular-contact{
		padding: 40px;
	}
	
	
	#contact .formular #contact-buton{
		display: block;
		margin: 0 auto;
	}
	
	
	.footer {

	    display: block;
	    text-align: center;
	    margin-top: 40px;
	
	}
	
}


/*MOBILE PORTRAIT*/
@media only screen and (max-width:480px){
	
	.footer {

	    display: block;
	    text-align: center;
	    margin-top: 40px;
	
	}
	
	#descriere .badge{
		top: 5%;
	}
	
	#descriere .badge img{
		width: 150px;
	}
	
	#descriere .papagal{
		width: 300px;
	}
	
	#descriere .titlu{
		left: 41%;
		top: 26%;
	}
	
	
	#descriere .titlu img{
		width: 180px;
	}
	
	
	#descriere .subtitlu img{
		width: 170px;
	}
	
	
	#descriere .subtitlu{
		top: 35%;
		left: 48%;
	}
	
	
	#pachete .p1 {
	    position: absolute;
	    top: 19%;
	    left: -7%;
	    z-index: 1;
	    width: 225px;
	}
	
	
	#pachete .p2 {
	    position: absolute;
	    top: 62%;
	    left: 4%;
	    z-index: 2;
	    width: 200px;
	}
	
	#pachete .p3 {
	    position: absolute;
	    top: 3%;
	    left: 52%;
	    z-index: 1;
	    width: 158px;
	}

	
	#pachete .p4 {
	    position: absolute;
	    top: 47%;
	    left: 49%;
	    z-index: 2;
	    width: 217px;
	}	
	
	
	#contact .detalii{
		width: 100%;
	}
	
	#contact .detalii .wrap-detalii{
		width: 100%;
		text-align: center;
	}
	
	#contact .detalii h2{
		font-size: 30px;
	}
	
	
	#contact .detalii p{
		font-size: 16px;
	}
	
	#contact .detalii .logo-footer img{
		margin: 0 auto;
	}
	
	#contact .detalii p.copyright{
		display: none;
	}
	
	
	
	#contact .formular{
		width: 100%;	
		
	}
	
	
	#contact .formular .descriere-formular h2{
		text-align: center;
	}
	
	
	#contact .formular #formular-contact{
		padding: 25px;
	}
	
	
	#contact .formular #contact-buton{
		display: block;
		margin: 0 auto;
	}
	
	
	
}



/*MOBILE LANDSACPE*/
@media only screen and (min-width:480px) and (max-width:900px) and (orientation: landscape){
	
	
	#descriere .papagal img {
	    width: 253px;
	}
	
	#descriere .titlu img {
	    width: 300px;
	}
	
	
	#descriere .titlu {
	    left: 45%;
	    top: 12%;
	}
	
	
	#descriere .subtitlu {
	    left: 46%;
	    top: 41%;
	}
	
	#descriere .subtitlu img {
	    width: 150px;
	}
	
	#descriere .badge img {
		    width: 100px;
		}
		
	#pachete .p1 {
	    position: absolute;
	    top: 9%;
	    left: -2%;
	    z-index: 1;
	    animation-delay: 0.5s;
	    width: 225px;
	}
	
	
	#pachete .p2 {
	    position: absolute;
	    top: 11%;
	    left: 25%;
	    z-index: 2;
	    animation-delay: 2s;
	    width: 211px;
	}
	
	#pachete .p3 {
	    position: absolute;
	    top: 13%;
	    left: 53%;
	    z-index: 1;
	    animation-delay: 1s;
	    width: 163px;
	}
	
	
	#pachete .p4 {
	    position: absolute;
	    top: 9%;
	    left: 74%;
	    z-index: 2;
	    animation-delay: 1.5s;
	    width: 227px;
	}

	
}
