.navbar-toggle {
    display: none;
    cursor: pointer;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    background: #414042;
    position: absolute;
    top: 12px;
    right: 0;
    width: auto;
    height: auto;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: #F98D01;
    margin: 4px 0;
}

.navbar-toggle.active {
    background: #F98D01;
    border: 1px solid #414042;
}

.navbar-toggle.active .icon-bar {
    background: #414042;
}

.search-arrow {
    display: none;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -5px;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;

    border-bottom: 10px solid #fff;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;

    border-top: 10px solid #fff;
}

@media screen and (max-width: 1023px) {
    table, iframe, input {
        max-width: 100%;
    }

    #footer {
        width: 94%;
        margin: 0 3%;
    }
}

ul#menu a {
    cursor: pointer;
}

@media screen and (max-width: 999px) {

    #top,
    #page{
        max-width: 100%;
    }
    img {
        max-width: 100%;
        height: auto !important;
    }
    .payment_methods{
        margin-left: inherit;
    }
    .centering{
        padding: inherit;
    }
    #nav1 {
        bottom: inherit;
        top: 20px;
    }

    .search-arrow {
        display: block;
    }

    .search {
        background: #3E3E36;
        width: 100%;
        height: auto;
        float: left;
        margin-top: 0;
        margin-bottom: 10px;
    }

    div.text {
        margin-right: 20px;
    }

    .navbar-toggle {
        display: block;

    }

    #marathon_column {
        float: left;
    }

    .search-box,
    #content {
        padding-top: 5px;
        width: 100%;
    }

    .contact {
        width: 92% !important;
        padding: 2%;
    }

    .product-preview {
        float: left;
        width: 100%;
    }

    .preview-photo-type {
        float: left;
        width: 100%;

        background: #3C3C32;
        margin: 0;
    }

    span.photo-data.grey-normal {
        float: right;
        width: auto;
        margin-right: 10px;
    }

    .product-preview .view-bottom .price {
        float: right;
        width: auto;
    }

    a.btn-buy3 {
        margin-right: 10px;
    }

    .preview-photo-type .preview-photo-type-text {
        display: none;
    }

    .preview-photo-type .preview-photo-type-tab {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    #content-left2 {
        width: 96%;
        margin: 1% 2%;
    }

    #marathon_column .column_2 {
        margin: 0;
    }

    #slider,
    .slideshow,
    .slideshow li {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .search-box .select2-container {
        background: #fff;
        width: 100% !important;
    }

    body .select2-search input {
        width: 94%;
    }

    body .select2-container .select2-choice {
        width: 100% !important;
    }

    body .select2-drop {
        background: #fff;
    }

    div#maraton_select_container {
        display: inline-block;
        text-align: center;
        bordeR: 1px solid #fff;
        width: 100%;
    }

    div#maraton_start_id_container {
        width: inherit;
        background: #fff;
        width: 98%;
        /* margin: 8px 0px; */
        margin: 2px 1%;
        border: 1px solid #fff;
    }

    div#maraton_select_container {
        display: inline-block;
        text-align: center;
        bordeR: 1px solid #fff;
        width: 98%;
        /* margin: 8px 0px; */
        margin: 8px 1%;
    }

    #maraton_start_id_container input[type="text"] {
        width: 92%;
        padding-left: 0;
        line-height: 47px;
        text-align: center;
    }

    .search div {
        text-align: center;
        width: 100%;
    }

    .search button {
        margin: 10px 0;
    }

    #slider {

    }

    .bottom-right,
    #content-left {
        width: 90% !important;
        margin: 0;
        float: left;
        margin: 25px 4% 25px;
    }

    .sliderMaratonSearch {
        display: none;
    }

    .marathon-box {
        background: none;
        float: left;
        margin-right: inherit;
        padding-right: inherit;
        width: 48%;
    }

    #content-right {
        width: 760px;
        margin: 0 auto;

        float: inherit;
    }

    .column {
        width: 44%;
        padding: 2%;
    }

    .column.left {
        margin-right: 2%;
    }

    #content-right .box {
        width: 48%;
        margin: 1%;
        float: left;
    }

    .search-box {

        position: relative;
        clear: both;
    }

    .search-box form {
        display: none;
        float: left;
        width: 100%;
    }

    .search-box > span {
        width: 100%;
        padding: 0;
        cursor: pointer;
        text-align: center;
    }

    .search-box {

    }

    .search-box a.search-arrow {
        padding: 0;
        width: 25px;
        height: 25px;
        margin-top: -14px;
        background: url('../images/i-arrow.png') no-repeat center center transparent;

        -ms-transform: rotate(270deg); /* IE 9 */
        -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
        transform: rotate(270deg);
    }

    .search-box.on a.search-arrow {
        -ms-transform: rotate(90deg); /* IE 9 */
        -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
        transform: rotate(90deg);
    }

    .search-box a{
        display: block;
    }
    .search-box a.search-arrow i {
        display: none;
    }

    .top-right {
        width: 100%;
        float: left;
    }

    #menu {
        display: none;
    }

    ul#menu {
        width: 100%;
        float: left;
        clear: both;
        margin-top: 25px;
        background: #F5F5F5;

        padding-top: 0;
    }

    ul#menu li {
        width: 100%;
    }

    ul#menu li a {
        text-align: center;
        padding: 10px 0;
        line-height: 28px;
        font-size: 16px;
        border-top: 1px solid #C7C7C7;
    }

    ul#menu li a:hover {
        background: #484848;
        color: #F5F5F5;
    }

    ul#menu a#on {
        color: #F88A01;
        text-decoration: underline;
        background: #484848;
    }

    #langs {
        float: right;
        position: Absolute;
        top: 10px;
        left: 105px;
    }

    .basket_top {
        position: absolute;
        top: 29px;
        right: 55px;
    }

    .social {
        position: absolute;
        top: 9px;
        left: 220px;
    }

    #marathon_column .column.last,
    #marathon_column .column {
        width: 94%;
        padding: 3%;
    }

    div.photo_list {
        text-align: center;
        float: inherit;
    }

    div.photo_list .photo_container {
        float: inherit;
        text-align: center;
        display: inline-block;
    }

    .photo_list > .clear {
        clear: inherit;
        display: none;
    }

    .preview-photo-type {
        width: 100%;
        height: auto;
    }

    #content-right2 {
        margin: 0 auto;
        float: inherit;
    }

    .preview-photo-type {
        width: 100%;
        height: auto;
        float: left;
    }

    #orderContainer {
        width: 92%;
    }

    #long_payu_button {
        margin: 0 auto;
    }

    #orderPay1 {
        float: inherit;
        width: 195px;
        padding: 20px;
        width: 89%;
        text-align: center;
    }

    #orderPay2 {
        float: right;
        width: 90%;
        padding: 0 5%;
    }

    #order_col1,
    #order_col2 {

        width: 92%;
        margin: 0 auto;
    }

    #orderContainer .clear {
        display: none;
    }

    #orderContainer .list-header {
        display: none;
    }

    #order_col1, #order_col2 {
        width: 100%;
        margin-bottom: 20px;
    }

    .dowload_bottom_left,
    .dowload_bottom_right {
        width: 88%;
        padding-top: 33px;
        padding-bottom: 0px;
    }

    #orderContainer .order_box {
        margin-right: 4px;
        margin-left: 4px;
    }

    #orderContainer {
        text-align: center;
    }

    #orderContainer .order_box {
        float: inherit;
        text-align: center;
        display: inline-block;
    }

    .dowload_bottom_right {
        padding-bottom: 33px;
    }

    .download_list {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .download_list .clear {
        display: none;
    }

    .download_box.last {
        padding: 0 5px 10px 5px;
    }

    .download_box {
        padding: 0 5px 10px 5px;
        float: inherit;
        text-align: center;
        display: inline-block;
    }

    .photoPackage {
        width: 95%;
        margin: 2% 0;
        clear: both;
        height: auto;
        max-height: inherit;
        float: left;
    }

    .photoPackage .all_full_price {
        right: 28px;
    }

    .photoPackage .add-all {
        right: 0;
    }

    .photoPackage .all_per_one_price {
        left: inherit;
        right: 20px;
    }

}
@media screen and (max-width: 640px) {
    .left-s{
        width: 100%;
    }
    .photo-btn-nav{
        margin-top: 6px;
        width: 100%;
        float: left;
    }
    .photo-big,
    .photo-big-img{
        max-width: 100%;
    }
    a.btn-buy3{
        margin-top:0;
    }
    #demo-player{
        background: #fff;
        float: left;
        width: 100%;
        max-height: 300px;
    }
    span.watch-video {
        position: relative;
        top: inherit;
        right: inherit;
    }
    .cart table tr th {
        display: none;
    }

    .cart table tr {
        position: relative;
    }

    .cart table tr td {
        display: block !important;
        float: left !important;
        width: 100% !important;
        height: auto;
        padding: 5px 0;
    }

    .cart table tr td.tdNr {
        display: none;
    }

    .cart table td.last {
        padding-right: 0;
        text-align: center;
    }

    .cart table tr.color1 td {

        background: #E9E8E9;
    }

    .cart table tr.color1 td.tb_photo.package.hd {
        background: url(../images/hd.png) no-repeat right top #E9E8E9;
    }

    a.btn-continue,
    a.btn-pay {
        float: inherit;
        display: block;
        margin: 3px auto;

    }

    .cart table td.tdPhoto a,
    .photo1_min {
        width: auto;
        height: auto;
    }

    .summary {
        margin: 0 auto;
        float: inherit;

        padding: 0 10px;
    }

    .summary-right {
        margin-right: 0;
    }

    .cart table tr td.tdNr {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .summary {
        float: inherit;
        margin-bottom: 9px;
        float: inherit;
        margin: 0 auto;
    }

    .product-preview .view-bottom .price {
        margin-right: 10px;
    }

    a.btn-buy3 {
        /*margin-top: 15px;*/
    }

    #nav1 a {
        height: 9px;
        width: 9px;
        background-size: 100%;
    }

    #nav1 a.activeSlide {
        background-position: 0 -9px;
    }

}

