/*

Theme Name: Modern States

Author: Shapiro Consulting and ExpandTheRoom



*/

/*Changes from February 6 start*/

.sub-menu > .menu-item:not(.current-menu-item) > a:any-link {
    color: #757474;
}

.current-menu-parent:has(.current-menu-item) > a {
    color: #66b10f;
}

.sub-menu {
    visibility: hidden;
}

ul.sub-menu a {
    transition: 0s ease-out;
}

.menu-item-has-children:hover .sub-menu {
    visibility: visible;

}

ul.sub-menu {
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
    top: 4em;
    display: inline-grid;
}

ul.sub-menu > li {
    background-color: #fff;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}
.lightbox video {
    width: 100%;
    height: auto;
}

/*Changes from February 6 end*/

/*Changes from February 27 start*/
@media (min-width: 1280px) {
    .course-card {
        min-height: 350px!important;
    }
    .course-card__title {
        padding-bottom: 20px!important;
    }
}
@media (min-width: 980px) {
    .sub-menu a {
        line-height: 40px!important;
    }
    .sub-menu .main-nav__item a:after {
        bottom: 0!important;
    }
}
/*Changes from February 27 end*/

.mscontactname label, .mscontactname ginput_container {

    float: left !important;

    clear: right !important;

    margin-bottom: 8px;

}

.mscontactform .ginput_complex {

    clear: both !important;

}

.mscontactform ul li {

    display: block;

}

.mscontactform select {
    overflow: hidden;
}

.mscontactemail {

    width: 50%;

}

.mscontactform .gform_button {

    border-radius: 40px;

    width: auto !important;

    height: 40px;

    border: solid 1px #6ebf10;

    background-color: #6ebf10;

    color: #FFF;

}

.ms-mcf .ginput_complex {

    clear: both !important;

}

.ms-mcf ul li {

    display: inline;

}

.ms-mcf .mcfli {

    margin-left: 30px !important;

    display: list-item !important;

}

.ms-mcf .ginput_complex, .ms-mcf .ginput_container {

    margin-bottom: 40px !important;

}

.ms-mcf .gform_button {

    border-radius: 40px;

    height: 40px;

    border: solid 1px #6ebf10;

    background-color: #6ebf10;

    color: #FFF;

}

.ms-mcf .mcfphoto #extensions_message {

    color: #888;

    font-size: .8em;

}

.ms-mcf .mcfconsent {

    display: block;

    margin-top: 30px !important;

}

li.mscontactform--repeater-field {

    display: inline-block !important;

    width: 90%;

}

li.mscontactform--repeater {

    display: inline-block !important;

}

.ms-mcf .mcfconsent {
    display: block;
    margin-top: 30px !important;
}
li.mscontactform--repeater-field {
    display: inline-block !important;
    width: 90%;
}
li.mscontactform--repeater {
    display: inline-block !important;
}
.coursesdropdowncleponly > div > select {
	overflow: auto;
}
button.slick-prev.slick-arrow {
    position: absolute;
    top: 0;
    left: 10px;
    height: 100%;
    width: 40px;
    background-color: #efefef;
    border: 0;
    color: #66b115;
    font-size: 1.5em;
    font-weight: normal;
}
button.slick-next.slick-arrow {
    position: absolute;
    top: 0;
    right: 40px;
    height: 100%;
    width: 40px;
    background-color: #efefef;
    border: 0;
    color: #66b115;
    font-size: 1.5em;
    font-weight: normal;
}
.course_prodiver_slider {
	margin-left: 0;
    margin-right: 0;
}
.course_prodiver_slider .vid-quote {
	display:block;
	max-height:inherit;
}
.course_prodiver_slider .vid-quote__vid-container,
.course_prodiver_slider .vid-quote__quote-container {
	width:100%;
}
.course_prodiver_slider .vid-quote__thumb-nav {
	position:relative;
	bottom:0 !important;
	background: #66b10f;
    padding: 10px 55px 0;
}
.course_prodiver_slider .vid-quote__thumb-nav-item:first-child {
	padding:0 5px;
	display:block !important;
}
.course_prodiver_slider button.slick-prev.slick-arrow {
	top:10px;
	bottom:0;
	height: auto;
	z-index: 9999;
}
.course_prodiver_slider button.slick-next.slick-arrow {
	top:10px;
	bottom:0;
	right:10px;
	height: auto;
	z-index: 9999;
}
.course_prodiver_slider .home-carousel-instructions {
	position:static;
	background:#66b10f;
}
.course_prodiver_slider .home-carousel-instructions p {
	margin:0;
}
.course_prodiver_slider .youtube-video {
	width:100%;
	height:295px !important;
}
@media (max-width: 1400px) {
    button.slick-next.slick-arrow {
        right: 30px;
    }
}

