@media only screen and (min-width: 360px) {
    #wrapper {
        width: 360px;
    }
    #loginWrapper {
        width: 360px;
    }
    .footer .bottom .left p {
        margin-left: 30px;
    }
    .clubname p {
        padding-left: 30px;
    }
    #wrapper .upper div h1 {
        padding-left: 30px;
    }
    .upperterm {
        height: 80px;
    }
    .upperterm .link {
        width: 220px;
    }
    #wrapper .upperterm .link h1 {
        height: 40px;
        padding-top: 30px;
        font-size: 21px;
    }
    .image img {
        height: 60px;
        width: 60px;
    }
    .hamburger img {
        padding: 25px 20px;
    }
    .naslov_i_datum div:last-child {
        font-size: 18px;
    }
    .slika_i_naslov .slika img {
        width: 120px;
        height: 120px;
    }
    #grupe ul li,
    #ime_lige p {
        margin-left: 30px;
    }

    #tabela tr td:nth-child(2) {
        width: 164px;
    }
    #tabela tr td {
        width: 25px;
    }
    #tabela tr td:last-child {
        width: 40px;
    }
    #tabela table td {
        height: 23px;
        line-height: 23px;
        font-size: 15px;
    }

    #navFlex #nav a {
        width: 89px;   
    }
    
    #navFlex #nav a:nth-child(4),
    #navFlex #nav a:nth-child(8),
    #navFlex #nav a:last-child {
        width: 90px;
    }
    

    /***** raspored *****/
    .raspored .termin .parovi .igrac .slika,
    .raspored .termin .parovi .igrac .slika img {
        width: 50px;
        height: 50px;
    }
    .raspored .termin .parovi .igrac .imeIprezime {
        font-size: 14px;
        padding-left: 5px;
    }

    /***** rezultati *****/
    .rezultati .igrac .slika,
    .rezultati .igrac .slika img {
        width: 50px;
        height: 50px;
    }

    /***** igrači *****/
    #igraci .kontejner {
        height: 60px;
    }
    #igraci .kontejner a .slika,
    #igraci .kontejner a .slika img {
        height: 50px;
        width: 50px;
    }
    .box {
        top: 17px;
    }

    /***** igrač *****/
    .info .photo img,
    .info .photo {
        height: 195px;
        width: 195px;
    }
    #pehar {
        left: 135px;
        bottom: 65px;
    }

    /***** termini *****/
    .table form .red {
        width: 340px;
        height: 20px;
    }
    input#bezigre {
        margin-left: 55px;
    }
    .buttonTerm {
        width: 340px;
    }
    #popup {
        width: 340px;
    }
    .zindex2 {
        width: 360px;
    }
    .zindex2 .krug {
        left: 128px;
    }


    /***** hth *****/
    .data,
    .pobeda {
        width: 178.5px;
    }

    .photo {
        width: 130px;
        height: 130px;
    }

    #hth select {
        width: 250px;
    }

    #hth .plavoPolje {
        width: 344px;
    }

    /***** profil.php *****/
    .formpass input[type=password],
    .formpass input[type=text],
    .formpass input[type=date] {
        width: 330px;
        height: 31px;
    }

    #ruka select {
        height: 31px;
    }

    #nav a {
        width: 89.25px;
    }
}

