@media screen and (max-width:1280px) {
    .container {
        min-width: 100%;
    }
}

@media screen and (max-width:940px) {
    .header {
        height: 100px;
    }

    .inner {
        width: 100%;
    }

    .logo.tosla {
        margin-top: 20px;
    }

    .logout-btn, .profil-btn {
        margin-top: 30px;
    }
}

@media screen and (max-width:790px) {
    .register-form ul li .contract {
        line-height: 20px;
    }
}

@media screen and (max-width:780px) {
    .logo.juzdan{width:102px;height: 22px;}
    .register-form ul li .fl {
        width: 100%;
        margin-bottom: 20px;
    }

    .register-form ul li .fr {
        width: 100%;
    }

    .register-form ul li > div.fr > label {
        width: 200px !important;
    }

    .register-form ul li .fr select {
        width: calc(100% - 200px) !important;
    }

    .event-list li .event-desc p{height: auto;line-height: 1.6em;}
    .event-list li .date{margin-bottom:8px;}
}

@media screen and (max-width:640px) {
    .register-form ul li > label, .register-form ul li > div.fl > label,
    .register-form ul li > div.fr > label {
        width: 100% !important;
    }

    .register-form ul li input[type="text"],
    .register-form ul li input[type="email"],
    .register-form ul li input[type="phone"],
    .register-form ul li input[type="number"],
    .register-form ul li textarea,
    .register-form ul li select,
    .register-form ul li .fr select,
    .register-form input[type="submit"],
    .register-form input[type="button"],
    .register-form button {
        width: 100% !important;
    }

    .register-form ul li .contract {
        padding-left: 24px;
    }

        .register-form ul li .contract input[type="checkbox"] {
            left: 0;
            top: 0;
            transform: none;
        }

    .register-form ul li > label,
    .register-form ul li > div.fl > label,
    .register-form ul li > div.fr > label {
        height: auto;
        line-height: normal;
        margin-bottom: 6px;
    }

    .footer .foo-links li {
        margin-right: 20px;
    }

        .footer .foo-links li a {
            font-size: 12px;
        }
}

@media screen and (max-width:590px) {
    .event-list li {
        padding-left: 20px;
        padding: 20px;
    }

        .event-list li .event-img {
            position: relative;
            width: calc(100% + 60px);
            padding-bottom: 70%;
            margin-left: -30px;
            margin-top: -30px;
        }

    .event-desc {
        padding-top: 20px;
    }

    .event-list li .pay-btn {
        text-align: center;
    }

    .event-list li .warn-msg {
        float:left;
        text-align: center;
        margin-right: 0;
        height: auto;
        line-height: 1.6em;
        margin-top: 10px;
        width: 100%;
        
    }
}



@media screen and (max-width:540px) {
    .login-container .login-box .box {
        width: calc(100% - 40px);
        margin-top: 20px;
    }
}
