body{
    background-color: #b6e4e2;
}

header#mr-nav, footer#moodle-footer-top{
    display: none;
}
#page-local-progressmap-index #moodle-page #region-main{
    padding: 0;
}

.progressmap_content{
    background-color: #B6E4E2;
    background-image: url(../pix/Sky.png);
    background-size: 2340px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: -400px;
    padding-top: 100px;
}
.progressmap_tablecontainer{
    background-image: url(../pix/map-main.gif);
    background-size: 500px;
    background-repeat: no-repeat;
    width:500px;
    padding-top: 222.0px;
    padding-left: 1px;
}
table.progressmap-table{
    width:100%;
}

table.progressmap-table td{
    width:9.09%;
    height: 45.49px;
    border:1.5px solid #2d746a;
}

table.progressmap-table tr:first-child td{
    border-width: 0px;
}


table.progressmap-table .map-left.map-progress, table.progressmap-table .map-left.map-empty{
    background-color: #50BE97;
    border-width: 1.5px !important;
}

table.progressmap-table .map-left{
    background-color: #32d7fd;
    border-width: 1.5px !important;
}

table.progressmap-table .map-center{
    background-color: #fea501;
    border-width: 1.5px !important;
}
table.progressmap-table .map-center.map-progress,
table.progressmap-table .map-center.map-empty{
    background-color: #B5A519;
    border-width: 1.5px !important;
}

table.progressmap-table .map-right{
    background-color: #ffde07;
    border-width: 1.5px !important;
}

table.progressmap-table .map-right.map-progress,
table.progressmap-table .map-right.map-empty{
    background-color: #B6C21C;
    border-width: 1.5px !important;
}

.progressmap_bottommap{
    background-image: url(../pix/map-bottom.gif);
    background-size: 500px;
    background-repeat: no-repeat;
    width:500px;
    height: 300px;
}

.map-empty .to-be-circle,
.map-complete .to-be-circle{
    width: 20px;
    height: 20px;
}

.map-empty,
.map-progress,
.map-complete{
    -webkit-transition: .5s ease-out; /* Safari */
    transition:.5s ease-out;
}

.map-empty .progress-tooltip,
.map-progress .progress-tooltip,
.map-complete .progress-tooltip {
    visibility: hidden;
    opacity: 0.4;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    margin-top: 15px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    -webkit-transition: .3s ease-out; /* Safari */
    transition:.3s ease-out;
}

.map-empty .progress-tooltip::after,
.map-progress .progress-tooltip::after,
.map-complete .progress-tooltip::after{
    content: "";
    position: absolute;
    bottom: 100%;
    left: 20%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #000 transparent;
}
/* Show the tooltip text when you mouse over the tooltip container */
.map-empty:hover .progress-tooltip,
.map-progress:hover .progress-tooltip,
.map-complete:hover .progress-tooltip{
    visibility: visible;
    opacity:1;
}

.thecatbuttons a{
    display: block;
    font-family: "Barlow Condensed",sans-serif;
    color: #5d5a5b;
    padding: 63px 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    background-repeat: no-repeat;
    width: 150px;
    line-height: 17px;
    background-position: top;
    text-decoration: unset;
    margin-top: 0px;
    word-spacing: 100vw;
    -webkit-transition: .5s ease-out;
    transition: .5s ease-out;
}

