/* Media queries
-------------------------------------------------------------------------------*/

@media screen and (max-width: 980px) {
}


@media screen and (max-width: 930px) {
    footer p {margin: 0 20px;}

    #new-tour-map .search_input {
        width:100%;
        margin-bottom: 10px;
    }
}


@media screen and (min-width: 581px) {
    .tabular-row div.datepair{
        float:none;
    }
    .datepair input.date.start,.datepair input.date.end{
        width:24%;
        float: left;
        margin: 0 0 0 5%;
    }
    .datepair input.time.start,.datepair input.time.end{
        width:24%;
    }
}


@media screen and (max-width: 480px) {
    .select-your-audience {
        float: right; 
        width: 100%;
    }
    .select-your-audience-message{
        margin-left: 0;
        width: 100%;
    }
    .select2.select2-container {
        width: 100% !important;;
        margin-right: 0 !important;;
    }
}


@media screen and (max-width: 760px) {

    #main {width: 100%;}

    /* Navigation */
    #mobile-nav-switch {
        display: block;
    }
    nav {
        display: none;
        width:auto;
        position: absolute;
        top: 85px;
        right: -20px;
        left: -20px;
        background-color: #fafafa;
        border: none;
        float: none;
        flex: 1;
        height: auto;
        overflow-y: auto;
    }
    nav > ul > li > a {
        font-size: 23px;
        padding:11px 5px 11px 20px !important   ;
    }
    nav > ul > li:nth-child(1) > a {
        border-bottom: none;
        padding-top: 22px !important;
    }
    nav > ul > li > a::before {
        font-size: 37px;
        width: 55px;
    }
    nav > ul > li > ul {
        padding-bottom: 10px !important   ;
        padding-top: 10px !important   ;
    }
    nav > ul > li > ul > li {
        height: 60px !important;
    }
    nav > ul > li > ul > li > a {
        font-size: 22px;
        padding:15px 0 0 !important   ;
    }

    /* Dashboard */
    .fourColBox {
        width:47%;
        margin-right:2%;
    }



/* From Jacob *************************************************************************************************/
    
    #main header{
	height:90px;
	position:fixed;
	left:20px;
	right:20px;
	background:#fafafa;
	border-top:solid 6px var(--business-color,#ff9800);
	top:0;
    z-index: 9;
}

#main article{
	margin-top:84px;
}

nav.show-navigation{
    position:fixed;
    display: block;
    z-index: 20;
    top:90px;
    bottom: 0;
    padding-bottom: 0px;
}

nav .accordion-section{
    height:100%;
    position: relative;
    overflow-y: scroll !important;
}

nav .accordion-section li{
    padding: 0 20px;
    display: block;
    min-height:70px;
}

    
    html.nav-open,body.nav-open{
	overflow-y: hidden;height:100%;
}

    
/* /From Jacob *************************************************************************************************/

    
    


}

@media screen and (max-width: 650px) {

    /* Dashboard */

    .content .threecolBox {
        width:48%;
        margin-right:4% !important;
    }
    .content .threecolBox:nth-child(3),
    .content .threecolBox:nth-child(5),
    .content .threecolBox:nth-child(7) {
        margin-right:0 !important;
    }



}





@media  (max-width: 565px) {
    .reward-tabular .row-title {
        width: 100%;
    }
    .reward-tabular .toggle-option {
        width: 77%;
        padding-top: 0;
    }
    .reward-tabular > div {
        padding-top: 0;
    }
    #new-reward-reward .tabular.accordion .filter-title{
        display:none;
    }
}





@media screen and (max-width: 580px) {

    /* Form Elements */
    input, textarea, .error_text, select,div.tabular-row .times-panel {
        width: 50%;
    }
    select, input, textarea,div.tabular-row .times-panel {
        margin-right: 0;
    }

    /* Dashboard */

    div.tabular-row .input-tooltip{
        margin:0;
    }
    .stat-number span {
        font-size: 40px;
    }
    .stat-label p {
        font-size: 16px;
    }
}


@media screen and (max-width: 485px) {
    label.approver {
        margin-bottom: 5px;
    }
    .col-20pc.toggle-option {
        flex: 0 0 40px;
        width: 40px;
    }
    .col-10pc {
        flex: 0 0 35px;
        width: 35px;
    }
    
    
    .listing {
        padding: 9px 10px 8px;
    }
    .tabular-header {
        padding: 12px 10px 10px;
    }
    .tabular-row div {
        font-size: 14px !important;
    }
    .tabular-row div.delete-button{
    font-size: 24px !important;
}
.stat-label p {
    font-size: 12px;
}


}


@media screen and (max-width: 480px) {

    /* Form Elements */
    form ul li .btn {margin-left: 0;}
    label, input, textarea, .error_text, select, .button-container, .ckeditor-textarea {
        width: 100% !important;
        margin-right: 0 !important;
    }
    label {text-align: left; margin: 0 0 10px 5px;padding:0;}
    .button-container {margin-left: 0;}
    .error_text {margin: 8px 0;}
    /* /Form Elements */
    
    div.tabular-row .events-panel {
        float: right;
        margin-right: 0;
        width: 100%;
    }
    select {
        font-size: 12px;
    }

    .search_input{
        width:100%;
        margin-bottom: 10px;
    }
    div.tabular-row .times-panel{
        width:100%;
        margin:0;
    }
    /* Dashboard */
    .fourColBox {
        width:100%;
        margin-right:0%;
    }
    .stat-number span {
        font-size: 30px;
    }



}

@media screen and (max-width: 340px) {
    header .logo svg {width: 65%;}

    /* Dashboard */

    .content .threecolBox {
        width:100%;
    }
    .content .threecolBox:nth-child(all) {
        margin-right:0 !important;
    }


}










/*
@media screen and (max-width: 980px) {
    footer p {margin: 0 20px;}
}

@media screen and (max-width: 760px) {
    nav {display: none}
    #main {width: 100%;}
}

@media screen and (max-width: 580px) {
    label, input, textarea, .error_text, select {width: 60%;}
}

@media screen and (max-width: 480px) {
    label, input, textarea, .error_text, select {width: 100%;}
    label {text-align: left; margin: 0 0 10px 5px; padding:0;}

    form ul li .btn, .submit-container {margin-left: 0;}
    .error_text {margin: 8px 0;}
}

@media screen and (max-width: 340px) {
    header .logo svg {width: 65%;}
}
*/