@media screen and (max-width: 768px) {
    #FacebookWidget {
        display: none !important;
    }

    #contact_form {
        padding-right: 30px;
    }

    .contact div.row {
        clear: inherit;
        float: left;
    }

    .contact div.button {
        text-align: center;
    }

    .contact div.button button {
        margin: 0 auto;
        display: inherit;
        float: inherit;
    }

    .contact label.field {
        text-align: left;
        width: 100%;
        padding: 0;
    }

    .contact div.row,
    .contact div.input {
        width: 100%;
    }

    .contact textarea,
    .contact div.input input {
        border: 1px solid #C6C6C6;
        background: #E6E6E6;
        width: 100%;
    }

    #content-right2 {
        width: 280px;
        margin: 0 auto;
        float: inherit;
    }

    #content-right2 .basket,
    #content-right2 .box {
        width: 100%;
        float: left;
    }

    .product-preview .photo-big div.photo-big-img {
        min-height: inherit;
    }
}

@media screen and (max-width: 759px) {
    #content-right {
        width: 360px;
        margin: 0 auto;
        float: inherit;
    }

    #content-right .box {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .order_box_header{
        font-size: 18px;
        padding: 10px 0;
        height: auto;
    }
    .order_box_info{
        padding: 0 2%;
        width: 94%;
        background: none;
        text-align: center;
    }
    #content-right2 {
        width: 280px;
        margin: 0 auto;
        float: inherit;
    }

    a#logo {
        margin-left: 10px;
    }

    #logo img {
        margin-top: 10px;
    }

    .navbar-toggle {
        top: 25px;
    }

    #langs {
        left: 82px;
    }

    .basket_top {
        position: absolute;
        top: 7px;
        left: 175px;
    }

    #logo img {
        width: 235px;
    }

    .social {
        display: none;
    }

    .column {
        width: 96%;
        padding: 0 2%;
        margin: 0 auto;
    }

    #partnerslider ul li {
        margin: 0;
    }

    #nav1 {
        bottom: inherit;
        top: 20px;
    }

    .sliderMaratonSearch.left {
        width: 100%;
        background: #414042;
        position: relative;
        left: inherit;
        top: inherit;
    }

}