@media only screen and (min-width: 375px) {
    #wrapper,
    #loginWrapper,
    .contNo,
    .zindex2 {
        width: 375px;
    }
    
    .upperterm {
        height: 85px;
    }
    .upperterm .image {
        width: 80px;
    }
    .image img {
        height: 65px;
        width: 65px;
    }
    #vesti .vest {
        height: 85px;
    }
    #vesti .vest a .slika,
    #vesti .vest a .slika img {
        height: 65px;
        width: 65px;
    }

    #navFlex #nav a {
        width: 93px;   
    }
    
    #navFlex #nav a:nth-child(4),
    #navFlex #nav a:nth-child(8),
    #navFlex #nav a:last-child {
        width: 93px;
    }

    /***** vest *****/
    .slika_i_naslov .slika,
    .slika_i_naslov .slika img {
        width: 130px;
        height: 130px;
    }

    main {
        height: 320px;
    }
    #image img {
        height: 280px;
    }
    #nivo p{
        margin-top: 145px;
    }

    /***** tabela *****/
    #tabela tr td:nth-child(2) {
        width: 179px;
    }
    #tabela table td {
        height: 24px;
        line-height: 24px;
    }

    .rezultati .wo {
        line-height: 120px;
    }

    /***** raspored *****/
    .raspored .termin .parovi .igrac .slika,
    .raspored .termin .parovi .igrac .slika img {
        width: 55px;
        height: 55px;
    }

    /***** rezultati *****/
    .rezultati .igrac .slika,
    .rezultati .igrac .slika img {
        width: 55px;
        height: 55px;
    }
    .rezultati .igrac {
        height: 60px;
    }

    /***** igrači *****/
    #igraci .kontejner a .slika,
    #igraci .kontejner a .slika img {
        height: 55px;
        width: 55px;
    }
    #igraci .kontejner {
        height: 65px;
    }
    .box {
        height: 28px;
        top: 20px;
    }
    .stack-left {
        top: 21px;
        font-size: 17px;
    }
    #nav div {
        font-size: 18px;
    }

    /***** igrač *****/
    .opponents_res a {
        height: 27px;
        line-height: 27px;
        font-size: 17px;
    }
    .info .photo img,
    .info .photo {
        height: 205px;
        width: 205px;
    }

    /***** termini *****/
    .table form .red {
        width: 355px;
        height: 22px;
    }
    input#bezigre {
        margin-left: 70px;
    }
    .buttonTerm {
        width: 340px;
        margin: 10px 17.5px;
    }
    #popup {
        width: 355px;
        height: 565px;
    }
    .zindex2 .krug {
        left: 135px;
    }

    /***** hth *****/
    .data,
    .pobeda {
        width: 186px;
    }

    #hth select {
        width: 265px;
    }

    #hth .plavoPolje {
        width: 359px;
    }

    /***** profil.php *****/
    .formpass input[type=password],
    .formpass input[type=text],
    .formpass input[type=date] {
        width: 345px;
        height: 32px;
    }

    #ruka select {
        height: 32px;
    }

    #nav a {
        width: 93px;
    }
}

@media only screen and (min-width: 390px) {
    #wrapper,
    #loginWrapper,
    .contNo,
    .zindex2 {
        width: 390px;
    }
    .upperterm {
        height: 90px;
    }
    .upperterm .image {
        width: 90px;
    }
    .image img {
        height: 70px;
        width: 70px;
    }
    .hamburger {
        width: 80px;
    }

    #navFlex #nav a {
        width: 96.5px;   
    }
    
    #navFlex #nav a:nth-child(4),
    #navFlex #nav a:nth-child(8),
    #navFlex #nav a:last-child {
        width: 97px;
    }

    /***** vesti *****/
    #vesti .vest {
        height: 90px;
    }
    #vesti .vest a .slika,
    #vesti .vest a .slika img {
        height: 70px;
        width: 70px;
    }

    /***** vest *****/
    .slika_i_naslov .slika,
    .slika_i_naslov .slika img {
        width: 140px;
        height: 140px;
    }
    .tekst_vesti,
    .slika_i_naslov .naslov,
    .datum, .naslov  {
        padding-left: 15px;
        padding-right: 15px;
    }

    /***** tabela *****/
    #tabela tr td:nth-child(2) {
        width: 194px;
    }
    #tabela table td {
        font-size: 16px;
    }

    /***** raspored *****/
    .raspored .termin .parovi .igrac .slika,
    .raspored .termin .parovi .igrac .slika img {
        width: 60px;
        height: 60px;
    }

    /***** rezultati *****/
    .res div:first-child {
        margin-bottom: 5px;
    }
    .res div:last-child {
        margin-top: 5px;
    }

    /***** igrači *****/
    #igraci .kontejner a .slika,
    #igraci .kontejner a .slika img {
        height: 60px;
        width: 60px;
    }
    #igraci .kontejner {
        height: 70px;
    }
    .box {
        height: 30px;
        top: 21px;
    }
    .stack-left {
        top: 23px;
        left: 80px;
    }

    /***** igrač *****/
    .opponents_res a {
        height: 28px;
        line-height: 28px;
    }
    .info .photo img,
    .info .photo {
        height: 215px;
        width: 215px;
    }
    #pehar {
        left: 150px;
    }

    /***** termini *****/
    .table form .red {
        width: 370px;
    }
    input#bezigre {
        margin-left: 85px;
    }
    .buttonTerm {
        margin: 10px 25px;
    }
    #popup {
        width: 370px;
        height: 565px;
    }
    .zindex2 .krug {
        left: 145px;
    }
    .inputInfo p {
        font-size: 15px;
    }
    .table {
        font-size: 17px;
    }

    /***** hth *****/
    .data,
    .pobeda {
        width: 193.5px;
    }
    .photo {
        width: 145px;
        height: 145px;
    }

    .go {
        margin-right: 10px;
    }

    /***** profil.php *****/
    .formpass input[type=password],
    .formpass input[type=text],
    .formpass input[type=date] {
        width: 360px;
        height: 33px;
    }

    #ruka select {
        height: 33px;
    }

    #nav a {
        width: 96.75px;
    }

    #hth .plavoPolje {
        width: 374px;
    }

}

