/* home news column styles */

.news-columns-home .caption {
	background-color: #f8f8f8;
	border-radius: 0px;
	padding: 10px 15px 10px 15px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.news-columns-home .caption h4 {
	margin-top: 10px !important;
	font-weight:400;
}

.news-columns-home .thumbnail {
	background-color: #f8f8f8;
	padding: 10px 10px 10px 10px;
	box-shadow: none;
	margin-bottom: 0px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.news-columns-home .thumbnail img {
	padding: 0px 0px 0px 0px;
	width: auto;
	max-height: 200px;
	box-shadow: 0px 0px 15px 0px #888888;
	margin-top: 10px;
}

.news-columns-home .thumbnail-crop {
	max-height: 200px;
	width: auto;
	padding-left: 15px;
	padding-right: 15px;
	
	-webkit-transition: opacity 0.3s ease-in-out;
  	-moz-transition: opacity 0.3s ease-in-out;
  	-ms-transition: opacity 0.3s ease-in-out;
  	-o-transition: opacity 0.3s ease-in-out;
  	transition: opacity 0.3s ease-in-out;
}

.news-columns-home .thumbnail-crop:hover {

	opacity: 0.8;
}

.news-columns-header {
	margin-bottom: 30px;
	margin-top: 20px;
	padding-left: 10px;
}

.news-columns-home {
margin-bottom: 20px;
}

/* align news row */

.news-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.news-row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

/* enews sidebar new checkboxes*/

#enewsform input[type=checkbox] {
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
}

#enewsform .checkbox {
	float: left;
    width: 100%;
    border: 1px solid #c6c6c6;   
    min-height: 35px;
    padding: 7px 10px;
    cursor: pointer;
}

#enewsform .checkbox label {
    font-weight: 600;
} 

#enewsform .checkbox .icheckbox_flat {
    margin-right: 5px !important;
    margin-top: 5px;
}

#enewsform .icheckbox_flat input {
   visibility: visible !important;
}

@media (max-width: 1024px) { 
	/* checkboxes for mobile and tablets */

	#enewsform .icheckbox_flat input {
		margin-left:0px;
	}

	#enewsform input[type=checkbox] {
	    opacity: 1 !important;
	    width: 80% !important;
	    height: 80% !important;
	}

	#enewsform .checkbox .icheckbox_flat {
    	margin-top: 0px;
	}
}


/* default navigation smaller font and padding to fit mobile view */

@media screen and (min-width: 1190px) and (max-width: 1360px) {
    .navbar-default .container-fluid {
        padding-left: 0px;
        padding-right: 0px;
    }
    .navbar-default .container-fluid a {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 13px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1190px) {
    .navbar-default .container-fluid {
        padding-left: 0px;
        padding-right: 0px;
    }
    .navbar-default .container-fluid a {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 12px !important;
    }
}



@media (max-width: 767px) {   /* hide desktop topbar on mobile version */

	.navbar-second {
		display: none;
	}

	.top_nav_desktop {
		display: none;
	}

	.navbar-first {
		margin-bottom: 20px !important;
	}

	.desktop-flags{
		display:none !important;
	}

}


@media (min-width: 768px) {   /* hide mobile topbar on desktop */
    .top_nav_mobile{
    	display: none;
    }

    .mobile-flags {
    	display: none !important;
    }
}

@media (max-width: 767px) { /* color of dropdown items in mobile navbar */
	.navbar-inverse .navbar-nav>li>a:hover {
  		background-color: #4fc1e9;
	}
}

@media (max-width: 767px)
{
	.navbar-right ul li a {
  	  color: black !important;
	}

	.navbar-right > li > a:hover {
    color: black !important;
	}

	.navbar-right li.open > a {
    font-weight: bold;
}

}


.navbar-toggle {
	float: none;
}

.mobile_right_nav {
    float: right;
    text-align: right;
}

.mobile-flags {
    display: inline-block;
    padding-right: 10px;
}

.top_nav_mobile li > a {
    color: black !important;
}


.top_nav_mobile li.open > a {
    font-weight: bold;
}

.topbar-contacts-nav {
	display: inline-block;
}

.topbar-contacts-nav li {
    display: inline-block;
}

.top_nav_mobile .dropdown-menu a:hover {
    background-color: #4fc1e9 !important;
}

.top_nav_mobile a:hover {
    background-color: #4fc1e9 !important;
}

/* slide up and down animation when width is smaller than 1030px */


@media (max-width: 1090px)
{
	.open .dropdown-menu {
	    opacity: 1;
	    transform: rotateX(0deg);
	    transform-origin: top;
	}

	.dropdown-menu {
	    -webkit-transition: all .5s ease-out;
	    transition: all .5s ease-out;
	    transform: rotateX(90deg);
	    transform-origin: top;
	    opacity: 0;
	    display: block;
	}

}

/* convert links to button with setting button ID */

#gumb {
    border: 1.5px solid #F6BB42;;
    border-radius: 4px;
    padding: 5px 15px 5px 15px;
    color: #F6BB42;
    font-weight: bold;
}

#gumb:hover {
    background-color: #F6BB42;
    color: white;
    font-weight: bold;
}


/* mobile menu hover color */

@media (max-width: 767px) {
	.navbar-inverse .navbar-nav>li>a:focus, .navbar-inverse .navbar-nav>li>a:hover {
	    background-color: #3bafda !important;
	}
}