@media screen and (max-width: 560px) {
    #content-right .box {
        width: 348px;
        margin: 2% auto;
    }

}

@media screen and (max-width: 420px) {
    .photoPackage .add-all,
    a.add-all.nbtn,
    .photoPackage .all_full_price,
    .photoPackage .all_per_one_price {
        position: relative;
        left: inherit;
        right: inherit;
        top: inherit;
        bottom: inherit;
        float: none;
        clear: both;
        display: block;
        margin: 2% auto;
        text-align: center;
    }

}

@media screen and (max-width: 320px) {
    div.photo_list {
        padding: 0;
    }

    div.photo_list .photo_container {
        width: 48%;
        float: left;
        display: block;
        margin: 1%;
    }
}

@media screen and (max-width: 320px) {
    body {
        min-width: 320px;
    }

}

@media screen and (min-width: 1000px) {
    .search-box.main form,
    #menu {
        display: block;
        display: block !important;
    }
}

@media screen and (max-width: 1024px) {
    .dowload_bottom_info,
    #download_containter{
        width: 100%;
    }

    .bottom-right .marathon-bottom{
        max-width: 100%;
    }

    #organizerPhoto_form{
        padding-right: 30px;
    }

    .dl-contact{
        width: 100% !important;
        border-right: 0px;
    }

    .dl-contact #marathonId{
        max-width: 100%;
    }
    .dl-contact > div{
        width: 100% !important;
    }
    .dl-contact div.button button{
        margin-left: 0px !important;
    }
    .dl-contact > div:first-child{
        border-bottom: 1px solid #e6e6e6;
        padding-bottom:20px;
        margin-bottom: 20px;
        border-right: 0px !important;
        border-right: none;
    }

    .dl-contact > div select,
    .dl-contact > div input
    {
        width: 100%;
    }
    .dowload_bottom_right {
        width: 88%;
        padding-top: 33px;
        padding-bottom: 0px;
        padding: 5px 10px;
        width: calc(100% - 20px);
        /* font-size: 20px; */
    }
    #fancybox-wrap{
        padding: 2%;
        right: 20px !important;
        left: 20px !important;
        width: auto !important;
    }
    #fancybox-content{
        width: 100% !important;
    }


    .box_order_check_info {
        float: right;
        width: calc(100% - 25px);
        padding: 0 0 0 5px;
    }

    .order_box_main,
    .bike_album_box_content{
        width: 100%;
    }
    .order_box_col {
        width: 78%;
        margin: 0 auto;
    }

    .bike_album_box,
    .order_box_main label.control-label{
        width: 100%;
    }
    .order_box_main .controls{
        width: 100%;
        float: left;

    }
    .order_box_main .order_box_col{
        width: 100%;
        margin: 0 auto;
    }
    .order_box_main .control-group2 input[type="text"]{
        float: left;
        display: inline-block;
        width: 96%;
    }
    .order_box_main .order_box_center{
        padding: 0 15px;
    }
    .invoice_column {
        float: left;
        margin-left: 0px;
        width: 100%;
        margin-top: 15px;
    }
    .box_order_check {
        margin-top: 0;
        width: auto;
    }
    .invoice_box {
        float: left;
        width: 100%;
    }
    .bike_album_box_bottom,
    .box_order_bottom_wrap {
        width: 100%;
    }

}
@media screen and (max-width: 640px) {
    .breadcrumbs{
        height: auto;
    }
    .discount-box{
        width: 100%;
        margin-bottom: 5px;

        padding: 5px;
        font-size: 14px;
    }
    .summary-box .btn-continue,
    .summary-box .btn-pay
    {
        width: 48%;
        float: left;
    }
    .bike_album_box {
        width: 100%;
        max-width: 100%;
    }
}
@media screen and (max-width: 570px) {
    .photo-btn-nav {
        float: left;
        width: calc(100% - 20px);
        margin: 10px 10px 0;
    }
}
@media screen and (max-width: 480px) {

    #fancybox-wrap{
        padding: 2%;
        right: 0px !important;
        left: 0px !important;
        width: auto !important;
    }
    .discount-box{
        width: 100%;
        margin-bottom: 5px;

        padding: 5px;
        font-size: 14px;
    }
    .btn_wrap2{
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    .summary-box .btn-continue{
        display: none;
    }
    .summary-box .btn-pay
    {
        width: 212px;
        margin: 15px auto 0;
        float: inherit;
    }
    a.box_order_box_close2 {
        padding: 10px;
        width: 100%;
        text-align: center;
    }
}