.thecatbuttons a:hover{
    -webkit-filter: drop-shadow(0px 0px 15px #3E4D53);
    filter: drop-shadow(0px 0px 15px #3E4D53);
}

.thecatbuttons a.leftbtn{
    background-image: url(../pix/blue_button.png);
}
.midbtn{
    background-image: url(../pix/red_button.png);
}
.thecatbuttons a.rightbtn{
    background-image: url(../pix/yellow_button.png);
}
.thecatbuttons a.leftbtn_add{
    background-image: url(../pix/blue_button_add.png);
    word-spacing: 0;
    padding-top: 104px;
    background-position: top;
    padding-left: 45px;
}
.thecatbuttons a.midbtn_add{
    background-image: url(../pix/red_button_add.png);
    word-spacing: 0;
    padding-top: 104px;
    background-position: top;
}
.thecatbuttons a.rightbtn_add{
    background-image: url(../pix/yellow_button_add.png);
    word-spacing: 0;
    padding-top: 104px;
    background-position: top;
    padding-right: 45px;
}

/* destination selector */
.destinationselector{
    margin-top: 15px;
}
.destinationcreator,
.destinationselector{
    list-style: none;
}
.destinationcreator .btnitem:hover,
.destinationselector .btnitem:hover{
    background: #eceeef;
}
.destinationcreator .btnitem.selected,
.destinationselector .btnitem.selected{
    background: #f6d851;
}
.destinationcreator .btnitem,
.destinationselector .btnitem{
    display: inline-block;
    width: 44%;
    margin: 2px 3%;
    float: left;
    text-align: center;
    text-transform: uppercase;
    list-style: none;
    background: #ffffff;
    font-size: 12px;
    padding: 5px 0;
    border-radius: 15px;
    box-shadow: 0px 1px 0px 1px #d6d6d6;
    cursor: pointer;
}
.destinationcreator .btnitem{
    width: 31.333333%;
    margin: 2px 1%;
}
.destinationselector .hidden{display:none;}
.destinationselector .defineyourown{
    float: none;
    margin: auto;
    display: block;
}

.destinationcreator .isDefault,
.destinationcreator .subtitle h4{
    font-size: 14px;
    font-family: 'OpenSans';
    font-weight: bold;
}
.destinationcreator .isDefault {margin-top: 8px;}
.destinationcreator .destinationname h4{font-size: 24px;}
.destinationcreator .subtitle,
.destinationcreator .destinationname {text-align: center;}
.destinationcreator .destinationname {margin-top: 15px;}
.destinationcreator .destinationname [data-name="name"]{
    display: inline-block;
    width: 300px;
    text-align: center;
    font-size: 14px;
    padding: 7px;
}

.destinationselector [data-region="link-buttons"],
.destinationcreator [data-region="link-buttons"] {
    text-align: center;
    margin-top: 10px;
}
.destinationselector [data-region="link-buttons"] .btn:hover,
.destinationcreator [data-region="link-buttons"] .btn:hover{
    -webkit-filter: drop-shadow(0 0 3px #3e4d53);
    filter: drop-shadow(0 0 3px #3e4d53);
}
.destinationselector [data-region="link-buttons"] .btn,
.destinationcreator [data-region="link-buttons"] .btn{
    color: #f6d851;
    background: #294753;
    text-decoration: unset;
    border-radius: 20px;
    width: 100px;
    font-family: "Barlow Condensed",sans-serif;
    font-weight: 500;
    padding: 3px 15px;
    text-transform: uppercase;
    font-size: 16px;
    -webkit-transition: .5s ease-out;
    -o-transition: .5s ease-out;
    transition: .5s ease-out;
    border: none;
}
.destinationselector [data-region="link-buttons"] .btn.btn-primary,
.destinationcreator [data-region="link-buttons"] .btn.btn-primary{
    color: #294753;
    background: #f6d851;
}
.thecatbuttons .btnwraper{
    float:left;
    width: 150px;
}
.thecatbuttons .btnwraper.midbtnwrp{
    margin: 0 25px;
}
.destinationselector .btnitem.chosen{
    color: #c1baba;
    background: #eee;
    cursor: not-allowed;
}
.destinationcreator .btnitem .text{
    display: block;
}
#destination-dialog.moodle-dialogue{top: 100px !important;}
#destination-dialog.moodle-dialogue .moodle-dialogue-content .moodle-dialogue-hd,
#destination-dialog.moodle-dialogue .moodle-dialogue-content{
    background: #f5f5dd;
}
#destination-dialog.moodle-dialogue .moodle-dialogue-content .moodle-dialogue-hd{
    border: none;
    text-align: center;
    text-transform: uppercase;
    font-family: "BebasNeue";
    padding-top: 20px;
    font-size: 30px;
    height: 60px;
}
#destination-dialog.moodle-dialogue .moodle-dialogue-content .moodle-dialogue-hd .yui3-widget-buttons{
    padding: 0 5px;
}
#destination-dialog.moodle-dialogue .moodle-dialogue-content .moodle-dialogue-bd{
    padding-top: 0;
}
.destinationselector .otheroptions{
    margin-top: 15px;
}
.destinationselector .otheroptions h5{
    font-family: OpenSans;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}