@media only screen and (min-width: 412px) {
    #wrapper,
    #loginWrapper,
    .contNo,
    .zindex2 {
        width: 412px;
    }
    .clublanding {
        height: 490px;
    }
    .upperterm {
        height: 95px;
    }
    .upperterm .image {
        width: 95px;
    }
    .image img {
        height: 75px;
        width: 75px;
    }
    .hamburger {
        width: 90px;
    }
    .hamburger img {
        padding: 30px 30px;
    }
    #wrapper .upperterm .link h1 {
        padding-top: 35px;
    }
    .upperterm .link {
        width: 227px;
    }

    #navFlex #nav a {
        width: 102px;   
    }
    
    #navFlex #nav a:nth-child(4),
    #navFlex #nav a:nth-child(8),
    #navFlex #nav a:last-child {
        width: 103px;
    }

    /***** vesti *****/
    #vesti .vest a .slika,
    #vesti .vest a .slika img {
        height: 75px;
        width: 75px;
    }
    #vesti .vest {
        height: 95px;
    }
    .naslov_i_datum div:last-child {
        font-size: 19px;
    }

    /***** vest *****/
    .slika_i_naslov .slika,
    .slika_i_naslov .slika img {
        width: 150px;
        height: 150px;
    }
    .tekst_vesti {
        font-size: 17px;
    }

    main {
        height: 340px;
    }
    #image img {
        height: 300px;
    }
    #nivo p {
        margin-top: 165px;
    }

    /***** tabela *****/
    #tabela tr td:nth-child(2) {
        width: 204px;
    }
    #tabela tr td {
        width: 27px;
    }
    #tabela tr td:last-child {
        width: 42px;
    }
    #tabela table td {
        height: 25px;
        line-height: 25px;
        font-size: 17px;
    }

    .rezultati .wo {
        line-height: 140px;
    }

    /***** raspored *****/
    .raspored .termin .parovi .igrac .imeIprezime {
        font-size: 15px;
    }
    .raspored .vremeMesto {
        font-size: 15px;
    }
    .raspored .vremeMesto div {
        width: 60px;
        text-align: center;
    }

    /***** rezultati *****/
    .rezultati .igrac {
        height: 70px;
    }
    .rezultati .igrac .slika,
    .rezultati .igrac .slika img {
        width: 60px;
        height: 60px;
    }
    .imeIprezime {
        font-size: 17px;
    }

    /***** igrač *****/
    .info .photo {
        margin: 15px;
    }
    #pehar {
        left: 170px;
        bottom: 85px;
    }
    .opponents_res a {
        height: 30px;
        line-height: 30px;
    }

    .ime_rezultatima {
        width: 190px;
        font-size: 18px;
    }

    .datum_u_rezultatima {
        font-size: 13px;
    }

    .opponents_res a {
        font-size: 18px;
    }


    /***** termini *****/
    .table form .red {
        width: 392px;
    }
    input#bezigre {
        margin-left: 107px;
    }
    .buttonTerm {
        margin: 10px 36px;
    }
    #popup {
        width: 392px;
        height: 580px;
    }
    .zindex2 .krug {
        left: 156px;
    }
    .data .name {
        font-size: 18px;
    }
    .termin {
        font-size: 16px;
    }
    .date {
        font-size: 16px;
    }
    .inputInfo p {
        font-size: 17px;
    }

    /***** hth *****/
    .data,
    .pobeda {
        width: 204.5px;
    }
    .photo {
        width: 170px;
        height: 170px;
    }

    .go {
        margin-right: 15px;
        margin-left: 10px;
    }

    #hth select {
        width: 280px;
    }

    #hth .plavoPolje {
        width: 396px;
    }

    /***** profil.php *****/
    .formpass input[type=password],
    .formpass input[type=text],
    .formpass input[type=date] {
        width: 382px;
        height: 34px;
    }

    #ruka select {
        height: 34px;
    }

    #nav a {
        width: 102.25px;
    }
}

