@font-face {
    font-family: "avenir-light";
    src: url('/fonts/avenir-light.otf') format("opentype");
}
@font-face {
    font-family: "avenir-medum";
    src: url('/fonts/avenir-medium.otf') format("opentype");
}

@font-face {
    font-family: "helvetica";
    src: url("/fonts/helvetica.ttf") format("truetype");
}


@font-face { 
    font-family: "helvetica-bold";
    src: url('/fonts/helvetica-bold.ttf') format("truetype");
}
@font-face {
    font-family: "helvetica-light";
    src: url("/fonts/helvetica-light.otf") format("opentype");
}
@font-face {
    font-family: "oswald-regular";
    src: url("/fonts/oswald-regular.ttf") format("truetype");
}

html, body { 
    margin:0;
    padding:0;
    height:100%;
    width:100%;
    /* background-color: #f3f3f3 !important; */
    font-family: "helvetica";
    box-sizing: border-box;

}
a {
    text-decoration: none;
    color:black;
}
a:hover {
    text-decoration: none;
}
ul { 
    list-style: none;
    margin:0;
    padding:0;
}

p{
    margin:0;
    padding:0;
}

.container {
}

.alert-danger {
    background-color: #ff4848;
    color: white;
}

.icon-checklist {
    display:block;
    height:20px;
    width:20px;
    background: url('../../../icon-custom/checklist.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
}


header.mobile-header {
    display: flex;
    flex-direction: row;
    border-bottom:4px solid #3b83a9;
}

header.mobile-header .menu-toggle {
    flex: 2;
}

    .menu {
        display:none;
        width:100%;
    }

    /* Menu toggle  */
    .mobile-header .menu-toggle a {
        text-decoration: none;
        color: #2595da ;
    }
    
    .mobile-header .menu-toggle a i{
        display:block;
        padding:20px 0px 0px 20px;
    }

    .mobile-header .menu-toggle a i{
        font-size: 20pt;
    }


    /* logo  */
    .mobile-header .logo {
        flex: 10;
        display:flex;
        height:70px;
        padding:10px;
        justify-content: flex-end;
    }

    .mobile-header .logo img {
        margin-top: 6px;
        height:40px;
        margin-left:20px;
        flex:1;
    }
    .mobile-header .logo .apjii-logo {
        margin-top: 9px;
        height: 35px;
    }

    /* Navigation Menu */
    .menu ul {
        list-style: none;
        padding:0;
        margin:0;
        display:flex;
        flex-direction: column;
        text-transform: uppercase;
        justify-content: center;
        font-size:11pt;
        font-family: "helvetica";
        font-weight: bold;
    }

    .menu li.head-menu{
        border-bottom:1px solid #56acda;
    }

    .menu li.head-menu span {
        color: #105077;
    }
    .menu li.head-menu span a{
        display:block;
        color: #105077;
        padding:8px 15px;
    }

    .menu li.head-menu span a:hover{
        background-color: #00A2D7;
        color:white;
    }

    .head-menu .menu-list {
            background-color: #ffffff;
        }

        .head-menu .menu-list li a{
            display:block;
            padding:8px 30px;
            color: #1f8baf;
        }

        .head-menu .menu-list li a:hover{
            background-color:#00A2D7;
            color:white;
        }


        .line-up{
            width: 100%;
            height: 30px;
            background: #4986a3;
            background: -moz-linear-gradient(left, #4986a3 0%, #394462 100%);
            background: -webkit-linear-gradient(left, #4986a3 0%,#394462 100%);
            background: linear-gradient(to right, #4986a3 0%,#394462 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4986a3', endColorstr='#394462',GradientType=1 );
        }

main.content {
    padding:0;
    margin:0;
    padding-top: 20px;
    min-height: 100%;
}

    .two-content {
        display:flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    /* photo container */
    .two-content .photo-container{ 
        display: block;
        width:100%;
        height: 330px;
        background-color: red;
        position:relative;
        margin-bottom: 20px;
    }

    .two-content .photo-container img {
        height:100%;
        width:100%;
        object-fit: cover;
    }

    .two-content .photo-container p.description {
        display:block;
        position: absolute;
        bottom: 0;
        margin:0;
        padding:5px 0px;
        width:100%;
        color:white;
        text-align: center;
        background-color: black;
        color:gray;
        font-size: 12pt;
    }

    
    /* title container  */
    .two-content .title-container {
        display: flex; 
        flex-direction: column;
    }

    .two-content .title-container h4.title {
        font-weight: bold;
        font-size:20pt;
        margin-bottom: 20px;
    }

    .two-content .title-container ul.description{
        margin-bottom:20px;
    }
    
    .two-content .title-container ul.description li {
        display:flex;
    }

        .title-container ul li p {
            font-weight: 100;
        }

        .title-container ul li i {
            margin-right: 5px;
        }

        .title-container a.btn {
            text-transform: uppercase;
            font-weight: bold;
        }


    .sponsor-list{ 
        margin: 40px 0px;
        height:150px;
        display:flex;
        flex-direction: center;
    }

    .sponsor-list .sponsor-container p {
        font-color:black;
        font-weight: bold;
        display:block;
        text-align: center;
    }
    
    .sponsor-list .sponsor-container img {
        height:80px;
        margin:auto;
    }


    /* about */
    .about {
        display:flex;
        width:100%;
        flex-direction: column;
        padding: 40px 0px;
        background: url('../images/about-background.png') no-repeat;
        
    }

        .about .about-content {
            padding: 20px;
            color: white;
            max-height: 400px;
        }

        .about .about-content .description {
            margin-bottom: 30px;
        }


        .about h4.head {
            font-size:16pt;
            text-transform: uppercase;
            font-weight: bold;
            padding-bottom: 5px;
            border-bottom: 4px solid white;
            display:inline-block;
            margin-bottom:20px;
        }

        .about .about-content a.read-more {
            border-radius: 20px;    
        }

        .about .about-content img {
            display:block;
            height:350px;
            width:100%;
            object-fit: cover;
        }


        .local-host {
            margin:20px 0px;
            text-align: center;
        }

        .local-host h4.title{
            display:inline-block;
            text-transform: uppercase;
            font-size: 16pt;
            font-weight: bold;
            border-bottom: 3px solid #5acafa;
        }

        .local-host img {
            display:block;
            max-height: 100px;
            margin:auto;
        }

        .location {
            display:flex;
            flex-direction: column-reverse;
            width:100%;
            background-color: #1cb3ea;
        }

        .location .map-container {
            height: 400px;
            /* background-color: gray; */
        }

        .map-container #map{
            display:block;
            width:100%;
            max-height: 400px;
        }

        .location .description {
            color:white;
            padding:20px;
        }


        .location .description .title {
            font-size: 16pt;
            display: inline-block;
            text-transform: uppercase;
            font-weight: bold;
            padding-bottom: 5px;
            border-bottom: 4px solid white;
        }

        .location .description .location-description {
            margin:20px 0px;
            font-size:14pt;
        }

        .location .description a.btn-find-more {
            border: 2px solid white;
            color:white;
            border-radius: 0px;
        }

        .location .description a.btn-find-more:hover {
            color: #1cb3ea;
            background-color: white;
        }


        footer {
            display:flex;
            flex-direction: column;
            width:100%;
            background-color: #212121;
            padding:20px;
            color:white !important;
        }

        footer .logo {
            display:flex;
            justify-content: center;
            padding-bottom:20px;
        }

        footer .logo img {
            display:block;
            height:40px;
        }

        footer p{
            margin:0;
        }

        footer a{
            color:white;
        }

        footer .social-container {
            margin-top:20px;
            display:flex;
            width:100%;
            flex-direction: row;
            justify-content: flex-end;
        }

        footer .social-container a{
            margin-right:15px;
        }
        footer .social-container a i {
            font-size: 16pt;
        }

        .contact-mobile {
            display:block;
            background-color: #223f75;
        }

        .contact-mobile p {
            color:white;
            font-size:11pt;
            text-align: center;

            padding:8px;
        }


        .page-title h3 {
            text-transform: uppercase;
            font-weight: bolder;
            color: #2595da;
            border-bottom: 1px solid #2595da;    
        }

        .success-message h5.card-title{
            text-transform: uppercase;
            text-align: center;
        }

        .success-message p{
            text-align: center;
        }


        .form-login .btn-login { 
            text-transform: uppercase;
        }

        .form-login h5.form-header {
            margin-bottom: 30px;
        }

        .card.event::before{
            content: '';
            display:block;
            height:100%;
            position:absolute;
            width:8px;
            background-color: #8dcaff;
            border-radius: 6px 0px 0px 6px;
        }
        .card.event {
            border-radius: 8px;
        }

        .card-event .card-body {
            z-index:2;
        }

        .card.event .card-title {
            font-weight: bold;
            text-transform: uppercase;
        }

        .card.event .card-body {
            display:flex;
            flex-direction: column;
        }

        .card.event .event-detail {
            display:flex;
            flex-direction: row;
        }

        .card.event .event-detail p:nth-child(1){
            font-weight: bold;
        }

        .card.event .event-detail i {
            font-size: 11pt;
            color: #7b7b7b;
            padding-top: 4px;
            margin-right: 15px;
        }

        .card.event .checkbox{
            position:absolute;
            right:5px;
            top:10px;
        }

        .card.event .toggle-detail {
            position:absolute;
            right:10px;
            top:2px;
            font-size: 24pt;
            color:  #3c83a9;
        }

        .card.event select {
            display:inline-block;
            border-radius: 5px;
            min-width: 100px;
        }

        .card.event .event-description {
            display: none;
        }

        .event-container .ribbon {
            position:relative;
            display:block;
            color:white;
            background-color:blue;
            font-size:12px;
            min-height: 60px;
            max-height: 80px;
            z-index:-1;
            margin-left: 10px;
            margin-right: 10px;
            padding:4px 10px;
        }

            .ribbon.green {
                background-color: #28a745;
            }
            .ribbon.red {
                background-color: #dc3545;
            }

        .card.registration {
            margin-bottom: 30px;
        }

        .card.registration .card-header {
            background-color: #deff9e;
            font-weight: bold;
        }


        
        .form-check {
            display:inline-block;
            margin-right: 10%;
        }

        .upload-btn-wrapper {
            position: relative;
            overflow: hidden;
            display: block;
        }
          
        .upload-btn-wrapper .btn-upload {
            margin-bottom:5px;
            border: none;
            color: white;
            background-color: #ffc107;
            padding: 5px 20px;
            border-radius: 8px;
            font-weight: bold;
        }
        
        .upload-btn-wrapper input[type=file] {
            font-size: 100px;
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
        } 

header.desktop-header {
    display:none;
}

.modal {
    text-align: center;
    padding: 0!important;
  }
  
  .modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
  }
  
  .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
  }

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 30px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-container input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 10px;
    top: 4px;
    width: 9px;
    height: 18px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* 
    Checkbox Customize
*/


/*
    Tablet Resolution
*/
@media screen and (min-width: 992px){
    header.mobile-header {
        display:none;
    }

    header.desktop-header {
        display:block;
    }


    header.desktop-header {
        display:flex;
        flex-direction: row;
        padding:10px 0 20px 0;
    }
        .desktop-header .opm-logo {

            display:flex;
            align-items:center;
        }

        .desktop-header .opm-logo img{
            width: 150px;
            height: auto !important;
            margin: 5px;
            padding: 0;
        }

        .desktop-header .header-title {
            padding-top: 10px;
            flex:10;
            margin-left:20px;
            display:flex;
            flex-direction: column;
        }
            .desktop-header .header-title h4 {
                font-weight: bold;
                font-size: 24pt;
                margin-bottom:0;
            }
            .desktop-header .header-title h5 {
                margin-top:-5px;
                font-weight: bold;
                font-size: 20pt;
                margin-bottom:0;
            }

        .desktop-header .idnic-logo{
            flex:1;
            display:flex;
            align-items: center;
        }

        .desktop-header .workshop-opm {
            flex: 10;
            display:flex;
            align-items: center;
            margin:auto;
            padding-left: 15px;
        }

        .desktop-header .apjii-logo {
            flex:1;
            display:flex;
            align-items: center;
        }

        .desktop-header .opm-logo img {
            height:80px;
        }

        .desktop-header .idnic-logo img {
            max-height: 100px;
        }


        .desktop-header .apjii-logo img {
            height:60px;
        }

        .menu {
            display:block;
            height:40px;
            position:relative;
            margin-bottom:20px;
        }

        .menu ul {
            position:relative;
            flex-direction: row;
        }

        .menu ul li {
            margin-right:40px;
        }
        .menu li.head-menu {
            border: none;
        }
        .menu li.head-menu span a:hover {
            background-color:transparent;
            color:black;
        }
        .menu li.head-menu span a{
            padding: 0px 0px 5px 0px;
            display:inline-block;
            color:black;
        }

        /* .menu li.head-menu a{
            border-bottom: 4px solid transparent;
            background-color: transparent ;
            color:black;
        } */

        .menu li.head-menu:hover {
            border-bottom: 4px solid black;
            background-color: transparent ;
            color:black;
        }

        .menu ul li.head-menu ul.menu-list {
            display:none;
            background-color: #E6E6E6;
        }

        .menu  ul li.head-menu:hover ul.menu-list {
            display:flex;
            flex-direction: column;
            position: absolute;
            margin-left:0;
            z-index: 2;
        }

        ul.menu-list li {
            margin-right:0;
        }

    

    .two-content {
        flex-direction: row-reverse;
    }

    .two-content .title-container{
        flex:1;
        padding-top:40px;
        margin:0 30px;
    }

    .two-content .title-container a.btn{
        margin-top: 20px;
        width:50%;
    }
    
    .two-content .title-container h4.title{
        font-size:26pt;
    }

    .two-content .title-container .description{
        font-size: 12pt;
    }


    .two-content .photo-container{
        flex:1;
        margin:0 30px;
    }



    .about .container{
        display:flex;
        flex-direction: row;
    }

    .about .about-content {
        padding: 0;
        color: white;
        max-height: 400px;
    }
    .about-content:nth-child(1) {
        flex: 6;
    }

    .about-content:nth-child(2) {
        flex: 6;
        margin-left:50px;
    }

    .about .description {
        font-size: 10pt;
    }

    .local-host {
        margin:50px 0px;
        text-align: left;
    }

    .local-host img {
        display:block;
        height: 150px;
        max-height: 150px;
    }



    .location {
        flex-direction: row;
    }

    .location .map-container { 
        flex: 8;
    }

    .location .description {
        flex: 4;
    }
    

    footer {
        flex-direction: row;
    }

    footer .container {
        display:flex;
    }
    footer .logo{
        flex:1;
        display:flex;
        justify-content: flex-start;
        align-items: center;
    }
    footer .logo img {
        height: 50px;
    }
    footer .description {
        flex:1;
        display:flex;
        flex-direction: column;
        text-align: right;
        font-size: 10pt;
        
    }
}


@media screen and (max-width: 768px){
    
    /* .menu {
        padding:0 -15px;
        margin:0 -15px;
    } */
}