@media (max-width: 767px) {
	#its { display: inline-block !important; padding-bottom: 20px; }
}
#its { display: none; }

.slick-arrow:hover {
    background-color: #efefefbd;
}
.wp-video-shortcode{
    bottom: 0;
    position: absolute;
}
.displaylistitem li {
	display: list-item !important;
}
.youtube-video{
border:0;
}
@media only screen and (max-width:980px) {
    ul.sub-menu {
        position: unset;
        background-color: #fff;
        min-width: unset;
        box-shadow: none;
        padding: 0;
        z-index: 1;
        display: inline-grid;
    }
    .menu-item-has-children {
        flex-direction: column;
        background-color: red;
    }
    .sub-menu {
        visibility: visible;
    }
	.vid-quote__vid-container{
		background:#66b10f;
	}
	.vid-quote__thumb-nav {
		display:block !important;
		max-width:510px;
		margin:0 auto 30px;
		padding:0 60px;
	}
	.vid-quote__dots-nav {
		display:none !important;
	}
	.youtube-video {
		width:100% !important;
		height:550px !important;
	}
	.course_prodiver_slider .vid-quote__thumb-nav {
		margin-bottom:0 !important;
	}
}
@media only screen and (max-width:979px) {
	.course_prodiver_slider .vid-quote__thumb-nav {
		padding:10px 5px 0;
	}
}
@media only screen and (max-width:767px) {
	.youtube-video {
		height:400px !important;
	}
	.course_prodiver_slider .youtube-video {
		height:320px !important;
	}
	.course_prodiver_slider .vid-quote__thumb-nav {
		max-width:510px;
	}
}
@media only screen and (max-width:600px) {
	.youtube-video {
		height:300px !important;
	}
	.course_prodiver_slider .youtube-video {
		height:300px !important;
	}
}
@media only screen and (max-width:479px) {
	.youtube-video {
		height:250px !important;
	}
	.course_prodiver_slider .youtube-video {
		height:250px !important;
	}
}

.awsvideo {
	border: 3px solid #CCC;
}
video[poster]{
	object-fit: cover;
}

/***** D2L Screener Modal Popup ********/
        /* The Modal (background) */
        .modal {
          display: none; /* Hidden by default */
          position: fixed; /* Stay in place */
          z-index: 1000; /* Sit on top */
          padding-top: 100px; /* Location of the box */
          left: 0;
          top: 0;
          width: 100%; /* Full width */
          height: 100%; /* Full height */
          overflow: auto; /* Enable scroll if needed */
          background-color: rgb(0,0,0); /* Fallback color */
          background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
        }

        /* Modal Content */
        .modal-content {
          background-color: #fefefe;
          margin: auto;
          padding: 20px;
          border: 1px solid #888;
          width: 50%;
        }

        @media only screen and (max-width: 1000px) {
            .modal-content {
              width: 80%;
            }
        }

        /* The Close Button */
        .close {
          color: #aaaaaa;
          float: right;
          font-size: 28px;
          font-weight: bold;
          margin-top: -15px;
          margin-right: -10px;
        }

        .close:hover,
        .close:focus {
          color: #000;
          text-decoration: none;
          cursor: pointer;
        }

        .d2lreg {
            background-color: #126f9a;
            color: #FFF;
            font-weight: bold;
            display: inline-block;
            padding: 14px 30px;
            border: 0;
            border-radius: 40px;
            box-sizing: border-box;
            font-size: .875rem;
            text-align: center;
            margin: 4px 8px;
        }
        .d2lreg:hover {
            background-color: #1479a8;
            color: #FFF;
        }
        .regbuttonblock {
              text-align: center;
        }
        .regsignupbtn {
            background-color: #66b10f;
            padding: 11px 20px;
            color: #fff;
            display: inline-block;
            padding: 14px 40px;
            border: 0;
            border-radius: 40px;
            box-sizing: border-box;
            font-size: .875rem;
            text-align: center;
            text-decoration: none;
        }
        .regsignupbtn:hover {
            background-color: #6ebf10;
            color: #FFF;
        }

.msea-list { list-style-type: disc; } .msea-list li { display: list-item; margin-left: 20px; }