@media only screen and (min-width: 428px) {
    #wrapper,
    #loginWrapper,
    .contNo,
    .zindex2 {
        width: 428px;
    }
    .clublanding p {
        font-size: 175px;
        line-height: 130px;
    }

    .upperterm .link {
        width: 243px;
    }

    #navFlex #nav a {
        width: 106px;   
    }
    
    #navFlex #nav a:nth-child(4),
    #navFlex #nav a:nth-child(8),
    #navFlex #nav a:last-child {
        width: 107px;
    }

    /***** vest *****/
    .slika_i_naslov .slika,
    .slika_i_naslov .slika img {
        width: 160px;
        height: 160px;
    }
    .slika_i_naslov {
        font-size: 26px;
    }

    /***** tabela *****/
    #tabela tr td:nth-child(2) {
        width: 220px;
    }
    #tabela table td {
        font-size: 16px;
    }
    #tabela tr td:first-child {
        font-size: 12px;
    }
    #tabela table td {
        height: 27px;
        line-height: 27px;
        font-size: 18px;
    }
    #nav div {
        font-size: 19px;
        height: 34px;
        line-height: 34px;
    }

    /***** raspored *****/
    .raspored .termin .parovi .igrac .imeIprezime {
        font-size: 16px;
    }
    .raspored .vremeMesto {
        font-size: 16px;
    }
    .raspored .vremeMesto div {
        width: 70px;
    }
    .raspored .termin .parovi .igrac .slika,
    .raspored .termin .parovi .igrac .slika img {
        width: 65px;
        height: 65px;
    }
    .imeIprezime div {
        height: 14px;
    }

    /***** rezultati *****/
    .rezultati .igrac .slika,
    .rezultati .igrac .slika img {
        width: 65px;
        height: 65px;
    }
    .imeIprezime {
        font-size: 18px;
    }
    .rezultati .igrac .imeIprezime div {
        height: 16px;
    }

    /***** igrači *****/
    #igraci .kontejner a .slika,
    #igraci .kontejner a .slika img {
        height: 65px;
        width: 65px;
    }
    .box {
        height: 35px;
        top: 21px;
    }
    #igraci .kontejner {
        height: 75px;
    }
    .stack-left {
        top: 25px;
        left: 90px;
        font-size: 19px;
    }

    /***** igrač *****/
    .info .photo img,
    .info .photo {
        height: 225px;
        width: 225px;
    }
    .opponents_res a {
        height: 30px;
        line-height: 30px;
        font-size: 18px;
    }
    .data .name {
        font-size: 18px;
    }
    #player_info {
        font-size: 17px;
    }
    #best_results {
        font-size: 17px;
    }
    
    .ime_rezultatima {
        width: 240px;
    }


    /***** termini *****/
    .table form .red {
        width: 408px;
    }
    input#bezigre {
        margin-left: 123px;
    }
    .buttonTerm {
        margin: 10px 44px;
    }
    #popup {
        width: 408px;
        height: 580px;
    }
    .zindex2 .krug {
        left: 164px;
    }
    .table {
        font-size: 18px;
    }
    input#bezigre {
        margin-left: 106px;
    }

    /***** hth *****/
    .data,
    .pobeda {
        width: 212.5px;
    }
    .photo {
        width: 180px;
        height: 180px;
    }

    #hth select {
        height: 35px;
    }

    .go {
        height: 60px;
        width: 60px;
        line-height: 60px;
        font-size: 16px;
    }

    #hth .plavoPolje {
        width: 412px;
    }

    /***** profil.php *****/
    .formpass input[type=password],
    .formpass input[type=text],
    .formpass input[type=date] {
        width: 398px;
        height: 35px;
    }

    #ruka select {
        height: 35px;
        width: 120px;
    }

    .buttonTerm, .buttonProfil {
        height: 30px;
    }

    .formpass button {
        width: 200px;
        font-size: 16px;
    }

    .flex_profil div {
        width: 120px;
    }

    .formpass .flex_profil input[type=text] {
        width: 110px;
    }

    #nav a {
        width: 106.25px;
    }
}

@media only screen and (min-width: 850px)  {

    #wrapper {
        width: 850px;
    }