.destinationcreator .subtitle{
    margin-bottom: 20px;
}

.destinationcreator .destinationname .isDefault label{margin:0}
.destinationcreator .courses{
    max-height: 40vh;
    overflow-y: auto;
    position: relative;
}

#destination-dialog .item-tooltip{
    visibility: hidden;
    opacity: 0.4;
    margin-left: -12%;
    width: 24%;
    background-color: #d4d7c4;
    color: #3e4d54;
    text-align: center;
    font-size: 11px;
    text-transform: initial;
    padding: 10px;
    margin-top: 15px;
    position: absolute;
    z-index: 1;
    -webkit-transition: .0s ease-out;
    transition: .0s ease-out;
}

#destination-dialog .item-tooltip::after{
    content: "";
    position: absolute;
    bottom: 100%;
    left: 45%;
    margin-left: -5px;
    border-width: 18px;
    border-style: solid;
    border-color: transparent transparent #d4d7c4 transparent;
}
/* Show the tooltip text when you mouse over the tooltip container */
#destination-dialog .btnitem:hover .item-tooltip{
    visibility: visible;
    opacity:1;
}
@media screen and (max-width: 415px) {
    #destination-dialog.moodle-dialogue .moodle-dialogue-content .moodle-dialogue-hd{
        font-size: 24px;
        padding-top: 5px;
        height: 40px;
    }

    .destinationcreator .subtitle
    {
        margin-bottom: 10px;
    }
    .destinationcreator .isDefault, .destinationcreator .subtitle h4{
        font-size: 10px;
    }

    .destinationcreator .btnitem, .destinationselector .btnitem
    {
        width: 100%;
        margin: 2px 0;
        padding: 5px 0;
    }
    .destinationcreator, .destinationselector{
        margin-top: -10px;
    }

    .destinationcreator .destinationname h4 {
        font-size: 14px;
    }

    #destination-dialog.moodle-dialogue {
        top: 70px !important;
    }

    .destinationcreator .destinationname [data-name="name"]{
        padding: 3px;
    }

    .destinationselector [data-region="link-buttons"], .destinationcreator [data-region="link-buttons"]{
        margin-top: 10px;
    }
}

@media screen and (max-width: 768px) {
    #destination-dialog {
        width: 80vw !important;
    }

    .destinationcreator .btnitem, .destinationselector .btnitem
    {
        font-size: 10px;
    }
    .progressmap_content{
        min-height: 50vh;
        background-size: 1200px;
        padding-top: 5vh;
        background-position-y: -198px;
    }

    .progressmap_tablecontainer{
        background-size: 300px;
        width:300px;
        padding-top: 133.0px;
        padding-left: 1px;
    }

    table.progressmap-table td{
        height: 27.27px;
    }

    .progressmap_bottommap{
        background-size: 300px;
        width:300px;
        height: 100px;
    }

    .thecatbuttons a{
        width: 85px;
        background-size: 85px;
        font-size: 11px;
        line-height: 10px;
        margin: 4px 0px 0 0px;
        padding: 0;
        padding-bottom: 10px;
    }

    .thecatbuttons a.leftbtn{
        margin-left: -25px;
    }
    .midbtn{
    }
    .thecatbuttons a.rightbtn{
        margin-right: -25px;
    }

    .thecatbuttons a.rightbtn_add{
        padding-right: 16px;
        padding-top: 60px;
    }
    .thecatbuttons a.leftbtn_add{
        padding-left: 16px;
        padding-top: 60px;
    }

    .thecatbuttons a.midbtn_add{
        padding-top: 60px;
    }

    .thecatbuttons .btnwraper{
        width: 87px;
    }

    .thecatbuttons .btnwraper.midbtnwrp {
        margin: 0 19px;
    }
}