/*
    .upper {
        height: 490px;
    }
*/
    img {
        display: none;
    }

    .slika img {
        display: unset;
    }

    main #image img {
        display: unset;  
    }

    .vest {
        width: 669px;
    }

    .raspored {
        width: 669px;
    }

    .raspored .termin .parovi .igrac .slika,
    .raspored .termin .parovi .igrac .slika img {
        width: 75px;
        height: 75px;
    }

    .imeIprezime div {
        height: 20px;
    }

    .raspored .termin .parovi .igrac .imeIprezime {
        font-size: 20px;
    }

    .left p.link,
    .left p.contact {
        display: none;
    }

    #flexClubs {
        display: flex;
    }
    .clublanding {
        display: block;
    }
    .clublanding,
    .clubname {
        width: 212.5px;
    }

    .clubname p {
        font-size: 100px;
        padding-left: 10px;
        line-height: 110px;
    }

    .clubname p:first-child {
        padding-top: 30px;
    }

    #grupa div#upper {
        height: 95px;
    }

    .grupaImg img,
    .photo img {
        display: unset;
    }

    .upperterm .link {
        width: 665px;
    }

    #navFlex {
        display: flex;
    }

    #navFlex #nav {
        flex-direction: column;
    }

    #navFlex #nav div {
        width: 180px;
        height: 79px;
        line-height: 80px;
    }
    
    #navFlex #nav a {
        width: 180px;
    }
    
    #popup {
        top: 20px;
        width: 640px;
        height: 620px;
    }

    .zindex2 {
        left: 140px;
    }

    .kontejner {
        width: 669px;
    }

    #igraci .kontejner {
        height: 72px;
    }

    #pehar img {
        display: unset;
    }
    
    .inputInfo p {
        margin: 0 20px 5px;
    }

    .info .photo {
        margin-left: 20px;
    }

    .table form .red {
        margin: 0 20px;
    }

    .prne {
        margin-left: 20px;
    }

    .table form .red {
        width: 625px;
    }

    .buttonTerm {
        margin: 10px 165px;
    }

    #wrapper .upperterm .link h1 {
        text-align: left;
        font-size: 22px;
    }

    #lowerTerm .group {
        width: 120px;
    }

    .info .photo img{
        display: block;
    }

    .formpass input[type=password],
    .formpass input[type=text],
    .formpass input[type=date] {
        width: 302px;
    }

    form label {
        display: block;
    }

    .formpass {
        margin: 10px 20px;
        height: 105px;
    }

    .formpass button {
        margin: 8px 22px;
    }

    div#emailInfo {
        position: relative;
        bottom: 117px;
        left: 315px;
    }

    div#birthInfo {
        position: relative;
        bottom: 117px;
        left: 315px;
    }

    #button {
        position: relative;
        bottom: 115px;
        left: 405px;
    }

    .flex_profil {
    width: 312px;
    }

    .flex_profil div,
    #ruka select {
        width: 90px;
    }

    .formpass .flex_profil input[type=text] {
        width: 90px;
        padding: 0;
    }

    #tabela table {
        padding-top: 20px;
        padding-left: 20px;
    }

    #tabela tr td:first-child {
        width: 25px;
        line-height: 29px;
    }

    #tabela tr td:nth-child(2) {
        width: 350px;
    }

    #tabela table td {
        line-height: 29px;
        font-size: 20px;
    }

    #tabela tr td {
        width: 40px;
    }

    #tabela tr td:last-child {
        width: 50px;
    }

    #tabela th {
        font-size: 12px;
    }

    .club {
        height: 100px; 
    }

    .club div {
        padding: 15px;
    }
    .club p{
        line-height: 25px;
        font-size: 20px;
        padding: 10px 0;
        margin: 0;
    }

    .club p:last-child {
        padding: 0px;
    }

    .baseline {
        background-color: #b0cb22;
    }

    .tipsarevic {
        background-color: #049be2;
    }

    .classics {
        background-color: #b7bfc5;
    }

    .vozdovac {
        background-color: #84745b;
    }

    .jjjj {
        width: 500px;
    }

    .odigrano {
        text-align: unset;
        position: relative;
        left: 400px;
        top: 61px;
        height: 0;
    }

        
    .ime_rezultatima {
        width: 440px;
    }

    .skriveno {
        display: unset;
        font-size: 16px;
        text-align: center;
    }

    .left {
        width: 850px;
    }

    #opponents {
        width: 669px;
    }

    .live input:first-child {
        margin-left: 25px;
    }

    #pehar .broj_pobeda {
        left: 40px;
    }

    #hth {
        width: 669px;
    }

    #hth select {
        width: 230px;
        margin-top: 22.5px;
    }

    #hth #select {
        position: relative;
        left: 94px;
    }

    #hth .go {
        margin: 0;
    }

    #hth .photo {
        width: 160px;
        height: 160px;
        margin: 10px 10px 3px;
    }

    #hth .podaci {
        display: unset;
    }   
    
    .data, .pobeda {
        width: 180px;
    }

    #hth .plavoPolje {
        width: 653px;
    }

    
    #hth .odigrano {
        display: unset;
    }
}